https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108597

--- Comment #1 from Serdar Sanli <mserdarsanli at gmail dot com> ---
stacktrace from my gcc 12.2.0:

0xe2534f crash_signal
        /root/source/gcc-12.2.0/gcc/toplev.cc:322
0xb0f049 location_wrapper_p(tree_node const*)
        /root/source/gcc-12.2.0/gcc/tree.h:4160
0xb0f049 tree_strip_any_location_wrapper(tree_node*)
        /root/source/gcc-12.2.0/gcc/tree.h:4172
0xb0f049 operand_compare::operand_equal_p(tree_node const*, tree_node const*,
unsigned int)
        /root/source/gcc-12.2.0/gcc/fold-const.cc:2987
0xb100fb operand_compare::operand_equal_p(tree_node const*, tree_node const*,
unsigned int)
        /root/source/gcc-12.2.0/gcc/fold-const.cc:3363                         
                                                                               
                                                   0xb0f3f1
operand_compare::operand_equal_p(tree_node const*, tree_node const*, unsigned
int)
        /root/source/gcc-12.2.0/gcc/fold-const.cc:3227                         
                                                                               
                                                   0x9a6f07
warn_duplicated_cond_add_or_warn(unsigned int, tree_node*, vec<tree_node*,
va_heap, vl_ptr>**)
        /root/source/gcc-12.2.0/gcc/c-family/c-warn.cc:2537
0x894e18 cp_parser_selection_statement
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:13108                         
                                                                               
                                                   0x86f5d5 cp_parser_statement
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:12296                         
                                                                               
                                                   0x893fe1
cp_parser_implicitly_scoped_statement
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:14423
0x895239 cp_parser_selection_statement
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:13186
0x86f5d5 cp_parser_statement
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:12296
0x87016d cp_parser_statement_seq_opt
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:12850
0x87021f cp_parser_compound_statement
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:12802
0x88ec73 cp_parser_function_body
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:25071
0x88ec73 cp_parser_ctor_initializer_opt_and_function_body
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:25122
0x88fdbe cp_parser_function_definition_after_declarator
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:31257
0x8900e3 cp_parser_late_parsing_for_member
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:32189
0x86a06e cp_parser_class_specifier_1
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:26190
0x86af46 cp_parser_class_specifier
        /root/source/gcc-12.2.0/gcc/cp/parser.cc:26214

Reply via email to