aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2020-06-16 15:11:12 +0200
committerTobias Burnus <tobias@codesourcery.com>2020-06-16 15:11:12 +0200
commit6a893783f972a2c5d53186dfa15e0a7b8f1b2990 (patch)
tree53cf55541468dc99aafd78cb917dceeaabd3400b /gcc/c/c-parser.c
parentf193b29e42bcca7b92752d98d3a38dc9df884bef (diff)
downloadgcc-6a893783f972a2c5d53186dfa15e0a7b8f1b2990.zip
gcc-6a893783f972a2c5d53186dfa15e0a7b8f1b2990.tar.gz
gcc-6a893783f972a2c5d53186dfa15e0a7b8f1b2990.tar.bz2
OpenMP/Fortran: Permit impure ELEMENTAL in omp directives
OpenMP since 4.5 permits IMPURE ELEMENTAL in directives and the code already only checked for PURE. gcc/fortran/ChangeLog: * parse.c (decode_omp_directive): Remove "or ELEMENTAL" from "in PURE" error message. gcc/testsuite/ChangeLog: * gfortran.dg/gomp/pr79154-1.f90: Update dg-*; add an impure elemental example. * gfortran.dg/gomp/pr79154-2.f90: Likewise.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions