aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-08-19 10:35:39 +0200
committerJakub Jelinek <jakub@redhat.com>2021-08-19 10:35:39 +0200
commit4e6a5fa403782590088b2796261b023963f912af (patch)
treebc83d5b21497169269892394f49a4f0a9f5eed7e /gcc/fortran
parenteea1677fd03a1cb820cbb72044d4a0770f8a7a93 (diff)
downloadgcc-4e6a5fa403782590088b2796261b023963f912af.zip
gcc-4e6a5fa403782590088b2796261b023963f912af.tar.gz
gcc-4e6a5fa403782590088b2796261b023963f912af.tar.bz2
openmp: For C++ ensure nothing directive has no operands
When working on error directive, I've noticed that while C FE diagnosed clauses on nothing directive which doesn't allow any, the C++ FE silently accepted it. 2021-08-19 Jakub Jelinek <jakub@redhat.com> * parser.c (cp_parser_omp_nothing): Use cp_parser_require_pragma_eol instead of cp_parser_skip_to_pragma_eol. * c-c++-common/gomp/nothing-2.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions