[Bug libstdc++/112569] libstdc++-v3/include/ranges:1456: missing check for self-assignment
rs2740 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 23 13:56:39 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112569
TC <rs2740 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rs2740 at gmail dot com
--- Comment #1 from TC <rs2740 at gmail dot com> ---
This is exactly as it should be. There's no guarantee that self-move-assignment
on the associated range is a no-op, so the cache must be invalidated.
More information about the Gcc-bugs
mailing list