public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114255] New: [RISC-V] unable to find a register to spill
@ 2024-03-06 16:42 schwab@linux-m68k.org
2024-04-16 8:50 ` [Bug target/114255] [RISC-V] [RVV] " schwab@linux-m68k.org
2024-04-16 14:47 ` schwab@linux-m68k.org
0 siblings, 2 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2024-03-06 16:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114255
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=57635&action=edit
if_test.cc.ii
$ c++ -march=rv64gcv1p0 -O2 -S if_test.cc.ii
/home/abuild/rpmbuild/BUILD/highway-1.1.0/hwy/tests/if_test.cc: In function
'static void
hwy::N_RVV::TestIfNegativeThenNegOrUndefIfZero::TestMoreThan1LaneIfNegativeThenNegOrUndefIfZero(D,
hwy::N_RVV::Vec<D>, hwy::N_RVV::Vec<D>) [with D = hwy::N_RVV::Simd<short int,
4096, 3>; hwy::EnableIf<((bool)(D::kPrivateLanes > 1))>* <anonymous> = 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 discrim
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: confused by
earlier errors, bailing out
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/114255] [RISC-V] [RVV] unable to find a register to spill
2024-03-06 16:42 [Bug target/114255] New: [RISC-V] unable to find a register to spill schwab@linux-m68k.org
@ 2024-04-16 8:50 ` schwab@linux-m68k.org
2024-04-16 14:47 ` schwab@linux-m68k.org
1 sibling, 0 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2024-04-16 8:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114255
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |14.0
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in the mean time.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/114255] [RISC-V] [RVV] unable to find a register to spill
2024-03-06 16:42 [Bug target/114255] New: [RISC-V] unable to find a register to spill schwab@linux-m68k.org
2024-04-16 8:50 ` [Bug target/114255] [RISC-V] [RVV] " schwab@linux-m68k.org
@ 2024-04-16 14:47 ` schwab@linux-m68k.org
1 sibling, 0 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2024-04-16 14:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114255
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |DUPLICATE
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
*** This bug has been marked as a duplicate of bug 113790 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-16 14:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 16:42 [Bug target/114255] New: [RISC-V] unable to find a register to spill schwab@linux-m68k.org
2024-04-16 8:50 ` [Bug target/114255] [RISC-V] [RVV] " schwab@linux-m68k.org
2024-04-16 14:47 ` schwab@linux-m68k.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).