https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98677
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|11.0 |10.2.0
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Egor Suvorov from comment #0)
> suggested that maybe clang++ starts to implement some kind of destructive
> moves:
That would not be permitted by the C++ standard.
I can't reproduce this with clang 10.0.1 and valgrind 3.16.1