https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106688
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fno-tree-coalesce-vars also fixes the issue.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 19 Aug 2022 13:15:28 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106688
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fno-tree-coalesce-vars also fixes the issue.