Re: [PATCH] Fix ice-on-invalid with #pragma omp ordered (PR c/79428)

2017-02-09 Thread Jakub Jelinek
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). > > Bootstrap

[PATCH] Fix ice-on-invalid with #pragma omp ordered (PR c/79428)

2017-02-09 Thread Marek Polacek
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