https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97991
Bug ID: 97991 Summary: ICE in c_parser_consume_token, at c/c-parser.c:850 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Affects versions down to at least r5 : $ cat z1.c #define foo _Pragma ("pack(bar)") #pragma redefine_extname foo $ gcc-11-20201122 -c z1.c z1.c:2:9: internal compiler error: in c_parser_consume_token, at c/c-parser.c:850 2 | #pragma redefine_extname foo | ^~~~~~~~~~~~~~~~ 0x666747 c_parser_consume_token(c_parser*) ../../gcc/c/c-parser.c:850 0x6687ea pragma_lex(tree_node**, unsigned int*) ../../gcc/c/c-parser.c:12555 0x6e4313 handle_pragma_redefine_extname ../../gcc/c-family/c-pragma.c:499 0x66e6bf c_parser_pragma ../../gcc/c/c-parser.c:12524 0x6909f3 c_parser_external_declaration ../../gcc/c/c-parser.c:1758 0x691569 c_parser_translation_unit ../../gcc/c/c-parser.c:1650 0x691569 c_parse_file() ../../gcc/c/c-parser.c:21882 0x6e0772 c_common_parse_file() ../../gcc/c-family/c-opts.c:1198