From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 012633860765; Thu, 11 Jan 2024 00:56:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 012633860765 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704934619; bh=XTdHjQ3GUxi6YkTndsxQLRV0wkXHXcDxJAIYQmKVi3w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MCoFmhOBPZoQRN0r6UEtw6sya+HccU/pN4IxiQjdEuzVxHaDR7OuxFqVOaxskrxAG prxwxHYDFwy6rhO8s5q0ClqHiGBT5vNdZH0Kat5Z03cxoFLSL67aZWKmYqmBtPYNZ3 rXV1s+sT7HGKveROaPmrqHNzCqaQP8gHbsoqkR7Q= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110450] [14 Regression] Dead Code Elimination Regression at -O2 since r14-261-g0ef3756adf0 Date: Thu, 11 Jan 2024 00:56:58 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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=3D110450 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot = gnu.org --- Comment #4 from Andrew Pinski --- Will commit the testcase and close it as fixed. The fix seems like the corr= ect one based on my comment: > And then we remove the __builtin_unreachable even though we infer that _5= would be 0 and therefore _11 would never be 8 .=