From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 42271385740F; Fri, 22 Oct 2021 07:21:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42271385740F From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/102681] [12 Regression] AArch64 bootstrap failure Date: Fri, 22 Oct 2021 07:21:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: build, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.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 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: Fri, 22 Oct 2021 07:21:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102681 --- Comment #18 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #9) > So in uninit1 we have: > if (_6691 !=3D 0) > goto ; [5.50%] > else > goto ; [94.50%] >=20 > [local count: 17344687]: > goto ; [100.00%] >=20 > [local count: 298013267]: >=20 > [local count: 315357954]: > # const_upper_3854 =3D PHI <_6687(87), 18446744073709551615(287)> > # _870 =3D PHI <1(87), 0(287)> [snip] > But _870 is _6691 =3D=3D 0 but that relationship is totally missed and th= ere is > full on jump threading miss in the above IR. This matches what I mentioned in the mailing list. If we could notice this relationship, we could thread over the uninitialized use.=