From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6650F3858404; Thu, 21 Sep 2023 09:44:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6650F3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695289483; bh=7EqrxpONlmXPdUcF0UVKutpFtMktL5T1qrGD6tzsK70=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZNeICwc4IO9bebUiqFypseXZnsNUiTyi2nMoWD+xQhiyp2CNt0+be34m364yNEf/K KBCtRFal2gi9R6Afyh1VC9oNMBfzmYqK9vDQ2AirH2p7u0BhNjFDM7VZVV5BFtc2cF NhBfngAYC6w30yC7BsMxiAj6ScIdD+XOJpEAstz4= From: "malat at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110622] x86: Miscompilation at O1 level (O0 is working) Date: Thu, 21 Sep 2023 09:44:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: malat at debian dot 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: resolution bug_status 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=3D110622 Mathieu Malaterre changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |--- Status|RESOLVED |UNCONFIRMED --- Comment #9 from Mathieu Malaterre --- (In reply to Mathieu Malaterre from comment #7) > Either `-fexcess-precision=3Dstandard` or `-ffloat-store` makes the sympt= oms > go away (tested at -O2). The above statement is 100% accurate. However I still believe the optimizer= is doing a little too much on a limited range of values. Let me provide a redu= ce test case.=