From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B82BC3858D33; Wed, 1 Mar 2023 13:05:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B82BC3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677675950; bh=YNWwv5/EAtkAXvoO/oWsf7vG9wPQhV9bkyovPJ6fvBE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Cn2U9xGoAlj2Y3wH9k4Rr5ST+trQnEZLrt+DTWapgF7ymywJhLpqY3I/uGUvvJhd/ CMrBT6sH1BJs4mpIgvcudhdIjvUVkhuhHQwc49teCe3ZbUYU3SrpgK/cIzhroE0BXN zsVvIT6rAAruUm5Se9oBFB3eARQXFnj+87+3grcM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108984] [13 Regression] LTO bootstrap causes testsuite ICE Date: Wed, 01 Mar 2023 13:05:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108984 --- Comment #4 from Richard Biener --- So there's interesting IPA summary on gen_rtx_CONST_INT.constprop/2274667 find_slot_with_hash.constprop/2274668 function not considered for inlin= ing freq:0.49 loop depth: 0 size: 6 time: 15 callee size:41 stack: 0 predicate: (op1,((unsigned long) #),(# + 64) > 128) op1 is compile time invariant op1 points to local or readonly memory op3 is compile time invariant it looks like the parameter removal does not adjust the parameter number? for the constprop clone the first parameter is constant VOIDmode (0), but the second is unknown. Not sure what '#' and op1 refer to for the predicate though. The above is from the IPA inline dump at WPA time. Note I do not see redirect_to_unreachable being called with e->callee->m_ui= d =3D=3D 2274668 during WPA. The function is called a lot, but too many times to watch all of them (it's not called at LTRANS time at all).=