https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81173
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Jun 22 14:16:38 2017 New Revision: 249554 URL: https://gcc.gnu.org/viewcvs?rev=249554&root=gcc&view=rev Log: PR libstdc++/81173 fix undefined memset with null pointer PR libstdc++/81173 * include/bits/stl_bvector.h (vector<bool>::_M_initialize_value): Do not pass null pointer to memset. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_bvector.h