7a289b7d0a
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
10 lines
224 B
Fortran
10 lines
224 B
Fortran
! PR fortran/88463
|
|
! { dg-do link }
|
|
! { dg-options "-fopenmp" }
|
|
! { dg-additional-sources pr88463-1.f90 }
|
|
|
|
module pr88463_2
|
|
integer, parameter :: a = 1
|
|
real, parameter :: b(4) = (/ 2., 3., 4., 5. /)
|
|
end module pr88463_2
|