[Bug fortran/88463] Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 12 22:50:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88463

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 12 22:49:35 2018
New Revision: 267069

URL: https://gcc.gnu.org/viewcvs?rev=267069&root=gcc&view=rev
Log:
        PR fortran/88463
        * trans-openmp.c (gfc_omp_predetermined_sharing): Handle TREE_READONLY
        VAR_DECLs with DECL_EXTERNAL like those with TREE_STATIC.

        * testsuite/libgomp.fortran/pr88463-1.f90: New test.
        * testsuite/libgomp.fortran/pr88463-2.f90: New test.

Added:
    trunk/libgomp/testsuite/libgomp.fortran/pr88463-1.f90
    trunk/libgomp/testsuite/libgomp.fortran/pr88463-2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-openmp.c
    trunk/libgomp/ChangeLog


More information about the Gcc-bugs mailing list