From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE45A385482C; Fri, 13 Jan 2023 11:14:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE45A385482C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673608489; bh=ASoVBA+BZkGlEGBozy8xRbqf0VwdvF4FRKVCeBsyUzQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p+Zm0zlq0yqC/dIWX3f+e6h+zPBsTPzdNCIJYParUXMnNhPOiBqw4s7OgdzlM7vOm A0UsID+qes/eZLDTr4G60lGHL8BGjIJvMc5PGYqAlFwF+fkNg1Js9oA0thhEOa0y// +c1oqsM7Tt10VcEsu41KjE7omFjriSw9BnVymsCo= From: "cvs-commit 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, 13 Jan 2023 11:14:48 +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: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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=3D55522 --- Comment #36 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:426a9f5570d74040176f81e7cf6806b36ebc907f commit r13-5141-g426a9f5570d74040176f81e7cf6806b36ebc907f Author: Richard Biener Date: Fri Jan 13 08:51:10 2023 +0100 arm: Don't add crtfastmath.o for -shared Don't add crtfastmath.o for -shared to avoid altering the FP environment when loading a shared library. PR target/55522 * config/arm/linux-eabi.h (ENDFILE_SPEC): Don't add crtfastmath.o for -shared. * config/arm/unknown-elf.h (STARTFILE_SPEC): Likewise.=