]> git.ipfire.org Git - thirdparty/gcc.git/commit
[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:28:47 +0000 (11:28 +0100)
commitfc423b4e5b16dc02cc9f91fdfc800d00a5103dea
tree51c3f907d54ecc9afd7ca9220186995c6ca1b495
parent7e5c72d277ee9cc906cb3ba828722768d63ac187
[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.

(cherry picked from commit fa410314ec94c9df2ad270c1917adc51f9147c2c)
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]