From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1473B38432F9; Fri, 16 Dec 2022 19:21:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1473B38432F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671218501; bh=gCiemMaT2SF6yiDCtSQUqJQYjrh8yDCwALempHtSWr4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XDfzuPKgcDILlyLxJ6Id7bXPhrpvX1sFkDAOrvwf5qxyUnTIobEq9z243NcefPyMk ezIRsSGkWrAEEgodrTkI7iNWEYAPIyXu87MFcFjkyUAoE3G+fOoRqaFgK0Ck/1P6bz AGkcuufRwM02X3JzuiWbM1SW490j7xAIp9U37p+M= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108139] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1938-g87dd4c8c83768aaf Date: Fri, 16 Dec 2022 19:21:40 +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: 13.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 13.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=3D108139 --- Comment #2 from Andrew Pinski --- Folding statement: if (a.3_5 !=3D 0) Folding predicate a.3_5 !=3D 0 to 1 Folded into: if (1 !=3D 0) I don't see how that could be possible. There is some issue coming from the (not used on this path) uninitialized variable c too.=