https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91981
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|15.3 |15.0 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes this was fixed in GCC 15.1.0 in the end. I added a similar testcase for std::vector::push_back already as r15-9386-g33b255a1aa2f21 so I don't think there is a reason why we need another testcase.