nvptx.c (write_one_arg): Deal with prologue emission too.
authorNathan Sidwell <nathan@acm.org>
Fri, 4 Dec 2015 14:02:27 +0000 (14:02 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 4 Dec 2015 14:02:27 +0000 (14:02 +0000)
commitdc3d2aebdccab3d85cfc7e2f75834817f4e440f6
tree0588ca2ad3d840316d88e2c875880cbf9c62939c
parent96d977a8f3ecfaedf634d86179af47fff7233f1e
nvptx.c (write_one_arg): Deal with prologue emission too.

* config/nvptx/nvptx.c (write_one_arg): Deal with prologue
emission too. Change 'no_arg_types' to 'prototyped'.
(write_fn_proto):  Use write_one_arg for stdarg, static chain &
main.
(nvptx_declare_function_name): Use write_one_arg for prologue copies.

From-SVN: r231267
gcc/ChangeLog
gcc/config/nvptx/nvptx.c