[nvptx] Add support for CUDA 9
commit6c7c47081ac481c28f31c30e8845d0337556e8a2
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 19 Jan 2018 14:21:08 +0000 (19 06:21 -0800)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 19 Jan 2018 14:21:08 +0000 (19 06:21 -0800)
tree413cc10ea07f1fa612d6450dff0cacdf804a7ea4
parentb8d090dbdce90374353fbc57efdb7875e811671f
[nvptx] Add support for CUDA 9

PR target/83790

gcc/
* config/nvptx/nvptx.c (output_init_frag): Don't use generic address
spaces for function labels.

gcc/testsuite/
* gcc.target/nvptx/indirect_call.c: New test.

From-SVN: r256891
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/nvptx/indirect_call.c [new file with mode: 0644]