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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep  9 07:24:48 2015
New Revision: 227578

URL: https://gcc.gnu.org/viewcvs?rev=227578&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:
    trunk/gcc/testsuite/c-c++-common/gomp/pr67501.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to