* config/nvptx/nvptx.h (OUTGOING_STATIC_CHAIN_REGNUM): Remove.
commit7bb66bb92f3df9a8d407e0ff8ef0e44e9c96f769
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Dec 2015 20:02:02 +0000 (16 20:02 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Dec 2015 20:02:02 +0000 (16 20:02 +0000)
tree1916f8f611073ba7c7aef78a028a77abab1de808
parent4ac6fcc2e42683e8ad80430c8ca9d7fd945103ea
* config/nvptx/nvptx.h (OUTGOING_STATIC_CHAIN_REGNUM): Remove.
(REGISTER_NAMES): Adjust.
* config/nvptx/nvptx.c (nvptx_pass_by_reference): Avoid long line.
(nvptx_static_hain): Delete.
(write_arg_mode): Don't emit initializer if argno < 0.
(write_arg_type): Fix whitespace.
(init_frame): Initialize reg to zero if frame is zero-sized.
(nvptx_declare_function_name):  Use write_arg_type to emit chain
decl.
(nvptx_output_call_insn): Adjust static chain emission.
(nvptx_goacc_reduction): Make static.
(TARGET_STATIC_CHAIN): Don't override.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231718 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/nvptx.h