nvptx.c (nvptx_assemble_decl_begin): Look inside complex and vector types.
authorNathan Sidwell <nathan@acm.org>
Mon, 7 Dec 2015 13:46:07 +0000 (13:46 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 7 Dec 2015 13:46:07 +0000 (13:46 +0000)
commitfc0efeeab37395550cedc351e023f9c1d9e47552
tree5efde36c9a090f2922c1a53b1474a6511ad9a3a4
parent09d4cbcde094daa49bd7df8dcf22aa051c18a6ba
nvptx.c (nvptx_assemble_decl_begin): Look inside complex and vector types.

gcc/
* config/nvptx/nvptx.c (nvptx_assemble_decl_begin): Look inside
complex and vector types.  Cope with packed structs.

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

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