https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104545
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED on GCC 12, only, by commit
r12-7242-g3939c1b11279dc950d2f160eb940dd791f7b40f1
commit 3939c1b11279dc950d2f160eb940dd791f7b40f1
Author: Tobias Burnus <[email protected]>
Date: Tue Feb 15 12:26:48 2022 +0100
Fortran/OpenMP: Fix depend-clause handling
gcc/fortran/ChangeLog:
* trans-openmp.cc (gfc_trans_omp_clauses, gfc_trans_omp_depobj):
Depend on the proper addr, for ptr/alloc depend on pointee.
libgomp/ChangeLog:
* testsuite/libgomp.fortran/depend-4.f90: New test.
gcc/testsuite/ChangeLog:
* gfortran.dg/gomp/depend-4.f90: New test.
* gfortran.dg/gomp/depend-5.f90: New test.