Fortran: Fix for OpenMP's 'lastprivate(conditional:'
authorTobias Burnus <tobias@codesourcery.com>
Tue, 4 Aug 2020 12:42:26 +0000 (14:42 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 4 Aug 2020 12:42:26 +0000 (14:42 +0200)
commit7bd72dd5a385dfa6d49cfe640cefc9ed187361d3
tree1139c4f27f43153f55ece7272f40694a1591624f
parent7cda9e0878da44dcaf025d3d146534dfaf0b9986
Fortran: Fix for OpenMP's 'lastprivate(conditional:'

gcc/fortran/ChangeLog:

* trans-openmp.c (gfc_trans_omp_do): Fix 'lastprivate(conditional:'.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/lastprivate-conditional-3.f90: Enable some
previously disabled 'lastprivate(conditional:' dg-warnings.
gcc/fortran/trans-openmp.c
gcc/testsuite/gfortran.dg/gomp/lastprivate-conditional-3.f90