https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111461
Bug ID: 111461 Summary: [14.0 Regression] RISC-V rv32gc bootstrap ICEs with --enable-checking=rtl Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- Created attachment 55923 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55923&action=edit Backtrace Bootstrap fails with an ICE. during RTL pass: expand offtime.c: In function '__offtime': offtime.c:79:6: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in riscv_legitimize_const_move, at config/riscv/riscv.cc:2176 79 | ip = __mon_yday[__isleap(y)]; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Caused by: r14-3548-gd16af3ebea8