From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0B1253856965; Sun, 12 Nov 2023 20:27:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B1253856965 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699820846; bh=vwdbGTYWos2fLRcCW2YZY9e1GrDLEuxUuwxnJoxKaB8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Q7T6eYkKoMcrUEEt2sQSPv6Nv1Ytkry1FEcVuxruK2X/5otXpe+uj7GIn/JD6lenJ XWAc+cYGNCN/Bip8oybfrD7LrjryOLjBWD5bmg/88hS4GG2ykpb1dvxOxfoONnYpRN RJzUgcAqayVCVCqcpbDs3EqyuEPVzOsRs1U2hiuA= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/112483] [14 Regression] gfortran.dg/ieee/ieee_2.f90 fails on loongarch64-linux-gnu at -O1 or above Date: Sun, 12 Nov 2023 20:27:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: patch, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: xry111 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status keywords bug_file_loc 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=3D112483 Xi Ruoyao changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |xry111 at gcc dot g= nu.org Status|NEW |ASSIGNED Keywords| |patch URL| |https://gcc.gnu.org/piperma | |il/gcc-patches/2023-Novembe | |r/636200.html --- Comment #10 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #8) > (In reply to Tamar Christina from comment #7) > > Yeah, that fold-rtx code is bogus. It's a latent bug. > >=20 > > Optimizing copysign(x, -y) to neg(x) is just wrong. > >=20 > > Will you be sending a patch Xi or do you want me to? >=20 > Yes, I'm running a regression test now and I'll send the patch after it > finishes. https://gcc.gnu.org/pipermail/gcc-patches/2023-November/636200.html=