From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA9C83858C00; Mon, 27 Mar 2023 10:40:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA9C83858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679913656; bh=rPDKoY+T1aY/wU/+2zUs4cfqctMXnwoINEEyYYTUh/w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LN6PLHbsg5F02JMVOqIc0cw9knqwZRY1J21RoeMKPiEG6S54t8ciLNAzGsrbQt6zE wEbODOlU9sFaYya+15F4wD56WXKITYlfTHvCzFV3PAmW3zij60Bi/u9pS3PXe+X2Fb BRFNUYFmQzUaCcdxgTDA4Pf4M+EKh3gvCHNiaz9c= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109154] [13 regression] jump threading de-optimizes nested floating point comparisons Date: Mon, 27 Mar 2023 10:40:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D109154 --- Comment #16 from Jakub Jelinek --- Created attachment 54766 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54766&action=3Dedit gcc13-pr109154-denorm.patch Untested patch to honor denormals if floating point mode has them, unless -funsafe-math-optimizations or Alpha (except -mieee or -mieee-with-inexact)= .=