]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/nvptx/nvptx.c
nvptx-protos.h (nvptx_output_aligned_decl): Declare.
authorNathan Sidwell <nathan@acm.org>
Tue, 1 Dec 2015 20:13:02 +0000 (20:13 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 1 Dec 2015 20:13:02 +0000 (20:13 +0000)
commit69823d76788b7420ab7c3e7c3603841e409a767a
treef336c3ceb467fff20cc26fd87b8335693f9859a8
parent9dc39706b4afc31623f28b71150cfd2bdadb2c24
nvptx-protos.h (nvptx_output_aligned_decl): Declare.

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.

From-SVN: r231127
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]