https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96088
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> --- tl;dr: > The remaining regressions in the number of allocations and temporaries > should be addressed separately, with more conservative optimizations > specific to std::string. That is not part of this commit.