https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #7) > return std::move(cv); Thanks! Works for me. Thus backport would not be probably needed.