From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6EDD43858C74; Tue, 27 Sep 2022 07:20:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6EDD43858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664263256; bh=WfYAkviwAq8p4GaTUlke6lf4xp+1unpFmw1jR64ZFd4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fUnGw+SHTQOrDiM/zI9Tlr7dfcOOP8eEK0dufqwyut9ilaLjh0aQAMtTupiudO2Mw svCm31fuu68cAOVtOO6IDKwQYaH5txP19LY9JMhlwZnQGRsEPrFzWyNDQuzRSGpjiY H7OVxaDb6c839/cbo90djzu4smgUVjBx9nPT4Dps= From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107046] [13 Regression] Recent FP range work causing inf-2 to be miscompiled on rx-elf Date: Tue, 27 Sep 2022 07:20: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D107046 --- Comment #1 from Aldy Hernandez --- The target seems to set flag_finite_math_only. We are much more aggressive= at folding comparisons involving infinities with this flag. config/rx/rx.cc: /* Alert the user if they are changing the optimization options to use IEEE compliant floating point arithmetic with RX FPU insns.= */ if (TARGET_USE_FPU && !flag_finite_math_only) warning (0, "RX FPU instructions do not support NaNs and infinities= "); } I think this test is invalid for this architecture. XFAIL?=