https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114758
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's just yet another occurrence of false positive -Wstringop-overflow warnings, it has nothing to do with vector<bool> being special.