libstdc++/8230

bkoz@gcc.gnu.org bkoz@gcc.gnu.org
Fri Nov 22 10:54:00 GMT 2002


The following reply was made to PR libstdc++/8230; it has been noted by GNATS.

From: bkoz@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: libstdc++/8230
Date: 16 Nov 2002 17:16:32 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	bkoz@gcc.gnu.org	2002-11-16 09:16:32
 
 Modified files:
 	libstdc++-v3   : ChangeLog 
 	libstdc++-v3/include/bits: stl_alloc.h stl_vector.h vector.tcc 
 	libstdc++-v3/testsuite/20_util: allocator_members.cc 
 	libstdc++-v3/testsuite/23_containers: vector_capacity.cc 
 
 Log message:
 	2002-11-15  Benjamin Kosnik  <bkoz@redhat.com>
 	Gabriel Dos Reis  <gdr@integrable-solutions.net>
 	
 	PR libstdc++/8230
 	* include/bits/stl_alloc.h: Use builtin_expect for the most
 	obvious limit checks.
 	(__default_alloc_template::allocate): Check for null, throw
 	bad_alloc.
 	* include/bits/vector.tcc: Formatting tweaks.
 	* include/bits/stl_vector.h: Same.
 	* testsuite/20_util/allocator_members.cc (test02): Add.
 	* testsuite/23_containers/vector_capacity.cc (test03): Add.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.1431&r2=1.1432
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_alloc.h.diff?cvsroot=gcc&r1=1.25&r2=1.26
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_vector.h.diff?cvsroot=gcc&r1=1.29&r2=1.30
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/vector.tcc.diff?cvsroot=gcc&r1=1.3&r2=1.4
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/20_util/allocator_members.cc.diff?cvsroot=gcc&r1=1.2&r2=1.3
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector_capacity.cc.diff?cvsroot=gcc&r1=1.4&r2=1.5
 



More information about the Gcc-prs mailing list