http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48355
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-30 09:07:01 UTC --- duplicate of PR 5258 and PR 994 I'll look into checking when _GLIBCXX_DEBUG is defined but the default (non-debug mode) behaviour is NOT going to change, your code has a bug, your code should change not the standard library