https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67501

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep  9 07:31:43 2015
New Revision: 227582

URL: https://gcc.gnu.org/viewcvs?rev=227582&root=gcc&view=rev
Log:
        PR c/67501
        * c-parser.c (c_parser_oacc_all_clauses,
        c_parser_omp_all_clauses): Remove invalid clause from
        list of clauses even if parser->error is set.

        * c-c++-common/gomp/pr67501.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/gomp/pr67501.c
Modified:
    branches/gcc-5-branch/gcc/c/ChangeLog
    branches/gcc-5-branch/gcc/c/c-parser.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to