------- Comment #1 from gcc-bugzilla at contacts dot eelis dot net 2010-05-18 21:45 ------- Created an attachment (id=20695) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20695&action=view) Trivial patch that fixes the problem.
The problem was just a missing call to _M_update_guaranteed_capacity(). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44190