re PR fortran/79154 (omp declare simd in pure function?)
PR fortran/79154 * parse.c (matchs, matcho, matchds, matchdo): Replace return st; with { ret = st; goto finish; }. (decode_omp_directive): Allow declare simd, declare target and simd directives in PURE/ELEMENTAL procedures. Only call gfc_unset_implicit_pure on successful match of other procedures. * gfortran.dg/gomp/pr79154-1.f90: New test. * gfortran.dg/gomp/pr79154-2.f90: New test. From-SVN: r244763
Showing
gcc/testsuite/gfortran.dg/gomp/pr79154-1.f90
0 → 100644
gcc/testsuite/gfortran.dg/gomp/pr79154-2.f90
0 → 100644
Please
register
or
sign in
to comment