https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118035
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-12-13
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Wow, we're calling uninitialized_move(first, last, first) which overwrites the
range.
It looks like this has been there since at least GCC 6, probably since adding
C++0x support to std::deque.