https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114843
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #7) > Just an FYI on other targets on my reduced testcase (I just quickly looked > at the generated assembly to see if it worked or not): > > backends that seems to work: > mips > riscv > x86 > s390 > m68k > sh > sparc > > backends that don't work: > powerpc: PR 114846 > arm: PR 114847 > longarch: PR 114848 Looks like longarch was fixed in GCC 14: r14-6440 . Most likely other targets should do something similar ...