Add tests to verify OpenACC clause locations
authorFrederik Harwath <frederik@codesourcery.com>
Tue, 10 Dec 2019 16:12:58 +0000 (16:12 +0000)
committerFrederik Harwath <frederik@gcc.gnu.org>
Tue, 10 Dec 2019 16:12:58 +0000 (16:12 +0000)
commitd0d0ba20f2345023e9cec2419c9fb9e6cc7098c6
tree7b20a105f29d9584179a0a6625d1524aaea148a1
parent64c5157f6dcf3ed4595d521ac6b75f595a82e29e
Add tests to verify OpenACC clause locations

Check that the column information for OpenACC clauses is communicated correctly
to the middle-end, in particular by the Fortran front-end (cf. PR 92793).

2019-12-10  Frederik Harwath  <frederik@codesourcery.com>

gcc/testsuite/
* c-c++-common/goacc/clause-locations.c: New test.
* gfortran.dg/goacc/clause-locations.f90: New test.

From-SVN: r279169
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/clause-locations.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/clause-locations.f90 [new file with mode: 0644]