https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110162
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think the GCC diagnostic is correct, the std::move is redundant here.