[nvptx] Add support for CUDA 9

Programming / Compilers / GCC - cesar [138bc75d-0d04-0410-961f-82ee72b054a4] - 19 January 2018 14:21 EST

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.

ced45701133 [nvptx] Add support for CUDA 9
gcc/ChangeLog | 6 ++++++
gcc/config/nvptx/nvptx.c | 10 ++++++++--
gcc/testsuite/ChangeLog | 5 +++++
gcc/testsuite/gcc.target/nvptx/indirect_call.c | 19 +++++++++++++++++++
4 files changed, 38 insertions(+), 2 deletions(-)

Upstream: gcc.gnu.org


  • Share