aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-01-22 20:36:57 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-01-22 20:36:57 +0100
commit386fe51c2b90385eac9a9dd42940073d68734359 (patch)
tree3a078e1a007c2b0228aece9ccc07a907c1fb6242 /gcc/tree.c
parent0f314c78c2f6802622820248641e4f4bdf97e816 (diff)
downloadgcc-386fe51c2b90385eac9a9dd42940073d68734359.zip
gcc-386fe51c2b90385eac9a9dd42940073d68734359.tar.gz
gcc-386fe51c2b90385eac9a9dd42940073d68734359.tar.bz2
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
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions