From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0BB48385DC06; Wed, 14 Feb 2024 09:25:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0BB48385DC06 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707902709; bh=ch8QnLD7J9rt7AVibKVbABzAV3zSbvK8GcPzmT32kDs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=so1ihPODADpNKUGlGXsYoFbkknlU6zXrPpqirCGKdIvc57EgshXp5Lzu4lsdV6rDV VUuUAqDywBXdTgEKjiXeoCIspomlMbi+uITDrV5oZOitFkQkxXoWqOeXeMXJRqNiXU 8UNk7ApnDSCuWCyY8RNJHPavgq15mcJeM9VSfC8Y= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113907] [14 regression] ICU miscompiled since on x86 since r14-5109-ga291237b628f41 Date: Wed, 14 Feb 2024 09:25:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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=3D113907 --- Comment #26 from Richard Biener --- (In reply to Jakub Jelinek from comment #25) > So, to sum up what has been discussed on IRC, LTO streaming doesn't seem = to > stream SSA_NAME_INFO, only the final IPA phases of say IPA-VRP can set > SSA_NAME_INFO. > Thus, this bug is most likely solely about -fno-lto behavior of IPA-ICF. >=20 > Supposedly there we can change the SSA_NAME_INFO upon final decision to > merge two functions. I'd say it is in sem_function::merge above if > (redirect_callers). > And guard with !flag_wpa (or for flag_wpa assert all SSA_NAME_INFO is NUL= L). >=20 > Except that by the time sem_function::merge is called, m_checker with its > mapping between SSA_NAME_VERSION is unfortunately gone, so we'd need to > preserve it somewhere. Or go and throw away all ranges from the final merge target?=