head	1.3;
access;
symbols
	RELENG_8_4:1.3.0.2
	RELENG_9_1_0_RELEASE:1.2.2.1
	RELENG_9_1:1.2.2.1.0.2
	RELENG_9_1_BP:1.2.2.1
	RELENG_8_3_0_RELEASE:1.1.1.22.10.2
	RELENG_8_3:1.1.1.22.10.2.0.2
	RELENG_8_3_BP:1.1.1.22.10.2
	RELENG_9_0_0_RELEASE:1.2
	RELENG_9_0:1.2.0.4
	RELENG_9_0_BP:1.2
	RELENG_9:1.2.0.2
	RELENG_9_BP:1.2
	RELENG_7_4_0_RELEASE:1.1.1.22
	RELENG_8_2_0_RELEASE:1.1.1.22
	RELENG_7_4:1.1.1.22.0.20
	RELENG_7_4_BP:1.1.1.22
	RELENG_8_2:1.1.1.22.0.18
	RELENG_8_2_BP:1.1.1.22
	RELENG_8_1_0_RELEASE:1.1.1.22
	RELENG_8_1:1.1.1.22.0.16
	RELENG_8_1_BP:1.1.1.22
	RELENG_7_3_0_RELEASE:1.1.1.22
	RELENG_7_3:1.1.1.22.0.14
	RELENG_7_3_BP:1.1.1.22
	RELENG_8_0_0_RELEASE:1.1.1.22
	RELENG_8_0:1.1.1.22.0.12
	RELENG_8_0_BP:1.1.1.22
	RELENG_8:1.1.1.22.0.10
	RELENG_8_BP:1.1.1.22
	RELENG_7_2_0_RELEASE:1.1.1.22
	RELENG_7_2:1.1.1.22.0.8
	RELENG_7_2_BP:1.1.1.22
	RELENG_7_1_0_RELEASE:1.1.1.22
	RELENG_6_4_0_RELEASE:1.1.1.19.2.1
	RELENG_7_1:1.1.1.22.0.6
	RELENG_7_1_BP:1.1.1.22
	RELENG_6_4:1.1.1.19.2.1.0.6
	RELENG_6_4_BP:1.1.1.19.2.1
	RELENG_7_0_0_RELEASE:1.1.1.22
	RELENG_6_3_0_RELEASE:1.1.1.19.2.1
	RELENG_7_0:1.1.1.22.0.4
	RELENG_7_0_BP:1.1.1.22
	RELENG_6_3:1.1.1.19.2.1.0.4
	RELENG_6_3_BP:1.1.1.19.2.1
	RELENG_7:1.1.1.22.0.2
	RELENG_7_BP:1.1.1.22
	gcc_4_2_1_20070718_SVN126787:1.1.1.22
	gcc_4_2_0_20070514_SVN124707:1.1.1.21
	RELENG_6_2_0_RELEASE:1.1.1.19.2.1
	RELENG_6_2:1.1.1.19.2.1.0.2
	RELENG_6_2_BP:1.1.1.19.2.1
	gcc_3_4_6_20060825_SVN116475:1.1.1.20
	RELENG_5_5_0_RELEASE:1.1.1.18
	RELENG_5_5:1.1.1.18.0.8
	RELENG_5_5_BP:1.1.1.18
	RELENG_6_1_0_RELEASE:1.1.1.19
	RELENG_6_1:1.1.1.19.0.6
	RELENG_6_1_BP:1.1.1.19
	RELENG_6_0_0_RELEASE:1.1.1.19
	RELENG_6_0:1.1.1.19.0.4
	RELENG_6_0_BP:1.1.1.19
	RELENG_6:1.1.1.19.0.2
	RELENG_6_BP:1.1.1.19
	gcc_3_4_4_20050518:1.1.1.19
	RELENG_5_4_0_RELEASE:1.1.1.18
	RELENG_5_4:1.1.1.18.0.6
	RELENG_5_4_BP:1.1.1.18
	RELENG_4_11_0_RELEASE:1.1.1.5.2.3
	RELENG_4_11:1.1.1.5.2.3.0.18
	RELENG_4_11_BP:1.1.1.5.2.3
	RELENG_5_3_0_RELEASE:1.1.1.18
	RELENG_5_3:1.1.1.18.0.4
	RELENG_5_3_BP:1.1.1.18
	RELENG_5:1.1.1.18.0.2
	RELENG_5_BP:1.1.1.18
	gcc_3_4_2_20040728:1.1.1.18
	RELENG_4_10_0_RELEASE:1.1.1.5.2.3
	RELENG_4_10:1.1.1.5.2.3.0.16
	RELENG_4_10_BP:1.1.1.5.2.3
	RELENG_5_2_1_RELEASE:1.1.1.17
	RELENG_5_2_0_RELEASE:1.1.1.17
	RELENG_5_2:1.1.1.17.0.2
	RELENG_5_2_BP:1.1.1.17
	gcc_3_3_3_20031106:1.1.1.17
	RELENG_4_9_0_RELEASE:1.1.1.5.2.3
	RELENG_4_9:1.1.1.5.2.3.0.14
	RELENG_4_9_BP:1.1.1.5.2.3
	gcc_3_3_1:1.1.1.16
	gcc_3_3_1_20030711:1.1.1.15
	RELENG_5_1_0_RELEASE:1.1.1.14
	RELENG_5_1:1.1.1.14.0.2
	RELENG_5_1_BP:1.1.1.14
	RELENG_4_8_0_RELEASE:1.1.1.5.2.3
	RELENG_4_8:1.1.1.5.2.3.0.12
	RELENG_4_8_BP:1.1.1.5.2.3
	gcc_3_2_2_20030205:1.1.1.14
	RELENG_5_0_0_RELEASE:1.1.1.13
	RELENG_5_0:1.1.1.13.0.2
	RELENG_5_0_BP:1.1.1.13
	gcc_3_2_1:1.1.1.13
	BEFORE_GCC_3_2_1:1.1.1.12
	gcc_3_2_anoncvs_20021009:1.1.1.12
	RELENG_4_7_0_RELEASE:1.1.1.5.2.3
	RELENG_4_7:1.1.1.5.2.3.0.10
	RELENG_4_7_BP:1.1.1.5.2.3
	gcc_3_2_anoncvs_20020916:1.1.1.11
	gcc_3_2_anoncvs_20020901:1.1.1.10
	RELENG_4_6_2_RELEASE:1.1.1.5.2.3
	RELENG_4_6_1_RELEASE:1.1.1.5.2.3
	RELENG_4_6_0_RELEASE:1.1.1.5.2.3
	RELENG_4_6:1.1.1.5.2.3.0.8
	RELENG_4_6_BP:1.1.1.5.2.3
	gcc_3_1_anoncvs_20020509:1.1.1.9
	BEFORE_3_1_0_snap:1.1.1.8
	RELENG_4_5_0_RELEASE:1.1.1.5.2.3
	RELENG_4_5:1.1.1.5.2.3.0.6
	RELENG_4_5_BP:1.1.1.5.2.3
	gcc_2_95_3:1.1.1.8
	REPOCOPY:1.1.1.7
	RELENG_4_4_0_RELEASE:1.1.1.5.2.3
	RELENG_4_4:1.1.1.5.2.3.0.4
	RELENG_4_4_BP:1.1.1.5.2.3
	RELENG_4_3_0_RELEASE:1.1.1.5.2.3
	RELENG_4_3:1.1.1.5.2.3.0.2
	RELENG_4_3_BP:1.1.1.5.2.3
	BEFORE_GCC_2_95_3:1.1.1.5.2.2
	RELENG_4_2_0_RELEASE:1.1.1.5.2.2
	RELENG_4_1_1_RELEASE:1.1.1.5.2.2
	RELENG_4_1_0_RELEASE:1.1.1.5.2.2
	gcc_2_95_cvs_20000526:1.1.1.7
	gcc_2_95_cvs_20000329:1.1.1.6
	RELENG_4_0_0_RELEASE:1.1.1.5
	RELENG_4:1.1.1.5.0.2
	RELENG_4_BP:1.1.1.5
	gcc_2_95_cvs_20000307:1.1.1.5
	gcc_2_95_cvs_20000120:1.1.1.4
	EGCS_11x:1.1.1.1.0.2
	gcc_2_95_2:1.1.1.3
	BEFORE_GCC_2_95_1:1.1.1.1
	gcc_2_95_1:1.1.1.2
	egcs_1_1_2:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2011.12.21.16.36.07;	author pfg;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2011.03.29.20.53.51;	author mm;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	99.10.04.08.12.32;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.3.2.1
date	2011.12.21.16.36.07;	author svnexp;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2013.03.28.13.01.31;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1
date	2012.01.05.01.48.25;	author pfg;	state Exp;
branches;
next	;

1.1.1.1
date	99.10.04.08.12.32;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	99.10.16.03.52.31;	author obrien;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	99.11.01.07.39.42;	author obrien;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2000.01.22.02.59.08;	author obrien;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2000.03.09.09.21.46;	author obrien;	state Exp;
branches
	1.1.1.5.2.1;
next	1.1.1.6;

1.1.1.6
date	2000.03.30.03.23.37;	author obrien;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2000.05.27.02.25.28;	author obrien;	state Exp;
branches;
next	1.1.1.8;

1.1.1.8
date	2001.03.19.20.51.52;	author obrien;	state Exp;
branches;
next	1.1.1.9;

1.1.1.9
date	2002.05.28.16.15.41;	author obrien;	state Exp;
branches;
next	1.1.1.10;

1.1.1.10
date	2002.09.01.20.38.57;	author kan;	state Exp;
branches;
next	1.1.1.11;

1.1.1.11
date	2002.09.17.04.03.39;	author kan;	state Exp;
branches;
next	1.1.1.12;

1.1.1.12
date	2002.10.10.04.40.25;	author kan;	state Exp;
branches;
next	1.1.1.13;

1.1.1.13
date	2002.12.04.16.53.36;	author obrien;	state Exp;
branches;
next	1.1.1.14;

1.1.1.14
date	2003.02.10.05.44.25;	author kan;	state Exp;
branches;
next	1.1.1.15;

1.1.1.15
date	2003.07.11.03.42.02;	author kan;	state Exp;
branches;
next	1.1.1.16;

1.1.1.16
date	2003.08.22.02.57.05;	author kan;	state Exp;
branches;
next	1.1.1.17;

1.1.1.17
date	2003.11.07.02.44.00;	author kan;	state Exp;
branches;
next	1.1.1.18;

1.1.1.18
date	2004.07.28.03.12.04;	author kan;	state Exp;
branches;
next	1.1.1.19;

1.1.1.19
date	2005.06.03.03.29.35;	author kan;	state Exp;
branches
	1.1.1.19.2.1;
next	1.1.1.20;

1.1.1.20
date	2006.08.26.21.29.46;	author kan;	state Exp;
branches;
next	1.1.1.21;

1.1.1.21
date	2007.05.19.01.21.58;	author kan;	state Exp;
branches;
next	1.1.1.22;

1.1.1.22
date	2007.08.14.02.47.21;	author kan;	state Exp;
branches
	1.1.1.22.2.1
	1.1.1.22.10.1;
next	;

1.1.1.5.2.1
date	2000.03.30.08.22.04;	author obrien;	state Exp;
branches;
next	1.1.1.5.2.2;

1.1.1.5.2.2
date	2000.07.04.06.01.51;	author obrien;	state Exp;
branches;
next	1.1.1.5.2.3;

1.1.1.5.2.3
date	2001.04.10.19.23.40;	author obrien;	state Exp;
branches;
next	;

1.1.1.19.2.1
date	2006.09.05.20.41.07;	author obrien;	state Exp;
branches;
next	;

1.1.1.22.2.1
date	2011.05.02.08.31.53;	author mm;	state Exp;
branches;
next	;

1.1.1.22.10.1
date	2011.04.30.22.07.04;	author mm;	state Exp;
branches;
next	1.1.1.22.10.2;

1.1.1.22.10.2
date	2012.02.03.21.30.31;	author pfg;	state Exp;
branches;
next	;


desc
@@


1.3
log
@SVN rev 228780 on 2011-12-21 16:36:07Z by pfg

Update libstdc++ with small updates from the latest rev. (135556)
from the gcc 4.2 branch.
The libraries in the gcc-4_2-branch remained under the LGPLv2.

The changes can be reproduced with the following command:

svn diff svn://gcc.gnu.org/svn/gcc/branches/gcc-4_2-branch/libstdc++-v3
 -r 127959:135556

Reviewed by:	mm
Approved by:	jhb (mentor)
MFC after:	2 weeks
@
text
@2008-05-19  Release Manager

	* GCC 4.2.4 released.

2008-03-13  David Edelsohn  <edelsohn@@gnu.org>

	Backport from mainline:
	2008-01-26  David Edelsohn  <edelsohn@@gnu.org>

        PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

2008-02-14  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
	remove XFAIL.

2008-02-01  Release Manager

	* GCC 4.2.3 released.

2008-01-06  Ted Phelps  <phelps@@gnusto.com>

	PR c++/34152
	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
	_GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.

2008-01-05  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/34680

	Revert:
	2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>
	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

	2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

2007-12-17  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/global_templates/
	standard_facet_hierarchies.cc: Fix for generic locale model.

2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-11-26  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
	ios_base::showpos and the type is signed and the value is zero,
	prepend +.
	* testsuite/22_locale/num_put/put/char/12.cc: New.
	* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.

2007-10-20  Paolo Carlini  <pcarlini@@suse.de>

	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Fix small thinko.

2007-10-19  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33815
	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Avoid the modulo (which uses the low-order
	bits).

2007-10-18  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33807
	* include/bits/allocator.h (operator==(const allocator<_Tp>&,
	const allocator<_Tp>&), operator!=(const allocator<_Tp>&,
	const allocator<_Tp>&)): Add.
	* testsuite/20_util/memory/allocator/33807.cc: New.
	
2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* docs/html/Makefile: Follow up to libstdc++/14991, remove target.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* src/valarray-inst.cc, include/ext/atomicity.h,
	include/ext/concurrence.h, include/bits/basic_string.h,
	include/bits/fstream.tcc, include/ext/vstring.h: Fix comment typos.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add
	missing template argument.
	* testsuite/tr1/2_general_utilities/memory/shared_ptr/
	explicit_instantiation/2.cc: New.
	* testsuite/tr1/2_general_utilities/memory/weak_ptr/
	explicit_instantiation/2.cc: New.

2007-10-11  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33734
	* include/ext/codecvt_specializations.h (encoding_state::good,
	init, destroy): Use cast notation instead of reinterpret_cast.

2007-10-07  Release Manager

	* GCC 4.2.2 released.

2007-10-06  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/33678	
	* libsupc++/typeinfo (typeinfo): Revert ordering of virtual components.

2007-08-28  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33128
	* include/tr1/random (uniform_int<>::_M_call): Deal with
	__urng() returning negative values.
	* testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
	New.

2007-08-17  Johannes Willkomm  <willkomm@@sc.rwth-aachen.de>

	PR libstdc++/33084
	* include/std/valarray (operator _Op(const _Tp&,
	const valarray<>&)): Fix typo.
	* testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.

2007-07-19  Release Manager

	* GCC 4.2.1 released.

2007-07-05  Joerg Richter  <joerg.richter@@pdv-fs.de>

	PR libstdc++/31957
	* include/Makefile.am: Work around an AIX sed oddity.
	* include/Makefile.in: Regenerate.

2007-06-28  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/32509
	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks
	involving the de_DE locale only if an auto locale config is
	used for a target suitable for the gnu locale model.
	* docs/html/install.html: Update.
	* configure: Regenerated.

2007-06-26  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/ext/throw_allocator.h: Fixes for -fno-exceptions.
	* testsuite/util/testsuite_shared.cc: Same.
	* testsuite/util/io/illegal_input_error.hpp: Same.
	* testsuite/util/io/verified_cmd_line_input.cc: Same.

	* libsupc++/typeinfo (type_info): Correct comment formatting,
	clarify member access and public interface.
	* libsupc++/exception: Less compressed comments.
	* libsupc++/new: Same.

2007-06-08  Paolo Carlini  <pcarlini@@suse.de>

	* docs/html/install.html: Adjust consistently with libstdc++/31717.

2007-06-08  Francesco Palagi  <palagi@@arcetri.astro.it>

	* include/std/std_fstream.h: Add Table 92 in comment.

2007-06-06  Benjamin Kosnik  <bkoz@@redhat.com>
	    Frank Mori Hess  <frank.hess@@nist.gov>
	
	* docs/html/debug.html: Correct link.

2007-05-28  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/31717 
	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Re-organize. Sanity check
	gnu locale model requests to make sure it will work for the requested
	target. Add checks for strxfrm_l, strerror_l when in gnu locale,
	and strerror_r everywhere.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.
	* config.h.in: Regenerated.

2007-05-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/ostream.tcc: Do not inhibit implicit instantiation
	of __ostream_insert here...
	* include/bits/ostream_insert.h: ... do it here.

2007-05-21  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31621
	* acinclude.m4 ([GLIBCXX_CHECK_LINKER_FEATURES]): Use the C compiler.
	* configure: Regenerate.

2007-05-13  Release Manager

	* GCC 4.2.0 released.

2007-04-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28277 (partial: vstring bits)
	* include/bits/ostream_insert.h: New.
	* include/Makefile.am: Add.
	* include/ext/vstring.h (operator<<(basic_ostream<>&,
	const __versa_string<>&): Forward to __ostream_insert.
	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
	const string<>&)): Likewise.
	* include/std/std_ostream.h (operator<<(basic_ostream<>&, _CharT),
	operator<<(basic_ostream<char,>&, char), operator<<(basic_ostream<>&,
	const _CharT*), operator<<(basic_ostream<char,>&, const char*)):
	Likewise.
	* include/ext/vstring.tcc (operator<<(basic_ostream<>&,
	const __versa_string<>&)): Remove.
	(class basic_ostream): Remove friend declarations.
	(basic_ostream<>::_M_write(char_type, streamsize),
	_M_insert(const char_type*, streamsize)): Remove.
	* include/bits/ostream.tcc (_M_insert(const char_type*, streamsize)):
	Remove definition.
	(operator<<(basic_ostream<>&, const char*)): Use __ostream_insert.
	* include/ext/vstring_util.h: Include <bits/ostream_insert.h>.
	* include/std/std_string.h: Likewise.
	* config/abi/pre/gnu.ver: Adjust.
	* src/ostream-inst.cc: Add __ostream_insert instantiations.
	* include/Makefile.in: Rebuild.
	* testsuite/ext/vstring/inserters_extractors/char/28277.cc: New.
	* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: New.

2007-04-07  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31481
	* include/ext/type_traits.h (__numeric_traits): Move...
	* include/ext/numeric_traits.h: ... here; fix type of
	__max_digits10.
	* include/Makefile.am: Add.
	* include/ext/pb_ds/detail/type_utils.hpp: Include 
	<ext/numeric_traits.h> too.
	* include/tr1/random: Likewise.
	* testsuite/ext/type_traits/numeric_traits.cc: Move...
	* testsuite/ext/numeric_traits/numeric_traits.cc: ... here.
	* include/Makefile.in: Regenerate.
	* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc:
	Adjust dg-error line number.
	* testsuite/ext/type_traits/add_unsigned_floating_neg.cc:
	Likewise.
	* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc:
	Likewise.
	* testsuite/ext/type_traits/add_unsigned_integer_neg.cc:
	Likewise.

2007-04-03  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
	Uglify parameter.

2007-04-02  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31401 (vstring bits)
	* include/ext/vstring.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.

2007-03-30  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31401
	* include/bits/basic_string.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.
	* testsuite/21_strings/basic_string/find/char/4.cc: New.
	* testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.

2007-03-06  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28080 (partial)
	* include/tr1/random (class random_device): Rework to use simple
	<cstdio> input, do not include <fstream>.
	* include/tr1/random.tcc (all inserters and extractors): Refer
	to ios_base as base class of basic_istream or basic_ostream.

2007-03-05  Joseph Myers  <joseph@@codesourcery.com>

	PR libstdc++/30675
	* testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
	"ar"] and [transform "ranlib"].

2007-03-05  Richard Guenther  <rguenther@@suse.de>

	Backport from mainline:
	2007-02-27  Richard Guenther  <rguenther@@suse.de>

	* acinclude.m4: Adjust regular expression for ld version extraction.
	* configure: Regenerate.

2007-03-05  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31031
	* include/bits/istream.tcc: Inhibit implicit instantiation of
	the _M_insert helpers.
	* include/bits/ostream.tcc: Likewise for _M_extract.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
	31031.cc: New.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
	31031.cc: Likewise.

2007-03-03  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28080 (partial)
	* include/tr1/functional: Split out hash bits to...
	* include/tr1/functional_hash.h: ...here.
	* include/Makefile.am: Add.
	* include/tr1/unordered_set: Include the latter instead.
	* include/tr1/unordered_map: Likewise.
	* include/Makefile.in: Regenerate.

	* include/tr1/utility (get(std::pair<>&), get(const std::pair<>&)):
	Mark inline.

2007-02-21  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue
	with -fexceptions.

2007-02-07  Hans-Peter Nilsson  <hp@@axis.com>

	PR testsuite/28870
	* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Use only
	10000 iterations for simulator targets.
	* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Use only 5
	iterations for simulator targets.
	* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
	* testsuite/23_containers/set/modifiers/16728.cc: Use only 10
	iterations for simulator targets.

2007-02-05  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_deque.h (operator<): Qualify call.

2007-02-01  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14493
	* libsupc++/typeinfo (bad_cast::what, bad_typeid::what): Declare.
	* libsupc++/tinfo.cc: Define.	
	* libsupc++/exception (bad_exception::what): Declare.
	* libsupc++/eh_exception.cc: Define.
	(exception::what): Adjust, don't use typeid.
	* libsupc++/new (bad_alloc::what): Declare.
	* libsupc++/new_handler.cc: Define.
	* config/abi/pre/gnu.ver: Export the new methods @@3.4.9.
	* testsuite/18_support/14493.cc: New.

2007-02-01  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/29496
	* include/debug/safe_base.h (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	New.
	* src/debug.cc: Define the latter.
	(_Safe_sequence_base::_M_detach_all, _M_detach_singular,
	_M_revalidate_singular, _M_swap): Use the mutex.
	(_Safe_iterator_base::_M_attach, _M_detach): Adjust, forward to the
	*_single version.
	* include/debug/safe_iterator.h (_Safe_iterator<>::_M_attach_single,
	_M_invalidate_single): New.
 	* include/debug/safe_iterator.tcc: Define.
	(_Safe_iterator<>::_M_invalidate): Adjust, forward to
	_M_invalidate_single.
	* include/debug/safe_sequence.h (_Safe_sequence<>::_M_invalidate_if,
	_M_transfer_iter): Use the mutex, adjust, forward to the *_single
	versions of _M_invalidate and _M_attach.
	* config/abi/pre/gnu.ver (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	Add @@GLIBCXX_3.4.9; adjust.

2007-01-27   Steve LoBasso <slobasso@@yahoo.com>
	     Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/deque.tcc (deque<>::erase(iterator, iterator)):
	Fix condition.
	* testsuite/23_containers/deque/modifiers/erase/3.cc: New.

2007-01-26  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30586
	* config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
	* testsuite/abi/30586.cc: New.

2007-01-26  Benjamin Kosnik  <bkoz@@redhat.com>

	Revert.
      	2006-12-11  Benjamin Kosnik  <bkoz@@redhat.com>
	PR libstdc++/28125
	* acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie
	AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV.
        * configure: Regenerate.
        * scripts/testsuite_flags.in (cxxflags): Add LIBICONV bits.

2007-01-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/29722 continued
	* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
	libsupc++ library directory.
	* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
	path specification.

2007-01-21  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/29989
	* include/bits/c++config: #undef min and max.
	* include/bits/stl_algobase.h: Remove min and max #undefs.
	* testsuite/18_support/numeric_limits/29989.cc: New.

2007-01-15  Paolo Carlini  <pcarlini@@suse.de>

	* include/std/std_valarray.h (valarray<>::cshift): Fix typo.

2007-01-14  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_algobase.h (fill_n(char*, _Size,
	const signed char&)): Fix signature.
	* testsuite/25_algorithms/fill/3.cc: New.

2007-01-13  John David Anglin  <dave.anglin@@nrc-cnrc.gc>

	* config/cpu/hppa/atomicity.h (__exchange_and_add): Don't use ordered
	store.
	(__atomic_add): Likewise.

2007-01-13  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14991
	* docs/html/17_intro/porting-howto.html ([3]): Mention stdio_filebuf.
	* docs/html/17_intro/porting-howto.xml: Remove.

	* docs/html/17_intro/porting-howto.html: Remove spurious end tags
	pointed out by validator.w3.org.

2007-01-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30416 (continued)
	* include/std/std_valarray.h (valarray<>::shift, valarray<>::cshift):
	Allways return the same variable, thus facilitating NRVO.

2007-01-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30416
	* include/std/std_valarray.h (valarray<>::shift, valarray<>::cshift):
	Do not segfault when |n| > size.
	* testsuite/26_numerics/valarray/30416.cc: New.

2007-01-06  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30365
	* crossconfig.m4 (case *-linux*): Run GLIBCXX_CHECK_LFS.
	* configure: Regenerate.

2007-01-06  Matthias Klose  <doko@@debian.org>

	* include/tr1/random (gamma_distribution): Fix typo in formula.
	* docs/doxygen/user.cfg.in: Use package amsmath.
@


1.3.2.1
log
@file ChangeLog was added on branch RELENG_8_4 on 2013-03-28 13:01:31 +0000
@
text
@d1 479
@


1.3.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 479
2008-05-19  Release Manager

	* GCC 4.2.4 released.

2008-03-13  David Edelsohn  <edelsohn@@gnu.org>

	Backport from mainline:
	2008-01-26  David Edelsohn  <edelsohn@@gnu.org>

        PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

2008-02-14  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
	remove XFAIL.

2008-02-01  Release Manager

	* GCC 4.2.3 released.

2008-01-06  Ted Phelps  <phelps@@gnusto.com>

	PR c++/34152
	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
	_GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.

2008-01-05  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/34680

	Revert:
	2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>
	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

	2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

2007-12-17  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/global_templates/
	standard_facet_hierarchies.cc: Fix for generic locale model.

2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-11-26  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
	ios_base::showpos and the type is signed and the value is zero,
	prepend +.
	* testsuite/22_locale/num_put/put/char/12.cc: New.
	* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.

2007-10-20  Paolo Carlini  <pcarlini@@suse.de>

	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Fix small thinko.

2007-10-19  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33815
	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Avoid the modulo (which uses the low-order
	bits).

2007-10-18  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33807
	* include/bits/allocator.h (operator==(const allocator<_Tp>&,
	const allocator<_Tp>&), operator!=(const allocator<_Tp>&,
	const allocator<_Tp>&)): Add.
	* testsuite/20_util/memory/allocator/33807.cc: New.
	
2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* docs/html/Makefile: Follow up to libstdc++/14991, remove target.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* src/valarray-inst.cc, include/ext/atomicity.h,
	include/ext/concurrence.h, include/bits/basic_string.h,
	include/bits/fstream.tcc, include/ext/vstring.h: Fix comment typos.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add
	missing template argument.
	* testsuite/tr1/2_general_utilities/memory/shared_ptr/
	explicit_instantiation/2.cc: New.
	* testsuite/tr1/2_general_utilities/memory/weak_ptr/
	explicit_instantiation/2.cc: New.

2007-10-11  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33734
	* include/ext/codecvt_specializations.h (encoding_state::good,
	init, destroy): Use cast notation instead of reinterpret_cast.

2007-10-07  Release Manager

	* GCC 4.2.2 released.

2007-10-06  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/33678	
	* libsupc++/typeinfo (typeinfo): Revert ordering of virtual components.

2007-08-28  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33128
	* include/tr1/random (uniform_int<>::_M_call): Deal with
	__urng() returning negative values.
	* testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
	New.

2007-08-17  Johannes Willkomm  <willkomm@@sc.rwth-aachen.de>

	PR libstdc++/33084
	* include/std/valarray (operator _Op(const _Tp&,
	const valarray<>&)): Fix typo.
	* testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.

2007-07-19  Release Manager

	* GCC 4.2.1 released.

2007-07-05  Joerg Richter  <joerg.richter@@pdv-fs.de>

	PR libstdc++/31957
	* include/Makefile.am: Work around an AIX sed oddity.
	* include/Makefile.in: Regenerate.

2007-06-28  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/32509
	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks
	involving the de_DE locale only if an auto locale config is
	used for a target suitable for the gnu locale model.
	* docs/html/install.html: Update.
	* configure: Regenerated.

2007-06-26  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/ext/throw_allocator.h: Fixes for -fno-exceptions.
	* testsuite/util/testsuite_shared.cc: Same.
	* testsuite/util/io/illegal_input_error.hpp: Same.
	* testsuite/util/io/verified_cmd_line_input.cc: Same.

	* libsupc++/typeinfo (type_info): Correct comment formatting,
	clarify member access and public interface.
	* libsupc++/exception: Less compressed comments.
	* libsupc++/new: Same.

2007-06-08  Paolo Carlini  <pcarlini@@suse.de>

	* docs/html/install.html: Adjust consistently with libstdc++/31717.

2007-06-08  Francesco Palagi  <palagi@@arcetri.astro.it>

	* include/std/std_fstream.h: Add Table 92 in comment.

2007-06-06  Benjamin Kosnik  <bkoz@@redhat.com>
	    Frank Mori Hess  <frank.hess@@nist.gov>
	
	* docs/html/debug.html: Correct link.

2007-05-28  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/31717 
	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Re-organize. Sanity check
	gnu locale model requests to make sure it will work for the requested
	target. Add checks for strxfrm_l, strerror_l when in gnu locale,
	and strerror_r everywhere.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.
	* config.h.in: Regenerated.

2007-05-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/ostream.tcc: Do not inhibit implicit instantiation
	of __ostream_insert here...
	* include/bits/ostream_insert.h: ... do it here.

2007-05-21  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31621
	* acinclude.m4 ([GLIBCXX_CHECK_LINKER_FEATURES]): Use the C compiler.
	* configure: Regenerate.

2007-05-13  Release Manager

	* GCC 4.2.0 released.

2007-04-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28277 (partial: vstring bits)
	* include/bits/ostream_insert.h: New.
	* include/Makefile.am: Add.
	* include/ext/vstring.h (operator<<(basic_ostream<>&,
	const __versa_string<>&): Forward to __ostream_insert.
	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
	const string<>&)): Likewise.
	* include/std/std_ostream.h (operator<<(basic_ostream<>&, _CharT),
	operator<<(basic_ostream<char,>&, char), operator<<(basic_ostream<>&,
	const _CharT*), operator<<(basic_ostream<char,>&, const char*)):
	Likewise.
	* include/ext/vstring.tcc (operator<<(basic_ostream<>&,
	const __versa_string<>&)): Remove.
	(class basic_ostream): Remove friend declarations.
	(basic_ostream<>::_M_write(char_type, streamsize),
	_M_insert(const char_type*, streamsize)): Remove.
	* include/bits/ostream.tcc (_M_insert(const char_type*, streamsize)):
	Remove definition.
	(operator<<(basic_ostream<>&, const char*)): Use __ostream_insert.
	* include/ext/vstring_util.h: Include <bits/ostream_insert.h>.
	* include/std/std_string.h: Likewise.
	* config/abi/pre/gnu.ver: Adjust.
	* src/ostream-inst.cc: Add __ostream_insert instantiations.
	* include/Makefile.in: Rebuild.
	* testsuite/ext/vstring/inserters_extractors/char/28277.cc: New.
	* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: New.

2007-04-07  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31481
	* include/ext/type_traits.h (__numeric_traits): Move...
	* include/ext/numeric_traits.h: ... here; fix type of
	__max_digits10.
	* include/Makefile.am: Add.
	* include/ext/pb_ds/detail/type_utils.hpp: Include 
	<ext/numeric_traits.h> too.
	* include/tr1/random: Likewise.
	* testsuite/ext/type_traits/numeric_traits.cc: Move...
	* testsuite/ext/numeric_traits/numeric_traits.cc: ... here.
	* include/Makefile.in: Regenerate.
	* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc:
	Adjust dg-error line number.
	* testsuite/ext/type_traits/add_unsigned_floating_neg.cc:
	Likewise.
	* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc:
	Likewise.
	* testsuite/ext/type_traits/add_unsigned_integer_neg.cc:
	Likewise.

2007-04-03  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
	Uglify parameter.

2007-04-02  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31401 (vstring bits)
	* include/ext/vstring.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.

2007-03-30  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31401
	* include/bits/basic_string.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.
	* testsuite/21_strings/basic_string/find/char/4.cc: New.
	* testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.

2007-03-06  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28080 (partial)
	* include/tr1/random (class random_device): Rework to use simple
	<cstdio> input, do not include <fstream>.
	* include/tr1/random.tcc (all inserters and extractors): Refer
	to ios_base as base class of basic_istream or basic_ostream.

2007-03-05  Joseph Myers  <joseph@@codesourcery.com>

	PR libstdc++/30675
	* testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
	"ar"] and [transform "ranlib"].

2007-03-05  Richard Guenther  <rguenther@@suse.de>

	Backport from mainline:
	2007-02-27  Richard Guenther  <rguenther@@suse.de>

	* acinclude.m4: Adjust regular expression for ld version extraction.
	* configure: Regenerate.

2007-03-05  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31031
	* include/bits/istream.tcc: Inhibit implicit instantiation of
	the _M_insert helpers.
	* include/bits/ostream.tcc: Likewise for _M_extract.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
	31031.cc: New.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
	31031.cc: Likewise.

2007-03-03  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28080 (partial)
	* include/tr1/functional: Split out hash bits to...
	* include/tr1/functional_hash.h: ...here.
	* include/Makefile.am: Add.
	* include/tr1/unordered_set: Include the latter instead.
	* include/tr1/unordered_map: Likewise.
	* include/Makefile.in: Regenerate.

	* include/tr1/utility (get(std::pair<>&), get(const std::pair<>&)):
	Mark inline.

2007-02-21  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue
	with -fexceptions.

2007-02-07  Hans-Peter Nilsson  <hp@@axis.com>

	PR testsuite/28870
	* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Use only
	10000 iterations for simulator targets.
	* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Use only 5
	iterations for simulator targets.
	* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
	* testsuite/23_containers/set/modifiers/16728.cc: Use only 10
	iterations for simulator targets.

2007-02-05  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_deque.h (operator<): Qualify call.

2007-02-01  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14493
	* libsupc++/typeinfo (bad_cast::what, bad_typeid::what): Declare.
	* libsupc++/tinfo.cc: Define.	
	* libsupc++/exception (bad_exception::what): Declare.
	* libsupc++/eh_exception.cc: Define.
	(exception::what): Adjust, don't use typeid.
	* libsupc++/new (bad_alloc::what): Declare.
	* libsupc++/new_handler.cc: Define.
	* config/abi/pre/gnu.ver: Export the new methods @@3.4.9.
	* testsuite/18_support/14493.cc: New.

2007-02-01  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/29496
	* include/debug/safe_base.h (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	New.
	* src/debug.cc: Define the latter.
	(_Safe_sequence_base::_M_detach_all, _M_detach_singular,
	_M_revalidate_singular, _M_swap): Use the mutex.
	(_Safe_iterator_base::_M_attach, _M_detach): Adjust, forward to the
	*_single version.
	* include/debug/safe_iterator.h (_Safe_iterator<>::_M_attach_single,
	_M_invalidate_single): New.
 	* include/debug/safe_iterator.tcc: Define.
	(_Safe_iterator<>::_M_invalidate): Adjust, forward to
	_M_invalidate_single.
	* include/debug/safe_sequence.h (_Safe_sequence<>::_M_invalidate_if,
	_M_transfer_iter): Use the mutex, adjust, forward to the *_single
	versions of _M_invalidate and _M_attach.
	* config/abi/pre/gnu.ver (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	Add @@GLIBCXX_3.4.9; adjust.

2007-01-27   Steve LoBasso <slobasso@@yahoo.com>
	     Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/deque.tcc (deque<>::erase(iterator, iterator)):
	Fix condition.
	* testsuite/23_containers/deque/modifiers/erase/3.cc: New.

2007-01-26  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30586
	* config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
	* testsuite/abi/30586.cc: New.

2007-01-26  Benjamin Kosnik  <bkoz@@redhat.com>

	Revert.
      	2006-12-11  Benjamin Kosnik  <bkoz@@redhat.com>
	PR libstdc++/28125
	* acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie
	AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV.
        * configure: Regenerate.
        * scripts/testsuite_flags.in (cxxflags): Add LIBICONV bits.

2007-01-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/29722 continued
	* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
	libsupc++ library directory.
	* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
	path specification.

2007-01-21  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/29989
	* include/bits/c++config: #undef min and max.
	* include/bits/stl_algobase.h: Remove min and max #undefs.
	* testsuite/18_support/numeric_limits/29989.cc: New.

2007-01-15  Paolo Carlini  <pcarlini@@suse.de>

	* include/std/std_valarray.h (valarray<>::cshift): Fix typo.

2007-01-14  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_algobase.h (fill_n(char*, _Size,
	const signed char&)): Fix signature.
	* testsuite/25_algorithms/fill/3.cc: New.

2007-01-13  John David Anglin  <dave.anglin@@nrc-cnrc.gc>

	* config/cpu/hppa/atomicity.h (__exchange_and_add): Don't use ordered
	store.
	(__atomic_add): Likewise.

2007-01-13  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14991
	* docs/html/17_intro/porting-howto.html ([3]): Mention stdio_filebuf.
	* docs/html/17_intro/porting-howto.xml: Remove.

	* docs/html/17_intro/porting-howto.html: Remove spurious end tags
	pointed out by validator.w3.org.

2007-01-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30416 (continued)
	* include/std/std_valarray.h (valarray<>::shift, valarray<>::cshift):
	Allways return the same variable, thus facilitating NRVO.

2007-01-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30416
	* include/std/std_valarray.h (valarray<>::shift, valarray<>::cshift):
	Do not segfault when |n| > size.
	* testsuite/26_numerics/valarray/30416.cc: New.

2007-01-06  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30365
	* crossconfig.m4 (case *-linux*): Run GLIBCXX_CHECK_LFS.
	* configure: Regenerate.

2007-01-06  Matthias Klose  <doko@@debian.org>

	* include/tr1/random (gamma_distribution): Fix typo in formula.
	* docs/doxygen/user.cfg.in: Use package amsmath.
@


1.2
log
@SVN rev 220150 on 2011-03-29 20:53:51Z by mm

Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision
(rev. 127959 of gcc-4_2-branch).

Resolved GCC bugs:
	c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346,
	     32898, 32992
	debug: 32610, 32914
	libstdc++: 33084, 33128
	middle-end: 32563
	rtl-optimization: 33148
	tree-optimization: 25413, 32723
	target: 32218

Tested by:	pointyhat (miwi)
Obtained from:	gcc (gcc-4_2-branch up to rev. 127959)
PR:		gnu/153298, gnu/153959, gnu/154385
MFC after:	1 month
@
text
@d1 130
@


1.2.2.1
log
@SVN rev 229551 on 2012-01-05 01:48:25Z by pfg

MFC:	r228780

Update libstdc++ with small changes up to the latest rev. (135556)
from the gcc 4.2 branch.
The libraries in the gcc-4_2-branch remained under the LGPLv2.

Reviewed by:	mm
Approved by:	jhb (mentor)
@
text
@a0 130
2008-05-19  Release Manager

	* GCC 4.2.4 released.

2008-03-13  David Edelsohn  <edelsohn@@gnu.org>

	Backport from mainline:
	2008-01-26  David Edelsohn  <edelsohn@@gnu.org>

        PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

2008-02-14  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
	remove XFAIL.

2008-02-01  Release Manager

	* GCC 4.2.3 released.

2008-01-06  Ted Phelps  <phelps@@gnusto.com>

	PR c++/34152
	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
	_GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.

2008-01-05  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/34680

	Revert:
	2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>
	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

	2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

2007-12-17  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/global_templates/
	standard_facet_hierarchies.cc: Fix for generic locale model.

2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-11-26  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
	ios_base::showpos and the type is signed and the value is zero,
	prepend +.
	* testsuite/22_locale/num_put/put/char/12.cc: New.
	* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.

2007-10-20  Paolo Carlini  <pcarlini@@suse.de>

	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Fix small thinko.

2007-10-19  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33815
	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Avoid the modulo (which uses the low-order
	bits).

2007-10-18  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33807
	* include/bits/allocator.h (operator==(const allocator<_Tp>&,
	const allocator<_Tp>&), operator!=(const allocator<_Tp>&,
	const allocator<_Tp>&)): Add.
	* testsuite/20_util/memory/allocator/33807.cc: New.
	
2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* docs/html/Makefile: Follow up to libstdc++/14991, remove target.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* src/valarray-inst.cc, include/ext/atomicity.h,
	include/ext/concurrence.h, include/bits/basic_string.h,
	include/bits/fstream.tcc, include/ext/vstring.h: Fix comment typos.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add
	missing template argument.
	* testsuite/tr1/2_general_utilities/memory/shared_ptr/
	explicit_instantiation/2.cc: New.
	* testsuite/tr1/2_general_utilities/memory/weak_ptr/
	explicit_instantiation/2.cc: New.

2007-10-11  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33734
	* include/ext/codecvt_specializations.h (encoding_state::good,
	init, destroy): Use cast notation instead of reinterpret_cast.

2007-10-07  Release Manager

	* GCC 4.2.2 released.

2007-10-06  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/33678	
	* libsupc++/typeinfo (typeinfo): Revert ordering of virtual components.

@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
Sun Mar 14 02:38:07 PST 1999 Jeff Law  (law@@cygnus.com)
d3 342
a344 1
	* egcs-1.1.2 Released.
d346 1
a346 1
Thu Feb 25 02:21:22 1999  Jeffrey A Law  (law@@cygnus.com)
d348 2
a349 1100
	Thu Feb 18 19:53:17 1999  Marc Espie <espie@@cvs.openbsd.org>
	* configure.in: Handle OpenBSD with and without threads.
	* config/openbsd.ml: New file.
	* config/openbsd.mt: New file.

Mon Nov 23 09:44:26 1998  Richard Henderson <rth@@cygnus.com>

	* configure.in: Append mh-ppcpic and mh-elfalphapic as appropriate.

1998-08-17  Mark Mitchell  <mark@@markmitchell.com>

	* stdexcept: Put things in the std namespace, if appropriate.

1998-07-12  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (VERSION): Bump to 2.9.0.

1998-07-12  Lars Albertsson <lalle@@sics.se>

	* std/bastring.cc (find_last_of): Fix.
	(find_last_not_of): Likewise.

1998-07-06  Manfred Hollstein  <manfred@@s-direktnet.de>

	* configure.in (INSTALLDIR): Make sed pattern failsafe.

1998-07-06  Ulrich Drepper  <drepper@@cygnus.com>

	* std/bastring.h (class basic_string): Correct iterator return
	values in insert member functions.

1998-07-02  Ulrich Drepper  <drepper@@cygnus.com>

	* std/bastring.h (class basic_string): Return correct iterators in
	erase member functions.

1998-06-24  Manfred Hollstein  <manfred@@s-direktnet.de>

	* Makefile.in (INSTALLDIR): Add comment to document the fact,
	this macro will be properly initialized at make's runtime.
	(install): Add initialization of INSTALLDIR depending on $(libsubdir)
	and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell
	variable instead of the $(INSTALLDIR) make macro.

Tue Mar 24 10:13:07 1998  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.cc (basic_string::copy): Mark const here, too.

1998-03-23 15:59  Ulrich Drepper  <drepper@@cygnus.com>

	* std/bastring.h (basic_string::copy): Mark copy function as const.
	Reported by Scott Schurr <scotts@@ims.com>.

Thu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@@s-direktnet.de>

	* configure.in: Make locating frag files failsafe even for the
	special case if configuring and building in srcdir.

1998-03-04 12:37  Ulrich Drepper <drepper@@cygnus.com>

	* cinst.cc [INSERT] (operator<<): Correct type of numeric argument.

Fri Feb  6 01:36:21 1998  Manfred Hollstein  <manfred@@s-direktnet.de>

	* Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
	(stmp-string, ...): Dito.
	(bigstmp-string, ...): Dito.

Sun Feb  1 13:38:07 1998  H.J. Lu  (hjl@@gnu.org)

	* config/linux.mt: Don't define _PTHREADS, but define
	_IO_MTSAFE_IO.

Wed Jan 28 10:27:11 1998  Manfred Hollstein  <manfred@@s-direktnet.de>

        * tests/configure.in, testsuite/configure.in: Update with yesterday's
	toplevel configure.in changes.

Tue Jan 27 23:27:32 1998  Manfred Hollstein  <manfred@@s-direktnet.de>

	* configure.in (package_makefile_rules_frag): New variable
	which is used in the call to config.shared; redirect file descriptor 2
	to ${package_makefile_rules_frag}.

Tue Jan 27 10:11:27 1998  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (install): Remove the shared library symlink even if
 	we aren't installing it.

Tue Jan 27 10:29:44 1998  H.J. Lu  (hjl@@gnu.org)

	* configure.in (topsrcdir): New.
	(configdirs): Check ${topsrcdir}/gcc instead.
	(config-ml.in): Use ${topsrcdir}/config-ml.in.

	* tests/configure.in (topsrcdir): New.
	(check): Check ${topsrcdir}/gcc instead.

Sun Jan 25 14:01:50 1998  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h (unique): We only need length bytes.
	(c_str): Avoid writing over random memory.
	#include <std/bastring.cc>.
	Lose _G_ALLOC_CONTROL.
	* std/bastring.cc: Likewise.
 	(nilRep): Add initializer for selfish.
	* sinst.cc: Just #include <string>.

Tue Jan 13 21:23:05 1998  H.J. Lu  (hjl@@gnu.org)

	* configure.in (configdirs): Include testsuite only if
	${srcdir}/../gcc exists.

	* tests/configure.in (check): Set to ${CHECK} if
	${srcdir}/../../gcc doesn't exists.

1998-01-05  Brendan Kehoe  <brendan@@lisa.cygnus.com>

	* std/bastring.cc (basic_string::Rep::operator delete): Don't claim
	to return from deallocate, since this is a void method.

Sat Jan  3 12:15:41 1998 Franz Sirl <franz.sirl-kernel@@lauterbach.com>

	* configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

Sun Dec  7 02:34:40 1997  Jody Goldberg	<jodyg@@idt.net>

	* libstdc++/std/bastring.h : Move closer to the draft standard
	implementation of basic_string by adding 3 paramter 'Allocator'.
	NOTE: this still differs from the standard in not offering per
	instance allocators.
	* libstdc++/std/bastring.cc : Likewise.
	* libstdc++/stlinst.cc : Handle thread safe allocators if they are the
	default.

Sun Dec  7 02:32:20 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* iosfwd: New header.
	* Makefile.in (HEADERS): Add it.

Sun Dec  7 02:32:20 1997  Gregory L. Galloway (gregg@@eoeml.gtri.gatech.edu)

	* Makefile.in (HEADERS): Modified list of headers to
	install to include all of SGI STL headers especially hash_set and
	hash_map, and added ANSI C++ style wrappers for fstream, iomanip,
	iostream, and strstream.

	* fstream, iomanip, iostream, strstream: New forwarding headers
	added.

Thu Nov 27 01:33:55 1997  Jeffrey A Law  (law@@cygnus.com)

	* Makefile.in (install): Change gxx_includedir to gxx_include_dir.

Tue Nov 25 23:16:44 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	London changes to string:
	* std/bastring.cc (check_realloc): Don't be selfish anymore.
	* std/bastring.h (non-const operator[]): Be selfish.
	(iterator forms of insert and erase): Stay selfish.

Tue Nov 25 14:03:43 1997  H.J. Lu  (hjl@@gnu.org)

	* Makefile.in (stmp-complex, bigstmp-complex): Changed to
	xxxx-complx.

Mon Nov 24 14:41:33 1997  Jeffrey A Law  (law@@cygnus.com)

	* Makefile.in: Use ln -f -s, not ln -s -f.

Fri Nov 21 12:56:24 1997  Manfred Hollstein <manfred@@s-direktnet.de>

	* Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
	cope with filesystem not capable to handle names longer than
	14 characters.

Sun Nov 16 22:41:55 1997  Jeffrey A Law  (law@@cygnus.com)

	* Makefile.in (SHLIB): Build with CC instead of CXX.

Sun Nov  2 23:34:09 1997  Manfred Hollstein  <manfred@@s-direktnet.de>

	* configure.in: Use delta.mt for m68k-motorola-sysv.
	* config/delta.mt: New makefile fragment.

Sun Nov  2 12:14:37 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (install): Some of HEADERS come from the stl dir now.
	* algorithm, deque, functional, iterator, list, map, memory, numeric,
 	queue, set, stack, utility, vector: Now in stl dir.

Fri Oct 10 00:40:00 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h: Use ibegin internally.  Return passed iterator
	instead of recalculating it where appropriate.
	* std/bastring.cc: Adjust for erase.

	From Yotam Medini:
	* std/bastring.h: Replace remove with erase.

Thu Oct  9 23:24:36 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* stdexcepti.cc (__out_of_range): New fn.
	(__length_error): New fn.

	* std/bastring.h (OUTOFRANGE): Fix logic.  Use throwing functions.
	(LENGTHERROR): Likewise.
	Revert Oct 2 changes.
	* string: Revert Oct 2 changes.

Tue Oct  7 00:51:51 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/{f,d,ld}complex.h: Replace guiding fns if not -ansi.

Thu Oct  2 00:08:18 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h: Move exception stuff after definition of string.
	Move typedef of string here.
	* string: From here.

Sat Sep 27 16:48:00 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/complext.h: Lose injection decls.
	* std/fcomplex.h: Likewise.
	* std/dcomplex.h: Likewise.
	* std/ldcomplex.h: Likewise.

Sat Sep 27 16:47:35 1997  Mark Mitchell  <mmitchell@@usa.net>

	* std/complext.h: Declare templates before making them
	friends.  Use new friend <> syntax.
	* std/complext.cc: Don't rely on guiding declarations.
	* std/fcomplex.h: Use new friend <> syntax.
	* std/dcomplex.h: Likewise.
	* std/ldcomplex.h: Likewise.

Thu Sep 25 19:55:56 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h: Enable exceptions.
 	(assign, append, insert, replace): Implement member template versions.

1997-09-15 02:37  Ulrich Drepper  <drepper@@cygnus.com>

	* config/linux.mt: New file.  Make sure _PTHREADS is defined
	if necessary.
	* configure.in: Find linux.mt file.

Thu Sep 11 15:03:20 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h (class basic_string): Add global scope to
	use of reverse_iterator.

Tue Sep  9 19:47:07 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h: Adjust use of reverse_iterator template.

Wed Aug 27 00:04:33 1997  Alexandre Oliva  (oliva@@dcc.unicamp.br)

	* Makefile.in: create correct multiple links to
	shared libstdc++.

Tue Aug 26 12:24:01 1997  H.J. Lu  (hjl@@gnu.ai.mit.edu)

	* testsuite/Makefile.in (check): Don't depend on site.exp.
	(just-check): Depend on site.exp.

Mon Aug 25 14:26:45 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (CXXFLAGS): Add -Weffc++.

Sat Aug 23 21:25:37 1997  Mark Mitchell  <mmitchell@@usa.net>

	* bastring.h: Enable reverse_iterator and its ilk.

	* bastring.h: Provide specializations of member function templates
	for const_iterator.

Wed Jul 30 10:59:00 1997  Benjamin Kosnik  <bkoz@@rhino.cygnus.com>

	* stlinst.cc: Add instantiation file for
	__default_alloc_template<fale, 0> and
	__malloc_alloc_template<0>

Sun Jun  1 17:03:40 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.cc (find_last_of): Correct handling of POS.
	(find_last_not_of): Likewise.

Thu May  1 17:37:10 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in ($(SHLIB)): Add $(LIBCXXFLAGS).

Wed Apr 30 12:06:23 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (IO_DIR): Remove $(MULTIBUILDTOP).
	(LIBIBERTY_DIR): Likewise.
	* configure.in: Don't turn on multilib here.

Fri Apr 25 16:09:15 1997  Bob Manson  <manson@@charmed.cygnus.com>

	* testsuite/libstdc++.tests/test.exp, testsuite/lib/libstdc++.exp,
	  testsuite/configure.in, testsuite/Makefile.in,
	  testsuite/config/default.exp, testsuite/ChangeLog: New files.

	* configure.in: Add new testsuite directory to be configured.

Tue Apr 22 19:03:39 1997  Alexandre Oliva <oliva@@dcc.unicamp.br>

	* Makefile.in (install): Fix handling of mshlink.

Fri Apr  4 03:25:13 1997  Ulrich Drepper  <drepper@@cygnus.com>

	* Makefile.in (IO_DIR): Prepend $(MULTIBUILDTOP) to
	support multilib build.
	(LIBIBERTY_DIR): Likewise.

	* configure.in: Enable multilibing by default.
	Update multilib template to read config-ml.in.

Wed Mar 12 16:09:34 1997  Jason Merrill  <jason@@yorick.cygnus.com>

	* configure.in (XCXXINCLUDES): Add the STL directory.

Thu Jan 23 08:08:43 1997  Brendan Kehoe  <brendan@@lisa.cygnus.com>

	* stdexcept: Delete dtors for all of the error classes, to match
	their removal in the Apr 1995 WP.
 	(class overflow_error): Define missing class, added in May 1996 WP.

Mon Nov 18 16:57:25 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (stuff[12]): More rules for my own evil purposes.
	(CXXFLAGS, CFLAGS): Use -O instead of -O3 so debugging works.

Wed Oct 16 13:47:45 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* config/irix5.ml: Do link against the math library.
	* configure.in: Support shared libs on Irix 6.

Fri Oct 11 18:06:09 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* config/linux.ml: Lose version overrides.

	* Makefile.in (MSHLINK): Defaults to .so.2.x
	(mshlink): Indirect rule for making it.

Tue Sep 24 17:58:31 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Remove new, typeinfo, exception, stddef*.
	* Move public headers from std/*.h to *.

Sun Sep 22 05:35:55 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in: Remove new, exception, typeinfo handling.
	* exceptioni.cc, newi.cc, typeinfoi.cc, std/exception.h, std/new.h,
	std/typeinfo.h, new.h: Remove.
	* typeinfo, new, exception: Refer to the files with .h in gcc.

Fri Sep 20 14:39:19 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in: Remove references to stl.list.
	* configure.in (configdirs): Remove stl.

Sat Sep 14 09:42:08 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (stuff): Convenience for me.

	* std/bastring.h: Remove kludge obsoleted by new overloading code.

Fri Sep  6 16:43:21 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* typeinfoi.cc (__dynamic_cast): Fix static_cast.
	(__rtti_si): Likewise.
	(dcast): Likewise.

Thu Aug 29 17:06:23 1996  Michael Meissner  <meissner@@tiktok.cygnus.com>

	* configure.in (i[345]86-*-*): Recognize i686 for pentium pro.

Tue Jul 23 14:27:44 1996  Mike Stump  <mrs@@cygnus.com>

	* Makefile.in (exceptioni.o): Use -fexceptions now.

Mon Jun 17 13:57:24 1996  Per Bothner  <bothner@@deneb.cygnus.com>

	* std/bastring.h (class basic_string::remove):  Add casts.

	* configure.in:  Use EXTRA_DISTCLEAN rather than DISTCLEAN.

Fri Jun  7 14:09:20 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* typeinfoi.cc (BUILTIN): Align typeinfo object like a pointer.

Wed May 29 16:48:35 1996  Mike Stump  <mrs@@cygnus.com>

	* exceptioni.cc (__throw_bad_exception): Add.
	* std/exception.h (bad_exception): Add.
	* std/typeinfo.h: Remove leftovers of bad_cast_object.

Mon May  6 14:04:42 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/complext.h: s/FLOAT/_FLT/g.

Thu May  2 17:26:24 1996  Mike Stump  <mrs@@cygnus.com>

	* exceptioni.cc (uncaught_exception): New routine.
	* std/exception.h: Declare it.

Thu Apr 25 13:20:57 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (typeinfoi.o, stdexcepti.o): Use default rule.

Wed Apr 24 18:38:24 1996  Mike Stump  <mrs@@cygnus.com>

	* exceptioni.cc: Add #pragma implementation.
	* std/exception.h: Add #pragma interface.  Moved exception from
	stdexcept.
	* std/stdexcept.h: Moved exception to exception.  Fix all constructor
	arguments to take strings to match ANSI.  Moved bad_cast and bad_typeid
	to typeinfo.
	* std/typeinfo.h: Moved bad_cast and bad_typeid from stdexcept.

Wed Apr 24 10:43:07 1996  Doug Evans  <dje@@blues.cygnus.com>

	* Makefile.in (newi.o,cstringi.o,stddefi.o,cstdlibi.o,cmathi.o): Add
	rules for SunOS VPATH.

Fri Apr 19 17:24:51 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Version 2.8.0b3.

Wed Apr 10 14:38:05 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* typeinfoi.cc (base_info): Pack the latter three fields into 32 bits.

Tue Apr  9 15:49:38 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* typeinfoi.cc: Add 'const'.
	(__class_type_info): Now just one pointer to an array of structs,
	rather than four pointers to arrays.

	* typeinfoi.cc (__throw_type_match_rtti): Check for conversion to
	void* before conversion to base*.
	(dcast): Handle downcasting to X* given other X	subobjects in
	the most derived type.  Ack.

Mon Apr  8 15:20:32 1996  Ian Lance Taylor  <ian@@cygnus.com>

	* configure.in: Permit --enable-shared to specify a list of
	directories.

Sun Apr  7 22:50:53 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* typeinfoi.cc (__rtti_array): New entry point.

Sat Apr  6 14:41:18 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* exceptioni.cc (__throw_bad_cast): New entry point for compiler.
	* typeinfoi.cc: Remove __bad_cast_object.

	* typeinfoi.cc: Add nodes for unsigned builtins.

Fri Apr  5 18:16:22 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* typeinfoi.cc, std/typeinfo.h: Total overhaul.  Move most
 	everything out of the header, move name field into type_info, add
 	single-inheritance case, rewrite pointer handling, add new
 	compiler interface.  Compare addresses to check for equality.

Wed Mar 27 11:54:08 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Version 2.8.0b2.

Fri Mar  8 13:56:18 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/[cs]inst.h: Remove.

Thu Mar  7 07:29:00 1996  Lee Iverson  <leei@@Canada.AI.SRI.COM>

	* Makefile.in (install): Restore deleted chdir to stl subdir.

Thu Mar  7 15:02:58 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/complext.h: Fix __attribute__ usage.

Wed Feb 28 10:00:24 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* Version 2.8.0b1.

Mon Feb 26 17:26:26 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/cstring.h: New approach to changing signatures of string
 	manipulation functions.  Still disabled.

Tue Feb 20 18:29:30 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/complext.h (__doapl, __doami, __doaml, __doadv): Helper
 	templates to implement +=, -=, *= and /=, respectively, since
 	member function templates do not apply to class specializations.
	* std/{f,d,ld}complex.h, std/complext.cc, cinst.cc: Adjust.

	* std/bastring.h: The representation class is now a nested class.
	* std/bastring.cc: Add templates for static data members.
	* sinst.cc: Don't provide specializations for static data members.
	* std/string.h: Use default template parameters.

	* Makefile.in (CXXFLAGS): Remove -pedantic -ansi.
	(CFLAGS): Ditto.

Wed Feb 14 14:39:07 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.cc (check_realloc): Fix for sizeof (charT) > 1.
	From John Hickin <hickin@@bnr.ca>.

Wed Jan 10 11:05:04 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h (insert): Fix iterator handling.
	From Joe Buck <jbuck@@synopsys.com>.

Mon Jan  8 11:48:03 1996  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h (max_size): Fix for sizeof (charT) > 1.
	* std/bastring.cc (replace): Use it.

	* std/bastring.cc (rfind): Fix for n > length ().

Tue Dec 19 15:13:08 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* config/aix.ml (SHFLAGS): Add -Wl,-unix.

Mon Dec 18 12:48:25 1995  Mike Stump  <mrs@@cygnus.com>

	* Makefile.in (exceptioni.o): Compile with -fhandle-exceptions, so
	we can unwind through unexpected on machines that don't have a
	working __unwind_function.

Sun Dec 17 00:28:31 1995  Jeffrey A Law  (law@@cygnus.com)

	* Makefile.in (install): Make sure shared libraries
	are installed with mode 555.

Mon Nov 27 15:01:56 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (install): Make shared library links relative.
	(install): Break up -sf into -s -f.
	({M,}SHLINK): Ditto.

Sun Nov 26 22:48:06 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* queue: Include <stack.h> instead of <queue.h>.

Sat Nov 25 11:33:13 1995  Doug Evans  <dje@@canuck.cygnus.com>

	* Makefile.in (install): Fix setting of rootme.

Tue Nov 21 14:20:34 1995  Ian Lance Taylor  <ian@@cygnus.com>

	* configure.in: Check ${with_cross_host} rather than comparing
	${host} and ${target}.

Tue Nov 14 01:50:52 1995  Doug Evans  <dje@@canuck.cygnus.com>

	* Makefile.in (IO_DIR): Delete MULTITOP, MULTISUBDIR.
	(LIBIBERTY_DIR): Likewise.
	(INSTALLDIR): Delete MULTISUBDIR.
	* configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
	instead of cfg-ml-pos.in.
	(XCXXINCLUDES): Delete MULTITOP.
	* stl/configure.in (XCXXINCLUDES): Delete MULTITOP.
	(config-ml.in): Call instead of cfg-ml-pos.in.

Sun Nov 12 16:44:25 1995  Per Bothner  <bothner@@kalessin.cygnus.com>

	* Makefile.in (VERSION):  Set to 2.7.1.

Thu Nov  9 17:39:28 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* config/{aix,dec-osf,irix5,linux,sol2shm}.ml: Remove LDLIBS defn;
 	no longer needed now that make check sets LD_LIBRARY_PATH.

Wed Nov  8 19:46:35 1995  Brendan Kehoe  <brendan@@lisa.cygnus.com>

        * std/bastring.h: Wrap with #ifndef/#define/#endif.
        * std/cassert.h: Likewise.
        * std/cinst.h: Likewise.
        * std/complext.h: Likewise.
        * std/dcomplex.h: Likewise.
        * std/fcomplex.h: Likewise.
        * std/ldcomplex.h: Likewise.
        * std/sinst.h: Likewise.

Wed Nov  8 16:15:48 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.cc (getline): Update to September 95 WP.  Now we
 	don't set failbit when reading an empty line.

Tue Nov  7 16:09:04 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.cc (new): Fix for sizeof (charT) != 1.

Sat Nov  4 17:37:16 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/complext.cc (operator / (FLOAT, const complex<FLOAT>&)):
 	Reimplement along the lines of the other operator / templates.
	From John Eaton <jwe@@bevo.che.wisc.edu>.

Sat Nov  4 13:33:50 1995  Per Bothner  <bothner@@kalessin.cygnus.com>

	* configure.in (DISTCLEAN):  New, to add target-mkfrag.

Tue Oct 31 13:59:32 1995  Jason Merrill  <jason@@yorick.cygnus.com>

	* std/bastring.h: Use size_t for the reference count.
	* std/bastring.cc (create): Set selfish.
	From Joe Buck (jbuck@@synopsys.com).

Mon Oct 30 23:09:48 1995  Per Bothner  <bothner@@kalessin.cygnus.com>

	* configure.in:  Don't bother changing LIBIBERTY for cross,
	now that we are using target-libiberty instead.
	* Makefile.in (LIBIBERTY_DIR):  Simplify.
	(LIBIBERTY):  Remove.

Wed Oct 11 14:56:49 1995  Brendan Kehoe  <brendan@@lisa.cygnus.com>

	* config/sol2shm.ml: New files with -rpath.
	* configure (*-*-solaris*): Use sol2shm.ml.

Thu Sep 28 09:26:52 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/straits.h (compare, copy, move, set): Fix for non-char charT's.
	* std/bastring.h (basic_string::remove): Fix for non-char charT's.

Tue Sep 26 15:22:56 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* config/irix5.ml: Pass -rpath to links.

Fri Sep 15 00:17:47 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* config/linux.ml: Conform to Linux shared library numbering
 	scheme.
	* Makefile.in: Ditto.

Tue Sep 12 00:28:56 1995  Mike Stump  <mrs@@cygnus.com>

	* typeinfoi.cc: (__pointer_type_info::__rtti_match): Moved from
	the headerfile, include all sorts of pointer conversions from 15.3
	para 2.
	* std/typeinfo.h (__pointer_type_info::__rtti_match): Moved from here.

Mon Sep 11 23:27:59 1995  Mike Stump  <mrs@@cygnus.com>

	* std/typeinfo.h (__pointer_type_info::__rtti_match): We no longer
	have to dereference the object pointer, as the pointer is always
	passed directly.

Mon Sep 11 19:29:51 1995  Mike Stump  <mrs@@cygnus.com>

	* std/typeinfo.h (__pointer_type_info::__rtti_match): Define so
	that pointer conversions can happen on catch type matching.
	* typeinfoi.cc (__throw_type_match_rtti): Arrange for __rtti_match
	to be used on pointers.

Tue Sep  5 14:49:19 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* string.h: Remove for now.

Thu Aug 31 14:14:01 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.cc (operator>>): Simplify and fix.
	(resize): Fix order of arguments to append.
	(getline): Simplify and fix.

Thu Aug 24 17:44:09 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/cstdlib.h (abs): Provide default implementation for peons
 	without labs.

Tue Aug 22 08:43:07 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/cstdlib.h: Comment out definition of div(long,long) for now,
 	since not all targets have ldiv.

Mon Aug 21 11:46:03 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/cmath.h: Wrap abs(double) with #if ! _G_MATH_H_INLINES.

	* stl.h: Add, for compatibility with ObjectSpace STL.

	* std/complext.cc (operator /): Use abs instead of fabs.

	* std/bastring.h (replace): Update single-character replace method
 	as per my proposal.

	* std/cmath.h: Add abs(float), abs(double) and abs(long double).
  	Add commented-out declarations for other float and long double
 	math functions.

	* std/cstdlib.h: Add abs(long) and div(long,long).

	* Makefile.in (install): Make shared library executable and
 	non-writable.  Tidy.
	(OBJS): Add cstdlibi.o and cmathi.o.

	* Rename implementation files to have different basenames.

Mon Aug 21 00:57:03 1995  Jeffrey A. Law  <law@@rtl.cygnus.com>

	* Makefile.in (install): Use "cd stl"; no need for $(srcdir)
	prefix because we're already in $(srcdir).

Tue Jul 25 18:41:29 1995  Per Bothner  <bothner@@kalessin.cygnus.com>

	* std/stddef.h:  Remove obsolete definition of enum capacity.

Sat Jul 22 13:37:01 1995  Doug Evans  <dje@@canuck.cygnus.com>

	* Makefile.in (IO_DIR): Add multilib support.
	(LIBIBERTY, LIBIBERTY_OBJS, INSTALLDIR, stdlist): Likewise.
	(libiberty.a, install): Likewise.
	* configure.in: Likewise.
	(XCXXINCLUDES): Likewise.
	* stl/configure.in: Likewise.
	(XCXXINCLUDES): Likewise.

Mon Jul 17 09:29:31 1995  Brendan Kehoe  <brendan@@lisa.cygnus.com>

	* Makefile.in (typeinfo.o, stdexcept.o): Put an else for the if
	stmt checking PICFLAG.
	(stmp-string, bigstmp-string, stmp-complex, bigstmp-complex): Likewise.

Wed Jun 28 17:05:29 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/*.h: Wrap with extern "C++".

	* std/ciso646.h: Don't worry about #undefing the keywords.

Mon Jun 26 19:05:38 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.h (operator!=): If they've included the STL
        function.h, don't overload the operator templates that it defines.

Fri Jun 23 16:54:17 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* Makefile.in (SHLINK): Force link.
	(install): Ditto.

	* std/bastring.h (terminate): Never reallocate.
	(alloc): No longer const.

	* std/bastring.cc (create): Always allocate an extra byte.
	(check_realloc): Always leave room for an extra byte.
	(*find*): Add missing 'const'.

	* Makefile.in (SHARLIB): Provide a default value.

Tue Jun 20 16:29:52 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/cstring.h: Don't bother tweaking prototypes for now.  When
        we do, we will use new-style casts.

Fri Jun 16 13:57:53 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* Makefile.in (VERSION): Update to 2.7.0.

	* config/aix.ml: Build both shared and archive libraries.

Wed Jun 14 21:44:21 1995  Jason Merrill  <jason@@python.cygnus.com>

	* configure.in (frags): Use linux.ml for Linux/ELF.
	* config/linux.ml: New file.

Wed Jun 14 17:56:23 1995  Niclas Andersson  <nican@@ida.liu.se>

	* configure.in: Use xiberty when building cross-compiler.

Wed Jun 14 12:57:47 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/*complex*, std/cinst.h, cinst.cc: Pass by reference to const
        rather than by value.
	* std/*complex*: Add member functions real() and imag().

Sat Jun 10 12:14:38 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* Makefile.in (bigstmp-string): Call main string object cstrmain.o
        instead of cstring.o.

Wed Jun  7 11:15:15 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/cstring.h: Use #include_next to pick up <string.h>.

	* string.h: New file.

	* Makefile.in (MOSTLYCLEAN_JUNK): Remove piclist.

	* configure.in (MOSTLYCLEAN): Remove stamp-picdir.

Mon Jun  5 18:36:39 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* config/*.ml: Build both shared and archive libraries.

	* configure.in (MOSTLYCLEAN): Remove pic.
	(frags): Use toplevel pic frags.

	* Makefile.in (piclist): New rule.
	(SHLIB): Use it.
	(stl.list): Removed.
	(typeinfo.o): Also build pic version.
	(stdexcept.o): Ditto.
	(*stmp-*): Ditto.

Tue May 30 12:01:14 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/{complext,{f,d,ld}complex}.h: To declare specializations,
        use friend declarations in the class body...
	* std/cinst.h: ...rather than macro hackery.

	* Makefile.in (stdlist): Renamed from list.

	* cstdarg: Don't define __CSTDARG__.
	* complex.h: Similarly.

Tue May  9 19:31:20 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.cc (operator>>): Use an int to store the return value
        of streambuf::sbumpc.
	(getline): Ditto.
	* std/bastring.* (replace): Reverse size_t and charT arguments.

	* configure.in (enable_shared): Support enable_shared under AIX.

	* Makefile.in (SHARLIB): New variable and rule for building an
        archive library containing a single shared object (for AIX).

Mon May  8 01:43:19 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.h (remove): Forgot one.
	(empty): And this.
	Disable copy-on-write if someone takes an iterator.

	* std/bastring.cc (getline): Avoid resizing down if unnecessary.
	(operator>>): Don't use private methods.

Sun May  7 02:39:56 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.h (insert, replace): Fix.
	* std/bastring.cc (find_*_of): Fix.

Fri May  5 01:45:10 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.h: Add iterator remove fn.  Remove evil default
        arguments.

	* std/*complex*, std/cinst.h, cinst.cc: s/__complex/complex/g.
        complex<float> is now specialized.  Lose _*_complex in favor of
        'explicit' constructors.
	* std/complex.h: Lose typedef of complex.
	* std/fcomplex.h: New file.
	* std/complext.cc (operator<<): Accept more input forms.

	* std/bastring.h: Add iterator insert fns.

Thu May  4 02:30:04 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.*: Update to current draft.

	* std/bastring.*: Reorganize so that the pointer in a string
        object points to the data rather than the bsrep object, for
        debugging.

Tue Apr 25 17:15:09 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* configure.in: Update to stay in sync with config.shared.

Mon Apr 24 13:08:46 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/complext.h: Declare hypot.  Declare appropriate functions const.

Wed Apr 12 15:26:25 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* Makefile.in (typeinfo.o): Don't use $<.
	(stdexcept.o): Ditto.

Sat Apr  8 15:35:00 1995  Mike Stump  <mrs@@cygnus.com>

	* std/typeinfo.h: Move bad_cast, bad_typeid and __bad_cast_object
	from here to stdexcept.
	* std/stdexcept.h: Ditto.
	* Makefile.in (stdexcept.o): Added rule to build typeinfo.o with
	-frtti to support matching of thrown objects with rtti info for
	bad_cast.

Mon Apr  3 18:13:14 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* typeinfo: New file.

	* Makefile.in (HEADERS): Add typeinfo.

Mon Apr  3 15:06:58 1995  Mike Stump  <mrs@@cygnus.com>

	* Makefile.in (typeinfo.o): Added rule to build typeinfo.o with
	-frtti to support matching of thrown objects with rtti info for
	bad_cast.

Wed Mar 29 15:56:06 1995  Mike Stump  <mrs@@cygnus.com>

	* typeinfo.cc: (__throw_type_match_rtti): Added to support
	matching of thrown objects with rtti info.

Thu Mar 23 18:42:30 1995  Jason Merrill  <jason@@deneb.cygnus.com>

	* Makefile.in (HEADERS): Add stdexcept.

Sun Mar 12 01:25:27 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/typeinfo.h: Add return statements to dummy methods.

Wed Mar  8 16:09:50 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* config/dec-osf.ml: Use -rpath flag.

Fri Feb 17 18:16:46 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/typeinfo.h: Add copyright header.

	* Makefile.in (CXXFLAGS): Add a bunch of warning options to keep
        me honest.

Thu Feb 16 00:04:49 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* Makefile.in, config/*.ml: Generate shared library on most hosts
	as libstdc++.so.$(VERSION), with a symlink to libstdc++.so, so that
	multiple versions can coexist.

Fri Feb 10 02:59:39 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/exception.h: {set_,}{terminate,unexpected} have C++ linkage.

	* Makefile.in: Allow string and complex to be split up either by
        individual function or into I/O and non-I/O.  Default to the
        latter.

Wed Feb  8 02:39:47 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.h: Start thinking about throwing exceptions.

	* typeinfo.cc: Remove private functions; defining them to call
        abort () just delays errors until runtime.  Define
        __bad_cast_object.

	* std/exception.h: Standard exceptions are now defined in
        stdexcept.h.  This header now contains declarations of terminate()
        et al.
	* exception.cc: Move code from libg++/src/except.c here.
	* std/typeinfo.h: Define RTTI-related exceptions here.
	* stdexcept{,.cc},std/stdexcept.h: New files.

Mon Feb  6 18:51:31 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* Makefile.in (HEADERS): Resurrect, add new STL header names.
	(install): Install extensionless headers again.
	* extensionless headers: Resurrect, add new STL headers.
        Currently only forward to std/whatever or stl/whatever.

Mon Jan 30 13:53:22 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.h (basic_string (charT, size_t)): Mark explicit.

	* Makefile.in (install): Set rootme when installing stl headers.
	Only install *.* from std.

Wed Jan 25 02:29:30 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* std/bastring.h (operator=): grab before releasing.

Mon Jan 23 19:54:02 1995  Ronald F. Guilmette  <rfg@@segfault.us.com>

	* Makefile.in (install): Also install STL headers.

Mon Jan 23 04:09:35 1995  Jason Merrill  <jason@@python.cygnus.com>

	* Makefile.in (list): Set $rootme before calling make.

Wed Jan 11 19:24:47 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* typeinfo.cc (__rtti_match): Don't try to do pointer arithmetic
        with a void *.

	* move all headers into std subdirectory and update files accordingly.

Thu Jan  5 01:51:49 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* bastring.ccI (basic_string (size_t, capacity)): s/reserve/::reserve/.

Wed Jan  4 17:27:32 1995  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* exception: s/string/__string/g.

	* configure.in (MOSTLYCLEAN): Add so_locations.

	* bastring.ccI (basic_string (size_t, capacity)): Fix thinko.
	(various find functions): Ditto.

Fri Dec 30 18:04:00 1994  Mike Stump  <mrs@@cygnus.com>

	* typeinfo.h: Add support for the built-in type bool.

Fri Dec 30 14:57:02 1994  Mike Stump  <mrs@@cygnus.com>

	* typeinfo.{cc, h}: Guard against multiple inclusions, and add #p i/i.

Fri Dec  2 17:56:05 1994  Mike Stump  <mrs@@cygnus.com>

	* libg++ 2.6.2 released.

	* typeinfo.{cc, h} (__rtti_match): Change interface to compiler
        for dynamic_casting to gear up for exception handling's use of
        rtti for argument matching.

Tue Nov 29 16:49:32 1994  Per Bothner  <bothner@@kalessin.cygnus.com>

	* configure.in (configdirs):  Add stl.
	* Makefile.in:  Build stl, and merge .o files from it.

Thu Nov 17 15:30:57 1994  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* bastring.hI: Add iterator, const_iterator, begin() and end() to
        basic_string.

Mon Nov  7 16:50:33 1994  Jason Merrill  <jason@@phydeaux.cygnus.com>

	* Makefile.in, configure.in, config/*.ml, tests/Makefile.in,
	tests/configure.in: Various changes to handle --enable-shared.

Fri Nov  4 19:13:33 1994  Mike Stump  <mrs@@cygnus.com>

	* exception{,.cc}: Added to support catching bad_cast's.

Thu Nov  3 17:42:13 1994  Mike Stump  <mrs@@cygnus.com>

	* typeinfo.h (type_info::{name, before}): Add to match draft.

Thu Nov  3 00:56:34 1994  Jason Merrill  (jason@@phydeaux.cygnus.com)

	* Makefile.in (LIBIBERTY_OBJS): Add strerror.o.

Mon Oct 31 15:33:06 1994  Kung Hsu  (kung@@mexican.cygnus.com)

	* typeinfo.cc: Fix a bug in the final return.
	* typeinfo.cc: Fix the ANSI header version number.
	* typeinfo.h: ditto.

Fri Oct 28 14:23:12 1994  Mike Stump  <mrs@@cygnus.com>

	* type_info.{cc,h}: Rename to typeinfo to better match current draft.

Wed Oct 26 11:13:53 1994  Kung Hsu  (kung@@mexican.cygnus.com)

	* type_info.h: new header file for rtti.
	* type_info.cc: new code file for rtti.
	* Makefile.in: change to include type_info.o in libstdc++ for rtti.

Sat Oct 15 16:09:51 1994  Jason Merrill  (jason@@phydeaux.cygnus.com)

	* libg++ 2.6.1 released.

	* cinst.hI: Also declare instantiations of out-of-line functions.

Fri Oct 14 15:00:09 1994  Jason Merrill  (jason@@phydeaux.cygnus.com)

	* configure.in (CXXINCLUDES): Use {} to wrap variable name.
	* tests/configure.in (CXXINCLUDES): Ditto.

	* cinst.hI: Declare instantiations of two-argument functions so
        overload resolution will work.
	* complext.hI: Always include cinst.hI.

	* bastring.ccI (operator>>): Tweak.

Tue Oct 11 17:07:49 1994  Jason Merrill  (jason@@phydeaux.cygnus.com)

	* stddef*: Do the #pragma i/i thang.

	* bastring.hI (basic_string::put_at): Use operator[].
	(basic_string::terminate): Don't necessarily copy the rep.

	* bastring.ccI (operator>>): Avoid shrinking and then re-expanding
        the string.

	* bastring.*I, sinst.cc: Only allow allocation policy control if
	_G_ALLOC_CONTROL is defined.

	* Makefile.in (libstdc++.a): Depend on iostream.list and libiberty.a.
	(../libio/iostream.list): New rule.
	(../libiberty/libiberty.a): New rule.
	(OBJS): Add stddef.o.

Sat Oct  8 23:59:45 1994  Jason Merrill (jason@@phydeaux.cygnus.com)

	* *: First checkin.
@


1.1.1.1
log
@Virgin import of EGCS 1.1.2's libstdc++
@
text
@@


1.1.1.2
log
@Virgin import of GCC 2.95.1's libstdc++
@
text
@d1 1
a1 1
Mon Aug 16 01:29:24 PDT 1999 Jeff Law  (law@@cygnus.com)
d3 1
a3 1
	* gcc-2.95.1 Released.
d5 1
a5 119
Thu Aug  5 02:00:13 1999  Loren Rittle  <ljrittle@@acm.org>

	* Makefile.in (MARLINK, MSHLINK): Handle library version
	number components with more than one numeric digit.

Mon Aug  2 00:40:10 1999  Jeffrey A Law  (law@@cygnus.com)

	1999-07-16  Markus Gyger (mgyger@@gmu.edu)
	* stdexcepti.cc (__out_of_range): Use std:: qualifier for names 
	in std.
	(__length_error): Likewise.

Wed Jul 28 21:39:31 PDT 1999 Jeff Law  (law@@cygnus.com)

	* gcc-2.95 Released.

Sun Jul 25 23:40:51 PDT 1999 Jeff Law  (law@@cygnus.com)

	* gcc-2.95 Released.

Sat Jul 17 23:49:59 1999  Jeffrey A Law  (law@@cygnus.com)

	* Makefile.in (INTERFACE): Bump to 3.

Fri Jul  9 01:20:23 1999  Jeffrey A Law  (law@@cygnus.com)

	* Makefile.in (VERSION): Bump to 2.10.0.

Tue Jun  8 00:21:11 1999  Jeffrey A Law  (law@@cygnus.com)

	* configure.in (*-*-freebsd2*): Add missing '*' at end of configure
	string.

1999-06-05  Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>

	* std/std_valarray.h: Don't #include unconditionally <alloca.h>

1999-06-05  Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>

	* std/std_valarray.h: New file.
	  * std/slice.h: New file.
	  * std/slice_array.h: New file.
	  * std/gslice.h: New file.
	  * std/gslice_array.h: New file.
	  * std/mask_array.h: New file.
	  * std/indirect_array.h: New file.
	  * std/valarray_array.h: New file.
	  * std/valarray_array.tcc: New file.
	  * std/valarray_meta.h: New file.
	  * valarray.cc: New file.
	  * valarray: New file

	  * Makefile.in (OBJS): add valarray.o
	  (HEADERS): add valarray
	  (valarray.o): define dependency on valarray.cc
	  (install): make it possible to install valarray file.
	
Wed Jun  2 00:21:54 1999  Robert Lipe  <robertlipe@@usa.net>

	* std/bastring.h (class basic_string:Rep): Encode xlock opcode
	as .bytes instead of mnemonics.

1999-05-20  Angela Marie Thomas <angela@@cygnus.com>

	* configure.in: Test for ${compiler_name}.exe as well.

1999-05-15  Mark Kettenis  <kettenis@@gnu.org>

	* configure.in: Add shared library support for the Hurd
	(*-*-gnu*).
	* config/gnu.ml: New file.

1999-05-12  Jason Merrill  <jason@@yorick.cygnus.com>

	* configure.in (compiler_name): Don't do the skip-this-dir thing
	if we're reconfiguring.

1999-05-07  Ulrich Drepper  <drepper@@cygnus.com>

	* std/bastring.h (class basic_string::Rep): Make release member
	function thread-safe for ix86 (x>=4) and UltraSPARC.

	* stlinst.cc: Make it possible to compile with __USE_MALLOC.

Mon Apr 26 02:24:47 1999 "Loren J. Rittle" <rittle@@supra.rsch.comm.mot.com>

	* config/freebsd.ml (LIBS): Add ARLINK.
	* config/openbsd.ml (LIBS): Add ARLINK.

Fri Apr  2 15:12:14 1999  H.J. Lu  (hjl@@gnu.org)

	* libstdc++/configure.in (gxx_include_dir): Handle it.
	* libstdc++/Makefile.in: Likewise.

Wed Mar 24 22:36:45 1999  Mumit Khan  <khan@@xraylith.wisc.edu>

	* configure.in (EXEEXT): Define.
	(compiler_name): Use.

Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@@lauterbach.com>

	* configure.in: Add mh-*pic handling for alpha, arm, powerpc

Fri Mar  5 02:16:39 1999  Doug Rabson  <dfr@@freebsd.org>

	* configure.in: Support shared libs on FreeBSD 3.x and 4.x
	* config/freebsd.ml: A copy of config/linux.ml since they are both
	ELF and both have a shared libm.

1999-02-24  Jason Merrill  <jason@@yorick.cygnus.com>

	* configure.in: Fix INSTALLDIR sed pattern for Solaris sed.

Sat Feb 20 13:17:17 1999  Jeffrey A Law  (law@@cygnus.com)

	* string, std/straits.h, std/bastring.h: Revert recent change.  Needs
	some libiberty support before it can be re-enabled.

Thu Feb 18 19:53:17 1999  Marc Espie <espie@@cvs.openbsd.org>
d7 1
d12 1
a12 137
1999-02-04  Ulrich Drepper  <drepper@@cygnus.com>

	* configure.in: Recognize --enable-threads=posix for all
	platforms.
	* config/posix.mt: New file.

	* configure.in: Add fragments for Solaris defining macro specifying
	thread library to be used.
	* config/sol2pth.mt: New file
	* config/sol2solth.mt: New file.
	* stl/stl_alloc.h: Add support for Solaris thread library.
	* stl/stl_config.h: Recognize _SOLTHREADS and define internal macros
	appropriately.

1999-01-28  Baron Roberts  <baron@@sgi.com>

	* string: Uncomment wstring declaration.

	* std/straits.h: Remove #if 0/#endif from around
	struct string_char_traits <wchar_t>.
	#include <cwchar>.
	Add missing definition for wchar_t move method.
	Add empty() method for trait-based empty string return.

	* std/bastring.h (c_str): Change return of "" to return of
	traits::empty() call so that proper empty string is returned
	based on the character type (i.e. "" or L"").

1999-02-07  Jason Merrill  <jason@@yorick.cygnus.com>

	* Makefile.in (stuff2): Tweak.

1999-02-04  Ulrich Drepper  <drepper@@cygnus.com>

	* configure.in: Recognize --enable-threads=posix for all
	platforms.
	* config/posix.mt: New file.

	* configure.in: Add fragments for Solaris defining macro specifying
	thread library to be used.
	* config/sol2pth.mt: New file
	* config/sol2solth.mt: New file.
	* stl/stl_alloc.h: Add support for Solaris thread library.
	* stl/stl_config.h: Recognize _SOLTHREADS and define internal macros
	appropriately.

Sat Jan 30 08:05:46 1999 Mumit Khan  <khan@@xraylith.wisc.edu>

	* config/x86-interix.ml: New file.
	* configure.in (i[3456]86-*-interix*): Add shared library support.

1999-01-13  Ulrich Drepper  <drepper@@cygnus.com>

	* configure.in: Test for "ln -s" and set LN_S in generated Makefile.
	* Makefile.in: Use $(LN_S) instead of explicitly ln -s.

Sun Jan 03 03:16:02 1999  Robert Lipe  <robertlipe@@usa.net>

	* configure.in:  (*-*-sysv5, *-*-*udk*):  Treat like sysv4.

Tue Dec  8 00:59:09 1998  Marc Espie <Marc.Espie@@liafa.jussieu.fr>

	* Makefile.in: Be more selective about what files to install.

1998-11-30  Ulrich Drepper  <drepper@@cygnus.com>

	* std/bastring.cc (operator>>): Correct cast in last patch.
	(getline): Likewise.

1998-11-27  Alexandre Oliva  <oliva@@dcc.unicamp.br>

	* Makefile.in (HEADERS): Install bitset.

1998-11-26  Manfred Hollstein  <manfred@@s-direktnet.de>

	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.

1998-11-23  Ulrich Drepper  <drepper@@cygnus.com>

	* std/bastring.cc (operator>>): Cast new character to char before
	adding to string.
	(getline): Likewise.

Thu Sep 17 01:29:46 1998  H.J. Lu  (hjl@@gnu.org)

	* Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.

	* Makefile.in (install): Don't rely on 'ln -f'.

1998-09-09  Manfred Hollstein  <manfred@@s-direktnet.de>

	* Makefile.in (install): Initialize RELINSTALLDIR correctly
	even for multilib and cross configurations.

	* configure.in (INSTALLDIR): Don't change INSTALLDIR's init
	value if --enable-version-specific-runtime-libs has been specified.

Wed Sep  2 21:11:15 1998  H.J. Lu  (hjl@@gnu.org)

	* Makefile.in (RELINSTALLDIR): New. Use it to make symlinks.

	* configure.in: Fix INSTALLDIR replacement for cross-compile.

Sun Aug 30 22:17:41 1998  H.J. Lu  (hjl@@gnu.org)

	* Makefile.in (INTERFACE): New, set to 2.
	(ARLIB): Set to libstdc++.a.$(VERSION)
	(ARLINK, MARLINK): New macros.
	(LIBS): Add $(ARLINK).
	($(ARLINK), marlink): New targets.
	(install): Don't check $(libsubdir). Handle versioned libraries.

	* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
	(LIBS): Add marlink $(ARLINK).

	* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
	(ARLINK): New macros.
	(BUILD_LIBS): Add $(ARLINK).

	* config/dec-osf.ml (LIBS): Add $(ARLINK).
	* config/elf.ml (LIBS): Likewise.
	* config/elfshlibm.ml (LIBS): Likewise.
	* config/hpux.ml (LIBS): Likewise.
	* config/iris5.ml (LIBS): Likewise.
	* config/sol2shm.ml (LIBS): Likewise.
	* config/sunos4.ml (LIBS): Likewise.

	* configure.in: Use ${topsrcdir}/config.if to put
	LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
	${package_makefile_frag}.

1998-08-25  Martin von Lwis  <loewis@@informatik.hu-berlin.de>

	* stdexcept: Remove __HONOR_STD.

1998-08-23  Mark Mitchell  <mark@@markmitchell.com>
d14 1
a14 3
	* sinst.cc: Don't explicitly instantiation string_char_traits<char>.
	* cinst.cc: Likewiwse, for complex<float>, complex<double>,
	complex<long double>.
d265 1
a265 1
	* Makefile.in: Create correct multiple links to
@


1.1.1.3
log
@Virgin import of GCC 2.95.2's libstdc++
@
text
@a0 4
Sun Oct 24 23:54:10 PDT 1999 Jeff Law  (law@@cygnus.com)

	* gcc-2.95.2 Released.

@


1.1.1.4
log
@Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch on Jan 20th, 2000.
@
text
@a0 6
1999-12-14  Martin v. Lwis  <loewis@@informatik.hu-berlin.de>

	* std/bastring.h (basic_string::basic_string): Rename parameters
	to avoid shadow warnings.
	* std/bastring.cc (alloc): Likewise.

@


1.1.1.5
log
@Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of March 7th, 2000.
@
text
@d1 1
a1 13
Tue Mar  7 21:37:56 2000  Jeffrey A Law  (law@@cygnus.com)

	1999-11-19  Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>
	* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget
	to define tanh. 

	1999-11-05  Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>
	* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION):  When
	building meta-expressions don't forget to take the contained
	closures.

	1999-10-19  Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>
	* std/valarray_meta.h: (_BinClos::_BinClos): Fix typo.
a2 9
	1999-09-17 Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>
	* std/complext.cc (pow): Don't expect floating point promotion
	in presence of template argument deduction.  There is no such
	thing. 

2000-02-06 Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>
	* std/valarray_array.h (__valarray_copy): Fix typo.

1999-12-14  Martin v. Lwis  <loewis@@informatik.hu-berlin.de>
@


1.1.1.5.2.1
log
@Sync up with latest vendor files.
@
text
@a0 4
2000-03-12  Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>

	* std/bastring.h (basic_string<>::push_back): Define.

@


1.1.1.5.2.2
log
@MFC:  get all offical GCC bug fixes from 2.95.2-release to 26-May-2000.
@
text
@a0 5
2000-04-24  Magnus Fromreide  <magfr@@lysator.liu.se>

	* sstream: New file.
	* Makefile.in (HEADERS): Add it.

@


1.1.1.5.2.3
log
@MFC:  bring in GCC 2.95.3 + official sjlj exception fixes.

Approved by:	jkh

The the setjump/longjump exception handling fixes are from GCC 2.95.3.test3
and were removed from GCC 2.95.3.test4 and the subsequent release due
to bootstrap problems on HP-UX.  However, they were very well tested and
fixed major problems on all other platforms.  Including all the all the BSD's.
OpenBSD and FreeBSD 5-current both use these official sjlj patches.

W/o this upgrade the following program segmentation faults if compiled
with -O2 (but not -Os or -O or -O0) on 4.2FreeBSD.
There are some large C++ libraries where segfaults also occur, even at -O.

#include <stdio.h>

class A {
public:
  A() { printf("c'tor A\n"); }
  ~A(){ printf("d'tor A\n"); }
};

class foo : public A {
public:
  foo()  { printf("C'tor foo\n"); throw 8; }
  ~foo() { printf("D'tor foo\n"); }
};

int main(){
  try { foo fii; }
  catch (int){ printf("catch ...\n"); }
  return 0;
}
@
text
@a0 20
Fri Mar 16 12:46:19 GMT 2001 Bernd Schmidt  (bernds@@redhat.com)

	* gcc-2.95.3 Released.

2001-01-01  Bernd Schmidt  <bernds@@redhat.co.uk>

	1999-12-07  Martin v. Lwis  <loewis@@informatik.hu-berlin.de>
	* stl_deque.h (_Deque_base::const_iterator): Change third
	template argument to pointer type.
	Reported by Carlo Wood <carlo@@node1500a.a2000.nl>

	1999-11-10  Benjamin Kosnik  <bkoz@@haight.constant.com>
		    Matthias Klose  <doko@@cs.tu-berlin.de>
	* stl_rope.h: Fix initialization order.
	* stl_deque.h: Use static_casts<size_type>(signed_type).

2000-11-24  Magnus Fromreide <magfr@@lysator.liu.se>

	* sstream: Backport libstdc++-V3 sstream to V2.

@


1.1.1.6
log
@Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of March 29th, 2000.  [these are changes March 7-29th]
@
text
@a0 4
2000-03-12  Gabriel Dos Reis  <dosreis@@cmla.ens-cachan.fr>

	* std/bastring.h (basic_string<>::push_back): Define.

@


1.1.1.7
log
@Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of May 26th, 2000.  [these are changes March 31 - May 24th]
@
text
@a0 5
2000-04-24  Magnus Fromreide  <magfr@@lysator.liu.se>

	* sstream: New file.
	* Makefile.in (HEADERS): Add it.

@


1.1.1.8
log
@Virgin import of GCC 2.95.3's libstdc++
@
text
@a0 20
Fri Mar 16 12:46:19 GMT 2001 Bernd Schmidt  (bernds@@redhat.com)

	* gcc-2.95.3 Released.

2001-01-01  Bernd Schmidt  <bernds@@redhat.co.uk>

	1999-12-07  Martin v. Lwis  <loewis@@informatik.hu-berlin.de>
	* stl_deque.h (_Deque_base::const_iterator): Change third
	template argument to pointer type.
	Reported by Carlo Wood <carlo@@node1500a.a2000.nl>

	1999-11-10  Benjamin Kosnik  <bkoz@@haight.constant.com>
		    Matthias Klose  <doko@@cs.tu-berlin.de>
	* stl_rope.h: Fix initialization order.
	* stl_deque.h: Use static_casts<size_type>(signed_type).

2000-11-24  Magnus Fromreide <magfr@@lysator.liu.se>

	* sstream: Backport libstdc++-V3 sstream to V2.

@


1.1.1.9
log
@Gcc 3.1.0 pre-release's C++ support bits from the FSF anoncvs repo
on 9-May-2002 15:57:15 EDT.
@
text
@d1 1
a1 1
2002-05-09  Jakub Jelinek  <jakub@@redhat.com>
d3 1
a3 3
	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.
d5 1
a5 1
2002-05-08  Alexandre Oliva  <aoliva@@redhat.com>
d7 4
a10 3
	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
	script entry, and set LD to it when configuring multilibs.
	* configure: Rebuilt.
d12 4
a15 1
2002-05-06  Phil Edwards  <pme@@gcc.gnu.org>
d17 1
a17 1
	* docs/html/documentation.html:  Fix broken link.
d19 1
a19 1
2002-05-03  Benjamin Kosnik  <bkoz@@redhat.com>
d21 1
a21 3
	PR libstdc++/6549.
	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
d23 2
a24 1
2002-05-02  Phil Edwards  <pme@@gcc.gnu.org>
d26 1
a26 2
	* docs/html/faq/index.html:  Update list in #4.1.
	* docs/html/faq/index.txt:  Regenerated.
d28 1
a28 1
2002-05-01  Phil Edwards  <pme@@gcc.gnu.org>
d30 1
a30 6
	* include/std/std_bitset.h:  Fix doxygen comments.
	* docs/html/documentation.html:  Minor tweaks for 3.1.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Regenerated.
d32 3
a34 1
2002-05-01  Benjamin Kosnik  <bkoz@@redhat.com>
d36 4
a39 4
	PR libstdc++/6533
	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
	(istreambuf_iterator::equal): Use it.
	(istreambuf_iterator::operator*): Use it.	
d41 80
a120 1
2002-05-01  Paolo Carlini  <pcarlini@@unitus.it>
d122 1199
a1320 35
	PR libstdc++/6513
	* include/bits/stl_uninitialized.h
	(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
	Fix typo in 2001-07-17 commit: typedef _ValueType to
	iterator_traits<_ForwardIter> not <_InputIter>.
	* testsuite/23_containers/vector_ctor.cc: Add test04.

2002-04-30  John David Anglin  <dave@@hiauly1.hia.nrc.ca>

	PR libstdc++/6501
	* include/c_std/std_cctype.h: Include bits/c++config.h.
	* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

2002-04-30  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/ext/stdio_filebuf.h: New file.
	* include/ext/enc_filebuf.h: New file.
	* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
	* config/io/basic_file_stdio.cc: Same.
	* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
	Remove _M_unbuf hacks.
	(filebuf::_M_destroy_internal_buffer): Same.
	(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
	(filebuf::fd): Remove.
	* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
	(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
	(filebuf::fd): Remove.
	* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
	filebufs.
	(ios_base::_S_ios_destroy): Same.
	* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
	* include/Makefile.am (ext_headers): Add ext_filebuf.h,
	stdio_filebuf.h.  * include/Makefile.in: Regenerate.
	
2002-04-30  Benjamin Kosnik  <bkoz@@redhat.com>
d1322 2
a1323 4
	PR libstdc++/6511
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
	
2002-04-29  Benjamin Kosnik  <bkoz@@redhat.com>
d1325 1
a1325 98
        PR libstdc++/5820
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Check for eof.
        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
        (istreambuf_iterator::operator++): Invalidate on eof.
        (istreambuf_iterator::operator++(int)): Same.
        (istreambuf_iterator::operator*): Same.
 
2002-04-29  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/5820
	* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
        (__basic_file::sys_ungetc): Take int.
        * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Use sys_getc for unbuffered input.
        * testsuite/27_io/narrow_stream_objects.cc (test06): New.
        
        * src/ios.cc (_M_grow_words): Adjust error checking.
        * testsuite/27_io/ios_base_storage.cc: Same.

2002-04-29  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
	of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
	LD_LIBRARY64_PATH. 

2002-04-28  Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* include/ext/stl_hashtable.h: Import __iterator_category

2002-04-28  Paolo Carlini  <pcarlini@@unitus.it>
            Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* testsuite/ext/hash_set.cc: New testfile.

2002-04-26  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
	Fix and tighten __throw_length_error check.
	* testsuite/21_strings/replace.cc (test04): New.
	* testsuite/21_strings/replace.cc (test02, test03): Tweak.

2002-04-23  Loren J. Rittle <ljrittle@@acm.org>

	* include/std/std_fstream.h (basic_filebuf::sync): Hoist
	unconditional flush on lower-layer handle to here...
	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
	...from here.  Optimize remaining _M_file.sync() call pattern.
	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
	(test05): Likewise.

2002-04-23  Jason Merrill  <jason@@redhat.com>

	* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
	output-only filebufs.
	* include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
	Likewise.
	(basic_filebuf::_M_set_determinate): Likewise.

	PR libstdc++/6414
	* include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
	value properly in the trivial case.
	* testsuite/27_io/istream_seeks.cc (test04): Make sure that
	tellg() returns the right value after a read.

2002-04-23  Hans-Peter Nilsson  <hp@@bitrange.com>

	* config/cpu/mmix/bits/cpu_limits.h: New file.
	* configure.target (CPULIMITSH): Use it.

2002-04-20  Jason Merrill  <jason@@redhat.com>

	PR libstdc++/4150
	* include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
	Move to filebuf.
	(basic_streambuf::_M_set_determinate): Likewise.
	(basic_streambuf::_M_is_indeterminate): Likewise.
	* include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
	non-static data member.
	(basic_filebuf::_M_underflow_common): New non-static member function.
	(basic_filebuf::_M_underflow, _M_uflow): Call it.
	(basic_filebuf::sync): Avoid useless seeking.
	(basic_filebuf::_M_set_indeterminate): Move here from streambuf.
	Set _M_filepos.
	(basic_filebuf::_M_set_determinate): Likewise.
	(basic_filebuf::_M_is_indeterminate): Likewise.
	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
	back to _M_out_beg if necessary.
	(basic_filebuf::seekoff): Likewise.
	(basic_filebuf::_M_underflow_common): Generalization of old 
	underflow().  Don't seek back to _M_in_beg.
	* src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
	* config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
	* config/os/bsd/freebsd/bits/os_defines.h: Likewise.
	* config/os/mingw32/bits/os_defines.h: Likewise.
	* testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
	ungetc test.
d1327 1
a1327 1
2002-04-22  Benjamin Kosnik  <bkoz@@redhat.com>
d1329 1
a1329 4
	* include/bits/istream.tcc (istream::read): Fix.
	* testsuite/27_io/istream_unformatted.cc (main): Add.
	
2002-04-20  Benjamin Kosnik  <bkoz@@redhat.com>
d1331 1
a1331 128
	PR libstdc++/6360
	* include/bits/istream.tcc (istream::ignore): Streamline, use
	delimiter as is.
	* include/bits/streambuf.tcc: Use this->gptr.
	* testsuite/27_io/istream_unformatted.cc (test08): Add test.

2002-04-19  Benjamin Kosnik  <bkoz@@redhat.com>

        * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
        as type safety is important, especially on solaris.
        * include/bits/istream.tcc (istream::read): Clean.
        (istream::readsome): Same.
        * locale.cc: Wrap lines.

        * testsuite/21_strings/inserters_extractors.cc: Tweaks.
        * testsuite/27_io/instantiations.cc (test): Add bool variable...
        * testsuite/21_strings/capacity.cc: Clean.

2002-04-19  Benjamin Kosnik  <bkoz@@redhat.com>

        * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.

2002-04-19  Benjamin Kosnik  <bkoz@@redhat.com>

        * config/linker-map.gnu (__malloc_alloc_template): Add.
        (__default_alloc_template): Same.       
        * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
        template.
        (__default_alloc_template): Same.

2002-04-19  Benjamin Kosnik  <bkoz@@redhat.com>

        * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
        * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
        (__malloc_alloc_template): Conditionalize.

        * include/bits/istream.tcc: Remove sputbackc calls.

        * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.

2002-04-19  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/4164
	Valgrind fixes.
	* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
	Call close.
	(__basic_file::close): Call fflush. Correct return if fclose ok. 
	(__basic_file::is_open): Make const.
	Change __c_file_type to __c_file.
	* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
	(__basic_file::is_open): Make const.
	* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
	* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
	(filebuf::_M_unbuf): Add.
	(filebuf::_M_file): Change to non-pointer.
	(filebuf::_M_allocate_pback_buffer): Remove.
	* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
	(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
	Change initialization list for _M_file change.
	(filebuf::_M_allocate_pback_buffer): Remove.
	Change _M_file usage to reflect non-pointer data member.

	* config/locale/generic/c_locale.cc
	(locale::facet::_S_create_c_locale): Add parameter.
	* config/locale/generic/collate_members.cc: Change
	_M_compare_helper to _M_compare.
	Change _M_transform_helper to _M_transform.
	* config/locale/generic/monetary_members.cc: Changeup data types.
	Add dtors.
	* config/locale/generic/numeric_members.cc: Add dtors.
	* config/locale/generic/time_members.cc: Add dtors.
	* config/locale/gnu/c_locale.cc: Add parameter.
	* config/locale/gnu/collate_members.cc:Change
	_M_compare_helper to _M_compare.
	Change _M_transform_helper to _M_transform.
	* config/locale/gnu/ctype_members.cc: Better error checking.
	* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
	* config/locale/gnu/messages_members.cc: Tweak comment.
	* config/locale/gnu/monetary_members.cc: Change data types.
	Add dtors.
	* config/locale/gnu/numeric_members.cc: Add dtors, better error
	checking.
	* config/locale/gnu/time_members.cc: Same.
	* config/locale/ieee_1003.1-2001/c_locale.cc
	(locale::facet::_S_create_c_locale): Add parameter.
	* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
	bogus ctor.

	* include/bits/locale_facets.h (moneypunct): Use string literals.
	Don't define dtor.
	(numpunct): Same.
	(__timepunct): Same.
	(locale::_Impl::_M_facets): Change from vector to array.
	(locale::_Impl::_M_names): Change from array of strings to array
	of string literals.
	(locale::facet::_S_create_c_locale): Add parameter.
	(locale::locale::_S_num_facets): Move to...
	(locale::_Impl::_M_facets_size): Here.
	* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
	changes.
	* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
	(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
	(locale::_Impl::_Impl(string, size_t)): Change to
	(locale::_Impl::_Impl(const char*, size_t)): This.

	* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
	* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
	(streambuf::_S_pback_size): This.

	* src/globals.cc: Add pre-allocations for "C" facets.
	* src/locale-inst.cc: Remove vector instantiations.
	* src/locale.cc: Remove vector include. Fixups for _M_names,
	_M_facets changes.
	* src/localename.cc: Same.

	* include/bits/stl_vector.h: Fix odd formatting.

	* include/bits/basic_string.tcc: Tweak comment.

	* libsupc++/new: Make sure parameters are uglified.
	* libsupc++/typeinfo: Same.

	* testsuite/22_locale/num_get_members_char.cc: Fixup.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
	* testsuite/27_io/filebuf_members.cc: Same.
	
2002-04-17  Phil Edwards  <pme@@gcc.gnu.org>
d1333 1
a1333 3
	* docs/doxygen/doxygroups.cc:  New group on binary searching.
	* include/bits/stl_algo.h:  Document binary searches and merges.
	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
d1335 1
a1335 1
2002-04-17  Phil Edwards  <pme@@gcc.gnu.org>
d1337 3
a1339 6
	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
	* docs/doxygen/run_doxygen:  Bump required version.
	* docs/doxygen/user.cfg.in:  Revert accidental change.
	* docs/html/faq/index.html:  Reindent a block of links.
	(4.4):  New note on using dlsym.
	* docs/html/faq/index.txt:  Regenerated.
d1341 1
a1341 1
2002-04-16  Paolo Carlini <pcarlini@@unitus.it>
d1343 2
a1344 3
	* testsuite/24_iterators/rel_ops.cc: New test.
	
2002-04-16  Gabriel Dos Reis  <gdr@@merlin.codesourcery.com>
d1346 1
a1346 50
	* include/bits/type_traits.h (__normal_iterator): Declare in
	__gnu_cxx.  Adjust use at global namespace.
	* include/bits/stl_iterator.h (__normal_iterator): Move definition
	into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
	* include/bits/basic_string.h (basic_string): Adjust use of
	__normal_iterator.
	* include/bits/stl_vector.h (_Alloc>): Likewise.
	* src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
	* src/locale-inst.cc (__gnu_cxx): Likewise.
	* src/string-inst.cc (operator==): Instantiate in __gnu_cxx.

2002-04-15  Steve Ellcey  <sje@@cup.hp.com>

	* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
	(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
	does not define strtoll or strtoull, but does define strtol
	and strtoul which are the same since in 64 bit mode
	sizeof(long) == sizeof(long long).

2002-04-12  Phil Edwards  <pme@@gcc.gnu.org>

	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
	trailing spaces, indentation, and macro names.  Make exception
	messages more informative.

2002-04-11  Richard Henderson  <rth@@redhat.com>

	* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
	(basic_ostream<>::operator<<(long long)): Same.

2002-04-11  Richard Henderson  <rth@@redhat.com>

	* config/linker-map.gnu: Add __gxx_personality_sj0.

2002-04-09  Benjamin Kosnik  <bkoz@@redhat.com>

	libstdc++/1072
	* include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
	pointer to vector.
	Remove forward declaration of vector.
	Include vector.
	* include/bits/locale_facets.tcc: Remove vector include.
	(use_locale): Adjust.
	(has_locale): Adjust.
	* src/locale.cc: Adjust.
	* src/localename.cc: Same.
	
2002-04-09  Benjamin Kosnik  <bkoz@@redhat.com>
	    Richard Henderson  <rth@@redhat.com>
d1348 2
a1349 2
	* include/bits/sstream.tcc: Clean up bit ops.
	* include/bits/fstream.tcc: Same.
d1351 1
a1351 1
2002-04-09  Jakub Jelinek  <jakub@@redhat.com>
d1353 2
a1354 18
	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.
	* src/locale.cc (__num_base::_S_scale_hex): Remove.
	(__num_base::_S_scale_oct): Remove.

2002-04-09  Benjamin Kosnik  <bkoz@@redhat.com>

	libstdc++/6124
	* testsuite/23_containers/bitset_members.cc: New test.
	* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
	(_S_bit_count): Here.
	(_First_one::_S_first_one): Move...
	(_S_first_one): Here.
	Format.
	* src/bitset.cc: Adjust.
	* config/linker-map.gnu: Export.
	
2002-04-08  Benjamin Kosnik  <bkoz@@redhat.com>
d1356 1
a1356 10
	libstdc++/5180
	* include/bits/fstream.tcc (filebuf::seekpos): Fix.
	* include/std/std_fstream.h: Clean.
	* include/bits/ostream.tcc: Remove extraneous variables.
	* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
	open modes and which modes.
	(stringbuf::seekpos): Same.
	* testsuite/27_io/stringbuf_virtuals.cc: New tests.
	
2002-04-05  Jonathan Wakely <jw@@kayari.org>
d1358 1
a1358 3
	* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
	random_shuffle, partition, stable_partition, sort, stable_sort,
	partial_sort, partial_sort_copy, nth_element):  Doxygenate.
d1360 1
a1360 1
2002-04-05  David S. Miller  <davem@@redhat.com>
d1362 1
a1362 2
	* config/os/gnu-linux/bits/os_defines.h
	(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
d1364 1
a1364 1
2002-04-04  Benjamin Kosnik  <bkoz@@redhat.com>
d1366 1
a1366 8
	libstdc++/3457 
	via gawrilow@@math.tu-berlin.de
	* acinclude.m4 (version_specific_libs): Fix combo usage with
	--with-gxx-include-dir.
	* aclocal.m4: Regenerate.
	* configure: Same.
	
2002-04-03  Benjamin Kosnik  <bkoz@@redhat.com>
d1368 1
a1368 4
        As per DR 184, libstdc++/3139
        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
        (numeric_limits<bool>::is_iec559): False.
        (numeric_limits<bool>::is_modulo): False.       
d1370 3
a1372 1
	* testsuite/27_io/ios_init.cc: Add instantiations.
d1374 1
a1374 15
2002-04-02  Benjamin Kosnik  <bkoz@@redhat.com>
	
	libstdc++/5268
	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
	* testsuite/27_io/ios_init.cc (tests04): Add test.

	libstdc++/3983
	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
	* include/bits/istream.tcc: Use _M_fctype, make consistent with
	ostream.
	* testsuite/27_io/ios_init.cc (tests03): Add test.
	
2002-04-02  Phil Edwards  <pme@@gcc.gnu.org>
d1376 1
a1376 2
	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
	* include/Makefile.in:  Regenerate.
d1378 1
a1378 1
2002-04-01  Benjamin Kosnik  <bkoz@@redhat.com>
d1380 3
a1382 4
	libstdc++/5542
	* acinclude: More extensive checks for msgfmt, --enable-nls.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
d1384 1
a1384 1
2002-04-01  Phil Edwards  <pme@@gcc.gnu.org>
d1386 1
a1386 4
	* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
	* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
	* docs/html/18_support/howto.html:  Document the demangler.
	* docs/html/17_intro/howto.html:  And link to it.
d1388 1
a1388 2
	* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
	* docs/doxygen/run_doxygen:  Print user-vs-maintainer.
d1390 1
a1390 1
2002-04-01  Phil Edwards  <pme@@gcc.gnu.org>
d1392 2
a1393 1
	* include/bits/c++config:  Fix misplaced leading blanks on first line.
d1395 3
a1397 1
2002-04-01  Phil Edwards  <pme@@gcc.gnu.org>
d1399 1
a1399 6
	* config/linker-map.gnu:  Export __verbose_terminate_handler.
	* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
	Make new LTCOMPILE variable, use it in new special build rules.
	* libsupc++/Makefile.in:  Rebuild.
	* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
	runtime __cxa_demangle.
d1401 1
a1401 3
	* docs/html/install.html:  Update prereqs and instructions.
	* docs/html/19_diagnostics/howto.html:  Bring naming for
	verbose_terminate_handler into line with reality.
d1403 1
a1403 23
2002-04-01  Benjamin Kosnik  <bkoz@@redhat.com>
	
	libstdc++/3129
	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
	(basic_ios::_M_streambuf_state): Move.	
	* include/bits/ios_base (ios_base): To here.
	* include/bits/ios_base.h (ios_base::_S_local_words): To
	_S_local_word_size.
	(ios_base::_M_word_array): To _M_local_word.
	(ios_base::_M_words_limit): To _M_word_size.	
	(ios_base::_M_words): To _M_word.		
	Comment.
	* include/bits/basic_ios.tcc: Adjust.	
	* src/ios.cc (ios_base::_M_grow_words): Tweak.
	* testsuite/27_io/ios_base_storage.cc: Add tests.

	libstdc++/5207
	Kenny Simpson <theonetruekenny@@yahoo.com>
	* include/bits/ios_base.h: Fix.
	
	Richard Henderson  <rth@@redhat.com>
	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
	last change.
d1405 2
a1406 3
	* include/bits/basic_string.h: Tweak formatting.
	
2002-04-01  Paolo Carlini  <pcarlini@@unitus.it>
d1408 2
a1409 1608
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
	By definition, sizeof(char) == 1.
	* include/bits/locale_facets.tcc (money_get::do_get,
	money_put::do_put): Ditto.
	* testsuite/21_strings/inserters_extractors.cc
	(test04): Ditto.

2002-03-30  Richard Henderson  <rth@@redhat.com>

	PR c++/3719
	* libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
	data out of the exception struct before calling unexpectedHandler.

2002-03-28  Roger Sayle  <roger@@eyesopen.com>

	* include/c_std/std_cmath.h:  To prevent problems overloading
	g++ builtins, use the double variants from the global namespace
	before defining float and long double variants in std::.

2002-03-28  Loren J. Rittle <ljrittle@@acm.org>

	* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.

2002-03-28  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/24_iterators/istream_iterator.cc
	(test02): New tests.

2002-03-28  Ulrich Weigand  <Ulrich.Weigand@@de.ibm.com>
            Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
	(test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
	fix i_lit_base e_lit_base arrays, making them independent
	from the endianness of the platform; tweak UCS4 to UCS-4BE.

2002-03-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
	allocate at least a byte.

	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
	debugger-friendly.
	* testsuite/27_io/streambuf.cc (test07): Fix.
	(test06): Enable.

2002-03-27  Phil Edwards  <pme@@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc,
	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
	docs/html/Makefile, docs/html/17_intro/howto.html,
	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html:
	Merge from trunk.

2002-03-27  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/stl_algo.h:  Remove @@maint and @@endmaint.
	* include/bits/stl_alloc.h:  Likewise.
	* include/bits/stl_construct.h:  Likewise.
	* include/bits/stl_deque.h:  Likewise.
	* include/bits/stl_iterator_base_types.h:  Likewise.
	* include/bits/stl_list.h:  Likewise.
	* include/bits/stl_relops.h:  Likewise.
	* include/bits/stl_tempbuf.h:  Likewise.
	* include/bits/stl_vector.h:  Likewise.
	* include/std/std_memory.h:  Likewise.

	* include/bits/stl_deque.h:  Point into tables.html and add @@ingroup.
	* include/bits/stl_list.h:  Likewise.
	* include/bits/stl_vector.h:  Likewise.

2002-03-26  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/c/: Guard with _CPP_.
	* include/c_std/: Same.
	* include/Makefile.am: Fixup install, link routines for null
	c_base_headers_extra scenarios.
	* include/Makefile.in: Regerate.

2002-03-25  Paolo Carlini <pcarlini@@unitus.it>
            Richard Henderson  <rth@@redhat.com>

	* testsuite/22_locale/codecvt_members_unicode_char.cc
	(test01, test02): make sure that the i_lit_base array
	is sufficiently aligned.

2002-03-25  Benjamin Kosnik  <bkoz@@redhat.com>

        * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
        _ctype_.

2002-03-25  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/collate_byname.cc
	(test01): compare the result of collate::compare with
	that of collate::transform + string::compare, not with
	that of collate::transform + collate::compare; values
	returned by collate::compare are normalized, therefore
	test against +-1.

2002-03-25  Jakub Jelinek  <jakub@@redhat.com>

	PR target/5676
	* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions
	explicitly.
	* aclocal.m4: Rebuilt.
	* configure: Rebuilt.
	* configure.target (mcore-*-pe*): Add -frtti -fno-exceptions
	by default to c++ flags.

2002-03-25  Benjamin Kosnik  <bkoz@@redhat.com>
            Jakub Jelinek  <jakub@@redhat.com>

	* config/locale/gnu/messages_members.h: Correct conditional.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.

2002-03-25  Ulrich Weigand  <Ulrich.Weigand@@de.ibm.com>
            Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/codecvt_members_unicode_char.cc
	(test01, test02): Fix i_lit_base arrays, making them
	independent from the endianness of the platform.

2002-03-22  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
	signbit and __signbit directly.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* libmath/Makefile.am: Simplify.
	* libmath/Makefile.in: Regenerate.
	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.

	* include/Makefile.am: Clean up handling of extra "C" header files.
	Add hooks for "C" compatibility headers.
	* include/Makefile.in: Regenerate.

	* include/c/*: Formatting tweaks, cleanups.
	* include/c_std/*: Same.

2002-03-22  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/locale/gnu/messages_members.h: Add __uselocale bits.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.

2002-03-22  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/vterminate.cc: Format, -fno-exceptions cleanup.

2002-03-21  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
	* aclocal.m4: Regenerate.
	* configure: Likewise.

2002-03-19  Paolo Carlini  <pcarlini@@unitus.it>
            Ulrich Drepper  <drepper@@redhat.com>

	* src/locale-inst.cc (__convert_from_v): Add an additional
	__size parameter in the declarations.
	* include/bits/locale_facets.tcc
	(__convert_from_v): When available (that is,
	_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
	(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
	being defined or not, call and use __convert_from_v in the
	appropriate way.
	(num_put::_M_convert_int): Same here.
	(money_put::do_put(long double)): Same here.

2002-03-19  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
	* docs/html/faq/index.txt:  Regenerate.

2002-03-19  Steve Ellcey  <sje@@cup.hp.com>

	* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
	GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
	--enable-libunwind-exceptions is set.
	* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
	macro to check for libunwind.
	* configure: Regenerate.
	* src/Makefile.am (libstdc___la_LDFLAGS): Add
	LIBUNWIND_FLAG to libstdc link line.
	* src/Makefile.in: Regenerate.

2002-03-19  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/faq/index.html: Add OS X workaround.
	* docs/html/17_intro/TODO: Update.

2002-03-18  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc
	(money_put::do_put(long double)): Fix dimensioning of
	temporary buffers to avoid risk of overruns.
	(money_put::do_put(string)): Same for the buffer used to
	add the grouping chars.
	* testsuite/22_locale/money_put_members_char.cc: Add test06.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.

	* include/bits/locale_facets.tcc
	(collate::do_transform): Simplify.

2002-03-18  Phil Edwards  <pme@@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
	* configure.in:  Add comments pointing the way for autoconf 2.5x.
	* aclocal.m4, config.h.in, configure:  Regenerate.

2002-03-18  Philipp Thomas  <pthomas@@suse.de>

	* include/backward/hash_map.h: hash, hashtable, hash_map and
	hash_multimap are in namespace __gnu_cxx.
	include/backward/hash_set.h: hash, hashtable, hash_set and
	hash_multiset are in namespace __gnu_cxx.
	include/backward/hashtable.h: hash and hashtable are in
	namespace __gnu_cxx.
	include/backward/rope.h: char_producer, sequence_buffer,
	rope, crope and wrope are in namespace __gnu_cxx.
	include/backward/slist.h: slist is in namespace __gnu_cxx.
	* testsuite/backward/header_hash_map_h.cc
	testsuite/backward/header_hash_set_h.cc
	testsuite/backward/header_hashtable_h.cc
	testsuite/backward/header_rope_h.cc
	testsuite/backward/header_slist_h.cc
	testsuite/backward/header_tempbuf_h.cc: New tests for
	checking that we're using the correct namespace.

2002-03-17  Jason Merrill  <jason@@redhat.com>

	PR c++/4381
	* libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
	(check_exception_spec): Call it.  Take the thrown pointer.
	(__cxa_call_unexpected): Pass it.
	(PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.

2002-03-15  Anthony Green  <green@@redhat.com>

	* configure.in: Remove useless is_mingw32.
	* configure: Rebuilt.

2002-03-15  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/collate_members_char.cc
	(test01): compare the result of collate::compare with
	that of collate::transform + string::compare, not with
	that of collate::transform + collate::compare.
	(test01): values returned by collate::compare are
	normalized, therefore test against +-1.
	* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.

2002-03-12  Loren Rittle  <ljrittle@@acm.org>

	reported by Peter Schmid <schmid@@snake.iap.physik.tu-darmstadt.de>
	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.

2002-03-12  Benjamin Kosnik  <bkoz@@redhat.com>
            Per Liboriussen  <liborius@@stofanet.dk>

	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
	unsigned char.
	* config/os/gnu-linux/bits/ctype_inline.h: Same.

	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.

	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.

	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.

	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.

	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.

2002-03-12  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
	that memory limits are in place.
	(test03): Add tests.

2002-03-11  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/c_std/std_cwctype.h: Guard.

2002-03-11  Chris Demetriou  <cgd@@broadcom.com>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

2002-03-11  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/stl_bvector.h: Fix warning.

2002-03-11  Richard Henderson  <rth@@redhat.com>

	* include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.

2002-03-11  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (collate::do_transform):
	Rewrite to fix problems with long transformed strings.

	* include/bits/locale_facets.tcc (time_put::do_put):
	Consider sizeof(char_type) in allocating the buffer.

2002-03-10  Anthony Green  <green@@redhat.com>

	* configure.in: Support cross builds to mingw32 target.
	* configure: Rebuilt.

2002-03-08  Benjamin Kosnik  <bkoz@@redhat.com>

	* c_locale_generic.cc: Move to...
	* generic/c_locale.cc
	* c_locale_generic.h: Move to...
	* generic/c_locale.h
	* codecvt_specializations_generic.h: Move to...
	* generic/codecvt_specializations.h
	* collate_members_generic.cc: Move to...
	* generic/collate_members.cc
	* ctype_members_generic.cc: Move to...
	* generic/ctype_members.cc
	* messages_members_generic.cc: Move to...
	* generic/messages_members.cc
	* messages_members_generic.h: Move to...
	* generic/messages_members.h
	* moneypunct_members_generic.cc: Move to...
	* generic/monetary_members.cc
	* numpunct_members_generic.cc: Move to...
	* generic/numeric_members.cc
	* time_members_generic.cc: Move to...
	* generic/time_members.cc
	* c_locale_gnu.cc: Move to...
	* gnu/c_locale.cc
	* c_locale_gnu.h: Move to...
	* gnu/c_locale.h
	* collate_members_gnu.cc: Move to...
	* gnu/collate_members.cc
	* ctype_members_gnu.cc: Move to...
	* gnu/ctype_members.cc
	* messages_members_gnu.cc: Move to...
	* gnu/messages_members.cc
	* messages_members_gnu.h: Move to...
	* gnu/messages_members.h
	* moneypunct_members_gnu.cc: Move to...
	* gnu/monetary_members.cc
	* numpunct_members_gnu.cc: Move to...
	* gnu/numeric_members.cc
	* time_members_gnu.cc: Move to...
	* gnu/time_members.cc
	* c_locale_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/c_locale.cc
	* c_locale_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/c_locale.h
	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/codecvt_specializations.h
	* messages_members_ieee_1003.1-200x.cc: Move to...
	* ieee_1003.1-2001/messages_members.cc
	* messages_members_ieee_1003.1-200x.h: Move to...
	* ieee_1003.1-2001/messages_members.h

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): Change to monetary and numeric.
	* src/Makefile.in: Regenerate.
	* docs/html/configopts.html: Update to ieee_1003.1-2001.

2002-03-08  scott snyder  <snyder@@fnal.gov>

	libstdc++/5875
	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
	Allow one more digit of precision.
	* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
	write a double and read back in the same value.

2002-03-08  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/std/std_limits.h: Move static const data members out of
	generic template, into base class __numeric_limits_base.
	* src/limits.cc: Add definitions.
	* config/linker-map.gnu: Add __numeric_limits_base.
	* testsuite/18_support/numeric_limits.cc: Declare test in scope.

2002-03-07  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/stl_alloc.h: Add extern implicit allocator
	instantiations.
	* include/bits/basic_string.tcc: Tweak.
	* include/bits/loqcale_facets.tcc: Remove default args. Add
	has_facet, use_facet extern instantiations.
	* src/stl-inst.cc: Add explicit instantiation.
	* src/locale-inst.cc: Clean. Remove locale member template
	instantiations.

	* testsuite/22_locale/operators.cc (test02): Enable.

2002-03-06  Benjamin Kosnik  <bkoz@@redhat.com>
	    Stephen M. Webb  <stephen.webb@@bregmasoft.com>

	* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
	(_S_rb_tree_black): Make enum.
	Clean. Format.
	* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
	* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
	(__stl_threshold): _M_threshold, enum.
	* src/stl-inst.cc: Same.
	* config/linker-map.gnu: Remove.

	* testsuite/23_containers/vector_bool.cc: New.

2002-03-08  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/basic_string.h (basic_string::_S_construct):  Fix
	names in declaration.
	(basic_string::compare):  These are no longer optional.
	* include/bits/ostream.tcc:  Tweak closing brace placement.
	* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
	* include/std/std_sstream.h:  Fix typo in comment.
	* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
	* src/locale.cc:  Likewise.

2002-03-08  Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/5734
	* include/bits/stl_vector.h (vector::push_back()):  Guard with
	_GLIBCPP_DEPRECATED.

2002-03-05  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES: Fix usage.
	* README (libmath): Make clear.

2002-03-05  Jakub Jelinek  <jakub@@redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
	script globbing in ld.
	* aclocal.m4: Rebuilt.
	* configure: Rebuilt.

2002-03-05  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES: Update.
	* README: Format subdirectories.

2002-03-05  Paolo Carlini  <pcarlini@@unitus.it>

	libstdc++/5816
	* include/bits/locale_facets.tcc
	(num_get::_M_extract_float): Fix the parsing of __dec, since
	the standard prescribes that if no grouping characters are
	seen, no grouping check is applied.
	* testsuite/22_locale/num_get_members_char.cc: Add test05
	distilled from the PR.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

2002-03-04  Craig Rodrigues  <rodrigc@@gcc.gnu.org>

	* docs/html/17_intro/porting-howto.xml: Refer to
	http://www.oasis-open.org for docbookx.dtd.
	* docs/html/17_intro/porting-howto.html: Regenerated.

2002-03-03  Phil Edwards  <pme@@gcc.gnu.org>

        PR libstdc++/2955
	* include/std/std_sstream.h:  Remove trailing spaces.
	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.

2002-03-03  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/num_get_members_char.cc (test04):
	Use a named locale expecting grouping (de_DE).
	* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
	Ditto.
	* testsuite/27_io/ios_manip_basefield.cc (test01):
	Extend coverage, uniform treatment of hexs and octs.

2002-03-01  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
	Admit grouping for octals and hexadecimals too.
	* testsuite/22_locale/num_get_members_char.cc: Add test04.
	(test01): Tweak "." -> "," in void* test.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

	* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
	* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.

	* testsuite/27_io/ios_manip_basefield.cc (test01):
	Fix for 64 bit machines.

2002-02-28  Richard Henderson  <rth@@redhat.com>

	* config/linker-map.gnu: Export operator new with unsigned long,
	and with std::nothrow_t.  Likewise operator delete.

2002-02-26  Benjamin Kosnik  <bkoz@@redhat.com>

	libstdc++/3983
	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
	Adjust comment.
	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
	(basic_ios::_M_fill_init): New.
	(basic_ios::fill()): Delay dealing with _M_fill.
	Adjust comment.
	* ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
	(ios_base::_M_call_callbacks): Adjust.
	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.

2002-02-28  Loren Rittle  <ljrittle@@acm.org>

	* include/Makefile.am (thread_target_headers): Unconditionally
	stage and install gthr-posix.h.
	(${target_builddir}/gthr-posix.h): New rule cloned off
	${target_builddir}/gthr-default.h.
	(${target_builddir}/gthr-default.h): Support chained inclusion
	of gthr support headers.
	* include/Makefile.in: Rebuilt.

2002-02-26  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
	Group all the integral types, not only decs.
	* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
	tests, add a few more.

2002-02-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/ios.cc (ios_base::~ios_base): Tweak.
	(ios_base::_M_call_callbacks): Deal with null __p.
	(ios_base::ios_base): Set _M_callbacks.
	* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
	* testsuite/27_io/ios_init.cc (test02): Fix.

	* mkcheck.in (static_fail): Failed links go to output file.

2002-02-25  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/faq/index.html:  Update.
	* docs/html/faq/index.txt:  Regenerate.

2002-02-22  Phil Edwards  <pme@@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
	* aclocal.m4:  Regenerate.
	* docs/html/configopts.html:  Document --enable-symvers.
	* config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.

2002-02-22  Philipp Thomas  <pthomas@@suse.de>

        * include/backward/tempbuf.h: get_temporary_buffer and
        return_temporary_buffer are in namespace std, not in __gnu_cxx.

2002-02-21  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (target_alias): Default to yes.
	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
	libgcc to default case.

2002-02-20  Phil Edwards  <pme@@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
	(GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
	* configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.
	* config/linker-map.dummy:  New file.  Contains nothing useful.

2002-02-20  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/money_put_members_char.cc: Fix.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Fix.

	* testsuite/27_io/standard_manipulators.cc: New file.

	* testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
	* testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().

2002-02-20  Danny Smith  <dannysmith@@users.sourceforge.net>

	* config/os/mingw32/bits/ctype_noninline.h
	(ctype<char>::ctype): Remove default args from parm list.
	* config/os/djgpp/bits/ctype_noninline.h: Same.

2002-02-19  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/std/std_iomanip.h: Inline, tweaks.
	* config/linker-map.gnu: Remove hacks.

	* testsuite/21_strings/capacity.cc: Add explicit instantiations.
	* testsuite/27_io/ios_init.cc: Same.
	* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.

2002-02-19  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Export global vtable, typeinfo, guard
	variable, and thunk info as per CXXABI docs.

2002-02-19  Loren Rittle <ljrittle@@acm.org>

	* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
	* include/Makefile.in: Rebuilt.

2002-02-18  Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* testsuite/22_locale/collate_byname.cc (test01): Replace size4
          with size3 for the string collations of str5.

2002-02-18  Paolo Carlini  <pcarlini@@unitus.it>

	libstdc++/5708
	* include/bits/locale_facets.tcc (money_put::do_put):
	For the space field use __fill instead of ' ', uniformly.
	* testsuite/22_locale/money_put_members_char.cc:
	Add test05 distilled from PR.
	(test01-02-03): Trim some '*' to ' '.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.

2002-02-18  Loren Rittle <ljrittle@@acm.org>

	libstdc++/5697
	* include/Makefile.am (thread_builddir): Remove (map all
	existing uses to target_builddir).
	(thread_headers): Rename to...
	(thread_target_headers): ...this.
	(stamp-thread): Remove.
	(stamp-target): Correctly state the position as built.
	Update all dependencies to match the new reality.  Remove all
	dependency calculations on directories.
	* include/Makefile.in: Rebuilt.

2002-02-16   Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.tcc: Add pragma GCC system_header.
	* include/bits/fstream.tcc: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/ostream.tcc: Same.
	* include/bits/istream.tcc: Same.
	* include/bits/streambuf.tcc: Same.
	* include/bits/basic_ios.tcc: Same.
	* include/bits/basic_string.tcc: Same.

2002-02-15  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/std/std_iosfwd.h: Don't guard typedefs with
	_GLIBCPP_USE_WCHAR_T
	* include/bits/stringfwd.h: Same.

2002-02-15  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/locale.cc (moneypunct_byname): Remove definitions.
	* include/std/std_streambuf.h (streambuf::operator=): Return.

2002-02-15  Benjamin Kosnik  <bkoz@@redhat.com>

	Tune for size.
	* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
	explicit instantiation.
	(string::_Rep::_S_max_size): Same.
	* include/bits/basic_string.tcc: Add extern explicit
	instantiations for string, wstring.
	* include/bits/basic_ios.tcc: Add extern explicit instantiations
	for ios, wios.
	* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
	* include/bits/istream.tcc: Same, for istream, wistream.
	* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
	wiostream.
	* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
	istringstream, wistringstream, ostringstream, wostringstream,
	stringstream, wstringstream.
	* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
	wifstream, ofstream, wofstream, fstream, wfstream.
	* src/misc-inst.cc: Correct comments.
	Add iomanip instantiations for wide streams.
	* include/std/std_iomanip.h: Same.
	* include/bits/locale_facets.tcc: Same.

	* include/std/std_streambuf.h: Correct
	_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
	* include/std/std_sstream.h: Same.
	* include/std/std_ostream.h: Same.
	* include/std/std_istream.h: Same.
	* include/std/std_fstream.h: Same.

	* include/std/std_streambuf.h: Add definitions for private copy
	ctor and assignment operator.
	* include/std/std_istream.h: Remove declared but undefined copy
	ctor and assignment operator. This is taken care of in ios_base,
	so adding it in the derived class as well is superfluous.
	* include/std/std_ostream.h: Same.

	* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
	* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.

2002-02-14  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
	Add typeinfo bits. Smooth.
	* aclocal.m4: Regenerate.
	* configure: Same.
	* src/Makefile.in: Same.

2001-02-14  Joel Sherrill  <joel@@OARcorp.com>

	* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
	which do not have a CAS instruction.

2002-02-14  Phil Edwards  <pme@@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
	* configure.in:  Call it.
	* config/linker-map.gnu:  New file, initial incomplete revision.
	* src/Makefile.am:  Optionally pass version script to the linker.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.
	* src/Makefile.in:  Regenerate.

2002-02-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/localename.cc: Remove stdexcept include.
	* src/locale-inst.cc: Same.
	* src/locale.cc: Same.
	* src/functexcept.cc: Remove string includes.
	* include/std/std_bitset.h: Remove stdexcept include.
	* testsuite/23_containers/bitset_members.cc: Add stdexcept.
	* testsuite/23_containers/bitset_ctor.cc: Same.

2002-02-11  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/stl_algo (__stl_threshold): Declare external.
	(__stl_chunk_size): Same.
	* include/bits/stl_bvector.h (__WORD_BIT): Same.
	* include/bits/stl_tree.h (_S_rb_tree_red): Same.
	(_S_rb_tree_black): Same.
	* src/stl-inst.cc (__stl_threshold): Define.
	(__stl_chunk_size): Same.
	(__WORD_BIT): Same.
	(_S_rb_tree_red): Same.
	(_S_rb_tree_black): Same.

	* config/io/basic_file_libio.h (__basic_file): Add declarations.
	* include/bits/basic_file.h: Remove.
	* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
	Declare generic types, specialization.
        * config/io/basic_file_stdio.cc: Definitions.
	* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
	Declare generic types.
	* include/Makefile.am (bits_headers): Remove basic_file.h.
	(extra_target_headers): Change basic_file_model.h to basic_file.h.
	(stamp-target): Same.

	* include/bits/stl_alloc.h: Tweaks.
	* include/bits/localefwd.h: Same.

2002-02-11  Aaron W LaFramboise  <AWLaFramboise@@aol.com>

	* include/bits/locale_facets.tcc (collate::do_hash): Fix.
	* testsuite/22_locale/collate_members_char.cc (test03): New test.
	* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.

2002-02-10  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/stl_algo.h (transform (both signatures), generate_n):
	Use __typeof__ in concept checks.

2002-02-10  Jonathan Wakely  <cow@@compsoc.man.ac.uk>

	* include/bits/stl_algo.h (__median, for_each, find, find_if,
	adjacent_find, count, count_if, search, search_n, swap_ranges,
	transform, replace, replace_if, replace_copy, replace_copy_if,
	generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
	unique, unique_copy, reverse, reverse_copy):  Doxygenate.

2002-02-08  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h
	(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
	(__timepunct<_CharT>::_M_initialize_timepunct): Same.
	(__timepunct<_CharT>::_M_put_helper): Same.
	(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.

	* include/bits/fstream.tcc (filebuf::underflow): Remove
	__codecvt_type typedef.
	(filebuf::_M_convert_to_external): Same.

2002-02-08  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/TODO:  Update.
	* docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
	* docs/doxygen/mainpage.html:  Add TODO list link.
	* docs/doxygen/user.cfg.in:  Add @@doctodo hook.
	* docs/doxygen/tables.html:  New file, emoty structure only.

	* include/bits/stl_iterator.h:  Doxygenate just about everything.
	* include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
	* include/bits/stl_iterator_base_types.h:  Add notes.

2002-02-07  Stephan Buys  <sbproxy@@icon.co.za>

	* include/bits/stl_map.h:  Tweak doxygen markup.
	* include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
	* include/bits/stl_vector.h:  Likewise.

2002-02-07  Benjamin Kosnik  <bkoz@@redhat.com>

	libstdc++/5286
	libstdc++/3860
	* include/std/std_fstream.h (filebuf::__file_type): Change to
	__basic_file<char>.
	(filebuf::_M_convert_to_external): Declare.
	* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
	codecvt bits for wide streams.
	(filebuf::_M_really_overflow): Use it.
	(filebuf::underflow): Use codecvt.
	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
	(codecvt<__enc_traits>::do_out): Deal with partial.
	(codecvt<__enc_traits>::do_encoding): Return something useful.
	* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
	wchar_t.
	* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
	Change expected encoding output.
	(test02): Same.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
	(test02): Same.

2002-02-07  Benjamin Kosnik  <bkoz@@redhat.com>
            Wolfgang Bangerth  <wolfgang.bangerth@@iwr.uni-heidelberg.de>

	* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
	(basic_ios::widen): Same.

2002-02-07  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/money_get_members_char.cc:
	Add comment, tidy up.
	(test01): more "en_HK" tests (without showbase).
	* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.

2002-02-06  Loren Rittle <ljrittle@@acm.org>

	* config/locale/c_locale_generic.cc: Do not trust
	_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
	set by configure.

2002-02-06  Loren Rittle <ljrittle@@acm.org>

	* acinclude.m4: Add C++ linkage check for strtof.
	* aclocal.m4: Rebuilt.
	* config.h.in: Rebuilt.
	* configure: Rebuilt.
	* config/locale/c_locale_generic.cc: Conditionally include
	<ieeefp.h>.  Improve handling and error checking of float
	and long double input for non-C99 configurations.

2002-02-06  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (money_get::do_get(string)):
	In case money_base::symbol deal properly with multi-char sign
	for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
	* testsuite/22_locale/money_get_members_char.cc: Add test07.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.

2002-02-05  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (money_get::do_get(string)):
	First construct a tentative returned string, then, only if the
	parsing succeeds, copy it into the string passed by reference.
	* testsuite/22_locale/money_get_members_char.cc: Add test06.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.

2002-02-04  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/TODO:  Impl-defined behavior now documented...
	* docs/html/17_intro/howto.html:  ...here.
	* docs/doxygen/mainpage.doxy:  Remove, rename...
	* docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
	* docs/doxygen/style.css:  Add small text.
	* docs/doxygen/run_doxygen:  Adjust for new mainpage.
	* docs/doxygen/user.cfg.in:  Likewise.

2002-02-04  Stephan Buys  <sbproxy@@icon.co.za>

	* include/bits/stl_map.h:  Initial doxygen markup.
	* include/std/std_fstream.h:  Initial doxygen markup.

2002-02-04  Paolo Carlini  <pcarlini@@unitus.it>

	libstdc++/5579
	* include/bits/locale_facets.tcc (money_get::do_get(string)):
	Deal correctly with !(__io.flags() & ios_base::showbase)
	for case money_base::symbol.
	* testsuite/22_locale/money_get_members_char.cc: Add test05.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.

2002-02-02  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/operators.cc
	(gnu_collate::do_compare()): Add return statement to
	suppress "no return statement" warning.

2002-02-01  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/27_io/ostream_manip.cc: Enable test02.

2002-02-01  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/documentation.html:  Update for 3.0.96.
	* docs/html/faq/index.html:  Update for 3.0.96.
	* docs/html/faq/index.txt:  Regenerated.
	* docs/doxygen/TODO:  Update notes.
	* docs/html/17_intro/howto.html:  Initial impl-specific listing.

2002-01-31  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
	Initialize all data members in copy ctor. Make ctors explicit.
	(__enc_traits::__enc_traits()): Default ctor does nothing.
	(__enc_traits::_M_init): Guard against multiple iconv_opens.
	* include/std/std_sstream.h (basic_stringbuf): Make data members
	protected.
	* include/std/std_fstream.h (basic_filebuf): Same.
	* include/std/std_streambuf.h: Tweak.
	* include/bits/streambuf.tcc: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/fstream.tcc: Same.

2002-01-31  Loren Rittle <ljrittle@@acm.org>

	* testsuite/22_locale/codecvt_members_char_char.cc: Do not
	allow NULL argument to be passed to setenv().
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
	* testsuite/22_locale/collate_members_char.cc: Likewise.
	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/ctype_members_char.cc: Likewise.
	* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/messages_members_char.cc: Likewise.
	* testsuite/22_locale/money_get_members_char.cc: Likewise.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/money_put_members_char.cc: Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/num_get_members_char.cc: Likewise.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/num_put_members_char.cc: Likewise.
	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/numpunct_members_char.cc: Likewise.
	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/time_get_members_char.cc: Likewise.
	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/time_put_members_char.cc: Likewise.
	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.

2002-01-30  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/locale/c_locale_gnu.cc: Same errno fixes as generic.

	* ChangeLog-2001: Fix spelling errors...
	* docs/html/17_intro/RELEASE-NOTES: Update.
	* docs/html/17_intro/TODO: Update.
	* README (file): Update.

2002-01-30  Loren Rittle <ljrittle@@acm.org>

	* config/locale/c_locale_generic.cc: Check errno for ERANGE
	instead of non-zero to aid portability.

2002-01-30  Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* docs/html/22_locale/messages.html: Fix example code.

2002-01-30  Richard Henderson  <rth@@redhat.com>

	* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
	out from test03 and templatize.
	(test03): Use it.

2002-01-30  Paolo Carlini  <pcarlini@@unitus.it>

	* config/locale/numpunct_members_gnu.cc
	(numpunct<char, wchar_t>::_M_initialize_numpunct()):
	Fix initialization of _M_grouping for locales which have
	_M_thousands_sep == '\0'(L'\0', respectively).
	* testsuite/22_locale/numpunct_byname.cc (test02): Add test.

2002-01-30  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/27_io/ostream_inserter_arith.cc (test03):
	Better fix for 32/64 bit architectures, avoiding the
	implicit assumption that CHAR_BIT == 8.

2002-01-28  Phil Edwards  <pme@@gcc.gnu.org>

	* Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
	* Makefile.in:  Regenerate.

	* docs/doxygen/run_doxygen:  Update, mostly for man pages.
	* docs/doxygen/Intro.3:  Update.
	* docs/doxygen/TODO:  Update.
	* docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
	* docs/doxygen/mainpage.doxy:  Update.
	* docs/doxygen/user.cfg.in:  Update for header rename.  Also
	regenerate comments and variables with 1.2.12.
	* docs/doxygen/maint.cfg.in:  Remove file.

	* include/bits/stl_relops.h:  Doxygenate.
	* include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.

	* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
	include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
	include/c_std/std_ciso646.h, include/c_std/std_climits.h,
	include/c_std/std_clocale.h, include/c_std/std_cmath.h,
	include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
	include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
	include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
	include/c_std/std_cstring.h, include/c_std/std_ctime.h,
	include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
	include/ext/algorithm, include/ext/functional, include/ext/hash_map,
	include/ext/hash_set, include/ext/iterator, include/ext/memory,
	include/ext/numeric, include/ext/rb_tree, include/ext/rope,
	include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
	include/ext/stl_hashtable.h, include/ext/stl_rope.h,
	include/std/std_algorithm.h, include/std/std_bitset.h,
	include/std/std_complex.h, include/std/std_deque.h,
	include/std/std_fstream.h, include/std/std_functional.h,
	include/std/std_iomanip.h, include/std/std_ios.h,
	include/std/std_iosfwd.h, include/std/std_iostream.h,
	include/std/std_istream.h, include/std/std_iterator.h,
	include/std/std_limits.h, include/std/std_list.h,
	include/std/std_locale.h, include/std/std_map.h,
	include/std/std_memory.h, include/std/std_numeric.h,
	include/std/std_ostream.h, include/std/std_queue.h,
	include/std/std_set.h, include/std/std_sstream.h,
	include/std/std_stack.h, include/std/std_stdexcept.h,
	include/std/std_streambuf.h, include/std/std_string.h,
	include/std/std_utility.h, include/std/std_valarray.h,
	include/std/std_vector.h:  Add/correct @@file doxygen hook.

	* include/ext/memory:  Doxygenate most of rest of file.
	* libsupc++/exception:  Doxygen output formatting.
	* libsupc++/new:  Say which header it is.

	* testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
	* docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
	* docs/html/23_containers/howto.html:  Describe O(n) list::size().
	* docs/html/27_io/howto.html:  Also link to Langer and Kreft text.

2002-01-28  Paolo Carlini  <pcarlini@@unitus.it>
            Charles Leggett <CGLeggett@@lbl.gov>

	* testsuite/27_io/filebuf_members.cc (test_05): Add test.

2002-01-28  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/27_io/ostream_inserter_arith.cc (test03):
	Fix to deal correctly with both 32 bit and 64 bit architectures

2002-01-25  Loren Rittle <ljrittle@@acm.org>

	* testsuite/thread/pthread1.cc: Use one condition variable
	per predicate instead of tricky use of one condition variable.

2002-01-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/fstream.tcc (filebuf::close()): Fix close for input
	streams.
	(filebuf::_M_really_overflow): Match indeterminate and sync calls.
	* testsuite/27_io/filebuf.cc: Compile only.
	* testsuite/27_io/filebuf_members.cc: Move tests to here.
	* testsuite/27_io/filebuf_virtuals.cc: And here.
	Revert sungetc, sync changes for expected values.
	* testsuite/27_io/filebuf-*: Move to...
	* testsuite/27_io/filebuf_virtuals-*: ...here.
	* testsuite/27_io/istream.cc: Compile only, activate.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/iostream.cc: New.
	* testsuite/27_io/iostream_members.cc: New.

2002-01-25  David Billinghurst <David.Billinghurst@@riotinto.com>

	* testsuite/thread/pthread1.cc: Enable on cygwin.
	* testsuite/thread/pthread2.cc: Likewise.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: Likewise.
	* testsuite/thread/pthread5.cc: Likewise.
	* testsuite/thread/pthread6.cc: Likewise.

2002-01-24  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/27_io/ostream_inserter_char.cc (test07): New.

2002-01-24  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
	const, tweak.
	(basic_ios::fill(char_type)): Use fill().
	* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
	(basic_ios::narrow): Same.
	(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
	if they are invalid.
	(basic_ios::init): Comment.
	* testsuite/27_io/ios_init.cc (test02): New.

2002-01-24  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
	* include/bits/stl_algo.h:  Include stl_tempbuf.h.
	* include/ext/memory:  Do not include stl_tempbuf.h.
	(temporary_buffer):  Add doxygen hook.
	(__get_temporary_buffer, get_temporary_buffer,
	return_temporary_buffer):  Move back to std:: header...
	* include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
	* include/ext/rope:  Do not include stl_tempbuf.h.
	* include/ext/stl_hashtable.h:  Likewise.
	* include/std/std_algorithm.h:  Likewise.
	* testsuite/20_util/temporary_buffer.cc:  New file.

2002-01-24  andrew@@andypo.net
	    (tweaks, test and commit by Loren J. Rittle  <ljrittle@@acm.org>)

	libstdc++/5432
	* include/bits/ios_base.h: Use _Atomic_word for reference counts.
	* include/bits/localefwd.h: Likewise.
	Also use for std::locale::id::_S_highwater.
	* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
	* src/locale.cc: Support new usage of _Atomic_word.
	(std::locale::classic): Guard entire function against reentry.
	* src/localename.cc: Support new usage of _Atomic_word.

2002-01-24   Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
	_GLIBCPP_HAVE_SETENV.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
	* testsuite/22_locale/collate_members_char.cc (test02): Same.
	* testsuite/22_locale/ctype_members_char.cc (test03): Same.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/messages_members_char.cc (test02): Same.
	* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
	* testsuite/22_locale/money_put_members_char.cc (test04): Same.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/num_get_members_char.cc (test03): Same.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
	* testsuite/22_locale/time_get_members_char.cc (test07): Same.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
	* testsuite/22_locale/time_put_members_char.cc (test03): Same.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/num_put_members_char.cc (test03): Same.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.

2002-01-23  Loren Rittle <ljrittle@@acm.org>

	* testsuite/thread/pthread1.cc: New test.
	* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: New test adapted from
	http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
	* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
	* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.

2002-01-23  Richard Henderson  <rth@@redhat.com>

	PR libstdc++/5198
	* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
	CAS on the cpu variants that support it.  Add versions that use
	TAS and that disable interrupts.
	(__atomic_add): Use __exchange_and_add to guarantee atomicity.

2002-01-23  Matt Kraai  <kraai@@alumni.cmu.edu>

	* include/bits/locale_facets.tcc: Remove old comments.

2002-01-23  Andreas Tobler  <toa@@pop.agri.ch>

	* include/bits/locale_facets.tcc (__convert_to_v): Change template
	parameter to _Tv.
	(__convert_from_v): Same.

2002-01-23  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h (num_get::_M_extract_int): Change
	prototype.
	* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
	__max_digits checks, adjust arguments.
	(num_get::do_get(*)): Changeup.

2002-01-23  Loren Rittle <ljrittle@@acm.org>

        * config/locale/c_locale_generic.cc: Fix typename usage.

2002-01-22  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/locale/c_locale_generic.cc: Fix.

2002-01-22  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/22_locale/messages.html: Remove angle brackets.
	* docs/html/17_intro/TODO: Add.

2002-01-22  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
	* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
	* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
	* testsuite/27_io/ostream_inserter_other.cc: Enable test04.

2002-01-22  Benjamin Kosnik  <bkoz@@redhat.com>

	Audit for LANG independence.
	* include/bits/localefwd.h: Tweaks.
	* include/bits/locale_facets.tcc (money_get::do_get(long double)):
	Use __convert_to_v.
	(time_get::do_get_year): Same.
	(__convert_from_v): Add.
	(num_put::_M_convert_float): Use.
	(num_put::_M_convert_int): Same.
	(money_put::do_put): Same.

	* src/locale-inst.cc: Add instantiations for __convert_from_v.
	* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
	* config/locale/time_members_generic.cc:
	* config/locale/messages_members_gnu.cc: Same.
	* config/locale/messages_members_gnu.h: Same.

	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
	* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
	* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/collate_members_char.cc (test02): New.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/ctype_members_char.cc (test03): New.
	* testsuite/22_locale/messages_members_char.cc (test02): New.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
	* testsuite/22_locale/money_get_members_char.cc (test04): New.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
	* testsuite/22_locale/money_put_members_char.cc (test04): New.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/numpunct_members_char.cc (test02): New.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/time_put_members_char.cc (test03): New.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
	* testsuite/22_locale/time_get_members_char.cc (test07): New.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/num_get_members_char.cc (test03): New.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/num_put_members_char.cc (test03): New.

	* testsuite/22_locale/time_get_members_char.cc: Fixups for global
	locale issues.
	* testsuite/22_locale/time_get_members_char.cc: Same.

2002-01-22  Benjamin Kosnik  <bkoz@@redhat.com>

	libstdc++/5280
	* include/bits/localefwd.h: Tweak comments.
	* include/bits/locale_facets.h (__convert_to_v): Add.
	* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
	(num_get::do_get(float)): Same.
	(num_get::do_get(long double)): Same.
	(num_get::do_get(bool)): Same.
	(num_get::do_get(long)): Same.
	(num_get::do_get(long long)): Same.
	(num_get::do_get(unsigned int)): Same.
	(num_get::do_get(unsigned short)): Same.
	(num_get::do_get(unsigned long)): Same.
	(num_get::do_get(unsigned long long)): Same.
	* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
	* config/locale/c_locale_generic.cc: Same.

2002-01-22  Loren Rittle <ljrittle@@acm.org>

	* include/Makefile.am (c_base_builddir): Remove redundant slash.
	(std_builddir): Likewise.
	(std_headers_rename): Fix cut-n-paste typo.
	(install-data-local): Concat path per element instead of once to
	first element of list.
	* include/Makefile.in: Rebuilt.

2002-01-22  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/os/aix/bits/ctype_noninline.h: Fix formatting.
	* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
	* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.

2002-01-20  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h (ctype<char>::classic_table):
	Remove definition.
	(ctype<char>::_S_ctable): Remove.
	* config/os/gnu-linux/bits/ctype_noninline.h
	(ctype<char>::_S_table): Remove definition.
	(ctype<char>::classic_table): Define.
	(ctype<char>::ctype): Replace _S_ctable with classic_table().
	* config/os/aix/bits/ctype_noninline.h: Same.
	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
	* config/os/djgpp/bits/ctype_noninline.h: Same.
	* config/os/generic/bits/ctype_noninline.h: Same.
	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
	* config/os/hpux/bits/ctype_noninline.h: Same.
	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
	* config/os/mingw32/bits/ctype_noninline.h: Same.
	* config/os/newlib/bits/ctype_noninline.h: Same.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.

2002-01-20  Danny Smith  <dannysmith@@users.sourceforge.net>

	* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
	of _pctype. Use to define _S_ctable.  Add definition for alternate
	ctor.  Initialise _M_ctable to _S_ctable in ctors.
	(do_toupper, do_tolower): Use inline code appropriate for C-locale
	rather than ::toupper, ::tolower.

2002-01-18  Loren Rittle <ljrittle@@acm.org>

	* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
	Add specialization for FreeBSD systems only to avoid losing test
	only due to extra precision unmentioned in system headers.

2002-01-18  David Billinghurst <David.Billinghurst@@riotinto.com>

	* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo

2002-01-17  Nick Clifton  <nickc@@cambridge.redhat.com>

	* testsuite/testsuite_hooks.h: Fix comment typo.  Memory
	limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.

2002-01-17  Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.

2002-01-17  David Edelsohn  <edelsohn@@gnu.org>

	* configure.target: Define OPT_LDFLAGS for AIX case.

2002-01-17  Gabriel Dos Reis  <gdr@@merlin.codesourcery.com>

	* include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
	__glibcpp_double_has_quiet_NaN): Correct mispelling.

2002-01-17  Andreas Tobler  <toa@@pop.agri.ch>

	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.

2002-01-16  David Edelsohn  <dje@@watson.ibm.com>

	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
	SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

2002-01-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/Makefile.am (c_base_headers_rename): New.
	(c_base_headers_extra): New.
	(stamp-c_base): Modify.
	(install-data-local): Use both.
	* include/Makefile.in: Regenerate.
	* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
	cstdio ctime cwctype]: Move to..
	* include/c/std_*: Here.
	* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
	cstdio ctime cwctype]: Move to..
	* include/c_std/std_*: Here.

	Alexandre Oliva  <aoliva@@redhat.com>
	* include/Makefile.am (.PRECIOUS): Add rule.
	* include/Makefile.in: Regenerate.

2002-01-16  Benjamin Kosnik  <bkoz@@redhat.com>
            Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* include/bits/stl_iterator.h (reverse_iterator::_M_current):
	Deuglify, should be current.
	(back_insert_iterator::_M_container): Deuglify, should be container.
	(front_insert_iterator::_M_container): Same.
	(insert_iterator::_M_container): Same.
	* testsuite/24_iterators/reverse_iterator.cc: Add check.
	* testsuite/24_iterators/back_insert_iterator.cc: Add check.
	* testsuite/24_iterators/front_insert_iterator.cc: Same.
	* testsuite/24_iterators/insert_iterator.cc: Same.

2002-01-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h (ctype<char>::classic_table): Make
	static.
	(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
	* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
	* config/os/newlib/bits/ctype_noninline.h: Same.
	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
	* config/os/hpux/bits/ctype_noninline.h: Same.
	* config/os/djgpp/bits/ctype_noninline.h: Same.
	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
	* config/os/aix/bits/ctype_noninline.h: Same.

	Testcase by Dietmar Khl via Peter Schmid
	* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
	classic_table().

2002-01-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* libmath/signbitl.c: Copyright years as list, not range.
	* libmath/Makefile.am: Same.
	* libmath/Makefie.in: Regenerate.
	* libmath/signbit.c: Same.
	* libmath/nan.c: Same.
	* libmath/copysignf.c: Same.
	* libmath/signbitf.c: Same.
	* testsuite/22_locale/money_get_members_char.cc: Same.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
	* testsuite/22_locale/money_put_members_char.cc: Same.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
	* testsuite/22_locale/time_get_members_char.cc: Same.
	* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
	* testsuite/22_locale/time_put_members_char.cc: Same.
	* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
	* testsuite/21_strings/nonmember.cc: Same.
	* testsuite/21_strings/compare.cc: Same.
	* testsuite/27_io/stringstream.cc: Same.
	* testsuite/27_io/stringbuf.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/ios_manip_basefield.cc: Same.
	* testsuite/27_io/ios_manip_fmtflags.cc: Same.
	* include/bits/cpp_type_traits.h: Same.
	* include/bits/generic_shadow.h: Same.
	* include/bits/gslice_array.h: Same.
	* include/bits/gslice.h: Same.
	* include/bits/indirect_array.h: Same.
	* include/bits/slice_array.h: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/streambuf_iterator.h: Same.
	* include/bits/valarray_array.tcc: Same.
	* include/bits/valarray_meta.h: Same.
	* include/bits/valarray_array.h: Same.
	* config/os/mingw32/bits/ctype_noninline.h: Same.
	* config/os/mingw32/bits/ctype_base.h: Same.
	* config/os/hpux/bits/ctype_noninline.h: Same.
	* config/os/hpux/bits/ctype_base.h: Same.
	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
	* config/os/gnu-linux/bits/ctype_base.h: Same.
	* config/os/generic/bits/ctype_noninline.h: Same.
	* config/os/generic/bits/ctype_base.h: Same.

	* libsupc++/tinfo.h: Tweaks.

2002-01-15  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
	* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
	* testsuite/22_locale/ctype_members_char.cc: Tweak.

2002-01-15  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
	(num_put::do_put(void*)): Fix.
	* testsuite/22_locale/num_put_members_char.cc (test02): Add.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
	* testsuite/22_locale/num_get_members_char.cc (test02): Add
	long double, void, bool types.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.

2002-01-15  Benjamin Kosnik  <bkoz@@redhat.com>
	    Alexandre Oliva  <aoliva@@redhat.com>

	* libmath/Makefile.am (LINK): Add --tag CC.
	* libmath/Makefile.in: Regenerate.

2002-01-15  John David Anglin  <dave@@hiauly1.hia.nrc.ca>

	* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
	of character to attribute mapping table.

2002-01-15  David Billinghurst <David.Billinghurst@@riotinto.com>

	* testsuite/26_numerics/c99_classification_macros_c.cc
	Remove dg-error and dg-excess-errors comments.

2002-01-14  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.tcc (time_put::put): Correct output
	iterator positions.
	* testsuite/22_locale/time_put_members_char.cc (test02): Add.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
	* testsuite/22_locale/time_get_members_char.cc (test06): Add.

2002-01-14  Craig Rodrigues  <rodrigc@@gcc.gnu.org>

	* docs/html/17_intro/porting-howto.xml: Update filebuf section.

2002-01-14  Paolo Carlini  <pcarlini@@unitus.it>
	    Nathan Myers  <ncm@@cantrip.org>

	* include/bits/basic_string.h
	(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
	temporaries (i.e., call _M_replace_safe) when possible.
	(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
	(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
	(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
	(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
	(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
	* include/bits/basic_string.tcc
	(replace(__pos1, __n1, __str, __pos2, __n2)): Call
	replace(__pos, __n1, __s, __n2).
	* testsuite/21_strings/replace.cc (test03): New testcases.

	* include/bits/basic_string.h (insert(__pos, __s, __n)):
	Adjust comparison wrt overflow.

2002-01-12  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/Makefile.am (std_headers_rename): New variable.
	(install-data-local): Use it.
	* include/Makefile.in: Regenerate.

2002-01-12  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.tcc (money_put::do_put(string):
	Correct output iterator value.
	* testsuite/22_locale/money_put_members_char.cc (test03): Add.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.

2002-01-11  Phil Edwards  <pme@@gcc.gnu.org>

	* include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
	previous commit.

2002-01-11  Phil Edwards  <pme@@gcc.gnu.org>

	* include/Makefile.am (std_headers):  Update list with new names.
	(stamp-std):  Link to standardized name.
	* include/Makefile.in:  Regenerate.

	* include/std/algorithm, include/std/bitset, include/std/complex,
	include/std/deque, include/std/fstream, include/std/functional,
	include/std/iomanip, include/std/ios, include/std/iosfwd,
	include/std/iostream, include/std/istream, include/std/iterator,
	include/std/limits, include/std/list, include/std/locale,
	include/std/map, include/std/memory, include/std/numeric,
	include/std/ostream, include/std/queue, include/std/set,
	include/std/sstream, include/std/stack, include/std/stdexcept,
	include/std/streambuf, include/std/string, include/std/utility,
	include/std/valarray, include/std/vector:  Rename to...

	* include/std/std_algorithm.h, include/std/std_bitset.h,
	include/std/std_complex.h, include/std/std_deque.h,
	include/std/std_fstream.h, include/std/std_functional.h,
	include/std/std_iomanip.h, include/std/std_ios.h,
	include/std/std_iosfwd.h, include/std/std_iostream.h,
	include/std/std_istream.h, include/std/std_iterator.h,
	include/std/std_limits.h, include/std/std_list.h,
	include/std/std_locale.h, include/std/std_map.h,
	include/std/std_memory.h, include/std/std_numeric.h,
	include/std/std_ostream.h, include/std/std_queue.h,
	include/std/std_set.h, include/std/std_sstream.h,
	include/std/std_stack.h, include/std/std_stdexcept.h,
	include/std/std_streambuf.h, include/std/std_string.h,
	include/std/std_utility.h, include/std/std_valarray.h,
	include/std/std_vector.h:  ...this.

2002-01-11  Loren Rittle <ljrittle@@acm.org>

	* include/Makefile.am (extra_target_headers): New list of all
	target files built with ad hoc naming rules.
	(stamp-*): Handle LN_S failure in manner portable across make
	implementations.
	(install-data-local): Install header files from human-maintained
	file lists and directory components instead of non-robust find.
	* include/Makefile.in: Rebuilt.
d1411 2
a1412 1
2002-01-11  Benjamin Kosnik  <bkoz@@redhat.com>
d1414 4
a1417 297
	* include/bits/locale_facets.tcc (money_get::do_get(string)):
	Check for zero-length negative sign before adding it to output
	string.
	(money_get::do_get(long double)): Return beg.
	* testsuite/22_locale/money_get_members_char.cc (test02): Add
	iterator checks.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.

2002-01-10  David Seymour  <seymour_dj@@yahoo.com>

	libstdc++/5331
	* include/bits/locale_facets.h (num_get<>): Return advanced iterator
	for _M_extract_float and _M_extract_int
	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
	(num_get<>::_M_extract_int): Likewise, all callers changed
	* testsuite/22_locale/num_get_members_char.cc: Testcase

2002-01-09  Paolo Carlini <pcarlini@@unitus.it>

        * libsupc++/exception (bad_exception): Add comment.
        * libsupc++/new (bad_alloc): Same.
        * libsupc++/typeinfo (bad_cast, bad_typeid): Same.

2002-01-09  Paolo Carlini <pcarlini@@unitus.it>

	libstdc++/3150: revert 2001-11-30 commit. DR266 only means
	that the destructors should be removed from the descriptions
	in the standard: writing them explicitly allows the vtable
	heuristic to work. For additional information see:
	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
	* libsupc++/exception (bad_exception::~bad_exception()):
	Reintroduce declaration.
	* libsupc++/new (bad_alloc::~bad_alloc()): Same.
	* libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
	(bad_typeid::~bad_typeid()): Same.
	* libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
	Reintroduce definition.
	* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
	* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
	(bad_typeid::~bad_typeid()): Same.

2002-01-09  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
	* include/Makefile.in: Regenerate.

2002-01-09  Bo Thorsen  <bo@@suse.co.uk>

	* config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
	definition.

2002-01-08  Benjamin Kosnik  <bkoz@@redhat.com>

        libstdc++/2913
        libstdc++/4879
	* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
	return value of _M_file->sync().
	(filebuf::showmanyc): Check for is_open.
	* include/std/fstream (filebuf::sync): Tweak.
	* testsuite/27_io/filebuf.cc: Tweak.

2002-01-08  John Fardo  <jfardo@@laurelnetworks.com>
	    Brad Garcia  <garsh@@attbi.com>

	* testsuite/27_io/filebuf_members.cc: Add test.

2002-01-07  Benjamin Kosnik  <bkoz@@redhat.com>
 	    Craig Rodrigues  <rodrigc@@mediaone.net>

	libstdc++/5174
	* po/Makefile.am (mkinstalldirs): Add.
	* po/Makefile.in: Regenerate.

2002-01-07  David Billinghurst  <David.Billinghurst@@riotinto.com>

	* testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
	testsuite/lib/prune.exp: Delete lines ":In function ..."  from
	compiler output.
	* testsuite/23_containers/map_operators.cc: Remove
	dg-excess-errors comment.
	* testsuite/23_containers/set_operators.cc: Likewise.

2002-01-06  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/stl_function.h:  Remove two lines of comments;
	adjust copyright years.

2002-01-04  Benjamin  Kosnik  <bkoz@@redhat.com>

	* include/Makefile.am (std_headers): Remove cXXX from list.
	(c_base_srcdir): No bits subdirectory.
	(c_base_builddir): Same.
	(c_base_headers): Adjust names, add ciso646.
	(bits_headers): Remove std_xxx.h headers.
	* include/Makefile.in: Regenerate.

	* include/ext/iterator: Adjust includes.
	* include/ext/ropeimpl.h: Same.
	* include/ext/stl_hash_fun.h: Same.
	* include/ext/algorithm: Same.

	* include/backward/bvector.h: Adjust includes.
	* include/backward/vector.h: Same.
	* include/backward/strstream: Same.
	* include/backward/streambuf.h: Same.
	* include/backward/stack.h: Same.
	* include/backward/set.h: Same.
	* include/backward/queue.h: Same.
	* include/backward/multiset.h: Same.
	* include/backward/multimap.h: Same.
	* include/backward/map.h: Same.
	* include/backward/list.h: Same.
	* include/backward/iterator.h: Same.
	* include/backward/iostream.h: Same.
	* include/backward/iomanip.h: Same.
	* include/backward/fstream.h: Same.
	* include/backward/deque.h: Same.
	* include/backward/complex.h: Same.

	* include/bits/std_algorithm.h: Move to...
	* include/std/algorithm: ...here.
	* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
	std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
	std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
	std_deque.h, std_istream.h, std_numeric.h, std_string.h,
	std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
	std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
	std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
	Same.

	* include/c_std/bits/std_cassert.h: Move to...
	* include/c_std/cassert: Here.
	* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
	std_cwctype.h: Same.
	* include/c_std/cmath: Adjust cmath.tcc include.
	* include/c_std/cstdlib: Adjust includes.
	* include/c_std/cwchar: Same.
	* include/c_std/ctime: Same.
	* include/c_std/cstring: Same.
	* include/c_std/cstdio: Same.
	* include/c_std/bits: Remove directory.

	* include/c/bits/std_cassert.h: Move to...
	* include/c/cassert: Here.
	* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
	std_cwctype.h: Same.
	* include/c/bits: Remove directory.

	* include/std/cwctype: Remove.
	* include/std/cwchar: Remove.
	* include/std/ctime: Remove.
	* include/std/cstring: Remove.
	* include/std/cstdlib: Remove.
	* include/std/cstdio: Remove.
	* include/std/cstddef: Remove.
	* include/std/cstdarg: Remove.
	* include/std/csignal: Remove.
	* include/std/csetjmp: Remove.
	* include/std/cmath: Remove.
	* include/std/clocale: Remove.
	* include/std/climits: Remove.
	* include/std/ciso646: Remove.
	* include/std/cfloat: Remove.
	* include/std/cerrno: Remove.
	* include/std/cctype: Remove.
	* include/std/cassert: Remove.

	* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
	files and subsituting <xxx>.
	* include/bits/valarray_array.h: Same.
	* include/bits/stl_uninitialized.h: Same.
	* include/bits/stl_alloc.h: Same.
	* include/bits/stl_algobase.h: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/pthread_allocimpl.h: Same.
	* include/bits/ostream.tcc: Same.
	* include/bits/localefwd.h: Same.
	* include/bits/locale_facets.tcc: Same.
	* include/bits/locale_facets.h: Same.
	* include/bits/istream.tcc: Same.
	* include/bits/char_traits.h: Same.
	* include/bits/boost_concept_check.h: Same.
	* include/bits/basic_file.h: Same.
	* include/std/bitset: Same.
	* include/std/complex: Same.
	* include/std/fstream: Same.
	* include/std/functional: Same.
	* include/std/ios: Same.
	* include/std/iostream: Same.
	* include/std/ostream: Same.
	* include/std/sstream: Same.
	* include/std/streambuf: Same.
	* include/std/string: Same.
	* include/std/iterator: Same.
	* include/std/valarray: Same.

	* src/ios.cc: Adjust includes.
	* src/valarray-inst.cc: Same.
	* src/string-inst.cc: Same.
	* src/stl-inst.cc: Same.
	* src/stdexcept.cc: Same.
	* src/misc-inst.cc: Same.
	* src/localename.cc: Same.
	* src/locale-inst.cc: Same.
	* src/locale.cc: Same.
	* src/limits.cc: Same.
	* src/concept-inst.cc: Same.
	* src/complex_io.cc: Same.
	* src/codecvt.cc: Same.
	* src/bitset.cc: Same.
	* src/cmath.cc: Same.

2002-01-04  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/stl_tree.h (rb_tree):  Move to...
	* include/ext/rb_tree:  ...here, new file.
	* include/Makefile.am (ext_headers):  Add new file.
	* include/Makefile.in:  Regenerate.
	* include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
	return_temporary_buffer, struct temporary_buffer):  Move to...
	* include/ext/memory:  ...here.
	* testsuite/ext/headers.cc:  Include <ext/rb_tree>.
	* include/backward/tempbuf.h:  Include <ext/memory>, tweak.
	* include/backward/tree.h:  Include <ext/rb_tree), tweak.

2002-01-03  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
	* include/ext/numeric:  ...here, new file.
        * include/bits/stl_function.h (identity_element, unary_compose,
	binary_compose, compose1, compose2, identity, select1st,
	select2nd, project1st + helper, project2nd + helper,
	constant_void_fun + helper, constant_unary_fun + helper,
	costant_binary_fun + helper, constant0, constant1, constant2,
	subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
        * include/ext/functional:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new files.
        * include/Makefile.in:  Regenerate.
        * testsuite/ext/headers.cc:  Include <ext/numeric> and
	<ext/functional>.
	* include/backward/algo.h:  Include <ext/numeric>, tweak.
	* include/backward/function.h:  Include <ext/functional>, tweak.
        * include/ext/ropeimpl.h:  Include <ext/numeric>.

2002-01-03  Jeffrey A Law  <law@@redhat.com>

        * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
        __strtoull declarations with __extension__.

2002-01-03  David Billinghurst <David.Billinghurst@@riotinto.com>

	* testsuite/lib/prune.exp: Correct regular expression for
	-ffunction-sections

2002-01-02  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
	Change concept checks, as with lower_bound and PR 2054.
	* testsuite/ext/concept_checks.cc:  Expand test to include those.

2002-01-02  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/boost_concept_check.h:  Import some changes from
	upsteam (Boost) version.

2002-01-02  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/stl_algobase.h (copy_n + helpers,
	lexicographical_compare_3way + helpers):  Move to...
	* include/ext/algorithm:  ...here.
        * include/bits/stl_uninitialized.h (uninitialized_copy_n +
        helpers):  Move to...
        * include/ext/memory:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new file.
        * include/Makefile.in:  Regenerate.
        * testsuite/ext/headers.cc:  Include <ext/memory>.
	* include/backward/algobase.h:  Include <ext/memory> and
	<ext/algorithm>, tweak.
        * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
	* include/ext/stl_rope.h:  Include <ext/memory>, tweak.

2002-01-01  Roger Sayle <roger@@eyesopen.com>

	* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
	equivalent ___builtin__ versions.

	* include/c_shadow/bits/std_cmath.h: All __builtin math functions
	are available in libstdc++ as the necessary stub implementations
	are provided by libmath/stubs.c.
d1419 1
a1419 1
2002-01-01  Jason Thorpe  <thorpej@@wasabisystems.com>
d1421 1
a1421 2
	* configure.in: Add support for NetBSD cross compiles.
	* configure: Regenerate.
@


1.1.1.10
log
@Gcc 3.2.1-prerelease libf2c bits from the FSF anoncvs repo gcc-3_2-branch on 1-Sep-2002 00:00:01 EDT.
@
text
@a0 910
2002-08-26  Phil Edwards  <pme@@gcc.gnu.org>

	* Makefile.am (check-abi):  Specify current directory.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
	abi_baseline_triplet in baseline_file.
	* Makefile.in, aclocal.m4, configure:  Regenerate.
	* configure.target:  Add abi_baseline_triplet with default.
	* testsuite/abi_check.cc:  More error checking.

2002-08-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
	GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
	variables.
	* aclocal.m4: Regenerate.
	* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
	native compiling.
	* testsuite/Makefile.in: Regenerate.

2002-08-22  Benjamin Kosnik  <bkoz@@redhat.com>
	    Phil Edwards  <pme@@gcc.gnu.org>
	    Ulrich Drepper  <drepper@@redhat.com>
	
	* Makefile.am (check-abi): New rule.
	* Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
	(abi_check_SOURCES): Add.
	* testsuite/Makefile.in: Regenerate.	
	* testsuite/abi_check.cc: New file.
	* config/abi: Add.
	* config/abi/i686-pc-linux-gnu: Add.
	* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.

2002-08-19  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (libtool_VERSION): Update to 5:1:0.
	* configure: Regenerate.

2002-08-15  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
	_M_buf_size_opt to zero when unbuffering.
	* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
	Consistency checks for _M_buf_size_opt.

	Revert PR libstdc++/7445
	* src/locale.cc (locale::classic): Revert.
	
	* docs/html/17_intro/TODO: Add.

2002-08-15  Danny Smith  <dannysmith@@users.sourceforge.net>
            Benjamin Kosnik  <bkoz@@redhat.com>
	
	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
	not snextc.
	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.

2002-08-15  Danny Smith  <dannysmith@@users.sourceforge.net>

	* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
	(scan_is): Use this->is.
	(scan_not): Likewise.
	
2002-08-15  Rick Danos  <rdanos@@hotmail.com>

	PR libstdc++/7461
	* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
	* config/os/newlib/ctype_inline.h (is): Use static_cast.

2002-08-14  Release Manager

	* GCC 3.2 Released.

2002-08-06  Benjamin Kosnik  <bkoz@@redhat.com>

	Revert PR libstdc++/6594
	* src/strstream.cc (strstreambuf): Revert.
	(strstreambuf::overflow): Same.
	(strstreambuf::~strstreambuf): Same.	
	* testsuite/backward/strstream_members.cc (test02): Add.

	* testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.

2002-08-01  Benjamin Kosnik  <bkoz@@redhat.com>
	    Jakub Jelinek  <jakub@@redhat.com>
	
	* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
	GLIBCPP_3.1 to GLIBCPP_3.2.

2002-07-31  Benjamin Kosnik  <bkoz@@redhat.com>
	    Mark Mitchell  <mark@@codesourcery.com>

	PR libstdc++/7442
	* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
	Change to __hwm_bit.
	(__class_type_info): And here.

2002-07-31  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7442
	* libsupc++/cxxabi.h 
	(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
	(__base_class_info::__base): Change to __base_type. 2.9.5p6c
	(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
	(__vmi_class_type_info::__base_info): Don't make const, of type
	__base_class_type_info, as per 2.9.5p6c
	(__pbase_type_info::__qualifier_flags): Change to __flags, as per
	2.9.5p7.
	(__pbase_type_info::__qualifier_masks): Change to __masks, as per
	2.9.5p7.
	(__pointer_to_member_type_info::__context_class): Change member to
	__context, as per 2.9.5p9.
	* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
	__context.
	* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
	__flags.
	* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
	__base_type.
	* libsupc++/tinfo.cc (__do_dyncast): Same.
	* libsupc++/tinfo.cc (__do_upcast): Same.

2002-07-31  Simon Whomsley  <whomsley@@avacadcam.com>

	* docs/html/22_locale/howto.html: Fix.

2002-07-31  Alex Kompel  <shurik@@sequoiap.com>

	PR libstdc++/7445
	* src/locale.cc (locale::classic): Move locks inside !_S_classic
	block.

2002-07-30  Benjamin Kosnik  <bkoz@@redhat.com>
	    Gabriel Dos Reis  <gdr@@nerim.net>

	* include/bits/char_traits.h: Remove generic definitions.
	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
	eof, not -2.
	* include/bits/istream.tcc (istream::readsome): Don't check
	against eof, instead use constants.
	(istream::sync): Same.
	(istream::sentry::sentry): Use eq_int_type.
	(istream::get): Same.
	* include/bits/ostream.tcc: Change __pad to 
	__pad<_CharT, _Traits>::_S_pad. 
	* include/bits/locale_facets.h: Add __pad_traits generic and
	ostreambuf_iterator specialization.
	* include/bits/locale_facets.tcc: Change __pad into struct __pad
	with a _CharT and _Traits template parameter and _S_pad static
	member function.
	* src/locale-inst.cc: Update __pad instantiations.
	
	* include/std/std_fstream.h: Declare _M_underflow_common
	specializations.
	* src/fstream.cc: New. Add _M_underflow_common specializations.
	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
	(filebuf::_M_underflow_common(bool)): Remove generic version, as
	sys_ungetc and custom int_types don't get along.
	* include/std/std_streambuf.h: Add _M_pos.
	* src/Makefile.am (sources): Add fstream.cc.
	* src/Makefile.in: Regenerate.

	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
	* testsuite/27_io/filebuf.cc: ...here.
	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
	specialization for both.
	* testsuite/27_io/streambuf.cc: Add instantiation test,
	testsuite_hooks include.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/ostream.cc: Same.	
	* testsuite/27_io/fstream.cc: Same.
	* testsuite/27_io/stringstream.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/stringbuf.cc: Same.

2002-07-26  Phil Edwards  <pme@@gcc.gnu.org>

	* libsupc++/new (placement delete):  Remove unused paramater names.

2002-07-25  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7216
	* include/std/std_istream.h (basic_iostream): Add typedefs for
	char_type, int_type, pos_type, off_type, and traits_type.
	* testsuite/27_io/iostream.cc (test01): Add typedef tests.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/stringbuf.cc: Replace content, move to...
	* testsuite/27_io/stringbuf_members.cc: ...here.	
	* testsuite/27_io/streambuf.cc: Replace content, move to...
	* testsuite/27_io/streambuf_members.cc: ...here.	
	* testsuite/27_io/stringstream.cc: Replace content, move to...
	* testsuite/27_io/stringstream_members.cc: ...here.
	* testsuite/27_io/ios.cc: New file.
	* testsuite/27_io/fstream.cc: New file.
	* testsuite/27_io/ifstream.cc: New file.	
	* testsuite/27_io/ofstream.cc: New file.		
	* testsuite/27_io/istringstream.cc: New file.	
	* testsuite/27_io/ostringstream.cc: New file.	
	
2002-07-25  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7220
	* include/bits/istream.tcc (istream::ignore): Don't extract on
	zero.
	* testsuite/27_io/istream_unformatted.cc (test10): Add.

2002-07-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7222
	* src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
	* testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
	
2002-07-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7286
	* libsupc++/new: Add placement delete.
	* testsuite/18_support/new_delete_placement.cc: New.
	
2002-07-07  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/7186
	* include/bits/stl_deque.h (_Deque_iterator::operator-):
	Make non-member, as already happens for the comparison
	operators in accord with DR179 (Ready).
	* testsuite/23_containers/deque_operators.cc: Add test02.

2002-07-04  Benjamin Kosnik  <bkoz@@redhat.com>
	    Jack Reeves  <jackw_reeves@@hotmail.com>

	* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
	size_t, from int_type.
 	(basic_streambuf::_M_buf_size_opt): Same.
 	(basic_streambuf::_S_pback_sizex): Same.	
	* include/bits/streambuf.tcc: Same.
	* include/std/std_streambuf.h (basic_streambuf::snextc): Use
	eq_int_type.
	(basic_streambuf::uflow): Same.
	* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
	to_char_type.
	* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
	* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
	eq_int_type.
	(basic_streambuf::xsputn): Same.
	(__copy_streambufs): Same.

2002-07-02  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6642
	* include/bits/stl_iterator.h
	(__normal_iterator::operator-(const __normal_iterator&)):
	Make non-member, as already happens for the comparison
	operators in accord with DR179 (Ready).
	* testsuite/24_iterators/iterator.cc: Add test from the PR.

2002-07-02  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6410
	* include/bits/locale_facets.h (moneypunct::moneypunct): Add const
	char* name parameter.
	* config/locale/gnu/monetary_members.cc: Use it.
	* config/locale/generic/monetary_members.cc: Same.
	* src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.

2002-07-01  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (libtool_VERSION): Bump to 5:0:0.
	* configure: Regenerate.

2002-05-19  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/23_containers/deque_operators.cc (test01):
	Fix minor typo in last commit.

2002-05-18  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6503
	* include/bits/stl_deque.h (_Deque_iterator::operator==,
	operator!=, operator<, operator>, operator>=, operator<=):
	Make non-member functions, to allow comparing const and
	non-const iterators in any order.
	* testsuite/23_containers/deque_operators.cc: New testfile.

2002-07-25  Release Manager

	* GCC 3.1.1 Released.

2002-07-20  Phil Edwards  <pme@@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html,
	docs/doxygen/user.cfg.in, docs/html/Makefile,
	docs/html/documentation.html, docs/html/17_intro/porting.html,
	docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html,
	docs/html/ext/howto.html, docs/html/ext/lwg-active.html,
	docs/html/ext/lwg-defects.html, docs/html/faq/index.html,
	docs/html/faq/index.txt:  Merge from trunk.

2002-07-16  Andreas Schwab  <schwab@@suse.de>

	* libsupc++/new (set_new_handler): Declare to not throw any
	exceptions.
	* libsupc++/new_handler.cc (set_new_handler): Likewise.

2002-07-15  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix
	print to match vendor <ctype.h>.

2002-07-03  Steev Wilcox  <steev@@paradigmds.com>
	 
	PR libstdc++/7057
	* include/ext/stl_hashtable.h: Fix.
	* testsuite/ext/hash_map.cc: New.

2002-07-03  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/7097
        * include/c/std_cwchar.h: Fix.

2002-07-03  Jack Reeves  <jackw_reeves@@hotmail.com>
            Kenny Simpson  <theonetruekenny@@yahoo.com>
            Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/3946
	* testsuite/20_util/auto_ptr.cc (test08):  New test.
	* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
	(auto_ptr::operator auto_ptr_ref):  Fix typo.
	General reformatting and doxygenating of the whole file.

2002-07-03  Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/7173
	* acinclude.m4:  Simplify determination of gcc_version, and move
	up to GLIBCPP_CONFIGURE.
	* configure.in (release_VERSION):  Really remove.
	(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
	* aclocal.m4, configure:  Regenerate.

2002-07-02  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/configopts.html, docs/html/install.html:  Tweaks.
	* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
	include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
	include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.

2002-06-28  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/c_compatibility: New.
	* include/c_compatibility/assert.h: New.
	* include/c_compatibility/ctype.h: New.
	* include/c_compatibility/errno.h: New.
	* include/c_compatibility/float.h: New.
	* include/c_compatibility/iso646.h: New.
	* include/c_compatibility/limits.h: New.
	* include/c_compatibility/locale.h: New.
	* include/c_compatibility/math.h: New.
	* include/c_compatibility/setjmp.h: New.
	* include/c_compatibility/signal.h: New.
	* include/c_compatibility/stdarg.h: New.
	* include/c_compatibility/stddef.h: New.
	* include/c_compatibility/stdio.h: New.
	* include/c_compatibility/stdlib.h: New.
	* include/c_compatibility/string.h: New.
	* include/c_compatibility/time.h: New.
	* include/c_compatibility/wchar.h: New.
	* include/c_compatibility/wctype.h: New.

	* include/c/std_cerrno.h: Get out of the way... define errno.
	* include/c/std_cmath.h: Add abs, modf overloads.
	Undefine C99 isms. Still not sure how to deal with this sanely.
	* include/c/std_csetjmp.h: Tweak.
	* include/c/std_cwchar.h: Include cstddef for size_t.

	* include/c_std/std_cmath.h: Remove extra function.
	
	Pendantic std usage in testsuites.	
	* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
	with std.
	* testsuite/17_intro/header_cwchar.cc: Tweak.
	* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
	std::setlocale.
	* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
	* testsuite/22_locale/ctype_to_char.cc (test05): Same.
	* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
	* testsuite/22_locale/ctype_is_char.cc (test05): Same.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
	* testsuite/22_locale/time_get_members_char.cc (test08): Same.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/time_put_members_char.cc (test04): Same.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/num_put_members_char.cc (test04): Same.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
	* testsuite/22_locale/num_get_members_char.cc: Same.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
	* testsuite/22_locale/money_put_members_char.cc (test07): Same.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
	* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
	* testsuite/22_locale/money_get_members_char.cc (test08): Same.
	* testsuite/22_locale/messages_members_char.cc (test03): Same.
	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
	* testsuite/22_locale/collate_members_char.cc (test04): Same.
	* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
	* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
	* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.

2002-06-28  Benjamin Kosnik  <bkoz@@redhat.com>

	* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
	c_sources.

2002-06-28  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
	Use size_type instead of unsigned long.

2002-06-28  Steve Ellcey  <sje@@cup.hp.com>

	* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
	wchar types.
	(_S_min_len): Ditto.

2002-06-28  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/Makefile.am: Add rules.
	* include/Makefile.in: Regenerate.

	* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* configure.target (c_model, c_compatibility): Add.
	
	* libsupc++/Makefile.am (c_sources): New.
	(libsupc___la_SOURCES): Add c_sources.
	(LTCOMPILE): Remove INCLUDES.
	(GCC_INCLUDES): New.
	(C_COMPILE): New, like COMPILE but without INCLUDES.
	(cxa_demangle.o): Use C_COMPILE.
	(dyn-string.o): Use C_COMPILE.	
	
	* include/c/std_cstdarg.h: Define __need___va_list.  
	* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
	need_NULL, need_offsetof.

2002-06-28  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
	* include/c/std_cwctype.h: Guard.

	* libsupc++/eh_alloc.cc: Tweak include order.
	* libsupc++/pure.cc: Use cstdio.
	* libsupc++/new_op.cc: Remove malloc forward declaration, as
	cstdlib brings it in. Use std::malloc.

	* src/Makefile.am (sources): Remove cmath.cc.
	* src/Makefile.in: Regenerate.
	* src/cmath.cc: Remove.

2002-06-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (INTERFACE): Remove.
	(release_VERSION): Remove.
	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
	(libstdcxx_interface): Change. Use gcc methods to determine version.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.

2002-06-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4: Fix last checkin.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

2002-06-25  DJ Delorie  <dj@@redhat.com>

	* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
	GLIBCPP_TOPREL_CONFIGURE.
	* aclocal.m4: Likewise.
	* configure.in: Call it before AC_CANONICAL_SYSTEM.
	* configure: Regenerate.

2002-06-20  David Edelsohn  <edelsohn@@gnu.org>

	* configure.target (CPULIMITSH): Use powerpc directory for rs6000.

2002-06-14  J.T. Conklin  <jtc@@acorntoolworks.com>

	* configure.in (target_alias): Fix.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.

2002-06-11  J.T. Conklin  <jtc@@acorntoolworks.com>
            Benjamin Kosnik  <bkoz@@redhat.com>
	
	* configure.target: Set os_include_dir to config/os/qnx/qnx6.1
	under *-qnx6.[12]*.
	* configure.in: Add support for *-qnx6.[12]*.
	* configure: Regenerate.

	* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
	New directories.  
	* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
	ctype_noninline.h, os_defines.h: New files.

2002-06-10  Steve Ellcey  <sje@@cup.hp.com>

	* src/locale-inst.cc (__codecvt_abstract_base):
	Put inside _GLIBCPP_USE_WCHAR_T ifdef.
	* include/bits/istream.tcc (basic_istream): Ditto.
	(ws) Ditto.
	(operator>>) Ditto.
	* include/bits/ostream.tcc (basic_ostream): Ditto. 
	(endl): Ditto.
	(ends): Ditto.
	(flush): Ditto.
	(operator<<): Ditto.

2002-06-08  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/backwards/strstream_members.cc: New.

2002-06-08  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/backwards/strstream: Format.
	* src/strstream.cc: Format.
	
2002-06-08  Andreas Schwab  <schwab@@suse.de>

	* src/strstream.cc (strstreambuf::overflow): Set _M_buf,
	_M_buf_size and _M_buf_size_opt to the new buffer and size.

2002-06-08  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/os/generic/bits/ctype_noninline.h: Tweak format.

2002-06-05  David Edelsohn  <edelsohn@@gnu.org>

	* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
	Call external symbol.

2002-06-05  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/money_get_members_char.cc
	(test02): Add decimal point to long double constants.
	* testsuite/22_locale/money_get_members_wchar_t.cc
	(test02): Likewise.
	* testsuite/22_locale/money_put_members_char.cc
	(test02, test03, test06): Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc:
	(test02, test03, test06): Likewise.
	* testsuite/22_locale/num_get_members_char.cc:
	(test02, test01): Likewise; suffix long long constants with LL.
	* testsuite/22_locale/num_get_members_wchar_t.cc:
	(test02, test01): Likewise.
	* testsuite/22_locale/num_put_members_char.cc:
	(test02, test01): Likewise.
	* testsuite/22_locale/num_put_members_wchar_t.cc:
	(test02, test01): Likewise.

2002-06-04  Paolo Carlini  <pcarlini@@unitus.it>
            Gaby Dos Reis  <gdr@@codesourcery.com>

	* include/bits/basic_string.tcc
	(basic_string::_S_construct(forward_iterator_tag):
	Fix typo in null pointer check.
	* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.

2002-06-03  Marc Espie  <espie@@openbsd.org>

        * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
        assembly for old assemblers.                                            

2002-05-31  Marcus Meissner  <meissner@@suse.de>

	PR libstdc++/6886
	* include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
	* testsuite/23_containers/vector_bool.cc (test02):  New test.

2002-05-31  John David Anglin  <dave@@hiauly1.hia.nrc.ca>

	* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
	to 64 for hppa 64-bit port.
	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.

2002-05-30  Marc Espie  <espie@@openbsd.org>

	* configure.in: Always check for sys/types.h.
	* configure: Regenerate.

2002-05-28  Nick Clifton  <nickc@@cambridge.redhat.com>

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
	Rebuild the wrapper file every time this proc is called.

2002-05-28  Loren J. Rittle <ljrittle@@acm.org>

	libstdc++/6641
	* include/bits/c++config (__USE_MALLOC): Report case where
	the user improperly defined it on the command line.

2002-05-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/misc-inst.cc: Define unnecessary algorithm
	instantiations. Break apart instantiations into groupings below.
	* src/fstream-inst.cc: New.
	* src/io-inst.cc: New. 
	* src/istream-inst.cc: New.
	* src/ostream-inst.cc: New.
	* src/streambuf-inst.cc: New.
	* src/sstream-inst.cc: New.
	* src/Makefile.am (sources): Add files.
	* src/Makefile.in: Regenerate.

	* acinclude.m4: Work around automake 1.4-p5 bug, change
	AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
	
2002-05-27  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6795.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h
	(classic_table): Fix.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.

2002-05-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
	_GLIBCPP_USE_WCHAR_T.
	* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
	* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
	* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.

2002-05-26  Carlo Wood  <carlo@@alinoe.com>
            Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6811
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(__enc_traits::operator=): add missing return statement.

2002-05-24  Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/6282
	* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
	(operator>>):  If nothing was extracted, don't fail in the
	zero-length case.
	* testsuite/23_containers/bitset_ctor.cc (test02):  New test.

2002-05-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6701
	* testsuite/22_locale/ctype_narrow_char.cc: New.
	* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.	
	* testsuite/22_locale/ctype_widen_char.cc: New.
	* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
	* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
	* testsuite/22_locale/ctype_is_char.cc: ...this.
	* testsuite/22_locale/ctype_to_char.cc: ...and this.
	* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
	* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
	* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.

	* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
	
2002-05-24  Dale Peakall <dale@@peakall.net>

	PR libstdc++/6701
	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
	* config/locale/generic/ctype_members.cc: Same.
	
2002-05-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6750
	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
	for empty string literal.
	(ostream::operator<<(const _CharT*)): Same.
	(ostream<char>::operator<<(const char*)): Same.
	(ostream<char>::operator<<(streambuf*)): Same.
	* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
	* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
	
2002-05-23  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* configure.in: Update local install.html, configopts.html paths.
	* configure: Regenerate.

	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve
	current limits before setting.

	* acinclude.m4 (enable_symvers): Quote $LD.
	* aclocal.m4: Regenerate.
	* configure: Likewise.
	Fixes PR target/6755.

2002-05-23  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (release_VERSION): Update to 3.1.1.
	(libtool_VERSION): Update to 4:1:0.
	* configure: Regenerate.

2002-05-21  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/stl_pair.h:  Tweak comment markup.

2002-05-21  Phil Edwards  <pme@@gcc.gnu.org>

	* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.

2002-05-19  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
	* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
	* Makefile.in, config.h.in, configure: Regenerate.

	* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
	Return __ctype + 1.
	(ctype:_M_table): Initialize to classic_table(), not __ctype.

	* config/os/irix/irix5.2/bits/os_defines.h
	(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.

2002-05-19  Paolo Carlini  <pcarlini@@unitus.it>
            Jakub Jelinek  <jakub@@redhat.com>

	* testsuite/22_locale/money_get_members_char.cc
	(test01, test02, test04): Use the de_DE@@euro named locale
	instead of de_DE to allow for an uniform behaviour with
	both old and Euro-era localedata; tweak some tests.
	* testsuite/22_locale/money_get_members_wchar_t.cc
	(test01, test02, test04): Likewise.
	* testsuite/22_locale/money_put_members_char.cc
	(test01, test02, test04): Likewise.
	* testsuite/22_locale/money_put_members_wchar_t.cc
	(test01, test02, test04): Likewise.

2002-05-19  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/codecvt_members_char_char.cc
	(test03): Robustify wrt localedata.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
	* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
	* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
	* testsuite/22_locale/money_put_members_char.cc (test07): Likewise. 
	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
	* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
	* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise. 
	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
	* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise. 
	* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise. 
	* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.

2002-05-19  Paolo Carlini  <pcarlini@@unitus.it>

	Test all the facets for the temporary "C" locale switch issue.
	* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
	* testsuite/22_locale/collate_members_char.cc: Add test04.
	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/ctype_members_char.cc: Add test05.
	* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
	* testsuite/22_locale/messages_members_char.cc: Add test03.
	* testsuite/22_locale/money_get_members_char.cc: Add test08.
	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/money_put_members_char.cc: Add test07. 
	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
	* testsuite/22_locale/num_get_members_char.cc: Add test06.
	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 
	* testsuite/22_locale/numpunct_members_char.cc: Add test03.
	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 
	* testsuite/22_locale/time_get_members_char.cc: Add test08.
	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 
	* testsuite/22_locale/time_put_members_char.cc: Add test04.
	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.

	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.

2002-05-19  Benjamin Kosnik  <bkoz@@redhat.com>
	    Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/22_locale/num_put_members_char.cc: Add test04(),
	testing for the locale_facets.tcc entry of the previous commit.
	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.

2002-05-18  Takeshi Kobayakawa  <tskoba@@mte.biglobe.ne.jp>
	
	* config/locale/generic/c_locale.cc
	(__convert_to_v(float, double, long double)):
	Fix the temporary switch to the "C" locale, saving and
	restoring in the proper way the current locale.
	* config/locale/generic/time_members.cc
	(__timepunct<char, wchar_t>::_M_put): Likewise.
	* config/locale/gnu/messages_members.cc
	(messages<char>::do_get): Likewise.
	* config/locale/gnu/messages_members.h
	(messages<_CharT>::do_get): Likewise.
	* config/locale/gnu/time_members.cc
	(__timepunct<char, wchar_t>::_M_put): Likewise.
	* include/bits/locale_facets.tcc (__convert_from_v): Likewise.

2002-05-18  Paolo Carlini  <pcarlini@@unitus.it>
            Nathan Myers  <ncm@@cantrip.org>
            Philip Martin  <philip@@codematters.co.uk>

	* include/bits/basic_string.h
	(replace(i1, i2, _CharT* k1, _CharT* k2),
	replace(i2, i2, const _CharT* k1, const _CharT* k2),
	replace(i1, i2, iterator k1, iterator k2,
	replace(i1, i2, const_iterator k1, const_iterator k2):
	New specializations to optimize for the common cases of
	pointers and iterators.
	(replace(pos, n1, s, n2)): Tweak.
	* include/bits/basic_string.tcc: Tweak comments.
	* testsuite/21_strings/replace.cc (test05): New tests.

2002-05-18  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
	_G_USING_THUNKS.
	* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
	* config/os/solaris/solaris2.7/bits/os_defines.h: Same.

2002-05-18  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES (New): Update.

2002-05-18  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6518
	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
	for null case.
	(ostream::operator<<(const _CharT*)): Same.
	(ostream<char>::operator<<(const char*)): Same.
	* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.

2002-05-18  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6594
	* src/strstream.cc (strstreambuf): Fix leak.

2002-05-18  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/ctype_scan_char.cc: Tweak.
	* testsuite/22_locale/ctype_scan_wchar_t.cc: New.	

	* docs/html/install.html: Fix.

2002-05-18  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
	char.

	* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
	Fix typo, use this->is() rather than manually (and perhaps
	incorrectly) inlining it.
	* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
	Likewise.
	* testsuite/22_locale/ctype_scan_char.cc: New file.

2002-05-18  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/fstream.tcc
	(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
	try/catch blocks.
	* src/localename.cc (locale::_Impl::_M_install_facet): Same.

	* docs/html/install.html: Tweak, add bits about required locales
	for the 22_locale tests when using the gnu model.

	* testsuite/27_io/istream_sentry.cc: Tweak.

2002-05-16  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
	* docs/html/faq/index.txt:  Regenerate.

2002-05-15  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6648
	* include/bits/istream.tcc (istream::getline, ignore):
	Upon __idelim (__delim) call sbumpc() not snextc().
	* testsuite/27_io/narrow_stream_objects.cc:
	Add test08 and test09.
	
2002-05-14  Release Manager

	* GCC 3.1 Released.

@


1.1.1.11
log
@Gcc 3.2.1-prerelease C++ support bits from the FSF anoncvs repo gcc-3_2-branch on 16-Sep-2002 13:23:11 EDT.
@
text
@a0 166
2002-09-12  Benjamin Kosnik  <bkoz@@redhat.com>

	* libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
	directory.
	* libmath/Makefile.in: Regenerate.
	* src/Makefile.am: Tweak comment.
	* src/Makefile.in: Regenerate.

	* config/locale/gnu/c_locale.h: Remove warnings.
	Inject __uselocale into __gnu_cxx.
	* config/locale/generic/c_locale.h: Match.

2002-09-12  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.tcc (__convert_from_v): Remove.
	* config/locale/gnu/c_locale.h (__convert_from_v): Add.
	* config/locale/generic/c_locale.h (__convert_from_v): Add.	

2002-09-12  Paolo Carlini  <pcarlini@@unitus.it>

        * include/bits/locale_facets.tcc (__convert_from_v):
        Use __uselocale instead of setlocale for glibc 2.3+.

2002-09-12  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/Makefile.am (sources): Edit.
	(target_sources): New.
	(target_sources_extra): New.
	* src/Makefile.in: Regenerate.
	* acinclude.m4: Set CCODECVT_CC. 
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/locale.cc: Move ctype definitions...
	* src/ctype.cc: ...here. New file. 
	* src/locale.cc: Move codecvt definitions...
	* src/codecvt.cc: ...here. 	
	* config/generic/codecvt_members.cc: ...and here. 	
	* config/gnu/codecvt_members.cc: ...and here. 		
	* include/bits/codecvt.h: Tweak.
	* include/bits/locale_facets: Tweak.

	* src/bitset.cc: Correct license text.
	* src/concept-inst.cc: Same.
	* src/strstream.cc: Same.
	* src/vterminate.cc: Same.	

2002-09-10  Danny Smith  <dannysmith@@users.sourceforge.net>

	* include/bits/locale_facets.tcc (__convert_from_v):
	Replace strdup with ISO malloc and strcpy.

2002-09-09  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/misc-inst.cc: Remove some instantiations.
	
	* testsuite/abi_check.cc: Make output results more verbose.
	
	* config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.

2002-09-07  Jakub Jelinek  <jakub@@redhat.com>

	* config/locale/generic/messages_members.cc: Add specialization for
	messages<wchar_t>.
	* config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.

2002-09-06  Jakub Jelinek  <jakub@@redhat.com>

	* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
	sparc targets.
	* config/cpu/sparc/bits/atomicity.h: New file.
	* config/cpu/sparc/sparc32/bits/atomicity.h: Removed.
	* config/cpu/sparc/sparc64/bits/atomicity.h: Removed.

2002-09-06  Jakub Jelinek  <jakub@@redhat.com>

	* config/os/gnu-linux/bits/ctype_noninline.h
	[_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
	(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
	_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
	and return __ctype_b.
	(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
	_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
	initialize using __ctype_{b,tolower,toupper}.
	(ctype<char>::ctype(const mask*, bool, size_t)): If
	_GLIBCPP_C_LOCALE_GNU, initialize using
	_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
	switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.

2002-09-05  Loren J. Rittle  <ljrittle@@acm.org>

	Move from mainline.
	* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
	* src/Makefile.in: Regenerate (explicitly with --cygnus option).
	* testsuite/Makefile.in: Likewise.

2002-09-05  Paolo Carlini  <pcarlini@@unitus.it>
            Roland McGrath  <roland@@redhat.com>

	PR libstdc++/7811
	* src/locale.cc (locale::locale(__s)): Use getenv instead
	of setenv for the environment locale.
	* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.

2002-09-05  Jakub Jelinek  <jakub@@redhat.com>

	* config/abi/ia64-unknown-linux-gnu: Add.
	* config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
	* config/abi/alphaev67-unknown-linux-gnu: Add.
	* config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.

2002-09-05  Phil Edwards  <pme@@gcc.gnu.org>

	* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
	Fix spelling in comment.
	* testsuite/Makefile.in:  Regenerate.
	* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
	than 'quote' and 'bslash'.

2002-09-05  Jakub Jelinek  <jakub@@redhat.com>

	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
	Switch to _M_c_locale_ctype around btowc call.
	(ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
	Switch to _M_c_locale_ctype around mbsrtowcs call.
	(ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
	wctob call.
	(ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
	Switch to _M_c_locale_ctype around wcsrtombs call.

2002-09-05  Jakub Jelinek  <jakub@@redhat.com>

	* config/locale/gnu/monetary_members.cc
	(moneypunct<wchar_t, true>::_M_initialize_moneypunct,
	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
	__uselocale instead of setlocale for glibc 2.3.

2002-09-05  Jakub Jelinek  <jakub@@redhat.com>

	* config/locale/generic/c++locale_internal.h: New header.
	* config/locale/gnu/c++locale_internal.h: New header.
	* config/locale/gnu/c_locale.cc: Include it.
	* config/locale/gnu/collate_members.cc: Include it.
	* config/locale/gnu/ctype_members.cc: Include it.
	* config/locale/gnu/messages_members.cc: Include it.
	* config/locale/gnu/monetary_members.cc: Include it.
	* config/locale/gnu/numeric_members.cc: Include it.
	* config/locale/gnu/time_members.cc: Include it.
	(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
	glibc.
	(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
	C locale.
	* acinclude.m4: Include string.h when testing strcoll_l.
	For glibc 2.3 provide __-prefixed prototypes.
	(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
	* aclocal.m4, configure: Rebuilt.

2002-09-05  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h: Add declaration of specialization
	here.
	* config/locale/gnu/messages_members.cc: Add specialization for
	messages<wchar_t>.
	* config/locale/gnu/messages_members.h: Remove generic definition
	of do_get.

@


1.1.1.12
log
@Gcc 3.2.1-prerelease C++ support bits from the FSF anoncvs repo gcc-3_2-branch on October 9th 2002 20:15 EST.
@
text
@a0 61
2002-10-07  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* Makefile.am (all-multi): Fix multilib parallel build.

2002-10-01  Phil Edwards  <pme@@gcc.gnu.org>

	* Makefile.am (check-abi):  Add @@ to rule.
	* Makefile.in:  Regenerated.

2002-10-01  Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/8096
	* include/bits/stl_deque.h (deque::_M_range_check):  Throw
	out_of_range, not range_error.

2002-09-28  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
	Deal correctly with grouped, showbased (oct or hex) zero.
	* testsuite/22_locale/num_put_members_char.cc: Add test05.
	* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.

2002-09-25  Phil Edwards  <pme@@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/run_doxygen, docs/html/Makefile, docs/html/abi.txt,
	docs/html/configopts.html, docs/html/documentation.html,
	docs/html/explanations.html, docs/html/install.html,
	docs/html/makedoc.awk, docs/html/17_intro/C++STYLE,
	docs/html/17_intro/RELEASE-NOTES, docs/html/17_intro/contribute.html,
	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
	docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
	docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
	docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
	docs/html/ext/howto.html, docs/html/ext/sgiexts.html,
	docs/html/faq/index.html, docs/html/faq/index.txt:  Merge from trunk.

2002-09-21  Phil Edwards  <pme@@gcc.gnu.org>

	* testsuite/abi_check.cc:  Pull shell fragments out into...
	* config/abi/extract_symvers:  ...here.  New file.
	* Makefile.am (check_abi):  Change to match.
	(new-abi-baseline):  New target.
	* Makefile.in:  Regenerated.

2002-09-16  Loren J. Rittle  <ljrittle@@acm.org>

	libstdc++/7922
	* include/ext/stl_rope.h (rope<>): Qualify dependent names
	with `typename'.

2002-09-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/codecvt.h: Remove __s.
	* config/locale/gnu/codecvt_members.cc: Remove _M_c_locale_codecvt
	usage, substitute _S_c_locale.

@


1.1.1.13
log
@Gcc 3.2.1 release virgin vendor import. (19-Nov-2002)
@
text
@a0 293
2002-11-19  Release Manager

	* GCC 3.2.1 Released.

2002-11-19  Release Manager

	* GCC 3.2.1 Released.

2002-11-18  Release Manager

	* GCC 3.2.1 Released.

2002-11-17  Jakub Jelinek  <jakub@@redhat.com>

	* config/linker-map.gnu: Export _S_construct even if size_t is
	unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
	and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.

2002-11-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Export all _S_construct.
	
2002-11-06  David Edelsohn  <edelsohn@@gnu.org>

	PR 8362
	* testsuite/abi_check.cc: Add guards to prevent -mpower ICE.

2002-11-05  Jonathan Wakely  <cow@@compsoc.man.ac.uk>

	* include/std/std_sstream.h
	(basic_stringbuf::str(const __string_type&)):
	Prefer data() to c_str() thus avoiding assigning the
	unnecessary NULL-terminator.

2002-11-05  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/8258
	* include/bits/istream.tcc (istream::readsome): Don't set eofbit
	for null buffer.
	(istream::operator>>(_CharT*)): Use traits_type.
	(istream::ws): Same.
	(istream::operator>>(string)): Same.	
	* testsuite/27_io/istream_unformatted.cc (test11): Add.

2002-11-05  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7219
	* include/bits/ios_base.h (ios_base::streampos): Add.
	(ios_base::streamoff): Add.
	* testsuite/27_io/ios_base_type.cc: New.

2002-11-05  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/8466
	* include/std/std_sstream.h
	(basic_stringbuf::str(const __string_type&)):
	Cannot use simple assignment since the COW-nature of v3
	basic_string is not taken into account in basic_stringbuf.
	* testsuite/27_io/stringstream_members.cc: Add test04 from PR.

2002-11-04  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Export string operator+.
	Export __default_alloc_template::_S_force_new.
	* testsuite/abi_check.cc: Output tweaks.

2002-11-04  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/8172
        * src/string-inst.cc: Add instantiation.
	
2002-11-04  Christian Ehrhardt  <ehrhardt@@mathematik.uni-ulm.de>

	PR libstdc++/8197
	* config/link-map.gnu: Export math stubbs.

2002-11-04  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/8318
	* include/std/std_iostream.h: Tweak.
	* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
	* include/std/std_iomanip.h: Same.
	* include/bits/stringfwd.h: Same.
	* include/bits/basic_string.tcc: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/fstream.tcc: Same.
	* include/bits/basic_ios.tcc: Same.
	* include/bits/streambuf.tcc: Same.
	* include/bits/locale_facets.tcc: Same.

2002-11-01  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/8348
	* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
	(istream::seekg): Same.
	* testsuite/27_io/istream_seeks.cc (test06): New.

2002-11-01  John Carter  <john.carter@@tait.co.nz>

	PR libstdc++/7961
	* include/bits/basic_string.tcc
	(compare(const _CharT* __s)): Don't access __s past its length.

2002-11-01  Hans-Peter Nilsson  <hp@@bitrange.com>

	PR other/3337
	PR bootstrap/6763
	PR bootstrap/8122
	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Use
	__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.

2002-10-29  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/8347
	* include/bits/basic_string.tcc
	(string::_S_construct(_InIter, _InIter, const _Alloc&,
	forward_iterator_tag)): Do not throw logic error if
	__beg == NULL && __end == __beg.
	(string::string(const _CharT*, const _Alloc&)): Tweak.
	* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.

2002-10-23  Jakub Jelinek  <jakub@@redhat.com>

	* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
	and decimal_point arguments of find.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.

2002-10-22  Jakub Jelinek  <jakub@@redhat.com>

	* Makefile.am (check-abi, new-abi-baseline): Use @@glibcpp_srcdir@@
	instead of ${top_srcdir}.
	* Makefile.in: Rebuilt.

2002-10-21  Phil Edwards  <pme@@gcc.gnu.org>

	* configure.in:  Use target, not target_alias, when matching triplet
	patterns.
	* configure:  Regenerate.

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

        * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
        _M_name_timepunct.
        (__timepunct::~__timepunct): Deallocate, remove specialization
        declarations.
        (messages::messages): Allocate _M_name_messages.
        (messages::~messages): Deallocate.
        (messages_byname): Same.
        * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
        Remove.
        * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
        Remove.

        * docs/html/install.html: Add eqs_MX, en_PH to required locales list.
  
2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
	c_locale_impl.
	* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
	* docs/html/abi.txt: Update.

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/static_members.cc (test02): Less provincial.

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/static_members.cc (test02): Disable for 
	systems without named locale support.
	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
	running the testsuites in "C" environment.
	Add new tests.
	* docs/html/22_locale/locale.html: Update.

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/abi_check.cc (hash<string>): Specialize.
	Simplify. Check compatible symbol versions.
	* config/linker-map.gnu: Clarify, explicitly export
	std::codecvt::c* symbols.

	* testsuite/22_locale/static_members.cc (test02): Avoid null strings.

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/static_members.cc (test02): Fix.

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* acconfig.h (_GLIBCPP_SYMVER): Add.
	(_GLIBCPP_ASM_SYMVER): Add.
	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
	hack around m4 issues with quoting '@@'.
	* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
	* src/globals.cc (__gnu_cxx): Same.
	
	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu (GLIBCPP_3.2.1): Add.
	(GLIBCPP_3.2): Don't export locale::_S_*. 
	* src/ios.cc: Move globals into __gnu_cxx. Make old exported
	symbols match.
	* src/locale.cc: Same.
	* src/localename.cc: Same.	

2002-10-16  Benjamin Kosnik  <bkoz@@redhat.com>	

	* src/locale.cc: Fix comments, move ctors together.
	* testsuite/22_locale/static_members.cc (test03): Add.

2002-10-16  Paolo Carlini  <pcarlini@@unitus.it>
	    Benjamin Kosnik  <bkoz@@redhat.com>	

	* include/bits/localefwd.h (class locale): Add static member
	_S_num_extra_categories, encoding the number of additional
	categories.
	Change _S_num_categories to _S_categories_size.
	(class locale::_Impl): Add _M_c_cats.
	(class locale::_Impl::_M_names): Change to array of chars.
	(class locale::_Impl::_M_check_same_name): Use
	_S_extra_categories_size, tweak.
	(locale::locale(const locale&, _Facet*)): Ditto.
    	* src/locale.cc (locale::locale(const char* )): Rewrite to deal
	with the environment in a POSIX-compliant way while being thread
	safe.
	(locale::name()): Update to output POSIX environment strings.
	* src/localename.cc
	(locale::_Impl::_Impl(const _Impl&, size_t): Use
	_S_categories_size_*, tweak.
	(locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
	(locale::_Impl::_Impl(const char*, size_t)): Name each category
	individually.
	(locale::_Impl::_M_replace_categories): Use strcpy.

	* include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
	Change default argument to NULL from _S_c_locale.
	(timepunct::_M_initialize_timepunct): Same.
	_S_c_locale cleanups.
	* src/codecvt.c: _S_c_locale simplification.
	* src/ctype.c: Same.
	* src/globals.cc: Add fake_name.
	* src/locale-inst.cc: Remove extra includes.	
	* src/locale.cc: Remove extra includes.
	Add _S_extra_categories_size definition.
	Correct "C" initialization.
	(locale::facet::facet): Don't initialize _S_c_locale.
	(locale::facet::_M_remove_reference): Adjust.
	* src/localename: Use facet_vec, facet_name.
	(locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
	facet ref counts to one. Initialize _S_c_locale.
	(locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
	counts when installing unilaterally.

	* config/locale/generic/c_locale.cc: Add _S_categories definition.
	* config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
	* config/locale/generic/time_members.cc: _S_c_locale cleanup.
	
	* config/locale/gnu/c_locale.cc: Add _S_categories definition.
	(_S_destroy_c_locale): Move checks against _S_c_locale here.
	* config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
	* config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
	calls, _S_c_locale usage.
	* config/locale/gnu/monetary_members.cc: Same, tweaks.
	* config/locale/gnu/monetary_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.	
	* config/os/gnu-linux/ctype_noninline.h: Use locale::classic().

	* docs/html/22_locale/locale.html: Add bits about global locales
	and "C" setlocale.

	* testsuite/22_locale/facet.cc (test02): Add.
	* testsuite/22_locale/static_members.cc (test02): Add.
	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.

2002-10-11  Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* include/std/std_limits.h (__glibcpp_char_digits10): Fix Typo.
	(__glibcpp_char_digits10): Likewise.

2002-10-10  Jonathan Lennox  <lennox@@cs.columbia.edu>

        PR libstdc++/8071, libstdc++/8127, c++/6745
        * streambuf.tcc (__copy_streambufs): Handle cases where
        __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
        * testsuite/27_io/ostream_inserter_other.cc (test05): Add.

@


1.1.1.14
log
@Gcc 3.2.2-release C++ support bits.
@
text
@d1 1
a1 1
2003-02-05  Release Manager
d3 1
a3 1
	* GCC 3.2.2 Released.
d5 1
a5 1
2003-01-28  Christian Cornelssen  <ccorn@@cs.tu-berlin.de>
d7 1
a7 157
	* include/Makefile.am (install-data-local): Prepend
	$(DESTDIR) to destination paths in all (un)installation
	commands.  Use ${c_base_builddir} and ${std_builddir}
	as destination subdirectories to achieve consistency with
	preceding mkinstalldirs commands.  No effect because both
	variables contain "." only.
	* include/Makefile.in: Regenerate.

2003-01-28  Nathan Sidwell  <nathan@@codesourcery.com>

	PR c++/9433
	* libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
	with bases which are very ambiguous.

2003-01-27  Alexandre Oliva  <aoliva@@redhat.com>

	* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
	$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
	version_specific_libs is enabled.
	* aclocal.m4, configure: Rebuilt.

2003-01-23  Phil Edwards  <pme@@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/TODO, docs/doxygen/run_doxygen,
	docs/doxygen/stdheader.cc, docs/doxygen/style.css,
	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
	docs/html/configopts.html, docs/html/debug.html,
	docs/html/documentation.html, docs/html/explanations.html,
	docs/html/install.html, docs/html/17_intro/contribute.html,
	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
	docs/html/17_intro/porting.html, docs/html/17_intro/porting.texi,
	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
	docs/html/22_locale/messages.html, docs/html/24_iterators/howto.html,
	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
	docs/html/27_io/howto.html, docs/html/ext/lwg-active.html,
	docs/html/ext/lwg-defects.html, docs/html/ext/sgiexts.html,
	docs/html/faq/index.html, docs/html/faq/index.txt:  Merge from trunk.

2003-01-23  Petur Runolfsson  <peturr02@@ru.is>

	PR libstdc++/9322
	* include/std/std_streambuf.h
	(basic_streambuf::basic_streambuf,
	basic_streambuf::~basic_streambuf,
	basic_streambuf::getloc, basic_streambuf::imbue):
	Remove _M_buf_locale_init use.
	* include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
	* testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
	* testsuite/27_io/streambuf_members.cc (test08):  Add.
	* testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.

2003-01-23  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Synch with 3_3-branch.

2003-01-10  Benjamin Kosnik  <bkoz@@redhat.com>
	    Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@@intel.com>

	PR libstdc++/9269
	* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
	(basic_filebuf::underflow): Declare.
	Move definitions.

2003-01-07  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/8707
	* Makefile.am (distclean-multi): Fix.
	* Makefile.in: Regenerate.

2003-01-06  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h (messages): Move ctor, dtor
	definitions to..
	(__timepunct): Same.
	* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
	definitions. Conditionalize for GNU systems.
	* config/locale/generic/messages_members.h (messages): Add dtor, ctor
	definitions.
	* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
	definitions. Conditionalize for GNU systems.
	* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
	definitions.
	* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
	* src/locale.cc: Define.
	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
	Use it.
	* config/locale/gnu/time_members.h: Use it.
	* config/locale/gnu/messages_members.h: Use it.
	* config/linker-map.gnu: Add locale::facets details.	
	* include/Makefile.am (target_headers_extra): Add time_members.h.
	* include/Makefile.in: Regenerate.
	* acinclude.m4: Export CTIME_H.
	* aclocal.m4: Regenerate.
	* configure: Regnerate.

2003-01-06  Paolo Carlini  <pcarlini@@unitus.it>

	* src/codecvt.cc
        (codecvt<char, char, mbstate_t>::do_in, do_out):
        Tweak parameters to avoid unused parameter warnings.

2003-01-06  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9151
	* include/bits/locale_facets.cc (num_put::_M_convert_float):
	Limit __prec to digits10 + 2, not digits10 + 1, taking into
	account the possibility of %{g,G} conversion specifiers
	inside _S_format_float.
	* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.

2003-01-06  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
	Additionally handle files one level deeper in glob patterns.
	* testsuite/libstdc++-v3.dg/dg.exp: Likewise.
	
	* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
	* testsuite/27_io/istream_extractor_arith/01.cc,
	testsuite/27_io/istream_extractor_arith/02.cc,
	testsuite/27_io/istream_extractor_arith/03.cc,
	testsuite/27_io/istream_extractor_arith/06.cc,
	testsuite/27_io/istream_extractor_arith/07.cc,
	testsuite/27_io/istream_extractor_arith/08.cc,
	testsuite/27_io/istream_extractor_arith/09.cc,
	testsuite/27_io/istream_extractor_arith/10.cc,
	testsuite/27_io/istream_extractor_arith/11.cc,
	testsuite/27_io/istream_extractor_arith/12.cc,
	testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
	* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
	sparc*-*-solaris2*.

2003-01-05  Paolo Carlini <pcarlini@@unitus.it>

	PR libstdc++/9168
	* src/codecvt.cc
	(codecvt<char, char, mbstate_t>::do_in, do_out):
	Implement the resolution of DR19 (TC).
	* testsuite/22_locale/codecvt_members_char_char.cc
	(test01): Tweak.

2002-12-18  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* testsuite/23_containers/vector_capacity.cc (test03): Move ...
	* testsuite/23_containers/vector_resize.cc: ...here as a new file.
	Pass in -lmalloc for irix6.
	* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.

2002-12-11  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/8887
	* config/locale/generic/time_members.cc
	(__timepunct<char>::_M_initialize_timepunct): Fix typos
	in _M_date_format and _M_date_era_format string literals.
d9 1
a9 138
2002-12-07  Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.

2002-12-05  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Put _S_force_new into GLIBCPP_3.2.2.
	* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.

2002-12-05  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.
	* testsuite/20_util/allocator_members.cc (test02): Add.
	* testsuite/23_containers/vector_capacity.cc (test03): Add.

2002-12-05  Loren J. Rittle  <ljrittle@@acm.org>
	    Brad Spencer  <spencer@@infointeractive.com> 
	    (provided alternate patch and improvements)

	PR libstdc++/8708
	* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
	new environment variable which replaces all uses of __USE_MALLOC
	macro.
	* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
	(__mem_interface): Remove all references to old internal typedef.
	* include/backward/alloc.h (__USE_MALLOC): Remove it and all
	guarded code.
	* include/bits/c++config (__USE_MALLOC): Update related error
	message and comment.
	* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
	guarded code.  Update all related comments.
	(__mem_interface): Unconditionally replace it with __new_alloc.
	However, leave the typedef around in case anyone used it.
	(__default_alloc_template<>::_S_force_new): New class static.
	(__default_alloc_template<>::allocate, deallocate): Add
	run-time controlled feature similar to what __USE_MALLOC code
	path had provided.
	* src/stl-inst.cc (__USE_MALLOC): Remove it and all
	guarded code.
	* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
	Add documentation on GLIBCPP_FORCE_NEW environment variable.
	* testsuite/ext/allocators.cc: Likewise.

2002-12-05  Paolo Carlini  <pcarlini@@unitus.it>
            Nathan Myers  <ncm@@cantrip.org>

	PR libstdc++/8790
	* src/localename.cc
	(locale::_Impl::_Impl(const char*, size_t)):
	Avoid strtok for thread safety.

2002-12-04  Loren J. Rittle  <ljrittle@@acm.org>

	PR libstdc++/7445
	* src/locale.cc (std::locale::classic()): Weaken locking protocol.

2002-12-03  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
	"this->" to call to pbackfail.

2002-12-02  Benjamin Kosnik  <bkoz@@redhat.com>
            Jonathan Lennox  <lennox@@cs.columbia.edu>

	* include/bits/streambuf.tcc (__copy_streambufs):
	Revert previous fix for the interactive half of
	libstdc++/6745, use _M_buf_size_opt to set dynamically
	the correct buffer size.

2002-12-02  Jonathan Lennox  <lennox@@cs.columbia.edu>

	* include/bits/streambuf.tcc (__copy_streambufs): verify
	__sbin->gptr() + __bufsize < __sbin->egptr() before using.
	* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
	(test05): Use test_buffer_4. Delete unused ostringstream
	variables.

2002-12-02  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6745 (continued)
	* include/bits/streambuf.tcc (__copy_streambufs):
	Deal with interactive input by using isatty as in the
	fix for libstdc++/8399.

2002-12-02  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.

2002-12-02  Paolo Carlini  <pcarlini@@unitus.it>
            Loren J. Rittle <ljrittle@@acm.org>

	PR libstdc++/8399
	* acinclude.m4
	(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
	check for unistd.h functions.
	(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
	in unistd.h.
	* configure.in: Call here.
	* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
	Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
	input __in_size = 1 even when sync_with_stdio is false;
	otherwise fall back to __in_size = 1.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.

2002-12-02  Benjamin Kosnik  <bkoz@@redhat.com>

	* acconfig.h (HAVE_DRAND48): Add.
	(HAVE_GETPAGESIZE): Add.
	(HAVE_SETENV): Add.	
	(HAVE_SIGSETJMP): Add.		
	* config.h.in: Regenerate.
	* configure: Regenerate.

2002-12-02  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/8230
        * include/bits/stl_vector.h (vector::reserve): Throw length_error if
        requested size is bigger than max_size().
        * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
        * testsuite/23_containers/vector_capacity.cc (test02): Add.

2002-12-02  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (libtool_VERSION): Update to 5:2:0.
	* configure: Regenerate.
	
2002-11-26  David Edelsohn  <edelsohn@@gnu.org>

	* testsuite/abi_check.cc: Remove guards kludge.

2002-11-19  Release Manager
d25 1
a25 1
	PR libstdc++/8362
@


1.1.1.15
log
@Gcc 3.3.1-pre 2003-07-11 C++ support bits.
@
text
@d1 1
a1 2
2003-07-08  Benjamin Kosnik  <bkoz@@redhat.com>
	      Jerry Quinn  <jlquinn@@optonline.net>
d3 1
a3 47
	* include/bits/ios_base.h (ios_base::_M_getloc): Return reference
	to the imbued locale.
	* include/bits/locale_classes.h
	(__locale_cache_base,__locale_cache): Declare.
	(locale,locale::_Impl): Befriend __use_cache.
	(locale::_Impl::_M_get_cache): New function.
	(locale::_Impl::_M_install_cache): New function.
	* include/bits/locale_facets.h (__locale_cache): Declare.
	(numpunct): Befriend __locale_cache.
	(__locale_cache_base): New class.
	(__locale_cache): New class.
	* include/bits/locale_facets.tcc (__use_cache): New function.
	(num_put::_M_convert_int,_M_convert_float,do_put): Use it.
	Use cache data members in place of calls to facet.
	(num_put::_M_convert_int): Use _M_getloc.
	(num_put::_M_convert_float): Use _M_getloc.
	(__locale_cache::__locale_cache(locale&): New.
	(__locale_cache::__locale_cache(locale&,bool)): New.
	* src/globals.cc (facet_cache_vec): New.
	(locale_cache_np_c, locale_cache_np_w): New.
	* src/locale-inst.cc
	(__locale_cache<numpunct<char> >): Define.
	(__locale_cache<numpunct<wchar_t> >): Define.
	(__use_cache<numpunct<char> >): Define.
	(__use_cache<numpunct<wchar_t> >): Define.
	* src/localename.cc (facet_cache_vec): Declare.
	(locale_cache_np_c, locale_cache_np_w): Declare.
	(locale::_Impl::~Impl): Destroy caches.
	(locale::_Impl::Impl):  Initialize cache storage.  Fill in
	static caches.
	(locale::_Impl::_M_install_facet):  Expand cache storage.

2003-07-04  Jerry Quinn  <jlquinn@@optonline.net>

	* include/bits/locale_facets.tcc (__int_to_char): Move common
        case to the top.

2003-07-04  Jerry Quinn  <jlquinn@@optonline.net>

	* testsuite/27_io/ostream_inserter_arith.cc (test05, test06):
        Add missing bool test.

2003-07-04  H.J. Lu <hongjiu.lu@@intel.com>

	* Makefile.am: Replace PWD with PWD_COMMAND.
	* Makefile.in: Regenerated.
	* docs/html/Makefile: Likewise.
d5 1
a5 1
2003-07-01  Roger Sayle  <roger@@eyesopen.com>
d7 6
a12 770
	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
	(GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

2003-06-27  Matthias Klose  <doko@@debian.org>

	* testsuite/Makefile.am (check-abi, check-abi-verbose): Save
	output of abi-check in libstdc++-v3-abi.sum.
	* testsuite/Makefile.in: Regenerate.

2003-06-25  Phil Edwards  <pme@@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/filter, docs/doxygen/filter.sed,
	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
	docs/doxygen/user.cfg.in, docs/html/configopts.html,
	docs/html/documentation.html, docs/html/explanations.html,
	docs/html/install.html, docs/html/test.html, docs/html/17_intro/BUGS,
	docs/html/17_intro/CHECKLIST, docs/html/17_intro/contribute.html,
	docs/html/20_util/howto.html, docs/html/ext/howto.html,
	docs/html/ext/sgiexts.html, docs/html/faq/index.html,
	docs/html/faq/index.txt:  Merge from trunk.

2003-06-23  Loren J. Rittle  <ljrittle@@acm.org>

	* configure.target (freebsd*): Set abi_baseline_pair.
	* config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
	(at or near first release) to 3.3.
	* config/abi/i386-freebsd5/baseline_symbols.txt: New file.
	* config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
	* config/abi/sparc-freebsd5/baseline_symbols.txt: New file.

2003-06-21  Eric Botcazou  <ebotcazou@@libertysurf.fr>

	PR bootstrap/11272
	Backport from mainline:

	2003-03-09  Paolo Carlini  <pcarlini@@unitus.it>

	* config/io/basic_file_stdio.cc: include <unistd.h>.

2003-06-20  Matthias Klose  <doko@@debian.org>

	* configure.target: Set try_cpu to target_cpu for existing
 	baseline files.

2003-06-19  Andreas Jaeger  <aj@@suse.de>

	* configure.in: Pass MULTISUBDIR to testsuite/Makefile.
	* configure: Regenerated.

2003-06-19  Andreas Jaeger  <aj@@suse.de>

	Backport from mainline:
	2003-06-18  Andreas Jaeger  <aj@@suse.de>

	* testsuite/Makefile.am (new-abi-baseline): Create baseline
	directory.
	(baseline_file): Use baseline_dir.
	(baseline_dir): New.
	(mkinstalldirs): New.

	* acinclude.m4: Rename baseline_file to baseline_dir, strip
	filename from baseline_dir.

	* testsuite/Makefile.in: Regenerated.
	* Makefile.in: Regenerated.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

	2003-06-17  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.

	2003-06-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* Makefile.am (check-abi): Move...
	(new-abi-baseline): Move...
	* testsuite/Makefile.am: ...here.
	(new-abi-baseline): Conditionalize.
	(check-abi): Conditionalize.
	(check-abi-verbose): New.
	* Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
	* configure.in: Consolidate testsuite configure bits.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.
	* testsuite/abi_check.cc: Add --check-verbose.
	Only output detailed information if --check-verbose.


	2003-06-16  Andreas Jaeger  <aj@@suse.de>

        * testsuite/abi_check.cc: Create summary report.

	2003-06-16  Andreas Jaeger  <aj@@suse.de>

	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
	check-abi multilib aware.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	2003-06-16  Benjamin Kosnik  <bkoz@@redhat.com>
            Andreas Jaeger  <aj@@suse.de>

	* configure.target: Set x86_64 abi_baseline pair correctly.


	2003-06-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/abi/i686-pc-linux-gnu: To..
	* config/abi/i486-linux-gnu: ...this.
	* config/abi/alphaev67-unknown-linux-gnu: To..
	* config/abi/alpha-linux-gnu: ...this.
	* config/abi/ia64-unknown-linux-gnu: To...
	* config/abi/ia64-linux-gnu: ...this.
	* config/abi/x86_64-unknown-linux-gnu: To...
	* config/abi/x86_64-linux-gnu: ...this.
	* config/abi/i386-unknown-freebsd4: To...
	* config/abi/i386-freebsd4: ...this.
	* configure.target: abi_baseline_triplet to abi_baseline_pair.
	Simplify cpu bits so that abi_baseline_pair can use the same
	cpu configuration.
	* acinclude.m4: Same.
	* aclocal.m4: Regenerate.
	* configure.in: Can't get enable_abi_check to yes unless native.
	* configure: Regenerate.

2003-06-11  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (libtool_VERSION): To 5:5:0.
	* configure: Regenerated.

2003-06-07  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/11095
	* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
	Deal with width() smaller than zero.
	* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
	operator<<(basic_ostream&, char), operator<<(basic_ostream&,
	const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
	const char*), operator<<(basic_ostream<char, _Traits>&,
	const char*), operator<<(basic_ostream, const basic_string&)): Likewise.

2003-06-06  Nathan Myers  <ncm-nospam@@cantrip.org>

	* include/bits/stl_iterator.h (reverse_iterator::reverse_iterator()):
	Apply DR235: default constructor default-initializes data member.
	Instantiated on a pointer type, the member has to end up equal
	to zero.

2003-06-02  Andrew Pinski  <pinskia@@physics.uc.edu>

	PR libstdc++/9815
	* config/cpu/i386/atomicity.h (__exchange_and_add): add intel
	asm case to asm.
	* config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
	(__atomic_add): likewise.

2003-06-02  Richard Kreckel  <Richard.Kreckel@@GiNaC.DE>

	PR libstdc++/11062
	* config/cpu/mips/atomicity.h:  Change __attribute__ ((unused)) to
	__attribute__ ((__unused__)).
	* config/os/aix/atomicity.h:  Likewise.

2003-05-27  Steve Ellcey  <sje@@cup.hp.com>

	* config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
	on IA64 HP-UX.
	* libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
	_LIBUNWIND_STD_ABI is set.

2003-05-21  Danny Smith  <dannysmith@@users.sourceforge.net>

	* libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
	zero.
	Update copyright year.

2003-05-21  Gerald Pfeifer  <pfeifer@@dbai.tuwien.ac.at>

	* include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
	Cast via void* to avoid -Wcast-align warnings.
	(__default_alloc_template::_S_refill): Likewise.

2003-05-20  Gabriel Dos Reis <gdr@@integrable-solutions.net>

	PR libstdc++/10689
	* include/std/std_complex.h (pow): Tidy.

2003-05-17  Nathan Myers  <ncm@@cantrip.org>

	* include/bits/streambuf.tcc (__copy_streambufs): Rewrote.

2003-05-15  Phil Edwards  <pme@@gcc.gnu.org>

	* testsuite/Makefile.am:  Properly quote LD_RUN_PATH.
	* testsuite/Makefile.in:  Regenerate.

2003-05-14  Loren J. Rittle  <ljrittle@@acm.org>

	* testsuite/thread/pthread4.cc: Tweak test.

2003-05-13  Release Manager

	* GCC 3.3 Released.

2003-05-06  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
	* docs/html/faq/index.txt:  Regenerated.

2003-05-02 Joel Sherrill  <joel.sherrill@@OARcorp.com>
	   Loren J. Rittle <ljrittle@@acm.org>
	   Martin v. Loewis  <martin@@v.loewis.de>

	libstdc++/10556
	* config/cpu/i386/atomicity.h: New file.

2003-05-02  Richard Henderson  <rth@@redhat.com>

	PR c++/10570
	* libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
	(__cxa_end_catch): Likewise.
	* libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
	_Unwind_Resume_or_Rethrow.
	* libsupc++/eh_personality.cc (empty_exception_spec): New.
	(PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
	for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
	exceptions.  Don't push terminate/unexpected to cxa functions.
	(__cxa_call_unexpected): Remove foreign exception fixmes.

2003-05-01  Benjamin Kosnik  <bkoz@@redhat.com>

	Revert __locale_cache.
	* include/bits/locale_facets.tcc (num_put::_M_convert_int): Remove
	__locale_cache.
	(num_put::_M_convert_int): Same.
	(num_put::do_put(bool)): Same.
	(__locale_cache::_M_init): Same.
	(__locale_cache::_S_callback): Same.
	* include/bits/locale_facets.h (__locale_cache_base): Remove.
	(__locale_cache): Remove.
	* include/bits/basic_ios.h (basic_ios::init): Remove __locale_cache.
	(basic_ios::_M_cache_locale): Same.
	* include/bits/basic_ios.tcc: Same.
	* include/bits/ios_base.h: Same.
	(ios_base::_M_cache): Remove.
	* src/locale-inst.cc: Same.
	* src/ios.cc: Same.
	* src/globals.cc: Same.

	* config/linker-map.gnu: Same.

2003-05-01  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (libtool_VERSION): To 5:4:0.
	* configure: Regenerated.

	* testsuite/abi_check.cc (check_version): Update known versions.
	Check added symbols for version_name != base version. Add missing
	symbols to incompatible list.

	* config/linker-map.gnu: Fixup for __basic_file::showmanyc_helper.

2003-05-01  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

2003-05-01  Paolo Carlini  <pcarlini@@unitus.it>
            Nathan Myers  <ncm@@cantrip.org>

	Backport from mainline fix of 2003-03-28.
	PR libstdc++/9533
	* include/bits/fstream.tcc (basic_filebuf<>::open): Don't
	call underflow().
	(basic_filebuf<>::showmanyc): Use the information provided
	by codecvt and __basic_file<>::showmanyc_helper to implement
	a non-trivial showmanyc.
	* config/io/basic_file_stdio.h
	(__basic_file<>::showmanyc_helper): New, declare.
	* config/io/basic_file_stdio.cc
	(__basic_file<>::showmanyc_helper): Define.
	(__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
	(__basic_file<char>::open): Don't call fcntl().
	* acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
	GLIBCPP_CHECK_POLL): New macros.
	* configure.in: Call here.
	* acconfig.h: Add #undefs for the corresponding symbols.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.

2003-04-29  Phil Edwards  <pme@@gcc.gnu.org>

	Bulk documentation merge (copy) from trunk.
	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/mainpage.html,
	docs/doxygen/run_doxygen, docs/doxygen/user.cfg.in,
	docs/html/configopts.html, docs/html/debug.html,
	docs/html/documentation.html, docs/html/explanations.html,
	docs/html/install.html, docs/html/17_intro/howto.html,
	docs/html/17_intro/porting.html, docs/html/18_support/howto.html,
	docs/html/19_diagnostics/howto.html, docs/html/27_io/howto.html,
	docs/html/ext/howto.html, docs/html/ext/sgiexts.html,
	docs/html/faq/index.html, docs/html/faq/index.txt:
	Merge from trunk.

2003-04-28  Nathan Myers  <ncm@@cantrip.org>

	Move some basic_string members out of line because
	they are too big to reasonably be inline.
	* include/bits/basic_string.h
	(assign(const basic_string&, size_type, size_type),
	assign(const _CharT*, size_type),
	insert(size_type, const basic_string&, size_type, size_type),
	insert(size_type, const _CharT*, size_type),
	replace(size_type, size_type, const _CharT*, size_type)):
	Move from here to...
	* include/bits/basic_string.tcc: ...here.

2003-04-28  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/10132
	* include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
	exception specifications.
	(basic_filebuf::close): Same.
	(basic_filebuf::_M_destroy_internal_buffer): Same.
	(basic_filebuf): Remove __res_type typedef.
	* include/std/std_streambuf.h:
	(basic_streambuf::_M_pback_destroy): Same.
	* src/fstream.cc: Same.
	* include/bits/fstream.tcc
	(basic_filebuf::_M_convert_to_external): Simplify.
	(basic_filebuf::seekoff): Use has_facet	before use_facet.
	(basic_filebuf::close): Add exception specification of throw().

2003-04-25  Ranjit Mathew  <rmathew@@hotmail.com>
            Phil Edwards  <pme@@gcc.gnu.org>

	* testsuite_flags.in: Guard against the possibility
	of having "xgcc" as a part of a folder name in the
	path to the GCC build folder.
	* testsuite/Makefile.am: Likewise.
	* testsuite/Makefile.in: Regenerated.

2003-04-24  Richard Sandiford  <rsandifo@@redhat.com>

	* src/localename.cc (__gnu_cxx::facet_vec): Correct types.

2003-04-24  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/locale/generic/c_locale.h: Fix placement for old parser.

2003-04-23  Benjamin Kosnik  <bkoz@@redhat.com>

        * config/locale/generic/c_locale.h (__convert_from_v): Use
        attribute unused.

2003-04-23  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
	Comment and change to comply with DR 60 and the effect on gcount().
	* include/std/std_istream.h:  Update comments.

2003-04-22  Loren J. Rittle  <ljrittle@@acm.org>

	* testsuite/27_io/filebuf_members.cc (test_07):  Adjust timing.

2003-04-22  Jerry Quinn  <jlquinn@@optonline.net>
	    Benjamin Kosnik <bkoz at redhat dot com>

	* include/bits/basic_ios.h (ios_base::Init::_S_ios_create):
        Declare friend.
	(basic_ios::init, basic_ios::_M_cache_locale): Add locale
        cache argument.
	* include/bits/basic_ios.tcc (basic_ios::init): Pass cache to
        _M_cache_locale.
	(basic_ios::_M_cache_locale): Use placement new if cache is
        provided.  Track the distinction in iword(0).
	* include/bits/locale_facets.tcc
        (__locale_cache::_S_callback): Only delete cache if iword(0)
        is 0, i.e. not static.
	* src/globals.cc: Allocate space for __locale_cache objects.
	* src/ios.cc (__gnu_cxx): Declare extern __locale_cache objects
	for standard wide and narrow stream objects.
	(ios_base::Init::_S_ios_create): Use them.

2003-04-18  Loren J. Rittle  <ljrittle@@acm.org>

	* config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
	when so installed.

	* docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
	* config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
	New macro.
	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
	* include/c_std/std_cstdlib.h: Use new macros.
	* include/c_std/std_cstdio.h: Use new macros.
	* include/c_std/std_cwchar.h: Use new macros.

2003-04-17  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/9555
	* include/bits/ostream.tcc: Catch all exceptions for formatted
	output, instead of std::exception and derivatives.
	* include/bits/istream.tcc: Same.

2003-04-17  Andreas Tobler  <toa@@pop.agri.ch>
            Benjamin Kosnik  <bkoz@@redhat.com>

        * config/os/generic/ctype_inline.h: Fix.

2003-04-17  Andreas Tobler  <toa@@pop.agri.ch>

	* configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
	solaris includes, not generic.

2003-04-15  Benjamin Kosnik  <bkoz@@redhat.com>
            Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9423
	* docs/html/27_io/howto.html
	('The buffering is screwing up my program!'): Explain that
	opening counts as an I/O operation.

2003-04-15  Andreas Tobler  <a.tobler@@schweiz.ch>

        * testsuite/thread/pthread1.cc: Enable for darwin test.
        * testsuite/thread/pthread2.cc: Same.
        * testsuite/thread/pthread3.cc: Same.
        * testsuite/thread/pthread4.cc: Same.
        * testsuite/thread/pthread5.cc: Same.
        * testsuite/thread/pthread6.cc: Same.

2003-04-15  Loren J. Rittle  <ljrittle@@acm.org>

	* include/bits/concept_check.h: Fix multi-line comment.
	* testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
	when target is *-*-freebsd*.

	libstdc++/7680
	* include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
	Populate it with multiple legal ways to obtain the C99 float
	transcendentals.  Use them instead of direct global reference.
	(C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
	* docs/html/17_intro/porting.texi
	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
	(_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
	* config/os/bsd/freebsd/os_defines.h
	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
	* testsuite/26_numerics/c_math_dynamic.cc: New file.

	* testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.

2003-04-14  M. Warner Losh  <imp@@bsdimp.com>

	* include/std/std_fstream.h: Add required typename.

2003-04-12  John David Anglin  <dave.anglin@@nrc-cnrc.gc.ca>

	* os/hpux/ctype_inline.h: Replace with gnu-linux version.

2003-04-10  John David Anglin  <dave.anglin@@nrc-cnrc.gc.ca>

	* basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
	twice.  Always set _M_cfile to 0 when stream was open.

2003-04-04  Jerry Quinn  <jlquinn@@optonline.net>

	PR libstdc++/10276
	* src/ios.cc (ios_base::_M_init): Remove _M_callbacks
	initialization.

2003-03-31  Paolo Carlini  <pcarlini@@unitus.it>

	* include/ext/stdio_filebuf.h
	(stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
	stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
	_M_buf_size_opt == 0 means only "not to use an allocated buffer"
	since a stack-based buffer is used for small values of the size_t
	parameter.
	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
	If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
	* testsuite/ext/stdio_filebuf_2.cc: New testfile.

2003-03-25  Paolo Carlini  <pcarlini@@unitus.it>
	    Petur Runolfsson  <peturr02@@ru.is>

	PR libstdc++/10097
	* src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
	basic_filebuf<wchar_t>::_M_underflow_common):
	if (gptr() < egptr()) return *gptr().
	* testsuite/27_io/filebuf_virtuals.cc (test15): Add.

	* testsuite/27_io/filebuf_members.cc (test_04): Minor
	changes: unlink fifo before making it, fix spelling error.

2003-03-22  Loren J. Rittle  <ljrittle@@acm.org>

	* config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
	Correct return value.

2003-03-21  Jerry Quinn  <jlquinn@@optonline.net>

	PR libstdc++/5730
	* include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
        * include/std/std_complex.h (norm):  Use faster,
        less accurate computation for builtin float types under --fast-math.

2003-03-21  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/10167
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(do_out, do_unshift, do_in): qualify 'ok', 'error', 'partial',
	'noconv' with codecvt_base::.

2003-03-19  Alexandre Oliva  <aoliva@@redhat.com>

	* src/strstream.cc (strstreambuf::overflow): Make sure operands of
	min and max have the same type.
	* include/bits/basic_string.tcc (append, rfind, compare): Likewise.

2003-03-17  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/Makefile.am (CLEANFILES): Add tmp*.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
	Cleanups.

2003-03-17  Petur Runolfsson  <peturr02@@ru.is>

        PR libstdc++/9964
        * include/bits/fstream.tcc (basic_filebuf::close):
        Always close file, even when write fails.
        * testsuite/27_io/filebuf_members.cc (test_07):  New test.

2003-03-17  Danny Smith  <dannysmith@@users.sourceforge.net>

	* libsupc++/Makefile.am (LTCOMPILE): Add $(AM_CFLAGS) $(CFLAGS).
	* libsupc++/Makefile.in: Regenerate.

2003-03-09  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9988
	* include/bits/fstream.tcc (overflow): don't write EOF to file.
	* testsuite/27_io/filebuf_virtuals.cc (test14): Add.

2003-03-09  Paolo Carlini <pcarlini@@unitus.it>
	    Petur Runolfsson  <peturr02@@ru.is>

	PR libstdc++/9424
	* include/bits/streambuf.tcc (__copy_streambufs): Use
	sgetn-sputn only when sputn cannot fail, otherwise fall back
	to safe snextc-sputc.
	* testsuite/27_io/streambuf_members.cc (test11, test12): Add.

2003-03-08  Jerry Quinn  <jlquinn@@optonline.net>

	PR libstdc++/9561
	* include/bits/basic_ios.h (_M_setstate): New.
	* include/bits/ostream.tcc (operator<<): Use it.
	* include/bits/istream.tcc (operator>>): Use it.
	* include/std/std_ostream.h (operator<<): Make friends.
	* include/std/std_istream.h (operator>>): Make friends.
	* testsuite/27_io/ostream_exception.cc,
	testsuite/27_io/istream_exception.cc: New tests.

2003-03-08  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9182
	* include/bits/fstream.tcc (_M_really_overflow): Check
	for _M_convert_to_external possible failures.
	* include/std/std_fstream.h (sync): Check _M_really_overflow
	return value and return -1 in case of failure.
	* testsuite/27_io/filebuf_virtuals.cc (test12, test13): Add.

	* include/bits/fstream.tcc (_M_convert_to_external):
	Set __elen to zero if codecvt::out eventually fails.

2003-03-08  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9826
	* include/bits/istream.tcc (operator>>(_CharT*),
	operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
	* testsuite/27_io/stringstream.cc (test02): Add.

	* include/bits/istream.tcc (operator>>(_CharT*)):
	Assign a char_type to *__s.

2003-03-08  Jerry Quinn  <jlquinn@@optonline.net>

	* src/ios.cc (ios_base::ios_base): Correct order of _M_word and
	_M_word_size initialization.

2003-03-07  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Tweak.

2003-03-07  Petur Runolfsson  <peturr02@@ru.is>

	PR libstdc++/9817
	* include/bits/locale_facets.tcc
	(collate::do_compare, collate::do_transform):
	Handle nul characters in input.

2003-03-07  Jerry Quinn  <jlquinn@@tiamat>

	* include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
	sputn fails.
	* testsuite/27_io/ostream_fail.cc: New test.

2003-03-07  Matthias Klose  <doko@@debian.org>

	* Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
	FLAGS_TO_PASS: Set to AM_MAKEFLAGS
	* Makefile.in: Regenerate.
	* libsupc++/Makefile.am: Express glibcppinstalldir in terms
	of gxx_include_dir.
	AM_MAKEFLAGS: Pass gxx_include_dir.
	* libsupc++/Makefile.in: Regenerate.

2003-03-06  Jerry Quinn  <jlquinn@@optonline.net>

	* src/ios.cc (ios_base::_M_init): Remove _M_word_size.
	(ios_base::ios_base): Set _M_word, _M_word_size.
	(ios_base::~ios_base): Remove redundant test.
	* testsuite/27_io/ios_base_storage.cc (test03): New.

2003-03-05  Jerry Quinn  <jlquinn@@optonline.net>

	* testsuite/27_io/ios_base_storage.cc (test02): Set exception
	mask.  Test setting small-numbered pword and iword slots.  Test
	behavior at limit of numeric_limits::max.  Check that values are
	still good after failures.

2003-03-05  Carlo Wood  <carlo@@alinoe.com>

        * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
	_S_initialized() in order to allow debugging libraries to detect
	when the std streams are initialized from an overloaded operator
	new.

2003-03-04  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu: Version.

2003-03-04  Jerry Quinn  <jlquinn@@optonline.net>

	* include/bits/basic_ios.h:  Update copyright.
	(_M_cache_locale): New.
	(_M_cache_facets): Deprecate.
	* include/bits/basic_ios.tcc (basic_ios::copyfmt): Set up locale
        caching.
	(basic_ios::imbue,basic_ios::init): Use _M_cache_locale.
	(basic_ios::_M_cache_locale): New.
	(basic_ios::_M_cache_facets): Deprecate.
	* include/bits/ios_base.h (__locale_cache_base): Declare.
	(ios_base::_M_cache): Define.
	* include/bits/locale_facets.h
	(__locale_cache_base,__locale_cache<_CharT>): New classes.
	* include/bits/locale_facets.tcc
	(num_put::_M_convert_int): Use locale cache literal string,
	grouping flag, thousands separator.
	(num_out::_M_convert_float): Use locale cache grouping flag, decimal
        point, thousands separator.
	(__locale_cache<_CharT>::_M_init,__locale_cache<_CharT>::_S_callback):
        New.
	* src/locale-inst.cc
	(__locale_cache<_CharT>::_S_callback, __locale_cache<char>,
	__locale_cache<wchar_t>): New.

2003-03-04  Jerry Quinn  <jlquinn@@optonline.net>

	* src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
	new failure.  Throw exception if badbit and exception mask when ix
	>= numeric_limits<int>::max().

2003-03-03  Benjamin Kosnik  <benjamin@@redhat.com>

	* config/linker-map.gnu (GLIBCPP_3.2.3): New.
	Add new symbols.
	* testsuite/abi_check.cc: Update.

2003-03-03 Jerry Quinn  <jlquinn@@optonline.net>
           Benjamin Kosnik  <benjamin@@redhat.com>

	* include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
	Add indexes into this array.
	(__num_base::_S_atoms): To _S_atoms_in.
	(num_put::_M_insert): Rename to _M_pad.
	(num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
	(num_put::_M_widen_int): Rename to _M_group_int.
	(num_put::_M_widen_float): Rename to _M_group_float.
	* include/bits/locale_facets.tcc (__int_to_char): New inline
	function and adapter functions.
	(num_put::_M_group_int): Streamline.
	(num_put::_M_group_float): Streamline.
	(num_put::_M_convert_int): Remove unused parameter names. Choose
	large enough buffer for text.  Use __int_to_char instead of
	__convert_from_v.  Formatted text is now at the end of the buffer.
	(num_put::_M_convert_float): Preliminary fixups.
	* src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
	(__int_to_char<unsigned long long>): Same.
	(__int_to_char<char, unsigned long>): New.
	(__int_to_char<char, unsigned long long>): New.
	(__int_to_char<wchar_t, unsigned long>): New.
	(__int_to_char<wchar_t, unsigned long long>): New.
	* src/locale.cc: Add _S_atoms_in, _S_atoms_out.

2003-02-28  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/27_io/ios_base_storage.cc (main): Call
	set_memory_limits.

2003-02-28  Brad Spencer  <spencer@@infointeractive.com>
            Nathan Myers  <ncm@@cantrip.org>

	* src/Makefile.am (stamp-debug): Clean.
	* src/Makefile.in: Regenerate.

2002-02-28  Loren J. Rittle  <ljrittle@@acm.org>

	* src/Makefile.am: Resolve non-portable use of $<.
	* src/Makefile.in: Rebuilt.

2002-02-28  Phil Edwards  <pme@@gcc.gnu.org>

	* configure.in (GLIBCPP_ENABLE_CXX_FLAGS):  Do not pass arguments,
	let the defaults work.
	* configure:  Regenerate.

2002-02-28  Phil Edwards  <pme@@gcc.gnu.org>

	* acinclude.m4:  Remove trailing whitespace.
	(GLIBCPP_ENABLE_CXX_FLAGS):  Fix.
	* aclocal.m4, configure:  Regenerate.

2003-02-27  Benjamin Kosnik  <bkoz@@redhat.com>

        * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
	Call GLIBCPP_ENABLE_DEBUG_FLAGS.
        * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
        conditional if --enable-debug is yes. Rework.
	(GLIBCPP_ENABLE_DEBUG_FLAGS): New.
        * aclocal.m4: Regenerate.
	* libio/Makefile.am: Remove DEBUG_FLAGS.
	* libio/Makefile.in: Regenerate.
	* libsupc++/Makefile.am: Remove DEBUG_FLAGS.
	* libsupc++/Makefile.in: Regenerate.
	* docs/html/configopts.html: Add docs for --enable-debug,
	--enable-debug-flags.

2003-02-27  Benjamin Kosnik  <bkoz@@redhat.com>

	Correct dependency tracking, build warts.
	* configure.in: Correct repeated AC_OUTPUT thrashing by
	config-ml.in
	* configure: Regenerate.
	* include/Makefile.am (stamp-target): Stamp in top_builddir.
a13 273
	* src/Makefile.am (codecvt_members.cc): New rule.
	(collate_members.cc): Same.
	(ctype_members.cc): Same.
	(messages_members.cc): Same.
	(monetary_members.cc): Same.
	(numeric_members.cc): Same.
	(time_members.cc): Same.
	(c++locale.cc): Same.
	(basic_file.cc): Same.
	* src/Makefile.in: Regenerate.
	* acinclude.m4 (CCTYPE_CHAR_CC): Remove.
	(CCCODECVT_CC): Don't link, AC_SUBST.
	(CCOLLATE_CC): Same.
	(CCTYPE_CC): Same.
	(CMESSAGES_CC): Same.
	(CMONEY_CC): Same.
	(CNUMERIC_CC): Same.
	(CTIME_CC): Same.
	(CLOCALE_CC): Same.
	* aclocal.m4: Regenerate.

	* src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
	for convenience libraries.
	(version_arg): Rename linker.map to libstdc++.ver.
	(libstdc___la_DEPENDENCIES): Remove linker.map, add
	libstdc++-symbol.ver as a dependency.
	(libstdc++-symbol.ver): Add rule.
	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
	SYMVER_MAP. Don't link, AC_SUBST.

	* include/Makefile.am (target_headers_noinst): New.
	(stamp-target): Add CLOCALE_INTERNAL_H.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
	CLOCALE_INTERNAL_H, AC_SUBST.
	* config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
	include.
	* config/locale/gnu/time_members.cc: Same.
	* config/locale/gnu/numeric_members.cc: Same.
	* config/locale/gnu/monetary_members.cc: Same.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/ctype_members.cc: Same.
	* config/locale/gnu/collate_members.cc: Same.
	* config/locale/gnu/codecvt_members.cc: Same.
	* config/locale/generic/codecvt_members.cc: Remove.

2003-02-27  Jerry Quinn  <jlquinn@@optonline.net>

        * config/locale/generic/messages_members.h (messages::messages):
	Remove name from unused parameter.

2003-02-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/Makefile.am (stamp-std-precompile): Add rule.
	* include/Makefile.in: Regenerated.

2003-02-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
	* include/bits/basic_ios.tcc: Guard use of extern template.
	* include/std/std_iomanip.h: Same.
	* include/bits/streambuf.tcc: Same.
	* include/bits/stl_alloc.h: Same.
	* include/bits/locale_facets.tcc: Same.
	* include/bits/ostream.tcc: Same.
	* include/bits/istream.tcc: Same.
	* include/bits/fstream.tcc: Same.
	* include/bits/basic_string.tcc: Same.

2003-02-25  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9825
	* src/fstream.cc
	(basic_filebuf<char/wchar_t>::_M_underflow_common): When
	__bump is true (uflow), always increment the read pointer
	(_M_in_cur) before returning successfully.
	* testsuite/27_io/filebuf_virtuals.cc (test11): Add.

2003-02-25  Paolo Carlini  <pcarlini@@unitus.it>

	* include/std/std_sstream.h (str()): the size of the
	current string may be different from the initial one
	whenever _M_out_end > _M_out_beg.
	* testsuite/27_io/stringbuf_members.cc (test07): Add.

2003-02-21  Phil Edwards  <pme@@gcc.gnu.org>

	* config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
	(_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
	(_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
	when we don't have static mutex initialization.
	(__exchange_and_add):  Use _Atomic_add_mutex_once.
	* src/misc-inst.cc:  Definitions of all the above.
	* config/linker-map.gnu:  Also export locking symbols needed for the
	generic atomicity.h case.

2003-02-20  Alexandre Oliva  <aoliva@@redhat.com>

	* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
	config.status.
	* configure: Rebuilt.

2003-02-19  Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/9582
	* include/bits/stl_alloc.h:  Remove all traces of assert().

2003-02-18  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9582
	* include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.

2003-02-17  Paolo Carlini  <pcarlini@@unitus.it>

	* src/locale-inst.cc: Do not include <cassert>.
	* src/locale.cc: Likewise.

2003-02-17  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9169
	* include/bits/fstream.tcc (_M_convert_to_external):
	Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
	* testsuite/27_io/filebuf_virtuals.cc (test10): Add.

2003-02-13  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/ostream.tcc (sentry::sentry): Improve
	performance-wise the fix for libstdc++/9563.

2003-02-13  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9320
	* include/ext/stdio_filebuf.h
	(stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
	stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
	Change to take a __size parameter of type size_t, not
	of type (template parameter dependent) int_type.
	* src/ios.cc (ios_base::Init::_S_ios_create): Change type of
	size vars to size_t.
	* testsuite/ext/stdio_filebuf.cc: Add.

2003-02-12  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9563
	* include/bits/ostream.tcc (sentry::sentry): Check
	the state of the stream after the preparation.
	* testsuite/27_io/ostream_sentry.cc: Add.

2003-02-11  Scott Snyder  <snyder@@fnal.gov>

	PR libstdc++/9659
	* include/bits/fstream.tcc (seekoff): Avoid operator+
	for pos_type.

2003-02-11  Paolo Carlini  <pcarlini@@unitus.it>
            Petur Runolfsson  <peturr02@@ru.is>

	PR libstdc++/9318
	* include/bits/streambuf.tcc (__copy_streambufs):
	Don't conditionalize the copy to __testput.
	* testsuite/27_io/streambuf_members.cc (test09, test10): Add.

2003-02-08  John David Anglin  <dave.anglin@@nrc-cnrc.gc.ca>

	* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
	Correct alignment.
	(__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
	lock.

2003-02-07  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9548
	Implement resolution of DR 231 (Ready)
	* include/bits/locale_facets.h (__num_base::_S_format_float):
	Return void.
	* src/locale.cc (__num_base::_S_format_float): Implement
	resolution of DR 231.
	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
	Tweak uses. Check for negative precision.
	* testsuite/22_locale/num_put_members_char.cc (test06): Add
	* testsuite/22_locale/num_put_members_wchar_t.cc (test06): Ditto.

2003-02-07  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
	unsigned char platforms.

2003-02-05  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.tcc (time_put::do_put): Use __write.
	(money_put::do_put): Same.

2003-02-05  Jerry Quinn  <jlquinn@@optonline.net>

	* include/bits/ios_base.h (ios_base): Document reserved storage.

	* include/bits/locale_facets.h:	(struct __pad): Comment on
	implementation.
	(__verify_grouping): Same.
	(__add_grouping): Same.
	* include/bits/locale_facets.tcc (__verify_grouping): Move
	comments to declaration.
	(__add_grouping): Same.

	* include/bits/locale_facets.tcc:
	(__write<_CharT, _OutIter>): New function.
	(__write<_CharT>): New function specialization.
	(num_put::_M_insert): Remove explicit loop over iterator.  Use
	__write.
	(num_put::_M_widen_float): Remove __basefield.
	(num_put::_M_widen_int): Move __basefield to within grouping block.

	* include/bits/streambuf_iterator.h: Include <streambuf>.
	(ostreambuf_iterator::_M_put): Add.

2003-02-05  Paolo Carlini  <pcarlini@@unitus.it>

	* testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.

2003-02-05  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9439, PR libstdc++/9425
	* config/io/basic_file_stdio.cc
	(__basic_file<char>::seekoff, seekpos): Return -1L if
	fseek fails.
	* include/bits/fstream.tcc (basic_filebuf::seekoff):
	Check _M_file.seekoff return value; always return
	pos_type(off_type(-1)) in case of failure.
	(basic_filebuf::pbackfail): Check this->seekoff return
	value and return traits_type::eof() in case of failure.
	* testsuite/27_io/filebuf_virtuals.cc (test09): Add.

2003-02-05  Benjamin Kosnik  <bkoz@@redhat.com>

        * testsuite/26_numerics/valarray_name_lookup.cc: Fix.

2003-02-05  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (libtool_VERSION): To 5:3:0.
	* configure: Regenerated.

2003-02-04  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9538
	* include/bits/streambuf.tcc (sputbackc): Access
	this->gptr()[-1] only if _M_in_beg < _M_in_cur.
	* testsuite/27_io/filebuf_virtuals.cc (test08): Add.

2003-02-04  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/9507
	* include/bits/fstream.tcc (open): If the 'ate' repositioning
	operation fails, calls close _and_ returns a null pointer
	to indicate failure (27.8.1.3,4).
	* testsuite/27_io/filebuf_members.cc (test_06): Add.

2003-02-04  Petur Runolfsson  <peturr02@@ru.is>

	* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).

2003-02-04  Joseph S. Myers  <jsm@@polyomino.org.uk>

	* docs/html/17_intro/porting.texi: Update to GFDL 1.2.
	* docs/html/17_intro/porting.html: Regenerate.

2003-02-03  Volker Reichelt  <reichelt@@igpm.rwth-aachen.de>

	PR libstdc++/9234
	* include/bits/valarray_meta.h (_UnBase::operator[]): Apply unary
	operator.

	* include/bits/valarray_meta.h (__not_equal_to): Use != instead of ==.

	* testsuite/26_numerics/valarray_operators.cc: New test.
a20 8
2003-01-28  Danny Smith  <dannysmith@@users.sourceforge.net>

	* src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
	@@EXTRA_CXX_FLAGS@@ @@SECTION_FLAGS@@.
	* libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
	* src/Makefile.in: Regenerate.
	* libsupc++/Makefile.in: Regenerate.

a27 10
2003-01-26  Christian Cornelssen  <ccorn@@cs.tu-berlin.de>

	* include/Makefile.am (install-data-local): Prepend
	$(DESTDIR) to destination paths in all (un)installation
	commands.  Use ${c_base_builddir} and ${std_builddir}
	as destination subdirectories to achieve consistency with
	preceding mkinstalldirs commands.  No effect because both
	variables contain "." only.
	* include/Makefile.in: Regenerate.

d31 3
a33 1
	* docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
d35 13
a47 3
	docs/html/documentation.html, docs/html/17_intro/howto.html,
	docs/html/19_diagnostics/howto.html, docs/html/ext/sgiexts.html:
	Merge from trunk.
d64 1
a64 114
	Revert include ordering.
	* config/locale/generic/c_locale.h: Add include guards.
	* config/locale/gnu/c_locale.h: Same.
	* include/bits/locale_classes.h: Remove cctype include.
	* include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
	* include/std/std_fstream.h: Remove streambuf include.
	* include/std/std_sstream.h: Remove streambuf include.

2003-01-23  Benjamin Kosnik  <bkoz@@redhat.com>

	Match 3.2.0 ABI.
	* include/bits/stl_alloc.h: Revert.

	* include/bits/codecvt.h: Revert.
	* config/locale/gnu/codecvt_members.cc: Revert.
	* src/codecvt.cc: Revert.
	* src/localename.cc: Revert.

	* include/bits/ios_base.h (ios_base::~ios_base): Revert.

	* config/linker-map.gnu: Mostly match 3_2-branch file.

2003-01-22  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h: Move non-facet classes requiring
	<string> to...
	* include/bits/locale_classes.h: New.
	* include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
	* include/bits/Makefile.in: Regenerate.

	* include/bits/locale_facets.tcc (__convert_from_v): Move to...
	* config/locale/gnu/c_locale.h: ...here.
	* config/locale/generic/c_locale.h: Same.

	* include/bits/locale_facets.tcc: Move declarations to...
	* include/bits/locale_facets.h: ...here.
	* include/bits/basic_ios.h: Tweak includes accordingly.
	* include/std/std_sstream.h: Add streambuf include.
	* include/std/std_fstream.h: Ditto.
	* include/std/std_locale.h: Add locale_classes.h include.
	* include/std/std_iosfwd.h: Tweak.
	* src/concept-inst.cc: Add iterator include.

	* config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
	bits as unexported in the future.

2003-01-15  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
	GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/Makefile.am (all-local): Add conditional rule to
	generate testsuite_wchar_t.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/lib/libstdc++-v3-dg.exp
	(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
	testsuite_wchar_t is not present in the build directory.
	* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
	Remove setulimit bits.
	* testsuite/26_numerics/complex_value.cc: Set to noopts.
	* testsuite/Makefile.am (CLEANFILES): Add.
	* testsuite/Makefile.in: Regenerate.

2003-01-15  Benjamin Kosnik  <bkoz@@redhat.com>

	Renames, namespaces for testsuite utilities.
	* testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
	(gnu_allocator_tracker): Rename to allocation_tracker.
	(gnu_new_allocator): Rename to tracker_alloc.
	(__set_testsuite_memlimit): Rename to set_memory_limits.
	(gnu_assignment_operator): Rename to assignment_operator.
	(gnu_destructor): Rename to destructor.
	(gnu_copy_tracker): Rename to copy_tracker.
	(gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
	(run_tests_wrapped_locale): New.
	(run_tests_wrapped_env): New.
	* testsuite/testsuite_hooks.cc: Same.
	(class locale_data): Add.
	(class enviornment_variable): Add.
	(class not_found): Add.
	* testsuite/testsuite_allocator.h: Same.
	* testsuite/testsuite_allocator.cc: Same.
	* testsuite/23_containers/deque_ctor.cc
	(test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
	allocation_tracker.
	Change gnu_new_allocator to tracker_alloc.
	Change gnu_counting_struct to counter.
	Change gnu_copy_tracker to copy_tracker.
	Change gnu_copy_constructor to copy_constructor.
	Change gnu_assignment_operator to assignment_operator.
	Inject.
	* testsuite/23_containers/vector_capacity.cc: Same.
	* testsuite/23_containers/vector_ctor.cc (test01): Same.
	* testsuite/23_containers/list_modifiers.cc: Change
	gnu_copy_tracker to copy_tracker.
	* testsuite/21_strings/ctor_copy_dtor.cc (main): Change
	__set_testsuite_memlimit to set_memory_limits.
	* testsuite/21_strings/insert.cc (main): Same.
	* testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
	* testsuite/27_io/stringstream.cc: Same.
	* testsuite/27_io/stringbuf.cc: Same.
	* testsuite/27_io/streambuf.cc: Same.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/fstream.cc: Same.
	* testsuite/lib/libstdc++-v3-dg.exp
	(libstdc++-v3-list-sourcefiles): Additionally handle files two and
	three levels deeper in glob patterns.

2003-01-15  John David Anglin  <dave@@hiauly1.hia.nrc.ca>

	* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
	__hppa__.
d99 1
a99 1
	* config/linker-map.gnu: Add locale::facets details.
d123 4
a126 4
	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
	libstdc++-v3-list-sourcefiles): Additionally handle files one
	level deeper in glob patterns.

d151 1
a151 86
2002-12-29  Phil Edwards  <pme@@gcc.gnu.org>

	* include/std/std_bitset.h:  Better comments.

2002-12-29  Phil Edwards  <pme@@gcc.gnu.org>

	* include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
	_Base_bitset::_M_do_right_shift): Expect a non-zero shift.
	(bitset::operator<<=, bitset::operator>>=):  When shifting more bits
	than are in the bitset, zero memory rather than segfault.
	(operator>>(basic_istream,bitset):  Only call setstate once, after
	all work has been done.

	* testsuite/23_containers/bitset_members.cc (test03):  New test.
	* testsuite/23_containers/bitset_shift.cc (test02):  New test.

2002-12-28  Joseph S. Myers  <jsm@@polyomino.org.uk>

	* docs/html/17_intro/porting.texi: Use @@copying.
	* docs/html/17_intro/porting.html: Regenerate.

2002-12-23  Danny Smith  <dannysmith@@users.sourceforge.net>

	* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
	Don't use O_NONBLOCK if it is not defined.
	(__basic_file::open): Don't use fcntl either.

2002-12-19  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/8949
	* include/std/std_limits.h
	(struct numeric_limits<short>,
	struct numeric_limits<unsigned short>,
	struct numeric_limits<int>,
	struct numeric_limits<unsigned int>,
	struct numeric_limits<long>,
	struct numeric_limits<unsigned long>,
	struct numeric_limits<long long>,
	struct numeric_limits<unsigned long long>): According
	to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
	* testsuite/18_support/numeric_limits.cc: Add test04.

2002-12-18  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* testsuite/23_containers/vector_capacity.cc (test03): Move ...
	* testsuite/23_containers/vector_resize.cc: ...here as a new file.
	Pass in -lmalloc for irix6.
	* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.

2002-12-11  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/8887
	* config/locale/generic/time_members.cc
	(__timepunct<char>::_M_initialize_timepunct): Fix typos
	in _M_date_format and _M_date_era_format string literals.

2002-12-10  Mark Mitchell  <mark@@codesourcery.com>

	* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
	(__cxa_bad_typeid): Likewise.
	(__cxa_atexit): Likewise.
	(__cxa_finalize): Likewise.

2002-12-09  Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.

2002-12-09  Mark Mitchell  <mark@@codesourcery.com>

	* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.

2002-12-05  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.

2002-12-02  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/basic_string.h (compare(const basic_string&)):
        Fully qualify min() with std::.

2002-12-02  Benjamin Kosnik  <bkoz@@redhat.com>

	* configure.in (libtool_VERSION): Update to 5:2:0.
	* configure: Regenerate.

2002-12-02  Paolo Carlini  <pcarlini@@unitus.it>
d153 4
a156 10
	* include/bits/basic_string.tcc
	(basic_string::append(const basic_string&, size_type,
	size_type), basic_string::compare(size_type, size_type,
	const basic_string&), basic_string::compare(size_type,
	size_type, const basic_string&, size_type, size_type),
	basic_string::compare(const _CharT*), basic_string::
	compare(size_type, size_type, const _CharT*),
	basic_string::compare(size_type, size_type, const _CharT*,
	size_type), _S_string_copy(const basic_string&, _CharT*,
	typename _Alloc::size_type)): Fully qualify min() with std::.
d158 1
a158 1
2002-12-02  Paolo Carlini  <pcarlini@@unitus.it>
d160 4
a163 6
	* include/bits/basic_string.tcc
	(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
	forward_iterator_tag)): Delay the declaration of __dnew,
	fully qualify distance() with std::.
	(basic_string::_M_replace_safe): Fully qualify distance()
	with std::.
d165 1
a165 1
2002-11-28  Phil Edwards  <pme@@gcc.gnu.org>
d167 1
a167 3
	PR libstdc++/8716
	* testsuite/21_strings/ctor_copy_dtor.cc (test05):  Also test
	the NULL-pointer, zero-size case.
d169 1
a169 1
2002-11-28  Jonathan Wakely  <redi@@gcc.gnu.org>
d171 2
a172 1
	* docs/html/faq/index.html: Add tip about a namespace for extensions.
d174 2
a175 2
2002-11-28  Paolo Carlini  <pcarlini@@unitus.it>
            Nathan Myers  <ncm@@cantrip.org>
d177 7
a183 3
	* src/localename.cc
	(locale::_Impl::_Impl(const char*, size_t)):
	Improve previous fix for the strtok vs MT issue.
d185 3
a187 1
2002-11-28  Paolo Carlini  <pcarlini@@unitus.it>
d189 23
a211 10
	* config/locale/gnu/c_locale.cc (locale::_S_categories):
	Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
	* config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.

2002-11-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
	* config/linker-map.gnu: Version __cxa_guard_acquire,
	__cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
d213 1
a213 1
2002-11-25  Paolo Carlini  <pcarlini@@unitus.it>
d216 1
d221 1
a221 1
2002-11-25  Stephen M. Webb  <stephen@@bregmasoft.com>
d223 2
a224 40
	* testsuite/testsuite_allocator.h: New file.
	* testsuite/testsuite_allocator.cc: New file.
	* testsuite/Makefile.am: Added testsuite_allocator to test library.
	* testsuite/testsuite_hooks.h: Added more detailed tracker objects
	gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
	* testsuite/testsuite_hooks.cc: Added new static objects definitions.
	* testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
	* testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
	* testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.

2002-11-25  Mark Mitchell  <mark@@codesourcery.com>

	* libsupc++/Makefile.am (sources): Add guard.cc.
	* libsupc++/Makefile.in: Regenerated.
	* libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
	(__cxa_guard_release): Likewise.
	(__cxa_guard_abort): Likewise.
	* libsupc++/guard.cc: New file.

2002-11-25  Wolfgang Bangerth  <bangerth@@ticam.utexas.edu>

	* include/std/std_complex.h
	(operator<<(basic_ostream&, const complex&)): Prefer 'x'
	to "x" for efficiency sake.
	* src/locale.cc (locale::locale(const char*)): Ditto.

2002-11-24  Paolo Carlini  <pcarlini@@unitus.it>

	* src/locale.cc (locale::locale(const char*)):
	Trivial cosmetic tweaks.

2002-11-22  Laszlo Ersek  <erseklaszlo@@chello.hu>
            Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/8645
	* include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
	Don't check that __w->_M_left != 0 and __w->_M_right != 0
	when they can't be otherwise.

2002-11-21  Phil Edwards  <pme@@gcc.gnu.org>
d226 1
a226 15
	* docs/html/documentation.html:  Fix broken/thinko'd URL.

2002-11-21  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/run_doxygen:  Tighter search expression for sed.
	* docs/doxygen/stdheader.cc:  Handle the case of good headers.

2002-11-21  Phil Edwards  <pme@@gcc.gnu.org>

	* acinclude.m4:  Uniform formatting.
	* configure.in:  Warn when generic atomicity.h is used.
	* configure.target:  Fix comment.
	* aclocal.m4, configure:  Regenerate.

2002-11-21  Phil Edwards  <pme@@gcc.gnu.org>
d231 1
a231 25
2002-11-21  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/style.css:  Update.
	* docs/doxygen/user.cfg.in:  Update.
	* docs/html/documentation.html:  Regenerate.
	* docs/html/17_intro/howto.html:  Tweak I/O sentry entry.
	* docs/html/27_io/howto.html:  New section on headers.
	* docs/html/faq/index.html:  Add i386 threading entry.
	* docs/html/faq/index.txt:  Regenerate.

	* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
	Import R23.

2002-11-21  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/TODO:  Note change in clause 27 docs.
	* include/bits/basic_ios.h, include/bits/fpos.h,
	include/bits/ios_base.h, include/bits/stl_deque.h,
	include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
	include/std/std_iomanip.h, include/std/std_iosfwd.h,
	include/std/std_iostream.h, include/std/std_istream.h,
	include/std/std_ostream.h, include/std/std_sstream.h,
	include/std/std_streambuf.h:  Doxygenate all I/O entities.

2002-11-20  Benjamin Kosnik  <bkoz@@redhat.com>
d239 1
a239 12
2002-11-20  Jonathan Wakely  <redi@@gcc.gnu.org>

	* docs/html/21_strings/howto.html: Fix example code, cite Gaby's
	explanation of "<unknown type>" error with toupper/tolower.
	* docs/html/22_locale/howto.html: Be more consistent with
	example in 21_strings.

2002-11-19  John Gustafsson  <forgoil@@rsn.bth.se>

	* docs/html/20_util/howto.html: Fix typo.

2002-11-18  Jonathan Lennox  <lennox@@cs.columbia.edu>
d244 1
a244 1
	(test05): Use test_buffer_4.  Delete unused ostringstream
d247 1
a247 1
2002-11-18  Paolo Carlini  <pcarlini@@unitus.it>
d254 1
a254 20
2002-11-17  Jakub Jelinek  <jakub@@redhat.com>

	* config/linker-map.gnu: Export _S_construct even if size_t is
	unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
	and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.

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.

2002-11-15  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>
d258 2
a259 2
2002-11-15  Paolo Carlini  <pcarlini@@unitus.it>
            Loren J. Rittle  <ljrittle@@acm.org>
d276 1
a276 1
2002-11-13  Benjamin Kosnik  <bkoz@@redhat.com>
d280 2
a281 2
	(HAVE_SETENV): Add.
	(HAVE_SIGSETJMP): Add.
d285 1
a285 1
2002-11-13  John David Anglin  <dave@@hiauly1.hia.nrc.ca>
d287 5
a291 2
	* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
	on hppa when there is no weak support.
d293 1
a293 1
2002-11-13  Benjamin Kosnik  <bkoz@@redhat.com>
d295 4
a298 5
	PR libstdc++/8230
	* include/bits/vector.tcc (vector::reserve): Throw length_error if
	requested size is bigger than max_size().
	* include/bits/stl_bvector.h (vector<bool>::reserve): Same.
	* testsuite/23_containers/vector_capacity.cc (test02): Add.
d300 1
a300 1
2002-11-13  Benjamin Kosnik  <bkoz@@redhat.com>
d302 1
a302 1
	* config/linker-map.gnu: Export all _S_construct.
d304 1
a304 1
2002-11-13  Loren J. Rittle  <ljrittle@@acm.org>
d306 1
a306 2
	PR libstdc++/7445
	* src/locale.cc (std::locale::classic()): Weaken locking protocol.
d308 3
a310 1
2002-11-13  Jonathan Wakely  <redi@@gcc.gnu.org>
d312 1
a312 1
	* docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
d314 3
a316 25
2002-11-11  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/6746
        * include/bits/fstream.tcc (filebuf::open): Set input pointers.
	* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
	__p_mode as well.
	(__basic_file::open): Set to non-block for input.
	* testsuite/27_io/istream_unformatted.cc (test12): Add.
	(test13): Same.

2002-11-11  Jonathan Wakely <redi@@gcc.gnu.org>

	* docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
	* docs/html/faq/index.html: Mention that GCC ships with a newer
	version of the library than the last snapshot. Make "see below" a
	link. Add missing <html> tag.
	* docs/html/faq/index.txt: Regenerate.
	* docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
	docs/html/27_io/howto.html, docs/html/ext/howto.html,
	docs/html/ext/sgiexts.html: Add missing <html> tag.

2002-11-07  Phil Edwards  <pme@@gcc.gnu.org>
            Richard Earnshaw  <rearnsha@@arm.com>
d318 2
a319 11
	* config/cpu/generic/atomicity.h:  Provide atomic __exchange_and_add
	and __atomic_add.

2002-11-08  Paolo Carlini  <pcarlini@@unitus.it>

	* config/locale/gnu/monetary_members.cc
	(moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
	const char*),
	moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
	const char*)): Tweak parameters for glibc2.3 systems, thus
	avoiding unused parameter warnings.
d325 1
a325 1
	Prefer data() to c_str(), thus avoiding assigning the
d335 1
a335 1
	(istream::operator>>(string)): Same.
d338 7
a353 13
2002-11-05  John David Anglin  <dave@@hiauly1.hia.nrc.ca>

	* configure.target (hppa*): Define cpu_include_dir.
	* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
	* src/misc-inst.cc: Instantiate atomicity lock when
	_GLIBCPP_INST_ATOMICITY_LOCK is defined.
	* config/cpu/hppa/atomicity.h: New file.

2002-11-05  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/8463
	* include/bits/ios_base.h (~ios_base): Make virtual.

d360 1
a360 6
2002-11-01  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/8172
	* src/string-inst.cc: Add instantiation.

2002-11-01  Benjamin Kosnik  <bkoz@@redhat.com>
d362 4
a365 10
	PR libstdc++/7926
	* configure.target: Simplify.
	* config/cpu/i386/atomicity.h: Remove.
	* config/cpu/i386: Remove.
	* config/cpu/arm/atomicity.h: Remove.
	* config/cpu/arm: Remove.
	* config/cpu/x86-64/atomicity.h: Remove.
	* config/cpu/x86-64: Remove.

2002-11-01  Christian Ehrhardt  <ehrhardt@@mathematik.uni-ulm.de>
d370 1
a370 1
2002-11-01  Benjamin Kosnik  <bkoz@@redhat.com>
d384 1
a384 7
2002-11-01  John Carter  <john.carter@@tait.co.nz>

	PR libstdc++/7961
	* include/bits/basic_string.tcc
	(compare(const _CharT* __s)): Don't access __s past its length.

2002-10-31  Benjamin Kosnik  <bkoz@@redhat.com>
d391 1
a391 1
2002-10-28  Jason Thorpe  <thorpej@@wasabisystems.com>
d393 3
a395 4
	* testsuite/thread/pthread5.cc: Include <unistd.h>
	if _GLIBCPP_HAVE_UNISTD_H is defined.
	(main): Only use pthread_attr_setscope if
	_POSIX_THREAD_PRIORITY_SCHEDULING is defined.
d397 1
a397 1
2002-10-28  Jason Thorpe  <thorpej@@wasabisystems.com>
d399 5
a403 6
	* testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
	* testsuite/thread/pthread2.cc: Likewise.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: Likewise.
	* testsuite/thread/pthread5.cc: Likewise.
	* testsuite/thread/pthread6.cc: Likewise.
d405 1
a405 1
2002-10-27  Paolo Carlini  <pcarlini@@unitus.it>
a414 8
2002-10-24  Hans-Peter Nilsson  <hp@@bitrange.com>

	PR other/3337
	PR bootstrap/6763
	PR bootstrap/8122
	* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
	__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.

d427 1
a427 42
2002-10-22  Loren J. Rittle  <ljrittle@@acm.org>

	* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
	Remove specialization for FreeBSD systems.

2002-10-18  Loren J. Rittle  <ljrittle@@acm.org>

	* configure.target (freebsd*): Use abi_baseline_triplet.
	* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
	* config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.

	* testsuite/thread/pthread1.cc: Remove needless workaround
	for FreeBSD 5.

2002-10-18  Loren J. Rittle  <ljrittle@@acm.org>
	    Brad Spencer  <spencer@@infointeractive.com>
	    (provided alternate patch and improvements)

	* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
	new environment variable which replaces all uses of __USE_MALLOC
	macro.
	* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
	(__mem_interface): Remove all references to old internal typedef.
	* include/backward/alloc.h (__USE_MALLOC): Remove it and all
	guarded code.
	* include/bits/c++config (__USE_MALLOC): Update related error
	message and comment.
	* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
	guarded code.  Update all related comments.
	(__mem_interface): Unconditionally replace it with __new_alloc.
	However, leave the typedef around in case anyone used it.
	(__default_alloc_template<>::_S_force_new): New class static.
	(__default_alloc_template<>::allocate, deallocate): Add
	run-time controlled feature similar to what __USE_MALLOC code
	path had provided.
	* src/stl-inst.cc (__USE_MALLOC): Remove it and all
	guarded code.
	* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
	Add documentation on GLIBCPP_FORCE_NEW environment variable.
	* testsuite/ext/allocators.cc: Likewise.

2002-10-18  Phil Edwards  <pme@@gcc.gnu.org>
a432 6
2002-10-17  Momchil Velikov  <velco@@fadata.bg>
	    Loren J. Rittle  <ljrittle@@acm.org>

	* configure.in: Add *-freebsd* to cross list.
	* configure: Rebuilt.

d435 11
a445 13
	* include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
	_M_name_timepunct.
	(__timepunct::~__timepunct): Deallocate, remove specialization
	declarations.
	(messages::messages): Allocate _M_name_messages.
	(messages::~messages): Deallocate.
	(messages_byname): Same.
	* config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
	Remove.
	* config/locale/generic/time_members.cc (__timepunct::~__timepunct):
	Remove.

	* docs/html/install.html: Add es_MX, en_PH to required locales list.
d447 2
a450 5
	* config/linker-map.gnu: Add exports for codecvt constructors
	where size_t == unsigned long.

2002-10-14  Benjamin Kosnik  <bkoz@@redhat.com>

d456 1
a456 1
2002-10-14  Benjamin Kosnik  <bkoz@@redhat.com>
d460 1
a460 1
2002-10-14  Benjamin Kosnik  <bkoz@@redhat.com>
d462 1
a462 1
	* testsuite/22_locale/static_members.cc (test02): Disable for
d469 1
a469 11
2002-10-13  Danny Smith  <dannysmith@@users.sourceforge.net>

	* include/bits/stl_threads.h (_GLIBCPP_mutex,
	_GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
	_GLIBCPP_mutex_address_init, _GLIBCPP_once):
	Declare in namespace __gnu_cxx.
	(_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
	names.
	Adjust copyright.

2002-10-12  Benjamin Kosnik  <bkoz@@redhat.com>
d478 1
a478 7
2002-10-12  Jonathan Wakely  <jw@@kayari.org>
            Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* docs/html/21_strings/howto.html#5:  Correct nasting of XHTML
	elements.  Correct allocator-related text.

2002-10-11  Benjamin Kosnik  <bkoz@@redhat.com>
d482 1
a482 1
2002-10-11  Benjamin Kosnik  <bkoz@@redhat.com>
d493 2
a494 2
	* src/globals.cc: Same.

a495 1
	non-glibc systems.
d497 1
a497 1
2002-10-10  Benjamin Kosnik  <bkoz@@redhat.com>
d500 1
a500 1
	(GLIBCPP_3.2): Don't export locale::_S_*.
d504 1
a504 4
	* src/localename.cc: Same.
	* src/globals.cc: Same.

2002-10-10  Phil Edwards  <pme@@gcc.gnu.org>
d506 1
a506 5
	* docs/html/21_strings/howto.html:  Write #5, char_traits.
	* docs/html/17_intro/porting.texi:  Expand on os_include_dir.
	* docs/html/17_intro/porting.html:  Regenerate.

2002-10-09  Benjamin Kosnik  <bkoz@@redhat.com>
d511 2
a512 9
2002-10-08  Jonathan Lennox  <lennox@@cs.columbia.edu>

	PR libstdc++/8071, libstdc++/8127, libstdc++/6745
	* streambuf.tcc (__copy_streambufs): Handle cases where
	__sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
	* testsuite/27_io/ostream_inserter_other.cc (test05): Add.

2002-10-08  Paolo Carlini  <pcarlini@@unitus.it>
	    Benjamin Kosnik  <bkoz@@redhat.com>
d523 1
a523 1
	* src/locale.cc (locale::locale(const char* )): Rewrite to deal
d542 1
a542 1
	* src/locale-inst.cc: Remove extra includes.
d557 1
a557 1

d565 1
a565 1
	* config/locale/gnu/time_members.cc: Same.
d575 1
a575 1
2002-10-07  Jonathan Wakely  <jw@@kayari.org>
d577 2
a578 12
	* docs/html/configopts.html, docs/html/documentation.html,
	docs/html/explanations.html, docs/html/install.html,
	docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
	docs/html/17_intro/license.html, docs/html/18_support/howto.html,
	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
	docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
	docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
	docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
	docs/html/27_io/howto.html, docs/html/ext/howto.html,
	docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Add DOCTYPEs.
d580 1
a580 1
2002-10-03  Richard Earnshaw  <rearnsha@@arm.com>
d582 4
a585 6
	PR libstdc++/3584
	* config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
	ASM sequences that don't give us atomic addition operations.  Instead
	just add a comment explaining why it doesn't work.
	(__atomic_add): Just use __exchange_and_add.
	(__test_and_set, __always_swap): Delete.
d587 1
a587 1
2002-10-02  Andreas Jaeger  <aj@@suse.de>
d589 1
a589 2
	* config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
	New file.
d596 1
a596 176
2002-09-27  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
	Deal correctly with grouped, showbased (oct or hex) zero.
	* testsuite/22_locale/num_put_members_char.cc: Add test05.
	* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.

2002-09-27  Richard Henderson  <rth@@redhat.com>

	* config/os/hpux/cpu_limits.h: Remove.

	* include/std/std_limits.h (numeric_limits<T>::is_iec559): False
	if denormals are not supported.

2002-09-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/Makefile.am (target_headers): Remove cpu_limits.h.
	* include/Makefile.in: Regenerate.
	* configure.in (CPU_LIMITS_INC_SRCDIR): Remove
	* configure: Regenerate.
	* configure.target (CPULIMITS): Remove.

	* include/std/std_limits.h: Remove cpu_limits.h include.

	* config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
	Remove.
	* config/os/irix/irix6.5/os_defines.h
	(__glibcpp_long_double_bits): Remove.
	(__glibcpp_wchar_t_bits): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/irix/irix5.2/os_defines.h
	(__glibcpp_long_double_bits): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
	* config/os/bsd/freebsd/os_defines.h:
	(__glibcpp_long_double_bits): Remove.
	* config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
	(__glibcpp_wchar_t_is_signed): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
	(__glibcpp_long_double_bits): Remove.

	* config/os/osf/osf5.0/cpu_limits.h: Remove.
	* config/cpu/alpha/cpu_limits.h: Remove.
	* config/cpu/arm/cpu_limits.h: Remove.
	* config/cpu/cris/cpu_limits.h: Remove.
	* config/cpu/generic/cpu_limits.h: Remove.
	* config/cpu/generic/limits.h: Remove.
	* config/cpu/ia64/cpu_limits.h: Remove.
	* config/cpu/m68k/cpu_limits.h: Remove.
	* config/cpu/mmix/cpu_limits.h: Remove.
	* config/cpu/powerpc/cpu_limits.h: Remove.
	* config/cpu/S390/cpu_limits.h: Remove.

2002-09-25  Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* testsuite/18_support/numeric_limits.cc: Check the maximum and
	minimum values of the wchar_t type.

2002-09-25  Mark Mitchell  <mark@@codesourcery.com>

	* include/std/std_limits.h (numeric_limits<unsigned char>::digits):
	Fix typo.

2002-09-23  Richard Henderson  <rth@@redhat.com>

	* include/std/std_limits.h (__glibcpp_plain_char_is_signed,
	__glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
	__glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
	__glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
	__glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
	__glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
	__glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
	__glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
	__glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
	__glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
	__glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
	__glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
	__glibcpp_bool_digits, __glibcpp_signed_char_min,
	__glibcpp_signed_char_max, __glibcpp_signed_char_digits,
	__glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
	__glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
	__glibcpp_unsigned_char_digits10, __glibcpp_char_min,
	__glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
	__glibcpp_signed_short_min, __glibcpp_signed_short_max,
	__glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
	__glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
	__glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
	__glibcpp_signed_int_min, __glibcpp_signed_int_max,
	__glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
	__glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
	__glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
	__glibcpp_signed_long_min, __glibcpp_signed_long_max,
	__glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
	__glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
	__glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
	__glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
	__glibcpp_wchar_t_digits10): Remove.
	(__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
	(__float_storage, __double_storage, __long_double_storage): Remove.
	(__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
	(__glibcpp_digits, __glibcpp_digits10): New.
	(numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
	(numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
	(numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
	(numeric_limits<T>::digits): Use __glibcpp_digits.
	(numeric_limits<T>::digits10): Use __glibcpp_digits10.
	* testsuite/18_support/numeric_limits.cc (test03): Don't use
	__glibcpp_s8_digits10 et al; check vs the installed versions
	of digits10 for particular sizes.

        * include/std/std_limits.h (__glibcpp_float_is_modulo,
        __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
        (numeric_limits<T>::is_modulo, T floating): Use false.

2002-09-22  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* Makefile.am (all-multi): Fix multilib parallel build.

2002-09-22  Richard Henderson  <rth@@redhat.com>

	* include/std/std_limits.h (__glibcpp_f32_round_error,
	__glibcpp_f64_round_error, __glibcpp_f80_round_error,
	__glibcpp_f96_round_error, __glibcpp_f128_round_error,
	__glibcpp_float_round_error, __glibcpp_double_round_error,
	__glibcpp_long_double_round_error, __glibcpp_float_round_style,
	__glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
	(numeric_limits<char>::epsilon, round_error): Use constant 0.
	(numeric_limits<float>::round_error): Use constant 0.5.
	(numeric_limits<float>::round_style): Use round_to_nearest.
	(numeric_limits<double>, numeric_limits<long double>): Similarly.

	* include/std/std_limits.h (__glibcpp_f32_is_iec559,
	__glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
	__glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
	__glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
	__glibcpp_long_double_is_iec559): Remove.
	(numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
	(numeric_limits<double>, numeric_limits<long double>): Similarly.

	* include/std/std_limits.h (__glibcpp_integral_traps): New.
	(__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
	__glibcpp_long_traps, __glibcpp_wchar_t_traps,
	__glibcpp_long_long_traps, __glibcpp_plain_char_traps,
	__glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
	__glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
	__glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
	__glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
	__glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
	__glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
	__glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
	__glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
	__glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
	__glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
	(numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
	(numeric_limits<T>::is_modulo, T integral): Use true.
	(numeric_limits<T>::is_bounded, T floating): Use true.

2002-09-18  Loren J. Rittle  <ljrittle@@acm.org>

	* testsuite/18_support/numeric_limits.cc (test_epsilon): New.

2002-09-18  Richard Henderson  <rth@@redhat.com>

	* testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.

2002-09-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/c_shadow: Remove.
	* include/bits/generic_shadow.h: Remove.
	* include/Makefile.am: Remove generic_shadow.h.
	* acinclude.m4: Remove c_shadow references.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* mkcshadow: Remove.
	* mkinclosure: Remove.
d598 3
a600 1
2002-09-16  Loren J. Rittle  <ljrittle@@acm.org>
d602 1
a602 3
	libstdc++/7922
	* include/ext/stl_rope.h (rope<>): Qualify dependent names
	with `typename'.
d604 4
a607 1
2002-09-16  Richard Henderson  <rth@@redhat.com>
d609 1
a609 30
	* include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
	__glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
	__glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
	__glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
	__glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
	__glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
	__glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
	__glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
	__glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
	__glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
	__glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
	__glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
	__glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
	__glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
	__glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
	__glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
	__glibcpp_long_double_has_SNaN): Remove.
	(__glibcpp_f128_is_iec559): True if IEEE.
	(__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
	(__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
	(__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
	(std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
	(std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
	(std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
	(std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
	(std::numeric_limits<double>): Similarly.
	(std::numeric_limits<long double>): Similarly.
	* src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
	(__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
	(__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
d611 16
a626 2
	* testsuite/18_support/numeric_limits.cc (test_infinity): New.
	(test_denorm_min, test_qnan, test_is_iec559): New.
d628 1
a628 1
2002-09-16  Phil Edwards  <pme@@gcc.gnu.org>
d636 1
a636 1
2002-09-16  Richard Henderson  <rth@@redhat.com>
d638 3
a640 17
	* include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
	__glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
	__glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
	__glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
	__glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
	__glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
	__glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
	__glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
	__glibcpp_long_double_has_denorm): Remove.
	(__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
	__glibcpp_long_double_denorm_min): Remove.
	(std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
	(std::numeric_limits<float>::denorm_min): Likewise.
	(std::numeric_limits<double>): Similarly.
	(std::numeric_limits<long double>): Similarly.
	* src/limits.cc (__glibcpp_float_denorm_min,
	__glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
d642 1
a642 3
2002-09-13  Andy Felt  <afelt@@uwsp.edu>

	* docs/html/17_intro/howto.html:  Update link.
d644 3
a646 4
2002-09-13  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/run_doxygen:  Massage man page for Iterator_types.3.
	* docs/html/faq/index.html:  Whitespace fixes.
d660 1
a660 1
2002-09-11  Benjamin Kosnik  <bkoz@@redhat.com>
d664 1
a664 1
	* config/locale/generic/c_locale.h (__convert_from_v): Add.
d666 1
a666 1
2002-09-11  Paolo Carlini  <pcarlini@@unitus.it>
d668 2
a669 2
	* include/bits/locale_facets.tcc (__convert_from_v):
	Use __uselocale instead of setlocale for glibc 2.3+.
d671 1
a671 1
2002-09-10  Benjamin Kosnik  <bkoz@@redhat.com>
d677 1
a677 1
	* acinclude.m4: Set CCODECVT_CC.
d681 1
a681 1
	* src/ctype.cc: ...here. New file.
d683 3
a685 3
	* src/codecvt.cc: ...here.
	* config/generic/codecvt_members.cc: ...and here.
	* config/gnu/codecvt_members.cc: ...and here.
d692 1
a692 29
	* src/vterminate.cc: Same.

2002-09-10  Gabriel Dos Reis  <gdr@@soliton.integrable-solutions.net>

	* include/bits/stl_vector.h (vector<>): Don't use a name with
	different meanings before and after re-evaluation in the completed
	scope.
	* include/bits/basic_string.h (basic_string<>): Likewise.
	* include/bits/stl_bvector.h (vector<bool>): Likewise.
	* include/bits/stl_deque.h (std): Likewise.
	* include/bits/stl_list.h (list<>): Likewise.
	* include/bits/stl_tree.h (_Rb_tree<>): Likewise.

2002-09-10  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/codecvt.h (class __codecvt_abstract_base):
	Add __c_locale type _M_c_locale_codecvt member.
	(class codecvt<char, char, mbstate_t>,
	class codecvt<wchar_t, char, mbstate_t>): Add new
	codecvt(__c_locale, size_t) constructor.
	(codecvt_byname::codecvt_byname): Update.
	* src/codecvt.cc (class codecvt<char, char, mbstate_t>,
	class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
	constructor and ~codecvt() destructor; define
	codecvt(__c_locale, size_t) constructor.
	(codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
	(codecvt::do_in): Ditto for mbsrtowcs call.
	* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
	Tweak construction of codecvt facets.
d701 2
a702 11
	* docs/html/configopts.html: Change grouping. Note ABI impacts.
	Update information for locale model defaults.
	* docs/html/install.html: Update include directory
	information.
	Update testing information.
	Update linux issues for named locales.
	* docs/html/abi.txt: Fix typos.
	Add more info.

	* src/misc-inst.cc: Add missing instantiations.

d704 1
a704 1

a712 5
2002-09-06  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/localefwd.h: Tweak formatting.
	* docs/html/abi.txt: Add.

d717 3
a719 3
	* config/cpu/sparc/atomicity.h: New file.
	* config/cpu/sparc/sparc32/atomicity.h: Removed.
	* config/cpu/sparc/sparc64/atomicity.h: Removed.
d723 1
a723 1
	* config/os/gnu-linux/ctype_noninline.h
d736 8
d745 1
a745 1
	    Roland McGrath  <roland@@redhat.com>
d759 1
a759 1
2002-09-05  Jonathan Wakely  <jw@@kayari.org>
d761 5
a765 16
	* docs/html/Makefile:  Use more portable shell wildcard.
	* docs/html/makedoc.awk:  Nest elements correctly for XHTML conversion.
	* docs/html/configopts.html, docs/html/documentation.html,
	docs/html/explanations.html, docs/html/install.html,
	docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
	docs/html/17_intro/license.html, docs/html/18_support/howto.html,
	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
	docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
	docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
	docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
	docs/html/27_io/howto.html, docs/html/ext/howto.html,
	docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Convert
	to XHTML.
	* docs/html/faq/index.txt:  Regenerate.
d814 1
a814 165
2002-09-04  Richard Henderson  <rth@@redhat.com>

	* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
	__glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
	__glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
	__glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
	__glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
	__glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
	__glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
	__glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
	__glibcpp_long_double_has_infinity): Remove.
	(std::numeric_limits<float>, std::numeric_limits<double>,
	std::numeric_limits<long double>): Use __builtin_huge_val
	to implement has_infinity and infinity().
	* src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
	__glibcpp_long_double_infinity): Remove.

2002-09-03  Richard Henderson  <rth@@redhat.com>

	* include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
	__glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
	__glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
	__glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
	__glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
	__glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
	__glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
	__glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
	__glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
	__glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
	__glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
	__glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
	__glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
	__glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
	__glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
	__glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
	__glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
	__glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
	__glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
	__glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
	__glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
	__glibcpp_float_digits10, __glibcpp_float_radix,
	__glibcpp_float_epsilon, __glibcpp_float_min_exponent,
	__glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
	__glibcpp_float_max_exponent10, __glibcpp_double_min,
	__glibcpp_double_max, __glibcpp_double_digits,
	__glibcpp_double_digits10, __glibcpp_double_radix,
	__glibcpp_double_epsilon, __glibcpp_double_min_exponent,
	__glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
	__glibcpp_double_max_exponent10, __glibcpp_long_double_min,
	__glibcpp_long_double_max, __glibcpp_long_double_digits,
	__glibcpp_long_double_digits10, __glibcpp_long_double_radix,
	__glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
	__glibcpp_long_double_min_exponent10,
	__glibcpp_long_double_max_exponent,
	__glibcpp_long_double_max_exponent10): Remove macros.
	(std::numeric_limits<float>, std::numeric_limits<double>,
	std::numeric_limits<long double>): Use protected float.h macros.

2002-09-01  Phil Edwards  <pme@@gcc.gnu.org>

	* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
	Fix spelling in comment.
	* testsuite/Makefile.in:  Regenerate.
	* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
	than 'quote' and 'bslash'.

2002-08-31  Phil Edwards  <pme@@gcc.gnu.org>

	* acinclude.m4:  Minor comment tweaks.

	* docs/html/makedoc.awk:  New file...
	* docs/html/Makefile:  ...called from here...
	* docs/html/documentation.html:  ...to help generate this.

	* docs/html/21_strings/howto.html:  Prepare for new entry.
	* include/bits/basic_string.h:  Initial basic_stirng hook for
	doxygen.  Remove trailing whitespace.
	* include/bits/char_traits.h:  Point to onlinedocs for new entry.
	* include/bits/stringfwd.h:  Add doxygen hooks for string and
	wstring typedefs.

2002-08-29  Richard Earnshaw  <rearnshaw@@arm.com>

	* config/cpu/arm/cpu_limits.h: New file.
	* configure.target: Use config/cpu/arm for XScale and StrongARM
	configurations.

2002-08-28  Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* include/std/std_limits.h (__glibcpp_char_bits,
	__glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
	__glibcpp_long_long_bits, __glibcpp_float_bits,
	__glibcpp_double_bits, __glibcpp_long_double_bits): Remove.  Use
	compiler predifined macros.
	(__glibcpp_wchar_t_is_signed): Define based on compiler predefined
	__WCHAR_UNSIGNED__.

2002-08-27  Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
	__glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
	__glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
	__glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
	__glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
	__glibcpp_f64_infinity_bytes,
	__glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
	__glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
	__glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
	__glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
	__glibcpp_f80_infinity_bytes,
	__glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
	__glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
	__glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
	__glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
	__glibcpp_f96_infinity_bytes,
	__glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
	__glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
	__glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
	__glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
	__glibcpp_f128_infinity_bytes,
	__glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
	__glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
	__glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
	__glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
	__glibcpp_float_infinity_bytes,
	__glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
	__glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
	__glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
	__glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
	__glibcpp_double_infinity_bytes,
	__glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
	__glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
	__glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
	__glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
	__glibcpp_long_double_infinity_bytes,
	__glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
	__glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
	__glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
	__glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
	New macros.
	(__glibcpp_word_bits, __glibcpp_word): Likewise.
	(__glibcpp_byte): New typedef.
	(__float_storage, __double_storage, __long_double_storage): New types.
	(__glibcpp_float_infinity, __glibcpp_float_QNaN,
	__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
	objects. Declare.
	(__glibcpp_double_infinity, __glibcpp_double_QNaN,
	__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
	(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
	__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
	Likewise.

	* src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
	__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
	(__glibcpp_double_infinity, __glibcpp_double_QNaN,
	__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
	(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
	__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
	Likewise.

2002-08-25  Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* include/std/std_limits.h: Indent conditional macro definitions.

2002-08-23  Phil Edwards  <pme@@gcc.gnu.org>
d823 1
a823 12
2002-08-23  Phil Edwards  <pme@@gcc.gnu.org>

	* config/linker-map.gnu:  Verbose comments, clean up spacing.
	* include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
	statements.
	__allocator:  Change class declaration to struct.
	* docs/html/17_intro/C++STYLE:  Fix typo.
	* include/bits/stl_deque.h, include/bits/stl_list.h,
	include/bits/stl_map.h, include/bits/stl_multimap.h,
	include/bits/stl_vector.h:  Fix fallout from typo.

2002-08-22  Benjamin Kosnik  <bkoz@@redhat.com>
a832 14
2002-08-22  Loren J. Rittle <ljrittle@@acm.org>

	* testsuite/abi_check.cc: Enhance shell portability.
	Support older binutils/readelf.
	* config/abi/i386-unknown-freebsd4.6: Add.
	* config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.

2002-08-22  Paolo Carlini  <pcarlini@@unitus.it>

	* docs/html/faq/index.html: Add Loren James Rittle and
	Paolo Carlini to the list of v3 maintainers.
	* docs/html/faq/index.txt: Ditto.
	* docs/html/17_intro/RELEASE-NOTES: Ditto.

d836 1
a836 1

d844 1
a844 1
	* testsuite/Makefile.in: Regenerate.
a854 8
2002-08-19  Jonathan Wakely  <jw@@kayari.org>

	* docs/html/configopts.html, docs/html/documentation.html,
	docs/html/install.html, docs/html/22_locale/codecvt.html,
	docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
	docs/html/22_locale/locale.html,
	docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.

d864 1
a864 1

d867 3
a869 36
2002-08-15  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/documentation.html:  Update doxygen links for 3.2.

2002-08-15  Steve Ellcey  <sje@@cup.hp.com>

	* libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
	type from void* to _Unwind_Ptr.
	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
	Do not cast landing_pad or base_of_encoded_value to (void *).
	* libsupc++/eh_throw.cc (__gxx_exception_cleanup):
	Accept _URC_NO_REASON as a valid reason code.

2002-08-14  Jonathan Wakely  <jw@@kayari.org>

	* docs/html/22_locale/messages.html:  Use HTML entities for
	punctuation.

2002-08-13  Jonathan Wakely  <jw@@kayari.org>
	    Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/documentation.html:  Use HTML entities for punctuation.

2002-08-09  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/deque.tcc, include/bits/list.tcc,
	include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
	include/bits/stl_list.h, include/bits/stl_map.h,
	include/bits/stl_multimap.h, include/bits/stl_queue.h,
	include/bits/stl_stack.h, include/bits/stl_vector.h,
	include/bits/vector.tcc:  Re-indent contents of namespace std,
	re-wrap comment lines as necessary.

2002-08-08  Danny Smith  <dannysmith@@users.sourceforge.net>
	    Benjamin Kosnik  <bkoz@@redhat.com>

d874 1
a874 1
2002-08-07  John David Anglin  <dave@@hiauly1.hia.nrc.ca>
d876 5
a880 2
	* libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
	* libsupc++/Makefile.in: Regenerate.
d882 3
a884 1
2002-08-05  Gabriel Dos Reis  <gdr@@nerim.net>
d886 1
a886 48
	PR/7491
	* include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
	Instantiate with new function objects.
	* include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
	Reformat.  Uglify.
	* include/bits/gslice_array.h: Likewise.
	* include/bits/indirect_array.h: Likewise.

2002-08-03  Gabriel Dos Reis  <gdr@@nerim.net>

	* testsuite/26_numerics/valarray_name_lookup.cc: Rename from
	testsuite/26_numerics/valarray_name_lookup.C

	* include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
	object function surrogates.
	* include/bits/valarray_meta.h (__shift_left): Fix typo.
	(_BinFunClos<>): Remove.
	(_BinFunBase<>): Likewise.
	(_BinFunBase1<>):Likewise.
	(_BinFunBase2<>): Likewise.
	(_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
	(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
	(_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
	(_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
	* include/std/std_valarray.h: Dont #include <functional> anymore.
	(_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
	_Shift_right<>): Remove.
	(_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
	(_DEFINE_BINARY_OPERATOR): Tweak definition.
	(_DEFINE_LOGICAL_OPERATOR): Remove.
	* testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.

2002-08-02  Gabriel Dos Reis  <gdr@@nerim.net>

	* include/bits/valarray_meta.h (_UnFunBase<>): Remove.
	(_UnFunClos<>): Same.
	(_UnBase<>): Reformat.  Make first template-parameter non
	template.
	(_UnClos<>): Likewise.
	(_Expr<>): Reformate.  Adjust unary member operator return types.
	(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
	(_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
	* include/std/std_valarray.h (_UnClos<>): Adjust declaration.
	(valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
	operator return types.  Reformat.
	(_Bitwise_not): Remove.
	(_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
	* testsuite/26_numerics/valarray_name_lookup.C: New test.
d888 1
a888 5
2002-08-02  Danny Smith  <dannysmith@@users.sourceforge.net>

	* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
	(scan_is): Use this->is.
	(scan_not): Likewise.
d890 1
a890 1
2002-08-02  Benjamin Kosnik  <bkoz@@redhat.com>
d895 1
a895 1
	(strstreambuf::~strstreambuf): Same.
a897 2
	* docs/html/abi.txt: Update. Spell check.

a899 27
	* testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/testsuite_hooks.h: Use __throw_exception_again,
	include functexcept.h so that -fno-exceptions will build.

2002-08-02  Gabriel Dos Reis  <gdr@@nerim.net>

	* include/bits/valarray_meta.h (__unary_plus, __negate,
	__bitwise_not, __plus, __minus, __multiplies, __divides,
	__modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
	__shift_left, __shift_right, __logical_and, __logical_or,
	__logical_not, __equal_to, __not_equal_to, __less, __less_equal,
	__greater_equal, __greater, __atan2, __pow): New function object
	classes.
	(__fun<>):  New function traits class.

2002-08-01  Rick Danos  <rdanos@@hotmail.com>

	PR libstdc++/7461
	* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
	* config/os/newlib/ctype_inline.h (is): Use static_cast.

2002-08-01  Neil Booth  <neil@@daikokuya.co.uk>

	* libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
	* libsupc++/Makefile.in: Regenerate.

d902 1
a902 1

d917 1
a917 1
	* libsupc++/cxxabi.h
a937 4
2002-07-31  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

a947 4
2002-07-31  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/abi.txt: Update.

d959 2
a960 2
	* include/bits/ostream.tcc: Change __pad to
	__pad<_CharT, _Traits>::_S_pad.
d967 1
a967 1

d989 1
a989 1
	* testsuite/27_io/ostream.cc: Same.
a994 8
2002-07-29  Alan Modra  <amodra@@bigpond.net.au>

	* config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
	* configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
	* config/cpu/powerpc/atomicity.h (__always_swap): Remove.
	(__test_and_set): Remove.
	(_STWCX): Define and use.

d997 1
a997 1
	* libsupc++/new (placement delete):  Remove unused parameter names.
d1009 1
a1009 1
	* testsuite/27_io/stringbuf_members.cc: ...here.
d1011 1
a1011 1
	* testsuite/27_io/streambuf_members.cc: ...here.
d1016 5
a1020 5
	* testsuite/27_io/ifstream.cc: New file.
	* testsuite/27_io/ofstream.cc: New file.
	* testsuite/27_io/istringstream.cc: New file.
	* testsuite/27_io/ostringstream.cc: New file.

a1027 5
2002-07-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/27_io/ios_base_type.cc: Move to...
	* testsuite/27_io/ios_base_types.cc: ...here.

d1033 1
a1033 20

2002-07-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7230
	* config/linker-map.gnu: Revert strstream patch from 2002-07-01.
	* include/Makefile.am (backward_headers): Use strstream, not
	strstream.h.
	* include/Makefile.in: Regenerate.
	* include/backward/strstream: Revert.
	* include/backward/strstream.h: Remove.
	* src/strstream.cc: Revert.
	* testsuite/backward/strstream_members.cc: Change include.

2002-07-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7219
	* include/bits/ios_base.h (ios_base::streampos): Add.
	(ios_base::streamoff): Add.
	* testsuite/27_io/ios_base_type.cc: New.

d1039 1
a1039 112

	* docs/html/abi.txt: Fix typos.

2002-07-23  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
	confusing usage of "latest."
	De-tangle contributor information from introductory notes.
	Move abi.txt link placement, activate.
	Re-organize.
	Move chapter info into old FAQ format.
	* docs/html/organization.html: Removed, obsoleted by doxygen work.
	* docs/html/abi.txt: Add notes on testing ABI changes.

2002-07-20  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/abi.txt:  New file.
	* docs/html/23_containers/howto.html:  Tweak vector-overhead text.
	* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
	Import from upstream, R22.

	* include/bits/char_traits.h, include/bits/stl_iterator.h,
	include/bits/stl_iterator_base_types.h, libsupc++/exception,
	libsupc++/new, libsupc++/typeinfo:  Use @@brief markup.

	* include/bits/deque.tcc, include/bits/stl_alloc.h,
	include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
	of deprecated functions until 3.4.  (Same timeframe, different text.)
	* include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
	the other sequence classes received.

2002-07-18  Brendan Kehoe  <brendan@@zen.org>

	* bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
	_Nname to _Name.

2002-07-19  Gabriel Dos Reis  <gdr@@nerim.net>

	DR/123
	* include/bits/slice_array.h
	(slice_array<T>::operator=(const T&)): Constify.
	* include/bits/gslice_array.h
	(gslice_array<T>::operator=(const T&)):  Likewise.
	* include/bits/mask_array.h
	(mask_array<T>::operator=(const T&)): Likewise.
	* include/bits/indirect_array.h
	(indirect_array<T>::operator=(const T&): Likewise.

2002-07-17  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/run_doxygen:  Remove template parameter names from
	"Compound List" summary page.  Reformat.
	* docs/html/documentation.html:  XHTML fixes.

2002-07-16  Andreas Schwab  <schwab@@suse.de>

	* libsupc++/new (set_new_handler): Declare to not throw any
	exceptions.
	* libsupc++/new_handler.cc (set_new_handler): Likewise.

2002-07-16  Gabriel Dos Reis  <gdr@@nerim.net>

	* include/Makefile.am (bits_headers): Remove slice.h
	* include/Makefile.in: Regenerate.
	* include/bits/slice.h (slice): move to include/bits/slice_array.h
	* include/bits/slice.h Remove.
	* include/std/std_valarray.h: Don't #include bits/slice.h anymore.
	* include/bits/slice_array.h: Comply to official coding styles.
	* testsuite/26_numerics/slice.cc: New test.

2002-07-15  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
	print to match vendor <ctype.h>.

2002-07-15  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/faq/index.html:  Fix download links.
	* docs/html/faq/index.txt:  Regenerate.
	* docs/html/17_intro/porting.html:  Regenerate from earlier changes.

2002-07-11  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* configure.target (target_os switch): Allow for irix6*o32
	configurations.

2002-07-10  Gabriel Dos Reis  <gdr@@nerim.net>

	* include/bits/valarray_meta.h (_UnFunBase): Take a second
	template parameter. Remove _M_func data member.
	(_UnFunClos): Take a third template parameter.
	(__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
	__atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
	(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.

2002-07-08  Eric Christopher  <echristo@@redhat.com>

	* configure.target: Fix comment for mips atomicity. Add
	mips*-*-linux* target, enable atomic operations there.
	* config/cpu/mips/atomicity.h: Fix comments, remove
	#ifndef/#endif. Add push/pop mips2.

2002-07-08  Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	* include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
	member declarations to avoid compiler warnings and restore 3.1 ABI.

2002-07-08  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/23_containers/howto.html:  Link to dk_std::vector paper
	and homepage.

d1053 2
a1054 2
	(basic_streambuf::_M_buf_size_opt): Same.
	(basic_streambuf::_S_pback_sizex): Same.
d1067 1
a1067 1
2002-07-03  Benjamin Kosnik  <bkoz@@redhat.com>
d1069 6
a1074 29
	* include/std/std_memory.h: Fix formatting.
	* testsuite/20_util/auto_ptr_neg.cc: New.
	* testsuite/20_util/auto_ptr.cc: Tweaks.
	* testsuite/23_containers/map_operators.cc (test01): Split into..
	* testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
	* testsuite/23_containers/set_operators.cc: Move to...
	* testsuite/23_containers/set_operators_neg.cc: ...here.
	* testsuite/README: Add some more naming rules.

2002-07-03  Steev Wilcox  <steev@@paradigmds.com>

	PR libstdc++/7057
	* include/ext/stl_hashtable.h: Fix.
	* testsuite/ext/hash_map.cc: New.

2002-07-03  Jack Reeves  <jackw_reeves@@hotmail.com>
	    Kenny Simpson  <theonetruekenny@@yahoo.com>
	    Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/3946
	* testsuite/20_util/auto_ptr.cc (test08):  New test.
	* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
	(auto_ptr::operator auto_ptr_ref):  Fix typo.
	General reformatting and doxygenating of the whole file.

2002-07-03  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/7097
	* include/c/std_cwchar.h: Fix.
a1084 27
	* include/backward/strstream.h: Update date.

2002-07-02  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6642
	* include/bits/stl_iterator.h
	(__normal_iterator::operator-(const __normal_iterator&)):
	Make non-member, as already happens for the comparison
	operators in accord with DR179 (Ready).
	* testsuite/24_iterators/iterator.cc: Add test from the PR.

2002-07-02  Phil Edwards  <pme@@gcc.gnu.org>

	PR libstdc++/7173
	* acinclude.m4:  Simplify determination of gcc_version, and move
	up to GLIBCPP_CONFIGURE.
	* configure.in (release_VERSION):  Really remove.
	(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
	* aclocal.m4, configure:  Regenerate.

2002-07-02  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/configopts.html, docs/html/install.html:  Tweaks.
	* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
	include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
	include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.

d1087 2
a1088 6
	* include/backward/strstream: Remove namespace std. Transfer to...
	* include/backward/strstream.h: ...here. Qualify std names.
	* src/strstream.cc: Remove namespace std.
	* include/Makefile.am (backward_headers): Remove strstream.h.
	* include/Makefile.in: Regenerate.
	* config/linker-map.gnu: Export strstream bits.
d1090 1
a1090 8
	* src/fstream-inst.cc: Tweak.
	* src/io-inst.cc: Same.
	* src/istream-inst.cc: Same.
	* src/misc-inst.cc: Same.
	* src/ostream-inst.cc: Same.
	* src/sstream-inst.cc: Same.
	* src/valarray-inst.cc: Same.
	* src/misc-inst.cc: Remove unused instantiations.
d1092 2
a1093 1
2002-07-01  Benjamin Kosnik  <bkoz@@redhat.com>
d1095 1
a1095 2
	* configure.in (libtool_VERSION): Bump to 5:0:0.
	* configure: Regenerate.
d1097 6
a1102 1
2002-06-28  Phil Edwards  <pme@@gcc.gnu.org>
d1104 1
a1104 4
	PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
	* include/std/std_queue.h:  Include deque.tcc, vector.tcc.
	* include/std/std_stack.h:  Include deque.tcc.
	* testsuite/23_containers/adaptors.cc:  New file.
d1106 1
a1106 1
2002-06-27  Phil Edwards  <pme@@gcc.gnu.org>
d1108 1
a1108 2
	* include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
	* docs/html/ext/howto.html:  Update allocator notes.
d1110 8
a1117 1
2002-06-26  Benjamin Kosnik  <bkoz@@redhat.com>
d1119 1
a1119 6
	* configure.in (INTERFACE): Remove.
	(release_VERSION): Remove.
	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
	(libstdcxx_interface): Change. Use gcc methods to determine version.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.
d1121 3
a1123 1
2002-06-25  DJ Delorie  <dj@@redhat.com>
d1125 1
a1125 5
	* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
	GLIBCPP_TOPREL_CONFIGURE.
	* aclocal.m4: Likewise.
	* configure.in: Call it before AC_CANONICAL_SYSTEM.
	* configure: Regenerate.
d1127 2
a1128 1
2002-06-25  Jessica Han  <jessica@@cup.hp.com>
d1130 5
a1134 3
	* config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
	* libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
	_GLIBCPP_VTABLE_PADDING is defined.
d1136 1
a1136 1
2002-06-25  Benjamin Kosnik  <bkoz@@redhat.com>
d1138 2
a1139 1
	* include/bits/stl_alloc.h: Additional formatting.
d1141 3
a1143 1
2002-06-24  Phil Edwards  <pme@@gcc.gnu.org>
d1145 5
a1149 1
	* include/bits/stl_alloc.h:  Reformat as per C++STYLE.
d1151 1
a1151 1
2002-06-24  Phil Edwards  <pme@@gcc.gnu.org>
d1153 6
a1158 6
	* config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
	* config/os/*/bits/*:  Likewise.
	* configure.in:  Update.
	* configure:  Regenerate.
	* configure.target:  Update.
	* docs/html/17_intro/porting.texi:  Update.
d1160 1
a1160 1
2002-06-21  Phil Edwards  <pme@@gcc.gnu.org>
d1162 4
a1165 4
	* include/bits/stl_map.h, include/bits/stl_multimap.h,
	include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
	complete doxygenation.
	* include/bits/boost_concept_check.h:  Minor comment.
d1167 1
a1167 1
2002-06-21  Benjamin Kosnik  <bkoz@@redhat.com>
d1196 2
a1197 2

	Pendantic std usage in testsuites.
d1231 1
a1231 1
2002-06-20  Benjamin Kosnik  <bkoz@@redhat.com>
d1236 1
a1236 1
2002-06-20  Benjamin Kosnik  <bkoz@@redhat.com>
d1241 1
a1241 1
2002-06-20  Steve Ellcey  <sje@@cup.hp.com>
d1247 1
a1247 1
2002-06-20  Benjamin Kosnik  <bkoz@@redhat.com>
d1256 1
a1256 1

d1263 3
a1265 3
	(dyn-string.o): Use C_COMPILE.

	* include/c/std_cstdarg.h: Define __need___va_list.
d1269 1
a1269 9
2002-06-19  Steve Ellcey  <sje@@cup.hp.com>

	* configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
	definitions in hpux11 cross-build because these functions do
	not exist on hpux11 (but some exist on hpux10); move defaults out
	into existing sections.
	* configure:  Regenerate.

2002-06-18  Benjamin Kosnik  <bkoz@@redhat.com>
d1283 1
a1283 1
2002-06-18  Phil Edwards  <pme@@gcc.gnu.org>
d1285 6
a1290 1
	* configure.target:  Force mips to use the generic cpu routines.
d1292 1
a1292 1
2002-06-18  Phil Edwards  <pme@@gcc.gnu.org>
d1294 3
a1296 3
	* configure.host:  Delete file.
	* configure.target:  More documentation.  Factor out common parts of
	script into "intelligent" settings about defaults.  Remove redundancy.
d1298 1
a1298 8
	* acinclude.m4:  Update comments.  Do not call configure.host.
	(GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
	libgcc_s.
	* configure.in:  Slight reformatting, more comments.  Factor out
	"config/" from all the directories.
	* docs/html/17_intro/porting.texi:  Update and expand.
	* testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
	from configure.host.
d1300 5
a1304 2
	* aclocal.m4, configure, docs/html/17_intro/porting.html,
	testsuite/Makefile.in:  Regenerate.
d1306 1
a1306 1
2002-06-16  Phil Edwards  <pme@@gcc.gnu.org>
d1308 1
a1308 6
	* docs/doxygen/TODO:  Update.
	* docs/doxygen/tables.html:  Uncomment magical middle column.
	* docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
	* include/bits/stl_queue.h:  Doxygenate and reformat.
	* include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
	for deprecated names required by the standard.
a1315 20
2002-06-12  Phil Edwards  <pme@@gcc.gnu.org>

	* include/Makefile.am:  Add new files.
	* include/Makefile.in:  Regenerate.

	* include/bits/stl_deque.h, include/bits/stl_list.h,
	include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
	* include/bits/deque.tcc, include/bits/list.tcc,
	include/bits/vector.tcc:  ...to here.  New files.

	* include/ext/stl_hashtable.h:  Inclide correct full headers.
	* include/std/std_deque.h:  Include .tcc files for now.
	* include/std/std_list.h:  Likewise.
	* include/std/std_vector.h:  Likewise.

2002-06-12  Daniel Jacobowitz  <drow@@mvista.com>

	* Makefile.am: Add FLAGS_TO_PASS.
	* Makefile.in: Regenerated.

d1317 2
a1318 2
	    Benjamin Kosnik  <bkoz@@redhat.com>

d1325 1
a1325 1
	New directories.
d1329 1
a1329 1
2002-06-10  Loren J. Rittle <ljrittle@@acm.org>
d1331 10
a1340 8
	* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
	include all required headers for test against older POSIX standard.
	(GLIBCPP_CHECK_SETRLIMIT): Likewise.
	(ac_setrlimit): Likewise.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/testsuite_hooks.cc: Reorder and include all
	required headers for use against older POSIX standard.
d1350 1
a1350 1

a1359 28
2002-06-07  Steve Ellcey  <sje@@cup.hp.com>

	* src/locale-inst.cc (__codecvt_abstract_base):
	Put inside _GLIBCPP_USE_WCHAR_T ifdef.
	* include/bits/istream.tcc (basic_istream): Ditto.
	(ws) Ditto.
	(operator>>) Ditto.
	* include/bits/ostream.tcc (basic_ostream): Ditto.
	(endl): Ditto.
	(ends): Ditto.
	(flush): Ditto.
	(operator<<): Ditto.

2002-06-07  Phil Edwards  <pme@@gcc.gnu.org>

	* mkcheck.in:  Link against local testsuite library.
	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
	implementation out...
	* testsuite/testsuite_hooks.cc:  ...to here.

2002-06-06  Loren J. Rittle <ljrittle@@acm.org>

	* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
	* include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
	* src/Makefile.in: Regenerate (explicitly with --cygnus option).
	* testsuite/Makefile.in: Likewise.

d1365 1
a1365 14
2002-06-04  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
	Search correct multilib testsuite dir for libv3test.

2002-06-04  Paolo Carlini  <pcarlini@@unitus.it>
	    Gaby Dos Reis  <gdr@@codesourcery.com>

	* include/bits/basic_string.tcc
	(basic_string::_S_construct(forward_iterator_tag):
	Fix typo in null pointer check.
	* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.

2002-06-04  Paolo Carlini  <pcarlini@@unitus.it>
d1384 2
a1385 1
2002-06-03  Marc Espie  <espie@@openbsd.org>
d1387 4
a1390 2
	* config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
	assembly for old assemblers.
d1392 1
a1392 5
2002-06-03  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
	Move/rename...
	(vector<bool>::swap(reference,reference)): ...to this.
d1394 2
a1395 18
2002-06-03  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/TODO:  Update.
	* docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
	some class members are in 14882 order.
	* docs/html/ext/howto.html:  3.1 is in the past now, not the future.

	* include/std/std_bitset.h:  Update comment.
	* src/bitset.cc:  Update comments, clean up spacing.

	* src/Makefile.am (sources):  Alphabetize for convenience.
	* src/Makefile.in:  Regenerate.

2002-06-03  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/stl_deque.h, include/bits/stl_list.h,
	include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
	Reorder to match 14882.  Doxygen blocks for all public members.
d1403 6
d1411 1
a1411 1
	* configure.in: Always check for sys/types.h
d1419 1
a1419 1
2002-05-28  Phil Edwards  <pme@@gcc.gnu.org>
d1421 3
a1423 9
	* testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
	CXX/INCLUDES.
	* testsuite/Makefile.in:  Regenerate.
	* testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
	list_modifiers.cc and rename from 'T'.  Move code bodies...
	* testsuite/testsuite_hooks.cc:  ...to here.  New file.
	* testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
	Add libv3test.a to link options.
d1430 1
a1430 1
	* src/io-inst.cc: New.
d1440 1
a1440 1

d1457 1
a1457 1
	    Paolo Carlini  <pcarlini@@unitus.it>
d1475 1
a1475 1
	* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
d1486 1
a1486 1

d1492 1
a1492 1

d1503 13
d1531 1
a1531 1
2002-05-21  Phil Edwards  <pme@@gcc.gnu.org>
d1533 3
a1535 1
	* docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
d1537 3
a1539 1
2002-05-21  Phil Edwards  <pme@@gcc.gnu.org>
d1541 2
a1542 11
	* include/bits/stl_vector.h:  Reformat to follow C++STYLE.
	Doxygenate all public members.  Reorder to follow 14882.
	(vector::push_back(void)):  Remove previously-deprecated fn.
	(vector::insert(iterator), vector::_M_insert_aux(iterator)):
	Deprecate for removal in 3.3.

2002-05-20  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/faq/index.html (5.4):  Recommend against -I options for
	finding the ext headers.
	* docs/html/faq/index.txt:  Regenerate.
d1545 1
a1545 90

	* testsuite/23_containers/deque_operators.cc (test01):
	Fix minor typo in last commit.

2002-05-18  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6503
	* include/bits/stl_deque.h (_Deque_iterator::operator==,
	operator!=, operator<, operator>, operator>=, operator<=):
	Make non-member functions, to allow comparing const and
	non-const iterators in any order.
	* testsuite/23_containers/deque_operators.cc: New testfile.

2002-05-16  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
	* docs/html/faq/index.txt:  Regenerate.

2002-05-16  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* Makefile.am: Allow for PWDCMD to override hardcoded pwd.
	* acinclude.m4: Likewise.
	* docs/html/Makefile: Likewise.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

2002-05-15  Loren J. Rittle <ljrittle@@acm.org>

	libstdc++/6641
	* include/bits/c++config (__USE_MALLOC): Report case where
	the user improperly defined it on the command line.

2002-05-15  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
	Retrieve current limits before setting.

2002-05-15  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6518
	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
	for null case.
	(ostream::operator<<(const _CharT*)): Same.
	(ostream<char>::operator<<(const char*)): Same.
	* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.

2002-05-15  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/6594
	* src/strstream.cc (strstreambuf): Fix leak.

2002-05-15  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/6648
	* include/bits/istream.tcc (istream::getline, ignore):
	Upon __idelim (__delim) call sbumpc() not snextc().
	* testsuite/27_io/narrow_stream_objects.cc:
	Add test08 and test09.

2002-05-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/ctype_scan_char.cc: Tweak.
	* testsuite/22_locale/ctype_scan_wchar_t.cc: New.

	* docs/html/install.html: Fix.

2002-05-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/fstream.tcc
	(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
	try/catch blocks.
	* src/localename.cc (locale::_Impl::_M_install_facet): Same.

	* docs/html/install.html: Tweak, add bits about required locales
	for the 22_locale tests when using the gnu model.

	* testsuite/27_io/istream_sentry.cc: Tweak.

2002-05-13  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
	Fix typo, use this->is() rather than manually (and perhaps
	incorrectly) inlining it.
	* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
	Likewise.
	* testsuite/22_locale/ctype_scan_char.cc: New file.

2002-05-13  Paolo Carlini  <pcarlini@@unitus.it>
	    Jakub Jelinek  <jakub@@redhat.com>
d1558 1
a1558 1
2002-05-13  Paolo Carlini  <pcarlini@@unitus.it>
d1570 1
a1570 1
	* testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
d1575 1
a1575 1
	* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
d1579 1
a1579 1
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
d1581 1
a1581 1
	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
d1585 1
a1585 40
2002-05-12  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
	change.

2002-05-11  John David Anglin  <dave@@hiauly1.hia.nrc.ca>

	* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
	to 64 for hppa 64-bit port.
	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.

2002-05-10  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* acinclude.m4 (enable_symvers): Quote $LD.
	* aclocal.m4: Regenerate.
	* configure: Likewise.

2002-05-09  Jakub Jelinek  <jakub@@redhat.com>

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
	LD_LIBRARY_PATH.

2002-05-08  Alexandre Oliva  <aoliva@@redhat.com>

	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
	script entry, and set LD to it when configuring multilibs.
	* configure: Rebuilt.

2002-05-07  Mark Mitchell  <mark@@codesourcery.com>

	* configure.in: Add support for WindISS.
	* configure: Regenerated.
	* configure.target: Add support for WindISS.
	* config/os/windiss/bits/ctype_base.h: New file.
	* config/os/windiss/bits/ctype_inline.h: Likewise.
	* config/os/windiss/bits/ctype_noninline.h: Likewise.
	* config/os/windiss/bits/os_defines.h: Likewise.

2002-05-06  Paolo Carlini  <pcarlini@@unitus.it>
d1597 1
a1597 1
	* testsuite/22_locale/money_put_members_char.cc: Add test07.
d1602 1
a1602 1
	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
d1604 1
a1604 1
	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
d1606 1
a1606 1
	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
d1613 1
a1613 10
2002-05-06  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
	__EXTENSIONS__): Ensure they are always defined.

2002-05-06  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/html/documentation.html:  Fix broken link.

2002-05-04  Benjamin Kosnik  <bkoz@@redhat.com>
d1620 2
a1621 2
2002-05-04  Takeshi Kobayakawa  <tskoba@@mte.biglobe.ne.jp>

d1636 16
a1651 1
2002-05-04  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>
d1653 6
a1658 2
	* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
	* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
d1660 1
a1660 1
	* Makefile.in, config.h.in, configure: Regenerate.
d1662 1
a1662 1
2002-05-03  Benjamin Kosnik  <bkoz@@redhat.com>
d1664 6
a1669 3
	PR libstdc++/6549.
	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
d1671 1
a1671 1
2002-05-03  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>
d1673 2
a1674 3
	* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
	Return __ctype + 1.
	(ctype:_M_table): Initialize to classic_table(), not __ctype.
d1676 1
a1676 1
2002-05-03  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>
d1678 2
a1679 2
	* configure.in: Update local install.html, configopts.html paths.
	* configure: Regenerate.
d1681 1
a1681 1
2002-05-02  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>
d1683 1
a1683 2
	* config/os/irix/irix5.2/bits/os_defines.h
	(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
d1688 58
a1750 4
2002-05-02  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES (New): Update.

d1765 1
a1765 1
	(istreambuf_iterator::operator*): Use it.
d1768 1
a1768 1

d1802 1
a1802 1

d1807 2
d1810 8
d1820 10
a1829 7
	PR libstdc++/5820
	* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
	Check for eof.
	* include/bits/streambuf_iterator.h: Match stream_iterator.h.
	(istreambuf_iterator::operator++): Invalidate on eof.
	(istreambuf_iterator::operator++(int)): Same.
	(istreambuf_iterator::operator*): Same.
d1835 1
a1835 14
	LD_LIBRARY64_PATH.

2002-04-28  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/5820
	* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
	(__basic_file::sys_ungetc): Take int.
	* config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
	* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
	Use sys_getc for unbuffered input.
	* testsuite/27_io/narrow_stream_objects.cc (test06): New.

	* src/ios.cc (_M_grow_words): Adjust error checking.
	* testsuite/27_io/ios_base_storage.cc: Same.
d1842 1
a1842 1
	    Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>
a1845 7
2002-04-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
	_G_USING_THUNKS.
	* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
	* config/os/solaris/solaris2.7/bits/os_defines.h: Same.

d1850 2
a1851 2
	* testsuite/21_strings/replace.cc (test05): New.
	* testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
a1880 5
2002-04-22  Loren J. Rittle <ljrittle@@acm.org>

	* docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
	* docs/html/17_intro/porting.html: Rebuilt.

d1884 1
a1884 1
	* include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
d1888 1
a1888 1
	* include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
d1900 1
a1900 1
	(basic_filebuf::_M_underflow_common): Generalization of old
d1906 1
a1906 1
	* testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
d1913 1
a1913 1

d1922 1
a1922 26
2002-04-18  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
	as type safety is important, especially on solaris.
	* include/bits/istream.tcc (istream::read): Clean.
	(istream::readsome): Same.
	* locale.cc: Wrap lines.

	* testsuite/21_strings/inserters_extractors.cc: Tweaks.
	* testsuite/27_io/instantiations.cc (test): Add bool variable...
	* testsuite/21_strings/capacity.cc: Clean.

2002-04-17  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/doxygroups.cc:  New group on binary searching.
	* include/bits/stl_algo.h:  Document binary searches and merges.
	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.

2002-04-17  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
	* docs/doxygen/run_doxygen:  Bump required version.
	* docs/doxygen/user.cfg.in:  Revert accidental change.
	* docs/html/faq/index.html:  Reindent a block of links.
	(4.4):  New note on using dlsym.
	* docs/html/faq/index.txt:  Regenerated.
d1924 5
a1928 11
2002-04-17  Phil Edwards  <pme@@gcc.gnu.org>

	* testsuite_flags.in (cxxflags):  Also pass @@EXTRA_CXX_FLAGS@@.

2002-04-17  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/linker-map.gnu (__malloc_alloc_template): Add.
	(__default_alloc_template): Same.
	* include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
	template.
	(__default_alloc_template): Same.
d1930 3
a1932 1
2002-04-17  Benjamin Kosnik  <bkoz@@redhat.com>
d1934 1
a1934 1
	* testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
d1936 1
a1936 1
2002-04-16  Benjamin Kosnik  <bkoz@@redhat.com>
d1938 1
a1938 3
	* src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
	* src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
	(__malloc_alloc_template): Conditionalize.
d1940 5
a1944 1
	* include/bits/istream.tcc: Remove sputbackc calls.
d1946 1
a1946 1
	* testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
d1948 3
a1950 3
2002-04-16  Paolo Carlini <pcarlini@@unitus.it>

	* testsuite/24_iterators/rel_ops.cc: New test.
d1952 1
a1952 1
2002-04-16  Gabriel Dos Reis  <gdr@@merlin.codesourcery.com>
d1954 1
a1954 9
	* include/bits/type_traits.h (__normal_iterator): Declare in
	__gnu_cxx.  Adjust use at global namespace.
	* include/bits/stl_iterator.h (__normal_iterator): Move definition
	into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
	* include/bits/basic_string.h (basic_string): Adjust use of
	__normal_iterator.
	* include/bits/stl_vector.h (_Alloc>): Likewise.
	* src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
	* src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
d1956 1
a1956 1
2002-04-15  Benjamin Kosnik  <bkoz@@redhat.com>
d1962 1
a1962 1
	(__basic_file::close): Call fflush. Correct return if fclose ok.
d2042 8
d2051 25
a2075 1
2002-04-12  Steve Ellcey  <sje@@cup.hp.com>
d2111 1
a2111 1

d2136 1
a2136 1

d2147 1
a2147 1

d2161 1
a2161 1
	libstdc++/3457
d2167 1
a2167 1

d2170 4
a2173 4
	As per DR 184, libstdc++/3139
	* include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
	(numeric_limits<bool>::is_iec559): False.
	(numeric_limits<bool>::is_modulo): False.
d2178 1
a2178 1

d2190 1
a2190 1

a2195 15
2002-04-02  Paolo Carlini  <pcarlini@@unitus.it>
	    Nathan Myers  <ncm@@cantrip.org>
	    Philip Martin  <philip@@codematters.co.uk>

	* include/bits/basic_string.h
	(replace(i1, i2, _CharT* k1, _CharT* k2),
	replace(i2, i2, const _CharT* k1, const _CharT* k2),
	replace(i1, i2, iterator k1, iterator k2,
	replace(i1, i2, const_iterator k1, const_iterator k2):
	New specializations to optimize for the common cases of
	pointers and iterators.
	(replace(pos, n1, s, n2)): Tweak.
	* include/bits/basic_string.tcc: Tweak comments.
	* testsuite/21_strings/replace.cc (test04): New tests.

d2215 4
d2231 1
a2231 1

d2234 1
a2234 1
	(basic_ios::_M_streambuf_state): Move.
d2239 2
a2240 2
	(ios_base::_M_words_limit): To _M_word_size.
	(ios_base::_M_words): To _M_word.
d2242 1
a2242 1
	* include/bits/basic_ios.tcc: Adjust.
d2249 1
a2249 1

d2255 1
a2255 1

d2288 1
a2288 1
	    Paolo Carlini  <pcarlini@@unitus.it>
d2307 9
a2315 6
	* docs/doxygen/Intro.3:  Date tweak.
	* docs/doxygen/TODO:  Update.
	* docs/doxygen/doxygroups.cc:  Point to tables.html.
	* docs/doxygen/mainpage.html:  Date tweak.
	* docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
	* docs/doxygen/tables.html:  Fill in the blanks.
d2317 1
a2317 2
	* docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
	* include/bits/stl_algo.h:  Likewise; use expanded form.
d2341 1
a2341 1
	    Richard Henderson  <rth@@redhat.com>
d2349 2
a2350 2
	* config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
	_ctype_.
d2361 10
d2372 1
a2372 1
	    Jakub Jelinek  <jakub@@redhat.com>
d2379 1
a2379 1
	    Paolo Carlini  <pcarlini@@unitus.it>
d2421 1
a2421 1
	    Ulrich Drepper  <drepper@@redhat.com>
d2523 1
a2523 1
	    Per Liboriussen  <liborius@@stofanet.dk>
d2574 1
a2574 1
2002-03-11  Phil Edwards  <pme@@gcc.gnu.org>
d2576 2
a2577 11
	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
	New function.  Build the list of tests to run in testsuite_files.
	* testsuite/libstdc++-v3.dg/dg.exp:  Use it.

2002-03-11  Phil Edwards  <pme@@gcc.gnu.org>

	* testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
	platforms with no weak support.
	* testsuite/27_io/ios_init.cc:  Likewise.

2002-03-10  Paolo Carlini  <pcarlini@@unitus.it>
a2581 13
	* include/bits/locale_facets.tcc (collate::do_tranform):
	Remove redundant variable.

2002-03-10  Ulrich Drepper  <drepper@@redhat.com>
	    Paolo Carlini  <pcarlini@@unitus.it>

	* config/locale/generic/collate_members.cc
	(collate<char,wchar_t>::_M_compare_helper): normalize
	values returned by strcoll and wcscoll.
	* config/locale/gnu/collate_members.cc
	(collate<char,wchar_t>::_M_compare_helper): ditto
	for __strcoll_l and __wcscoll_l.

a2586 5
2002-03-09  Paolo Carlini  <pcarlini@@unitus.it>

	* include/bits/locale_facets.tcc (collate::do_transform):
	Rewrite to fix problems with long transformed strings.

d2666 1
a2666 1
	* include/bits/locale_facets.tcc: Remove default args. Add
d2688 1
a2688 12
2002-03-06  Phil Edwards  <pme@@gcc.gnu.org>

	* docs/doxygen/user.cfg.in:  Also document deprecated entries.
	* docs/html/Makefile:  Example rule to rebuild porting-howto.html.
	* docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
	referring to the collection as a whole.  New section on which macros
	can be redefined by the user.
	* docs/html/19_diagnostics/howto.html:  Update note for concepts.
	* docs/html/20_util/howto.html:  Update link to SGI.
	* docs/html/faq/index.html:  Update snapshot versions.  New entry
	on why g++ (but not gcc) must currently predefine certain macros.
	* docs/html/faq/index.txt:  Regenerated.
d2699 1
a2699 1
2002-03-06  Phil Edwards  <pme@@gcc.gnu.org>
a2704 4
2002-03-06  Phil Edwards  <pme@@gcc.gnu.org>

	* include/bits/c++config:  Fix misplaced leading blanks on first line.

d2741 1
a2741 1
	PR libstdc++/3955
d2746 1
a2746 1
2002-03-02  Paolo Carlini  <pcarlini@@unitus.it>
d2755 1
a2755 6
2002-02-28  Richard Henderson  <rth@@redhat.com>

	* config/linker-map.gnu: Export operator new with unsigned long,
	and with std::nothrow_t.  Likewise operator delete.

2002-02-28  Paolo Carlini  <pcarlini@@unitus.it>
a2765 2
2002-02-27  Paolo Carlini  <pcarlini@@unitus.it>

d2769 5
d2787 1
a2787 1
2002-02-26  Loren Rittle  <ljrittle@@acm.org>
d2828 2
a2829 2
	* include/backward/tempbuf.h: get_temporary_buffer and
	return_temporary_buffer are in namespace std, not in __gnu_cxx.
d2885 1
a2885 1
	  with size3 for the string collations of str5.
d3023 1
a3023 1
	* config/io/basic_file_stdio.cc: Definitions.
d3105 1
a3105 1
	    Wolfgang Bangerth  <wolfgang.bangerth@@iwr.uni-heidelberg.de>
d3327 1
a3327 1
	    Charles Leggett <CGLeggett@@lbl.gov>
d3473 1
a3473 1
	* config/locale/c_locale_generic.cc: Fix typename usage.
d3662 1
a3662 1
	    Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>
d3888 3
a3890 3
	* libsupc++/exception (bad_exception): Add comment.
	* libsupc++/new (bad_alloc): Same.
	* libsupc++/typeinfo (bad_cast, bad_typeid): Same.
d3924 2
a3925 2
	libstdc++/2913
	libstdc++/4879
d3938 1
a3938 1
	    Craig Rodrigues  <rodrigc@@mediaone.net>
d4106 1
a4106 1
	* include/bits/stl_function.h (identity_element, unary_compose,
d4112 4
a4115 4
	* include/ext/functional:  ...here, new file.
	* include/Makefile.am (ext_headers):  Add new files.
	* include/Makefile.in:  Regenerate.
	* testsuite/ext/headers.cc:  Include <ext/numeric> and
d4119 1
a4119 1
	* include/ext/ropeimpl.h:  Include <ext/numeric>.
d4123 2
a4124 2
	* config/os/hpux/bits/os_defines.h: Prefix __strtoll and
	__strtoull declarations with __extension__.
d4147 6
a4152 6
	* include/bits/stl_uninitialized.h (uninitialized_copy_n +
	helpers):  Move to...
	* include/ext/memory:  ...here, new file.
	* include/Makefile.am (ext_headers):  Add new file.
	* include/Makefile.in:  Regenerate.
	* testsuite/ext/headers.cc:  Include <ext/memory>.
d4155 1
a4155 1
	* include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
@


1.1.1.16
log
@Gcc 3.3.1-release C++ support bits.
@
text
@a0 47
2003-08-04  Release Manager

	* GCC 3.3.1 Released.

2003-08-04  Release Manager

	* GCC 3.3.1 Released.

2003-07-24  Nathan Myers  <ncm-nospam@@cantrip.org>

        * testsuite/23_containers/map_operators.cc: Conform to 
        container requirement as value must be Assignable.

2003-07-18  Andreas Jaeger  <aj@@suse.de>

	* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
	* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
	* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
	* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.

2003-07-17  Greg Schafer  <gschafer@@zip.com.au>

	* configure.in: Use 'true' and 'false' for
	GLIBCPP_IS_CROSS_COMPILING, otherwise memory limits are
	not checked when not cross compiling.
	* configure: Regenerate.

2003-07-17  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/11528
	* include/bits/locale_facets.tcc (money_get::do_get):
	Strip only _leading_ zeros.

2003-07-15  Loren J. Rittle  <ljrittle@@acm.org>

        * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.

2003-07-15  Petur Runolfsson  <peturr02@@ru.is>

	* Revert previous commit: not safe on platforms with
	wint_t != size_t.

2003-07-15  Petur Runolfsson  <peturr02@@ru.is>

	* include/bits/char_traits.h (char_traits<wchar_t>::move):
	Change last parameter from int_type to size_t.

d2 1
a2 1
            Jerry Quinn  <jlquinn@@optonline.net>
@


1.1.1.17
log
@Gcc 3.3.3 20031106 C++ support bits.
@
text
@a0 85
2003-10-25  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_get::do_get(...,
	long double&): Properly size the temporary buffer.

2003-10-20  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/10081
	* include/bits/basic_ios.h (basic_ios::basic_ios): Initialize
	_M_fctype, _M_fnumput, _M_fnumget.

2003-10-16  Release Manager

	* GCC 3.3.2 Released.

2003-10-07  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/11740
	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
	Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
	* config/locale/generic/ctype_members.cc: Same.

2003-10-02  Harald Boehme  <boehme@@informatik.hu-berlin.de>

	PR libstdc++/12451
	* libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
	
2003-10-01  Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>

	* configure.target: Handle Solaris 2.5 micro releases explicitly.
	Remove wildcards from Solaris 2.6, 7-9: there were no
	micro releases.
	Treat Solaris 10 and up like 7-9.

2003-09-30  Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/12296
	* include/bits/istream.tcc (peek): Set eofbit if sgetc
	returns eof.

2003-09-30  Nathan Myers  <ncm@@cantrip.org>
            Paolo Carlini  <pcarlini@@unitus.it>

	PR libstdc++/11400
	* include/bits/stl_algo.h (search_n):
	Use iterator_traits<>::difference_type for __n.

2003-09-25  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/11065
	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
	* config/locale/generic/ctype_members.cc: Same.

	* config/os/generic/ctype_inline.h: Update.

2003-09-10  Daniel Jacobowitz  <drow@@mvista.com>
	    Andreas Jaeger <aj@@suse.de>

	PR libstdc++/12189
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Don't build
	abi_check if cross compiling.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

2003-09-09  Alan Modra  <amodra@@bigpond.net.au>

	* configure: Regenerate.

2003-08-25  Zack Weinberg  <zack@@codesourcery.com>

	* config/os/hpux/os_defines.h: Unconditionally define
	_GLIBCPP_GTHREAD_USE_WEAK to 0.

2003-08-11  Andreas Jaeger  <aj@@suse.de>

	* include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
	to make SMP-safe.
	* include/Makefile.in: Regenerated.

2003-08-07  Bernardo Innocenti  <bernie@@develer.com>

	PR libstdc++/11784
	* libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
	Replace variants with new BSET-based version.

d11 2
a12 2
	* testsuite/23_containers/map_operators.cc: Conform to
	container requirement as value must be Assignable.
d36 1
a36 1
	* testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
d49 1
a49 1
	    Jerry Quinn  <jlquinn@@optonline.net>
d86 1
a86 1
	case to the top.
d91 1
a91 1
	Add missing bool test.
d196 1
a196 1
	* testsuite/abi_check.cc: Create summary report.
d206 1
a206 1
	    Andreas Jaeger  <aj@@suse.de>
d375 1
a375 1
	    Nathan Myers  <ncm@@cantrip.org>
d442 1
a442 1
	    Phil Edwards  <pme@@gcc.gnu.org>
d460 2
a461 2
	* config/locale/generic/c_locale.h (__convert_from_v): Use
	attribute unused.
d477 1
a477 1
	Declare friend.
d479 1
a479 1
	cache argument.
d481 1
a481 1
	_M_cache_locale.
d483 1
a483 1
	provided.  Track the distinction in iword(0).
d485 2
a486 2
	(__locale_cache::_S_callback): Only delete cache if iword(0)
	is 0, i.e. not static.
d518 1
a518 1
	    Benjamin Kosnik  <bkoz@@redhat.com>
d520 1
a520 1
	* config/os/generic/ctype_inline.h: Fix.
d528 1
a528 1
	    Paolo Carlini  <pcarlini@@unitus.it>
d537 6
a542 6
	* testsuite/thread/pthread1.cc: Enable for darwin test.
	* testsuite/thread/pthread2.cc: Same.
	* testsuite/thread/pthread3.cc: Same.
	* testsuite/thread/pthread4.cc: Same.
	* testsuite/thread/pthread5.cc: Same.
	* testsuite/thread/pthread6.cc: Same.
d618 2
a619 2
	* include/std/std_complex.h (norm):  Use faster,
	less accurate computation for builtin float types under --fast-math.
d643 4
a646 4
	PR libstdc++/9964
	* include/bits/fstream.tcc (basic_filebuf::close):
	Always close file, even when write fails.
	* testsuite/27_io/filebuf_members.cc (test_07):  New test.
d749 1
a749 1
	* include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
d764 1
a764 1
	caching.
d776 1
a776 1
	point, thousands separator.
d778 1
a778 1
	New.
d796 1
a796 1
	   Benjamin Kosnik  <benjamin@@redhat.com>
d827 1
a827 1
	    Nathan Myers  <ncm@@cantrip.org>
d851 1
a851 1
	* configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
d853 2
a854 2
	* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
	conditional if --enable-debug is yes. Rework.
d856 1
a856 1
	* aclocal.m4: Regenerate.
d919 1
a919 1
	* config/locale/generic/messages_members.h (messages::messages):
d1026 1
a1026 1
	    Petur Runolfsson  <peturr02@@ru.is>
d1105 1
a1105 1
	* testsuite/26_numerics/valarray_name_lookup.cc: Fix.
d1359 2
a1360 2
	(codecvt<char, char, mbstate_t>::do_in, do_out):
	Tweak parameters to avoid unused parameter warnings.
d1479 1
a1479 1
	Fully qualify min() with std::.
d1519 1
a1519 1
	    Nathan Myers  <ncm@@cantrip.org>
d1539 1
a1539 1
	    Nathan Myers  <ncm@@cantrip.org>
d1579 1
a1579 1
	    Paolo Carlini  <pcarlini@@unitus.it>
d1632 1
a1632 1
	    Jonathan Lennox  <lennox@@cs.columbia.edu>
d1672 1
a1672 1
	    Gabriel Dos Reis  <gdr@@integrable-solutions.net>
d1689 1
a1689 1
	    Loren J. Rittle  <ljrittle@@acm.org>
d1743 2
a1744 2
	PR libstdc++/6746
	* include/bits/fstream.tcc (filebuf::open): Set input pointers.
d1765 1
a1765 1
	    Richard Earnshaw  <rearnsha@@arm.com>
d2032 1
a2032 1
	    Gabriel Dos Reis  <gdr@@integrable-solutions.net>
d2294 3
a2296 3
	* include/std/std_limits.h (__glibcpp_float_is_modulo,
	__glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
	(numeric_limits<T>::is_modulo, T floating): Use false.
@


1.1.1.18
log
@Gcc 3.4.2 20040728 C++ support bits.
@
text
@d1 1
a1 1
2004-07-20  Danny Smith  <dannysmith@@users.sourceforge.net>
d3 2
a4 1
	* include/c_std/std_cwchar.h (wcsstr): Correct signature.
d6 1
a6 1
2004-07-19  Benjamin Kosnik  <bkoz@@redhat.com>
d8 19
a26 2
	PR libstdc++/15488
	* testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
d28 1
a28 1
2004-07-17  Richard Sandiford  <rsandifo@@redhat.com>
d30 4
a33 2
	PR bootstrap/16469
	* scripts/create_testsuite_files: Pass -print to find.
d35 1
a35 1
2004-07-15  Paolo Carlini  <pcarlini@@suse.de>
d37 3
a39 2
	* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
	* docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
d41 2
a42 1
2004-07-15  Jakub Jelinek  <jakub@@redhat.com>
d44 3
a46 4
	PR libstdc++/14697
	* acinclude.m4 (glibcxx_shared_libgcc): Correct
	glibcxx_shared_libgcc test for multilibs.
	* configure: Rebuilt.
d48 1
a48 1
2004-07-14  Paolo Carlini  <pcarlini@@suse.de>
d50 3
a52 4
	* include/bits/locale_facets.tcc (time_get<>::do_get_time,
	time_get<>::do_get_date): Use only once _M_extract_via_format,
	instead of going through "%X"/"%x" and calling it two times
	(+ using widen).
d54 1
a54 1
2004-07-14  Paolo Carlini  <pcarlini@@suse.de>
d56 2
a57 5
	PR libstdc++/16401
	* include/bits/sstream.tcc (overflow): When reallocating _M_string
	use an exponential grow policy.
	* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
	* testsuite/performance/27_io/stringbuf_overflow.cc: New.
d59 5
a63 1
2004-07-12  Benjamin Kosnik  <bkoz@@redhat.com>
d65 1
a65 1
	* include/bits/concurrence.h: Tweak comments.
d67 1
a67 3
2004-07-12  Benjamin Kosnik  <bkoz@@redhat.com>
            Per Bothner  <per@@bothner.com>
	    Mohan Embar  <gnustuff@@thisiscool.com>
d69 1
a69 9
	PR libstdc++/16248
	* include/bits/concurrence.h (__glibcxx_mutex_type): New.
	(__glibcxx_mutex): Encapsulate mutex init function into type for
	threaded configurations without __GTHREAD_MUTEX_INIT.
	(lock::lock): Make device member a reference.
	(lock::~lock): Same.
	* include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
	to mutex_type.
	* src/allocator.cc: Same.
d71 2
a72 1
2004-07-12  Brad Spencer  <spencer@@infointeractive.com>
d74 1
a74 3
	* include/ext/mt_allocator.h: Handle allocations at static
	initialization that happen before _S_options is (automatically)
	constructed; set _S_init even if _M_force_new is true.
d76 3
a78 1
2004-07-12  Paul Brook  <paul@@codesourcery.com>
d80 1
a80 2
	* include/bits/concurrence.h: Still create mutex object when
	single-threaded.
d82 3
a84 1
2004-07-12  Benjamin Kosnik  <bkoz@@redhat.com>
d86 1
a86 5
	* include/bits/concurrence.h (__gnu_cxx::lock): New.
	* include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
	(__pool_base::_M_get_mutex): New.
	* include/bits/allocator.h: Tweak.
	* src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
d88 1
a88 2
	* src/allocator.cc: Move all instantiations...
	* src/allocator-inst.cc: ...here.
d90 1
a90 1
2004-07-12  Benjamin Kosnik  <bkoz@@redhat.com>
d92 1
a92 8
	* include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
	(__pool_base): Remove unused template parameter.  Add
	protected. Move lock data into __pool_base::_Lock. Remove static
	on member functions.
	(__pool_base::_M_get_free_list): New.
	(__pool_alloc): Move _S_force new here.
	* src/allocator.cc: Move out of line __pool_base definitions here.
	* config/linker-map.gnu: Export bits from __pool_base.
d94 1
a94 1
2004-07-07  Benjamin Kosnik  <bkoz@@redhat.com>
d96 2
a97 2
	* configure.ac (libtool_VERSION): To 6:2:0.
	* configure: Regenerated.
d99 1
a99 1
	* testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
d101 4
a104 1
2004-07-07  Aaron W. LaFramboise  <aaronraolete36@@aaronwl.com>
d106 1
a106 4
	PR libstdc++/16411
	* config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
	
2004-07-06  Anssi Hannula  <anssi.hannula@@mbnet.fi>
d108 3
a110 2
	PR libstdc++/15928
	* crossconfig.m4: Add in bits for djgpp.
d113 70
a182 1
2004-07-06  Paolo Carlini  <pcarlini@@suse.de>
d184 4
a187 3
	PR libstdc++/16210
	* acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
	availability of strto(u)ll, not used anymore in the iostreams.
d191 5
a195 1
2004-07-06  Paolo Carlini  <pcarlini@@suse.de>
d197 1
a197 3
	* include/bits/cpp_type_traits.h: Move the additions to
	namespace __gnu_internal outside of namespace std; trivial
	formatting fixes.
d199 10
a208 1
2004-07-06  Paolo Carlini  <pcarlini@@suse.de>
d210 1
a210 10
	* docs/html/17_intro/contribute.html: Update some links.
	* docs/html/17_intro/porting-howto.html: Likewise.
	* docs/html/17_intro/porting-howto.xml: Likewise.
	* docs/html/18_support/howto.html: Likewise.
	* docs/html/21_strings/howto.html: Likewise.
	* docs/html/27_io/howto.html: Likewise.
	* docs/html/configopts.html: Likewise.
	* docs/html/ext/howto.html: Likewise.
	* docs/html/faq/index.html: Likewise.
	* docs/html/install.html: Don't mention 2.x compilers.
d212 6
a217 1
2004-07-01  Release Manager
d219 1
a219 1
	* GCC 3.4.1 released.
d221 2
a222 1
2004-06-28  Benjamin Kosnik  <bkoz@@redhat.com>
d224 1
a224 6
	* include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
	Revert -Weffc++ changes that defined copy ctory and or assignment
	operator.
	* libsupc++/tinfo.cc (__upcast_result): Same.
	
2004-06-25  Benjamin Kosnik  <bkoz@@redhat.com>
d226 1
a226 4
	PR libstdc++/16182	
	* linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
	AC_DEFINE_UNQUOTED.
	* configure: Regenerate.
d228 1
a228 1
2004-06-25  Benjamin Kosnik  <bkoz@@redhat.com>
d230 2
a231 4
	* include/debug/formatter.h (__gnu_debug::_Error_formatter):
	Remove copy constructor and assignment operator.
	
2004-06-23  Paolo Carlini  <pcarlini@@suse.de>
d233 1
a233 4
	PR libstdc++/16154
	* include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
	Don't require the _DefaultConstructibleConcept.
	(struct _ForwardIteratorConcept): Require it here.
d235 2
a236 1
2004-06-21  Loren J. Rittle  <ljrittle@@acm.org>
d238 1
a238 2
	* config/linker-map.gnu: Use wildcards for
	__basic_file::sys_open(FILE*, _Ios_Openmode).
d240 2
a241 1
2004-06-18  Paolo Carlini  <pcarlini@@suse.de>
d243 5
a247 5
	* include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
	the alignment requested.
	(__mt_alloc<>::_Tune::_Tune): Tweak consistently.
	(__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
	(__mt_alloc<>::deallocate): Likewise.
d249 2
a250 1
2004-06-18  Paolo Carlini  <pcarlini@@suse.de>
d252 4
a255 5
	PR libstdc++/16020
	* include/debug/safe_base.h
	(_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
	_Safe_sequence_base::operator=): Provide definitions.
	* testsuite/23_containers/bitset/cons/16020.cc: New.
d257 1
a257 1
2004-06-18  Paolo Carlini  <pcarlini@@suse.de>
d259 1
a259 7
	* include/ext/rope (rope(_CharT, const allocator_type&)): Fix
	to use _Data_allocate.
	* include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
	(rope<>::_S_substring): Likewise.
	(rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
	(rope<>::c_str()): Likewise.
	(rope<>::replace_with_c_str()): Likewise.
d261 1
a261 10
	* include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
	Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
	not _RopeRep.
	(_Rope_iterator_base<>::_S_setcache): Likewise.
	(_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
	(rope<>::_S_substring): Likewise.
	(rope<>::_S_dump): Likewise.
	(rope<>::_S_fetch_ptr): Likewise.
	(rope<>::_S_compare): Likewise.
	(rope<>::replace_with_c_str()): Likewise.		
d263 14
a276 2
	* testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
	* testsuite/ext/rope/2.cc: New.
a277 2
2004-06-18  Paolo Carlini  <pcarlini@@suse.de>
	    Matt Austern  <austern@@apple.com>
d279 1
a279 1
	* testsuite/ext/rope/3.cc: New.
d281 1
a281 1
2004-06-17  Paolo Carlini  <pcarlini@@suse.de>
d283 1
a283 5
	* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
	Don't use the 'magic number' 10 in the computation of __minlen;
	never access __name past __minlen; in the loop over __i3, don't
	decrease __nmatches and increase __i3 at once, only either of
	the two; tidy.
d285 4
a288 1
2004-06-17  Paolo Carlini  <pcarlini@@suse.de>
d290 2
a291 4
	* include/ext/pool_allocator.h: Convert to a global free-list,
	as per the original SGI/HP design: move the implementation
	details to struct __pool_base, from which __pool_alloc derives.
	* src/allocator.cc: Instantiate __pool_base.
d293 1
a293 1
2004-06-11  Paolo Carlini  <pcarlini@@suse.de>
a294 8
	PR libstdc++/15775
	* include/bits/stl_deque.h: Consistently with stl_set.h, define
	pointer as allocator's pointer, likewise for reference,
	const_pointer, and const_reference.
	* include/bits/stl_list.h: Likewise.
	* include/bits/stl_map.h: Likewise.
	* include/bits/stl_multimap.h: Likewise.
	* include/bits/stl_vector.h: Likewise.
d296 1
a296 2
2004-06-11  Dhruv Matani  <dhruvbird@@gmx.net>
	    Paolo Carlini  <pcarlini@@suse.de>
d298 17
a314 4
	* testsuite/testsuite_performance.h
	(resource_counter::allocated_memory): Make it return the right
	number of bytes requested by the allocators/application. This is
	the sbrk+mmaped memory.
d316 1
a316 1
2004-06-10  Benjamin Kosnik  <bkoz@@redhat.com>
d318 2
a319 4
	* crossconfig.m4: Remove signbit, signbitf, signbitl.	
	* linkage.m4: Comment LIBMATHOBJS, tweak others.  AC_DEFINES for
	builtin math functions instead of AC_DEFINE_UNQUOTED.
	* configure: Regenerate.
d321 1
a321 1
2004-06-10  Benjamin Kosnik  <bkoz@@redhat.com>
d323 8
a330 2
	* docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
	* docs/doxygen/mainpage.html: Remove links.
d332 1
a332 1
2004-06-08  Jason Merrill  <jason@@redhat.com>
d334 4
a337 2
	* config/linker-map.gnu: Use wildcards for
	__basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
d339 1
a339 1
2004-05-31  Benjamin Kosnik  <bkoz@@redhat.com>
d341 5
a345 5
	* config/linker-map.gnu (GLIBCXX_3.4.1): Add.
	* testsuite/testsuite_abi.cc: Same.
	* configure.ac (libtool_VERSION): Bump to 6:1:0.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.
d347 1
a347 8
2004-05-31  Richard B. Kreckel  <Richard.Kreckel@@Framatome-ANP.com>
            Benjamin Kosnik  <bkoz@@redhat.com>
	
	PR libstdc++/14600
	* include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
	* include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
	* config/io/basic_file_stdio.cc (__basic_file::file): New.
	* config/io/basic_file_stdio.h: Define.
d349 4
a352 1
2004-05-30  Benjamin Kosnik  <bkoz@@redhat.com>
d354 1
a354 2
	PR libstdc++/15675
	* docs/html/documentation.html: Update doxygen links for 3.4.0.
d356 4
a359 1
2004-05-30  Jan Beulich  <jbeulich@@novell.com>
d361 1
a361 1
	* scripts/create_testsuite_files: Tweak.
d363 3
a365 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d367 1
a367 2
	* include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
	tweaks.
d369 3
a371 1
2004-05-30  Dhruv Matani  <dhruvbird@@gmx.net>
d373 1
a373 4
	* include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
	allocation loop which removes blocks from the global free list
	from O(N) to O(1) when the required blocks are <= the number
	available.
d375 2
a376 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d378 1
a378 5
	* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
	Consistently update __bin._M_free[0].
	(__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
	__bin._M_free[0] to simplify the while loop (i.e., the number
	of iterations becomes known at the outset).
d380 1
a380 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d382 1
a382 2
	* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
	The critical section is actually very small, only two assignments.
d384 2
a385 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d387 1
a387 4
	* include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out
	some duplicated code.
	(__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used
	in the single threaded case.
d389 1
a389 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d391 1
a391 3
	* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
	Rearrange arithmetic to avoid computing two divisions at
	each deallocation.
d393 1
a393 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d395 44
a438 4
	* include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize):
	Streamline the second half, wrapping it in a single
	'#ifdef __GTHREADS if (__gthread_active_p())' and avoiding
	conditionals inside loops.
d440 1
a440 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d442 1
a442 2
	* include/ext/mt_allocator.h: Uglify consistently names of
	variables, members and classes; tidy.
d444 2
a445 1
2004-05-30  Dhruv Matani  <dhruvbird@@gmx.net>
d447 3
a449 2
	* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
	Deallocation loop rewrote.
d451 1
a451 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d453 1
a453 3
	* include/ext/mt_allocator.h (__mt_alloc<>::allocate,
	__mt_alloc<>::deallocate): Protect two instances of
	block->thread_id with __GTHREADS.
d455 3
a457 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d459 2
a460 10
	* include/ext/mt_allocator.h (__mt_alloc<>::tune):
	Add _M_min_bin, the size in bytes of the smallest bin.
	(__mt_alloc<>::tune()): Tweak accordingly.
	(__mt_alloc<>::tune(size_t, ...)): Likewise.
	(__mt_alloc<>::block_record): Change to a union: members next
	and thread_id are never used at the same time.
	(__mt_alloc<>::allocate): Update consistently.
	(__mt_alloc<>::deallocate): Likewise.
	(__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
	_S_bin_size for the configurable _M_min_size.
d462 20
a481 1
2004-05-30  Paolo Carlini  <pcarlini@@suse.de>
d483 1
a483 2
	* include/ext/mt_allocator.h (__mt_alloc<>::allocate,
	__mt_alloc<>::deallocate): Avoid redundant conditionals.
d485 49
a533 1
2004-05-27  Paolo Carlini  <pcarlini@@suse.de>
d535 1
a535 6
	PR libstdc++/15565
	* include/bits/locale_facets.tcc (__int_to_char(unsigned long),
	__int_to_char(unsigned long long)): Showpos is not relevant
	for unsigned types.
	* testsuite/22_locale/num_put/put/char/15565.cc: New.
	* testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
d537 1
a537 30
	* testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
	char.
	* testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
	* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
	* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
	* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
	* testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.

2004-05-25  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/istream.tcc (ignore): Correctly deal with
	n == numeric_limits<streamsize>::max().
	* testsuite/27_io/basic_istream/ignore/char/2.cc: New.

	* include/bits/istream.tcc (basic_istream<>::getline): Prefer
	'_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
	__n == numeric_limits<>::min().

	* include/bits/istream.tcc: Minor tweaks.

	* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
	Tighten.
	* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
	Likewise.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
	Likewise.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
	Likewise.
	* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
d539 1
a539 1
2004-05-25  Paolo Carlini  <pcarlini@@suse.de>
d541 1
a541 2
	* include/bits/istream.tcc (ignore): Remove redundant line.
	(readsome): Tidy, closely following 27.6.1.3, p30.
d543 1
a543 1
2004-05-25  Paolo Carlini  <pcarlini@@suse.de>
d545 2
a546 7
	* include/bits/istream.tcc (operator>>(basic_istream<>&,
	basic_string<>&)): Use a temporary buffer, thus avoiding
	reallocation for common case.
	* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
	New.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
	Likewise.
d548 1
a548 1
	* include/bits/istream.tcc: Const-ification of a few variables.
d550 3
a552 2
	* include/bits/ostream.tcc: Trivial formatting fixes and
	const-ification of some variables.
d554 1
a554 1
2004-05-25  Benjamin Kosnik  <bkoz@@redhat.com>
d556 1
a556 3
	PR libstdc++/15489
	* scripts/create_testsuite_files: Revert xtype change, add
	non-GNU bits to do the same thing.
d558 2
a559 1
2004-05-24  Benjamin Kosnik  <bkoz@@redhat.com>
d561 40
a600 32
	PR libstdc++/12854
	Fixups for -Weffc++.	
	* include/bits/basic_string.h (basic_string::operator=): Return
	pointer to this instead of result of assign. Although redundant,
	this doesn't impact resultant codegen.
	
	* include/bits/locale_facets.h (__numpunct_cache): Declare
	assignment opxserator and copy constructor private.
	(__timepunct_cache): Same.
	(__moneypunct_cache): Same.
	(collate): Use member initialization list for _M_c_locale_collate.
	* config/locale/gnu/messages_members.h: Same.
	* config/locale/gnu/time_members.h (__timepunct): Same.	
	* src/codecvt.cc: Use member initialization list to initialize
	_M_c_locale_codecvt.	
	* src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
	* config/os/gnu-linux/ctype_noninline.h: Same.
	* src/locale.cc (_Impl): Same.
	* src/locale_init.cc: Same.
	* src/localename.cc: Same.	

	* include/bits/basic_ios.h (basic_ios): Complete member
	initialization list.
	* include/bits/istream.tcc (basic_istream::sentry): Same.
	* include/bits/ostream.tcc (basic_ostream::sentry): Same.
	* include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
	_M_pback to member initialization list.
	* include/std/std_streambuf.h: Same.
	* include/std/std_sstream.h: Same, for _M_mode.
	* src/ios.cc (ios_base): Same.
	
	* include/ext/rope: Make derived classes match exception
d602 2
a603 1
	 specifications. Add copy constructors and assignment operators.
d605 1
a605 31
	* include/debug/safe_base.h (_Safe_sequence_base): Declare copy
	constructor and assignment operator protected.
	(_Safe_iterator_base): Same.
	* include/debug/formatter.h (_Error_formatter): Define copy
	constructor and assignment operator.

	* include/backward/strstream: Declare assignment operator and copy
	constructor private.

2004-05-24  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/testsuite_hooks.h (func_callback): Declare copy
	constructor and assignment operator private.	
	* testsuite/23_containers/deque/cons/clear_allocator.cc: Match
	exception specifications of base class.
	* testsuite/23_containers/list/cons/clear_allocator.cc: Same.
	* testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
	* testsuite/23_containers/vector/bool/clear_allocator.cc: New.
		
2004-05-24  Benjamin Kosnik  <bkoz@@redhat.com>

	* libsupc++/cxxabi.h: Remove duplicated and useless public and
        private keywords in class declarations. Format. Use
        stddef.h. Expose declarations to "C" compilation.
        * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
        assignment operator.
        (__dyncast_result): Same.
        * libsupc++/vec.cc (uncatch_exception): Same, use member
        initialization list.
	
2004-05-22  Benjamin Kosnik  <bkoz@@redhat.com>
d607 1
a607 1
	* testsuite/abi_check.cc: Add unistd.h.
d609 2
a610 3
2004-05-21  Matthias Klose  <doko@@debian.org>
 
	* docs/doxygen/run_doxygen:  Bump required version.
d612 2
a613 1
2004-05-21  Benjamin Kosnik  <bkoz@@redhat.com>
d615 4
a618 2
	* docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
	* docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
d620 1
a620 1
2004-05-21  Benjamin Kosnik  <bkoz@@redhat.com>
d622 6
a627 78
	PR libstdc++/15123
	PR libstdc++/13928
	* docs/doxygen/Intro.3: Remove Allocators.3.
	Add new extension headers, extension namespace list.
	* docs/doxygen/run_doxygen (problematic): Remove Allocators.3
	Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
	__gnu_debug::. Remove __policy_ renames.
	* docs/doxygen/guide.html: Add dot note.
	* docs/doxygen/stdheader.cc: Edit, add files.
	* docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.

2004-05-19  Jan Beulich  <jbeulich@@novell.com>
 
        PR libstdc++/15489
        * scripts/create_testsuite_files: Also find source files through
          symbolic links.

2004-05-19  Jan Beulich  <jbeulich@@novell.com>

	PR libstdc++/15488
	* testsuite/lib/libstdc++.exp: Make test files writable.

2004-05-18  Jonathan Wakely  <redi@@gcc.gnu.org>

	* include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.

2004-05-18  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
	* testsuite/23_containers/deque/14340.cc: New.
	* testsuite/23_containers/list/14340.cc: New.
	* testsuite/23_containers/map/14340.cc: New.
	* testsuite/23_containers/multimap/14340.cc: New.
	* testsuite/23_containers/multiset/14340.cc: New.
	* testsuite/23_containers/set/14340.cc: New.
	* testsuite/23_containers/vector/14340.cc: New.

2004-05-18  Douglas Gregor   <gregod@@cs.rpi.edu>

	PR libstdc++/14340 
	* include/debug/safe_iterator.h (_Safe_iterator converting 
	constructor): Only allow declaration to instantiate when the 
	incoming _Safe_iterator has exactly the right iterator type.

2004-05-18  Jonathan Wakely  <redi@@gcc.gnu.org>

	* include/ext/enc_filebuf.h: Move concept-check macro to class scope.

2004-05-17  Jonathan Wakely  <redi@@gcc.gnu.org>

	* include/bits/boost_concept_check.h: Fix old attribute syntax.
	* testsuite/23_containers/map/modifiers/swap.cc: Define operator<
	to pass concept-checks.
	* testsuite/23_containers/multimap/modifiers/swap.cc: Same.
	* testsuite/23_containers/set/modifiers/swap.cc: Same.
	* testsuite/23_containers/multiset/modifiers/swap.cc: Same.

2004-05-15  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/15046
	* crossconfig.m4: Add C99 math bits for linux crosses.
	* configure: Regenerate.

2004-05-15  Simon Marshall <simon.marshall@@misys.com>
            Benjamin Kosnik  <bkoz@@redhat.com>
 
        PR libstdc++/15090
        * include/bits/locale_facets.h: Fix for -fno-for-scope.
        * include/debug/safe_sequence.h: Same.
        * include/debug/safe_iterator.tcc: Same.
        * src/debug.cc: Same.
        * src/locale.cc: Same.
        * src/locale_init.cc: Same.
        * src/localename.cc: Same.
        * config/locale/gnu/ctype_members.cc: Same.
        * config/locale/gnu/numeric_members.cc: Same.
        * testsuite/testsuite_abi.cc: Same.
        * testsuite/testsuite_hooks.cc: Same.
d629 1
a629 5
2004-05-15  Jonathan Wakely  <redi@@gcc.gnu.org>
	
	* docs/html/abi.html: Document effect of -fabi-version on value
	of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
	Fix markup.
d631 3
a633 10
2004-05-15  Benjamin Kosnik  <bkoz@@redhat.com>
	
	* docs/html/abi.html: New.
	* docs/html/abi.txt: Remove.
	* docs/html/documentation.html: Add link.
	* testsuite/Makefile.am: Add files.
	* testsuite/Makefile.in: Regenerated.
	* testsuite/abi_check.cc: Move and modify code into...
	* testsuite/testsuite_abi.cc: Add.
	* testsuite/testsuite_abi.h: Add.
d635 13
a647 2
	* docs/html/17_intro/TODO: Update.
	* include/bits/stl_pair.h: Format.
d649 1
a649 2
2004-05-14  Paolo Carlini  <pcarlini@@suse.de>
	    Ivan Godard  <igodard@@pacbell.net>
d651 1
a651 19
	PR libstdc++/15361
	* include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
	* testsuite/23_containers/bitset/ext/15361.cc: New.

2004-05-14  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14775
	* acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
	* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
	GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
	to _GLIBCXX_RES_LIMITS.
	(GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
	HAVE_LIMIT_*.
	* testsuite/testsuite_hooks.h: Declare set_file_limit.
	* testsuite/testsuite_hooks.cc: Define it, using getrlimit
	and setrlimit(RLIMIT_FSIZE).
	* testsuite/27_io/fpos/14775.cc: New.
	* config.h.in: Regenerate.
	* configure: Likewise.
d653 1
a653 1
2004-05-13  Benjamin Kosnik  <bkoz@@redhat.com>
d655 1
a655 2
	PR libstdc++/15074	
	* docs/html/faq/index.html: Update docs for libsupc++ usage.
d657 1
a657 1
2004-05-13  Benjamin Kosnik  <bkoz@@redhat.com>
d659 1
a659 9
	PR libstdc++/15412
	* include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
	__gnu_internal.
	(_GLIBCXX_mutex_address): Same.
	(_GLIBCXX_once): Same.
	(_GLIBCXX_mutex_init): Same.
	(_GLIBCXX_mutex_address_init): Same.
	
2004-05-09  Paolo Carlini  <pcarlini@@suse.de>
d661 2
a662 5
	* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
	New.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
	Likewise.
	* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
d664 1
a664 1
2004-05-09  Paolo Carlini  <pcarlini@@suse.de>
d666 3
a668 4
	PR libstdc++/15002 (continued again)
	* include/bits/istream.tcc (getline(basic_istream<>&,
	basic_string<>&, _CharT)): Use a temporary buffer, thus
	avoiding reallocation for common case.
d670 1
a670 3
	* include/bits/basic_string.tcc (_S_construct(_InIterator,
	_InIterator, const _Alloc&, input_iterator_tag)): Tweak size
	of temporary buffer to a power of two.
d672 9
a680 1
	* testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.
d682 1
a682 1
2004-05-09  Paolo Carlini  <pcarlini@@suse.de>
d685 10
a694 96
	PR libstdc++/15002 (continued)
	* include/bits/istream.tcc (basic_istream<>::getline(char_type*,
	streamsize, char_type)): Use traits::find/copy in a loop to speed
	up greatly the function in the common case (I/O buffer size >> 1).

2004-05-09  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_istream/getline/char/4.cc: New.	

	* include/bits/istream.tcc (getline(basic_istream<>&,
	basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
	of sbumpc(), consistently with the other functions, thus also
	dealing correctly with the case of exceeded string::max_size().

2004-05-06  Matthias Klose  <doko@@debian.org>

	* include/backward/iterator.h: 	Add GPL copyright info,
	with exception clause.
	* include/bits/boost_concept_check.h: Likewise.
	* include
	* libsupc++/tinfo.h: Likewise.
	* po/string_literals.cc: Likewise.

2004-05-02  Paolo Carlini  <pcarlini@@suse.de>

	* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config/allocator/pool_allocator_base.h: New.
	* include/ext/pool_allocator.h: Convert to a standard-conforming
	allocator.
	* src/allocator.cc: Tweak instantiations.
	* testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
	* testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
	* testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
	* testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
	* testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
	* testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.

2004-04-30  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14220
	* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
	Don't clip the precision passed down to __convert_from_v:
	22.2.2.2.2 nowhere says so.
	* testsuite/22_locale/num_put/put/char/14220.cc: New.
	* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.

2004-04-29  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: 
	Clarify assertion, set test variable to false before assert.
	* testsuite/27_io/basic_istringstream/str/char/1.cc: Same.
	* testsuite/27_io/basic_stringstream/str/char/1.cc: Same.
	* testsuite/27_io/ios_base/storage/2.cc: Same.
	
	* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix
	function returns.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same.
	* testsuite/27_io/fpos/14320-3.cc: Same.
	
	* testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std.
	* testsuite/27_io/fpos/1.cc: Same.
	* testsuite/27_io/basic_stringstream/2.cc: Same.
	* testsuite/27_io/basic_stringbuf/4.cc: Same.
	* testsuite/27_io/basic_stringbuf/1.cc: Same.
	* testsuite/27_io/basic_stringbuf/2.cc: Same.
	* testsuite/27_io/basic_streambuf/2.cc: Same.
	* testsuite/27_io/basic_ostringstream/2.cc: Same.
	* testsuite/27_io/basic_ostream/2.cc: Same.
	* testsuite/27_io/basic_ofstream/2.cc: Same.
	* testsuite/27_io/basic_istringstream/2.cc: Same.
	* testsuite/27_io/basic_istream/2.cc: Same.
	* testsuite/27_io/basic_iostream/2.cc: Same.
	* testsuite/27_io/basic_ios/2.cc: Same.
	* testsuite/27_io/basic_ifstream/2.cc: Same.
	* testsuite/27_io/basic_fstream/2.cc: Same.
	* testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx.

	* testsuite/21_strings/basic_string/capacity/1.cc: Don't compare
	unsigned against zero.
	* testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same.
	* testsuite/21_strings/basic_string/capacity/char/1.cc: Same.

	* testsuite/18_support/new_delete_placement.cc: Initialize
	variables before first use.
	* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same.
	* testsuite/21_strings/char_traits/requirements/char/1.cc: Same.
	* testsuite/21_strings/char_traits/requirements/short/1.cc: Same.
	* testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: 
	Same.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same.
	* testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: 
	Same.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same.
	* testsuite/27_io/types/2.cc: Same.
d696 2
a697 2
	* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary
	file name.	
d699 1
a699 1
2004-04-29  Benjamin Kosnik  <bkoz@@redhat.com>
d701 4
a704 31
	Fixups for EDG front end.
	* include/ext/rope: Instead of non-existent function
	_Data_allocate, use allocator's allocate. Use this.
	(namespace _Rope_constants): Move _S_max_rope_depth, and _Tag
	enumerations from _Rope_RopeRep here.
	* include/ext/ropeimpl.h: Same.
	* src/ext-inst.cc (_S_min_len): Fix up definition.
	
	* config/locale/gnu/ctype_members.cc: Qualify base class members
	with this.
	* config/locale/generic/ctype_members.cc: Same.
	* config/locale/gnu/messages_members.h: Same.
	* config/locale/generic/messages_members.h: Same.
	* src/ctype.cc: Same.
	* include/bits/codecvt.h: Same.
	
	* include/bits/boost_concept_check.h: Declare.
	(__error_type_must_be_an_unsigned_integer_type): Remove this.
	(__error_type_must_be_an_integer_type): Remove this.
	(__error_type_must_be_a_signed_integer_type): Remove this.	

	* config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast.

	* libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception
	specification to definition.
	(__cxa_allocate_exception): Same.
	* libsupc++/eh_catch.cc (__cxa_begin_catch): Same.
	* libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same.
	(__cxa_get_globals): Same.	
	
	* libsupc++/del_op.cc: Add comment about freestanding.
d706 1
a706 1
2004-04-29  Dhruv Matani  <dhruvbird@@gmx.net>
d708 4
a711 7
	* include/ext/malloc_allocator.h: Fixed the construct function to
	call global placement new instead of assignment. Added a check
	after the return from malloc to check whether returned pointer is
	NULL, and if so, throw std::bad_alloc().	
	* include/ext/debug_allocator.h: Added a check in the deallocate
	function to check whether the user has passed a NULL pointer or
	not.
d713 1
a713 1
2004-04-29  Benjamin Kosnik  <bkoz@@redhat.com>
d715 3
a717 1
	* docs/html/20_util/allocator.html: Add bitmap_allocator links.
d719 1
a719 10
2004-04-29  Dhruv Matani  <dhruvbird@@gmx.net>
	
	* include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
	function call __builtin_ctz instead of the while loop.
	(allocate) -> If condition has __builtin_expect.
	(deallocate) -> Ditto.
	Renamed a few left-over variables and typedefs according to the
	C++STYLE mentioned in the documentation.
	Protected calls to __gthread* by __gthread_active_p(), whose value
	is cached in the local variable __threads_active.
d721 4
a724 1
2004-04-29  Felix Yen  <fwy@@alumni.brown.edu>
d726 1
a726 2
	* testsuite/performance/20_util/allocator/producer_consumer.cc:
	Use linear algorithm for producer.
d728 4
a731 1
2004-04-29  Paolo Carlini  <pcarlini@@suse.de>
d733 1
a733 5
	PR libstdc++/14975
	* include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt
	in case of error.
	* testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New.
d735 2
a736 1
2004-04-26  Paolo Carlini  <pcarlini@@suse.de>
d738 1
a738 1
	* include/bits/istream.tcc: Fix comment.
d740 3
a742 1
2004-04-26  Paolo Carlini  <pcarlini@@suse.de>
d744 2
a745 2
	* src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl
	avoid constructing unnecessarily this->name().
d747 5
a751 1
2004-04-24  Loren J. Rittle  <ljrittle@@acm.org>
d753 1
a753 1
	* testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
d755 8
a762 1
2004-04-24  Paolo Carlini  <pcarlini@@suse.de>
d764 1
a764 3
	* testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
	on allocator behavior, the memory pointed by data2 may well be not
	trashed.
d766 6
a771 1
2004-04-24  Paolo Carlini  <pcarlini@@suse.de>
d773 2
a774 9
	* config/locale/generic/time_members.cc
	(__timepunct<char>::_M_initialize_timepunct,
	__timepunct<wchar_t>::_M_initialize_timepunct): The correct
	_M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
	* config/locale/gnu/time_members.cc
	(__timepunct<char>::_M_initialize_timepunct,
	__timepunct<wchar_t>::_M_initialize_timepunct): Ditto.
	* testsuite/22_locale/time_get/get_monthname/char/4.cc: New.
	* testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New.
d776 1
a776 2
2004-04-24  Paolo Carlini  <pcarlini@@suse.de>
	    Petur Runolfsson  <peturr02@@ru.is>
d778 4
a781 2
	* testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New,
	adapted from libstdc++/11378.
d783 2
a784 2
2004-04-24  Paolo Carlini  <pcarlini@@suse.de>
	    Andrew Pinski  <pinskia@@physics.uc.edu>
d786 1
a786 2
	* include/bits/basic_string.tcc (_M_mutate): Don't compute
	__src unnecessarily.
d788 2
a789 1
2004-04-24  Paolo Carlini  <pcarlini@@suse.de>
d791 1
a791 3
	PR libstdc++/15002 (partial)
	* include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
	Special case __n2 == 1, not calling traits_type::assign/copy.
d793 1
a793 1
2004-04-24  Matthias Klose  <doko@@debian.org>
d795 1
a795 2
	Jonathan Wakely  <cow@@compsoc.man.ac.uk>
	* docs/html/configopts.html: Fix reference to allocator config option.
d797 4
a800 1
2004-04-23  Daniel Jacobowitz  <drow@@mvista.com>
d802 1
a802 3
	PR libstdc++/15047, libstdc++/11610
	* testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
	(libstdc++_init): Don't pass outdir to v3-copy-files.
d804 13
a816 1
2004-04-23  Paolo Carlini  <pcarlini@@suse.de>
d818 1
a818 8
	* config/locale/gnu/monetary_members.cc
	(moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer
	_NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC,
	and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC,
	_NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING.
	* config/locale/gnu/numeric_members.cc
	(numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT
	and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP.
d820 87
a906 1
2004-04-21  Chavdar Botev  <cbotev@@yahoo.com>
d908 2
a909 5
	PR libstdc++/14245
	* include/bits/basic_string.tcc
	(basic_string::basic_string(const basic_string&)): Pass to
	_Rep::_M_grab the actual allocator of the string being constructed
	not the default constructed one.
d911 2
a912 2
2004-04-21  Paolo Carlini  <pcarlini@@suse.de>
	    Petur Runolfsson  <peturr02@@ru.is>
d914 1
a914 44
	PR libstdc++/12077
	* include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
	no way to find out the conversion used by the underlying FILE*.
	* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
	* testsuite/27_io/objects/char/9.cc: Tweak.

2004-04-18  Release Manager

	* GCC 3.4.0 released.

2004-04-17  Benjamin Kosnik  <bkoz@@redhat.com>
 
        * include/bits/stl_bvector.h: Use _M_impl._M_start.
 
2004-04-16  Benjamin Kosnik  <bkoz@@redhat.com>
	
	* include/bits/c++config (_GLIBCXX_STD): New.
	* src/list.cc: Use it.
	* include/std/std_bitset.h: Same.
	* include/bits/vector.tcc: Same.
	* include/bits/stl_set.h: Same.
	* include/bits/stl_multiset.h: Same.
	* include/bits/stl_multimap.h: Same.
	* include/bits/stl_map.h: Same.
	* include/bits/stl_list.h: Same.
	* include/bits/stl_vector.h: Same.
	* include/bits/stl_bvector.h: Same.
	* include/bits/stl_deque.h: Same.
	* include/bits/deque.tcc: Same.
	* include/bits/list.tcc: Same.
	* include/debug/vector: Same.
	* include/debug/set.h: Same.
	* include/debug/multiset.h: Same.
	* include/debug/multimap.h: Same.
	* include/debug/map.h: Same.
	* include/debug/list: Same.
	* include/debug/deque: Same.
	* include/debug/bitset: Same.	
	* include/debug/formatter.h (__gnu_debug): Remove using directive.
	Add using declaration for std::type_info.
	* include/debug/safe_iterator.h: Add using declaration for
	std::iterator_traits and std::pair.
	* src/debug_list.cc: New.
	* src/Makefile.am: Add debug_list.cc.
a915 2
	* config/linker-map.gnu: Add _List_node_base exports for std and
	__gnu_norm.
d917 1
a917 5
	* include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
	idiom that other containers use.
	* testsuite/23_containers/vector/bool/clear_allocator.cc: New.
	
2004-04-14  Zack Weinberg  <zack@@codesourcery.com>
d919 2
a920 3
	* testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
	Change definition of CXX to use $(shell) instead of backticks.
	* testsuite/Makefile.in: Regenerate.
d922 1
a922 1
2004-04-09  Andreas Schwab  <schwab@@suse.de>
d924 3
a926 2
	* testsuite/lib/prune.exp (prune_g++_output): Ignore errata
	warning from IA64 assembler.
d928 1
a928 1
2004-03-30  Benjamin Kosnik  <bkoz@@redhat.com>
d930 3
a932 2
	PR libstdc++/14783
	* include/bits/stl_tree.h: Adjust initialization list order.
d934 1
a934 1
2004-03-26  Benjamin Kosnik  <bkoz@@redhat.com>
d936 5
a940 195
	libstdc++ PR/13598
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
	(__enc_traits::_M_destroy): New.
	(__enc_traits::~__enc_traits): Use it.
	(__enc_traits::operator=): Use _M_destroy, _M_init.
	(__enc_traits::__enc_traits): Same.

2004-03-26  Petur Runolfsson  <peturr02@@ru.is>

	* testsuite/ext/enc_filebuf/char/13598.cc: New.

2004-03-25  Gawain Bolton  <gp.bolton@@computer.org>

	* include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
	default argument in constructors.
	(_Rb_tree::_M_empty_initialize): Remove.

2004-03-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
	* testsuite/23_containers/set/operators/1_neg.cc: Same.

2004-03-25  Dhruv Matani  <dhruvbird@@gmx.net>

	* include/bits/cpp_type_traits.h: Changed __is_pod
	completely. Now, it does not use any of the previous type_traits
	to detect the pod types, and it also detects function pointers as
	POD types.

	* include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
	which encapsulates the internal implementation of an rb_tree. Made
	the allocator a base class of this class instead of the rb_tree,
	which was not conforming. This _Rb_tree_impl class is also
	specialized on whether the _Compare parameter is a POD type or
	not. If so, then it maintains the comparison function as a data
	member, otherwise it makes the _Compare parameter a base class of
	itself. Also, _M_key_compare is now a function instead of a data
	member, so that the above trick can work properly. Delegated the
	initialization of the other data members to this newly created
	class. Also, now other member functions of rb_tree must refer to
	_M_key_compare as _M_impl._M_key_compare(). The other data members
	(*) can be referenced to as _M_impl.(*), where
	(*) includes _M_header, and _M_node_count.

2004-03-25  Dhruv Matani  <dhruvbird@@gmx.net>

	* include/bits/stl_list.h: Created a _List_impl class and made it
	derive from the allocator, instead of the list deriving from the
	allocator class, which was not conformant. Changed all references
	from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
	as above (changed all references to the concerned variables).

2004-03-25  Dhruv Matani  <dhruvbird@@gmx.net>

	* include/bits/stl_deque.h: Created a _Deque_impl class and made
	it derive from the allocator, instead of the deque deriving from
	the allocator class, which was not conformant. Changed all
	references to the _M_start, _M_finish, _M_map, and _M_map_size to
	_M_impl.*.
	(_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
	qualification in 2 places where it was missing.
	(_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
	above.
	* include/bits/deque.tcc: Same as above (changed all references to
	the concerned variables).

2004-03-25  Dhruv Matani  <dhruvbird@@gmx.net>

	* include/bits/stl_vector.h: Created a _Vector_impl class and made
	it derive from the allocator, instead of the _Vector_base class,
	deriving from the allocator which was not conformant. Changed all
	references to the _M_start, _M_finish, and _M_end_of_storage to
	_M_impl.*.
	* include/bits/vector.tcc: Same as above (changed all references
	to the concerned variables).

2004-03-25  Dhruv Matani  <dhruvbird@@gmx.net>

	* testsuite/23_containers/deque/cons/clear_allocator.cc: New.
	* testsuite/23_containers/list/cons/clear_allocator.cc: New.
	* testsuite/23_containers/vector/cons/clear_allocator.cc: New.

2004-03-23  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/locale_facets.h: Tweaks for 80 column.
	(__numpunct_cache::_M_cache): Move to locale_facets.tcc.
	(__moneypunct_cache::_M_cache): Same.
	(num_get): Don't inherit from __num_base.
	(num_put): Same.
	(money_get): Don't inherit from money_base.
	(money_put): Same.
	(__timepunct::_M_am_pm_format): New.
	(time_get::_M_extract_num): Return iterator, use ios_base as argument.
	(time_get::_M_extract_name): Same.
	(time_get::_M_extract_via_format): Same.
	* include/bits/locale_facets.tcc: Tweaks for 80 column.
	Use _M_getloc instead of getloc.
	* testsuite/22_locale/money_put/put/char/9780-3.cc: New.
	* testsuite/22_locale/num_put/put/char/9780-2.cc: New.
	* testsuite/22_locale/time_put/put/char/9780-1.cc: New.

2004-03-22  Hans-Peter Nilsson  <hp@@axis.com>

	PR target/14676
	* config/cpu/cris/atomicity.h (__atomic_add): Remove "static
	inline" and attribute-unused.  Qualify parameter __mem with
	"volatile".
	(__exchange_and_add): Ditto.  Add back memory clobber to asm.

2004-03-19  Peter Schmid  <schmid@@snake.iap.physik.tu-darmstadt.de>

	PR libstdc++/14647
	* include/backward/bvector.h (bit_vector): Allocator is in std
	namespace.

2004-03-20  Paolo Carlini  <pcarlini@@suse.de>

	* include/std/std_valarray.h: Document DR389 [Ready].
	* docs/html/ext/howto.html: Add an entry for DR389.

2004-03-19  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14648
	* include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
	memory allocation/deallocation calls.
	* testsuite/ext/14648.cc: New.

2004-03-17  Benjamin Kosnik  <bkoz@@redhat.com>

	Revert.
	* configure.ac (AC_PREREQ): Use 2.57.
	(AM_INIT_AUTOMAKE): Remove -Wno-override.

2004-03-17  David Billinghurst <David.Billinghurst@@riotinto.com>

	PR bootstrap/14207
	Revert patch of 2004-02-17, as it breaks mips-sgi-irix6.5 -o32
	(Almost certainly a target issue)
	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
	num_get<>::_M_extract_int, money_get<>::do_get): Simplify
	grouping fidelity conditional.

2004-03-17  Benjamin Kosnik  <bkoz@@redhat.com>

	Revert dg-require-iconv changes.
	* testsuite/22_locale/collate/compare/wchar_t/2.cc: Revert.
	* testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
	* testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
	* testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
	* testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
	* testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
	* testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
	* testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
	* testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:

2004-03-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* Merge from mainline.

2004-03-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
	new_allocator for all hosts.
	* configure: Regenerate.

2004-03-16  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
	* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.

2004-03-15  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Adjust the logic underlying the parsing of symbol to deal
	correctly with an optional sign component (i.e., when either
	negative_sign or positive_sign is empty)
	* testsuite/22_locale/money_get/get/char/19.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/19.cc: New.

2004-03-15  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Do not accept an incomplete currency symbol.
	* testsuite/22_locale/money_get/get/char/18.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/18.cc: New.

2004-03-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/allocator: New.
	* config/allocator/bitmap_allocator_base.h: New.
	* config/allocator/malloc_allocator_base.h: New.
	* config/allocator/mt_allocator_base.h: New.
	* config/allocator/new_allocator_base.h: New.
	* include/bits/allocator.h: Include c++allocator.h.
	* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
d942 12
a953 1
	* configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
d955 1
a955 1
	* include/Makefile.am (host_headers_extra): Add c++allocator.h.
d957 112
a1068 1
	* docs/html/configopts.html: Add enable-libstdcxx-allocator.
d1070 11
a1080 1
2004-03-12  Benjamin Kosnik  <bkoz@@redhat.com>
d1082 2
a1083 1
	* include/bits/allocator.h: Revert.
d1085 1
a1085 1
2004-03-12  Paolo Carlini  <pcarlini@@suse.de>
d1087 18
a1104 5
	* docs/html/ext/howto.html: Add entry for DR 253 [Ready].
	* include/bits/gslice_array.h: Add comment about DR 253.
	* include/bits/indirect_array.h: Likewise.
	* include/bits/mask_array.h: Likewise.
	* include/bits/slice_array.h: Likewise.
d1106 3
a1108 1
2004-03-12  Benjamin Kosnik  <bkoz@@redhat.com>
d1110 2
a1111 2
	* testsuite/20_util/allocator/14176.cc: New.
	* include/ext/mt_allocator.h: Formatting fixes.
d1113 4
a1116 1
2004-03-11  Dhruv Matani  <dhruvbird@@HotPOP.com>
d1118 1
a1118 13
	* include/Makefile.am (ext_headers): Add
	${ext_srcdir}/bitmap_allocator.h .
	* include/Makefile.in: Regenerate.
	* docs/html/ext/ballocator_doc.txt: New file.
	* include/ext/bitmap_allocator.h: New file.
	* testsuite/performance/20_util/allocator/list_sort_search.cc: Add
	test.
	* testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
	* testsuite/performance/20_util/allocator/producer_consumer.cc: Add
	test for the bitmap_allocator<>.
	* testsuite/performance/20_util/allocator/insert.cc: Likewise.
	* testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
	* testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
d1120 4
a1123 1
2004-03-11  Paolo Carlini  <pcarlini@@suse.de>
d1125 1
a1125 4
	* include/std/std_complex.h (pow(const complex&, const _Tp&),
	pow(const _Tp&, const complex&), pow(const complex&,
	const complex&)): Fully qualify with std:: a few calls.
	* testsuite/26_numerics/complex/13450.cc: Minor tweak.
d1127 10
a1136 1
2004-03-11  Steven Bosscher  <stevenb@@suse.de>
d1138 1
a1138 2
	PR libstdc++/11706
	* include/c_std/cmath.tcc (__cmath_power): Define inline.
d1140 2
a1141 1
2004-03-10  Kelley Cook  <kcook@@gcc.gnu.org>
d1143 1
a1143 1
	* configure.ac: Bump AC_PREREQ to 2.59.
d1145 2
a1146 1
2004-03-10  Paolo Carlini  <pcarlini@@suse.de>
d1148 1
a1148 1
	* testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
d1150 1
a1150 2
2004-03-10  Paul Kienzle  <pkienzle@@nist.gov>
	    Paolo Carlini  <pcarlini@@suse.de>
d1152 7
a1158 4
	PR libstdc++/13450
	* include/std/std_complex.h (pow(const complex&, const _Tp&),
	pow(const _Tp&, const complex&)): Use cmath pow only when safe.
	* testsuite/26_numerics/complex/13450.cc: New.
d1160 7
a1166 2
	* testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
	* testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
d1168 2
a1169 1
2004-03-10  Jerry Quinn  <jlquinn@@optonline.net>
d1171 1
a1171 9
	PR libstdc++/3247
	* include/bits/gslice_array.h (gslice_array()): Make public.
	(operator=(gslice_array)): Make public.  Implement.
	* include/bits/indirect_array.h (indirect_array()): Make public.
	* include/bits/mask_array.h (mask_array()): Make public.
	(operator=(mask_array)): Make public.  Implement.
	* include/bits/valarray_array.tcc (__valarray_copy):
	Comment.  Add versions for gslice_array and mask_array.
	* testsuite/26_numerics/valarray_subset_assignment.cc:  New test.
d1173 1
a1173 1
2004-03-09  Benjamin Kosnik  <bkoz@@redhat.com>
d1175 1
a1175 8
	* testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
	non-weak systems.
	* testsuite/23_containers/vector/modifiers/swap.cc: Same.
	* testsuite/23_containers/set/modifiers/swap.cc: Same.
	* testsuite/23_containers/multiset/modifiers/swap.cc: Same.
	* testsuite/23_containers/multimap/modifiers/swap.cc: Same.
	* testsuite/23_containers/map/modifiers/swap.cc: Same.
	* testsuite/23_containers/list/modifiers/swap.cc: Same.
d1177 10
a1186 1
	* testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
d1188 1
a1188 1
2004-03-08  Benjamin Kosnik  <bkoz@@redhat.com>
d1190 1
a1190 8
	PR c++/13658
	* testsuite/23_containers/deque/modifiers/swap.cc: New.
	* testsuite/23_containers/list/modifiers/swap.cc: New.
	* testsuite/23_containers/map/modifiers/swap.cc: New.
	* testsuite/23_containers/multimap/modifiers/swap.cc: New.
	* testsuite/23_containers/multiset/modifiers/swap.cc: New.
	* testsuite/23_containers/set/modifiers/swap.cc: New.
	* testsuite/23_containers/vector/modifiers/swap.cc: New.
d1192 1
a1192 1
2004-03-08  Petur Runolfsson  <peturr02@@ru.is>
d1194 2
a1195 2
	PR libstdc++/12658
	* testsuite/22_locale/locale/cons/12658_thread.cc: New.
d1197 1
a1197 1
2004-03-08  Paolo Carlini  <pcarlini@@suse.de>
d1199 4
a1202 3
	* docs/html/ext/howto.html: Add entry for DR 103 [WP].
	* include/bits/stl_multiset.h: Add comment about DR 103.
	* include/bits/stl_set.h: Likewise.
d1204 1
a1204 1
2004-03-08  Paolo Carlini  <pcarlini@@suse.de>
d1206 5
a1210 5
	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	The value _space_ indicates that at least one space is required
	at that position.
	* testsuite/22_locale/money_get/get/char/17.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
d1212 1
a1212 2
	* testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
	* testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
d1214 1
a1214 2
	* include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
	Remove redundant conditional on __str.size().
d1216 1
a1216 1
2004-03-08  Benjamin Kosnik  <bkoz@@redhat.com>
d1218 2
a1219 1
	* include/bits/allocator.h: Switch defaults to mt_alloc.
d1221 1
a1221 1
2004-03-06  Benjamin Kosnik  <bkoz@@redhat.com>
d1223 3
a1225 2
	* include/ext/mt_allocator.h (_S_initialize): If
	!__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
d1227 1
a1227 1
2004-03-06  Benjamin Kosnik  <bkoz@@redhat.com>
d1229 1
a1229 7
	PR libstdc++/12658
	* src/locale_init.cc (locale::locale): Lock critical regions with
	external mutexes.
	(locale::global): Same.
	* include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
	Add in once bits for cases without __GTHREAD_MUTEX_INIT.
	(__glibcxx_mutex_lock): Same.
d1231 1
a1231 3
	* config/cpu/generic/atomicity.h: Remove
	_GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
	* src/misc-inst.cc: Move all locking bits out of this file.
d1233 3
a1235 3
	* config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
	* src/misc-inst.cc: Same.
	* config/cpu/hppa/atomicity.h: Same.
d1237 1
a1237 2
	* config/linker-map.gnu: Remove types in the signature of atomic
	exports, as they may vary.
d1239 5
a1243 1
2004-03-06  Paolo Carlini  <pcarlini@@suse.de>
d1245 1
a1245 23
	* include/bits/locale_facets.tcc: Tweak the comment preceding
	has_facet: doesn't throw.

2004-03-06  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/22_locale/money_get/get/char/1.cc: Clean up.
	* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
	* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
	* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.

2004-03-06  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
	num_get<>::_M_extract_int, num_get<>::do_get(bool&),
	__pad<>::_S_pad): Prefer plain operator== to traits::eq().
	* testsuite/testsuite_character.h (struct __gnu_test::character):
	Provide operator==.
	* testsuite/testsuite_hooks.h (struct __gnu_test::pod_char):
	Likewise.
d1247 14
a1260 1
2004-03-05  Paolo Carlini  <pcarlini@@suse.de>
d1262 1
a1262 1
	* testsuite/27_io/fpos/14320-2.cc: Remove xfail.
d1264 64
a1327 1
2004-03-04  Benjamin Kosnik  <bkoz@@redhat.com>
d1329 2
a1330 1
	* testsuite/23_containers/multiset/insert/1.cc: Test result string.
d1332 1
a1332 185
	* testsuite/23_containers/bitset/invalidation/1.cc: Main always
	returns 0.
	* testsuite/23_containers/deque/invalidation/4.cc: Same.
	* testsuite/23_containers/list/invalidation/1.cc: Same.
	* testsuite/23_containers/list/invalidation/2.cc: Same.
	* testsuite/23_containers/list/invalidation/3.cc: Same.
	* testsuite/23_containers/list/invalidation/4.cc: Same.
	* testsuite/23_containers/map/invalidation/2.cc: Same.
	* testsuite/23_containers/multimap/invalidation/1.cc: Same.
	* testsuite/23_containers/multimap/invalidation/2.cc: Same.
	* testsuite/23_containers/multiset/invalidation/1.cc: Same.
	* testsuite/23_containers/multiset/invalidation/2.cc: Same.
	* testsuite/23_containers/set/invalidation/1.cc: Same.
	* testsuite/23_containers/set/invalidation/2.cc: Same.
	* testsuite/23_containers/vector/invalidation/1.cc: Same.
	* testsuite/23_containers/vector/invalidation/2.cc: Same.
	* testsuite/23_containers/vector/invalidation/3.cc: Same.
	* testsuite/23_containers/vector/invalidation/4.cc: Same.

2004-03-04  Paolo Carlini  <pcarlini@@suse.de>

	* scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to
	CXXFLAGS_save.
	* testsuite/lib/libstdc++.exp: Don't add it conditionally to
	DEFAULT_CXXFLAGS.
	* testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT"
	from the dg-options.
	* testsuite/23_containers/vector/invalidation/1.cc: Likewise.
	* testsuite/23_containers/vector/invalidation/2.cc: Likewise.
	* testsuite/23_containers/vector/invalidation/3.cc: Likewise.
	* testsuite/23_containers/vector/invalidation/4.cc: Likewise.
	* testsuite/23_containers/vector/resize/1.cc: Likewise.
	* testsuite/26_numerics/complex_value.cc: Likewise.
	* testsuite/27_io/ios_base/storage/1.cc: Likewise.
	* testsuite/27_io/ios_base/storage/2.cc: Likewise.
	* testsuite/27_io/ios_base/storage/3.cc: Likewise.
	* testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
	* testsuite/27_io/objects/char/5.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/5.cc: Likewise.
	* testsuite/backward/11460.cc: Likewise.
	* testsuite/thread/pthread7-rope.cc: Likewise.

	* testsuite/21_strings/basic_string/compare/char/1.cc: Add
	missing test variable.
	* testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add
	missing test variable.

2004-03-04  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/20_util/allocator/1.cc: Provide explicit
	instantiations for non-weak systems.
	* testsuite/20_util/binders.cc: Same.
	* testsuite/20_util/allocator/8230.cc: Same.
	* testsuite/20_util/allocator/10378.cc: Same.
	* testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
	* testsuite/22_locale/ctype/is/char/2.cc: Same.
	* testsuite/thread/pthread7-rope.cc: Same.
	* testsuite/thread/pthread6.cc: Same.
	* testsuite/thread/pthread5.cc: Same.
	* testsuite/thread/pthread4.cc: Same.
	* testsuite/thread/pthread1.cc: Same.
	* testsuite/ext/rope.cc: Same.
	* testsuite/ext/hash_set.cc: Same.
	* testsuite/ext/hash_map.cc: Same.
	* testsuite/ext/concept_checks.cc: Same.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
	* testsuite/25_algorithms/unique/2.cc: Same.
	* testsuite/25_algorithms/unique/1.cc: Same.
	* testsuite/25_algorithms/rotate.cc: Same.
	* testsuite/25_algorithms/min_max.cc: Same.
	* testsuite/25_algorithms/equal.cc: Same.
	* testsuite/24_iterators/rel_ops.cc: Same.
	* testsuite/24_iterators/iterator.cc: Same.
	* testsuite/24_iterators/insert_iterator.cc: Same.
	* testsuite/24_iterators/front_insert_iterator.cc: Same.
	* testsuite/24_iterators/back_insert_iterator.cc: Same.
	* testsuite/23_containers/vector/resize/1.cc: Same.
	* testsuite/23_containers/vector/modifiers/2.cc: Same.
	* testsuite/23_containers/vector/modifiers/1.cc: Same.
	* testsuite/23_containers/vector/invalidation/4.cc: Same.
	* testsuite/23_containers/vector/invalidation/3.cc: Same.
	* testsuite/23_containers/vector/invalidation/2.cc: Same.
	* testsuite/23_containers/vector/invalidation/1.cc: Same.
	* testsuite/23_containers/vector/element_access/1.cc: Same.
	* testsuite/23_containers/vector/cons/6513.cc: Same.
	* testsuite/23_containers/vector/cons/3.cc: Same.
	* testsuite/23_containers/vector/cons/2.cc: Same.
	* testsuite/23_containers/vector/cons/1.cc: Same.
	* testsuite/23_containers/vector/capacity/8230.cc: Same.
	* testsuite/23_containers/vector/capacity/1.cc: Same.
	* testsuite/23_containers/vector/bool/6886.cc: Same.
	* testsuite/23_containers/stack/members/7158.cc: Same.
	* testsuite/23_containers/set/invalidation/2.cc: Same.
	* testsuite/23_containers/set/invalidation/1.cc: Same.
	* testsuite/23_containers/queue/members/7157.cc: Same.
	* testsuite/23_containers/priority_queue/members/7161.cc: Same.
	* testsuite/23_containers/multiset/invalidation/2.cc: Same.
	* testsuite/23_containers/multiset/invalidation/2.cc: Same.
	* testsuite/23_containers/multiset/insert/1.cc: Same.
	* testsuite/23_containers/multimap/invalidation/2.cc: Same.
	* testsuite/23_containers/multimap/invalidation/2.cc: Same.
	* testsuite/23_containers/map/operators/1.cc: Same.
	* testsuite/23_containers/map/invalidation/2.cc: Same.
	* testsuite/23_containers/map/invalidation/1.cc: Same.
	* testsuite/23_containers/map/insert/1.cc: Same.
	* testsuite/23_containers/list/operators/4.cc: Same.
	* testsuite/23_containers/list/operators/3.cc: Same.
	* testsuite/23_containers/list/operators/2.cc: Same.
	* testsuite/23_containers/list/operators/1.cc: Same.
	* testsuite/23_containers/list/modifiers/3.cc: Same.
	* testsuite/23_containers/list/modifiers/2.cc: Same.
	* testsuite/23_containers/list/modifiers/1.cc: Same.
	* testsuite/23_containers/list/invalidation/4.cc: Same.
	* testsuite/23_containers/list/invalidation/3.cc: Same.
	* testsuite/23_containers/list/invalidation/2.cc: Same.
	* testsuite/23_containers/list/invalidation/1.cc: Same.
	* testsuite/23_containers/list/cons/9.cc: Same.
	* testsuite/23_containers/list/cons/8.cc: Same.
	* testsuite/23_containers/list/cons/7.cc: Same.
	* testsuite/23_containers/list/cons/6.cc: Same.
	* testsuite/23_containers/list/cons/5.cc: Same.
	* testsuite/23_containers/list/cons/4.cc: Same.
	* testsuite/23_containers/list/cons/3.cc: Same.
	* testsuite/23_containers/list/cons/2.cc: Same.
	* testsuite/23_containers/list/cons/1.cc: Same.
	* testsuite/23_containers/list/capacity/1.cc: Same.
	* testsuite/23_containers/deque/operators/1.cc: Same.
	* testsuite/23_containers/deque/invalidation/4.cc: Same.
	* testsuite/23_containers/deque/invalidation/3.cc: Same.
	* testsuite/23_containers/deque/invalidation/2.cc: Same.
	* testsuite/23_containers/deque/invalidation/1.cc: Same.
	* testsuite/23_containers/deque/cons/2.cc: Same.
	* testsuite/23_containers/deque/cons/1.cc: Same.

	* src/allocator.cc: Add char, wchar_t instantiations
	to match extern template declarations in memory.h.

2004-03-03  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_put<>::_M_insert):
	Fix warning regression.

2004-03-03  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_put<>::_M_insert):
	Deal properly with empty __digits and negative frac_digits,
	clean-up a bit.

2004-03-03  Jonathan Wakely  <redi@@gcc.gnu.org>

	* docs/html/documentation.html: Regenerate.

2004-03-02  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14320
	* include/bits/postypes.h (class streamoff): Remove, now
	streamoff is just typedef a 64 bit signed integer type.
	(class fpos): Tweak consistently.
	* testsuite/27_io/fpos/14320-1.cc: New.
	* testsuite/27_io/fpos/14320-2.cc: New.
	* testsuite/27_io/fpos/14320-3.cc: New.
	* testsuite/27_io/fpos/14320-4.cc: New.
	* testsuite/27_io/fpos/14320-5.cc: New.
	* testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now.

2004-03-02  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Reorganize a bit the main parsing loop, thus early detecting
	an empty value component.
	* testsuite/22_locale/money_get/get/char/16.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/16.cc: New.

2004-03-02  Benjamin Kosnik  <bkoz@@redhat.com>

	Support automake 1.8.2
	* configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
	* po/Makefile.am (EXTRA_DIST): New.
	* po/Makefile.in: Regenerate.
	* Makefile.in: Same.
	* include/Makefile.in: Same.
	* libmath/Makefile.in: Same.
	* libsupc++/Makefile.in: Same.
	* src/Makefile.in: Same.
	* testsuite/Makefile.in: Same.
d1334 2
a1335 7
	* include/Makefile.am (${host_builddir}/gthr-posix.h): Use
	__GXX_WEAK__ instead of SUPPORTS_WEAK.
	(${host_builddir}/gthr-default.h): Same.
	(${host_builddir}/gthr.h): Same.
	* acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove
	_GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via
	-fno-weak.
d1337 12
a1348 3
	* acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK.
	* config.h.in: Regenerate.
	* configure: Same.
d1350 1
a1350 1
2004-03-01  Benjamin Kosnik  <bkoz@@redhat.com>
d1352 86
a1437 2
	Support autoconf 2.59
	* acinclude.m4: Quote correctly.
d1439 131
a1569 1
	* linkage.m4: Same.
d1571 1
a1571 1
2004-03-01  Benjamin Kosnik  <bkoz@@redhat.com>
d1573 29
a1601 1
	* docs/html/test.html: Add multilib RUNTESTFLAGS example.
d1603 2
a1604 2
	* docs/html/18_support/howto.html: Add bit about writing to
	stderr, mostly by Zack.
d1606 3
a1608 1
2004-03-01  Paolo Carlini  <pcarlini@@suse.de>
d1610 1
a1610 2
	* include/bits/locale_facets.tcc (money_get<>::_M_extract,
	money_get<>::do_get(string_type&)): ... and two more.
d1612 4
a1615 1
2004-03-01  Paolo Carlini  <pcarlini@@suse.de>
d1617 1
a1617 3
	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Fix thinkos in the switch from string_type& to string& as last
	argument.
d1619 3
a1621 1
2004-03-01  Paolo Carlini  <pcarlini@@suse.de>
d1623 2
a1624 5
	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
	Also when parsing exponent sign, first look for thousands_sep
	and decimal_point; tweak a bit.
	* testsuite/22_locale/num_get/get/char/15.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/15.cc: New.
d1626 3
a1628 2
	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
	num_get<>::_M_extract_int): Reorder some conditionals.
d1630 1
a1630 1
2004-03-01  Paolo Carlini  <pcarlini@@suse.de>
d1632 9
a1640 5
	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Consistently with numpunct, enforce the requirements in
	22.2.6.3, p3 for the thousands separators; tweak a bit.
	* testsuite/22_locale/money_get/get/char/15.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/15.cc: New.
d1642 1
a1642 1
2004-03-01  David Billinghurst <David.Billinghurst@@riotinto.com>
d1644 6
a1649 3
	* testsuite/lib/libstdc++.exp (v3-list-tests): Use
	testsuite_files from correct multilib blddir when running
	testsuite.
d1651 1
a1651 1
2004-02-29  Phil Edwards  <phil@@codesourcery.com>
d1653 12
a1664 3
	* testsuite/Makefile.am (check-abi, check-abi-verbose):  Copy
	the summary file to the logfile.
	* testsuite/Makefile.in:  Regenerate.
d1666 4
a1669 1
2004-02-28  John David Anglin  <dave.anglin@@nrc-cnrc.gc.ca>
d1671 1
a1671 147
	* config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
	volatile.
	* config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
	__GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.

2004-02-28  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
	According to 22.2.3.1, p2, 'units' may be followed by 'e' with
	no 'decimal-point' in the middle: in this case too we must fix
	up __found_grouping; slightly tweak.
	* testsuite/22_locale/num_get/get/char/14.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/14.cc: New.

2004-02-27  Eric Christopher  <echristo@@redhat.com>
	    Phil Edwards  <phil@@codesourcery.com>

	* testsuite/22_locale/collate/compare/wchar_t/2.cc,
	testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
	testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
	testsuite/22_locale/collate/hash/wchar_t/2.cc,
	testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
	testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
	testsuite/22_locale/collate/transform/wchar_t/2.cc,
	testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
	testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
	Use dg-require-iconv.
	* testsuite/lib/libstdc++.exp:  Load target-supports.exp.

2004-02-27  Phil Edwards  <phil@@codesourcery.com>
	    Eric Christopher  <echristo@@redhat.com>

	* testsuite/config/default.exp:  Update with comments.
	(${tool}_target_compile):  New wrapper routine.
	* testsuite/lib/dg-options.exp:  New file, with dg-require-iconv.
	* testsuite/lib/libstdc++.exp:  Update with comments and cosmetic
	fixes.
	(load_gcc_lib, v3track):  New routines.
	(v3-init):  Rename to libstdc++_init.
	* testsuite/libstdc++-dg/normal.exp:  No longer call v3-init.
	Move DEFAULT_CXXFLAGS handling into libstdc++_init.

2004-02-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* config/cpu/hppa/atomicity.h: Include c++config.h to get defines.

	* src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.

	* config/os/irix/irix5.2/atomicity.h: Merge..
	* config/os/irix/irix6.5/atomicity.h: Merge..
	* config/os/irix/atomicity.h: ...into this.
	* config/os/irix/atomic_word.h: New.
	* configure.host: Set atomic_word_dir for irix.

	* hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
	* i386/atomicity.h: Same.
	* m68k/atomicity.h: Same.
	* sparc/atomicity.h: Same.

2004-02-27  David Edelsohn  <edelsohn@@gnu.org>

	* config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
	static, and inline keywords.

2004-02-27  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
	num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
	call reserve on the __tmp_gruping string.
	(num_get<>::_M_extract_float): Don't append unnecessarily a
	char() to the returned string.
	* include/bits/locale_facets.tcc: Trivial reformattings.

2004-02-27  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.h (money_get<>::_M_extract):
	Change signature: now takes a plain string&.
	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Update consistently the definition; use the moneypunct cache
	to parse the value; use swap to change __units.
	(money_get<>::do_get(long double&)): Update call of _M_extract,
	avoid ctype::narrow, not correct wrt the standard.
	(money_get<>::do_get(string_type&)): Likewise, update call
	of _M_extract, use ctype::widen.
	* src/locale-inst.cc: Tweak instantiations of _M_extract.

2004-02-26  Ian Lance Taylor  <ian@@wasabisystems.com>

	* testsuite/demangle/abi_examples/01.cc: Expect error -2.
	* testsuite/demangle/abi_examples/02.cc: Likewise.
	* testsuite/demangle/regression/cw-11.cc: Likewise.
	* testsuite/demangle/regression/cw-16.cc: Change two expected
	results to match libiberty demangler output.

2004-02-26  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/10246
	* libsupc++/Makefile.am: Use libiberty demangler.
	(c_sources): Add cp-demangle.c.
	* libsupc++/Makefile.in: Regenerate.
	* src/Makefile.am (sources): Remove demangle.cc.
	* src/Makefile.in: Regenerate.
	* include/Makefile.am (bits_headers): Move demangle.h.
	(ext_headers): ...here.
	* include/Makefile.in: Regenerate.
	* include/bits/demangle.h: Move...
	* include/ext/demangle.h: ...here.
	* src/demangle.cc: Remove.

2004-02-26  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/demangle.h: Add type template parameter to all
	templates with just an Allocator template parameter.

2004-02-25  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/bits/atomicity.h: New, forward declarations for __atomic_add
	and __exchange_and_add.
	* config/cpu/generic/atomic_word.h: New, typdef for atomic word.
	* config/cpu/cris/atomic_word.h: Same.
	* config/cpu/sparc/atomic_word.h: Same.
	* include/bits/ios_base.h (_Callback_list::_M_remove_reference):
	Qualifiy with __gnu_cxx.
	(_Callback_list::_M_add_reference): Same.
	* include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
	(locale::facet::_M_remove_reference): Same.
	(locale::_Impl::_M_add_reference): Add.
	(locale::_Impl::_M_remove_reference): Same.
	* include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
	(basic_string::_Rep::_M_dispose): Same.
	* src/ios.cc (ios_base::xalloc): Same.
	* src/ios_init.cc (ios_base::Init::Init): Same.
	(ios_base::Init::~Init): Same.
	* src/locale.cc (locale::id::_M_id): Same.
	* config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
	static, and inline keywords.
	* config/cpu/alpha/atomicity.h: Same.
	* config/cpu/cris/atomicity.h: Same.
	* config/cpu/generic/atomicity.h: Same.
	* config/cpu/hppa/atomicity.h: Same.
	* config/cpu/i386/atomicity.h: Same.
	* config/cpu/ia64/atomicity.h: Same.
	* config/cpu/m68k/atomicity.h: Same.
	* config/cpu/mips/atomicity.h: Same.
	* config/cpu/powerpc/atomicity.h: Same.
	* config/cpu/s390/atomicity.h: Same.
	* config/cpu/sparc/atomicity.h: Same.
d1673 1
a1673 301
	* src/Makefile.am (host_sources): Add atomicity.cc.
	(atomicity.cc): New rule.
	* src/Makefile.in: Regenerate.
	* include/Makefile.am (host_headers): Remove host atomicity.h.
	(host_headers): Add atomic_word.h.
	(bits_headers): Add bits atomicity.h.
	Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
	* include/Makefile.in: Regenerate.
	* configure.host (atomic_word_dir): Add.
	* configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
	ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
	* configure: Regenerate.
	* config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.

	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

2004-02-25  Jonathan Wakely  <redi@@gcc.gnu.org>

	* docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
	docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
	Fix markup, more <link> tags.

2004-02-25  Carlo Wood  <carlo@@alinoe.com>

	* bits/demangle.h
	namespace __gnu_cxx::demangler
	(session<Allocator>::qualifier_list_Allocator): Add
	(session<Allocator>::M_qualifier_list_alloc): Add
	(session<Allocator>::decode_type_with_postfix):
	Use M_qualifier_list_alloc instead of calling operator new/delete.

2004-02-24  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14252
	* include/bits/postypes.h (class streamoff): Add operator++(),
	operator++(int), operator--() and operator--(int).
	* testsuite/27_io/fpos/14252.cc: New.

2004-02-24  Richard Sandiford  <rsandifo@@redhat.com>

	* include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
	error in handling of hex constants.

2004-02-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_put<>::_M_insert):
	Prefer basic_string::append to operator+= and a temporary.

2004-02-23  Benjamin Kosnik  <bkoz@@redhat.com>

	* libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
	Only use fputs, not write.

2004-02-23  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/ext/malloc_allocator.h: Add operators ==, !=.
	* include/ext/new_allocator.h: Add operators ==, !=.
	* include/ext/mt_allocator.h (__mt_alloc::tune): New.
	(__mt_alloc::_S_get_options): New.
	(__mt_alloc::_S_set_options): New.
	(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
	(__mt_alloc::_S_no_of_bins): To _S_bin_size.
	Move functions out of line, simplify, format.
	* src/allocator.cc: Simplify explicit instantiations.
	* include/bits/allocator.h: Tweak.

2004-02-22  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_put<>::_M_insert):
	Restructure formatting of value component, first dealing with
	the non-decimal digits; use reserve.

2004-02-22  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.h (class money_get): Inherit
	from money_base too; tweak declaration of _M_extract, now
	parameterized on _Intl too.
	* include/bits/locale_facets.tcc (money_get<>::_M_extract):
	Update definition to use the cache; call reserve on __res to
	avoid multiple reallocations; fix parsing of sign component
	according to 22.2.6.1.2, p3.
	(money_get<>::do_get(long double&),
	money_get<>::do_get(string_type&)): Update calls of _M_extract.
	* src/locale-inst.cc:  Add instantiations of
	money_get::_M_extract<false> and money_get::_M_extract<true>.
	* testsuite/22_locale/money_get/get/char/14.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.

2004-02-21  Mark Mitchell  <mark@@codesourcery.com>

	* libsupc++/vterminate.cc
	(__gnu_cxx::__verbose_terminate_handler): Guard against recursive
	calls to terminate.
	* src/demangle.cc (__cxa_demangle): Wrap in try-catch block.

	* testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
	not set RLIMIT_AS on HP-UX.

2004-02-21  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
	not set RLIMIT_AS on HP-UX.

2004-02-21  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.h (class money_base): Add { _S_minus,
	_S_zero, _S_end } enum, _S_atoms.
	(struct __moneypunct_cache<>): Parameterize on _Intl too; add
	_M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
	_M_negative_sign_size, _M_atoms; tweak constructor consistently.
	(__moneypunct_cache<>::~__moneypunct_cache): Update.
	(__moneypunct_cache<>::_M_cache): Fill the cache.
	(class moneypunct): Tweak __cache_type typedef.
	(class money_put): Inherit from money_base too; tweak declaration
	of _M_insert, now parameterized on _Intl.
	* include/bits/locale_facets.tcc
	(struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
	(money_put<>::_M_insert): Update definition to use the cache;
	call reserve on __res to avoid multiple reallocations.
	(money_put<>::do_put(long double),
	money_put<>::do_put(const string_type&): Update calls of _M_insert.
	* config/locale/generic/monetary_members.cc
	(moneypunct<char, true>::_M_initialize_moneypunct,
	moneypunct<char, false>::_M_initialize_moneypunct,
	moneypunct<wchar_t, true>::_M_initialize_moneypunct,
	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
	* config/locale/gnu/monetary_members.cc: Likewise.
	* config/locale/gnu/monetary_members.cc
	(moneypunct<wchar_t, true>::~moneypunct(),
	moneypunct<wchar_t, false>::~moneypunct()): Likewise.
	* src/globals_locale.cc: Tweak fake_money_cache_c.
	* src/locale-inst.cc: Add instantiations for
	money_put::_M_insert<false> and money_put::_M_insert<true> and
	__moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
	* src/locale_facets.cc: Define money_base::_S_atoms.
	* src/locale_init.cc: Update placement new of
	__moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
	__moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.

	* config/locale/generic/numeric_members.cc: Clean up.
	* config/locale/gnu/numeric_members.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.

2004-02-20  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
	FIFO for writing with ios_base::in|ios_base::out.
	* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
	* testsuite/27_io/objects/char/7.cc: Likewise.
	* testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
	with "r+".

2004-02-19  David Edelsohn  <edelsohn@@gnu.org>

	* 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
	from iso-8859-1 to ISO8859-1.
	* 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
	* 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
	* 22_locale/collate/hash/wchar_t/2.cc: Same.
	* 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
	* 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
	* 22_locale/collate/transform/wchar_t/2.cc: Same.
	* 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
	* 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.

2004-02-18  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.h (money_get<>::_M_extract):
	New, helper for do_get.
	(money_put<>::_M_insert): Likewise, for do_put.
	* include/bits/locale_facets.tcc (money_get<>::_M_extract,
	money_put<>::_M_insert): Define.
	(money_get<>::do_get(long double&), money_get<>::do_get(
	string_type&), money_put::do_put(long double),
	money_put::do_put(const string_type&)): Use the helpers.

2004-02-18  Paolo Carlini  <pcarlini@@suse.de>

	* config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
	Rewrite, avoiding recursion.
	(__gnu_internal::xwrite): Minor tweaks.

2004-02-17  Stefan Olsson  <stefan@@xapa.se>

	* include/ext/mt_allocator.h: Removed the last
	pointer. Deallocated blocks are now added to the front of
	freelists as proposed by Felix Yen.  This gives roughly 10%
	performance boost and saves some memory.
	* docs/html/ext/mt_allocator.html: Change due to that deallocated
	blocks now are added to the front of freelists. The reason to this
	approach is also explained.

2004-02-17  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
	num_get<>::_M_extract_int, money_get<>::do_get): Simplify
	grouping fidelity conditional.

2004-02-16  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
	Qualify exception with std::.
	* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
	* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.

2004-02-16  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/ext/enc_filebuf/char/13189.cc: Don't check
	for now that the catch block is not reached.
	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.

2004-02-16  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
	Fix parsing of the remaining sign characters.
	* 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
	the input is scanned 'til eof.
	* 22_locale/money_get/get/char/4.cc: Likewise.
	* 22_locale/money_get/get/wchar_t/2.cc: Likewise.
	* 22_locale/money_get/get/wchar_t/4.cc: Likewise.
	* 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
	not do_pos_format: the former is the only one that matters during
	input.
	* 22_locale/money_get/get/wchar_t/8.cc: Likewise.

	* 22_locale/money_get/get/char/6.cc: Minor tweak.
	* 22_locale/money_get/get/wchar_t/6.cc: Likewise.

2004-02-15  David Asher  <david.asher@@cavium.com>

	PR libstdc++/11352
	* include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
	access __olds beyond __oldlen.

2004-02-14  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
	sure the exception is actually thrown.
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
	* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.

2004-02-14  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/13858
	* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
	In case of conversion errors, throw ios_failure; simplify.
	* testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
	* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
	previously we didn't throw in case of conversion errors, instead
	just returned eof().
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
	* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.

	* include/bits/fstream.tcc (basic_filebuf<>::overflow):
	Trivial simplification of a conditional.

2004-02-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/13731 (final part: writev)
	* config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
	New, a wrapper around writev() handling partial writes.
	(__basic_file<char>::xwrite): Move to __gnu_internal and make
	static.
	(__basic_file<char>::xsputn): Update call.
	(__basic_file<char>::xsputn_2): Likewise.
	* config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
	Don't declare, now static.

2004-02-11  Stefan Olsson  <stefan@@xapa.se>

	* docs/html/ext/mt_allocator.html: New.

2004-02-11  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/20_util/allocator.html: New file, consolidate
	allocator information here. Revamp.
	* docs/html/documentation.html: Change links.
	* docs/html/20_util/howto.html: Same.
	* docs/html/ext/howto.html: Same.

2004-02-11  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/13731 (first part: write)
	* config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
	New, declare.
	* config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
	Define it: a wrapper around write() handling partial write.
	(__basic_file<char>::xsputn): Use it.
	(__basic_file<char>::xsputn_2): Likewise.
d1675 1
a1675 2
2004-02-11  Paolo Carlini  <pcarlini@@suse.de>
	    Petur Runolfsson  <peturr02@@ru.is>
d1677 2
a1678 8
	PR libstdc++/14078
	* include/std/std_istream.h (operator>>(__istream_type& (*)
	(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
	operator>>(ios_base& (*)(ios_base&))): Declare inline.
	* include/std/std_ostream.h (operator<<(__ostream_type& (*)
	(__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
	operator<<(ios_base& (*) (ios_base&))): Likewise.
	* testsuite/performance/27_io/fmtflags_manipulators.cc: New.
d1680 1
a1680 1
2004-02-10  Loren J. Rittle  <ljrittle@@acm.org>
d1682 4
a1685 3
	PR libstdc++/14098
	* config/linker-map.gnu: Add typeinfo and typeinfo name for
	__gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
d1687 1
a1687 3
	PR libstdc++/14097
	* config/linker-map.gnu: Add typeinfo and typeinfo name for
	__gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
d1689 2
a1690 1
2004-02-09  Loren J. Rittle  <ljrittle@@acm.org>
d1692 1
a1692 1
	* include/ext/pool_allocator.h: Include c++config.h.
d1694 7
a1700 1
2004-02-09  Stefan Olsson  <stefan@@xapa.se>
d1702 2
a1703 4
	* include/ext/mt_allocator.h: thread_id is unused in non threaded
	applications and now has a ifdef to remove it completely on
	compilers without thread support. Include stdlib.h due to a
	compiler warning on getenv().
d1705 1
a1705 1
2004-02-09  Paul Brook  <paul@@codesourcery.com>
d1707 8
a1714 1
	* libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
d1716 2
a1717 1
2004-02-09  Paolo Carlini  <pcarlini@@suse.de>
d1719 4
a1722 4
	PR libstdc++/14071
	* src/locale_init.cc (locale::global(const locale&)): Use
	locale::name() in order to decide whether calling setlocale.
	* testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
d1724 1
a1724 2
	* include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
	Avoid computing &= unnecessarily.
d1726 4
a1729 1
2004-02-09  James E Wilson  <wilson@@specifixinc.com>
d1731 1
a1731 3
	PR libstdc++/5625
	* libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
	__builtin_extend_pointer.
d1733 1
a1733 1
2004-02-09  Paolo Carlini  <pcarlini@@suse.de>
d1735 1
a1735 6
	PR libstdc++/14072
	* include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
	Don't leave dangling pointers.
	* testsuite/27_io/basic_ios/imbue/14072.cc: New.
	* testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
	facet is needed in the final test.
d1737 5
a1741 1
2004-02-09  Bernardo Innocenti  <bernie@@develer.com>
d1743 1
a1743 2
	* crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
	* configure: Regenerate.
d1745 4
a1748 1
2004-02-08  Richard Henderson  <rth@@redhat.com>
d1750 1
a1750 4
	PR libstdc++/14026
	* libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
	uncaughtExceptions during nested catch rethrow.
	* testsuite/18_support/14026.cc: New.
d1752 3
a1754 1
2004-02-08  Paolo Carlini  <pcarlini@@suse.de>
d1756 2
a1757 3
	* include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
	When working in place remember to set the state to sharable
	(otherwise, _M_mutate does it).
d1759 9
a1767 1
2004-02-08  Bernardo Innocenti  <bernie@@develer.com>
d1769 1
a1769 69
	* include/bits/allocator.h, include/bits/basic_ios.h,
	include/bits/basic_ios.tcc, include/bits/basic_string.h,
	include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
	include/bits/char_traits.h, include/bits/codecvt.h,
	include/bits/concurrence.h, include/bits/cpp_type_traits.h,
	include/bits/demangle.h, include/bits/deque.tcc,
	include/bits/fstream.tcc, include/bits/functexcept.h,
	include/bits/gslice.h, include/bits/gslice_array.h,
	include/bits/indirect_array.h, include/bits/ios_base.h,
	include/bits/istream.tcc, include/bits/list.tcc,
	include/bits/locale_classes.h, include/bits/locale_facets.h,
	include/bits/locale_facets.tcc, include/bits/localefwd.h,
	include/bits/mask_array.h, include/bits/ostream.tcc,
	include/bits/postypes.h, include/bits/slice_array.h,
	include/bits/sstream.tcc, include/bits/stl_algo.h,
	include/bits/stl_algobase.h, include/bits/stl_bvector.h,
	include/bits/stl_construct.h, include/bits/stl_deque.h,
	include/bits/stl_function.h, include/bits/stl_heap.h,
	include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
	include/bits/stl_list.h, include/bits/stl_map.h,
	include/bits/stl_multimap.h, include/bits/stl_multiset.h,
	include/bits/stl_numeric.h, include/bits/stl_pair.h,
	include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
	include/bits/stl_relops.h, include/bits/stl_set.h,
	include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
	include/bits/stl_threads.h, include/bits/stl_tree.h,
	include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
	include/bits/stream_iterator.h, include/bits/streambuf.tcc,
	include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
	include/bits/type_traits.h, include/bits/valarray_after.h,
	include/bits/valarray_array.h, include/bits/valarray_array.tcc,
	include/bits/valarray_before.h, include/bits/vector.tcc: Remove
	trailing whitespace.

2004-02-06  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h: Fix comment.

2004-02-06  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_construct.h: Wrap overlong lines, reformat
	according to the coding standards.
	* include/bits/stl_pair.h: Likewise.
	* include/bits/stl_raw_storage_iter.h: Likewise.
	* include/bits/stl_stack.h: Likewise.
	* include/bits/stl_uninitialized.h: Likewise.
	* include/bits/stream_iterator.h: Likewise.
	* include/bits/streambuf_iterator.h: Likewise.
	* include/bits/type_traits.h: Likewise.

2004-02-06  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_filebuf/open/char/9507.cc:
	Adjust timings.

2004-02-05  Loren J. Rittle  <ljrittle@@acm.org>

	* scripts/check_performance: Support PCH.

	* scripts/check_performance (CXX): Add -DNOTHREAD.
	* testsuite/performance/20_util/allocator/insert.cc: Integrate
	threaded tests from insert_insert.cc.  Tweak iterations,
	remove special cases.
	* testsuite/performance/20_util/allocator/insert_insert.cc:
	Make all tests single-threaded. Tweak iterations.
	* testsuite/performance/20_util/allocator/map_thread.cc:
	Tweak iterations.
	* testsuite/performance/20_util/allocator/producer_consumer.cc:
	Likewise.
d1771 1
a1771 1
2004-02-05  Geoffrey Keating  <geoffk@@apple.com>
d1773 14
a1786 4
	PR 12179
	* .cvsignore: New.
	* acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
	'gcc-lib'.  Add comment about poorly-named variables.
d1788 1
d1791 1
a1791 1
2004-02-05  Paolo Carlini  <pcarlini@@suse.de>
d1793 6
a1798 7
	* include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
	Thousands-sep are always optional; thousands-sep are not allowed
	after the decimal_point.
	* testsuite/22_locale/money_get/get/char/12.cc: New.
	* testsuite/22_locale/money_get/get/char/13.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
d1800 1
a1800 8
	* testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
	* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
	* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
	* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
	* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
d1802 2
a1803 3
	* testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
	the standard.
	* testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
d1805 1
a1805 1
2004-02-05  Richard Sandiford  <rsandifo@@redhat.com>
d1807 5
a1811 4
	* config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
	Define.
	* config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
	it to decide whether FIONREAD should take an off_t or int argument.
d1813 1
a1813 1
2004-02-05  Paolo Carlini  <pcarlini@@suse.de>
d1815 1
a1815 1
	* include/bits/stl_function.h: Minor formatting changes.
d1817 1
a1817 1
2004-02-04  Zack Weinberg  <zack@@codesourcery.com>
d1819 2
a1820 1
	Revert previous change to config/abi/*/baseline_symbols.txt.
d1822 1
a1822 2
2004-02-04  Benjamin Kosnik  <bkoz@@redhat.com>
	    Zack Weinberg  <zack@@codesourcery.com>
d1824 1
a1824 5
	* config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
	New function.
	(__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
	(__basic_file<char>::_M_open_mode): Delete.
	* config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
d1826 1
a1826 3
	* testsuite/27_io/basic_filebuf/close/char/9964.cc
	* testsuite/27_io/basic_filebuf/open/char/9507.cc:
	Correct flags to filebuf::open calls.
d1828 7
a1834 12
	* config/abi/alpha-freebsd5/baseline_symbols.txt
	* config/abi/alpha-linux-gnu/baseline_symbols.txt
	* config/abi/hppa-linux-gnu/baseline_symbols.txt
	* config/abi/i386-freebsd4/baseline_symbols.txt
	* config/abi/i386-freebsd5/baseline_symbols.txt
	* config/abi/i486-linux-gnu/baseline_symbols.txt
	* config/abi/ia64-linux-gnu/baseline_symbols.txt
	* config/abi/mips-linux-gnu/baseline_symbols.txt
	* config/abi/sparc-freebsd5/baseline_symbols.txt
	* config/abi/sparc-linux-gnu/baseline_symbols.txt
	* config/abi/x86_64-linux-gnu/baseline_symbols.txt:
	Remove entry for __basic_file<char>::_M_open_mode.
d1836 1
a1836 1
2004-02-04  Loren J. Rittle  <ljrittle@@acm.org>
d1838 10
a1847 1
	* testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
d1849 2
a1850 1
2004-02-04  Felix Yen  <fwy@@alumni.brown.edu>
d1852 2
a1853 2
	* testsuite/performance/20_util/producer_consumer.cc: New.
	* testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
d1855 1
a1855 1
2004-02-04  Benjamin Kosnik  <bkoz@@redhat.com>
d1857 86
a1942 6
	* testsuite/performance/20_util/allocator.cc: Move to..
	* testsuite/performance/20_util/allocator/insert.cc: ...here.
	* testsuite/performance/20_util/allocator_thread.cc: Move to...
	* testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
	* testsuite/performance/20_util/allocator_map_thread.cc: Move to...
	* testsuite/performance/20_util/allocator/map_thread.cc: ...here.
d1944 1
a1944 1
2004-02-04  Jonathan Wakely  <redi@@gcc.gnu.org>
d1946 3
a1948 2
	* docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
	* docs/html/faq/index.txt: Regenerate.
d1950 1
a1950 1
2004-02-04  Dhruv Matani  <dhruvbird@@gmx.net>
d1952 4
a1955 4
	* include/ext/debug_allocator.h: _M_extra now stands for the
	number of extra objects instead of the number of extra bytes.
	(debug_allocator::allocate): Adjust.
	(debug_allocator::deallocate): Adjust.
d1957 1
a1957 1
	* include/ext/pool_allocator.h: Fix typo.
d1959 4
a1962 2
2004-02-03  Felix Yen  <fwy@@alumni.brown.edu>
	    Benjamin Kosnik  <bkoz@@redhat.com>
d1964 1
a1964 62
	* testsuite/performance/20_util/allocator.cc: Add map,
	deque, set tests.
	* testsuite/performance/20_util/allocator_thread.cc: Same.

2004-02-03  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (insert(iterator)): Remove,
	non-standard and already scheduled for removal.

2004-02-03  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_iterator_base_funcs.h: Minor formatting
	and indentation tweaks.
	* include/bits/stl_iterator_base_types.h: Likewise.
	* include/bits/stl_list.h: Likewise.
	* include/bits/stl_map.h: Likewise.
	* include/bits/stl_tempbuf.h: Likewise.

2004-02-02  Jerry Quinn  <jlquinn@@optonline.net>

	* include/bits/gslice.h, include/bits/gslice_array.h,
	include/bits/indirect_array.h, include/bits/mask_array.h,
	include/bits/slice_array.h, include/bits/stl_numeric.h,
	include/std/std_valarray.h:  Update copyright years.

2004-02-02  Jerry Quinn  <jlquinn@@optonline.net>

	* include/bits/gslice.h (gslice):  Document.
	* include/bits/gslice_array.h (gslice_array):  Document.
	* include/bits/indirect_array (indirect_array):  Document.
	* include/bits/mask_array (mask_array):  Document.
	* include/bits/slice_array.h (slice,slice_array):  Document.
	* include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
	adjacent_difference):  Document
	* include/std/std_valarray.h (valarray):  Document.

2004-02-02  Benjamin Kosnik  <bkoz@@redhat.com>

	* docs/html/19_diagnostics/howto.html: Move verbose terminate
	documentation...
	* docs/html/18_support/howto.html: Here.
	* docs/html/documentation.html: Add reference here.

2004-02-02  Paolo Carlini  <pcarlini@@suse.de>

	* config/locale/gnu/c++locale_internal.h: Remove prototypes
	of no longer used GLIBC thread locale functions.

2004-02-02  Eric Christopher  <echristo@@redhat.com>
	    Zack Weinberg  <zack@@codesourcery.com>

	* testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
	-finput-charset.
	* testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
	* testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
	* testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
	* testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
	* testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
	* testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
	* testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
	* testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
	Ditto.
d1966 6
a1971 1
2004-02-02  Paolo Carlini  <pcarlini@@suse.de>
d1973 1
a1973 2
	* include/bits/stl_function.h: Additional minor tweaks.
	* include/bits/stl_multiset.h: Likewise.
d1975 74
a2048 1
	* include/bits/stl_queue.h: Minor tweaks.
d2050 2
a2051 1
2004-02-02  Paolo Carlini  <pcarlini@@suse.de>
d2053 2
a2054 5
	PR libstdc++/13976 (continued)
	* include/ext/malloc_allocator.h (malloc_allocator::deallocate):
	Make the second parameter unnamed, to void unused parameter
	warnings.
	* include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
d2056 1
a2056 1
2004-02-02  Paolo Carlini  <pcarlini@@suse.de>
d2058 11
a2068 6
	PR libstdc++/13976
	* include/ext/malloc_allocator.h (malloc_allocator::allocate):
	Make the second parameter unnamed, to void unused parameter
	warnings.
	* include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
	* include/ext/new_allocator.h (new_allocator::allocate): Ditto.
d2070 1
a2070 1
2004-02-01  Paolo Carlini  <pcarlini@@suse.de>
d2072 1
a2072 6
	* include/bits/stl_algo.h: Additional minor tweaks.
	* include/bits/stl_map.h: Likewise.
	* include/bits/stl_multimap.h: Likewise.
	* include/bits/stl_multiset.h: Likewise.
	* include/bits/stl_set.h: Likewise.
	* include/bits/stl_tree.h: Likewise.
d2074 2
a2075 1
2004-02-01  Paolo Carlini  <pcarlini@@suse.de>
d2077 1
a2077 2
	* include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
	Remove, unused.
d2079 4
a2082 1
2004-02-01  Paolo Carlini  <pcarlini@@suse.de>
d2084 1
a2084 1
	* include/bits/stl_function.h: Additional minor tweaks.
d2086 1
a2086 1
2004-02-01  Paolo Carlini  <pcarlini@@suse.de>
d2088 1
a2088 14
	* include/bits/deque.tcc: Wrap overlong lines, constify
	a few variables, reformat according to the coding standards.
	* include/bits/list.tcc: Likewise.
	* include/bits/stl_deque.h: Likewise.
	* include/bits/stl_function.h: Likewise.
	* include/bits/stl_iterator.h: Likewise.
	* include/bits/stl_iterator_base_funcs.h: Likewise.
	* include/bits/stl_iterator_base_types.h: Likewise.
	* include/bits/stl_list.h: Likewise.
	* include/bits/stl_map.h: Likewise.
	* include/bits/stl_multimap.h: Likewise.
	* include/bits/stl_multiset.h: Likewise.
	* include/bits/stl_relops.h: Likewise.
	* include/bits/stl_set.h: Likewise.
d2090 6
a2095 1
2004-02-01  Paolo Carlini  <pcarlini@@suse.de>
d2097 1
a2097 3
	* include/bits/stl_bvector.h: Wrap overlong lines, constify
	a few variables, reformat according to the coding standards.
	* include/bits/stl_tree.h: Likewise.
d2099 7
a2105 1
2004-01-31  Paolo Carlini  <pcarlini@@suse.de>
d2107 1
a2107 3
	* include/bits/stl_algo.h: Minor additional reformat, add
	copyright year.
	* include/bits/stl_algobase.h: Add copyright year.
d2109 4
a2112 1
2004-01-31  Paolo Carlini  <pcarlini@@suse.de>
d2114 1
a2114 4
	* include/bits/stl_algo.h: Wrap overlong lines, constify
	a few variables, reformat according to the coding standards.
	* include/bits/stl_algobase.h: Likewise.
	* include/bits/stl_heap.h: Likewise.
d2116 2
a2117 1
2004-01-31  Paolo Carlini  <pcarlini@@suse.de>
d2119 2
a2120 1
	* include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
d2122 1
a2122 1
	* include/bits/basic_string.h: Fix two comments.
d2124 1
a2124 1
2004-01-31  Per Bothner  <per@@bothner.com>
d2126 1
a2126 3
	* include/ext/mt_allocator.h
	(__mt_alloc::_S_thread_freelist_mutex): Guard with
	__GTHREAD_MUTEX_INIT.
d2128 10
a2137 1
2004-01-31  Paolo Carlini  <pcarlini@@suse.de>
d2139 2
a2140 1
	* include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
d2142 1
a2142 1
2004-01-30  Paolo Carlini  <pcarlini@@suse.de>
d2144 7
a2150 3
	* testsuite/21_strings/basic_string/cons/char/6.cc: New.
	* testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
	* testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
d2152 1
a2152 1
2004-01-30  Felix Yen  <fwy@@alumni.brown.edu>
d2154 3
a2156 2
	* testsuite/performance/20_util/allocator_thread.cc (do_loop):
	Don't use clear, but instead assign. Use insert.
d2158 1
a2158 1
2004-01-30  Benjamin Kosnik  <bkoz@@redhat.com>
d2160 2
a2161 3
	* src/demangle.cc: Add instantiations.
	* src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
	* src/Makefile.in: Regenerate.
d2163 1
a2163 1
2004-01-30  David Edelsohn  <edelsohn@@gnu.org>
d2165 4
a2168 2
	* src/allocator.cc: Protect _S_get_thread_id() and
	_S_thread_key_destr() with #ifdef __GTHREADS.
d2170 2
a2171 1
2004-01-30  Paolo Carlini  <pcarlini@@suse.de>
d2173 103
a2275 75
	Reshuffle performance testsuite.
	* testsuite/performance/allocator.cc, allocator_map_thread.cc,
	allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
	cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
	fstream_seek_write.cc, ifstream_extract_float.cc,
	ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
	list_create_fill_sort.cc, map_create_fill.cc,
	narrow_widen_char.cc, narrow_widen_wchar_t.cc,
	ofstream_insert_float.cc, ofstream_insert_int.cc,
	string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
	wchar_t_out.cc: Split into...
	* testsuite/performance/20_util/allocator.cc: New.
	* testsuite/performance/20_util/allocator_map_thread.cc: New.
	* testsuite/performance/20_util/allocator_thread.cc: New.
	* testsuite/performance/21_strings/string_append: New.
	* testsuite/performance/22_locale/is_wchar_t.cc: New.
	* testsuite/performance/22_locale/narrow_widen_char.cc: New.
	* testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
	* testsuite/performance/22_locale/wchar_t_in.cc: New.
	* testsuite/performance/22_locale/wchar_t_length.cc: New.
	* testsuite/performance/22_locale/wchar_t_out.cc: New.
	* testsuite/performance/23_containers/container_benchmark.cc: New.
	* testsuite/performance/23_containers/list_create_fill_sort.cc: New.
	* testsuite/performance/23_containers/map_create_fill.cc: New.
	* testsuite/performance/26_numerics/complex_norm.cc: New.
	* testsuite/performance/27_io/cout_insert_int.cc: New.
	* testsuite/performance/27_io/filebuf_copy.cc: New.
	* testsuite/performance/27_io/filebuf_sputc.cc: New.
	* testsuite/performance/27_io/fstream_seek_write.cc: New.
	* testsuite/performance/27_io/ifstream_extract_float.cc: New.
	* testsuite/performance/27_io/ifstream_extract_int.cc: New.
	* testsuite/performance/27_io/ifstream_getline.cc: New.
	* testsuite/performance/27_io/ofstream_insert_float.cc: New.
	* testsuite/performance/27_io/ofstream_insert_int.cc: New.

2004-01-30  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (_Rep::_S_create):
	Never allocate a string bigger than max_size(); always keep
	__capacity and __size in sync to avoid memory leaks at
	deallocation time.

2004-01-30  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (_S_construct(_InIterator,
	_InIterator, const _Alloc&, input_iterator_tag)): Simplify
	the double loop, streamline.

	* include/bits/basic_string.tcc: Very minor tweaks.

2004-01-30  Loren J. Rittle  <ljrittle@@acm.org>

	* scripts/check_performance: Only compile with $THREAD_FLAG
	when test is marked to require it.  Allow multiple
	compilations/executions of marked tests.
	* testsuite/testsuite_performance.h (report_performance):
	Report dynamic thread support status.
	(report_header): Likewise.
	* testsuite/performance/allocator.cc: Stabilize iteration
	count.  Support more allocators.  Mark each allocator test to
	run and report independently.
	* testsuite/performance/allocator_map_thread.cc: Likewise.
	* testsuite/performance/allocator_thread.cc: Likewise.

2004-01-29  Stephen M. Webb  <stephen.webb@@bregmasoft.com>

	* config/local/generic/c_locale.h: Change ::malloc() to new char[].
	* config/local/gnu/c_locale.h: Change ::malloc() to new char[].
	* include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
	std::get_temporary_buffer() instead of duplicating its code.
	Update to C++STYLE conventions.
	* include/std/std_memory.h (get_temporary_buffer): Use ::operator
	new() instead of std::malloc().
	(return_temporary_buffer): Use ::operator delete() instead of
	std::free().
d2277 1
a2277 1
2004-01-29  Benjamin Kosnik  <bkoz@@redhat.com>
d2279 2
a2280 2
	* include/bits/allocator.h: Temporary switch to new_allocator as
	the default to unjam bootstraps.
d2282 1
a2282 1
2004-01-28  Benjamin Kosnik  <bkoz@@redhat.com>
d2284 1
a2284 1
	* include/Makefile.am (bits_headers): Remove allocator_traits.h.
d2286 266
a2551 9
	* include/bits/allocator_traits.h: Remove.
	* include/bits/allocator.h: Remove allocator_traits.h include, and
	relevant comments.
	(allocator): Empty base class, inherit from the underlying allocator.
	* src/allocator-inst.cc: Move __pool_alloc instantiation to...
	* src/allocator.cc: ...here. New. For the underlying allocators.
	Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
	* config/linker-map.gnu: Remove __pool_alloc bits.
	* src/Makefile.am (sources): Add allocator.cc.
d2553 247
a2799 88
	* testsuite/20_util/allocator/1.cc: Split second test into...
	* testsuite/20_util/allocator/8230.cc: ...this.
	* include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
	typedef to use std::allocatore. Format.
	* include/ext/pool_allocator.h: Remove allocator_traits.h include,
	_Alloc_traits.
	* include/ext/mt_allocator.h (__gnu_cxx): Qualify
	__throw_bad_alloc calls. Don't include <memory>.
	* include/ext/malloc_allocator.h: Remove <memory> include.
	* include/ext/new_allocator.h (new_allocator): Same.
	* include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
	declaration. Switch __alloc to _Alloc.
	* include/ext/hashtable.h: Remove __alloc.
	* include/backward/alloc.h: Only inject allocator, not
	implementation details.

	* include/ext/mt_allocator.h: Replace free with delete.

2004-01-28  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/globals_io.cc: Change to __gnu_internal namespace.
	* src/globals_locale.cc: Same.
	* src/locale_init.cc: Same.
	* src/ios_init.cc: Same.

2004-01-28  Stefan Olsson  <stefan@@snon.net>

	* include/ext/mt_allocator.h: Replaced all malloc() calls with
	operator new(). Added support for the env variable
	GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
	one in allocate() as well). Fix typos.

2004-01-28  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (_S_create(size_t,
	const _Alloc&): Change signature to take two size_type
	arguments.
	* include/bits/basic_string.tcc (_S_construct(_InIterator,
	_InIterator, const _Alloc&, input_iterator_tag)): Update
	call, tweak a bit.
	(_S_construct(_InIterator, _InIterator, const _Alloc&,
	forward_iterator_tag)): Likewise.
	(_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
	(_M_mutate(size_type, size_type, size_type)): Don't
	implement the exponential growth policy, demand it to
	_S_create, update call and simplify.
	(_M_clone(const _Alloc&, size_type)): Likewise.
	(_S_create(size_type, size_type, const _Alloc&)): Implement
	the growth policy, simplify otherwise.

	* include/bits/basic_string.h (_Rep::operator[]): Tweak
	signature to take a size_type, consistently with the other
	members.

2004-01-27  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/27_io/ios_base/storage/11584.cc: Correct new and
	delete declarations, add include and test variable.

2003-01-27  Jerry Quinn  <jlquinn@@optonline.net>

	* include/bits/codecvt.h, include/bits/locale_facets.h,
	include/bits/postypes.h, include/bits/stl_bvector.h,
	include/bits/stl_multiset.h, include/bits/stl_set.h,
	include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
	include/std/std_complex.h:  Document.

2004-01-27  Jerry Quinn  <jlquinn@@optonline.net>

	PR libstdc++/11584
	* include/bits/ios_base.h (ios_base::_M_grow_words):  Add
	iword/pword selector.
	(ios_base::iword, ios_base::pword):  Use it.
	* src/ios.cc (ios_base::_M_grow_words):  Clear _M_word_zero
	iword or pword member on alloc failure.
	* testsuite/27_io/ios_base/storage/11584.cc:  New test.

2004-01-27  Ulrich Weigand  <uweigand@@de.ibm.com>
	    PJ Darcy  <darcypj@@us.ibm.com>

	* configure.host: Add support for *-tpf.
	* crossconfig.m4: Likewise.
	* configure: Regenerate.
	* config/os/tpf: New directory.
	* config/os/tpf/os_defines.h: New file.
	* config/os/tpf/ctype_base.h: Likewise.
	* config/os/tpf/ctype_inline.h: Likewise.
	* config/os/tpf/ctype_noninline.h: Likewise.
d2801 1
a2801 1
2004-01-27  Paolo Carlini  <pcarlini@@suse.de>
d2803 1
a2803 2
	PR libstdc++/13884
	* include/bits/sstream.tcc: Guard use of extern template.
d2805 81
a2885 1
2004-01-27  Paolo Carlini  <pcarlini@@suse.de>
d2887 6
a2892 11
	* include/bits/basic_string.tcc
	(basic_string(const basic_string&, size_type, size_type),
	basic_string(const basic_string&, size_type, size_type,
	const _Alloc&)): Avoid unnecessarily constructing iterators.

2004-01-26  Paolo Carlini  <pcarlini@@suse.de>

	* config/locale/generic/c_locale.cc: Fix throw messages
	to use the __N marker.
	* config/locale/gnu/c_locale.cc: Likewise.
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h:
a2893 9
	* docs/html/17_intro/C++STYLE: Likewise.
	* include/bits/basic_ios.tcc: Likewise.
	* include/bits/fstream.tcc: Likewise.
	* include/bits/vector.tcc: Likewise.
	* include/ext/ropeimpl.h: Likewise.
	* include/std/std_bitset.h: Likewise.
	* src/ios.cc: Likewise.
	* src/locale.cc: Likewise.
	* src/localename.cc: Likewise.
d2895 71
a2965 1
2004-01-26  Paolo Carlini  <pcarlini@@suse.de>
d2967 5
a2971 7
	* include/bits/basic_string.h (_M_replace_aux): Use the
	__N marker in throw message.
	* include/bits/basic_string.tcc (assign(const _CharT*,
	size_type), insert(size_type, const _CharT*, size_type),
	replace(size_type, size_type, const _CharT*, size_type),
	reserve, _Rep::_S_create, resize, _M_replace_dispatch):
	Likewise.
d2973 1
a2973 2
	* include/bits/basic_string.h, include/bits/basic_string.tcc:
	Fold overlong lines, minor formatting changes.
d2975 4
a2978 1
2004-01-26  Paolo Carlini  <pcarlini@@suse.de>
d2980 2
a2981 141
	* include/bits/basic_string.h (replace(iterator, iterator,
	const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
	(replace(iterator, iterator, const _CharT*)): Ditto.
	(replace(iterator, iterator, const _CharT*, size_type)):
	Add missing _GLIBCXX_DEBUG_PEDASSERT.

2004-01-26  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (replace(size_type,
	size_type, const _CharT*, size_type)): Implement optimized
	in-place algorithm for non-overlapping ranges.
	* testsuite/21_strings/basic_string/replace/char/6.cc: New.
	* testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.

	* include/bits/basic_string.tcc (insert(size_type,
	const _CharT*, size_type)): Tweak slightly.

2004-01-26  Andreas Schwab  <schwab@@suse.de>

	* config/locale/gnu/monetary_members.cc: Restore locale before
	rethrowing exception.

2004-01-25  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
	Define inline here.
	* include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
	Move inline.

	* include/bits/basic_string.tcc: Very minor tweaks.

2004-01-25  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/performance/string_append.cc: Increase number
	of iterations.

2004-01-25  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (erase(size_type, size_type),
	erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
	instead, thus avoiding redundant check for length_error.

	* include/bits/basic_string.h: Tweak some comments.

2004-01-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (operator+(const _CharT*,
	const basic_string&)): No need to go through the append
	taking two iterators.

2004-01-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (rfind(_CharT, size_type)):
	Revert last change to use std::min: machine language is worse.
	(find_last_of(const _CharT*, size_type, size_type)): Ditto.
	(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
	(find_last_not_of(_CharT, size_type)): Ditto.

	* include/bits/basic_string.tcc (insert(size_type, const _CharT*,
	size_type)): Discard the value returned by _M_check.
	(replace(size_type, size_type, const _CharT*, size_type)): Ditto.
	(append(const basic_string&, size_type, size_type)): Ditto.
	(copy(_CharT*, size_type, size_type)): Ditto.
	(compare(size_type, size_type, const basic_string&)): Ditto.
	(compare(size_type, size_type, const basic_string&,
	size_type, size_type)): Ditto.
	(compare(size_type, size_type, const _CharT*)): Ditto.
	(compare(size_type, size_type, const _CharT*, size_type)): Ditto.

2004-01-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (insert(size_type,
	const basic_string&, size_type, size_type)): Define inline here.
	* include/bits/basic_string.tcc (insert(size_type,
	const basic_string&, size_type, size_type)): Move inline.

2004-01-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (assign(const basic_string&,
	size_type, size_type)): Define inline here.
	(replace(size_type, size_type, const basic_string&,
	size_type, size_type)): Ditto.
	(_M_replace_dispatch(iterator, iterator, _InputIterator,
	_InputIterator, __false_type)): Only declare.
	(_M_replace(iterator, iterator, _InputIterator,
	_InputIterator)): Remove.
	* include/bits/basic_string.tcc (assign(const basic_string&,
	size_type, size_type)): Move inline.
	(replace(size_type, size_type, const basic_string&,
	size_type, size_type)): Ditto.
	(_M_replace_dispatch(iterator, iterator, _InputIterator,
	_InputIterator, __false_type)): Define, now does also what
	_M_replace did before.
	* src/string-inst.cc (_M_replace): Don't instantiate.

	* include/bits/basic_string.tcc (find(const _CharT*,
	size_type, size_type)): Tidy.
	(rfind(_CharT, size_type)): Ditto.
	(find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
	(find_first_not_of(_CharT, size_type)): Ditto.
	(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
	(find_last_not_of(_CharT, size_type)): Ditto.

2004-01-23  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/13838
	* include/debug/bitset (operator|=): Fix typo.
	* testsuite/23_containers/bitset/operations/13838.cc: New.

2004-01-23  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (insert(size_type,
	const _CharT*, size_type __n)): Fix length_error check.
	(replace(size_type, size_type, const _CharT*, size_type):
	Ditto; call _M_replace_safe.
	(_M_replace_aux(size_type, size_type, size_type, _CharT):
	Fix length_error check.
	(_M_replace(iterator, iterator, _InputIterator,
	_InputIterator)): Ditto, tweak.
	(_M_replace_safe(size_type, size_type, const _CharT*,
	size_type)): Remove length_error check.

	* include/bits/basic_string.tcc (append(const basic_string&),
	append(const basic_string&, size_type, size_type)): Tweak
	comment.

	* include/bits/basic_string.tcc (copy(_CharT*, size_type,
	size_type)): If __n == 0 don't call traits::copy.

2004-01-23  Stefan Olsson  <stefan@@snon.net>

	* include/ext/mt_allocator.h: Reduce lock contention.

2004-01-23  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/13831
	* include/bits/fstream.tcc (underflow): Remove unused
	variable.
	* include/bits/streambuf_iterator.h (equal): Ditto.
	* include/bits/locale_facets.h (_M_convert_from_char):
	Ditto.
d2983 1
a2983 1
2004-01-23  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>
d2985 1
a2985 19
	PR c/13814
	* config/linker-map.gnu (nan): Delete.
	* libmath/mathconf.h (NAN, nan): Delete.
	* linkage.m4 (nan): Don't check for it.
	* libmath/nan.c: Delete file.

	* config.h.in, configure: Regenerate.

2004-01-23  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (push_back(_CharT)):
	Call _M_replace_aux.
	(insert(size_type, const basic_string&)): Trivial tweak.
	(insert(size_type, size_type, _CharT)): Call _M_replace_aux.
	(insert(iterator, _CharT)): Ditto.
	(erase(size_type, size_type)): Ditto.
	(erase(iterator)): Ditto.
	(erase(iterator, iterator)): Ditto.
	(replace(size_type, size_type, size_type, _CharT)): Ditto.
d2987 1
a2987 1
2004-01-23  Loren J. Rittle  <ljrittle@@acm.org>
d2989 1
a2989 2
	libstdc++/13823
	* testsuite/performance/allocator_map_thread.cc: New test.
d2991 6
a2996 1
2004-01-22  Paolo Carlini  <pcarlini@@suse.de>
d2998 1
a2998 110
	* include/bits/locale_facets.tcc
	(money_put::do_put(..., long double)): Use the basic_string
	constructor for char arrays, not that for C-strings, to pass
	__digits to do_put(..., const string_type&): __ws isn't
	null-terminated.

2004-01-22  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (_M_replace_safe): Change
	signatures to take size_types and const _CharT*.
	(_M_replace_aux): Likewise, takes size_types instead of
	iterators.
	(append(size_type, _CharT)): Update call.
	(assign(size_type, _CharT)): Ditto.
	(replace(iterator, iterator, size_type, _CharT)): Ditto.
	(_M_replace_dispatch(iterator, iterator, _Integer,
	_Integer, __true_type)): Ditto.
	* include/bits/basic_string.tcc (assign(const _CharT*,
	size_type)): Ditto.
	(insert(size_type, const _CharT*, size_type)): Ditto.
	(replace(size_type, size_type, const _CharT*,
	size_type)): Ditto.
	(_M_replace(iterator, iterator, _InputIterator,
	_InputIterator)): Ditto.
	(append(const basic_string&)): Ditto.
	(append(const basic_string&, size_type, size_type): Ditto.
	(append(const _CharT*, size_type): Ditto.
	(_M_replace_safe, _M_replace_safe): Change definitions
	accordingly, simplify.
	* string-inst.cc (_M_replace_safe): Don't instantiate.

2004-01-21  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (append(const basic_string&)):
	Revert previous change.
	(append(const basic_string&, size_type, size_type)): Revert
	previous change, use _M_check and _M_limit.

2004-01-21  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (_M_check): Change to return
	a checked __pos and take an additional const char* argument.
	(_M_fold): Rename to _M_limit, change to return a size_type,
	corresponding to the __off limited to the actual length.
	(insert(size_type, size_type, _CharT)): Update call, call
	replace.
	(insert(iterator, _CharT)): Call replace(iterator, iterator,
	size_type, _CharT) instead.
	(erase(size_type, size_type)): Update calls.
	(replace(size_type, size_type, size_type, _CharT)): Ditto.
	(substr(size_type, size_type)): Use _M_check.
	* include/bits/basic_string.tcc (basic_string(const basic_string&,
	size_type, size_type)): Update calls.
	(basic_string(const basic_string&, size_type, size_type,
	const _Alloc&)): Ditto.
	(assign(const basic_string&, size_type, size_type)): Use the
	new _M_check and _M_limit.
	(insert(size_type, const basic_string&, size_type, size_type):
	Ditto.
	(insert(size_type, const _CharT*, size_type)): Ditto.
	(replace(size_type, size_type, const _CharT*, size_type): Ditto.
	(replace(size_type, size_type, const basic_string&,
	size_type, size_type)): Ditto.
	(append(const basic_string&)): Ditto.
	(append(const basic_string&, size_type, size_type)): Ditto.
	(copy(_CharT*, size_type, size_type)): Ditto.
	(compare(size_type, size_type, const basic_string&)): Ditto.
	(compare(size_type, size_type, const basic_string&,size_type,
	size_type)): Ditto.
	(compare(size_type, size_type, const _CharT*)): Ditto.
	(compare(size_type, size_type, const _CharT*, size_type)): Ditto.

2004-01-19  Stefan Olsson  <stefan@@snon.net>

	* include/ext/mt_allocator.h: If a thread, when it dies, still has
	memory on it's freelist this memory is not returned to global
	list. Simplification of deallocate so that memory is always
	returned to the calling thread id's freelist instead of to
	global. Fix typos. Add volatile where appropriate.

2004-01-19  Loren J. Rittle  <ljrittle@@acm.org>

	* testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
	* testsuite/ext/stdio_filebuf/char/10063-3.cc: New test.  Like -2 but
	use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.

2004-01-19  Paolo Carlini  <pcarlini@@suse.de>

	* src/debug.cc: Make sure all the names are prefixed with
	double (or single) underscore.

2004-01-19  Paolo Carlini  <pcarlini@@suse.de>

	* src/debug.cc: Trivial formatting change.

2004-01-19  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.tcc (_S_construct(size_type,
	_CharT, const _Alloc&)): Remove redundant try/catch.
	(_M_mutate(size_type, size_type, size_type)): Ditto.
	(_M_clone(const _Alloc&, size_type)): Ditto.

2004-01-18  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/basic_string.h (c_str()): Simplify, due to
	21.3.4 the internal representation is always kept null-terminated.
	* include/bits/basic_string.tcc (_M_clone): Null-terminate.
	* testsuite/21_strings/basic_string/element_access/char/4.cc: New.
	* testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
	Ditto.
d3000 2
a3001 1
2004-01-18  Paolo Carlini  <pcarlini@@suse.de>
d3003 2
a3004 144
	* include/bits/basic_string.h (append(size_type, _CharT)):
	Moved inline, just call _M_replace_aux, no source iterators at
	risk of being clobbered.
	(assign(size_type, _CharT)): Call directly _M_replace_aux.
	(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
	input_iterator_tag)): Remove fifth unused argument.
	(_M_replace_dispatch(iterator, iterator, _InputIterator,
	_InputIterator, __false_type)): Update call.
	* include/bits/basic_string.tcc (replace(size_type, size_type,
	const _CharT*, size_type)): Update call.
	(_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
	throw string literal.
	(_M_replace_safe(iterator, iterator, _ForwardIterator,
	_ForwardIterator)): Likewise.
	(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
	input_iterator_tag)): Remove fifth unused argument.
	(append(size_type __n, _CharT __c)): Move inline.
	* src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
	const C*, const C*, input_iterator_tag)): Remove fifth unused
	argument.

2004-01-16  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.

2004-01-16  Danny Smith  <dannysmith@@users.sourceforge.net>

	* testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
	mkfifo for mingw32.

2004-01-15  Stefan Olsson  <stefan@@snon.net>

	* include/ext/mt_allocator.h: Reuse thread id's as soon as
	possible by changing the behaviour of thread_freelist to do
	push_front when threads die instead of push_back.

2004-01-14  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.h (struct __numpunct_cache):
	Add member _M_grouping_size, caching the length of _M_grouping.
	(__numpunct_cache<>::_M_cache): Assign the latter.
	(__verify_grouping): Move declaration...
	* include/bits/locale_facets.tcc (__verify_grouping):
	... here, change signature to take a const char* and a size_t
	for the grouping; not a template anymore.
	(__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
	Likewise change signature and tweak consistently.
	(num_get::_M_extract_float, num_get::_M_extract_int,
	num_put::_M_insert_int, num_put::_M_insert_float,
	money_get::do_get(string_type&), money_get::do_put(string_type)):
	Update callers.
	* config/locale/generic/numeric_members.cc
	(numpunct<>::_M_initialize_numpunct): Assign the new member.
	* config/locale/gnu/numeric_members.cc
	(numpunct<>::_M_initialize_numpunct): Likewise.
	* src/locale-inst.cc (__add_grouping): Tweak signature.
	(__verify_grouping): Don't instantiate, not a template anymore.

	* include/bits/locale_facets.h: Rename _M_truename_len ->
	_M_truename_size, _M_falsename_len -> _M_falsename_size.
	* include/bits/locale_facets.tcc: Likewise.
	* config/locale/generic/numeric_members.cc: Likewise.
	* config/locale/gnu/numeric_members.cc: Likewise.

2004-01-14  Stefan Olsson  <stefan@@snon.net>

	* include/ext/mt_allocator.h: Fixups.
	* testsuite/performance/allocator.cc: Enable __mt_alloc tests.
	* testsuite/performance/allocator_thread.cc: Same.

2004-01-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/performance/ifstream_extract_float.cc: Add higher
	precision tests.
	* testsuite/performance/ofstream_insert_float.cc: Same.

2004-01-13  Paolo Carlini  <pcarlini@@suse.de>

	* src/locale-misc-inst.cc (__convert_from_v(long),
	__convert_from_v(unsigned long), __convert_from_v(long long),
	__convert_from_v(unsigned long long)): Remove, unused.

2004-01-13  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/performance/ifstream_extract_float.cc: New.
	* testsuite/performance/ofstream_insert_float.cc: Float generation
	matches above.

	* 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
	* 20_util/auto_ptr/1.cc: ...this.
	* 20_util/auto_ptr/2.cc: Same.
	* 20_util/auto_ptr/3.cc: Same.
	* 20_util/auto_ptr/3946.cc: Same.
	* 20_util/auto_ptr/4.cc: Same.
	* 20_util/auto_ptr/5.cc: Same.
	* 20_util/auto_ptr/6.cc: Same.
	* 20_util/auto_ptr/7.cc: Same.
	* 20_util/auto_ptr/assign_neg.cc
	* 20_util/pairs.cc: Break into...
	* 20_util/pair/1.cc: ...this.
	* 20_util/pair/2.cc: Same.
	* 20_util/pair/3.cc: Same.
	* 20_util/pair/4.cc: Same.

2004-01-13  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_get::do_get(void*&)):
	Set correctly just basefield, the only group that matters.

2004-01-13  Paolo Carlini  <pcarlini@@suse.de>

	* include/ext/rope (_Rope_rep_alloc_base): Eliminate.
	(_Rope_rep_base): Inherit directly from the rope allocator;
	use rebinding instead of _Alloc_traits; pick up data member
	from _Rope_rep_alloc_base.
	(_Rope_alloc_base): Eliminate.
	(_Rope_base): Inherit directly from the rope allocator; use
	rebinding instead of _Alloc_traits; pick up data member from
	_Rope_alloc_base.
	(rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
	rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.

2004-01-13  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/13650
	* include/bits/basic_string.tcc (compare(size_type, size_type,
	const _CharT*, size_type)): Implement correctly the resolution
	of DR 5: basically, s is a char array, -not- a C string.
	* include/bits/basic_string.h: Tweak some comments.
	* testsuite/21_strings/basic_string/compare/char/13650.cc: New.
	* testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.

2004-01-12  Andreas Tobler  <a.tobler@@schweiz.ch>

	* testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
	Solaris.

2004-01-12  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
	Use try_mkfifo.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
	Likewise.
d3006 1
a3006 1
2004-01-12  Paolo Carlini  <pcarlini@@suse.de>
d3008 1
a3008 55
	* include/bits/locale_facets.h (struct __numpunct_cache):
	Add members _M_truename_len and _M_falsename_len, caching
	the lengths of _M_truename and _M_falsename.
	(__numpunct_cache<>::_M_cache): Assign the latter.
	* include/bits/locale_facets.tcc (num_get::do_get(bool&),
	num_put::do_put(bool)): Use the new members, thus avoiding
	computing string lengths again and again.
	* config/locale/generic/numeric_members.cc
	(numpunct<>::_M_initialize_numpunct): Assign the new members.
	* config/locale/gnu/numeric_members.cc
	(numpunct<>::_M_initialize_numpunct): Likewise.

2004-01-12  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
	* testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
	it.
	* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
	and remove Cygwin XFAIL.
	* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
	* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
	* testsuite/27_io/objects/char/7.cc: Likewise.
	* testsuite/27_io/objects/char/9661-1.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.

2004-01-11  Gabriel Dos Reis  <gdr@@integrable-solutions.net>

	* include/std/std_complex.h (std::complex<>::real): Return a
	reference. Add non-const overload.
	(std::complex<>::real): Likewise.
	(std::real): Likewise.
	(std::imag): Likewise.
	(std::operator+): Tidy.
	(std::operator-): Likewise.
	(std::operator*): Likewise.
	(std::operator/): Likewise.
	(std::operator>>): Likewise.

2004-01-11  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/13582
	* include/bits/fstream.tcc (imbue): Exploit the external
	buffer to imbue 'on the fly' a new locale and convert its
	remainder with the new codecvt facet.
	(underflow): Tweak slightly to deal with this special case.
	* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
	* testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
	* testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
d3010 7
a3016 1
2004-01-10  Paolo Carlini  <pcarlini@@suse.de>
d3018 2
a3019 2
	* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
	Import Revision 28.
d3021 3
a3023 1
2004-01-10  Paolo Carlini  <pcarlini@@suse.de>
d3025 1
a3025 4
	PR libstdc++/13630
	* include/bits/locale_classes.h (class locale): Fix category
	typedef.
	* testsuite/22_locale/locale/13630.cc: Add.
d3027 2
a3028 1
2004-01-10  Giovanni Bajo  <giovannibajo@@gcc.gnu.org>
d3030 1
a3030 2
	* include/bits/locale_facets.h: Make a name really dependent. This
	will be needed when Core Issue 224 is implemented.
d3032 7
a3038 1
2004-01-09  Paolo Carlini  <pcarlini@@suse.de>
d3040 1
a3040 2
	* testsuite/performance/allocator.cc: Demangle typeid(obj).name().
	* testsuite/performance/allocator_thread.cc: Likewise.
d3042 2
a3043 1
2004-01-07  Benjamin Kosnik  <bkoz@@redhat.com>
d3045 49
a3093 5
	* crossconfig.m4: Add LFS, io bits to linux cross config.
	* acconfig.h: Remove obsolete bits, reorder.
	* config.h.in: Regenerate.
	* aclocal.m4: Same.
	* configure: Same.
d3095 1
a3095 1
2004-01-07  Gawain Bolton  <gp.bolton@@computer.org>
d3097 1040
a4136 155
	* include/bits/stl_list.h:
	* include/bits/list.tc:
	* src/list.cc:
	Performance enhancements for destructor, push_front(),
	push_back(), pop_front(), pop_back(), sort()
	Eliminated static_casts where possible.
	Moved code out of header files into new src/list.cc
	implementation file for library where possible.
	Remove inheritance from iterator class and create separate
	classes for non-constant and constant iterators.
	* include/bits/stl_tree.h (_Rb_tree class):
	* src/tree.cc:
	Only erase contents in destructor.
	Eliminate unnecessary initialization in assignment operator.
	Optimize for the nominal case by not checking whether
	container is empty in clear().
	Re-order test in _M_insert() to improve performance.
	Move initialization of new node's left & right pointers to
	src/tree.cc to where new node's colour is initialized
	and to reduce the amount of inline code.
	Use  _M_leftmost() and _M_end() to improve readability where
	appropriate.
	Create separate classes for non-constant and constant
	iterators to clarify code, avoid extra template parameters and
	casting away constness.

2004-01-07  Benjamin Kosnik  <bkoz@@redhat.com>

	* src/Makefile.am (sources): Add list.cc, tree.cc.
	* src/stl_tree.cc: Move to...
	* src/tree.cc: ...here.
	* src/list.cc: Add.
	* config/linker-map.gnu: Tweaks.
	* testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
	* testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.

	* bits/stl_vector.h: Column wrap comments.

2004-01-07  Loren J. Rittle  <ljrittle@@acm.org>

	(re-open) PR libstdc++/12658
	* src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
	(locale::global): Likewise.

2004-01-07  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
	Remove redundant #include.
	* testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
	* testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
	re-enable normal testing.
	* testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
	#include.
	* testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
	More properly, #include <locale>.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
	Remove redundant #include.
	* testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
	redundant DejaGnu directive.
	* testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
	redundant #include.

2004-01-06  Benjamin Kosnik  <bkoz@@redhat.com>
	    Stefan Olsson  <stefan@@snon.net>

	* scripts/check_performance: Use -pthread.
	* testsuite/performance/allocator.cc: Tweaks, add list.
	* testsuite/performance/allocator_thread.cc: New.

2004-01-06  Jerry Quinn  <jlquinn@@optonline.net>

	* include/bits/locale_facets.h: Document public classes and
	functions.
	* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
	Add comment.

2004-01-06  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_istream/extractors_other/char/1.cc:
	Remove redundant #includes.
	* testsuite/27_io/basic_istream/extractors_other/char/2.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_other/char/3.cc:
	Likewise.
	* testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
	* testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
	* testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
	* testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
	* testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
	* testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
	* testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
	* testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
	* testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
	Likewise.
	* testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
	Likewise.
	* testsuite/27_io/basic_istream/readsome/char/8258.cc:
	Likewise.
	* testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
	Likewise.
	* testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
	Likewise.
	* testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.

2004-01-04  Paolo Carlini  <pcarlini@@suse.de>

	* testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
	Remove redundant #includes.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
d4138 193
d4332 4
a4335 1
2004-01-04  Mark Mitchell  <mark@@codesourcery.com>
d4337 107
a4443 21
	PR c++/12226
	* testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
	constructor.
	* testsuite/27_io/basic_fstream/4.cc: Likewise.
	* testsuite/27_io/basic_ifstream/4.cc: Likewise.
	* testsuite/27_io/basic_ios/4.cc: Likewise.
	* testsuite/27_io/basic_iostream/4.cc: Likewise.
	* testsuite/27_io/basic_istream/4.cc: Likewise.
	* testsuite/27_io/basic_istingstream/4.cc: Likewise.
	* testsuite/27_io/basic_ofstream/4.cc: Likewise.
	* testsuite/27_io/basic_ostream/4.cc: Likewise.
	* testsuite/27_io/basic_ostringstream/4.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/5.cc: Likewise.
	* testsuite/27_io/basic_stringstream/4.cc: Likewise.

2004-01-04  Paolo Carlini  <pcarlini@@suse.de>

	* config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
	Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
	always use double underscored names.
	* config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
d4445 2354
a6798 4
	* include/bits/locale_facets.h (struct __numpunct_cache):
	Dimension _M_atoms_out and _M_atoms_in one position smaller.
	(__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out
	and _M_atoms_in.
@


1.1.1.19
log
@Gcc 3.4.4 C++ support bits.
@
text
@d1 1
a1 1
2005-05-19  Release Manager
d3 1
a3 1
	* GCC 3.4.4 released.
d5 1
a5 1
2005-05-18  Jonathan Wakely  <redi@@gcc.gnu.org>
d7 314
a320 2
	* docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC must
	be defined for pedantic mode.
d322 4
a325 1
2005-05-15  Andreas Schwab  <schwab@@suse.de>
d327 286
a612 1
	* testsuite/Makefile.am (check-local): Really remove.
d614 261
d876 9
a884 1
2005-05-12  Mark Mitchell  <mark@@codesourcery.com>
d886 39
a924 94
	2005-04-04  Mark Mitchell  <mark@@codesourcery.com>
	* testsuite/Makefile.am (check-local): Remove.
	(curent_symbols.txt): Likewise.
	(check-abi): Do not depend on current_symbols.txt.
	* testsuite/Makefile.in: Regenerated.
	* testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
	2005-04-01  Mark Mitchell  <mark@@codesourcery.com>
	* testsuite/Makefile.am (noinst_PROGRAMS): Remove.
	(site.exp): Write out the path to the baseline file.
	(check-abi): Use DejaGNU.
	(check-abi-verbose): Remove.
	* testsuite/Makefile.in: Regenerated.
	* testsuite/abi_check.cc (main): Check the return value from
	compare_symbols.
	* testsuite/testsuite_abi.cc (compare_symbols): Return a value.
	* testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
	* testsuite/libstdc++-abi/abi.exp: New file.
	2004-03-19  Phil Edwards  <phil@@codesourcery.com>
	* testsuite/Makefile.am (site.exp):  New target, based on that
	created by automake.  Also set libiconv.

2005-05-04  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/lib/libstdc++.exp (v3-build_support): Look for
	__GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
	whether or not thread support is available.

2005-05-04  Mark Mitchell  <mark@@codesourcery.com>

	Backport:
	2005-03-25  Mark Mitchell  <mark@@codesourcery.com>
	* testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
	when testing an installed compiler.
	* testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
	compiling support objects.
	2005-03-23  Mark Mitchell  <mark@@codesourcery.com>
	* testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
	exists.
	* testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
	(v3-wchar_t): ... this.
	(libstdc++_threads): Rename to ...
	(v3-threads): ... this.
	(libstdc++_test_objs): Rename to ...
	(v3-test_objs): ... this.
	(libstdc++_build_support): Rename to ...
	(v3-build_support): ... this.
	* testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
	* testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
	of compilers not in the build directory.
	(libstdc++_wchar_t): New variable.
	(libstdc++_threads): Likewise.
	(libstdc++_test_objs): Likewise.
	(v3_target_compile): Use libstdc++_test_objs.
	(v3-list-tests): Remove.
	(listdc++_build_support): New function.
	* testsuite/libstdc++-dg/normal.exp: Rework to dynamically
	generate list of tests.
	2004-11-23  John David Anglin  <dave.anglin@@nrc-cnrc.gc.ca>
	* testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.

2005-04-26  Jones Desougi  <jones@@ingate.com>

	PR libstdc++/21131
	* linkage.m4: Fix comments.

2005-04-25  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/21035
	* include/bits/basic_string.h (compare): Adjust the documentation
	to match the implementation and the standard.

2005-02-20  Paolo Carlini  <pcarlini@@suse.de>
	    Jon Grimm  <jgrimm2@@us.ibm.com>
	
	PR libstdc++/19955
	* include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
	Fix the logic setting _M_narrow_ok: first check whether the
	transformation is trivial with a dflt == 0, then deal with the
	special case of zero.
	* testsuite/22_locale/ctype/narrow/char/19955.cc: New.

	* include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
	Tweak consistently to use memcmp; minor formatting fixes.

2005-02-18  Eric Botcazou  <ebotcazou@@libertysurf.fr>

	* testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
	on Solaris 2.6 and below.
	* testsuite/thread/pthread2.cc: Likewise.
	* testsuite/thread/pthread3.cc: Likewise.
	* testsuite/thread/pthread4.cc: Likewise.
	* testsuite/thread/pthread5.cc: Likewise.
	* testsuite/thread/pthread6.cc: Likewise.
	* testsuite/thread/pthread7-rope.cc: Likewise.
d926 1
a926 1
2005-02-16  Paolo Carlini  <pcarlini@@suse.de>
d928 5
a932 4
	PR libstdc++/19829
	* testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
	at line #66 to not access str_lit01 beyond its end.
	* testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
d934 2
a935 1
2005-02-15  Jakub Jelinek  <jakub@@redhat.com>
d937 5
a941 4
	PR libstdc++/19946
	* testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
	demangler change.
	* testsuite/demangle/abi_examples/02.cc (main): Likewise.
d943 1
a943 1
2005-02-08  Mark Mitchell  <mark@@codesourcery.com>
d945 1
a945 1
	* config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
d947 43
a989 1
2005-02-02  Paolo Carlini  <pcarlini@@suse.de>
d991 3
a993 3
	PR libstdc++/19642
	* config/locale/generic/c_locale.h (__convert_from_v): Switch only
	LC_NUMERIC, and only when actually != "C".
d995 1
a995 1
2005-01-31  Brad Spencer  <spencer@@infointeractive.com>
d997 2
a998 2
        * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
	* configure: Regenerated.
d1000 1
a1000 1
2005-01-26  Paolo Carlini  <pcarlini@@suse.de>
d1002 2
a1003 2
	* include/std/std_complex.h: Remove usages of the dead
	_GLIBCXX_BUGGY_COMPLEX macro.
d1005 1
a1005 1
2005-01-21  Volker Reichelt  <reichelt@@igpm.rwth-aachen.de>
d1007 6
a1012 6
	PR libstdc++/19510
	* include/bits/stl_list.h (_List_iterator): Initialize _M_node
	in constructor.
	(_List_const_iterator): Likewise.
	* include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
	(_Rb_tree_const_iterator): Likewise.
d1014 1
a1014 2
	* testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
	* testsuite/23_containers/set/operators/1_neg.cc: Likewise.
d1016 1
a1016 1
2005-01-18  Paolo Carlini  <pcarlini@@suse.de>
d1018 1
a1018 1
	* include/bits/stl_tree.h: Add a few missing std:: qualifications.
d1020 3
a1022 1
2005-01-16  Jonathan Wakely  <redi@@gcc.gnu.org>
d1024 1
a1024 2
	* include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
	* testsuite/ext/rope/4.cc: Add.
d1026 2
a1027 1
2005-01-12  Paolo Carlini  <pcarlini@@suse.de>
d1029 1
a1029 2
	* include/bits/stl_algobase.h (lexicographical_compare):
	Fix concept check.
d1031 408
a1438 1
2005-01-02  Chris Jefferson  <chris@@bubblescope.net>
d1440 575
a2014 1
	* include/bits/stl_algobase.h (mismatch): Correct concept check.
d2016 1
a2016 1
2005-01-01  Paolo Carlini  <pcarlini@@suse.de>
d2018 2
a2019 2
	* testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
	testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
d2021 1456
@


1.1.1.19.2.1
log
@MFC: GCC 3.4.6 C++ support bits (as of 2006/08/25 #116475).
@
text
@a0 48
2006-03-05  Release Manager

	* GCC 3.4.6 released.

2005-11-30  Release Manager

	* GCC 3.4.5 released.

2005-09-10  Joseph S. Myers  <joseph@@codesourcery.com>

	* testsuite/26_numerics/c99_classification_macros_c.cc:
	XFAIL on *-*-linux*, not *-*-linux-gnu.

2005-09-01  Benjamin Kosnik  <bkoz@@redhat.com>

        * include/c_std/std_cmath.h: Declare C99 functions and helper
        functions as inline.

2005-08-29  Paolo Carlini  <pcarlini@@suse.de>

        PR libstdc++/23528
        Port from HEAD/4_0-branch:
	2004-07-28  Matt Austern  <austern@@apple.com>
	* include/ext/hashtable.h: Use rebind so that allocator_type
	has correct type for a container's allocator.
	* testsuite/ext/23528.cc: New.

2005-08-24  Lawrence Lim  <llim@@redhat.com>
            Jakub Jelinek  <jakub@@redhat.com>
	    Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/23550
	* testsuite/21_strings/char_traits/requirements/char/1.cc
	(test01): Simplify counting.
	* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
	(test02): Same.

2005-07-18  Paolo Carlini  <pcarlini@@suse.de>
	    Nathan Myers  <ncm@@cantrip.org>

	PR libstdc++/21286
	* include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
	Loop on short reads.

2005-05-27  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/Makefile.in: Regenerate with Automake 1.7.8.

@


1.1.1.20
log
@Gcc 3.4.6 C++ support bits (as of 2006/08/25 #116475).
@
text
@a0 48
2006-03-05  Release Manager

	* GCC 3.4.6 released.

2005-11-30  Release Manager

	* GCC 3.4.5 released.

2005-09-10  Joseph S. Myers  <joseph@@codesourcery.com>

	* testsuite/26_numerics/c99_classification_macros_c.cc:
	XFAIL on *-*-linux*, not *-*-linux-gnu.

2005-09-01  Benjamin Kosnik  <bkoz@@redhat.com>

        * include/c_std/std_cmath.h: Declare C99 functions and helper
        functions as inline.

2005-08-29  Paolo Carlini  <pcarlini@@suse.de>

        PR libstdc++/23528
        Port from HEAD/4_0-branch:
	2004-07-28  Matt Austern  <austern@@apple.com>
	* include/ext/hashtable.h: Use rebind so that allocator_type
	has correct type for a container's allocator.
	* testsuite/ext/23528.cc: New.

2005-08-24  Lawrence Lim  <llim@@redhat.com>
            Jakub Jelinek  <jakub@@redhat.com>
	    Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/23550
	* testsuite/21_strings/char_traits/requirements/char/1.cc
	(test01): Simplify counting.
	* testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
	(test02): Same.

2005-07-18  Paolo Carlini  <pcarlini@@suse.de>
	    Nathan Myers  <ncm@@cantrip.org>

	PR libstdc++/21286
	* include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
	Loop on short reads.

2005-05-27  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/Makefile.in: Regenerate with Automake 1.7.8.

@


1.1.1.21
log
@GCC 4.2.0 release C++ standard library and runtime support code.
@
text
@d1 1
a1 1
2007-05-13  Release Manager
d3 1
a3 1
	* GCC 4.2.0 released.
d5 1
a5 1
2007-04-12  Paolo Carlini  <pcarlini@@suse.de>
d7 1
a7 256
	PR libstdc++/28277 (partial: vstring bits)
	* include/bits/ostream_insert.h: New.
	* include/Makefile.am: Add.
	* include/ext/vstring.h (operator<<(basic_ostream<>&,
	const __versa_string<>&): Forward to __ostream_insert.
	* include/bits/basic_string.h (operator<<(basic_ostream<>&,
	const string<>&)): Likewise.
	* include/std/std_ostream.h (operator<<(basic_ostream<>&, _CharT),
	operator<<(basic_ostream<char,>&, char), operator<<(basic_ostream<>&,
	const _CharT*), operator<<(basic_ostream<char,>&, const char*)):
	Likewise.
	* include/ext/vstring.tcc (operator<<(basic_ostream<>&,
	const __versa_string<>&)): Remove.
	(class basic_ostream): Remove friend declarations.
	(basic_ostream<>::_M_write(char_type, streamsize),
	_M_insert(const char_type*, streamsize)): Remove.
	* include/bits/ostream.tcc (_M_insert(const char_type*, streamsize)):
	Remove definition.
	(operator<<(basic_ostream<>&, const char*)): Use __ostream_insert.
	* include/ext/vstring_util.h: Include <bits/ostream_insert.h>.
	* include/std/std_string.h: Likewise.
	* config/abi/pre/gnu.ver: Adjust.
	* src/ostream-inst.cc: Add __ostream_insert instantiations.
	* include/Makefile.in: Rebuild.
	* testsuite/ext/vstring/inserters_extractors/char/28277.cc: New.
	* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: New.

2007-04-07  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31481
	* include/ext/type_traits.h (__numeric_traits): Move...
	* include/ext/numeric_traits.h: ... here; fix type of
	__max_digits10.
	* include/Makefile.am: Add.
	* include/ext/pb_ds/detail/type_utils.hpp: Include 
	<ext/numeric_traits.h> too.
	* include/tr1/random: Likewise.
	* testsuite/ext/type_traits/numeric_traits.cc: Move...
	* testsuite/ext/numeric_traits/numeric_traits.cc: ... here.
	* include/Makefile.in: Regenerate.
	* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc:
	Adjust dg-error line number.
	* testsuite/ext/type_traits/add_unsigned_floating_neg.cc:
	Likewise.
	* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc:
	Likewise.
	* testsuite/ext/type_traits/add_unsigned_integer_neg.cc:
	Likewise.

2007-04-03  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
	Uglify parameter.

2007-04-02  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31401 (vstring bits)
	* include/ext/vstring.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.

2007-03-30  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31401
	* include/bits/basic_string.tcc (find(const _CharT*, size_type,
	size_type)): Avoid unsigned overflow.
	* testsuite/21_strings/basic_string/find/char/4.cc: New.
	* testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.

2007-03-06  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28080 (partial)
	* include/tr1/random (class random_device): Rework to use simple
	<cstdio> input, do not include <fstream>.
	* include/tr1/random.tcc (all inserters and extractors): Refer
	to ios_base as base class of basic_istream or basic_ostream.

2007-03-05  Joseph Myers  <joseph@@codesourcery.com>

	PR libstdc++/30675
	* testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
	"ar"] and [transform "ranlib"].

2007-03-05  Richard Guenther  <rguenther@@suse.de>

	Backport from mainline:
	2007-02-27  Richard Guenther  <rguenther@@suse.de>

	* acinclude.m4: Adjust regular expression for ld version extraction.
	* configure: Regenerate.

2007-03-05  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31031
	* include/bits/istream.tcc: Inhibit implicit instantiation of
	the _M_insert helpers.
	* include/bits/ostream.tcc: Likewise for _M_extract.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
	31031.cc: New.
	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
	31031.cc: Likewise.

2007-03-03  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/28080 (partial)
	* include/tr1/functional: Split out hash bits to...
	* include/tr1/functional_hash.h: ...here.
	* include/Makefile.am: Add.
	* include/tr1/unordered_set: Include the latter instead.
	* include/tr1/unordered_map: Likewise.
	* include/Makefile.in: Regenerate.

	* include/tr1/utility (get(std::pair<>&), get(const std::pair<>&)):
	Mark inline.

2007-02-21  Mark Mitchell  <mark@@codesourcery.com>

	* testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue
	with -fexceptions.

2007-02-07  Hans-Peter Nilsson  <hp@@axis.com>

	PR testsuite/28870
	* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Use only
	10000 iterations for simulator targets.
	* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Use only 5
	iterations for simulator targets.
	* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Ditto.
	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
	* testsuite/23_containers/set/modifiers/16728.cc: Use only 10
	iterations for simulator targets.

2007-02-05  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_deque.h (operator<): Qualify call.

2007-02-01  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14493
	* libsupc++/typeinfo (bad_cast::what, bad_typeid::what): Declare.
	* libsupc++/tinfo.cc: Define.	
	* libsupc++/exception (bad_exception::what): Declare.
	* libsupc++/eh_exception.cc: Define.
	(exception::what): Adjust, don't use typeid.
	* libsupc++/new (bad_alloc::what): Declare.
	* libsupc++/new_handler.cc: Define.
	* config/abi/pre/gnu.ver: Export the new methods @@3.4.9.
	* testsuite/18_support/14493.cc: New.

2007-02-01  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/29496
	* include/debug/safe_base.h (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	New.
	* src/debug.cc: Define the latter.
	(_Safe_sequence_base::_M_detach_all, _M_detach_singular,
	_M_revalidate_singular, _M_swap): Use the mutex.
	(_Safe_iterator_base::_M_attach, _M_detach): Adjust, forward to the
	*_single version.
	* include/debug/safe_iterator.h (_Safe_iterator<>::_M_attach_single,
	_M_invalidate_single): New.
 	* include/debug/safe_iterator.tcc: Define.
	(_Safe_iterator<>::_M_invalidate): Adjust, forward to
	_M_invalidate_single.
	* include/debug/safe_sequence.h (_Safe_sequence<>::_M_invalidate_if,
	_M_transfer_iter): Use the mutex, adjust, forward to the *_single
	versions of _M_invalidate and _M_attach.
	* config/abi/pre/gnu.ver (_Safe_sequence_base::_M_get_mutex,
	_Safe_iterator_base::_M_get_mutex, _M_attach_single, _M_detach_single):
	Add @@GLIBCXX_3.4.9; adjust.

2007-01-27   Steve LoBasso <slobasso@@yahoo.com>
	     Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/deque.tcc (deque<>::erase(iterator, iterator)):
	Fix condition.
	* testsuite/23_containers/deque/modifiers/erase/3.cc: New.

2007-01-26  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30586
	* config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
	* testsuite/abi/30586.cc: New.

2007-01-26  Benjamin Kosnik  <bkoz@@redhat.com>

	Revert.
      	2006-12-11  Benjamin Kosnik  <bkoz@@redhat.com>
	PR libstdc++/28125
	* acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie
	AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV.
        * configure: Regenerate.
        * scripts/testsuite_flags.in (cxxflags): Add LIBICONV bits.

2007-01-24  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/29722 continued
	* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
	libsupc++ library directory.
	* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
	path specification.

2007-01-21  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/29989
	* include/bits/c++config: #undef min and max.
	* include/bits/stl_algobase.h: Remove min and max #undefs.
	* testsuite/18_support/numeric_limits/29989.cc: New.

2007-01-15  Paolo Carlini  <pcarlini@@suse.de>

	* include/std/std_valarray.h (valarray<>::cshift): Fix typo.

2007-01-14  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/stl_algobase.h (fill_n(char*, _Size,
	const signed char&)): Fix signature.
	* testsuite/25_algorithms/fill/3.cc: New.

2007-01-13  John David Anglin  <dave.anglin@@nrc-cnrc.gc>

	* config/cpu/hppa/atomicity.h (__exchange_and_add): Don't use ordered
	store.
	(__atomic_add): Likewise.

2007-01-13  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/14991
	* docs/html/17_intro/porting-howto.html ([3]): Mention stdio_filebuf.
	* docs/html/17_intro/porting-howto.xml: Remove.

	* docs/html/17_intro/porting-howto.html: Remove spurious end tags
	pointed out by validator.w3.org.

2007-01-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30416 (continued)
	* include/std/std_valarray.h (valarray<>::shift, valarray<>::cshift):
	Allways return the same variable, thus facilitating NRVO.

2007-01-12  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30416
	* include/std/std_valarray.h (valarray<>::shift, valarray<>::cshift):
	Do not segfault when |n| > size.
	* testsuite/26_numerics/valarray/30416.cc: New.

2007-01-06  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/30365
	* crossconfig.m4 (case *-linux*): Run GLIBCXX_CHECK_LFS.
	* configure: Regenerate.
d9 1
a9 1
2007-01-06  Matthias Klose  <doko@@debian.org>
d11 218
a228 2
	* include/tr1/random (gamma_distribution): Fix typo in formula.
	* docs/doxygen/user.cfg.in: Use package amsmath.
@


1.1.1.22
log
@GCC 4.2.1 release C++ standard library and runtime support code.
@
text
@a0 67
2007-07-19  Release Manager

	* GCC 4.2.1 released.

2007-07-05  Joerg Richter  <joerg.richter@@pdv-fs.de>

	PR libstdc++/31957
	* include/Makefile.am: Work around an AIX sed oddity.
	* include/Makefile.in: Regenerate.

2007-06-28  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/32509
	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks
	involving the de_DE locale only if an auto locale config is
	used for a target suitable for the gnu locale model.
	* docs/html/install.html: Update.
	* configure: Regenerated.

2007-06-26  Benjamin Kosnik  <bkoz@@redhat.com>

	* include/ext/throw_allocator.h: Fixes for -fno-exceptions.
	* testsuite/util/testsuite_shared.cc: Same.
	* testsuite/util/io/illegal_input_error.hpp: Same.
	* testsuite/util/io/verified_cmd_line_input.cc: Same.

	* libsupc++/typeinfo (type_info): Correct comment formatting,
	clarify member access and public interface.
	* libsupc++/exception: Less compressed comments.
	* libsupc++/new: Same.

2007-06-08  Paolo Carlini  <pcarlini@@suse.de>

	* docs/html/install.html: Adjust consistently with libstdc++/31717.

2007-06-08  Francesco Palagi  <palagi@@arcetri.astro.it>

	* include/std/std_fstream.h: Add Table 92 in comment.

2007-06-06  Benjamin Kosnik  <bkoz@@redhat.com>
	    Frank Mori Hess  <frank.hess@@nist.gov>
	
	* docs/html/debug.html: Correct link.

2007-05-28  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/31717 
	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Re-organize. Sanity check
	gnu locale model requests to make sure it will work for the requested
	target. Add checks for strxfrm_l, strerror_l when in gnu locale,
	and strerror_r everywhere.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.
	* config.h.in: Regenerated.

2007-05-24  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/ostream.tcc: Do not inhibit implicit instantiation
	of __ostream_insert here...
	* include/bits/ostream_insert.h: ... do it here.

2007-05-21  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/31621
	* acinclude.m4 ([GLIBCXX_CHECK_LINKER_FEATURES]): Use the C compiler.
	* configure: Regenerate.

@


1.1.1.22.2.1
log
@SVN rev 221317 on 2011-05-02 08:31:53Z by mm

MFC 218895, 218896, 219374, 219376, 219639, 219640, 219697, 219711, 220150:

MFC r218895:
Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3
and k8-sse3 cpu-types for -march=/-mtune= gcc options.
These new cpu-types include the SSE3 instruction set that is supported
by all newer AMD Athlon 64 and Opteron processors.
All three cpu-types are supported by clang and all gcc versions
starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed).

Source: gcc-4_3-branch (rev. 124339; GPLv2)

MFC r218896:
Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk.
- add "sse3" to MACHINE_CPU for the new cpu types
- for i386, default to CPUTYPE=prescott for the new cpu types

MFC r219374:
Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2)
These options are supported in this shape in all newer GCC versions.

Source:	gcc-4_3-branch (rev. 118090, 118973, 120846; GPLv2)

MFC r219376:
Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf
For CPUTYPE=core2 use -march=core2

MFC r219639:
Backport SSSE3 instruction set support to base gcc.
Enabled by default for -march=core2

Source:	gcc-4_3-branch (rev. 117958, 121687, 121726, 123639; GPLv2)

MFC r219640:
Add ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mk

MFC r219697:
Fix -march/-mtune=native autodetection for Intel Core 2 CPUs

Source:	gcc-4_3-branch (partial rev. 119454; GPLv2)

MFC r219711:
Backport missing tunings for -march=core2:
- enable extra 80387 mathematical constants (ext_80387_constants)
- enable compare and exchange 16 bytes (cmpxchg16b)

Verified against llvm-gcc (and apple gcc)
Source:	gcc-4_3-branch (ref. svn revs. 119260, 121140; GPLv2)

MFC r220150:
Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision
(rev. 127959 of gcc-4_2-branch).

Resolved GCC bugs:
	c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346,
	     32898, 32992
	debug: 32610, 32914
	libstdc++: 33084, 33128
	middle-end: 32563
	rtl-optimization: 33148
	tree-optimization: 25413, 32723
	target: 32218

Source:	gcc-4_2-branch (up to rev. 127959)

Obtained from:	gcc (var. revs of gcc-4_2-branch and gcc-4_3-branch; GPLv2)
PR:		gnu/153298, gnu/153959, gnu/154385, gnu/155308, gnu/154906
@
text
@a0 15
2007-08-28  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33128
	* include/tr1/random (uniform_int<>::_M_call): Deal with
	__urng() returning negative values.
	* testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
	New.

2007-08-17  Johannes Willkomm  <willkomm@@sc.rwth-aachen.de>

	PR libstdc++/33084
	* include/std/valarray (operator _Op(const _Tp&,
	const valarray<>&)): Fix typo.
	* testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.

@


1.1.1.22.10.1
log
@SVN rev 221274 on 2011-04-30 22:07:04Z by mm

MFC 219374, 219376, 219639, 219640, 219697, 219711, 220150:

MFC r219374:
Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2)
These options are supported in this shape in all newer GCC versions.

Source:	gcc-4_3-branch (rev. 118090, 118973, 120846; GPLv2)

MFC r219376:
Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf
For CPUTYPE=core2 use -march=core2

MFC r219639:
Backport SSSE3 instruction set support to base gcc.
Enabled by default for -march=core2

Source:	gcc-4_3-branch (rev. 117958, 121687, 121726, 123639; GPLv2)

MFC r219640:
Add ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mk

MFC r219697:
Fix -march/-mtune=native autodetection for Intel Core 2 CPUs

Source:	gcc-4_3-branch (partial rev. 119454; GPLv2)

MFC r219711:
Backport missing tunings for -march=core2:
- enable extra 80387 mathematical constants (ext_80387_constants)
- enable compare and exchange 16 bytes (cmpxchg16b)

Verified against llvm-gcc (and apple gcc)
Source:	gcc-4_3-branch (ref. svn revs. 119260, 121140; GPLv2)

MFC r220150:
Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision
(rev. 127959 of gcc-4_2-branch).

Resolved GCC bugs:
	c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346,
	     32898, 32992
	debug: 32610, 32914
	libstdc++: 33084, 33128
	middle-end: 32563
	rtl-optimization: 33148
	tree-optimization: 25413, 32723
	target: 32218

Source:	gcc-4_2-branch (up to rev. 127959)

Obtained from:	gcc (var. revs of gcc-4_2-branch and gcc-4_3-branch; GPLv2)
PR:		gnu/153298, gnu/153959, gnu/154385, gnu/155308
@
text
@a0 15
2007-08-28  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33128
	* include/tr1/random (uniform_int<>::_M_call): Deal with
	__urng() returning negative values.
	* testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
	New.

2007-08-17  Johannes Willkomm  <willkomm@@sc.rwth-aachen.de>

	PR libstdc++/33084
	* include/std/valarray (operator _Op(const _Tp&,
	const valarray<>&)): Fix typo.
	* testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.

@


1.1.1.22.10.2
log
@SVN rev 230960 on 2012-02-03 21:30:31Z by pfg

MFC:	r228780

Update libstdc++ with small changes up to the latest rev. (135556)
from the gcc 4.2 branch.
The libraries in the gcc-4_2-branch remained under the LGPLv2.

Reviewed by:	mm
Approved by:	jhb (mentor)
@
text
@a0 130
2008-05-19  Release Manager

	* GCC 4.2.4 released.

2008-03-13  David Edelsohn  <edelsohn@@gnu.org>

	Backport from mainline:
	2008-01-26  David Edelsohn  <edelsohn@@gnu.org>

        PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

2008-02-14  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
	remove XFAIL.

2008-02-01  Release Manager

	* GCC 4.2.3 released.

2008-01-06  Ted Phelps  <phelps@@gnusto.com>

	PR c++/34152
	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
	_GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.

2008-01-05  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/34680

	Revert:
	2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>
	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

	2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-12-17  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
	RTTI checks.

2007-12-17  Benjamin Kosnik  <bkoz@@redhat.com>

	* testsuite/22_locale/global_templates/
	standard_facet_hierarchies.cc: Fix for generic locale model.

2007-12-14  Benjamin Kosnik  <bkoz@@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

2007-11-26  Paolo Carlini  <pcarlini@@suse.de>

	* include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
	ios_base::showpos and the type is signed and the value is zero,
	prepend +.
	* testsuite/22_locale/num_put/put/char/12.cc: New.
	* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.

2007-10-20  Paolo Carlini  <pcarlini@@suse.de>

	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Fix small thinko.

2007-10-19  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33815
	* include/tr1/random
	(uniform_int<>::_M_call(_UniformRandomNumberGenerator&, result_type,
	result_type, true_type)): Avoid the modulo (which uses the low-order
	bits).

2007-10-18  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33807
	* include/bits/allocator.h (operator==(const allocator<_Tp>&,
	const allocator<_Tp>&), operator!=(const allocator<_Tp>&,
	const allocator<_Tp>&)): Add.
	* testsuite/20_util/memory/allocator/33807.cc: New.
	
2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* docs/html/Makefile: Follow up to libstdc++/14991, remove target.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* src/valarray-inst.cc, include/ext/atomicity.h,
	include/ext/concurrence.h, include/bits/basic_string.h,
	include/bits/fstream.tcc, include/ext/vstring.h: Fix comment typos.

2007-10-14  Jonathan Wakely  <jwakely.gcc@@gmail.com>

	* include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add
	missing template argument.
	* testsuite/tr1/2_general_utilities/memory/shared_ptr/
	explicit_instantiation/2.cc: New.
	* testsuite/tr1/2_general_utilities/memory/weak_ptr/
	explicit_instantiation/2.cc: New.

2007-10-11  Paolo Carlini  <pcarlini@@suse.de>

	PR libstdc++/33734
	* include/ext/codecvt_specializations.h (encoding_state::good,
	init, destroy): Use cast notation instead of reinterpret_cast.

2007-10-07  Release Manager

	* GCC 4.2.2 released.

2007-10-06  Benjamin Kosnik  <bkoz@@redhat.com>

	PR libstdc++/33678	
	* libsupc++/typeinfo (typeinfo): Revert ordering of virtual components.

@


