[OpenACC] Elaborate testcases that verify column location information [PR92793]
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 29 Oct 2020 15:12:38 +0000 (16:12 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 30 Oct 2020 10:26:30 +0000 (11:26 +0100)
commitfa410314ec94c9df2ad270c1917adc51f9147c2c
tree4198df8ce9d4384d69c21e2ae637e4131332e805
parent63d0da8852553ec42d5256e9c96ee21d26e0c2cd
[OpenACC] Elaborate testcases that verify column location information [PR92793]

After PR92793 commit 9c81750c5bedd7883182ee2684a012c6210ebe1d "Fortran] PR
92793 - fix column used for error diagnostic", commit
d0d0ba20f2345023e9cec2419c9fb9e6cc7098c6 did "Add tests to verify OpenACC
clause locations", later fixed up in PR92901 commit
e6c90dba73291435c244decb9a89c47019cc5a45 to "Fix PR92901: Change test
expectation for C++ in OpenACC test clause-locations.c".

Now, add some more testing to verify/document the status quo.

gcc/testsuite/
PR fortran/92793
* c-c++-common/goacc/clause-locations.c: Rewrite into...
* c-c++-common/goacc/pr92793-1.c: ... this.
* gfortran.dg/goacc/clause-locations.f90: Rewrite into...
* gfortran.dg/goacc/pr92793-1.f90: ... this.
gcc/testsuite/c-c++-common/goacc/clause-locations.c [deleted file]
gcc/testsuite/c-c++-common/goacc/pr92793-1.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/clause-locations.f90 [deleted file]
gcc/testsuite/gfortran.dg/goacc/pr92793-1.f90 [new file with mode: 0644]