From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B3207385DDC7; Tue, 11 Jun 2024 15:26:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3207385DDC7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718119584; bh=yUIMV9mFqT/31zdf3jp1cEGb4ujV48vvnurmKxOW4lg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w1AZnzoQ8xQtEtLoWsHDp7dJ5EXheScNn71q/cahJfNZyGZW5mBCGRMoccDDR307Z nAL8Oi3HLLtRlpRIUHah3tm+e2BOftX0fNssHusgcKJlW1cPqMkvq0nCDN4CdyBBLY 9jfcKGOBXtI5YOWm/ycKL1nknEmvivoxh5mV/v6o= From: "andi-gcc at firstfloor dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/80379] Redundant note: code may be misoptimized unless -fno-strict-aliasing is used Date: Tue, 11 Jun 2024 15:26:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: andi-gcc at firstfloor dot org X-Bugzilla-Status: WAITING 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=3D80379 --- Comment #5 from Andi Kleen --- This bug is about printing a unnecessary message. If your code is actually miscompiled even with -fno-strict-aliasing set (so it is ignored somewhere)= it is something different and you would need a test case to debug.=