From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB98638582B1; Mon, 10 Oct 2022 16:46:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB98638582B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665420405; bh=Sq0uKBc88ugEYoO3jQsNgbiPHGc9SAQHMB0lLCwxYFo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AIFub1fXKtWYSEpBB0KuN6BKbEqMxSyGM8Ar1FF/n5lUJxbgTh1XYFS7ICuzRwNkO dtr+SUN0UnCqD1yaa+Y6nGsYYRrgfw5yRGeb3SIPDWsZAQwiOKbhN03LFg/i+I/Log XoVDZaFoklhOqvgeqSgvzF/i0ZzvE9L86mrkZ2Y0= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55522] -funsafe-math-optimizations is unexpectedly harmful, especially w/ -shared Date: Mon, 10 Oct 2022 16:46:44 +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: hjl.tools at gmail dot com 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: 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 #27 from H.J. Lu --- (In reply to Florian Weimer from comment #25) > (In reply to H.J. Lu from comment #24) > > Dropping crtfastmath.o with -shared makes sense. >=20 > Are you going to send a patch? I can give it a try as well (although I'm = not > familiar with the GCC specs language). Please give the patch at comment #26 a try.=