https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87787
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Marc Glisse from comment #1) > That would be my recent commit. We will probably need to add if(size!=0) in > front of the call to memmove... That's what we already do in stl_algobase.h and fstream.tcc. I notice that we do not do it in char_traits.h for the generic version (we do for each specialization). I don't know if memcpy in locale_facets.h is safe either.