https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105573
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #2) > This seems to have been fixed in GCC 12 -- I can reproduce with > --target=sparc64-unknown-linux-gnu with GCC 11, but not GCC 12. If that is the case, it most likely been fixed by the patch which fixed PR 105312.