https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117457
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So the generated code on the gimple level looks fine, which means maybe _M_end is incorrect and got over-written somehow.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 18 Dec 2024 19:46:47 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117457
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So the generated code on the gimple level looks fine, which means maybe _M_end is incorrect and got over-written somehow.