re PR fortran/88463 (Rejects conforming source, OpenMP Parallel region Default(None...
authorJakub Jelinek <jakub@redhat.com>
Wed, 12 Dec 2018 22:49:35 +0000 (23:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 12 Dec 2018 22:49:35 +0000 (23:49 +0100)
commit7a289b7d0ac7f26a7f5e8d27608ce5e67317cc37
tree99a5b349277ac3b08c6de974105bedd12b412151
parent44cacba39d28fcf92f328957be7e20398dee7de2
re PR fortran/88463 (Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source)

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.

From-SVN: r267069
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/pr88463-1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/pr88463-2.f90 [new file with mode: 0644]