https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116778
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- ...and without -mlra the code is correct, so likely caused by LRA.
gjl at gcc dot gnu.org via Gcc-bugs Thu, 19 Sep 2024 02:53:16 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116778
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- ...and without -mlra the code is correct, so likely caused by LRA.