[Bug c/79428] [6/7 Regression] ICE in c_parser_consume_token, at c/c-parser.c:770

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 9 11:09:00 GMT 2017


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

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think that's because in c_parser_omp_ordered we ate the pragma with
c_parser_consume_pragma, so the next token is CPP_PRAGMA_EOL, but e.g. in
c_parser_pragma the pragma tokens have not been eaten yet.


More information about the Gcc-bugs mailing list