https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106258
Bug ID: 106258 Summary: ICE in ipa_verify_edge_has_no_modifications, at ipa-param-manipulation.cc:139 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 20220619 and 20220626, with file g++.dg/ipa/ipa-sra-4.C : $ gcc-13-20220710 -c ipa-sra-4.C -O2 -funreachable-traps during IPA pass: inline In function 'void check_allocate_max_size() [with Alloc = throw_allocator_base]', inlined from 'int main()' at ipa-sra-4.C:37:59: ipa-sra-4.C:35:13: internal compiler error: in ipa_verify_edge_has_no_modifications, at ipa-param-manipulation.cc:139 35 | a.allocate(__trans_tmp_1 + 1); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 0xe9b1d5 ipa_verify_edge_has_no_modifications(cgraph_edge*) ../../gcc/ipa-param-manipulation.cc:139 0xbc2c9f cgraph_edge::redirect_call_stmt_to_callee(cgraph_edge*) ../../gcc/cgraph.cc:1553 0x118dcaf redirect_all_calls(copy_body_data*, basic_block_def*) ../../gcc/tree-inline.cc:3002 0x1191363 copy_cfg_body ../../gcc/tree-inline.cc:3157 0x1191363 copy_body ../../gcc/tree-inline.cc:3338 0x1194628 expand_call_inline ../../gcc/tree-inline.cc:5123 0x11966a9 gimple_expand_calls_inline ../../gcc/tree-inline.cc:5318 0x11966a9 optimize_inline_calls(tree_node*) ../../gcc/tree-inline.cc:5490 0xe59ceb inline_transform(cgraph_node*) ../../gcc/ipa-inline-transform.cc:790 0xff0400 execute_one_ipa_transform_pass ../../gcc/passes.cc:2336 0xff0400 execute_all_ipa_transforms(bool) ../../gcc/passes.cc:2399 0xbca145 cgraph_node::expand() ../../gcc/cgraphunit.cc:1827 0xbcbae6 expand_all_functions ../../gcc/cgraphunit.cc:1998 0xbcbae6 symbol_table::compile() ../../gcc/cgraphunit.cc:2348 0xbcf1bf symbol_table::compile() ../../gcc/cgraphunit.cc:2532 0xbcf1bf symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.cc:2529