This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/59488] [OpenMP] named constant in parallel construct leads to "not specified in enclosing parallel" error.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]