gcc/
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Dec 2015 20:13:02 +0000 (20:13 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Dec 2015 20:13:02 +0000 (20:13 +0000)
commitc0ddd9a07667a315597c8048b891f53a7b3f4fa8
treef336c3ceb467fff20cc26fd87b8335693f9859a8
parent38f56ae774f69ab2c930e06d147c6fa25d99971e
gcc/
* config/nvptx/nvptx-protos.h (nvptx_output_aligned_decl): Declare.
* config/nvptx/nvptx.h (ASM_OUTPUT_ALIGNED_DECL_COMMON,
ASM_OUTPUT_ALIGNED_DECL_LOCAL): Forward to nvptx_output_aligned_decl.
* config/nvptx/nvptx.c (write_fn_marker, write_var_marker): New.
(write_fn_proto, write_fn_proto_from_insn): Call write_fn_marker.
(init_output_initializer): Call write_var_marker.
(nvptx_output_aligned_decl): New.
(nvptx_assemble_undefined_decl, nvptx_file_end): Call write_var_marker.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231127 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nvptx/nvptx-protos.h
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/nvptx.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/nvptx/uninit-decl.c [new file with mode: 0644]