From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 054CA3858C42; Fri, 26 Apr 2024 08:31:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 054CA3858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714120263; bh=5TmduR7fBAbzB9AAkua4QoTQI7hJvZzlAXsv+2rPT8U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FX+t0+2sb8+7Gq1zOlwExg6r/SjoyFUi6JeoTkuric4W1MY24k5C1CZc910AYJ7OZ w7Wr9otq+ldFIaEtgaeFUizDNAeXj4y7Q+EObjlwwG80nDfKHvOCA/7XY+DfP3BqD7 cWnABWxhKkzzkzJch1kPA/2EQoefC1a/uA8gc6Yk= From: "roger at nextmovesoftware dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111701] [11/12/13/14 Regression] wrong code for __builtin_signbit(x*x) Date: Fri, 26 Apr 2024 08:31:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: roger at nextmovesoftware dot com 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.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D111701 Roger Sayle changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roger at nextmovesoftware = dot com --- Comment #2 from Roger Sayle --- A patch to provide a possible solution/workaround has been proposed at https://gcc.gnu.org/pipermail/gcc-patches/2024-April/650054.html With that change, compiling the code in the original description with the -fsignaling-nans command line option, avoids the abort.=