https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122511
--- Comment #2 from Edwin Lu <ewlu at rivosinc dot com> --- (In reply to Andrew Pinski from comment #1) > this might have been fixed today ... Yeah sorry I saw pr122497 after I submitted this bug. I checked gcc 14/15 and it seems like risc-v doesn't ICE. I'll close this if your change today fixes this
