]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix up libgomp.fortran/alloc-1.F90 testcase [PR100071]
authorJakub Jelinek <jakub@redhat.com>
Wed, 14 Apr 2021 08:48:56 +0000 (10:48 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 14 Apr 2021 08:48:56 +0000 (10:48 +0200)
commit287be7f7a587cb08eb88ecee39ff5556a22976d2
tree7432f75829b6fc9882f6b188636b0561b4730a53
parente1666ebd9ad31dbd8b9b933c883bdd882cfd1522
testsuite: Fix up libgomp.fortran/alloc-1.F90 testcase [PR100071]

As can be seen under valgrind, the testcase didn't bind in the last part
the fortran pointers properly to the c pointers.

2021-04-14  Jakub Jelinek  <jakub@redhat.com>

PR testsuite/100071
* testsuite/libgomp.fortran/alloc-1.F90: Call c_f_pointer after last
cp = omp_alloc with cp, p arguments instead of cq, q and call
c_f_pointer after last cq = omp_alloc with cq, q.
libgomp/testsuite/libgomp.fortran/alloc-1.F90