http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52938
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |libstdc++ --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-11 20:26:04 UTC --- Why do you think this is a bug? I don't see why x="aaa"; would not change the reserve. The main reason why it changes the reserve is that the backing part is shared between x and y.