From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C70963858282; Fri, 12 Apr 2024 10:15:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C70963858282 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712916935; bh=4R8xepz3DmQBtiUD7qDME5xMv/nHes7TIUnViTZidb8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A9s6pqZyXXXjAh2H2Q99gJGvUN67S3pckOtgceBJprA/rvMseDDX5xwyeU/IwH2pZ SeyktZH1hBzVsNOd/QlnEuXhenlhOCgR0Wh/dgsB9w45qIvO0XF6Jib+yV0LIxwf6D yb+CilbzZFn74F20gCORoz2yPzHwlrjslMw0XkFQ= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114700] middle-end optimization generates wrong code with -fsanitize=undefined Date: Fri, 12 Apr 2024 10:15:32 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D114700 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #15 from Jakub Jelinek --- (In reply to Hu Lin from comment #14) > Created attachment 57933 [details] > Untested fix. When a pattern already has one if, can't you just add that to the preexisti= ng if rather than adding yet another one.=