https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123835
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
t56.cc:1:40: internal compiler error: in start_enum, at cp/decl.cc:18786
0x30b0e1d internal_error(char const*, ...)
../../gcc/diagnostic-global-context.cc:787
0x30bbb85 fancy_abort(char const*, int, char const*)
../../gcc/diagnostics/context.cc:1812
0xa8afc6 start_enum(tree_node*, tree_node*, tree_node*, tree_node*, bool,
bool*)
../../gcc/cp/decl.cc:18786
0xebc3ec cp_parser_enum_specifier
../../gcc/cp/parser.cc:23852
0xeb8ced cp_parser_type_specifier
../../gcc/cp/parser.cc:22210
0xeb28d6 cp_parser_decl_specifier_seq
../../gcc/cp/parser.cc:18775
0xeb0381 cp_parser_simple_declaration
../../gcc/cp/parser.cc:17868
0xeb0307 cp_parser_block_declaration
../../gcc/cp/parser.cc:17813
0xeafd37 cp_parser_declaration
../../gcc/cp/parser.cc:17614
0xeafe14 cp_parser_toplevel_declaration
../../gcc/cp/parser.cc:17635
0xe90704 cp_parser_translation_unit
../../gcc/cp/parser.cc:5567
0xf1fe9e c_parse_file()
../../gcc/cp/parser.cc:57348
0x10c69d1 c_common_parse_file()
../../gcc/c-family/c-opts.cc:1422
./cc1plus t56.cc
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.