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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan  8 10:18:34 2019
New Revision: 267704

URL: https://gcc.gnu.org/viewcvs?rev=267704&root=gcc&view=rev
Log:
        Backported from mainline
        2018-12-12  Jakub Jelinek  <ja...@redhat.com>

        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:
    branches/gcc-8-branch/libgomp/testsuite/libgomp.fortran/pr88463-1.f90
    branches/gcc-8-branch/libgomp/testsuite/libgomp.fortran/pr88463-2.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-openmp.c
    branches/gcc-8-branch/libgomp/ChangeLog

Reply via email to