From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3C9E43858022; Wed, 14 Feb 2024 15:52:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C9E43858022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707925964; bh=ACTrMFsEKDAdNu3nh3I6OLpP0P8A7gLXdCj8CCPpWYQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=diQH1LrZJkkZjv1rFBH/O/4RLslPSzDoI/+5udKwQ4rmP2UPufaqYPYTRqVwaBT5T OJ34nanujn0WFyT2jFNE+pT05H30v9ZL1rf2JKlqKnEwFkoBdq34CPTrEkqOUKwLqZ OscgpP4yqblzJ8e3i9ysRTEi5ynHlCIDa/gDtpYw= From: "hubicka 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 15:52:42 +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: hubicka 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113907 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #29 from Jan Hubicka --- Safest fix is to make equals_p to reject merging functions with different v= alue ranges assigned to corresponding SSA names. I would hope that, since early opts are still mostly local, that does not lead to very large degradation. = This is lame of course. If we go for smarter merging, we need to also handle ipa-prop jump function= s.=20 In that case I think equals_p needs to check if value range sin SSA_NAMES a= nd jump functions differs and if so, keep that noted so the merging code can do corresponding update. I will check how hard it is to implement this.=20 (Equality handling is Martin Liska's code, but if I recall right, each equivalence class has a leader, and we can keep track if there are some differences WRT that leader, but I do not recall how subdivision of equival= ence classes is handled).=