[Bug c++/106935] New: [12/13 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.cc:1505
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 19:33:55 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106935
Bug ID: 106935
Summary: [12/13 Regression] ICE in
redirect_call_stmt_to_callee, at cgraph.cc:1505
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Started between 20211114 and 20211121, at -Ofast,
with file g++.dg/ipa/pr71146.C :
(gcc configured with --enable-checking=yes)
$ g++-13-20220911 -c pr71146.C -m32 -mandroid --param ipa-cp-eval-threshold=200
-O3
$
$ g++-13-20220911 -c pr71146.C -m32 -mandroid --param ipa-cp-eval-threshold=200
-Ofast
during IPA pass: inline
pr71146.C: In member function 'void C::fn2()':
pr71146.C:20:11: internal compiler error: in redirect_call_stmt_to_callee, at
cgraph.cc:1505
20 | foo->fn (0, 0, 0);
| ~~~~~~~~^~~~~~~~~
0xc9e883 cgraph_edge::redirect_call_stmt_to_callee(cgraph_edge*)
../../gcc/cgraph.cc:1505
0x1260f1f redirect_all_calls(copy_body_data*, basic_block_def*)
../../gcc/tree-inline.cc:3002
0x12645d3 copy_cfg_body
../../gcc/tree-inline.cc:3157
0x12645d3 copy_body
../../gcc/tree-inline.cc:3338
0x1267898 expand_call_inline
../../gcc/tree-inline.cc:5123
0x1269919 gimple_expand_calls_inline
../../gcc/tree-inline.cc:5318
0x1269919 optimize_inline_calls(tree_node*)
../../gcc/tree-inline.cc:5490
0xf2bc6b inline_transform(cgraph_node*)
../../gcc/ipa-inline-transform.cc:790
0x10c2e50 execute_one_ipa_transform_pass
../../gcc/passes.cc:2336
0x10c2e50 execute_all_ipa_transforms(bool)
../../gcc/passes.cc:2399
0xca5875 cgraph_node::expand()
../../gcc/cgraphunit.cc:1827
0xca7216 expand_all_functions
../../gcc/cgraphunit.cc:1998
0xca7216 symbol_table::compile()
../../gcc/cgraphunit.cc:2348
0xcaa8ef symbol_table::compile()
../../gcc/cgraphunit.cc:2532
0xcaa8ef symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.cc:2529
More information about the Gcc-bugs
mailing list