https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92833
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Joseph Myers <js...@gcc.gnu.org>: https://gcc.gnu.org/g:852f0ae80555238c425e33f98df5c7077694bd9f commit r10-6026-g852f0ae80555238c425e33f98df5c7077694bd9f Author: Kerem Kat <kerem...@gmail.com> Date: Thu Jan 16 23:42:11 2020 +0000 Fix ICE caused by swallowing a token in c_parser_consume_token This patch fixes ICE on invalid code, specifically files that have conflict-marker-like signs before EOF. PR c/92833 gcc/c/ * c-parser.c (c_parser_consume_token): Fix peeked token stack pop to support 4 available tokens. gcc/testsuite/ * c-c++-common/pr92833-1.c, c-c++-common/pr92833-2.c, c-c++-common/pr92833-3.c, c-c++-common/pr92833-4.c: New tests.