On Thu, Feb 09, 2017 at 05:59:34PM +0100, Marek Polacek wrote: > As discussed in the PR, this changes a call to c_parser_skip_until_found into > c_parser_skip_to_pragma_eol to avoid crashing on an assert in > c_parser_consume_token (CPP_PRAGMA_EOLs shouldn't be consumed in that way). > > Bootstrapped/regtested on x86_64-linux, ok for trunk? > > 2017-02-09 Marek Polacek <pola...@redhat.com> > > PR c/79428 > * c-parser.c (c_parser_omp_ordered): Call c_parser_skip_to_pragma_eol > instead of c_parser_skip_until_found. > > * c-c++-common/cilk-plus/CK/pr79428-4.c: New test. > * c-c++-common/cilk-plus/CK/pr79428-7.c: New test. > * c-c++-common/goacc/pr79428-1.c: New test. > * c-c++-common/gomp/pr79428-2.c: New test. > * c-c++-common/gomp/pr79428-5.c: New test. > * c-c++-common/gomp/pr79428-6.c: New test. > * c-c++-common/pr79428-3.c: New test.
Ok, thanks. Jakub