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

            Bug ID: 106124
           Summary: [11/12/13 Regression] ICE in
                    dwarf2out_abstract_function, at dwarf2out.cc:23254
           Product: gcc
           Version: 13.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 20200621 and 20200628,
with files libgomp/testsuite/libgomp.c++/udr-20.C and udr-21.C :


$ gcc-13-20220626 -c udr-20.C -g -O2 -fopenmp -fkeep-inline-functions
during IPA pass: inline
In static member function 'static constexpr int A::omp declare reduction
x~i(T&)::<lambda()>::_FUN()':
cc1plus: internal compiler error: in dwarf2out_abstract_function, at
dwarf2out.cc:23254
0xa07c13 dwarf2out_abstract_function
        ../../gcc/dwarf2out.cc:23254
0xe32e4d tree_function_versioning(tree_node*, tree_node*, vec<ipa_replace_map*,
va_gc, vl_embed>*, ipa_param_adjustments*, bool, bitmap_head*,
basic_block_def*)
        ../../gcc/tree-inline.cc:6219
0xb8cd98 save_inline_function_body
        ../../gcc/ipa-inline-transform.cc:658
0xb8cd98 inline_transform(cgraph_node*)
        ../../gcc/ipa-inline-transform.cc:750
0xcddad3 execute_one_ipa_transform_pass
        ../../gcc/passes.cc:2330
0xcddad3 execute_all_ipa_transforms(bool)
        ../../gcc/passes.cc:2393
0x99c927 cgraph_node::expand()
        ../../gcc/cgraphunit.cc:1827
0x99de92 expand_all_functions
        ../../gcc/cgraphunit.cc:1998
0x99de92 symbol_table::compile()
        ../../gcc/cgraphunit.cc:2348
0x9a060f symbol_table::compile()
        ../../gcc/cgraphunit.cc:2532
0x9a060f symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.cc:2529

Reply via email to