https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106624
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- Thanks for finding out! To be honest, I verified that path leading to env_manager::xput, but it does string copy only if m_can_restore. The patch is fine, please send it to gcc-patches as obvious!