r128220 - in /trunk/libstdc++-v3: ChangeLog inc...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Fri Sep 7 01:37:00 GMT 2007


Author: paolo
Date: Fri Sep  7 01:37:31 2007
New Revision: 128220

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128220
Log:
2007-09-06  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_vector.h (_Vector_base<>::_M_allocate):
	Do not call _M_impl.allocate when __n == 0.
	* testsuite/23_containers/vector/zero_sized_allocations.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/23_containers/vector/zero_sized_allocations.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_vector.h



More information about the Libstdc++-cvs mailing list