From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DC3353858C52; Thu, 29 Sep 2022 11:28:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC3353858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664450908; bh=jL1Kip6zjN/WHTlSVfhwyGIY3s27ihplJ+WLOr4SIo0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WavZQtQBEVzN7DEATRb0gfZC+kbrtTg1Jej3IbF1EvGja0xVrntiFtjWO2JZGpBT/ INLp6eVXY8bjGXnWnsfXiGZXO+tNjJ0+TUvFo7tgonDwR9wlQA8aWSfWYEboDDURjP +OHMRunk4QAroH6Wr0lbGoOb5zSsCJxB440CIVBk= From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106902] [11/12/13 Regression] Program compiled with -O3 -mfma produces different result Date: Thu, 29 Sep 2022 11:28:27 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.4 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=3D106902 --- Comment #17 from Alexander Monakov --- (In reply to Richard Biener from comment #16) > I do think that since the only way to > preserve expression boundaries is by PAREN_EXPR Yes, but... > that the middle-end > shouldn't care about FAST vs. ON (well, it cannot), but the language > frontends need to ensure to emit PAREN_EXPRs for =3DON and omit them for > =3DFAST. this will also prevent reassociation across statements too. Doing FMA contraction in the frontends via a match.pd rule doesn't have this drawback= .=