Re: [PATCH] Fix ICE caused by swallowing a token in c_parser_consume_token

2020-01-17 Thread Kerem Kat
Thank you for reviewing and committing it. Kerem On Fri, Jan 17, 2020 at 1:04 AM Jeff Law wrote: > On Thu, 2020-01-16 at 23:43 +, Joseph Myers wrote: > > Thanks, patch committed. > Beat me to it :-) I spun it yesterday, but didn't get around to > committing it. > jeff > >

[PATCH] Fix ICE caused by swallowing a token in c_parser_consume_token

2019-12-30 Thread Kerem Kat
Hi, This patch fixes ICE on invalid code, specifically files that have conflict-marker-like signs before EOF. 2019-12-30 Kerem Kat PR c/92833 gcc/ * c-parser.c (c_parser_consume_token): Fix peeked token stack pop to support 4 available tokens. * c-c++-common/pr92833-*.c: New