https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629
--- Comment #14 from David Binderman <dcb314 at hotmail dot com> --- There is also this one from cppcheck: trunk.git/libstdc++-v3/include/debug/formatter.h:302:40: warning: Redundant assignment of '_M_variant._M_iterator._M_constness' to itself. [selfAssignment] Source code is _M_variant._M_iterator._M_constness = _M_variant._M_iterator._M_constness = __it._S_constant() ? __const_iterator : __mutable_iterator;