From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 733193858407; Tue, 13 Sep 2022 19:33:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 733193858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663097635; bh=fgtB1XcY6WrBf8++OSVa23e/8jo2YzMie1YJYsh7/Q0=; h=From:To:Subject:Date:From; b=Yf9QVNIaDCk3M/AmM4Y89Fr4mLmUoGfA0pbkAaTl58VpM7lMWb7WMmcnXFH9FdxN6 ueO8DRrhqrfmZGfVyjc8m12xSmBYQVZxZTyG1yX5enpq/+N2YEYi3mgtWpO98rcO6d pKVWfcyHnKO4GOadgFgW7niwOgQ9u+sQIR8aMiI8= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106935] New: [12/13 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.cc:1505 Date: Tue, 13 Sep 2022 19:33:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106935 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=3Dyes) $ g++-13-20220911 -c pr71146.C -m32 -mandroid --param ipa-cp-eval-threshold= =3D200 -O3 $ $ g++-13-20220911 -c pr71146.C -m32 -mandroid --param ipa-cp-eval-threshold= =3D200 -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=