https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102413
Bug ID: 102413 Summary: [12 Regression] ICE in cp_lexer_consume_token, at cp/parser.c:1172 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Started between 20210627 and 20210704 : $ cat z1.cc [[omp::directive(error]]; $ g++-12-20210919 -c z1.cc -fopenmp z1.cc:1:25: internal compiler error: in cp_lexer_consume_token, at cp/parser.c:1172 1 | [[omp::directive(error]]; | ^ 0x7b6c27 cp_lexer_consume_token ../../gcc/cp/parser.c:1172 0x7b8966 cp_parser_omp_directive_args ../../gcc/cp/parser.c:28632 0x7e0005 cp_parser_std_attribute ../../gcc/cp/parser.c:28871 0x7e0005 cp_parser_std_attribute_list ../../gcc/cp/parser.c:28961 0x7e0005 cp_parser_std_attribute_spec ../../gcc/cp/parser.c:29049 0x7e0005 cp_parser_std_attribute_spec_seq ../../gcc/cp/parser.c:29142 0x7d1267 cp_parser_decl_specifier_seq ../../gcc/cp/parser.c:15516 0x7d19f1 cp_parser_simple_declaration ../../gcc/cp/parser.c:15006 0x7f9a1f cp_parser_declaration ../../gcc/cp/parser.c:14819 0x7fa4ab cp_parser_translation_unit ../../gcc/cp/parser.c:4978 0x7fa4ab c_parse_file() ../../gcc/cp/parser.c:47694 0x8cb652 c_common_parse_file() ../../gcc/c-family/c-opts.c:1236