This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/44190] Debug vector resize does not update capacity
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2010 12:09:42 -0000
- Subject: [Bug libstdc++/44190] Debug vector resize does not update capacity
- References: <bug-44190-5473@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from paolo at gcc dot gnu dot org 2010-05-19 12:09 -------
Subject: Bug 44190
Author: paolo
Date: Wed May 19 12:08:53 2010
New Revision: 159560
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159560
Log:
2010-05-19 Eelis van der Weegen <gcc-bugzilla@contacts.eelis.net>
PR libstdc++/44190
* include/debug/vector (vector<>::resize): Call
_M_update_guaranteed_capacity.
* testsuite/23_containers/vector/capacity/44190.cc: New.
Added:
branches/gcc-4_5-branch/libstdc++-v3/testsuite/23_containers/vector/capacity/44190.cc
Modified:
branches/gcc-4_5-branch/libstdc++-v3/ChangeLog
branches/gcc-4_5-branch/libstdc++-v3/include/debug/vector
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44190