[Bug fortran/59488] [OpenMP] named constant in parallel construct leads to "not specified in enclosing parallel" error.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 10 11:25:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59488
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 10 11:24:31 2014
New Revision: 216071
URL: https://gcc.gnu.org/viewcvs?rev=216071&root=gcc&view=rev
Log:
PR fortran/59488
* trans-openmp.c (gfc_omp_predetermined_sharing): Return
OMP_CLAUSE_DEFAULT_SHARED for parameters or vtables.
* gfortran.dg/gomp/pr59488-1.f90: New test.
* gfortran.dg/gomp/pr59488-2.f90: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/gomp/pr59488-1.f90
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/gomp/pr59488-2.f90
Modified:
branches/gcc-4_8-branch/gcc/fortran/ChangeLog
branches/gcc-4_8-branch/gcc/fortran/trans-openmp.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list