nvptx.c (nvptx_assemble_decl_begin): New, replacing ...
authorNathan Sidwell <nathan@acm.org>
Fri, 4 Dec 2015 18:41:46 +0000 (18:41 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 4 Dec 2015 18:41:46 +0000 (18:41 +0000)
commit4ff3145ae198ae8f4e2c9c60e2df0267ac52329b
tree44838ac9694be578f3b08cf100cb00462111694a
parent95e7bbb8d60c2725ff2cdd0cdd9f35942debb599
nvptx.c (nvptx_assemble_decl_begin): New, replacing ...

gcc/
* config/nvptx/nvptx.c (nvptx_assemble_decl_begin): New,
replacing ...
(init_output_initializer): ... this.
(nvptx_output_aligned_decl, nvptx_asm_declare_constant_name,
nvptx_declare_object_name, nvptx_assemble_undefined_decl): Use
nvptx_assemble_decl_begin.

gcc/testsuite/
* gcc.target/nvptx/ary-init.c: New.

From-SVN: r231298
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/nvptx/ary-init.c [new file with mode: 0644]