From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F9BB3857340; Fri, 9 Sep 2022 10:50:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F9BB3857340 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662720628; bh=5VYIFF0Fw0r1+yb14s777rtqs9eJKXiiGQ7LaO/RssQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cOY7z4r35/02kGLetg4w7YgrGpRXI9s1EUn9TI6OahySv7v0wNovppIvyvH/Iim+d dn3qMFq1Ljigpr6kEBxmLLcCc7DnbFXc+W/jhanU40KKriYW6V94noSoXhITiNfXCP LTPzH+HAI0h6ZZClXWk8u/DH+cRUQxN5NuHxcNXM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55522] -funsafe-math-optimizations is unexpectedly harmful, especially w/ -shared Date: Fri, 09 Sep 2022 10:50: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: 4.6.3 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: major X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_gcctarget keywords 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=3D55522 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86_64-*-*, i?86-*-* |x86_64-*-*, i?86-*-*, | |aarch64, alpha, arm, ia64, | |loongarch, mips, sparc Keywords| |documentation --- Comment #18 from Richard Biener --- I'll note that I can't find any documentation for this link-time behavior w= hich triggers for -Ofast, -ffast-math and -funsafe-math-optimizations but also with -ffast-math -fno-unsafe-math-optimizations. I've adjusted the list of affected targets. What their crtfastmath.o actua= lly does would need to be determined, but it for sure will have the same spread= ing effect.=