From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A28B9386F44F; Tue, 29 Sep 2020 23:20:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A28B9386F44F From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/97244] [11 Regression] ICE in ipa_edge_args_sum_t::duplicate at gcc/ipa-prop.c:4251 since r11-3478-gada353b87909fd6c Date: Tue, 29 Sep 2020 23:20:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2020 23:20:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97244 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org --- Comment #1 from Iain Sandoe --- a stage #1 debug build using a recent GCC-11 with=20 make CFLAGS=3D"-Og -g" CXXFLAGS=3D"-Og -g" also fails in the same way on x86_64-linux and darwin: I think between r11-3505....r11-3531. during IPA pass: inline ../../src/gcc/cgraph.c: In member function =E2=80=98bool cgraph_node::can_remove_if_no_direct_calls_p(bool)=E2=80=99: ../../src/gcc/cgraph.c:2935:43: internal compiler error: in duplicate, at ipa-prop.c:4251 2935 | return !call_for_symbol_and_aliases (nonremovable_p, NULL, tr= ue); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ 0x7814c2 ipa_edge_args_sum_t::duplicate(cgraph_edge*, cgraph_edge*, ipa_edge_args*, ipa_edge_args*) ../../src/gcc/ipa-prop.c:4251 0xe02ddb symbol_table::call_edge_duplication_hooks(cgraph_edge*, cgraph_edg= e*) ../../src/gcc/cgraph.c:451 0xe1657b cgraph_edge::clone(cgraph_node*, gcall*, unsigned int, profile_cou= nt, profile_count, bool) ../../src/gcc/cgraphclones.c:149 0x12edcb7 copy_bb ../../src/gcc/tree-inline.c:2266 0x12eecc3 copy_cfg_body ../../src/gcc/tree-inline.c:3042 0x12eecc3 copy_body ../../src/gcc/tree-inline.c:3290 0x12f1fa8 expand_call_inline ../../src/gcc/tree-inline.c:5076 0x12f3b31 gimple_expand_calls_inline ../../src/gcc/tree-inline.c:5266 0x12f3b31 optimize_inline_calls(tree_node*) ../../src/gcc/tree-inline.c:5439 0x103cb8b inline_transform(cgraph_node*) ../../src/gcc/ipa-inline-transform.c:741 0x117d0cd execute_one_ipa_transform_pass ../../src/gcc/passes.c:2240 0x117d0cd execute_all_ipa_transforms(bool) ../../src/gcc/passes.c:2279 0xe11d13 cgraph_node::expand() ../../src/gcc/cgraphunit.c:2302 0xe132af expand_all_functions ../../src/gcc/cgraphunit.c:2480 0xe132af symbol_table::compile() ../../src/gcc/cgraphunit.c:2843 0xe156e2 symbol_table::compile() ../../src/gcc/cgraphunit.c:2756 0xe156e2 symbol_table::finalize_compilation_unit() ../../src/gcc/cgraphunit.c:3021 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make[1]: *** [Makefile:1123: cgraph.o] Error 1 make: *** [Makefile:4726: all-gcc] Error 2=