[nvptx] Factor out write_fn_proto_1
authorTom de Vries <tdevries@suse.de>
Sat, 10 Oct 2020 15:08:04 +0000 (17:08 +0200)
committerTom de Vries <tdevries@suse.de>
Sat, 10 Oct 2020 21:34:24 +0000 (23:34 +0200)
commitdb52bcfe4a0ef1bae9ed52b4e51af085f71c984d
treed90c03acaf19aba87bddcc0b0a1099f81b03df9b
parent2137aa92412da363d52ef699987441be28b239d0
[nvptx] Factor out write_fn_proto_1

Factor out write_fn_proto_1 from write_fn_proto.

Tested check-gcc on nvptx.

Tested libgomp on x86_64-linux with nvptx accelerator.

gcc/ChangeLog:

2020-10-10  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx.c (write_fn_proto_1): New function, factored out
of ...
(write_fn_proto): ... here.  Return void.
gcc/config/nvptx/nvptx.c