From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AD3AC3858034; Wed, 6 Mar 2024 16:42:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD3AC3858034 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709743323; bh=+1m+l+cSnso7EiR3Spu//MCSFVpMWrMSv6FfP12R4og=; h=From:To:Subject:Date:From; b=uU+E/orAiDIZVk9DSUvQe4ufErpGt3uL37q9dBUNQEY0j/Y8kGm+UZTHvCVmNrlAB Ltmm6KIxhnVTyqOUUUrxVDZbfAUyoLv0j9aVgpSsU0dhDZ1DCGL/X+r4OqUFPhMpBi 6gCwGR572d75ejIcyBYOzZDF16yX/ul7cyk/JCO0= From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114255] New: [RISC-V] unable to find a register to spill Date: Wed, 06 Mar 2024 16:42:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created Message-ID: 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=3D114255 Bug ID: 114255 Summary: [RISC-V] unable to find a register to spill Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: schwab@linux-m68k.org Target Milestone: --- Target: riscv64-*-* Created attachment 57635 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57635&action=3Dedit if_test.cc.ii $ c++ -march=3Drv64gcv1p0 -O2 -S if_test.cc.ii=20 /home/abuild/rpmbuild/BUILD/highway-1.1.0/hwy/tests/if_test.cc: In function 'static void hwy::N_RVV::TestIfNegativeThenNegOrUndefIfZero::TestMoreThan1LaneIfNegative= ThenNegOrUndefIfZero(D, hwy::N_RVV::Vec, hwy::N_RVV::Vec) [with D =3D hwy::N_RVV::Simd; hwy::EnableIf<((bool)(D::kPrivateLanes > 1))>* =3D 0]= ': /home/abuild/rpmbuild/BUILD/highway-1.1.0/hwy/tests/if_test.cc:225:3: error: unable to find a register to spill 225 | } | ^ /home/abuild/rpmbuild/BUILD/highway-1.1.0/hwy/tests/if_test.cc:225:3: error: this is the insn: (insn 202 628 821 4 (set (reg:RVVM8HI 478) (if_then_else:RVVM8HI (unspec:RVVMF2BI [ (reg:RVVMF2BI 479 [orig:141 _16 ] [141]) (reg:DI 134 [ _1 ]) (const_int 2 [0x2]) (const_int 0 [0]) repeated x2 (reg:SI 66 vl) (reg:SI 67 vtype) ] UNSPEC_VPREDICATE) (minus:RVVM8HI (reg:RVVM8HI 631 [orig:135 _10 ] [135]) (reg:RVVM8HI 481 [orig:275 _388 ] [275])) (reg:RVVM8HI 478))) "/home/abuild/rpmbuild/BUILD/highway-1.1.0/hwy/tests/if_test.cc":207:19 dis= crim 1 4917 {pred_subrvvm8hi} (expr_list:REG_DEAD (reg:RVVM8HI 631 [orig:135 _10 ] [135]) (expr_list:REG_DEAD (reg:RVVM8HI 481 [orig:275 _388 ] [275]) (expr_list:REG_DEAD (reg:RVVMF2BI 479 [orig:141 _16 ] [141]) (nil))))) /home/abuild/rpmbuild/BUILD/highway-1.1.0/hwy/tests/if_test.cc:225: confuse= d by earlier errors, bailing out=