From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5296638618F9; Fri, 6 Nov 2020 16:09:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5296638618F9 From: "amacleod at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyB0cmVlLW9wdGltaXphdGlvbi85NzczN10gWzExIFJlZ3Jl?= =?UTF-8?B?c3Npb25dIElDRSBhdCAtT3MgYW5kIGFib3ZlOiB0cmVlIGNoZWNrOiBleHBl?= =?UTF-8?B?Y3RlZCBjbGFzcyDigJh0eXBl4oCZLCBoYXZlIOKAmGV4Y2VwdGlvbmFs4oCZ?= =?UTF-8?B?IChlcnJvcl9tYXJrKSBpbiB1c2VsZXNzX3R5cGVfY29udmVyc2lvbl9wLCBh?= =?UTF-8?B?dCBnaW1wbGUtZXhwci5jOjg4?= Date: Fri, 06 Nov 2020 16:09:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amacleod at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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, 06 Nov 2020 16:09:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97737 Andrew Macleod changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Andrew Macleod --- This is actually the same issue as 97741. The iL is being changed and we l= ose info. The first thing visited is: e_4 =3D PHI <1(2), e_3(7)> and the incoming edge from bb7 is determined to be undefined, so we fold e_= 4 to 1 but later on the undefined edge becomes defined due a "harmless" constant in unreachable code being propagated. The end result is now: : b =3D 1; a.0_1 =3D a; e_10 =3D 1 / a.0_1; if (e_10 =3D=3D 0) goto ; [INV] else goto ; [INV] : c.1_2 =3D c; : return; *** This bug has been marked as a duplicate of bug 97741 ***=