From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 845EE384773A; Fri, 12 Apr 2024 07:14:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 845EE384773A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712906076; bh=AU+YRf/Ys9A1NWLplUQd/VfJDurpyYV+pqWCIItN8EY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rnPK9HGHAuJ+Y6adrlkFqlfRp9eE6uim23ZTM5st17TMaYwzAlBf2JspVf1AjJea9 rulk5TqP7o9AxAke9cV/xb9LzMwTigN3YMFEdGpekEtpieH4nzKlOra5yK60JZBDJU 40VliLwbs0roO524jJgMSMrREAJKEtVBssKD+dkY= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114700] Front-end optimization generates wrong code with -fsanitize=undefined Date: Fri, 12 Apr 2024 07:14:36 +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: xry111 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: 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 --- Comment #13 from Xi Ruoyao --- And IIRC there are various suggestion saying "if you want -fwrapv, you are likely actually wanting -fsanitize=3Dsigned-integer-overflow" and some plan deprecating -fwrapv. So it's more important to fix the sanitizer issue.=