ChangeLog revision 122182
12003-10-25  Paolo Carlini  <pcarlini@suse.de>
2
3	* include/bits/locale_facets.tcc (money_get::do_get(...,
4	long double&): Properly size the temporary buffer.
5
62003-10-20  Benjamin Kosnik  <bkoz@redhat.com>
7
8	PR libstdc++/10081
9	* include/bits/basic_ios.h (basic_ios::basic_ios): Initialize
10	_M_fctype, _M_fnumput, _M_fnumget.
11
122003-10-16  Release Manager
13
14	* GCC 3.3.2 Released.
15
162003-10-07  Paolo Carlini  <pcarlini@unitus.it>
17
18	PR libstdc++/11740
19	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
20	Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
21	* config/locale/generic/ctype_members.cc: Same.
22
232003-10-02  Harald Boehme  <boehme@informatik.hu-berlin.de>
24
25	PR libstdc++/12451
26	* libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
27	
282003-10-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
29
30	* configure.target: Handle Solaris 2.5 micro releases explicitly.
31	Remove wildcards from Solaris 2.6, 7-9: there were no
32	micro releases.
33	Treat Solaris 10 and up like 7-9.
34
352003-09-30  Paolo Carlini  <pcarlini@unitus.it>
36
37	PR libstdc++/12296
38	* include/bits/istream.tcc (peek): Set eofbit if sgetc
39	returns eof.
40
412003-09-30  Nathan Myers  <ncm@cantrip.org>
42            Paolo Carlini  <pcarlini@unitus.it>
43
44	PR libstdc++/11400
45	* include/bits/stl_algo.h (search_n):
46	Use iterator_traits<>::difference_type for __n.
47
482003-09-25  Benjamin Kosnik  <bkoz@redhat.com>
49
50	PR libstdc++/11065
51	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
52	* config/locale/generic/ctype_members.cc: Same.
53
54	* config/os/generic/ctype_inline.h: Update.
55
562003-09-10  Daniel Jacobowitz  <drow@mvista.com>
57	    Andreas Jaeger <aj@suse.de>
58
59	PR libstdc++/12189
60	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Don't build
61	abi_check if cross compiling.
62	* aclocal.m4: Regenerated.
63	* configure: Regenerated.
64
652003-09-09  Alan Modra  <amodra@bigpond.net.au>
66
67	* configure: Regenerate.
68
692003-08-25  Zack Weinberg  <zack@codesourcery.com>
70
71	* config/os/hpux/os_defines.h: Unconditionally define
72	_GLIBCPP_GTHREAD_USE_WEAK to 0.
73
742003-08-11  Andreas Jaeger  <aj@suse.de>
75
76	* include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
77	to make SMP-safe.
78	* include/Makefile.in: Regenerated.
79
802003-08-07  Bernardo Innocenti  <bernie@develer.com>
81
82	PR libstdc++/11784
83	* libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
84	Replace variants with new BSET-based version.
85
862003-08-04  Release Manager
87
88	* GCC 3.3.1 Released.
89
902003-08-04  Release Manager
91
92	* GCC 3.3.1 Released.
93
942003-07-24  Nathan Myers  <ncm-nospam@cantrip.org>
95
96	* testsuite/23_containers/map_operators.cc: Conform to
97	container requirement as value must be Assignable.
98
992003-07-18  Andreas Jaeger  <aj@suse.de>
100
101	* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
102	* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
103	* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
104	* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
105
1062003-07-17  Greg Schafer  <gschafer@zip.com.au>
107
108	* configure.in: Use 'true' and 'false' for
109	GLIBCPP_IS_CROSS_COMPILING, otherwise memory limits are
110	not checked when not cross compiling.
111	* configure: Regenerate.
112
1132003-07-17  Paolo Carlini  <pcarlini@unitus.it>
114
115	PR libstdc++/11528
116	* include/bits/locale_facets.tcc (money_get::do_get):
117	Strip only _leading_ zeros.
118
1192003-07-15  Loren J. Rittle  <ljrittle@acm.org>
120
121	* testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
122
1232003-07-15  Petur Runolfsson  <peturr02@ru.is>
124
125	* Revert previous commit: not safe on platforms with
126	wint_t != size_t.
127
1282003-07-15  Petur Runolfsson  <peturr02@ru.is>
129
130	* include/bits/char_traits.h (char_traits<wchar_t>::move):
131	Change last parameter from int_type to size_t.
132
1332003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
134	    Jerry Quinn  <jlquinn@optonline.net>
135
136	* include/bits/ios_base.h (ios_base::_M_getloc): Return reference
137	to the imbued locale.
138	* include/bits/locale_classes.h
139	(__locale_cache_base,__locale_cache): Declare.
140	(locale,locale::_Impl): Befriend __use_cache.
141	(locale::_Impl::_M_get_cache): New function.
142	(locale::_Impl::_M_install_cache): New function.
143	* include/bits/locale_facets.h (__locale_cache): Declare.
144	(numpunct): Befriend __locale_cache.
145	(__locale_cache_base): New class.
146	(__locale_cache): New class.
147	* include/bits/locale_facets.tcc (__use_cache): New function.
148	(num_put::_M_convert_int,_M_convert_float,do_put): Use it.
149	Use cache data members in place of calls to facet.
150	(num_put::_M_convert_int): Use _M_getloc.
151	(num_put::_M_convert_float): Use _M_getloc.
152	(__locale_cache::__locale_cache(locale&): New.
153	(__locale_cache::__locale_cache(locale&,bool)): New.
154	* src/globals.cc (facet_cache_vec): New.
155	(locale_cache_np_c, locale_cache_np_w): New.
156	* src/locale-inst.cc
157	(__locale_cache<numpunct<char> >): Define.
158	(__locale_cache<numpunct<wchar_t> >): Define.
159	(__use_cache<numpunct<char> >): Define.
160	(__use_cache<numpunct<wchar_t> >): Define.
161	* src/localename.cc (facet_cache_vec): Declare.
162	(locale_cache_np_c, locale_cache_np_w): Declare.
163	(locale::_Impl::~Impl): Destroy caches.
164	(locale::_Impl::Impl):  Initialize cache storage.  Fill in
165	static caches.
166	(locale::_Impl::_M_install_facet):  Expand cache storage.
167
1682003-07-04  Jerry Quinn  <jlquinn@optonline.net>
169
170	* include/bits/locale_facets.tcc (__int_to_char): Move common
171	case to the top.
172
1732003-07-04  Jerry Quinn  <jlquinn@optonline.net>
174
175	* testsuite/27_io/ostream_inserter_arith.cc (test05, test06):
176	Add missing bool test.
177
1782003-07-04  H.J. Lu <hongjiu.lu@intel.com>
179
180	* Makefile.am: Replace PWD with PWD_COMMAND.
181	* Makefile.in: Regenerated.
182	* docs/html/Makefile: Likewise.
183
1842003-07-01  Roger Sayle  <roger@eyesopen.com>
185
186	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
187	(GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
188	* aclocal.m4: Regenerate.
189	* configure: Regenerate.
190
1912003-06-27  Matthias Klose  <doko@debian.org>
192
193	* testsuite/Makefile.am (check-abi, check-abi-verbose): Save
194	output of abi-check in libstdc++-v3-abi.sum.
195	* testsuite/Makefile.in: Regenerate.
196
1972003-06-25  Phil Edwards  <pme@gcc.gnu.org>
198
199	Bulk documentation merge (copy) from trunk.
200	* docs/doxygen/filter, docs/doxygen/filter.sed,
201	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
202	docs/doxygen/user.cfg.in, docs/html/configopts.html,
203	docs/html/documentation.html, docs/html/explanations.html,
204	docs/html/install.html, docs/html/test.html, docs/html/17_intro/BUGS,
205	docs/html/17_intro/CHECKLIST, docs/html/17_intro/contribute.html,
206	docs/html/20_util/howto.html, docs/html/ext/howto.html,
207	docs/html/ext/sgiexts.html, docs/html/faq/index.html,
208	docs/html/faq/index.txt:  Merge from trunk.
209
2102003-06-23  Loren J. Rittle  <ljrittle@acm.org>
211
212	* configure.target (freebsd*): Set abi_baseline_pair.
213	* config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
214	(at or near first release) to 3.3.
215	* config/abi/i386-freebsd5/baseline_symbols.txt: New file.
216	* config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
217	* config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
218
2192003-06-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
220
221	PR bootstrap/11272
222	Backport from mainline:
223
224	2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
225
226	* config/io/basic_file_stdio.cc: include <unistd.h>.
227
2282003-06-20  Matthias Klose  <doko@debian.org>
229
230	* configure.target: Set try_cpu to target_cpu for existing
231 	baseline files.
232
2332003-06-19  Andreas Jaeger  <aj@suse.de>
234
235	* configure.in: Pass MULTISUBDIR to testsuite/Makefile.
236	* configure: Regenerated.
237
2382003-06-19  Andreas Jaeger  <aj@suse.de>
239
240	Backport from mainline:
241	2003-06-18  Andreas Jaeger  <aj@suse.de>
242
243	* testsuite/Makefile.am (new-abi-baseline): Create baseline
244	directory.
245	(baseline_file): Use baseline_dir.
246	(baseline_dir): New.
247	(mkinstalldirs): New.
248
249	* acinclude.m4: Rename baseline_file to baseline_dir, strip
250	filename from baseline_dir.
251
252	* testsuite/Makefile.in: Regenerated.
253	* Makefile.in: Regenerated.
254	* aclocal.m4: Regenerated.
255	* configure: Regenerated.
256
257	2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
258
259	* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
260
261	2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
262
263	* Makefile.am (check-abi): Move...
264	(new-abi-baseline): Move...
265	* testsuite/Makefile.am: ...here.
266	(new-abi-baseline): Conditionalize.
267	(check-abi): Conditionalize.
268	(check-abi-verbose): New.
269	* Makefile.in: Regenerate.
270	* testsuite/Makefile.in: Regenerate.
271	* configure.in: Consolidate testsuite configure bits.
272	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
273	* configure: Regenerate.
274	* aclocal.m4: Regenerate.
275	* testsuite/abi_check.cc: Add --check-verbose.
276	Only output detailed information if --check-verbose.
277
278
279	2003-06-16  Andreas Jaeger  <aj@suse.de>
280
281	* testsuite/abi_check.cc: Create summary report.
282
283	2003-06-16  Andreas Jaeger  <aj@suse.de>
284
285	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
286	check-abi multilib aware.
287	* aclocal.m4: Regenerate.
288	* configure: Regenerate.
289
290	2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
291	    Andreas Jaeger  <aj@suse.de>
292
293	* configure.target: Set x86_64 abi_baseline pair correctly.
294
295
296	2003-06-13  Benjamin Kosnik  <bkoz@redhat.com>
297
298	* config/abi/i686-pc-linux-gnu: To..
299	* config/abi/i486-linux-gnu: ...this.
300	* config/abi/alphaev67-unknown-linux-gnu: To..
301	* config/abi/alpha-linux-gnu: ...this.
302	* config/abi/ia64-unknown-linux-gnu: To...
303	* config/abi/ia64-linux-gnu: ...this.
304	* config/abi/x86_64-unknown-linux-gnu: To...
305	* config/abi/x86_64-linux-gnu: ...this.
306	* config/abi/i386-unknown-freebsd4: To...
307	* config/abi/i386-freebsd4: ...this.
308	* configure.target: abi_baseline_triplet to abi_baseline_pair.
309	Simplify cpu bits so that abi_baseline_pair can use the same
310	cpu configuration.
311	* acinclude.m4: Same.
312	* aclocal.m4: Regenerate.
313	* configure.in: Can't get enable_abi_check to yes unless native.
314	* configure: Regenerate.
315
3162003-06-11  Benjamin Kosnik  <bkoz@redhat.com>
317
318	* configure.in (libtool_VERSION): To 5:5:0.
319	* configure: Regenerated.
320
3212003-06-07  Paolo Carlini  <pcarlini@unitus.it>
322
323	PR libstdc++/11095
324	* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
325	Deal with width() smaller than zero.
326	* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
327	operator<<(basic_ostream&, char), operator<<(basic_ostream&,
328	const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
329	const char*), operator<<(basic_ostream<char, _Traits>&,
330	const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
331
3322003-06-06  Nathan Myers  <ncm-nospam@cantrip.org>
333
334	* include/bits/stl_iterator.h (reverse_iterator::reverse_iterator()):
335	Apply DR235: default constructor default-initializes data member.
336	Instantiated on a pointer type, the member has to end up equal
337	to zero.
338
3392003-06-02  Andrew Pinski  <pinskia@physics.uc.edu>
340
341	PR libstdc++/9815
342	* config/cpu/i386/atomicity.h (__exchange_and_add): add intel
343	asm case to asm.
344	* config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
345	(__atomic_add): likewise.
346
3472003-06-02  Richard Kreckel  <Richard.Kreckel@GiNaC.DE>
348
349	PR libstdc++/11062
350	* config/cpu/mips/atomicity.h:  Change __attribute__ ((unused)) to
351	__attribute__ ((__unused__)).
352	* config/os/aix/atomicity.h:  Likewise.
353
3542003-05-27  Steve Ellcey  <sje@cup.hp.com>
355
356	* config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
357	on IA64 HP-UX.
358	* libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
359	_LIBUNWIND_STD_ABI is set.
360
3612003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
362
363	* libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
364	zero.
365	Update copyright year.
366
3672003-05-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
368
369	* include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
370	Cast via void* to avoid -Wcast-align warnings.
371	(__default_alloc_template::_S_refill): Likewise.
372
3732003-05-20  Gabriel Dos Reis <gdr@integrable-solutions.net>
374
375	PR libstdc++/10689
376	* include/std/std_complex.h (pow): Tidy.
377
3782003-05-17  Nathan Myers  <ncm@cantrip.org>
379
380	* include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
381
3822003-05-15  Phil Edwards  <pme@gcc.gnu.org>
383
384	* testsuite/Makefile.am:  Properly quote LD_RUN_PATH.
385	* testsuite/Makefile.in:  Regenerate.
386
3872003-05-14  Loren J. Rittle  <ljrittle@acm.org>
388
389	* testsuite/thread/pthread4.cc: Tweak test.
390
3912003-05-13  Release Manager
392
393	* GCC 3.3 Released.
394
3952003-05-06  Phil Edwards  <pme@gcc.gnu.org>
396
397	* docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
398	* docs/html/faq/index.txt:  Regenerated.
399
4002003-05-02 Joel Sherrill  <joel.sherrill@OARcorp.com>
401	   Loren J. Rittle <ljrittle@acm.org>
402	   Martin v. Loewis  <martin@v.loewis.de>
403
404	libstdc++/10556
405	* config/cpu/i386/atomicity.h: New file.
406
4072003-05-02  Richard Henderson  <rth@redhat.com>
408
409	PR c++/10570
410	* libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
411	(__cxa_end_catch): Likewise.
412	* libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
413	_Unwind_Resume_or_Rethrow.
414	* libsupc++/eh_personality.cc (empty_exception_spec): New.
415	(PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
416	for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
417	exceptions.  Don't push terminate/unexpected to cxa functions.
418	(__cxa_call_unexpected): Remove foreign exception fixmes.
419
4202003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
421
422	Revert __locale_cache.
423	* include/bits/locale_facets.tcc (num_put::_M_convert_int): Remove
424	__locale_cache.
425	(num_put::_M_convert_int): Same.
426	(num_put::do_put(bool)): Same.
427	(__locale_cache::_M_init): Same.
428	(__locale_cache::_S_callback): Same.
429	* include/bits/locale_facets.h (__locale_cache_base): Remove.
430	(__locale_cache): Remove.
431	* include/bits/basic_ios.h (basic_ios::init): Remove __locale_cache.
432	(basic_ios::_M_cache_locale): Same.
433	* include/bits/basic_ios.tcc: Same.
434	* include/bits/ios_base.h: Same.
435	(ios_base::_M_cache): Remove.
436	* src/locale-inst.cc: Same.
437	* src/ios.cc: Same.
438	* src/globals.cc: Same.
439
440	* config/linker-map.gnu: Same.
441
4422003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
443
444	* configure.in (libtool_VERSION): To 5:4:0.
445	* configure: Regenerated.
446
447	* testsuite/abi_check.cc (check_version): Update known versions.
448	Check added symbols for version_name != base version. Add missing
449	symbols to incompatible list.
450
451	* config/linker-map.gnu: Fixup for __basic_file::showmanyc_helper.
452
4532003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
454
455	* acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
456	* aclocal.m4: Regenerated.
457	* configure: Regenerated.
458
4592003-05-01  Paolo Carlini  <pcarlini@unitus.it>
460	    Nathan Myers  <ncm@cantrip.org>
461
462	Backport from mainline fix of 2003-03-28.
463	PR libstdc++/9533
464	* include/bits/fstream.tcc (basic_filebuf<>::open): Don't
465	call underflow().
466	(basic_filebuf<>::showmanyc): Use the information provided
467	by codecvt and __basic_file<>::showmanyc_helper to implement
468	a non-trivial showmanyc.
469	* config/io/basic_file_stdio.h
470	(__basic_file<>::showmanyc_helper): New, declare.
471	* config/io/basic_file_stdio.cc
472	(__basic_file<>::showmanyc_helper): Define.
473	(__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
474	(__basic_file<char>::open): Don't call fcntl().
475	* acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
476	GLIBCPP_CHECK_POLL): New macros.
477	* configure.in: Call here.
478	* acconfig.h: Add #undefs for the corresponding symbols.
479	* aclocal.m4: Regenerate.
480	* configure: Regenerate.
481	* config.h.in: Regenerate.
482
4832003-04-29  Phil Edwards  <pme@gcc.gnu.org>
484
485	Bulk documentation merge (copy) from trunk.
486	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/mainpage.html,
487	docs/doxygen/run_doxygen, docs/doxygen/user.cfg.in,
488	docs/html/configopts.html, docs/html/debug.html,
489	docs/html/documentation.html, docs/html/explanations.html,
490	docs/html/install.html, docs/html/17_intro/howto.html,
491	docs/html/17_intro/porting.html, docs/html/18_support/howto.html,
492	docs/html/19_diagnostics/howto.html, docs/html/27_io/howto.html,
493	docs/html/ext/howto.html, docs/html/ext/sgiexts.html,
494	docs/html/faq/index.html, docs/html/faq/index.txt:
495	Merge from trunk.
496
4972003-04-28  Nathan Myers  <ncm@cantrip.org>
498
499	Move some basic_string members out of line because
500	they are too big to reasonably be inline.
501	* include/bits/basic_string.h
502	(assign(const basic_string&, size_type, size_type),
503	assign(const _CharT*, size_type),
504	insert(size_type, const basic_string&, size_type, size_type),
505	insert(size_type, const _CharT*, size_type),
506	replace(size_type, size_type, const _CharT*, size_type)):
507	Move from here to...
508	* include/bits/basic_string.tcc: ...here.
509
5102003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
511
512	PR libstdc++/10132
513	* include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
514	exception specifications.
515	(basic_filebuf::close): Same.
516	(basic_filebuf::_M_destroy_internal_buffer): Same.
517	(basic_filebuf): Remove __res_type typedef.
518	* include/std/std_streambuf.h:
519	(basic_streambuf::_M_pback_destroy): Same.
520	* src/fstream.cc: Same.
521	* include/bits/fstream.tcc
522	(basic_filebuf::_M_convert_to_external): Simplify.
523	(basic_filebuf::seekoff): Use has_facet	before use_facet.
524	(basic_filebuf::close): Add exception specification of throw().
525
5262003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
527	    Phil Edwards  <pme@gcc.gnu.org>
528
529	* testsuite_flags.in: Guard against the possibility
530	of having "xgcc" as a part of a folder name in the
531	path to the GCC build folder.
532	* testsuite/Makefile.am: Likewise.
533	* testsuite/Makefile.in: Regenerated.
534
5352003-04-24  Richard Sandiford  <rsandifo@redhat.com>
536
537	* src/localename.cc (__gnu_cxx::facet_vec): Correct types.
538
5392003-04-24  Benjamin Kosnik  <bkoz@redhat.com>
540
541	* config/locale/generic/c_locale.h: Fix placement for old parser.
542
5432003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
544
545	* config/locale/generic/c_locale.h (__convert_from_v): Use
546	attribute unused.
547
5482003-04-23  Phil Edwards  <pme@gcc.gnu.org>
549
550	* include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
551	Comment and change to comply with DR 60 and the effect on gcount().
552	* include/std/std_istream.h:  Update comments.
553
5542003-04-22  Loren J. Rittle  <ljrittle@acm.org>
555
556	* testsuite/27_io/filebuf_members.cc (test_07):  Adjust timing.
557
5582003-04-22  Jerry Quinn  <jlquinn@optonline.net>
559	    Benjamin Kosnik <bkoz at redhat dot com>
560
561	* include/bits/basic_ios.h (ios_base::Init::_S_ios_create):
562	Declare friend.
563	(basic_ios::init, basic_ios::_M_cache_locale): Add locale
564	cache argument.
565	* include/bits/basic_ios.tcc (basic_ios::init): Pass cache to
566	_M_cache_locale.
567	(basic_ios::_M_cache_locale): Use placement new if cache is
568	provided.  Track the distinction in iword(0).
569	* include/bits/locale_facets.tcc
570	(__locale_cache::_S_callback): Only delete cache if iword(0)
571	is 0, i.e. not static.
572	* src/globals.cc: Allocate space for __locale_cache objects.
573	* src/ios.cc (__gnu_cxx): Declare extern __locale_cache objects
574	for standard wide and narrow stream objects.
575	(ios_base::Init::_S_ios_create): Use them.
576
5772003-04-18  Loren J. Rittle  <ljrittle@acm.org>
578
579	* config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
580	when so installed.
581
582	* docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
583	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
584	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
585	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
586	* config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
587	New macro.
588	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
589	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
590	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
591	* include/c_std/std_cstdlib.h: Use new macros.
592	* include/c_std/std_cstdio.h: Use new macros.
593	* include/c_std/std_cwchar.h: Use new macros.
594
5952003-04-17  Benjamin Kosnik  <bkoz@redhat.com>
596
597	PR libstdc++/9555
598	* include/bits/ostream.tcc: Catch all exceptions for formatted
599	output, instead of std::exception and derivatives.
600	* include/bits/istream.tcc: Same.
601
6022003-04-17  Andreas Tobler  <toa@pop.agri.ch>
603	    Benjamin Kosnik  <bkoz@redhat.com>
604
605	* config/os/generic/ctype_inline.h: Fix.
606
6072003-04-17  Andreas Tobler  <toa@pop.agri.ch>
608
609	* configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
610	solaris includes, not generic.
611
6122003-04-15  Benjamin Kosnik  <bkoz@redhat.com>
613	    Paolo Carlini  <pcarlini@unitus.it>
614
615	PR libstdc++/9423
616	* docs/html/27_io/howto.html
617	('The buffering is screwing up my program!'): Explain that
618	opening counts as an I/O operation.
619
6202003-04-15  Andreas Tobler  <a.tobler@schweiz.ch>
621
622	* testsuite/thread/pthread1.cc: Enable for darwin test.
623	* testsuite/thread/pthread2.cc: Same.
624	* testsuite/thread/pthread3.cc: Same.
625	* testsuite/thread/pthread4.cc: Same.
626	* testsuite/thread/pthread5.cc: Same.
627	* testsuite/thread/pthread6.cc: Same.
628
6292003-04-15  Loren J. Rittle  <ljrittle@acm.org>
630
631	* include/bits/concept_check.h: Fix multi-line comment.
632	* testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
633	when target is *-*-freebsd*.
634
635	libstdc++/7680
636	* include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
637	Populate it with multiple legal ways to obtain the C99 float
638	transcendentals.  Use them instead of direct global reference.
639	(C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
640	* docs/html/17_intro/porting.texi
641	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
642	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
643	(_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
644	* config/os/bsd/freebsd/os_defines.h
645	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
646	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
647	* testsuite/26_numerics/c_math_dynamic.cc: New file.
648
649	* testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
650
6512003-04-14  M. Warner Losh  <imp@bsdimp.com>
652
653	* include/std/std_fstream.h: Add required typename.
654
6552003-04-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
656
657	* os/hpux/ctype_inline.h: Replace with gnu-linux version.
658
6592003-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
660
661	* basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
662	twice.  Always set _M_cfile to 0 when stream was open.
663
6642003-04-04  Jerry Quinn  <jlquinn@optonline.net>
665
666	PR libstdc++/10276
667	* src/ios.cc (ios_base::_M_init): Remove _M_callbacks
668	initialization.
669
6702003-03-31  Paolo Carlini  <pcarlini@unitus.it>
671
672	* include/ext/stdio_filebuf.h
673	(stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
674	stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
675	_M_buf_size_opt == 0 means only "not to use an allocated buffer"
676	since a stack-based buffer is used for small values of the size_t
677	parameter.
678	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
679	If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
680	* testsuite/ext/stdio_filebuf_2.cc: New testfile.
681
6822003-03-25  Paolo Carlini  <pcarlini@unitus.it>
683	    Petur Runolfsson  <peturr02@ru.is>
684
685	PR libstdc++/10097
686	* src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
687	basic_filebuf<wchar_t>::_M_underflow_common):
688	if (gptr() < egptr()) return *gptr().
689	* testsuite/27_io/filebuf_virtuals.cc (test15): Add.
690
691	* testsuite/27_io/filebuf_members.cc (test_04): Minor
692	changes: unlink fifo before making it, fix spelling error.
693
6942003-03-22  Loren J. Rittle  <ljrittle@acm.org>
695
696	* config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
697	Correct return value.
698
6992003-03-21  Jerry Quinn  <jlquinn@optonline.net>
700
701	PR libstdc++/5730
702	* include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
703	* include/std/std_complex.h (norm):  Use faster,
704	less accurate computation for builtin float types under --fast-math.
705
7062003-03-21  Paolo Carlini  <pcarlini@unitus.it>
707
708	PR libstdc++/10167
709	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
710	(do_out, do_unshift, do_in): qualify 'ok', 'error', 'partial',
711	'noconv' with codecvt_base::.
712
7132003-03-19  Alexandre Oliva  <aoliva@redhat.com>
714
715	* src/strstream.cc (strstreambuf::overflow): Make sure operands of
716	min and max have the same type.
717	* include/bits/basic_string.tcc (append, rfind, compare): Likewise.
718
7192003-03-17  Benjamin Kosnik  <bkoz@redhat.com>
720
721	* testsuite/Makefile.am (CLEANFILES): Add tmp*.
722	* testsuite/Makefile.in: Regenerate.
723	* testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
724	Cleanups.
725
7262003-03-17  Petur Runolfsson  <peturr02@ru.is>
727
728	PR libstdc++/9964
729	* include/bits/fstream.tcc (basic_filebuf::close):
730	Always close file, even when write fails.
731	* testsuite/27_io/filebuf_members.cc (test_07):  New test.
732
7332003-03-17  Danny Smith  <dannysmith@users.sourceforge.net>
734
735	* libsupc++/Makefile.am (LTCOMPILE): Add $(AM_CFLAGS) $(CFLAGS).
736	* libsupc++/Makefile.in: Regenerate.
737
7382003-03-09  Paolo Carlini  <pcarlini@unitus.it>
739
740	PR libstdc++/9988
741	* include/bits/fstream.tcc (overflow): don't write EOF to file.
742	* testsuite/27_io/filebuf_virtuals.cc (test14): Add.
743
7442003-03-09  Paolo Carlini <pcarlini@unitus.it>
745	    Petur Runolfsson  <peturr02@ru.is>
746
747	PR libstdc++/9424
748	* include/bits/streambuf.tcc (__copy_streambufs): Use
749	sgetn-sputn only when sputn cannot fail, otherwise fall back
750	to safe snextc-sputc.
751	* testsuite/27_io/streambuf_members.cc (test11, test12): Add.
752
7532003-03-08  Jerry Quinn  <jlquinn@optonline.net>
754
755	PR libstdc++/9561
756	* include/bits/basic_ios.h (_M_setstate): New.
757	* include/bits/ostream.tcc (operator<<): Use it.
758	* include/bits/istream.tcc (operator>>): Use it.
759	* include/std/std_ostream.h (operator<<): Make friends.
760	* include/std/std_istream.h (operator>>): Make friends.
761	* testsuite/27_io/ostream_exception.cc,
762	testsuite/27_io/istream_exception.cc: New tests.
763
7642003-03-08  Paolo Carlini  <pcarlini@unitus.it>
765
766	PR libstdc++/9182
767	* include/bits/fstream.tcc (_M_really_overflow): Check
768	for _M_convert_to_external possible failures.
769	* include/std/std_fstream.h (sync): Check _M_really_overflow
770	return value and return -1 in case of failure.
771	* testsuite/27_io/filebuf_virtuals.cc (test12, test13): Add.
772
773	* include/bits/fstream.tcc (_M_convert_to_external):
774	Set __elen to zero if codecvt::out eventually fails.
775
7762003-03-08  Paolo Carlini  <pcarlini@unitus.it>
777
778	PR libstdc++/9826
779	* include/bits/istream.tcc (operator>>(_CharT*),
780	operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
781	* testsuite/27_io/stringstream.cc (test02): Add.
782
783	* include/bits/istream.tcc (operator>>(_CharT*)):
784	Assign a char_type to *__s.
785
7862003-03-08  Jerry Quinn  <jlquinn@optonline.net>
787
788	* src/ios.cc (ios_base::ios_base): Correct order of _M_word and
789	_M_word_size initialization.
790
7912003-03-07  Benjamin Kosnik  <bkoz@redhat.com>
792
793	* config/linker-map.gnu: Tweak.
794
7952003-03-07  Petur Runolfsson  <peturr02@ru.is>
796
797	PR libstdc++/9817
798	* include/bits/locale_facets.tcc
799	(collate::do_compare, collate::do_transform):
800	Handle nul characters in input.
801
8022003-03-07  Jerry Quinn  <jlquinn@tiamat>
803
804	* include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
805	sputn fails.
806	* testsuite/27_io/ostream_fail.cc: New test.
807
8082003-03-07  Matthias Klose  <doko@debian.org>
809
810	* Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
811	FLAGS_TO_PASS: Set to AM_MAKEFLAGS
812	* Makefile.in: Regenerate.
813	* libsupc++/Makefile.am: Express glibcppinstalldir in terms
814	of gxx_include_dir.
815	AM_MAKEFLAGS: Pass gxx_include_dir.
816	* libsupc++/Makefile.in: Regenerate.
817
8182003-03-06  Jerry Quinn  <jlquinn@optonline.net>
819
820	* src/ios.cc (ios_base::_M_init): Remove _M_word_size.
821	(ios_base::ios_base): Set _M_word, _M_word_size.
822	(ios_base::~ios_base): Remove redundant test.
823	* testsuite/27_io/ios_base_storage.cc (test03): New.
824
8252003-03-05  Jerry Quinn  <jlquinn@optonline.net>
826
827	* testsuite/27_io/ios_base_storage.cc (test02): Set exception
828	mask.  Test setting small-numbered pword and iword slots.  Test
829	behavior at limit of numeric_limits::max.  Check that values are
830	still good after failures.
831
8322003-03-05  Carlo Wood  <carlo@alinoe.com>
833
834	* include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
835	_S_initialized() in order to allow debugging libraries to detect
836	when the std streams are initialized from an overloaded operator
837	new.
838
8392003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
840
841	* config/linker-map.gnu: Version.
842
8432003-03-04  Jerry Quinn  <jlquinn@optonline.net>
844
845	* include/bits/basic_ios.h:  Update copyright.
846	(_M_cache_locale): New.
847	(_M_cache_facets): Deprecate.
848	* include/bits/basic_ios.tcc (basic_ios::copyfmt): Set up locale
849	caching.
850	(basic_ios::imbue,basic_ios::init): Use _M_cache_locale.
851	(basic_ios::_M_cache_locale): New.
852	(basic_ios::_M_cache_facets): Deprecate.
853	* include/bits/ios_base.h (__locale_cache_base): Declare.
854	(ios_base::_M_cache): Define.
855	* include/bits/locale_facets.h
856	(__locale_cache_base,__locale_cache<_CharT>): New classes.
857	* include/bits/locale_facets.tcc
858	(num_put::_M_convert_int): Use locale cache literal string,
859	grouping flag, thousands separator.
860	(num_out::_M_convert_float): Use locale cache grouping flag, decimal
861	point, thousands separator.
862	(__locale_cache<_CharT>::_M_init,__locale_cache<_CharT>::_S_callback):
863	New.
864	* src/locale-inst.cc
865	(__locale_cache<_CharT>::_S_callback, __locale_cache<char>,
866	__locale_cache<wchar_t>): New.
867
8682003-03-04  Jerry Quinn  <jlquinn@optonline.net>
869
870	* src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
871	new failure.  Throw exception if badbit and exception mask when ix
872	>= numeric_limits<int>::max().
873
8742003-03-03  Benjamin Kosnik  <benjamin@redhat.com>
875
876	* config/linker-map.gnu (GLIBCPP_3.2.3): New.
877	Add new symbols.
878	* testsuite/abi_check.cc: Update.
879
8802003-03-03 Jerry Quinn  <jlquinn@optonline.net>
881	   Benjamin Kosnik  <benjamin@redhat.com>
882
883	* include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
884	Add indexes into this array.
885	(__num_base::_S_atoms): To _S_atoms_in.
886	(num_put::_M_insert): Rename to _M_pad.
887	(num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
888	(num_put::_M_widen_int): Rename to _M_group_int.
889	(num_put::_M_widen_float): Rename to _M_group_float.
890	* include/bits/locale_facets.tcc (__int_to_char): New inline
891	function and adapter functions.
892	(num_put::_M_group_int): Streamline.
893	(num_put::_M_group_float): Streamline.
894	(num_put::_M_convert_int): Remove unused parameter names. Choose
895	large enough buffer for text.  Use __int_to_char instead of
896	__convert_from_v.  Formatted text is now at the end of the buffer.
897	(num_put::_M_convert_float): Preliminary fixups.
898	* src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
899	(__int_to_char<unsigned long long>): Same.
900	(__int_to_char<char, unsigned long>): New.
901	(__int_to_char<char, unsigned long long>): New.
902	(__int_to_char<wchar_t, unsigned long>): New.
903	(__int_to_char<wchar_t, unsigned long long>): New.
904	* src/locale.cc: Add _S_atoms_in, _S_atoms_out.
905
9062003-02-28  Benjamin Kosnik  <bkoz@redhat.com>
907
908	* testsuite/27_io/ios_base_storage.cc (main): Call
909	set_memory_limits.
910
9112003-02-28  Brad Spencer  <spencer@infointeractive.com>
912	    Nathan Myers  <ncm@cantrip.org>
913
914	* src/Makefile.am (stamp-debug): Clean.
915	* src/Makefile.in: Regenerate.
916
9172002-02-28  Loren J. Rittle  <ljrittle@acm.org>
918
919	* src/Makefile.am: Resolve non-portable use of $<.
920	* src/Makefile.in: Rebuilt.
921
9222002-02-28  Phil Edwards  <pme@gcc.gnu.org>
923
924	* configure.in (GLIBCPP_ENABLE_CXX_FLAGS):  Do not pass arguments,
925	let the defaults work.
926	* configure:  Regenerate.
927
9282002-02-28  Phil Edwards  <pme@gcc.gnu.org>
929
930	* acinclude.m4:  Remove trailing whitespace.
931	(GLIBCPP_ENABLE_CXX_FLAGS):  Fix.
932	* aclocal.m4, configure:  Regenerate.
933
9342003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
935
936	* configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
937	Call GLIBCPP_ENABLE_DEBUG_FLAGS.
938	* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
939	conditional if --enable-debug is yes. Rework.
940	(GLIBCPP_ENABLE_DEBUG_FLAGS): New.
941	* aclocal.m4: Regenerate.
942	* libio/Makefile.am: Remove DEBUG_FLAGS.
943	* libio/Makefile.in: Regenerate.
944	* libsupc++/Makefile.am: Remove DEBUG_FLAGS.
945	* libsupc++/Makefile.in: Regenerate.
946	* docs/html/configopts.html: Add docs for --enable-debug,
947	--enable-debug-flags.
948
9492003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
950
951	Correct dependency tracking, build warts.
952	* configure.in: Correct repeated AC_OUTPUT thrashing by
953	config-ml.in
954	* configure: Regenerate.
955	* include/Makefile.am (stamp-target): Stamp in top_builddir.
956	* include/Makefile.in: Regenerate.
957	* src/Makefile.am (codecvt_members.cc): New rule.
958	(collate_members.cc): Same.
959	(ctype_members.cc): Same.
960	(messages_members.cc): Same.
961	(monetary_members.cc): Same.
962	(numeric_members.cc): Same.
963	(time_members.cc): Same.
964	(c++locale.cc): Same.
965	(basic_file.cc): Same.
966	* src/Makefile.in: Regenerate.
967	* acinclude.m4 (CCTYPE_CHAR_CC): Remove.
968	(CCCODECVT_CC): Don't link, AC_SUBST.
969	(CCOLLATE_CC): Same.
970	(CCTYPE_CC): Same.
971	(CMESSAGES_CC): Same.
972	(CMONEY_CC): Same.
973	(CNUMERIC_CC): Same.
974	(CTIME_CC): Same.
975	(CLOCALE_CC): Same.
976	* aclocal.m4: Regenerate.
977
978	* src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
979	for convenience libraries.
980	(version_arg): Rename linker.map to libstdc++.ver.
981	(libstdc___la_DEPENDENCIES): Remove linker.map, add
982	libstdc++-symbol.ver as a dependency.
983	(libstdc++-symbol.ver): Add rule.
984	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
985	SYMVER_MAP. Don't link, AC_SUBST.
986
987	* include/Makefile.am (target_headers_noinst): New.
988	(stamp-target): Add CLOCALE_INTERNAL_H.
989	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
990	CLOCALE_INTERNAL_H, AC_SUBST.
991	* config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
992	include.
993	* config/locale/gnu/time_members.cc: Same.
994	* config/locale/gnu/numeric_members.cc: Same.
995	* config/locale/gnu/monetary_members.cc: Same.
996	* config/locale/gnu/messages_members.cc: Same.
997	* config/locale/gnu/ctype_members.cc: Same.
998	* config/locale/gnu/collate_members.cc: Same.
999	* config/locale/gnu/codecvt_members.cc: Same.
1000	* config/locale/generic/codecvt_members.cc: Remove.
1001
10022003-02-27  Jerry Quinn  <jlquinn@optonline.net>
1003
1004	* config/locale/generic/messages_members.h (messages::messages):
1005	Remove name from unused parameter.
1006
10072003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1008
1009	* include/Makefile.am (stamp-std-precompile): Add rule.
1010	* include/Makefile.in: Regenerated.
1011
10122003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1013
1014	* include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
1015	* include/bits/basic_ios.tcc: Guard use of extern template.
1016	* include/std/std_iomanip.h: Same.
1017	* include/bits/streambuf.tcc: Same.
1018	* include/bits/stl_alloc.h: Same.
1019	* include/bits/locale_facets.tcc: Same.
1020	* include/bits/ostream.tcc: Same.
1021	* include/bits/istream.tcc: Same.
1022	* include/bits/fstream.tcc: Same.
1023	* include/bits/basic_string.tcc: Same.
1024
10252003-02-25  Paolo Carlini  <pcarlini@unitus.it>
1026
1027	PR libstdc++/9825
1028	* src/fstream.cc
1029	(basic_filebuf<char/wchar_t>::_M_underflow_common): When
1030	__bump is true (uflow), always increment the read pointer
1031	(_M_in_cur) before returning successfully.
1032	* testsuite/27_io/filebuf_virtuals.cc (test11): Add.
1033
10342003-02-25  Paolo Carlini  <pcarlini@unitus.it>
1035
1036	* include/std/std_sstream.h (str()): the size of the
1037	current string may be different from the initial one
1038	whenever _M_out_end > _M_out_beg.
1039	* testsuite/27_io/stringbuf_members.cc (test07): Add.
1040
10412003-02-21  Phil Edwards  <pme@gcc.gnu.org>
1042
1043	* config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
1044	(_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
1045	(_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
1046	when we don't have static mutex initialization.
1047	(__exchange_and_add):  Use _Atomic_add_mutex_once.
1048	* src/misc-inst.cc:  Definitions of all the above.
1049	* config/linker-map.gnu:  Also export locking symbols needed for the
1050	generic atomicity.h case.
1051
10522003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1053
1054	* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1055	config.status.
1056	* configure: Rebuilt.
1057
10582003-02-19  Phil Edwards  <pme@gcc.gnu.org>
1059
1060	PR libstdc++/9582
1061	* include/bits/stl_alloc.h:  Remove all traces of assert().
1062
10632003-02-18  Paolo Carlini  <pcarlini@unitus.it>
1064
1065	PR libstdc++/9582
1066	* include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
1067
10682003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1069
1070	* src/locale-inst.cc: Do not include <cassert>.
1071	* src/locale.cc: Likewise.
1072
10732003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1074
1075	PR libstdc++/9169
1076	* include/bits/fstream.tcc (_M_convert_to_external):
1077	Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
1078	* testsuite/27_io/filebuf_virtuals.cc (test10): Add.
1079
10802003-02-13  Paolo Carlini  <pcarlini@unitus.it>
1081
1082	* include/bits/ostream.tcc (sentry::sentry): Improve
1083	performance-wise the fix for libstdc++/9563.
1084
10852003-02-13  Paolo Carlini  <pcarlini@unitus.it>
1086
1087	PR libstdc++/9320
1088	* include/ext/stdio_filebuf.h
1089	(stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
1090	stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
1091	Change to take a __size parameter of type size_t, not
1092	of type (template parameter dependent) int_type.
1093	* src/ios.cc (ios_base::Init::_S_ios_create): Change type of
1094	size vars to size_t.
1095	* testsuite/ext/stdio_filebuf.cc: Add.
1096
10972003-02-12  Paolo Carlini  <pcarlini@unitus.it>
1098
1099	PR libstdc++/9563
1100	* include/bits/ostream.tcc (sentry::sentry): Check
1101	the state of the stream after the preparation.
1102	* testsuite/27_io/ostream_sentry.cc: Add.
1103
11042003-02-11  Scott Snyder  <snyder@fnal.gov>
1105
1106	PR libstdc++/9659
1107	* include/bits/fstream.tcc (seekoff): Avoid operator+
1108	for pos_type.
1109
11102003-02-11  Paolo Carlini  <pcarlini@unitus.it>
1111	    Petur Runolfsson  <peturr02@ru.is>
1112
1113	PR libstdc++/9318
1114	* include/bits/streambuf.tcc (__copy_streambufs):
1115	Don't conditionalize the copy to __testput.
1116	* testsuite/27_io/streambuf_members.cc (test09, test10): Add.
1117
11182003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1119
1120	* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
1121	Correct alignment.
1122	(__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
1123	lock.
1124
11252003-02-07  Paolo Carlini  <pcarlini@unitus.it>
1126
1127	PR libstdc++/9548
1128	Implement resolution of DR 231 (Ready)
1129	* include/bits/locale_facets.h (__num_base::_S_format_float):
1130	Return void.
1131	* src/locale.cc (__num_base::_S_format_float): Implement
1132	resolution of DR 231.
1133	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
1134	Tweak uses. Check for negative precision.
1135	* testsuite/22_locale/num_put_members_char.cc (test06): Add
1136	* testsuite/22_locale/num_put_members_wchar_t.cc (test06): Ditto.
1137
11382003-02-07  Paolo Carlini  <pcarlini@unitus.it>
1139
1140	* testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
1141	unsigned char platforms.
1142
11432003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1144
1145	* include/bits/locale_facets.tcc (time_put::do_put): Use __write.
1146	(money_put::do_put): Same.
1147
11482003-02-05  Jerry Quinn  <jlquinn@optonline.net>
1149
1150	* include/bits/ios_base.h (ios_base): Document reserved storage.
1151
1152	* include/bits/locale_facets.h:	(struct __pad): Comment on
1153	implementation.
1154	(__verify_grouping): Same.
1155	(__add_grouping): Same.
1156	* include/bits/locale_facets.tcc (__verify_grouping): Move
1157	comments to declaration.
1158	(__add_grouping): Same.
1159
1160	* include/bits/locale_facets.tcc:
1161	(__write<_CharT, _OutIter>): New function.
1162	(__write<_CharT>): New function specialization.
1163	(num_put::_M_insert): Remove explicit loop over iterator.  Use
1164	__write.
1165	(num_put::_M_widen_float): Remove __basefield.
1166	(num_put::_M_widen_int): Move __basefield to within grouping block.
1167
1168	* include/bits/streambuf_iterator.h: Include <streambuf>.
1169	(ostreambuf_iterator::_M_put): Add.
1170
11712003-02-05  Paolo Carlini  <pcarlini@unitus.it>
1172
1173	* testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
1174
11752003-02-05  Paolo Carlini  <pcarlini@unitus.it>
1176
1177	PR libstdc++/9439, PR libstdc++/9425
1178	* config/io/basic_file_stdio.cc
1179	(__basic_file<char>::seekoff, seekpos): Return -1L if
1180	fseek fails.
1181	* include/bits/fstream.tcc (basic_filebuf::seekoff):
1182	Check _M_file.seekoff return value; always return
1183	pos_type(off_type(-1)) in case of failure.
1184	(basic_filebuf::pbackfail): Check this->seekoff return
1185	value and return traits_type::eof() in case of failure.
1186	* testsuite/27_io/filebuf_virtuals.cc (test09): Add.
1187
11882003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1189
1190	* testsuite/26_numerics/valarray_name_lookup.cc: Fix.
1191
11922003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1193
1194	* configure.in (libtool_VERSION): To 5:3:0.
1195	* configure: Regenerated.
1196
11972003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1198
1199	PR libstdc++/9538
1200	* include/bits/streambuf.tcc (sputbackc): Access
1201	this->gptr()[-1] only if _M_in_beg < _M_in_cur.
1202	* testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1203
12042003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1205
1206	PR libstdc++/9507
1207	* include/bits/fstream.tcc (open): If the 'ate' repositioning
1208	operation fails, calls close _and_ returns a null pointer
1209	to indicate failure (27.8.1.3,4).
1210	* testsuite/27_io/filebuf_members.cc (test_06): Add.
1211
12122003-02-04  Petur Runolfsson  <peturr02@ru.is>
1213
1214	* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
1215
12162003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
1217
1218	* docs/html/17_intro/porting.texi: Update to GFDL 1.2.
1219	* docs/html/17_intro/porting.html: Regenerate.
1220
12212003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
1222
1223	PR libstdc++/9234
1224	* include/bits/valarray_meta.h (_UnBase::operator[]): Apply unary
1225	operator.
1226
1227	* include/bits/valarray_meta.h (__not_equal_to): Use != instead of ==.
1228
1229	* testsuite/26_numerics/valarray_operators.cc: New test.
1230
12312003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
1232
1233	PR c++/9433
1234	* libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1235	with bases which are very ambiguous.
1236
12372003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
1238
1239	* src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1240	@EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1241	* libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1242	* src/Makefile.in: Regenerate.
1243	* libsupc++/Makefile.in: Regenerate.
1244
12452003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1246
1247	* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1248	$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1249	version_specific_libs is enabled.
1250	* aclocal.m4, configure: Rebuilt.
1251
12522003-01-26  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
1253
1254	* include/Makefile.am (install-data-local): Prepend
1255	$(DESTDIR) to destination paths in all (un)installation
1256	commands.  Use ${c_base_builddir} and ${std_builddir}
1257	as destination subdirectories to achieve consistency with
1258	preceding mkinstalldirs commands.  No effect because both
1259	variables contain "." only.
1260	* include/Makefile.in: Regenerate.
1261
12622003-01-23  Phil Edwards  <pme@gcc.gnu.org>
1263
1264	Bulk documentation merge (copy) from trunk.
1265	* docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
1266	docs/html/configopts.html, docs/html/debug.html,
1267	docs/html/documentation.html, docs/html/17_intro/howto.html,
1268	docs/html/19_diagnostics/howto.html, docs/html/ext/sgiexts.html:
1269	Merge from trunk.
1270
12712003-01-23  Petur Runolfsson  <peturr02@ru.is>
1272
1273	PR libstdc++/9322
1274	* include/std/std_streambuf.h
1275	(basic_streambuf::basic_streambuf,
1276	basic_streambuf::~basic_streambuf,
1277	basic_streambuf::getloc, basic_streambuf::imbue):
1278	Remove _M_buf_locale_init use.
1279	* include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
1280	* testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
1281	* testsuite/27_io/streambuf_members.cc (test08):  Add.
1282	* testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
1283
12842003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1285
1286	Revert include ordering.
1287	* config/locale/generic/c_locale.h: Add include guards.
1288	* config/locale/gnu/c_locale.h: Same.
1289	* include/bits/locale_classes.h: Remove cctype include.
1290	* include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1291	* include/std/std_fstream.h: Remove streambuf include.
1292	* include/std/std_sstream.h: Remove streambuf include.
1293
12942003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1295
1296	Match 3.2.0 ABI.
1297	* include/bits/stl_alloc.h: Revert.
1298
1299	* include/bits/codecvt.h: Revert.
1300	* config/locale/gnu/codecvt_members.cc: Revert.
1301	* src/codecvt.cc: Revert.
1302	* src/localename.cc: Revert.
1303
1304	* include/bits/ios_base.h (ios_base::~ios_base): Revert.
1305
1306	* config/linker-map.gnu: Mostly match 3_2-branch file.
1307
13082003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1309
1310	* include/bits/locale_facets.h: Move non-facet classes requiring
1311	<string> to...
1312	* include/bits/locale_classes.h: New.
1313	* include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1314	* include/bits/Makefile.in: Regenerate.
1315
1316	* include/bits/locale_facets.tcc (__convert_from_v): Move to...
1317	* config/locale/gnu/c_locale.h: ...here.
1318	* config/locale/generic/c_locale.h: Same.
1319
1320	* include/bits/locale_facets.tcc: Move declarations to...
1321	* include/bits/locale_facets.h: ...here.
1322	* include/bits/basic_ios.h: Tweak includes accordingly.
1323	* include/std/std_sstream.h: Add streambuf include.
1324	* include/std/std_fstream.h: Ditto.
1325	* include/std/std_locale.h: Add locale_classes.h include.
1326	* include/std/std_iosfwd.h: Tweak.
1327	* src/concept-inst.cc: Add iterator include.
1328
1329	* config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1330	bits as unexported in the future.
1331
13322003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1333
1334	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1335	GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1336	* aclocal.m4: Regenerate.
1337	* configure: Regenerate.
1338	* testsuite/Makefile.am (all-local): Add conditional rule to
1339	generate testsuite_wchar_t.
1340	* testsuite/Makefile.in: Regenerate.
1341	* testsuite/lib/libstdc++-v3-dg.exp
1342	(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1343	testsuite_wchar_t is not present in the build directory.
1344	* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1345	Remove setulimit bits.
1346	* testsuite/26_numerics/complex_value.cc: Set to noopts.
1347	* testsuite/Makefile.am (CLEANFILES): Add.
1348	* testsuite/Makefile.in: Regenerate.
1349
13502003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1351
1352	Renames, namespaces for testsuite utilities.
1353	* testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1354	(gnu_allocator_tracker): Rename to allocation_tracker.
1355	(gnu_new_allocator): Rename to tracker_alloc.
1356	(__set_testsuite_memlimit): Rename to set_memory_limits.
1357	(gnu_assignment_operator): Rename to assignment_operator.
1358	(gnu_destructor): Rename to destructor.
1359	(gnu_copy_tracker): Rename to copy_tracker.
1360	(gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1361	(run_tests_wrapped_locale): New.
1362	(run_tests_wrapped_env): New.
1363	* testsuite/testsuite_hooks.cc: Same.
1364	(class locale_data): Add.
1365	(class enviornment_variable): Add.
1366	(class not_found): Add.
1367	* testsuite/testsuite_allocator.h: Same.
1368	* testsuite/testsuite_allocator.cc: Same.
1369	* testsuite/23_containers/deque_ctor.cc
1370	(test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1371	allocation_tracker.
1372	Change gnu_new_allocator to tracker_alloc.
1373	Change gnu_counting_struct to counter.
1374	Change gnu_copy_tracker to copy_tracker.
1375	Change gnu_copy_constructor to copy_constructor.
1376	Change gnu_assignment_operator to assignment_operator.
1377	Inject.
1378	* testsuite/23_containers/vector_capacity.cc: Same.
1379	* testsuite/23_containers/vector_ctor.cc (test01): Same.
1380	* testsuite/23_containers/list_modifiers.cc: Change
1381	gnu_copy_tracker to copy_tracker.
1382	* testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1383	__set_testsuite_memlimit to set_memory_limits.
1384	* testsuite/21_strings/insert.cc (main): Same.
1385	* testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1386	* testsuite/27_io/stringstream.cc: Same.
1387	* testsuite/27_io/stringbuf.cc: Same.
1388	* testsuite/27_io/streambuf.cc: Same.
1389	* testsuite/27_io/ostream.cc: Same.
1390	* testsuite/27_io/istream.cc: Same.
1391	* testsuite/27_io/fstream.cc: Same.
1392	* testsuite/lib/libstdc++-v3-dg.exp
1393	(libstdc++-v3-list-sourcefiles): Additionally handle files two and
1394	three levels deeper in glob patterns.
1395
13962003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1397
1398	* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1399	__hppa__.
1400
14012003-01-10  Benjamin Kosnik  <bkoz@redhat.com>
1402	    Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
1403
1404	PR libstdc++/9269
1405	* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1406	(basic_filebuf::underflow): Declare.
1407	Move definitions.
1408
14092003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1410
1411	PR libstdc++/8707
1412	* Makefile.am (distclean-multi): Fix.
1413	* Makefile.in: Regenerate.
1414
14152003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
1416
1417	* include/bits/locale_facets.h (messages): Move ctor, dtor
1418	definitions to..
1419	(__timepunct): Same.
1420	* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1421	definitions. Conditionalize for GNU systems.
1422	* config/locale/generic/messages_members.h (messages): Add dtor, ctor
1423	definitions.
1424	* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1425	definitions. Conditionalize for GNU systems.
1426	* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1427	definitions.
1428	* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1429	* src/locale.cc: Define.
1430	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1431	Use it.
1432	* config/locale/gnu/time_members.h: Use it.
1433	* config/locale/gnu/messages_members.h: Use it.
1434	* config/linker-map.gnu: Add locale::facets details.
1435	* include/Makefile.am (target_headers_extra): Add time_members.h.
1436	* include/Makefile.in: Regenerate.
1437	* acinclude.m4: Export CTIME_H.
1438	* aclocal.m4: Regenerate.
1439	* configure: Regnerate.
1440
14412003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1442
1443	* src/codecvt.cc
1444	(codecvt<char, char, mbstate_t>::do_in, do_out):
1445	Tweak parameters to avoid unused parameter warnings.
1446
14472003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1448
1449	PR libstdc++/9151
1450	* include/bits/locale_facets.cc (num_put::_M_convert_float):
1451	Limit __prec to digits10 + 2, not digits10 + 1, taking into
1452	account the possibility of %{g,G} conversion specifiers
1453	inside _S_format_float.
1454	* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1455
14562003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1457
1458	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1459	libstdc++-v3-list-sourcefiles): Additionally handle files one
1460	level deeper in glob patterns.
1461
1462	* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1463	* testsuite/27_io/istream_extractor_arith/01.cc,
1464	testsuite/27_io/istream_extractor_arith/02.cc,
1465	testsuite/27_io/istream_extractor_arith/03.cc,
1466	testsuite/27_io/istream_extractor_arith/06.cc,
1467	testsuite/27_io/istream_extractor_arith/07.cc,
1468	testsuite/27_io/istream_extractor_arith/08.cc,
1469	testsuite/27_io/istream_extractor_arith/09.cc,
1470	testsuite/27_io/istream_extractor_arith/10.cc,
1471	testsuite/27_io/istream_extractor_arith/11.cc,
1472	testsuite/27_io/istream_extractor_arith/12.cc,
1473	testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1474	* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1475	sparc*-*-solaris2*.
1476
14772003-01-05  Paolo Carlini <pcarlini@unitus.it>
1478
1479	PR libstdc++/9168
1480	* src/codecvt.cc
1481	(codecvt<char, char, mbstate_t>::do_in, do_out):
1482	Implement the resolution of DR19 (TC).
1483	* testsuite/22_locale/codecvt_members_char_char.cc
1484	(test01): Tweak.
1485
14862002-12-29  Phil Edwards  <pme@gcc.gnu.org>
1487
1488	* include/std/std_bitset.h:  Better comments.
1489
14902002-12-29  Phil Edwards  <pme@gcc.gnu.org>
1491
1492	* include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
1493	_Base_bitset::_M_do_right_shift): Expect a non-zero shift.
1494	(bitset::operator<<=, bitset::operator>>=):  When shifting more bits
1495	than are in the bitset, zero memory rather than segfault.
1496	(operator>>(basic_istream,bitset):  Only call setstate once, after
1497	all work has been done.
1498
1499	* testsuite/23_containers/bitset_members.cc (test03):  New test.
1500	* testsuite/23_containers/bitset_shift.cc (test02):  New test.
1501
15022002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
1503
1504	* docs/html/17_intro/porting.texi: Use @copying.
1505	* docs/html/17_intro/porting.html: Regenerate.
1506
15072002-12-23  Danny Smith  <dannysmith@users.sourceforge.net>
1508
1509	* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode):
1510	Don't use O_NONBLOCK if it is not defined.
1511	(__basic_file::open): Don't use fcntl either.
1512
15132002-12-19  Paolo Carlini  <pcarlini@unitus.it>
1514
1515	PR libstdc++/8949
1516	* include/std/std_limits.h
1517	(struct numeric_limits<short>,
1518	struct numeric_limits<unsigned short>,
1519	struct numeric_limits<int>,
1520	struct numeric_limits<unsigned int>,
1521	struct numeric_limits<long>,
1522	struct numeric_limits<unsigned long>,
1523	struct numeric_limits<long long>,
1524	struct numeric_limits<unsigned long long>): According
1525	to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
1526	* testsuite/18_support/numeric_limits.cc: Add test04.
1527
15282002-12-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1529
1530	* testsuite/23_containers/vector_capacity.cc (test03): Move ...
1531	* testsuite/23_containers/vector_resize.cc: ...here as a new file.
1532	Pass in -lmalloc for irix6.
1533	* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
1534
15352002-12-11  Paolo Carlini  <pcarlini@unitus.it>
1536
1537	PR libstdc++/8887
1538	* config/locale/generic/time_members.cc
1539	(__timepunct<char>::_M_initialize_timepunct): Fix typos
1540	in _M_date_format and _M_date_era_format string literals.
1541
15422002-12-10  Mark Mitchell  <mark@codesourcery.com>
1543
1544	* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
1545	(__cxa_bad_typeid): Likewise.
1546	(__cxa_atexit): Likewise.
1547	(__cxa_finalize): Likewise.
1548
15492002-12-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1550
1551	* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
1552
15532002-12-09  Mark Mitchell  <mark@codesourcery.com>
1554
1555	* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
1556
15572002-12-05  Benjamin Kosnik  <bkoz@redhat.com>
1558
1559	* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
1560
15612002-12-02  Paolo Carlini  <pcarlini@unitus.it>
1562
1563	* include/bits/basic_string.h (compare(const basic_string&)):
1564	Fully qualify min() with std::.
1565
15662002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
1567
1568	* configure.in (libtool_VERSION): Update to 5:2:0.
1569	* configure: Regenerate.
1570
15712002-12-02  Paolo Carlini  <pcarlini@unitus.it>
1572
1573	* include/bits/basic_string.tcc
1574	(basic_string::append(const basic_string&, size_type,
1575	size_type), basic_string::compare(size_type, size_type,
1576	const basic_string&), basic_string::compare(size_type,
1577	size_type, const basic_string&, size_type, size_type),
1578	basic_string::compare(const _CharT*), basic_string::
1579	compare(size_type, size_type, const _CharT*),
1580	basic_string::compare(size_type, size_type, const _CharT*,
1581	size_type), _S_string_copy(const basic_string&, _CharT*,
1582	typename _Alloc::size_type)): Fully qualify min() with std::.
1583
15842002-12-02  Paolo Carlini  <pcarlini@unitus.it>
1585
1586	* include/bits/basic_string.tcc
1587	(basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
1588	forward_iterator_tag)): Delay the declaration of __dnew,
1589	fully qualify distance() with std::.
1590	(basic_string::_M_replace_safe): Fully qualify distance()
1591	with std::.
1592
15932002-11-28  Phil Edwards  <pme@gcc.gnu.org>
1594
1595	PR libstdc++/8716
1596	* testsuite/21_strings/ctor_copy_dtor.cc (test05):  Also test
1597	the NULL-pointer, zero-size case.
1598
15992002-11-28  Jonathan Wakely  <redi@gcc.gnu.org>
1600
1601	* docs/html/faq/index.html: Add tip about a namespace for extensions.
1602
16032002-11-28  Paolo Carlini  <pcarlini@unitus.it>
1604	    Nathan Myers  <ncm@cantrip.org>
1605
1606	* src/localename.cc
1607	(locale::_Impl::_Impl(const char*, size_t)):
1608	Improve previous fix for the strtok vs MT issue.
1609
16102002-11-28  Paolo Carlini  <pcarlini@unitus.it>
1611
1612	* config/locale/gnu/c_locale.cc (locale::_S_categories):
1613	Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
1614	* config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
1615	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
1616
16172002-11-25  Benjamin Kosnik  <bkoz@redhat.com>
1618
1619	* testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
1620	* config/linker-map.gnu: Version __cxa_guard_acquire,
1621	__cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
1622
16232002-11-25  Paolo Carlini  <pcarlini@unitus.it>
1624	    Nathan Myers  <ncm@cantrip.org>
1625
1626	* src/localename.cc
1627	(locale::_Impl::_Impl(const char*, size_t)):
1628	Avoid strtok for thread safety.
1629
16302002-11-25  Stephen M. Webb  <stephen@bregmasoft.com>
1631
1632	* testsuite/testsuite_allocator.h: New file.
1633	* testsuite/testsuite_allocator.cc: New file.
1634	* testsuite/Makefile.am: Added testsuite_allocator to test library.
1635	* testsuite/testsuite_hooks.h: Added more detailed tracker objects
1636	gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
1637	* testsuite/testsuite_hooks.cc: Added new static objects definitions.
1638	* testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
1639	* testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
1640	* testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
1641
16422002-11-25  Mark Mitchell  <mark@codesourcery.com>
1643
1644	* libsupc++/Makefile.am (sources): Add guard.cc.
1645	* libsupc++/Makefile.in: Regenerated.
1646	* libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
1647	(__cxa_guard_release): Likewise.
1648	(__cxa_guard_abort): Likewise.
1649	* libsupc++/guard.cc: New file.
1650
16512002-11-25  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
1652
1653	* include/std/std_complex.h
1654	(operator<<(basic_ostream&, const complex&)): Prefer 'x'
1655	to "x" for efficiency sake.
1656	* src/locale.cc (locale::locale(const char*)): Ditto.
1657
16582002-11-24  Paolo Carlini  <pcarlini@unitus.it>
1659
1660	* src/locale.cc (locale::locale(const char*)):
1661	Trivial cosmetic tweaks.
1662
16632002-11-22  Laszlo Ersek  <erseklaszlo@chello.hu>
1664	    Paolo Carlini  <pcarlini@unitus.it>
1665
1666	PR libstdc++/8645
1667	* include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
1668	Don't check that __w->_M_left != 0 and __w->_M_right != 0
1669	when they can't be otherwise.
1670
16712002-11-21  Phil Edwards  <pme@gcc.gnu.org>
1672
1673	* docs/html/documentation.html:  Fix broken/thinko'd URL.
1674
16752002-11-21  Phil Edwards  <pme@gcc.gnu.org>
1676
1677	* docs/doxygen/run_doxygen:  Tighter search expression for sed.
1678	* docs/doxygen/stdheader.cc:  Handle the case of good headers.
1679
16802002-11-21  Phil Edwards  <pme@gcc.gnu.org>
1681
1682	* acinclude.m4:  Uniform formatting.
1683	* configure.in:  Warn when generic atomicity.h is used.
1684	* configure.target:  Fix comment.
1685	* aclocal.m4, configure:  Regenerate.
1686
16872002-11-21  Phil Edwards  <pme@gcc.gnu.org>
1688
1689	* include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
1690	"this->" to call to pbackfail.
1691
16922002-11-21  Phil Edwards  <pme@gcc.gnu.org>
1693
1694	* docs/doxygen/style.css:  Update.
1695	* docs/doxygen/user.cfg.in:  Update.
1696	* docs/html/documentation.html:  Regenerate.
1697	* docs/html/17_intro/howto.html:  Tweak I/O sentry entry.
1698	* docs/html/27_io/howto.html:  New section on headers.
1699	* docs/html/faq/index.html:  Add i386 threading entry.
1700	* docs/html/faq/index.txt:  Regenerate.
1701
1702	* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1703	Import R23.
1704
17052002-11-21  Phil Edwards  <pme@gcc.gnu.org>
1706
1707	* docs/doxygen/TODO:  Note change in clause 27 docs.
1708	* include/bits/basic_ios.h, include/bits/fpos.h,
1709	include/bits/ios_base.h, include/bits/stl_deque.h,
1710	include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
1711	include/std/std_iomanip.h, include/std/std_iosfwd.h,
1712	include/std/std_iostream.h, include/std/std_istream.h,
1713	include/std/std_ostream.h, include/std/std_sstream.h,
1714	include/std/std_streambuf.h:  Doxygenate all I/O entities.
1715
17162002-11-20  Benjamin Kosnik  <bkoz@redhat.com>
1717	    Jonathan Lennox  <lennox@cs.columbia.edu>
1718
1719	* include/bits/streambuf.tcc (__copy_streambufs):
1720	Revert previous fix for the interactive half of
1721	libstdc++/6745, use _M_buf_size_opt to set dynamically
1722	the correct buffer size.
1723
17242002-11-20  Jonathan Wakely  <redi@gcc.gnu.org>
1725
1726	* docs/html/21_strings/howto.html: Fix example code, cite Gaby's
1727	explanation of "<unknown type>" error with toupper/tolower.
1728	* docs/html/22_locale/howto.html: Be more consistent with
1729	example in 21_strings.
1730
17312002-11-19  John Gustafsson  <forgoil@rsn.bth.se>
1732
1733	* docs/html/20_util/howto.html: Fix typo.
1734
17352002-11-18  Jonathan Lennox  <lennox@cs.columbia.edu>
1736
1737	* include/bits/streambuf.tcc (__copy_streambufs): verify
1738	__sbin->gptr() + __bufsize < __sbin->egptr() before using.
1739	* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
1740	(test05): Use test_buffer_4.  Delete unused ostringstream
1741	variables.
1742
17432002-11-18  Paolo Carlini  <pcarlini@unitus.it>
1744
1745	PR libstdc++/6745 (continued)
1746	* include/bits/streambuf.tcc (__copy_streambufs):
1747	Deal with interactive input by using isatty as in the
1748	fix for libstdc++/8399.
1749
17502002-11-17  Jakub Jelinek  <jakub@redhat.com>
1751
1752	* config/linker-map.gnu: Export _S_construct even if size_t is
1753	unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
1754	and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
1755
17562002-11-15  Benjamin Kosnik  <bkoz@redhat.com>
1757	    Gabriel Dos Reis  <gdr@integrable-solutions.net>
1758
1759	PR libstdc++/8230
1760	* include/bits/stl_alloc.h: Use builtin_expect for the most
1761	obvious limit checks.
1762	(__default_alloc_template::allocate): Check for null, throw
1763	bad_alloc.
1764	* include/bits/vector.tcc: Formatting tweaks.
1765	* include/bits/stl_vector.h: Same.
1766	* testsuite/20_util/allocator_members.cc (test02): Add.
1767	* testsuite/23_containers/vector_capacity.cc (test03): Add.
1768
17692002-11-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1770
1771	* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
1772
17732002-11-15  Paolo Carlini  <pcarlini@unitus.it>
1774	    Loren J. Rittle  <ljrittle@acm.org>
1775
1776	PR libstdc++/8399
1777	* acinclude.m4
1778	(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
1779	check for unistd.h functions.
1780	(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
1781	in unistd.h.
1782	* configure.in: Call here.
1783	* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
1784	Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
1785	input __in_size = 1 even when sync_with_stdio is false;
1786	otherwise fall back to __in_size = 1.
1787	* aclocal.m4: Regenerate.
1788	* config.h.in: Regenerate.
1789	* configure: Regenerate.
1790
17912002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
1792
1793	* acconfig.h (HAVE_DRAND48): Add.
1794	(HAVE_GETPAGESIZE): Add.
1795	(HAVE_SETENV): Add.
1796	(HAVE_SIGSETJMP): Add.
1797	* config.h.in: Regenerate.
1798	* configure: Regenerate.
1799
18002002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1801
1802	* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
1803	on hppa when there is no weak support.
1804
18052002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
1806
1807	PR libstdc++/8230
1808	* include/bits/vector.tcc (vector::reserve): Throw length_error if
1809	requested size is bigger than max_size().
1810	* include/bits/stl_bvector.h (vector<bool>::reserve): Same.
1811	* testsuite/23_containers/vector_capacity.cc (test02): Add.
1812
18132002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
1814
1815	* config/linker-map.gnu: Export all _S_construct.
1816
18172002-11-13  Loren J. Rittle  <ljrittle@acm.org>
1818
1819	PR libstdc++/7445
1820	* src/locale.cc (std::locale::classic()): Weaken locking protocol.
1821
18222002-11-13  Jonathan Wakely  <redi@gcc.gnu.org>
1823
1824	* docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
1825
18262002-11-11  Benjamin Kosnik  <bkoz@redhat.com>
1827
1828	PR libstdc++/6746
1829	* include/bits/fstream.tcc (filebuf::open): Set input pointers.
1830	* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
1831	__p_mode as well.
1832	(__basic_file::open): Set to non-block for input.
1833	* testsuite/27_io/istream_unformatted.cc (test12): Add.
1834	(test13): Same.
1835
18362002-11-11  Jonathan Wakely <redi@gcc.gnu.org>
1837
1838	* docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
1839	* docs/html/faq/index.html: Mention that GCC ships with a newer
1840	version of the library than the last snapshot. Make "see below" a
1841	link. Add missing <html> tag.
1842	* docs/html/faq/index.txt: Regenerate.
1843	* docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1844	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1845	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1846	docs/html/27_io/howto.html, docs/html/ext/howto.html,
1847	docs/html/ext/sgiexts.html: Add missing <html> tag.
1848
18492002-11-07  Phil Edwards  <pme@gcc.gnu.org>
1850	    Richard Earnshaw  <rearnsha@arm.com>
1851
1852	* config/cpu/generic/atomicity.h:  Provide atomic __exchange_and_add
1853	and __atomic_add.
1854
18552002-11-08  Paolo Carlini  <pcarlini@unitus.it>
1856
1857	* config/locale/gnu/monetary_members.cc
1858	(moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
1859	const char*),
1860	moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
1861	const char*)): Tweak parameters for glibc2.3 systems, thus
1862	avoiding unused parameter warnings.
1863
18642002-11-05  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1865
1866	* include/std/std_sstream.h
1867	(basic_stringbuf::str(const __string_type&)):
1868	Prefer data() to c_str(), thus avoiding assigning the
1869	unnecessary NULL-terminator.
1870
18712002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
1872
1873	PR libstdc++/8258
1874	* include/bits/istream.tcc (istream::readsome): Don't set eofbit
1875	for null buffer.
1876	(istream::operator>>(_CharT*)): Use traits_type.
1877	(istream::ws): Same.
1878	(istream::operator>>(string)): Same.
1879	* testsuite/27_io/istream_unformatted.cc (test11): Add.
1880
18812002-11-05  Paolo Carlini  <pcarlini@unitus.it>
1882
1883	PR libstdc++/8466
1884	* include/std/std_sstream.h
1885	(basic_stringbuf::str(const __string_type&)):
1886	Cannot use simple assignment since the COW-nature of v3
1887	basic_string is not taken into account in basic_stringbuf.
1888	* testsuite/27_io/stringstream_members.cc: Add test04 from PR.
1889
18902002-11-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1891
1892	* configure.target (hppa*): Define cpu_include_dir.
1893	* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
1894	* src/misc-inst.cc: Instantiate atomicity lock when
1895	_GLIBCPP_INST_ATOMICITY_LOCK is defined.
1896	* config/cpu/hppa/atomicity.h: New file.
1897
18982002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
1899
1900	PR libstdc++/8463
1901	* include/bits/ios_base.h (~ios_base): Make virtual.
1902
19032002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
1904
1905	* config/linker-map.gnu: Export string operator+.
1906	Export __default_alloc_template::_S_force_new.
1907	* testsuite/abi_check.cc: Output tweaks.
1908
19092002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
1910
1911	PR libstdc++/8172
1912	* src/string-inst.cc: Add instantiation.
1913
19142002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
1915
1916	PR libstdc++/7926
1917	* configure.target: Simplify.
1918	* config/cpu/i386/atomicity.h: Remove.
1919	* config/cpu/i386: Remove.
1920	* config/cpu/arm/atomicity.h: Remove.
1921	* config/cpu/arm: Remove.
1922	* config/cpu/x86-64/atomicity.h: Remove.
1923	* config/cpu/x86-64: Remove.
1924
19252002-11-01  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
1926
1927	PR libstdc++/8197
1928	* config/link-map.gnu: Export math stubbs.
1929
19302002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
1931
1932	PR libstdc++/8318
1933	* include/std/std_iostream.h: Tweak.
1934	* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
1935	* include/std/std_iomanip.h: Same.
1936	* include/bits/stringfwd.h: Same.
1937	* include/bits/basic_string.tcc: Same.
1938	* include/bits/sstream.tcc: Same.
1939	* include/bits/fstream.tcc: Same.
1940	* include/bits/basic_ios.tcc: Same.
1941	* include/bits/streambuf.tcc: Same.
1942	* include/bits/locale_facets.tcc: Same.
1943
19442002-11-01  John Carter  <john.carter@tait.co.nz>
1945
1946	PR libstdc++/7961
1947	* include/bits/basic_string.tcc
1948	(compare(const _CharT* __s)): Don't access __s past its length.
1949
19502002-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1951
1952	PR libstdc++/8348
1953	* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
1954	(istream::seekg): Same.
1955	* testsuite/27_io/istream_seeks.cc (test06): New.
1956
19572002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
1958
1959	* testsuite/thread/pthread5.cc: Include <unistd.h>
1960	if _GLIBCPP_HAVE_UNISTD_H is defined.
1961	(main): Only use pthread_attr_setscope if
1962	_POSIX_THREAD_PRIORITY_SCHEDULING is defined.
1963
19642002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
1965
1966	* testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
1967	* testsuite/thread/pthread2.cc: Likewise.
1968	* testsuite/thread/pthread3.cc: Likewise.
1969	* testsuite/thread/pthread4.cc: Likewise.
1970	* testsuite/thread/pthread5.cc: Likewise.
1971	* testsuite/thread/pthread6.cc: Likewise.
1972
19732002-10-27  Paolo Carlini  <pcarlini@unitus.it>
1974
1975	PR libstdc++/8347
1976	* include/bits/basic_string.tcc
1977	(string::_S_construct(_InIter, _InIter, const _Alloc&,
1978	forward_iterator_tag)): Do not throw logic error if
1979	__beg == NULL && __end == __beg.
1980	(string::string(const _CharT*, const _Alloc&)): Tweak.
1981	* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
1982
19832002-10-24  Hans-Peter Nilsson  <hp@bitrange.com>
1984
1985	PR other/3337
1986	PR bootstrap/6763
1987	PR bootstrap/8122
1988	* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
1989	__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
1990
19912002-10-23  Jakub Jelinek  <jakub@redhat.com>
1992
1993	* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
1994	and decimal_point arguments of find.
1995	* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
1996
19972002-10-22  Jakub Jelinek  <jakub@redhat.com>
1998
1999	* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
2000	instead of ${top_srcdir}.
2001	* Makefile.in: Rebuilt.
2002
20032002-10-22  Loren J. Rittle  <ljrittle@acm.org>
2004
2005	* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2006	Remove specialization for FreeBSD systems.
2007
20082002-10-18  Loren J. Rittle  <ljrittle@acm.org>
2009
2010	* configure.target (freebsd*): Use abi_baseline_triplet.
2011	* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
2012	* config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
2013
2014	* testsuite/thread/pthread1.cc: Remove needless workaround
2015	for FreeBSD 5.
2016
20172002-10-18  Loren J. Rittle  <ljrittle@acm.org>
2018	    Brad Spencer  <spencer@infointeractive.com>
2019	    (provided alternate patch and improvements)
2020
2021	* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
2022	new environment variable which replaces all uses of __USE_MALLOC
2023	macro.
2024	* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
2025	(__mem_interface): Remove all references to old internal typedef.
2026	* include/backward/alloc.h (__USE_MALLOC): Remove it and all
2027	guarded code.
2028	* include/bits/c++config (__USE_MALLOC): Update related error
2029	message and comment.
2030	* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
2031	guarded code.  Update all related comments.
2032	(__mem_interface): Unconditionally replace it with __new_alloc.
2033	However, leave the typedef around in case anyone used it.
2034	(__default_alloc_template<>::_S_force_new): New class static.
2035	(__default_alloc_template<>::allocate, deallocate): Add
2036	run-time controlled feature similar to what __USE_MALLOC code
2037	path had provided.
2038	* src/stl-inst.cc (__USE_MALLOC): Remove it and all
2039	guarded code.
2040	* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
2041	Add documentation on GLIBCPP_FORCE_NEW environment variable.
2042	* testsuite/ext/allocators.cc: Likewise.
2043
20442002-10-18  Phil Edwards  <pme@gcc.gnu.org>
2045
2046	* configure.in:  Use target, not target_alias, when matching triplet
2047	patterns.
2048	* configure:  Regenerate.
2049
20502002-10-17  Momchil Velikov  <velco@fadata.bg>
2051	    Loren J. Rittle  <ljrittle@acm.org>
2052
2053	* configure.in: Add *-freebsd* to cross list.
2054	* configure: Rebuilt.
2055
20562002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
2057
2058	* include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
2059	_M_name_timepunct.
2060	(__timepunct::~__timepunct): Deallocate, remove specialization
2061	declarations.
2062	(messages::messages): Allocate _M_name_messages.
2063	(messages::~messages): Deallocate.
2064	(messages_byname): Same.
2065	* config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
2066	Remove.
2067	* config/locale/generic/time_members.cc (__timepunct::~__timepunct):
2068	Remove.
2069
2070	* docs/html/install.html: Add es_MX, en_PH to required locales list.
2071
20722002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
2073
2074	* config/linker-map.gnu: Add exports for codecvt constructors
2075	where size_t == unsigned long.
2076
20772002-10-14  Benjamin Kosnik  <bkoz@redhat.com>
2078
2079	* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
2080	c_locale_impl.
2081	* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
2082	* docs/html/abi.txt: Update.
2083
20842002-10-14  Benjamin Kosnik  <bkoz@redhat.com>
2085
2086	* testsuite/22_locale/static_members.cc (test02): Less provincial.
2087
20882002-10-14  Benjamin Kosnik  <bkoz@redhat.com>
2089
2090	* testsuite/22_locale/static_members.cc (test02): Disable for
2091	systems without named locale support.
2092	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
2093	running the testsuites in "C" environment.
2094	Add new tests.
2095	* docs/html/22_locale/locale.html: Update.
2096
20972002-10-13  Danny Smith  <dannysmith@users.sourceforge.net>
2098
2099	* include/bits/stl_threads.h (_GLIBCPP_mutex,
2100	_GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
2101	_GLIBCPP_mutex_address_init, _GLIBCPP_once):
2102	Declare in namespace __gnu_cxx.
2103	(_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
2104	names.
2105	Adjust copyright.
2106
21072002-10-12  Benjamin Kosnik  <bkoz@redhat.com>
2108
2109	* testsuite/abi_check.cc (hash<string>): Specialize.
2110	Simplify. Check compatible symbol versions.
2111	* config/linker-map.gnu: Clarify, explicitly export
2112	std::codecvt::c* symbols.
2113
2114	* testsuite/22_locale/static_members.cc (test02): Avoid null strings.
2115
21162002-10-12  Jonathan Wakely  <jw@kayari.org>
2117	    Gabriel Dos Reis  <gdr@integrable-solutions.net>
2118
2119	* docs/html/21_strings/howto.html#5:  Correct nasting of XHTML
2120	elements.  Correct allocator-related text.
2121
21222002-10-11  Benjamin Kosnik  <bkoz@redhat.com>
2123
2124	* testsuite/22_locale/static_members.cc (test02): Fix.
2125
21262002-10-11  Benjamin Kosnik  <bkoz@redhat.com>
2127
2128	* acconfig.h (_GLIBCPP_SYMVER): Add.
2129	(_GLIBCPP_ASM_SYMVER): Add.
2130	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
2131	* aclocal.m4: Regenerate.
2132	* config.h.in: Regenerate.
2133	* configure: Regenerate.
2134	* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
2135	hack around m4 issues with quoting '@'.
2136	* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
2137	* src/globals.cc: Same.
2138
2139	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
2140	non-glibc systems.
2141
21422002-10-10  Benjamin Kosnik  <bkoz@redhat.com>
2143
2144	* config/linker-map.gnu (GLIBCPP_3.2.1): Add.
2145	(GLIBCPP_3.2): Don't export locale::_S_*.
2146	* src/ios.cc: Move globals into __gnu_cxx. Make old exported
2147	symbols match.
2148	* src/locale.cc: Same.
2149	* src/localename.cc: Same.
2150	* src/globals.cc: Same.
2151
21522002-10-10  Phil Edwards  <pme@gcc.gnu.org>
2153
2154	* docs/html/21_strings/howto.html:  Write #5, char_traits.
2155	* docs/html/17_intro/porting.texi:  Expand on os_include_dir.
2156	* docs/html/17_intro/porting.html:  Regenerate.
2157
21582002-10-09  Benjamin Kosnik  <bkoz@redhat.com>
2159
2160	* src/locale.cc: Fix comments, move ctors together.
2161	* testsuite/22_locale/static_members.cc (test03): Add.
2162
21632002-10-08  Jonathan Lennox  <lennox@cs.columbia.edu>
2164
2165	PR libstdc++/8071, libstdc++/8127, libstdc++/6745
2166	* streambuf.tcc (__copy_streambufs): Handle cases where
2167	__sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
2168	* testsuite/27_io/ostream_inserter_other.cc (test05): Add.
2169
21702002-10-08  Paolo Carlini  <pcarlini@unitus.it>
2171	    Benjamin Kosnik  <bkoz@redhat.com>
2172
2173	* include/bits/localefwd.h (class locale): Add static member
2174	_S_num_extra_categories, encoding the number of additional
2175	categories.
2176	Change _S_num_categories to _S_categories_size.
2177	(class locale::_Impl): Add _M_c_cats.
2178	(class locale::_Impl::_M_names): Change to array of chars.
2179	(class locale::_Impl::_M_check_same_name): Use
2180	_S_extra_categories_size, tweak.
2181	(locale::locale(const locale&, _Facet*)): Ditto.
2182	* src/locale.cc (locale::locale(const char* )): Rewrite to deal
2183	with the environment in a POSIX-compliant way while being thread
2184	safe.
2185	(locale::name()): Update to output POSIX environment strings.
2186	* src/localename.cc
2187	(locale::_Impl::_Impl(const _Impl&, size_t): Use
2188	_S_categories_size_*, tweak.
2189	(locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
2190	(locale::_Impl::_Impl(const char*, size_t)): Name each category
2191	individually.
2192	(locale::_Impl::_M_replace_categories): Use strcpy.
2193
2194	* include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
2195	Change default argument to NULL from _S_c_locale.
2196	(timepunct::_M_initialize_timepunct): Same.
2197	_S_c_locale cleanups.
2198	* src/codecvt.c: _S_c_locale simplification.
2199	* src/ctype.c: Same.
2200	* src/globals.cc: Add fake_name.
2201	* src/locale-inst.cc: Remove extra includes.
2202	* src/locale.cc: Remove extra includes.
2203	Add _S_extra_categories_size definition.
2204	Correct "C" initialization.
2205	(locale::facet::facet): Don't initialize _S_c_locale.
2206	(locale::facet::_M_remove_reference): Adjust.
2207	* src/localename: Use facet_vec, facet_name.
2208	(locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
2209	facet ref counts to one. Initialize _S_c_locale.
2210	(locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
2211	counts when installing unilaterally.
2212
2213	* config/locale/generic/c_locale.cc: Add _S_categories definition.
2214	* config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
2215	* config/locale/generic/time_members.cc: _S_c_locale cleanup.
2216
2217	* config/locale/gnu/c_locale.cc: Add _S_categories definition.
2218	(_S_destroy_c_locale): Move checks against _S_c_locale here.
2219	* config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
2220	* config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
2221	calls, _S_c_locale usage.
2222	* config/locale/gnu/monetary_members.cc: Same, tweaks.
2223	* config/locale/gnu/monetary_members.cc: Same.
2224	* config/locale/gnu/time_members.cc: Same.
2225	* config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
2226
2227	* docs/html/22_locale/locale.html: Add bits about global locales
2228	and "C" setlocale.
2229
2230	* testsuite/22_locale/facet.cc (test02): Add.
2231	* testsuite/22_locale/static_members.cc (test02): Add.
2232	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
2233
22342002-10-07  Jonathan Wakely  <jw@kayari.org>
2235
2236	* docs/html/configopts.html, docs/html/documentation.html,
2237	docs/html/explanations.html, docs/html/install.html,
2238	docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
2239	docs/html/17_intro/license.html, docs/html/18_support/howto.html,
2240	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
2241	docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
2242	docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
2243	docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
2244	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
2245	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
2246	docs/html/27_io/howto.html, docs/html/ext/howto.html,
2247	docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Add DOCTYPEs.
2248
22492002-10-03  Richard Earnshaw  <rearnsha@arm.com>
2250
2251	PR libstdc++/3584
2252	* config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
2253	ASM sequences that don't give us atomic addition operations.  Instead
2254	just add a comment explaining why it doesn't work.
2255	(__atomic_add): Just use __exchange_and_add.
2256	(__test_and_set, __always_swap): Delete.
2257
22582002-10-02  Andreas Jaeger  <aj@suse.de>
2259
2260	* config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
2261	New file.
2262
22632002-10-01  Phil Edwards  <pme@gcc.gnu.org>
2264
2265	* Makefile.am (check-abi):  Add @ to rule.
2266	* Makefile.in:  Regenerated.
2267
22682002-09-27  Paolo Carlini  <pcarlini@unitus.it>
2269
2270	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
2271	Deal correctly with grouped, showbased (oct or hex) zero.
2272	* testsuite/22_locale/num_put_members_char.cc: Add test05.
2273	* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
2274
22752002-09-27  Richard Henderson  <rth@redhat.com>
2276
2277	* config/os/hpux/cpu_limits.h: Remove.
2278
2279	* include/std/std_limits.h (numeric_limits<T>::is_iec559): False
2280	if denormals are not supported.
2281
22822002-09-25  Benjamin Kosnik  <bkoz@redhat.com>
2283
2284	* include/Makefile.am (target_headers): Remove cpu_limits.h.
2285	* include/Makefile.in: Regenerate.
2286	* configure.in (CPU_LIMITS_INC_SRCDIR): Remove
2287	* configure: Regenerate.
2288	* configure.target (CPULIMITS): Remove.
2289
2290	* include/std/std_limits.h: Remove cpu_limits.h include.
2291
2292	* config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
2293	Remove.
2294	* config/os/irix/irix6.5/os_defines.h
2295	(__glibcpp_long_double_bits): Remove.
2296	(__glibcpp_wchar_t_bits): Remove.
2297	(__glibcpp_long_bits): Remove.
2298	* config/os/irix/irix5.2/os_defines.h
2299	(__glibcpp_long_double_bits): Remove.
2300	(__glibcpp_long_bits): Remove.
2301	* config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
2302	* config/os/bsd/freebsd/os_defines.h:
2303	(__glibcpp_long_double_bits): Remove.
2304	* config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
2305	(__glibcpp_wchar_t_is_signed): Remove.
2306	(__glibcpp_long_bits): Remove.
2307	* config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
2308	(__glibcpp_long_double_bits): Remove.
2309
2310	* config/os/osf/osf5.0/cpu_limits.h: Remove.
2311	* config/cpu/alpha/cpu_limits.h: Remove.
2312	* config/cpu/arm/cpu_limits.h: Remove.
2313	* config/cpu/cris/cpu_limits.h: Remove.
2314	* config/cpu/generic/cpu_limits.h: Remove.
2315	* config/cpu/generic/limits.h: Remove.
2316	* config/cpu/ia64/cpu_limits.h: Remove.
2317	* config/cpu/m68k/cpu_limits.h: Remove.
2318	* config/cpu/mmix/cpu_limits.h: Remove.
2319	* config/cpu/powerpc/cpu_limits.h: Remove.
2320	* config/cpu/S390/cpu_limits.h: Remove.
2321
23222002-09-25  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2323
2324	* testsuite/18_support/numeric_limits.cc: Check the maximum and
2325	minimum values of the wchar_t type.
2326
23272002-09-25  Mark Mitchell  <mark@codesourcery.com>
2328
2329	* include/std/std_limits.h (numeric_limits<unsigned char>::digits):
2330	Fix typo.
2331
23322002-09-23  Richard Henderson  <rth@redhat.com>
2333
2334	* include/std/std_limits.h (__glibcpp_plain_char_is_signed,
2335	__glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
2336	__glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
2337	__glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
2338	__glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
2339	__glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
2340	__glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
2341	__glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
2342	__glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
2343	__glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
2344	__glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
2345	__glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
2346	__glibcpp_bool_digits, __glibcpp_signed_char_min,
2347	__glibcpp_signed_char_max, __glibcpp_signed_char_digits,
2348	__glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
2349	__glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
2350	__glibcpp_unsigned_char_digits10, __glibcpp_char_min,
2351	__glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
2352	__glibcpp_signed_short_min, __glibcpp_signed_short_max,
2353	__glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
2354	__glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
2355	__glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
2356	__glibcpp_signed_int_min, __glibcpp_signed_int_max,
2357	__glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
2358	__glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
2359	__glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
2360	__glibcpp_signed_long_min, __glibcpp_signed_long_max,
2361	__glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
2362	__glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
2363	__glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
2364	__glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
2365	__glibcpp_wchar_t_digits10): Remove.
2366	(__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
2367	(__float_storage, __double_storage, __long_double_storage): Remove.
2368	(__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
2369	(__glibcpp_digits, __glibcpp_digits10): New.
2370	(numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
2371	(numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
2372	(numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
2373	(numeric_limits<T>::digits): Use __glibcpp_digits.
2374	(numeric_limits<T>::digits10): Use __glibcpp_digits10.
2375	* testsuite/18_support/numeric_limits.cc (test03): Don't use
2376	__glibcpp_s8_digits10 et al; check vs the installed versions
2377	of digits10 for particular sizes.
2378
2379	* include/std/std_limits.h (__glibcpp_float_is_modulo,
2380	__glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
2381	(numeric_limits<T>::is_modulo, T floating): Use false.
2382
23832002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2384
2385	* Makefile.am (all-multi): Fix multilib parallel build.
2386
23872002-09-22  Richard Henderson  <rth@redhat.com>
2388
2389	* include/std/std_limits.h (__glibcpp_f32_round_error,
2390	__glibcpp_f64_round_error, __glibcpp_f80_round_error,
2391	__glibcpp_f96_round_error, __glibcpp_f128_round_error,
2392	__glibcpp_float_round_error, __glibcpp_double_round_error,
2393	__glibcpp_long_double_round_error, __glibcpp_float_round_style,
2394	__glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
2395	(numeric_limits<char>::epsilon, round_error): Use constant 0.
2396	(numeric_limits<float>::round_error): Use constant 0.5.
2397	(numeric_limits<float>::round_style): Use round_to_nearest.
2398	(numeric_limits<double>, numeric_limits<long double>): Similarly.
2399
2400	* include/std/std_limits.h (__glibcpp_f32_is_iec559,
2401	__glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
2402	__glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
2403	__glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
2404	__glibcpp_long_double_is_iec559): Remove.
2405	(numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
2406	(numeric_limits<double>, numeric_limits<long double>): Similarly.
2407
2408	* include/std/std_limits.h (__glibcpp_integral_traps): New.
2409	(__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
2410	__glibcpp_long_traps, __glibcpp_wchar_t_traps,
2411	__glibcpp_long_long_traps, __glibcpp_plain_char_traps,
2412	__glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
2413	__glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
2414	__glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
2415	__glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
2416	__glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
2417	__glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
2418	__glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
2419	__glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
2420	__glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
2421	__glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
2422	(numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
2423	(numeric_limits<T>::is_modulo, T integral): Use true.
2424	(numeric_limits<T>::is_bounded, T floating): Use true.
2425
24262002-09-18  Loren J. Rittle  <ljrittle@acm.org>
2427
2428	* testsuite/18_support/numeric_limits.cc (test_epsilon): New.
2429
24302002-09-18  Richard Henderson  <rth@redhat.com>
2431
2432	* testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
2433
24342002-09-16  Benjamin Kosnik  <bkoz@redhat.com>
2435
2436	* include/c_shadow: Remove.
2437	* include/bits/generic_shadow.h: Remove.
2438	* include/Makefile.am: Remove generic_shadow.h.
2439	* acinclude.m4: Remove c_shadow references.
2440	* aclocal.m4: Regenerate.
2441	* configure: Regenerate.
2442	* mkcshadow: Remove.
2443	* mkinclosure: Remove.
2444
24452002-09-16  Loren J. Rittle  <ljrittle@acm.org>
2446
2447	libstdc++/7922
2448	* include/ext/stl_rope.h (rope<>): Qualify dependent names
2449	with `typename'.
2450
24512002-09-16  Richard Henderson  <rth@redhat.com>
2452
2453	* include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
2454	__glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
2455	__glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
2456	__glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
2457	__glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
2458	__glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
2459	__glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
2460	__glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
2461	__glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
2462	__glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
2463	__glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
2464	__glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
2465	__glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
2466	__glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
2467	__glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
2468	__glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
2469	__glibcpp_long_double_has_SNaN): Remove.
2470	(__glibcpp_f128_is_iec559): True if IEEE.
2471	(__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
2472	(__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
2473	(__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
2474	(std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
2475	(std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
2476	(std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
2477	(std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
2478	(std::numeric_limits<double>): Similarly.
2479	(std::numeric_limits<long double>): Similarly.
2480	* src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
2481	(__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
2482	(__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
2483
2484	* testsuite/18_support/numeric_limits.cc (test_infinity): New.
2485	(test_denorm_min, test_qnan, test_is_iec559): New.
2486
24872002-09-16  Phil Edwards  <pme@gcc.gnu.org>
2488
2489	* testsuite/abi_check.cc:  Pull shell fragments out into...
2490	* config/abi/extract_symvers:  ...here.  New file.
2491	* Makefile.am (check_abi):  Change to match.
2492	(new-abi-baseline):  New target.
2493	* Makefile.in:  Regenerated.
2494
24952002-09-16  Richard Henderson  <rth@redhat.com>
2496
2497	* include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
2498	__glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
2499	__glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
2500	__glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
2501	__glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
2502	__glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
2503	__glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
2504	__glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
2505	__glibcpp_long_double_has_denorm): Remove.
2506	(__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
2507	__glibcpp_long_double_denorm_min): Remove.
2508	(std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
2509	(std::numeric_limits<float>::denorm_min): Likewise.
2510	(std::numeric_limits<double>): Similarly.
2511	(std::numeric_limits<long double>): Similarly.
2512	* src/limits.cc (__glibcpp_float_denorm_min,
2513	__glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
2514
25152002-09-13  Andy Felt  <afelt@uwsp.edu>
2516
2517	* docs/html/17_intro/howto.html:  Update link.
2518
25192002-09-13  Phil Edwards  <pme@gcc.gnu.org>
2520
2521	* docs/doxygen/run_doxygen:  Massage man page for Iterator_types.3.
2522	* docs/html/faq/index.html:  Whitespace fixes.
2523
25242002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
2525
2526	* libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
2527	directory.
2528	* libmath/Makefile.in: Regenerate.
2529	* src/Makefile.am: Tweak comment.
2530	* src/Makefile.in: Regenerate.
2531
2532	* config/locale/gnu/c_locale.h: Remove warnings.
2533	Inject __uselocale into __gnu_cxx.
2534	* config/locale/generic/c_locale.h: Match.
2535
25362002-09-11  Benjamin Kosnik  <bkoz@redhat.com>
2537
2538	* include/bits/locale_facets.tcc (__convert_from_v): Remove.
2539	* config/locale/gnu/c_locale.h (__convert_from_v): Add.
2540	* config/locale/generic/c_locale.h (__convert_from_v): Add.
2541
25422002-09-11  Paolo Carlini  <pcarlini@unitus.it>
2543
2544	* include/bits/locale_facets.tcc (__convert_from_v):
2545	Use __uselocale instead of setlocale for glibc 2.3+.
2546
25472002-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2548
2549	* src/Makefile.am (sources): Edit.
2550	(target_sources): New.
2551	(target_sources_extra): New.
2552	* src/Makefile.in: Regenerate.
2553	* acinclude.m4: Set CCODECVT_CC.
2554	* aclocal.m4: Regenerate.
2555	* configure: Regenerate.
2556	* src/locale.cc: Move ctype definitions...
2557	* src/ctype.cc: ...here. New file.
2558	* src/locale.cc: Move codecvt definitions...
2559	* src/codecvt.cc: ...here.
2560	* config/generic/codecvt_members.cc: ...and here.
2561	* config/gnu/codecvt_members.cc: ...and here.
2562	* include/bits/codecvt.h: Tweak.
2563	* include/bits/locale_facets: Tweak.
2564
2565	* src/bitset.cc: Correct license text.
2566	* src/concept-inst.cc: Same.
2567	* src/strstream.cc: Same.
2568	* src/vterminate.cc: Same.
2569
25702002-09-10  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
2571
2572	* include/bits/stl_vector.h (vector<>): Don't use a name with
2573	different meanings before and after re-evaluation in the completed
2574	scope.
2575	* include/bits/basic_string.h (basic_string<>): Likewise.
2576	* include/bits/stl_bvector.h (vector<bool>): Likewise.
2577	* include/bits/stl_deque.h (std): Likewise.
2578	* include/bits/stl_list.h (list<>): Likewise.
2579	* include/bits/stl_tree.h (_Rb_tree<>): Likewise.
2580
25812002-09-10  Paolo Carlini  <pcarlini@unitus.it>
2582
2583	* include/bits/codecvt.h (class __codecvt_abstract_base):
2584	Add __c_locale type _M_c_locale_codecvt member.
2585	(class codecvt<char, char, mbstate_t>,
2586	class codecvt<wchar_t, char, mbstate_t>): Add new
2587	codecvt(__c_locale, size_t) constructor.
2588	(codecvt_byname::codecvt_byname): Update.
2589	* src/codecvt.cc (class codecvt<char, char, mbstate_t>,
2590	class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
2591	constructor and ~codecvt() destructor; define
2592	codecvt(__c_locale, size_t) constructor.
2593	(codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
2594	(codecvt::do_in): Ditto for mbsrtowcs call.
2595	* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
2596	Tweak construction of codecvt facets.
2597
25982002-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
2599
2600	* include/bits/locale_facets.tcc (__convert_from_v):
2601	Replace strdup with ISO malloc and strcpy.
2602
26032002-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2604
2605	* docs/html/configopts.html: Change grouping. Note ABI impacts.
2606	Update information for locale model defaults.
2607	* docs/html/install.html: Update include directory
2608	information.
2609	Update testing information.
2610	Update linux issues for named locales.
2611	* docs/html/abi.txt: Fix typos.
2612	Add more info.
2613
2614	* src/misc-inst.cc: Add missing instantiations.
2615
2616	* testsuite/abi_check.cc: Make output results more verbose.
2617
2618	* config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
2619
26202002-09-07  Jakub Jelinek  <jakub@redhat.com>
2621
2622	* config/locale/generic/messages_members.cc: Add specialization for
2623	messages<wchar_t>.
2624	* config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
2625
26262002-09-06  Benjamin Kosnik  <bkoz@redhat.com>
2627
2628	* include/bits/localefwd.h: Tweak formatting.
2629	* docs/html/abi.txt: Add.
2630
26312002-09-06  Jakub Jelinek  <jakub@redhat.com>
2632
2633	* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
2634	sparc targets.
2635	* config/cpu/sparc/atomicity.h: New file.
2636	* config/cpu/sparc/sparc32/atomicity.h: Removed.
2637	* config/cpu/sparc/sparc64/atomicity.h: Removed.
2638
26392002-09-06  Jakub Jelinek  <jakub@redhat.com>
2640
2641	* config/os/gnu-linux/ctype_noninline.h
2642	[_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
2643	(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
2644	_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
2645	and return __ctype_b.
2646	(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
2647	_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
2648	initialize using __ctype_{b,tolower,toupper}.
2649	(ctype<char>::ctype(const mask*, bool, size_t)): If
2650	_GLIBCPP_C_LOCALE_GNU, initialize using
2651	_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
2652	switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
2653
26542002-09-05  Paolo Carlini  <pcarlini@unitus.it>
2655	    Roland McGrath  <roland@redhat.com>
2656
2657	PR libstdc++/7811
2658	* src/locale.cc (locale::locale(__s)): Use getenv instead
2659	of setenv for the environment locale.
2660	* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
2661
26622002-09-05  Jakub Jelinek  <jakub@redhat.com>
2663
2664	* config/abi/ia64-unknown-linux-gnu: Add.
2665	* config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
2666	* config/abi/alphaev67-unknown-linux-gnu: Add.
2667	* config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
2668
26692002-09-05  Jonathan Wakely  <jw@kayari.org>
2670
2671	* docs/html/Makefile:  Use more portable shell wildcard.
2672	* docs/html/makedoc.awk:  Nest elements correctly for XHTML conversion.
2673	* docs/html/configopts.html, docs/html/documentation.html,
2674	docs/html/explanations.html, docs/html/install.html,
2675	docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
2676	docs/html/17_intro/license.html, docs/html/18_support/howto.html,
2677	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
2678	docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
2679	docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
2680	docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
2681	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
2682	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
2683	docs/html/27_io/howto.html, docs/html/ext/howto.html,
2684	docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Convert
2685	to XHTML.
2686	* docs/html/faq/index.txt:  Regenerate.
2687
26882002-09-05  Jakub Jelinek  <jakub@redhat.com>
2689
2690	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
2691	Switch to _M_c_locale_ctype around btowc call.
2692	(ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
2693	Switch to _M_c_locale_ctype around mbsrtowcs call.
2694	(ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
2695	wctob call.
2696	(ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
2697	Switch to _M_c_locale_ctype around wcsrtombs call.
2698
26992002-09-05  Jakub Jelinek  <jakub@redhat.com>
2700
2701	* config/locale/gnu/monetary_members.cc
2702	(moneypunct<wchar_t, true>::_M_initialize_moneypunct,
2703	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
2704	__uselocale instead of setlocale for glibc 2.3.
2705
27062002-09-05  Jakub Jelinek  <jakub@redhat.com>
2707
2708	* config/locale/generic/c++locale_internal.h: New header.
2709	* config/locale/gnu/c++locale_internal.h: New header.
2710	* config/locale/gnu/c_locale.cc: Include it.
2711	* config/locale/gnu/collate_members.cc: Include it.
2712	* config/locale/gnu/ctype_members.cc: Include it.
2713	* config/locale/gnu/messages_members.cc: Include it.
2714	* config/locale/gnu/monetary_members.cc: Include it.
2715	* config/locale/gnu/numeric_members.cc: Include it.
2716	* config/locale/gnu/time_members.cc: Include it.
2717	(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
2718	glibc.
2719	(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
2720	C locale.
2721	* acinclude.m4: Include string.h when testing strcoll_l.
2722	For glibc 2.3 provide __-prefixed prototypes.
2723	(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
2724	* aclocal.m4, configure: Rebuilt.
2725
27262002-09-05  Benjamin Kosnik  <bkoz@redhat.com>
2727
2728	* include/bits/locale_facets.h: Add declaration of specialization
2729	here.
2730	* config/locale/gnu/messages_members.cc: Add specialization for
2731	messages<wchar_t>.
2732	* config/locale/gnu/messages_members.h: Remove generic definition
2733	of do_get.
2734
27352002-09-04  Richard Henderson  <rth@redhat.com>
2736
2737	* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
2738	__glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
2739	__glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
2740	__glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
2741	__glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
2742	__glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
2743	__glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
2744	__glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
2745	__glibcpp_long_double_has_infinity): Remove.
2746	(std::numeric_limits<float>, std::numeric_limits<double>,
2747	std::numeric_limits<long double>): Use __builtin_huge_val
2748	to implement has_infinity and infinity().
2749	* src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
2750	__glibcpp_long_double_infinity): Remove.
2751
27522002-09-03  Richard Henderson  <rth@redhat.com>
2753
2754	* include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
2755	__glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
2756	__glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
2757	__glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
2758	__glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
2759	__glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
2760	__glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
2761	__glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
2762	__glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
2763	__glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
2764	__glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
2765	__glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
2766	__glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
2767	__glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
2768	__glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
2769	__glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
2770	__glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
2771	__glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
2772	__glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
2773	__glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
2774	__glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
2775	__glibcpp_float_digits10, __glibcpp_float_radix,
2776	__glibcpp_float_epsilon, __glibcpp_float_min_exponent,
2777	__glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
2778	__glibcpp_float_max_exponent10, __glibcpp_double_min,
2779	__glibcpp_double_max, __glibcpp_double_digits,
2780	__glibcpp_double_digits10, __glibcpp_double_radix,
2781	__glibcpp_double_epsilon, __glibcpp_double_min_exponent,
2782	__glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
2783	__glibcpp_double_max_exponent10, __glibcpp_long_double_min,
2784	__glibcpp_long_double_max, __glibcpp_long_double_digits,
2785	__glibcpp_long_double_digits10, __glibcpp_long_double_radix,
2786	__glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
2787	__glibcpp_long_double_min_exponent10,
2788	__glibcpp_long_double_max_exponent,
2789	__glibcpp_long_double_max_exponent10): Remove macros.
2790	(std::numeric_limits<float>, std::numeric_limits<double>,
2791	std::numeric_limits<long double>): Use protected float.h macros.
2792
27932002-09-01  Phil Edwards  <pme@gcc.gnu.org>
2794
2795	* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
2796	Fix spelling in comment.
2797	* testsuite/Makefile.in:  Regenerate.
2798	* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
2799	than 'quote' and 'bslash'.
2800
28012002-08-31  Phil Edwards  <pme@gcc.gnu.org>
2802
2803	* acinclude.m4:  Minor comment tweaks.
2804
2805	* docs/html/makedoc.awk:  New file...
2806	* docs/html/Makefile:  ...called from here...
2807	* docs/html/documentation.html:  ...to help generate this.
2808
2809	* docs/html/21_strings/howto.html:  Prepare for new entry.
2810	* include/bits/basic_string.h:  Initial basic_stirng hook for
2811	doxygen.  Remove trailing whitespace.
2812	* include/bits/char_traits.h:  Point to onlinedocs for new entry.
2813	* include/bits/stringfwd.h:  Add doxygen hooks for string and
2814	wstring typedefs.
2815
28162002-08-29  Richard Earnshaw  <rearnshaw@arm.com>
2817
2818	* config/cpu/arm/cpu_limits.h: New file.
2819	* configure.target: Use config/cpu/arm for XScale and StrongARM
2820	configurations.
2821
28222002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2823
2824	* include/std/std_limits.h (__glibcpp_char_bits,
2825	__glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
2826	__glibcpp_long_long_bits, __glibcpp_float_bits,
2827	__glibcpp_double_bits, __glibcpp_long_double_bits): Remove.  Use
2828	compiler predifined macros.
2829	(__glibcpp_wchar_t_is_signed): Define based on compiler predefined
2830	__WCHAR_UNSIGNED__.
2831
28322002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2833
2834	* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
2835	__glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
2836	__glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
2837	__glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
2838	__glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
2839	__glibcpp_f64_infinity_bytes,
2840	__glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
2841	__glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
2842	__glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
2843	__glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
2844	__glibcpp_f80_infinity_bytes,
2845	__glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
2846	__glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
2847	__glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
2848	__glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
2849	__glibcpp_f96_infinity_bytes,
2850	__glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
2851	__glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
2852	__glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
2853	__glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
2854	__glibcpp_f128_infinity_bytes,
2855	__glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
2856	__glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
2857	__glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
2858	__glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
2859	__glibcpp_float_infinity_bytes,
2860	__glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
2861	__glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
2862	__glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
2863	__glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
2864	__glibcpp_double_infinity_bytes,
2865	__glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
2866	__glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
2867	__glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
2868	__glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
2869	__glibcpp_long_double_infinity_bytes,
2870	__glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
2871	__glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
2872	__glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
2873	__glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
2874	New macros.
2875	(__glibcpp_word_bits, __glibcpp_word): Likewise.
2876	(__glibcpp_byte): New typedef.
2877	(__float_storage, __double_storage, __long_double_storage): New types.
2878	(__glibcpp_float_infinity, __glibcpp_float_QNaN,
2879	__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
2880	objects. Declare.
2881	(__glibcpp_double_infinity, __glibcpp_double_QNaN,
2882	__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
2883	(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
2884	__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
2885	Likewise.
2886
2887	* src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
2888	__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
2889	(__glibcpp_double_infinity, __glibcpp_double_QNaN,
2890	__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
2891	(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
2892	__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
2893	Likewise.
2894
28952002-08-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2896
2897	* include/std/std_limits.h: Indent conditional macro definitions.
2898
28992002-08-23  Phil Edwards  <pme@gcc.gnu.org>
2900
2901	* Makefile.am (check-abi):  Specify current directory.
2902	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
2903	abi_baseline_triplet in baseline_file.
2904	* Makefile.in, aclocal.m4, configure:  Regenerate.
2905	* configure.target:  Add abi_baseline_triplet with default.
2906	* testsuite/abi_check.cc:  More error checking.
2907
29082002-08-23  Phil Edwards  <pme@gcc.gnu.org>
2909
2910	* config/linker-map.gnu:  Verbose comments, clean up spacing.
2911	* include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
2912	statements.
2913	__allocator:  Change class declaration to struct.
2914	* docs/html/17_intro/C++STYLE:  Fix typo.
2915	* include/bits/stl_deque.h, include/bits/stl_list.h,
2916	include/bits/stl_map.h, include/bits/stl_multimap.h,
2917	include/bits/stl_vector.h:  Fix fallout from typo.
2918
29192002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2920
2921	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
2922	GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
2923	variables.
2924	* aclocal.m4: Regenerate.
2925	* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
2926	native compiling.
2927	* testsuite/Makefile.in: Regenerate.
2928
29292002-08-22  Loren J. Rittle <ljrittle@acm.org>
2930
2931	* testsuite/abi_check.cc: Enhance shell portability.
2932	Support older binutils/readelf.
2933	* config/abi/i386-unknown-freebsd4.6: Add.
2934	* config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
2935
29362002-08-22  Paolo Carlini  <pcarlini@unitus.it>
2937
2938	* docs/html/faq/index.html: Add Loren James Rittle and
2939	Paolo Carlini to the list of v3 maintainers.
2940	* docs/html/faq/index.txt: Ditto.
2941	* docs/html/17_intro/RELEASE-NOTES: Ditto.
2942
29432002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2944	    Phil Edwards  <pme@gcc.gnu.org>
2945	    Ulrich Drepper  <drepper@redhat.com>
2946
2947	* Makefile.am (check-abi): New rule.
2948	* Makefile.in: Regenerate.
2949	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
2950	* aclocal.m4: Regenerate.
2951	* configure: Regenerate.
2952	* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
2953	(abi_check_SOURCES): Add.
2954	* testsuite/Makefile.in: Regenerate.
2955	* testsuite/abi_check.cc: New file.
2956	* config/abi: Add.
2957	* config/abi/i686-pc-linux-gnu: Add.
2958	* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
2959
29602002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
2961
2962	* configure.in (libtool_VERSION): Update to 5:1:0.
2963	* configure: Regenerate.
2964
29652002-08-19  Jonathan Wakely  <jw@kayari.org>
2966
2967	* docs/html/configopts.html, docs/html/documentation.html,
2968	docs/html/install.html, docs/html/22_locale/codecvt.html,
2969	docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
2970	docs/html/22_locale/locale.html,
2971	docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
2972
29732002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
2974
2975	* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
2976	_M_buf_size_opt to zero when unbuffering.
2977	* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
2978	Consistency checks for _M_buf_size_opt.
2979
2980	Revert PR libstdc++/7445
2981	* src/locale.cc (locale::classic): Revert.
2982
2983	* docs/html/17_intro/TODO: Add.
2984
29852002-08-15  Phil Edwards  <pme@gcc.gnu.org>
2986
2987	* docs/html/documentation.html:  Update doxygen links for 3.2.
2988
29892002-08-15  Steve Ellcey  <sje@cup.hp.com>
2990
2991	* libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
2992	type from void* to _Unwind_Ptr.
2993	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
2994	Do not cast landing_pad or base_of_encoded_value to (void *).
2995	* libsupc++/eh_throw.cc (__gxx_exception_cleanup):
2996	Accept _URC_NO_REASON as a valid reason code.
2997
29982002-08-14  Jonathan Wakely  <jw@kayari.org>
2999
3000	* docs/html/22_locale/messages.html:  Use HTML entities for
3001	punctuation.
3002
30032002-08-13  Jonathan Wakely  <jw@kayari.org>
3004	    Phil Edwards  <pme@gcc.gnu.org>
3005
3006	* docs/html/documentation.html:  Use HTML entities for punctuation.
3007
30082002-08-09  Phil Edwards  <pme@gcc.gnu.org>
3009
3010	* include/bits/deque.tcc, include/bits/list.tcc,
3011	include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
3012	include/bits/stl_list.h, include/bits/stl_map.h,
3013	include/bits/stl_multimap.h, include/bits/stl_queue.h,
3014	include/bits/stl_stack.h, include/bits/stl_vector.h,
3015	include/bits/vector.tcc:  Re-indent contents of namespace std,
3016	re-wrap comment lines as necessary.
3017
30182002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
3019	    Benjamin Kosnik  <bkoz@redhat.com>
3020
3021	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
3022	not snextc.
3023	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.
3024
30252002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3026
3027	* libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
3028	* libsupc++/Makefile.in: Regenerate.
3029
30302002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
3031
3032	PR/7491
3033	* include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
3034	Instantiate with new function objects.
3035	* include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
3036	Reformat.  Uglify.
3037	* include/bits/gslice_array.h: Likewise.
3038	* include/bits/indirect_array.h: Likewise.
3039
30402002-08-03  Gabriel Dos Reis  <gdr@nerim.net>
3041
3042	* testsuite/26_numerics/valarray_name_lookup.cc: Rename from
3043	testsuite/26_numerics/valarray_name_lookup.C
3044
3045	* include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
3046	object function surrogates.
3047	* include/bits/valarray_meta.h (__shift_left): Fix typo.
3048	(_BinFunClos<>): Remove.
3049	(_BinFunBase<>): Likewise.
3050	(_BinFunBase1<>):Likewise.
3051	(_BinFunBase2<>): Likewise.
3052	(_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
3053	(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
3054	(_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
3055	(_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
3056	* include/std/std_valarray.h: Dont #include <functional> anymore.
3057	(_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
3058	_Shift_right<>): Remove.
3059	(_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
3060	(_DEFINE_BINARY_OPERATOR): Tweak definition.
3061	(_DEFINE_LOGICAL_OPERATOR): Remove.
3062	* testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
3063
30642002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
3065
3066	* include/bits/valarray_meta.h (_UnFunBase<>): Remove.
3067	(_UnFunClos<>): Same.
3068	(_UnBase<>): Reformat.  Make first template-parameter non
3069	template.
3070	(_UnClos<>): Likewise.
3071	(_Expr<>): Reformate.  Adjust unary member operator return types.
3072	(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
3073	(_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
3074	* include/std/std_valarray.h (_UnClos<>): Adjust declaration.
3075	(valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
3076	operator return types.  Reformat.
3077	(_Bitwise_not): Remove.
3078	(_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
3079	* testsuite/26_numerics/valarray_name_lookup.C: New test.
3080
30812002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>
3082
3083	* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
3084	(scan_is): Use this->is.
3085	(scan_not): Likewise.
3086
30872002-08-02  Benjamin Kosnik  <bkoz@redhat.com>
3088
3089	Revert PR libstdc++/6594
3090	* src/strstream.cc (strstreambuf): Revert.
3091	(strstreambuf::overflow): Same.
3092	(strstreambuf::~strstreambuf): Same.
3093	* testsuite/backward/strstream_members.cc (test02): Add.
3094
3095	* docs/html/abi.txt: Update. Spell check.
3096
3097	* testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
3098
3099	* testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
3100	* testsuite/Makefile.in: Regenerate.
3101	* testsuite/testsuite_hooks.h: Use __throw_exception_again,
3102	include functexcept.h so that -fno-exceptions will build.
3103
31042002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
3105
3106	* include/bits/valarray_meta.h (__unary_plus, __negate,
3107	__bitwise_not, __plus, __minus, __multiplies, __divides,
3108	__modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
3109	__shift_left, __shift_right, __logical_and, __logical_or,
3110	__logical_not, __equal_to, __not_equal_to, __less, __less_equal,
3111	__greater_equal, __greater, __atan2, __pow): New function object
3112	classes.
3113	(__fun<>):  New function traits class.
3114
31152002-08-01  Rick Danos  <rdanos@hotmail.com>
3116
3117	PR libstdc++/7461
3118	* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
3119	* config/os/newlib/ctype_inline.h (is): Use static_cast.
3120
31212002-08-01  Neil Booth  <neil@daikokuya.co.uk>
3122
3123	* libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
3124	* libsupc++/Makefile.in: Regenerate.
3125
31262002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
3127	    Jakub Jelinek  <jakub@redhat.com>
3128
3129	* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
3130	GLIBCPP_3.1 to GLIBCPP_3.2.
3131
31322002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
3133	    Mark Mitchell  <mark@codesourcery.com>
3134
3135	PR libstdc++/7442
3136	* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
3137	Change to __hwm_bit.
3138	(__class_type_info): And here.
3139
31402002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
3141
3142	PR libstdc++/7442
3143	* libsupc++/cxxabi.h
3144	(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
3145	(__base_class_info::__base): Change to __base_type. 2.9.5p6c
3146	(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
3147	(__vmi_class_type_info::__base_info): Don't make const, of type
3148	__base_class_type_info, as per 2.9.5p6c
3149	(__pbase_type_info::__qualifier_flags): Change to __flags, as per
3150	2.9.5p7.
3151	(__pbase_type_info::__qualifier_masks): Change to __masks, as per
3152	2.9.5p7.
3153	(__pointer_to_member_type_info::__context_class): Change member to
3154	__context, as per 2.9.5p9.
3155	* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
3156	__context.
3157	* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
3158	__flags.
3159	* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
3160	__base_type.
3161	* libsupc++/tinfo.cc (__do_dyncast): Same.
3162	* libsupc++/tinfo.cc (__do_upcast): Same.
3163
31642002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
3165
3166	* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
3167
31682002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
3169
3170	* docs/html/22_locale/howto.html: Fix.
3171
31722002-07-31  Alex Kompel  <shurik@sequoiap.com>
3173
3174	PR libstdc++/7445
3175	* src/locale.cc (locale::classic): Move locks inside !_S_classic
3176	block.
3177
31782002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
3179
3180	* docs/html/abi.txt: Update.
3181
31822002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
3183	    Gabriel Dos Reis  <gdr@nerim.net>
3184
3185	* include/bits/char_traits.h: Remove generic definitions.
3186	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
3187	eof, not -2.
3188	* include/bits/istream.tcc (istream::readsome): Don't check
3189	against eof, instead use constants.
3190	(istream::sync): Same.
3191	(istream::sentry::sentry): Use eq_int_type.
3192	(istream::get): Same.
3193	* include/bits/ostream.tcc: Change __pad to
3194	__pad<_CharT, _Traits>::_S_pad.
3195	* include/bits/locale_facets.h: Add __pad_traits generic and
3196	ostreambuf_iterator specialization.
3197	* include/bits/locale_facets.tcc: Change __pad into struct __pad
3198	with a _CharT and _Traits template parameter and _S_pad static
3199	member function.
3200	* src/locale-inst.cc: Update __pad instantiations.
3201
3202	* include/std/std_fstream.h: Declare _M_underflow_common
3203	specializations.
3204	* src/fstream.cc: New. Add _M_underflow_common specializations.
3205	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
3206	(filebuf::_M_underflow_common(bool)): Remove generic version, as
3207	sys_ungetc and custom int_types don't get along.
3208	* include/std/std_streambuf.h: Add _M_pos.
3209	* src/Makefile.am (sources): Add fstream.cc.
3210	* src/Makefile.in: Regenerate.
3211
3212	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
3213	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
3214	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
3215	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
3216	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
3217	* testsuite/27_io/filebuf.cc: ...here.
3218	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
3219	specialization for both.
3220	* testsuite/27_io/streambuf.cc: Add instantiation test,
3221	testsuite_hooks include.
3222	* testsuite/27_io/istream.cc: Same.
3223	* testsuite/27_io/ostream.cc: Same.
3224	* testsuite/27_io/fstream.cc: Same.
3225	* testsuite/27_io/stringstream.cc: Same.
3226	* testsuite/27_io/filebuf.cc: Same.
3227	* testsuite/27_io/stringbuf.cc: Same.
3228
32292002-07-29  Alan Modra  <amodra@bigpond.net.au>
3230
3231	* config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
3232	* configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
3233	* config/cpu/powerpc/atomicity.h (__always_swap): Remove.
3234	(__test_and_set): Remove.
3235	(_STWCX): Define and use.
3236
32372002-07-26  Phil Edwards  <pme@gcc.gnu.org>
3238
3239	* libsupc++/new (placement delete):  Remove unused parameter names.
3240
32412002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
3242
3243	PR libstdc++/7216
3244	* include/std/std_istream.h (basic_iostream): Add typedefs for
3245	char_type, int_type, pos_type, off_type, and traits_type.
3246	* testsuite/27_io/iostream.cc (test01): Add typedef tests.
3247	* testsuite/27_io/istream.cc: Same.
3248	* testsuite/27_io/ostream.cc: Same.
3249	* testsuite/27_io/filebuf.cc: Same.
3250	* testsuite/27_io/stringbuf.cc: Replace content, move to...
3251	* testsuite/27_io/stringbuf_members.cc: ...here.
3252	* testsuite/27_io/streambuf.cc: Replace content, move to...
3253	* testsuite/27_io/streambuf_members.cc: ...here.
3254	* testsuite/27_io/stringstream.cc: Replace content, move to...
3255	* testsuite/27_io/stringstream_members.cc: ...here.
3256	* testsuite/27_io/ios.cc: New file.
3257	* testsuite/27_io/fstream.cc: New file.
3258	* testsuite/27_io/ifstream.cc: New file.
3259	* testsuite/27_io/ofstream.cc: New file.
3260	* testsuite/27_io/istringstream.cc: New file.
3261	* testsuite/27_io/ostringstream.cc: New file.
3262
32632002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
3264
3265	PR libstdc++/7220
3266	* include/bits/istream.tcc (istream::ignore): Don't extract on
3267	zero.
3268	* testsuite/27_io/istream_unformatted.cc (test10): Add.
3269
32702002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
3271
3272	* testsuite/27_io/ios_base_type.cc: Move to...
3273	* testsuite/27_io/ios_base_types.cc: ...here.
3274
32752002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
3276
3277	PR libstdc++/7222
3278	* src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
3279	* testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
3280
32812002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
3282
3283	PR libstdc++/7230
3284	* config/linker-map.gnu: Revert strstream patch from 2002-07-01.
3285	* include/Makefile.am (backward_headers): Use strstream, not
3286	strstream.h.
3287	* include/Makefile.in: Regenerate.
3288	* include/backward/strstream: Revert.
3289	* include/backward/strstream.h: Remove.
3290	* src/strstream.cc: Revert.
3291	* testsuite/backward/strstream_members.cc: Change include.
3292
32932002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
3294
3295	PR libstdc++/7219
3296	* include/bits/ios_base.h (ios_base::streampos): Add.
3297	(ios_base::streamoff): Add.
3298	* testsuite/27_io/ios_base_type.cc: New.
3299
33002002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
3301
3302	PR libstdc++/7286
3303	* libsupc++/new: Add placement delete.
3304	* testsuite/18_support/new_delete_placement.cc: New.
3305
3306	* docs/html/abi.txt: Fix typos.
3307
33082002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
3309
3310	* docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
3311	confusing usage of "latest."
3312	De-tangle contributor information from introductory notes.
3313	Move abi.txt link placement, activate.
3314	Re-organize.
3315	Move chapter info into old FAQ format.
3316	* docs/html/organization.html: Removed, obsoleted by doxygen work.
3317	* docs/html/abi.txt: Add notes on testing ABI changes.
3318
33192002-07-20  Phil Edwards  <pme@gcc.gnu.org>
3320
3321	* docs/html/abi.txt:  New file.
3322	* docs/html/23_containers/howto.html:  Tweak vector-overhead text.
3323	* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
3324	Import from upstream, R22.
3325
3326	* include/bits/char_traits.h, include/bits/stl_iterator.h,
3327	include/bits/stl_iterator_base_types.h, libsupc++/exception,
3328	libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
3329
3330	* include/bits/deque.tcc, include/bits/stl_alloc.h,
3331	include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
3332	of deprecated functions until 3.4.  (Same timeframe, different text.)
3333	* include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
3334	the other sequence classes received.
3335
33362002-07-18  Brendan Kehoe  <brendan@zen.org>
3337
3338	* bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
3339	_Nname to _Name.
3340
33412002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
3342
3343	DR/123
3344	* include/bits/slice_array.h
3345	(slice_array<T>::operator=(const T&)): Constify.
3346	* include/bits/gslice_array.h
3347	(gslice_array<T>::operator=(const T&)):  Likewise.
3348	* include/bits/mask_array.h
3349	(mask_array<T>::operator=(const T&)): Likewise.
3350	* include/bits/indirect_array.h
3351	(indirect_array<T>::operator=(const T&): Likewise.
3352
33532002-07-17  Phil Edwards  <pme@gcc.gnu.org>
3354
3355	* docs/doxygen/run_doxygen:  Remove template parameter names from
3356	"Compound List" summary page.  Reformat.
3357	* docs/html/documentation.html:  XHTML fixes.
3358
33592002-07-16  Andreas Schwab  <schwab@suse.de>
3360
3361	* libsupc++/new (set_new_handler): Declare to not throw any
3362	exceptions.
3363	* libsupc++/new_handler.cc (set_new_handler): Likewise.
3364
33652002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
3366
3367	* include/Makefile.am (bits_headers): Remove slice.h
3368	* include/Makefile.in: Regenerate.
3369	* include/bits/slice.h (slice): move to include/bits/slice_array.h
3370	* include/bits/slice.h Remove.
3371	* include/std/std_valarray.h: Don't #include bits/slice.h anymore.
3372	* include/bits/slice_array.h: Comply to official coding styles.
3373	* testsuite/26_numerics/slice.cc: New test.
3374
33752002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3376
3377	* config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
3378	print to match vendor <ctype.h>.
3379
33802002-07-15  Phil Edwards  <pme@gcc.gnu.org>
3381
3382	* docs/html/faq/index.html:  Fix download links.
3383	* docs/html/faq/index.txt:  Regenerate.
3384	* docs/html/17_intro/porting.html:  Regenerate from earlier changes.
3385
33862002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3387
3388	* configure.target (target_os switch): Allow for irix6*o32
3389	configurations.
3390
33912002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
3392
3393	* include/bits/valarray_meta.h (_UnFunBase): Take a second
3394	template parameter. Remove _M_func data member.
3395	(_UnFunClos): Take a third template parameter.
3396	(__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
3397	__atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
3398	(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
3399
34002002-07-08  Eric Christopher  <echristo@redhat.com>
3401
3402	* configure.target: Fix comment for mips atomicity. Add
3403	mips*-*-linux* target, enable atomic operations there.
3404	* config/cpu/mips/atomicity.h: Fix comments, remove
3405	#ifndef/#endif. Add push/pop mips2.
3406
34072002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3408
3409	* include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
3410	member declarations to avoid compiler warnings and restore 3.1 ABI.
3411
34122002-07-08  Phil Edwards  <pme@gcc.gnu.org>
3413
3414	* docs/html/23_containers/howto.html:  Link to dk_std::vector paper
3415	and homepage.
3416
34172002-07-07  Paolo Carlini  <pcarlini@unitus.it>
3418
3419	PR libstdc++/7186
3420	* include/bits/stl_deque.h (_Deque_iterator::operator-):
3421	Make non-member, as already happens for the comparison
3422	operators in accord with DR179 (Ready).
3423	* testsuite/23_containers/deque_operators.cc: Add test02.
3424
34252002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
3426	    Jack Reeves  <jackw_reeves@hotmail.com>
3427
3428	* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
3429	size_t, from int_type.
3430	(basic_streambuf::_M_buf_size_opt): Same.
3431	(basic_streambuf::_S_pback_sizex): Same.
3432	* include/bits/streambuf.tcc: Same.
3433	* include/std/std_streambuf.h (basic_streambuf::snextc): Use
3434	eq_int_type.
3435	(basic_streambuf::uflow): Same.
3436	* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
3437	to_char_type.
3438	* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
3439	* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
3440	eq_int_type.
3441	(basic_streambuf::xsputn): Same.
3442	(__copy_streambufs): Same.
3443
34442002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3445
3446	* include/std/std_memory.h: Fix formatting.
3447	* testsuite/20_util/auto_ptr_neg.cc: New.
3448	* testsuite/20_util/auto_ptr.cc: Tweaks.
3449	* testsuite/23_containers/map_operators.cc (test01): Split into..
3450	* testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
3451	* testsuite/23_containers/set_operators.cc: Move to...
3452	* testsuite/23_containers/set_operators_neg.cc: ...here.
3453	* testsuite/README: Add some more naming rules.
3454
34552002-07-03  Steev Wilcox  <steev@paradigmds.com>
3456
3457	PR libstdc++/7057
3458	* include/ext/stl_hashtable.h: Fix.
3459	* testsuite/ext/hash_map.cc: New.
3460
34612002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
3462	    Kenny Simpson  <theonetruekenny@yahoo.com>
3463	    Phil Edwards  <pme@gcc.gnu.org>
3464
3465	PR libstdc++/3946
3466	* testsuite/20_util/auto_ptr.cc (test08):  New test.
3467	* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
3468	(auto_ptr::operator auto_ptr_ref):  Fix typo.
3469	General reformatting and doxygenating of the whole file.
3470
34712002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3472
3473	PR libstdc++/7097
3474	* include/c/std_cwchar.h: Fix.
3475
34762002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
3477
3478	PR libstdc++/6410
3479	* include/bits/locale_facets.h (moneypunct::moneypunct): Add const
3480	char* name parameter.
3481	* config/locale/gnu/monetary_members.cc: Use it.
3482	* config/locale/generic/monetary_members.cc: Same.
3483	* src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
3484
3485	* include/backward/strstream.h: Update date.
3486
34872002-07-02  Paolo Carlini  <pcarlini@unitus.it>
3488
3489	PR libstdc++/6642
3490	* include/bits/stl_iterator.h
3491	(__normal_iterator::operator-(const __normal_iterator&)):
3492	Make non-member, as already happens for the comparison
3493	operators in accord with DR179 (Ready).
3494	* testsuite/24_iterators/iterator.cc: Add test from the PR.
3495
34962002-07-02  Phil Edwards  <pme@gcc.gnu.org>
3497
3498	PR libstdc++/7173
3499	* acinclude.m4:  Simplify determination of gcc_version, and move
3500	up to GLIBCPP_CONFIGURE.
3501	* configure.in (release_VERSION):  Really remove.
3502	(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
3503	* aclocal.m4, configure:  Regenerate.
3504
35052002-07-02  Phil Edwards  <pme@gcc.gnu.org>
3506
3507	* docs/html/configopts.html, docs/html/install.html:  Tweaks.
3508	* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
3509	include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
3510	include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
3511
35122002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
3513
3514	* include/backward/strstream: Remove namespace std. Transfer to...
3515	* include/backward/strstream.h: ...here. Qualify std names.
3516	* src/strstream.cc: Remove namespace std.
3517	* include/Makefile.am (backward_headers): Remove strstream.h.
3518	* include/Makefile.in: Regenerate.
3519	* config/linker-map.gnu: Export strstream bits.
3520
3521	* src/fstream-inst.cc: Tweak.
3522	* src/io-inst.cc: Same.
3523	* src/istream-inst.cc: Same.
3524	* src/misc-inst.cc: Same.
3525	* src/ostream-inst.cc: Same.
3526	* src/sstream-inst.cc: Same.
3527	* src/valarray-inst.cc: Same.
3528	* src/misc-inst.cc: Remove unused instantiations.
3529
35302002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
3531
3532	* configure.in (libtool_VERSION): Bump to 5:0:0.
3533	* configure: Regenerate.
3534
35352002-06-28  Phil Edwards  <pme@gcc.gnu.org>
3536
3537	PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
3538	* include/std/std_queue.h:  Include deque.tcc, vector.tcc.
3539	* include/std/std_stack.h:  Include deque.tcc.
3540	* testsuite/23_containers/adaptors.cc:  New file.
3541
35422002-06-27  Phil Edwards  <pme@gcc.gnu.org>
3543
3544	* include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
3545	* docs/html/ext/howto.html:  Update allocator notes.
3546
35472002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3548
3549	* configure.in (INTERFACE): Remove.
3550	(release_VERSION): Remove.
3551	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
3552	(libstdcxx_interface): Change. Use gcc methods to determine version.
3553	* configure: Regenerate.
3554	* aclocal.m4: Regenerate.
3555
35562002-06-25  DJ Delorie  <dj@redhat.com>
3557
3558	* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
3559	GLIBCPP_TOPREL_CONFIGURE.
3560	* aclocal.m4: Likewise.
3561	* configure.in: Call it before AC_CANONICAL_SYSTEM.
3562	* configure: Regenerate.
3563
35642002-06-25  Jessica Han  <jessica@cup.hp.com>
3565
3566	* config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
3567	* libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
3568	_GLIBCPP_VTABLE_PADDING is defined.
3569
35702002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
3571
3572	* include/bits/stl_alloc.h: Additional formatting.
3573
35742002-06-24  Phil Edwards  <pme@gcc.gnu.org>
3575
3576	* include/bits/stl_alloc.h:  Reformat as per C++STYLE.
3577
35782002-06-24  Phil Edwards  <pme@gcc.gnu.org>
3579
3580	* config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
3581	* config/os/*/bits/*:  Likewise.
3582	* configure.in:  Update.
3583	* configure:  Regenerate.
3584	* configure.target:  Update.
3585	* docs/html/17_intro/porting.texi:  Update.
3586
35872002-06-21  Phil Edwards  <pme@gcc.gnu.org>
3588
3589	* include/bits/stl_map.h, include/bits/stl_multimap.h,
3590	include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
3591	complete doxygenation.
3592	* include/bits/boost_concept_check.h:  Minor comment.
3593
35942002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
3595
3596	* include/c_compatibility: New.
3597	* include/c_compatibility/assert.h: New.
3598	* include/c_compatibility/ctype.h: New.
3599	* include/c_compatibility/errno.h: New.
3600	* include/c_compatibility/float.h: New.
3601	* include/c_compatibility/iso646.h: New.
3602	* include/c_compatibility/limits.h: New.
3603	* include/c_compatibility/locale.h: New.
3604	* include/c_compatibility/math.h: New.
3605	* include/c_compatibility/setjmp.h: New.
3606	* include/c_compatibility/signal.h: New.
3607	* include/c_compatibility/stdarg.h: New.
3608	* include/c_compatibility/stddef.h: New.
3609	* include/c_compatibility/stdio.h: New.
3610	* include/c_compatibility/stdlib.h: New.
3611	* include/c_compatibility/string.h: New.
3612	* include/c_compatibility/time.h: New.
3613	* include/c_compatibility/wchar.h: New.
3614	* include/c_compatibility/wctype.h: New.
3615
3616	* include/c/std_cerrno.h: Get out of the way... define errno.
3617	* include/c/std_cmath.h: Add abs, modf overloads.
3618	Undefine C99 isms. Still not sure how to deal with this sanely.
3619	* include/c/std_csetjmp.h: Tweak.
3620	* include/c/std_cwchar.h: Include cstddef for size_t.
3621
3622	* include/c_std/std_cmath.h: Remove extra function.
3623
3624	Pendantic std usage in testsuites.
3625	* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
3626	with std.
3627	* testsuite/17_intro/header_cwchar.cc: Tweak.
3628	* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
3629	std::setlocale.
3630	* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
3631	* testsuite/22_locale/ctype_to_char.cc (test05): Same.
3632	* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
3633	* testsuite/22_locale/ctype_is_char.cc (test05): Same.
3634	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
3635	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
3636	* testsuite/22_locale/time_get_members_char.cc (test08): Same.
3637	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
3638	* testsuite/22_locale/time_put_members_char.cc (test04): Same.
3639	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
3640	* testsuite/22_locale/num_put_members_char.cc (test04): Same.
3641	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
3642	* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
3643	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3644	* testsuite/22_locale/num_get_members_char.cc: Same.
3645	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
3646	* testsuite/22_locale/money_put_members_char.cc (test07): Same.
3647	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
3648	* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
3649	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
3650	* testsuite/22_locale/money_get_members_char.cc (test08): Same.
3651	* testsuite/22_locale/messages_members_char.cc (test03): Same.
3652	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
3653	* testsuite/22_locale/collate_members_char.cc (test04): Same.
3654	* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
3655	* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
3656	* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
3657
36582002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
3659
3660	* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
3661	c_sources.
3662
36632002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
3664
3665	* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
3666	Use size_type instead of unsigned long.
3667
36682002-06-20  Steve Ellcey  <sje@cup.hp.com>
3669
3670	* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
3671	wchar types.
3672	(_S_min_len): Ditto.
3673
36742002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
3675
3676	* include/Makefile.am: Add rules.
3677	* include/Makefile.in: Regenerate.
3678
3679	* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
3680	* aclocal.m4: Regenerate.
3681	* configure: Regenerate.
3682	* configure.target (c_model, c_compatibility): Add.
3683
3684	* libsupc++/Makefile.am (c_sources): New.
3685	(libsupc___la_SOURCES): Add c_sources.
3686	(LTCOMPILE): Remove INCLUDES.
3687	(GCC_INCLUDES): New.
3688	(C_COMPILE): New, like COMPILE but without INCLUDES.
3689	(cxa_demangle.o): Use C_COMPILE.
3690	(dyn-string.o): Use C_COMPILE.
3691
3692	* include/c/std_cstdarg.h: Define __need___va_list.
3693	* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
3694	need_NULL, need_offsetof.
3695
36962002-06-19  Steve Ellcey  <sje@cup.hp.com>
3697
3698	* configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
3699	definitions in hpux11 cross-build because these functions do
3700	not exist on hpux11 (but some exist on hpux10); move defaults out
3701	into existing sections.
3702	* configure:  Regenerate.
3703
37042002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3705
3706	* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
3707	* include/c/std_cwctype.h: Guard.
3708
3709	* libsupc++/eh_alloc.cc: Tweak include order.
3710	* libsupc++/pure.cc: Use cstdio.
3711	* libsupc++/new_op.cc: Remove malloc forward declaration, as
3712	cstdlib brings it in. Use std::malloc.
3713
3714	* src/Makefile.am (sources): Remove cmath.cc.
3715	* src/Makefile.in: Regenerate.
3716	* src/cmath.cc: Remove.
3717
37182002-06-18  Phil Edwards  <pme@gcc.gnu.org>
3719
3720	* configure.target:  Force mips to use the generic cpu routines.
3721
37222002-06-18  Phil Edwards  <pme@gcc.gnu.org>
3723
3724	* configure.host:  Delete file.
3725	* configure.target:  More documentation.  Factor out common parts of
3726	script into "intelligent" settings about defaults.  Remove redundancy.
3727
3728	* acinclude.m4:  Update comments.  Do not call configure.host.
3729	(GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
3730	libgcc_s.
3731	* configure.in:  Slight reformatting, more comments.  Factor out
3732	"config/" from all the directories.
3733	* docs/html/17_intro/porting.texi:  Update and expand.
3734	* testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
3735	from configure.host.
3736
3737	* aclocal.m4, configure, docs/html/17_intro/porting.html,
3738	testsuite/Makefile.in:  Regenerate.
3739
37402002-06-16  Phil Edwards  <pme@gcc.gnu.org>
3741
3742	* docs/doxygen/TODO:  Update.
3743	* docs/doxygen/tables.html:  Uncomment magical middle column.
3744	* docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
3745	* include/bits/stl_queue.h:  Doxygenate and reformat.
3746	* include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
3747	for deprecated names required by the standard.
3748
37492002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
3750
3751	* configure.in (target_alias): Fix.
3752	* configure: Regenerate.
3753	* aclocal.m4: Regenerate.
3754
37552002-06-12  Phil Edwards  <pme@gcc.gnu.org>
3756
3757	* include/Makefile.am:  Add new files.
3758	* include/Makefile.in:  Regenerate.
3759
3760	* include/bits/stl_deque.h, include/bits/stl_list.h,
3761	include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
3762	* include/bits/deque.tcc, include/bits/list.tcc,
3763	include/bits/vector.tcc:  ...to here.  New files.
3764
3765	* include/ext/stl_hashtable.h:  Inclide correct full headers.
3766	* include/std/std_deque.h:  Include .tcc files for now.
3767	* include/std/std_list.h:  Likewise.
3768	* include/std/std_vector.h:  Likewise.
3769
37702002-06-12  Daniel Jacobowitz  <drow@mvista.com>
3771
3772	* Makefile.am: Add FLAGS_TO_PASS.
3773	* Makefile.in: Regenerated.
3774
37752002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
3776	    Benjamin Kosnik  <bkoz@redhat.com>
3777
3778	* configure.target: Set os_include_dir to config/os/qnx/qnx6.1
3779	under *-qnx6.[12]*.
3780	* configure.in: Add support for *-qnx6.[12]*.
3781	* configure: Regenerate.
3782
3783	* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
3784	New directories.
3785	* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
3786	ctype_noninline.h, os_defines.h: New files.
3787
37882002-06-10  Loren J. Rittle <ljrittle@acm.org>
3789
3790	* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
3791	include all required headers for test against older POSIX standard.
3792	(GLIBCPP_CHECK_SETRLIMIT): Likewise.
3793	(ac_setrlimit): Likewise.
3794	* aclocal.m4: Regenerate.
3795	* configure: Regenerate.
3796	* testsuite/testsuite_hooks.cc: Reorder and include all
3797	required headers for use against older POSIX standard.
3798
37992002-06-08  Paolo Carlini  <pcarlini@unitus.it>
3800
3801	* testsuite/backwards/strstream_members.cc: New.
3802
38032002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3804
3805	* include/backwards/strstream: Format.
3806	* src/strstream.cc: Format.
3807
38082002-06-08  Andreas Schwab  <schwab@suse.de>
3809
3810	* src/strstream.cc (strstreambuf::overflow): Set _M_buf,
3811	_M_buf_size and _M_buf_size_opt to the new buffer and size.
3812
38132002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3814
3815	* config/os/generic/bits/ctype_noninline.h: Tweak format.
3816
38172002-06-07  Steve Ellcey  <sje@cup.hp.com>
3818
3819	* src/locale-inst.cc (__codecvt_abstract_base):
3820	Put inside _GLIBCPP_USE_WCHAR_T ifdef.
3821	* include/bits/istream.tcc (basic_istream): Ditto.
3822	(ws) Ditto.
3823	(operator>>) Ditto.
3824	* include/bits/ostream.tcc (basic_ostream): Ditto.
3825	(endl): Ditto.
3826	(ends): Ditto.
3827	(flush): Ditto.
3828	(operator<<): Ditto.
3829
38302002-06-07  Phil Edwards  <pme@gcc.gnu.org>
3831
3832	* mkcheck.in:  Link against local testsuite library.
3833	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
3834	implementation out...
3835	* testsuite/testsuite_hooks.cc:  ...to here.
3836
38372002-06-06  Loren J. Rittle <ljrittle@acm.org>
3838
3839	* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
3840	* include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
3841	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
3842	* src/Makefile.in: Regenerate (explicitly with --cygnus option).
3843	* testsuite/Makefile.in: Likewise.
3844
38452002-06-05  David Edelsohn  <edelsohn@gnu.org>
3846
3847	* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
3848	Call external symbol.
3849
38502002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3851
3852	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
3853	Search correct multilib testsuite dir for libv3test.
3854
38552002-06-04  Paolo Carlini  <pcarlini@unitus.it>
3856	    Gaby Dos Reis  <gdr@codesourcery.com>
3857
3858	* include/bits/basic_string.tcc
3859	(basic_string::_S_construct(forward_iterator_tag):
3860	Fix typo in null pointer check.
3861	* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
3862
38632002-06-04  Paolo Carlini  <pcarlini@unitus.it>
3864
3865	* testsuite/22_locale/money_get_members_char.cc
3866	(test02): Add decimal point to long double constants.
3867	* testsuite/22_locale/money_get_members_wchar_t.cc
3868	(test02): Likewise.
3869	* testsuite/22_locale/money_put_members_char.cc
3870	(test02, test03, test06): Likewise.
3871	* testsuite/22_locale/money_put_members_wchar_t.cc:
3872	(test02, test03, test06): Likewise.
3873	* testsuite/22_locale/num_get_members_char.cc:
3874	(test02, test01): Likewise; suffix long long constants with LL.
3875	* testsuite/22_locale/num_get_members_wchar_t.cc:
3876	(test02, test01): Likewise.
3877	* testsuite/22_locale/num_put_members_char.cc:
3878	(test02, test01): Likewise.
3879	* testsuite/22_locale/num_put_members_wchar_t.cc:
3880	(test02, test01): Likewise.
3881
38822002-06-03  Marc Espie  <espie@openbsd.org>
3883
3884	* config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
3885	assembly for old assemblers.
3886
38872002-06-03  Phil Edwards  <pme@gcc.gnu.org>
3888
3889	* include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
3890	Move/rename...
3891	(vector<bool>::swap(reference,reference)): ...to this.
3892
38932002-06-03  Phil Edwards  <pme@gcc.gnu.org>
3894
3895	* docs/doxygen/TODO:  Update.
3896	* docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
3897	some class members are in 14882 order.
3898	* docs/html/ext/howto.html:  3.1 is in the past now, not the future.
3899
3900	* include/std/std_bitset.h:  Update comment.
3901	* src/bitset.cc:  Update comments, clean up spacing.
3902
3903	* src/Makefile.am (sources):  Alphabetize for convenience.
3904	* src/Makefile.in:  Regenerate.
3905
39062002-06-03  Phil Edwards  <pme@gcc.gnu.org>
3907
3908	* include/bits/stl_deque.h, include/bits/stl_list.h,
3909	include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
3910	Reorder to match 14882.  Doxygen blocks for all public members.
3911
39122002-05-31  Marcus Meissner  <meissner@suse.de>
3913
3914	PR libstdc++/6886
3915	* include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
3916	* testsuite/23_containers/vector_bool.cc (test02):  New test.
3917
39182002-05-30  Marc Espie  <espie@openbsd.org>
3919
3920	* configure.in: Always check for sys/types.h
3921	* configure: Regenerate.
3922
39232002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
3924
3925	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
3926	Rebuild the wrapper file every time this proc is called.
3927
39282002-05-28  Phil Edwards  <pme@gcc.gnu.org>
3929
3930	* testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
3931	CXX/INCLUDES.
3932	* testsuite/Makefile.in:  Regenerate.
3933	* testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
3934	list_modifiers.cc and rename from 'T'.  Move code bodies...
3935	* testsuite/testsuite_hooks.cc:  ...to here.  New file.
3936	* testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
3937	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
3938	Add libv3test.a to link options.
3939
39402002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3941
3942	* src/misc-inst.cc: Define unnecessary algorithm
3943	instantiations. Break apart instantiations into groupings below.
3944	* src/fstream-inst.cc: New.
3945	* src/io-inst.cc: New.
3946	* src/istream-inst.cc: New.
3947	* src/ostream-inst.cc: New.
3948	* src/streambuf-inst.cc: New.
3949	* src/sstream-inst.cc: New.
3950	* src/Makefile.am (sources): Add files.
3951	* src/Makefile.in: Regenerate.
3952
3953	* acinclude.m4: Work around automake 1.4-p5 bug, change
3954	AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
3955
39562002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3957
3958	PR libstdc++/6795.
3959	* config/os/solaris/solaris2.6/bits/ctype_noninline.h
3960	(classic_table): Fix.
3961	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3962
39632002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3964
3965	* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
3966	_GLIBCPP_USE_WCHAR_T.
3967	* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
3968	* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
3969	* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
3970
39712002-05-26  Carlo Wood  <carlo@alinoe.com>
3972	    Paolo Carlini  <pcarlini@unitus.it>
3973
3974	PR libstdc++/6811
3975	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
3976	(__enc_traits::operator=): add missing return statement.
3977
39782002-05-24  Phil Edwards  <pme@gcc.gnu.org>
3979
3980	PR libstdc++/6282
3981	* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
3982	(operator>>):  If nothing was extracted, don't fail in the
3983	zero-length case.
3984	* testsuite/23_containers/bitset_ctor.cc (test02):  New test.
3985
39862002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
3987
3988	PR libstdc++/6701
3989	* testsuite/22_locale/ctype_narrow_char.cc: New.
3990	* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
3991	* testsuite/22_locale/ctype_widen_char.cc: New.
3992	* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
3993	* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
3994	* testsuite/22_locale/ctype_is_char.cc: ...this.
3995	* testsuite/22_locale/ctype_to_char.cc: ...and this.
3996	* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
3997	* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
3998	* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
3999
4000	* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
4001
40022002-05-24  Dale Peakall <dale@peakall.net>
4003
4004	PR libstdc++/6701
4005	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
4006	* config/locale/generic/ctype_members.cc: Same.
4007
40082002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4009
4010	PR libstdc++/6750
4011	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
4012	for empty string literal.
4013	(ostream::operator<<(const _CharT*)): Same.
4014	(ostream<char>::operator<<(const char*)): Same.
4015	(ostream<char>::operator<<(streambuf*)): Same.
4016	* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
4017	* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
4018
40192002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
4020
4021	* configure.in (release_VERSION): Update to 3.1.1.
4022	(libtool_VERSION): Update to 4:1:0.
4023	* configure: Regenerate.
4024
40252002-05-21  Phil Edwards  <pme@gcc.gnu.org>
4026
4027	* include/bits/stl_pair.h:  Tweak comment markup.
4028
40292002-05-21  Phil Edwards  <pme@gcc.gnu.org>
4030
4031	* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
4032
40332002-05-21  Phil Edwards  <pme@gcc.gnu.org>
4034
4035	* docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
4036
40372002-05-21  Phil Edwards  <pme@gcc.gnu.org>
4038
4039	* include/bits/stl_vector.h:  Reformat to follow C++STYLE.
4040	Doxygenate all public members.  Reorder to follow 14882.
4041	(vector::push_back(void)):  Remove previously-deprecated fn.
4042	(vector::insert(iterator), vector::_M_insert_aux(iterator)):
4043	Deprecate for removal in 3.3.
4044
40452002-05-20  Phil Edwards  <pme@gcc.gnu.org>
4046
4047	* docs/html/faq/index.html (5.4):  Recommend against -I options for
4048	finding the ext headers.
4049	* docs/html/faq/index.txt:  Regenerate.
4050
40512002-05-19  Paolo Carlini  <pcarlini@unitus.it>
4052
4053	* testsuite/23_containers/deque_operators.cc (test01):
4054	Fix minor typo in last commit.
4055
40562002-05-18  Paolo Carlini  <pcarlini@unitus.it>
4057
4058	PR libstdc++/6503
4059	* include/bits/stl_deque.h (_Deque_iterator::operator==,
4060	operator!=, operator<, operator>, operator>=, operator<=):
4061	Make non-member functions, to allow comparing const and
4062	non-const iterators in any order.
4063	* testsuite/23_containers/deque_operators.cc: New testfile.
4064
40652002-05-16  Phil Edwards  <pme@gcc.gnu.org>
4066
4067	* docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
4068	* docs/html/faq/index.txt:  Regenerate.
4069
40702002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4071
4072	* Makefile.am: Allow for PWDCMD to override hardcoded pwd.
4073	* acinclude.m4: Likewise.
4074	* docs/html/Makefile: Likewise.
4075	* aclocal.m4: Regenerate.
4076	* configure: Regenerate.
4077	* Makefile.in: Regenerate.
4078
40792002-05-15  Loren J. Rittle <ljrittle@acm.org>
4080
4081	libstdc++/6641
4082	* include/bits/c++config (__USE_MALLOC): Report case where
4083	the user improperly defined it on the command line.
4084
40852002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4086
4087	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
4088	Retrieve current limits before setting.
4089
40902002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
4091
4092	PR libstdc++/6518
4093	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
4094	for null case.
4095	(ostream::operator<<(const _CharT*)): Same.
4096	(ostream<char>::operator<<(const char*)): Same.
4097	* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
4098
40992002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
4100
4101	PR libstdc++/6594
4102	* src/strstream.cc (strstreambuf): Fix leak.
4103
41042002-05-15  Paolo Carlini  <pcarlini@unitus.it>
4105
4106	PR libstdc++/6648
4107	* include/bits/istream.tcc (istream::getline, ignore):
4108	Upon __idelim (__delim) call sbumpc() not snextc().
4109	* testsuite/27_io/narrow_stream_objects.cc:
4110	Add test08 and test09.
4111
41122002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
4113
4114	* testsuite/22_locale/ctype_scan_char.cc: Tweak.
4115	* testsuite/22_locale/ctype_scan_wchar_t.cc: New.
4116
4117	* docs/html/install.html: Fix.
4118
41192002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
4120
4121	* include/bits/fstream.tcc
4122	(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
4123	try/catch blocks.
4124	* src/localename.cc (locale::_Impl::_M_install_facet): Same.
4125
4126	* docs/html/install.html: Tweak, add bits about required locales
4127	for the 22_locale tests when using the gnu model.
4128
4129	* testsuite/27_io/istream_sentry.cc: Tweak.
4130
41312002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4132
4133	* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
4134	Fix typo, use this->is() rather than manually (and perhaps
4135	incorrectly) inlining it.
4136	* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
4137	Likewise.
4138	* testsuite/22_locale/ctype_scan_char.cc: New file.
4139
41402002-05-13  Paolo Carlini  <pcarlini@unitus.it>
4141	    Jakub Jelinek  <jakub@redhat.com>
4142
4143	* testsuite/22_locale/money_get_members_char.cc
4144	(test01, test02, test04): Use the de_DE@euro named locale
4145	instead of de_DE to allow for an uniform behaviour with
4146	both old and Euro-era localedata; tweak some tests.
4147	* testsuite/22_locale/money_get_members_wchar_t.cc
4148	(test01, test02, test04): Likewise.
4149	* testsuite/22_locale/money_put_members_char.cc
4150	(test01, test02, test04): Likewise.
4151	* testsuite/22_locale/money_put_members_wchar_t.cc
4152	(test01, test02, test04): Likewise.
4153
41542002-05-13  Paolo Carlini  <pcarlini@unitus.it>
4155
4156	* testsuite/22_locale/codecvt_members_char_char.cc
4157	(test03): Robustify wrt localedata.
4158	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
4159	* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
4160	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
4161	* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
4162	* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
4163	* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
4164	* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
4165	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
4166	* testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
4167	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
4168	* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
4169	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
4170	* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
4171	* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
4172	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
4173	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
4174	* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
4175	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
4176	* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
4177	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
4178	* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
4179	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
4180
41812002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4182
4183	* config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
4184	change.
4185
41862002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4187
4188	* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
4189	to 64 for hppa 64-bit port.
4190	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.
4191
41922002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4193
4194	* acinclude.m4 (enable_symvers): Quote $LD.
4195	* aclocal.m4: Regenerate.
4196	* configure: Likewise.
4197
41982002-05-09  Jakub Jelinek  <jakub@redhat.com>
4199
4200	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
4201	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
4202	LD_LIBRARY_PATH.
4203
42042002-05-08  Alexandre Oliva  <aoliva@redhat.com>
4205
4206	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
4207	script entry, and set LD to it when configuring multilibs.
4208	* configure: Rebuilt.
4209
42102002-05-07  Mark Mitchell  <mark@codesourcery.com>
4211
4212	* configure.in: Add support for WindISS.
4213	* configure: Regenerated.
4214	* configure.target: Add support for WindISS.
4215	* config/os/windiss/bits/ctype_base.h: New file.
4216	* config/os/windiss/bits/ctype_inline.h: Likewise.
4217	* config/os/windiss/bits/ctype_noninline.h: Likewise.
4218	* config/os/windiss/bits/os_defines.h: Likewise.
4219
42202002-05-06  Paolo Carlini  <pcarlini@unitus.it>
4221
4222	Test all the facets for the temporary "C" locale switch issue.
4223	* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
4224	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4225	* testsuite/22_locale/collate_members_char.cc: Add test04.
4226	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4227	* testsuite/22_locale/ctype_members_char.cc: Add test05.
4228	* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
4229	* testsuite/22_locale/messages_members_char.cc: Add test03.
4230	* testsuite/22_locale/money_get_members_char.cc: Add test08.
4231	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4232	* testsuite/22_locale/money_put_members_char.cc: Add test07.
4233	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4234	* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
4235	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4236	* testsuite/22_locale/num_get_members_char.cc: Add test06.
4237	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4238	* testsuite/22_locale/numpunct_members_char.cc: Add test03.
4239	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4240	* testsuite/22_locale/time_get_members_char.cc: Add test08.
4241	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4242	* testsuite/22_locale/time_put_members_char.cc: Add test04.
4243	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4244
4245	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
4246	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
4247
42482002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4249
4250	* config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
4251	__EXTENSIONS__): Ensure they are always defined.
4252
42532002-05-06  Phil Edwards  <pme@gcc.gnu.org>
4254
4255	* docs/html/documentation.html:  Fix broken link.
4256
42572002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
4258	    Paolo Carlini  <pcarlini@unitus.it>
4259
4260	* testsuite/22_locale/num_put_members_char.cc: Add test04(),
4261	testing for the locale_facets.tcc entry of the previous commit.
4262	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4263
42642002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
4265
4266	* config/locale/generic/c_locale.cc
4267	(__convert_to_v(float, double, long double)):
4268	Fix the temporary switch to the "C" locale, saving and
4269	restoring in the proper way the current locale.
4270	* config/locale/generic/time_members.cc
4271	(__timepunct<char, wchar_t>::_M_put): Likewise.
4272	* config/locale/gnu/messages_members.cc
4273	(messages<char>::do_get): Likewise.
4274	* config/locale/gnu/messages_members.h
4275	(messages<_CharT>::do_get): Likewise.
4276	* config/locale/gnu/time_members.cc
4277	(__timepunct<char, wchar_t>::_M_put): Likewise.
4278	* include/bits/locale_facets.tcc (__convert_from_v): Likewise.
4279
42802002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4281
4282	* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
4283	* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
4284
4285	* Makefile.in, config.h.in, configure: Regenerate.
4286
42872002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
4288
4289	PR libstdc++/6549.
4290	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
4291	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
4292
42932002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4294
4295	* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
4296	Return __ctype + 1.
4297	(ctype:_M_table): Initialize to classic_table(), not __ctype.
4298
42992002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4300
4301	* configure.in: Update local install.html, configopts.html paths.
4302	* configure: Regenerate.
4303
43042002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4305
4306	* config/os/irix/irix5.2/bits/os_defines.h
4307	(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
4308
4309	* config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
4310	char.
4311
43122002-05-02  Phil Edwards  <pme@gcc.gnu.org>
4313
4314	* docs/html/faq/index.html:  Update list in #4.1.
4315	* docs/html/faq/index.txt:  Regenerated.
4316
43172002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
4318
4319	* docs/html/17_intro/RELEASE-NOTES (New): Update.
4320
43212002-05-01  Phil Edwards  <pme@gcc.gnu.org>
4322
4323	* include/std/std_bitset.h:  Fix doxygen comments.
4324	* docs/html/documentation.html:  Minor tweaks for 3.1.
4325	* docs/html/27_io/howto.html:  Likewise.
4326	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
4327	* docs/html/faq/index.html:  Likewise.
4328	* docs/html/faq/index.txt:  Regenerated.
4329
43302002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4331
4332	PR libstdc++/6533
4333	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
4334	(istreambuf_iterator::equal): Use it.
4335	(istreambuf_iterator::operator*): Use it.
4336
43372002-05-01  Paolo Carlini  <pcarlini@unitus.it>
4338
4339	PR libstdc++/6513
4340	* include/bits/stl_uninitialized.h
4341	(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
4342	Fix typo in 2001-07-17 commit: typedef _ValueType to
4343	iterator_traits<_ForwardIter> not <_InputIter>.
4344	* testsuite/23_containers/vector_ctor.cc: Add test04.
4345
43462002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4347
4348	PR libstdc++/6501
4349	* include/c_std/std_cctype.h: Include bits/c++config.h.
4350	* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
4351
43522002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4353
4354	* include/ext/stdio_filebuf.h: New file.
4355	* include/ext/enc_filebuf.h: New file.
4356	* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
4357	* config/io/basic_file_stdio.cc: Same.
4358	* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
4359	Remove _M_unbuf hacks.
4360	(filebuf::_M_destroy_internal_buffer): Same.
4361	(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
4362	(filebuf::fd): Remove.
4363	* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
4364	(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
4365	(filebuf::fd): Remove.
4366	* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
4367	filebufs.
4368	(ios_base::_S_ios_destroy): Same.
4369	* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
4370	* include/Makefile.am (ext_headers): Add ext_filebuf.h,
4371	stdio_filebuf.h.  * include/Makefile.in: Regenerate.
4372
43732002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4374
4375	PR libstdc++/6511
4376	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
4377
43782002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
4379
4380	PR libstdc++/5820
4381	* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
4382	Check for eof.
4383	* include/bits/streambuf_iterator.h: Match stream_iterator.h.
4384	(istreambuf_iterator::operator++): Invalidate on eof.
4385	(istreambuf_iterator::operator++(int)): Same.
4386	(istreambuf_iterator::operator*): Same.
4387
43882002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4389
4390	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
4391	of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
4392	LD_LIBRARY64_PATH.
4393
43942002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
4395
4396	PR libstdc++/5820
4397	* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
4398	(__basic_file::sys_ungetc): Take int.
4399	* config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
4400	* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
4401	Use sys_getc for unbuffered input.
4402	* testsuite/27_io/narrow_stream_objects.cc (test06): New.
4403
4404	* src/ios.cc (_M_grow_words): Adjust error checking.
4405	* testsuite/27_io/ios_base_storage.cc: Same.
4406
44072002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4408
4409	* include/ext/stl_hashtable.h: Import __iterator_category
4410
44112002-04-28  Paolo Carlini  <pcarlini@unitus.it>
4412	    Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4413
4414	* testsuite/ext/hash_set.cc: New testfile.
4415
44162002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4417
4418	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4419	_G_USING_THUNKS.
4420	* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
4421	* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
4422
44232002-04-26  Paolo Carlini  <pcarlini@unitus.it>
4424
4425	* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
4426	Fix and tighten __throw_length_error check.
4427	* testsuite/21_strings/replace.cc (test05): New.
4428	* testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
4429
44302002-04-23  Loren J. Rittle <ljrittle@acm.org>
4431
4432	* include/std/std_fstream.h (basic_filebuf::sync): Hoist
4433	unconditional flush on lower-layer handle to here...
4434	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
4435	...from here.  Optimize remaining _M_file.sync() call pattern.
4436	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
4437	(test05): Likewise.
4438
44392002-04-23  Jason Merrill  <jason@redhat.com>
4440
4441	* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
4442	output-only filebufs.
4443	* include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
4444	Likewise.
4445	(basic_filebuf::_M_set_determinate): Likewise.
4446
4447	PR libstdc++/6414
4448	* include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
4449	value properly in the trivial case.
4450	* testsuite/27_io/istream_seeks.cc (test04): Make sure that
4451	tellg() returns the right value after a read.
4452
44532002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
4454
4455	* config/cpu/mmix/bits/cpu_limits.h: New file.
4456	* configure.target (CPULIMITSH): Use it.
4457
44582002-04-22  Loren J. Rittle <ljrittle@acm.org>
4459
4460	* docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
4461	* docs/html/17_intro/porting.html: Rebuilt.
4462
44632002-04-20  Jason Merrill  <jason@redhat.com>
4464
4465	PR libstdc++/4150
4466	* include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
4467	Move to filebuf.
4468	(basic_streambuf::_M_set_determinate): Likewise.
4469	(basic_streambuf::_M_is_indeterminate): Likewise.
4470	* include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
4471	non-static data member.
4472	(basic_filebuf::_M_underflow_common): New non-static member function.
4473	(basic_filebuf::_M_underflow, _M_uflow): Call it.
4474	(basic_filebuf::sync): Avoid useless seeking.
4475	(basic_filebuf::_M_set_indeterminate): Move here from streambuf.
4476	Set _M_filepos.
4477	(basic_filebuf::_M_set_determinate): Likewise.
4478	(basic_filebuf::_M_is_indeterminate): Likewise.
4479	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
4480	back to _M_out_beg if necessary.
4481	(basic_filebuf::seekoff): Likewise.
4482	(basic_filebuf::_M_underflow_common): Generalization of old
4483	underflow().  Don't seek back to _M_in_beg.
4484	* src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
4485	* config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
4486	* config/os/bsd/freebsd/bits/os_defines.h: Likewise.
4487	* config/os/mingw32/bits/os_defines.h: Likewise.
4488	* testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
4489	ungetc test.
4490
44912002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
4492
4493	* include/bits/istream.tcc (istream::read): Fix.
4494	* testsuite/27_io/istream_unformatted.cc (main): Add.
4495
44962002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4497
4498	PR libstdc++/6360
4499	* include/bits/istream.tcc (istream::ignore): Streamline, use
4500	delimiter as is.
4501	* include/bits/streambuf.tcc: Use this->gptr.
4502	* testsuite/27_io/istream_unformatted.cc (test08): Add test.
4503
45042002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
4505
4506	* include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
4507	as type safety is important, especially on solaris.
4508	* include/bits/istream.tcc (istream::read): Clean.
4509	(istream::readsome): Same.
4510	* locale.cc: Wrap lines.
4511
4512	* testsuite/21_strings/inserters_extractors.cc: Tweaks.
4513	* testsuite/27_io/instantiations.cc (test): Add bool variable...
4514	* testsuite/21_strings/capacity.cc: Clean.
4515
45162002-04-17  Phil Edwards  <pme@gcc.gnu.org>
4517
4518	* docs/doxygen/doxygroups.cc:  New group on binary searching.
4519	* include/bits/stl_algo.h:  Document binary searches and merges.
4520	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
4521
45222002-04-17  Phil Edwards  <pme@gcc.gnu.org>
4523
4524	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
4525	* docs/doxygen/run_doxygen:  Bump required version.
4526	* docs/doxygen/user.cfg.in:  Revert accidental change.
4527	* docs/html/faq/index.html:  Reindent a block of links.
4528	(4.4):  New note on using dlsym.
4529	* docs/html/faq/index.txt:  Regenerated.
4530
45312002-04-17  Phil Edwards  <pme@gcc.gnu.org>
4532
4533	* testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
4534
45352002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4536
4537	* config/linker-map.gnu (__malloc_alloc_template): Add.
4538	(__default_alloc_template): Same.
4539	* include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
4540	template.
4541	(__default_alloc_template): Same.
4542
45432002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4544
4545	* testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
4546
45472002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
4548
4549	* src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
4550	* src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
4551	(__malloc_alloc_template): Conditionalize.
4552
4553	* include/bits/istream.tcc: Remove sputbackc calls.
4554
4555	* testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
4556
45572002-04-16  Paolo Carlini <pcarlini@unitus.it>
4558
4559	* testsuite/24_iterators/rel_ops.cc: New test.
4560
45612002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4562
4563	* include/bits/type_traits.h (__normal_iterator): Declare in
4564	__gnu_cxx.  Adjust use at global namespace.
4565	* include/bits/stl_iterator.h (__normal_iterator): Move definition
4566	into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
4567	* include/bits/basic_string.h (basic_string): Adjust use of
4568	__normal_iterator.
4569	* include/bits/stl_vector.h (_Alloc>): Likewise.
4570	* src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
4571	* src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
4572
45732002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
4574
4575	PR libstdc++/4164
4576	Valgrind fixes.
4577	* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
4578	Call close.
4579	(__basic_file::close): Call fflush. Correct return if fclose ok.
4580	(__basic_file::is_open): Make const.
4581	Change __c_file_type to __c_file.
4582	* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
4583	(__basic_file::is_open): Make const.
4584	* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
4585	* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
4586	(filebuf::_M_unbuf): Add.
4587	(filebuf::_M_file): Change to non-pointer.
4588	(filebuf::_M_allocate_pback_buffer): Remove.
4589	* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
4590	(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
4591	Change initialization list for _M_file change.
4592	(filebuf::_M_allocate_pback_buffer): Remove.
4593	Change _M_file usage to reflect non-pointer data member.
4594
4595	* config/locale/generic/c_locale.cc
4596	(locale::facet::_S_create_c_locale): Add parameter.
4597	* config/locale/generic/collate_members.cc: Change
4598	_M_compare_helper to _M_compare.
4599	Change _M_transform_helper to _M_transform.
4600	* config/locale/generic/monetary_members.cc: Changeup data types.
4601	Add dtors.
4602	* config/locale/generic/numeric_members.cc: Add dtors.
4603	* config/locale/generic/time_members.cc: Add dtors.
4604	* config/locale/gnu/c_locale.cc: Add parameter.
4605	* config/locale/gnu/collate_members.cc:Change
4606	_M_compare_helper to _M_compare.
4607	Change _M_transform_helper to _M_transform.
4608	* config/locale/gnu/ctype_members.cc: Better error checking.
4609	* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
4610	* config/locale/gnu/messages_members.cc: Tweak comment.
4611	* config/locale/gnu/monetary_members.cc: Change data types.
4612	Add dtors.
4613	* config/locale/gnu/numeric_members.cc: Add dtors, better error
4614	checking.
4615	* config/locale/gnu/time_members.cc: Same.
4616	* config/locale/ieee_1003.1-2001/c_locale.cc
4617	(locale::facet::_S_create_c_locale): Add parameter.
4618	* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
4619	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
4620	bogus ctor.
4621
4622	* include/bits/locale_facets.h (moneypunct): Use string literals.
4623	Don't define dtor.
4624	(numpunct): Same.
4625	(__timepunct): Same.
4626	(locale::_Impl::_M_facets): Change from vector to array.
4627	(locale::_Impl::_M_names): Change from array of strings to array
4628	of string literals.
4629	(locale::facet::_S_create_c_locale): Add parameter.
4630	(locale::locale::_S_num_facets): Move to...
4631	(locale::_Impl::_M_facets_size): Here.
4632	* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
4633	changes.
4634	* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
4635	(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
4636	(locale::_Impl::_Impl(string, size_t)): Change to
4637	(locale::_Impl::_Impl(const char*, size_t)): This.
4638
4639	* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
4640	* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
4641	(streambuf::_S_pback_size): This.
4642
4643	* src/globals.cc: Add pre-allocations for "C" facets.
4644	* src/locale-inst.cc: Remove vector instantiations.
4645	* src/locale.cc: Remove vector include. Fixups for _M_names,
4646	_M_facets changes.
4647	* src/localename.cc: Same.
4648
4649	* include/bits/stl_vector.h: Fix odd formatting.
4650
4651	* include/bits/basic_string.tcc: Tweak comment.
4652
4653	* libsupc++/new: Make sure parameters are uglified.
4654	* libsupc++/typeinfo: Same.
4655
4656	* testsuite/22_locale/num_get_members_char.cc: Fixup.
4657	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
4658	* testsuite/27_io/filebuf_members.cc: Same.
4659
46602002-04-12  Steve Ellcey  <sje@cup.hp.com>
4661
4662	* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
4663	(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
4664	does not define strtoll or strtoull, but does define strtol
4665	and strtoul which are the same since in 64 bit mode
4666	sizeof(long) == sizeof(long long).
4667
46682002-04-12  Phil Edwards  <pme@gcc.gnu.org>
4669
4670	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
4671	trailing spaces, indentation, and macro names.  Make exception
4672	messages more informative.
4673
46742002-04-11  Richard Henderson  <rth@redhat.com>
4675
4676	* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
4677	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
4678	(basic_ostream<>::operator<<(long long)): Same.
4679
46802002-04-11  Richard Henderson  <rth@redhat.com>
4681
4682	* config/linker-map.gnu: Add __gxx_personality_sj0.
4683
46842002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
4685
4686	libstdc++/1072
4687	* include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
4688	pointer to vector.
4689	Remove forward declaration of vector.
4690	Include vector.
4691	* include/bits/locale_facets.tcc: Remove vector include.
4692	(use_locale): Adjust.
4693	(has_locale): Adjust.
4694	* src/locale.cc: Adjust.
4695	* src/localename.cc: Same.
4696
46972002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
4698	    Richard Henderson  <rth@redhat.com>
4699
4700	* include/bits/sstream.tcc: Clean up bit ops.
4701	* include/bits/fstream.tcc: Same.
4702
47032002-04-09  Jakub Jelinek  <jakub@redhat.com>
4704
4705	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
4706	(__num_base::_S_scale_oct): Remove.
4707	* src/locale.cc (__num_base::_S_scale_hex): Remove.
4708	(__num_base::_S_scale_oct): Remove.
4709
47102002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
4711
4712	libstdc++/6124
4713	* testsuite/23_containers/bitset_members.cc: New test.
4714	* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
4715	(_S_bit_count): Here.
4716	(_First_one::_S_first_one): Move...
4717	(_S_first_one): Here.
4718	Format.
4719	* src/bitset.cc: Adjust.
4720	* config/linker-map.gnu: Export.
4721
47222002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
4723
4724	libstdc++/5180
4725	* include/bits/fstream.tcc (filebuf::seekpos): Fix.
4726	* include/std/std_fstream.h: Clean.
4727	* include/bits/ostream.tcc: Remove extraneous variables.
4728	* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
4729	open modes and which modes.
4730	(stringbuf::seekpos): Same.
4731	* testsuite/27_io/stringbuf_virtuals.cc: New tests.
4732
47332002-04-05  Jonathan Wakely <jw@kayari.org>
4734
4735	* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
4736	random_shuffle, partition, stable_partition, sort, stable_sort,
4737	partial_sort, partial_sort_copy, nth_element):  Doxygenate.
4738
47392002-04-05  David S. Miller  <davem@redhat.com>
4740
4741	* config/os/gnu-linux/bits/os_defines.h
4742	(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
4743
47442002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
4745
4746	libstdc++/3457
4747	via gawrilow@math.tu-berlin.de
4748	* acinclude.m4 (version_specific_libs): Fix combo usage with
4749	--with-gxx-include-dir.
4750	* aclocal.m4: Regenerate.
4751	* configure: Same.
4752
47532002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4754
4755	As per DR 184, libstdc++/3139
4756	* include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
4757	(numeric_limits<bool>::is_iec559): False.
4758	(numeric_limits<bool>::is_modulo): False.
4759
4760	* testsuite/27_io/ios_init.cc: Add instantiations.
4761
47622002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
4763
4764	libstdc++/5268
4765	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
4766	* testsuite/27_io/ios_init.cc (tests04): Add test.
4767
4768	libstdc++/3983
4769	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4770	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
4771	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
4772	* include/bits/istream.tcc: Use _M_fctype, make consistent with
4773	ostream.
4774	* testsuite/27_io/ios_init.cc (tests03): Add test.
4775
47762002-04-02  Phil Edwards  <pme@gcc.gnu.org>
4777
4778	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
4779	* include/Makefile.in:  Regenerate.
4780
47812002-04-02  Paolo Carlini  <pcarlini@unitus.it>
4782	    Nathan Myers  <ncm@cantrip.org>
4783	    Philip Martin  <philip@codematters.co.uk>
4784
4785	* include/bits/basic_string.h
4786	(replace(i1, i2, _CharT* k1, _CharT* k2),
4787	replace(i2, i2, const _CharT* k1, const _CharT* k2),
4788	replace(i1, i2, iterator k1, iterator k2,
4789	replace(i1, i2, const_iterator k1, const_iterator k2):
4790	New specializations to optimize for the common cases of
4791	pointers and iterators.
4792	(replace(pos, n1, s, n2)): Tweak.
4793	* include/bits/basic_string.tcc: Tweak comments.
4794	* testsuite/21_strings/replace.cc (test04): New tests.
4795
47962002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
4797
4798	libstdc++/5542
4799	* acinclude: More extensive checks for msgfmt, --enable-nls.
4800	* aclocal.m4: Regenerate.
4801	* configure: Regenerate.
4802
48032002-04-01  Phil Edwards  <pme@gcc.gnu.org>
4804
4805	* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
4806	* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
4807	* docs/html/18_support/howto.html:  Document the demangler.
4808	* docs/html/17_intro/howto.html:  And link to it.
4809
4810	* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
4811	* docs/doxygen/run_doxygen:  Print user-vs-maintainer.
4812
48132002-04-01  Phil Edwards  <pme@gcc.gnu.org>
4814
4815	* config/linker-map.gnu:  Export __verbose_terminate_handler.
4816	* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
4817	Make new LTCOMPILE variable, use it in new special build rules.
4818	* libsupc++/Makefile.in:  Rebuild.
4819	* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
4820	runtime __cxa_demangle.
4821
4822	* docs/html/install.html:  Update prereqs and instructions.
4823	* docs/html/19_diagnostics/howto.html:  Bring naming for
4824	verbose_terminate_handler into line with reality.
4825
48262002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
4827
4828	libstdc++/3129
4829	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
4830	(basic_ios::_M_streambuf_state): Move.
4831	* include/bits/ios_base (ios_base): To here.
4832	* include/bits/ios_base.h (ios_base::_S_local_words): To
4833	_S_local_word_size.
4834	(ios_base::_M_word_array): To _M_local_word.
4835	(ios_base::_M_words_limit): To _M_word_size.
4836	(ios_base::_M_words): To _M_word.
4837	Comment.
4838	* include/bits/basic_ios.tcc: Adjust.
4839	* src/ios.cc (ios_base::_M_grow_words): Tweak.
4840	* testsuite/27_io/ios_base_storage.cc: Add tests.
4841
4842	libstdc++/5207
4843	Kenny Simpson <theonetruekenny@yahoo.com>
4844	* include/bits/ios_base.h: Fix.
4845
4846	Richard Henderson  <rth@redhat.com>
4847	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
4848	last change.
4849
4850	* include/bits/basic_string.h: Tweak formatting.
4851
48522002-04-01  Paolo Carlini  <pcarlini@unitus.it>
4853
4854	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
4855	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
4856	By definition, sizeof(char) == 1.
4857	* include/bits/locale_facets.tcc (money_get::do_get,
4858	money_put::do_put): Ditto.
4859	* testsuite/21_strings/inserters_extractors.cc
4860	(test04): Ditto.
4861
48622002-03-30  Richard Henderson  <rth@redhat.com>
4863
4864	PR c++/3719
4865	* libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
4866	data out of the exception struct before calling unexpectedHandler.
4867
48682002-03-28  Roger Sayle  <roger@eyesopen.com>
4869
4870	* include/c_std/std_cmath.h:  To prevent problems overloading
4871	g++ builtins, use the double variants from the global namespace
4872	before defining float and long double variants in std::.
4873
48742002-03-28  Loren J. Rittle <ljrittle@acm.org>
4875
4876	* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
4877
48782002-03-28  Paolo Carlini  <pcarlini@unitus.it>
4879
4880	* testsuite/24_iterators/istream_iterator.cc
4881	(test02): New tests.
4882
48832002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4884	    Paolo Carlini  <pcarlini@unitus.it>
4885
4886	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
4887	(test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
4888	fix i_lit_base e_lit_base arrays, making them independent
4889	from the endianness of the platform; tweak UCS4 to UCS-4BE.
4890
48912002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
4892
4893	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
4894	allocate at least a byte.
4895
4896	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
4897	debugger-friendly.
4898	* testsuite/27_io/streambuf.cc (test07): Fix.
4899	(test06): Enable.
4900
49012002-03-27  Phil Edwards  <pme@gcc.gnu.org>
4902
4903	* docs/doxygen/Intro.3:  Date tweak.
4904	* docs/doxygen/TODO:  Update.
4905	* docs/doxygen/doxygroups.cc:  Point to tables.html.
4906	* docs/doxygen/mainpage.html:  Date tweak.
4907	* docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
4908	* docs/doxygen/tables.html:  Fill in the blanks.
4909
4910	* docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
4911	* include/bits/stl_algo.h:  Likewise; use expanded form.
4912	* include/bits/stl_alloc.h:  Likewise.
4913	* include/bits/stl_construct.h:  Likewise.
4914	* include/bits/stl_deque.h:  Likewise.
4915	* include/bits/stl_iterator_base_types.h:  Likewise.
4916	* include/bits/stl_list.h:  Likewise.
4917	* include/bits/stl_relops.h:  Likewise.
4918	* include/bits/stl_tempbuf.h:  Likewise.
4919	* include/bits/stl_vector.h:  Likewise.
4920	* include/std/std_memory.h:  Likewise.
4921
4922	* include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
4923	* include/bits/stl_list.h:  Likewise.
4924	* include/bits/stl_vector.h:  Likewise.
4925
49262002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
4927
4928	* include/c/: Guard with _CPP_.
4929	* include/c_std/: Same.
4930	* include/Makefile.am: Fixup install, link routines for null
4931	c_base_headers_extra scenarios.
4932	* include/Makefile.in: Regerate.
4933
49342002-03-25  Paolo Carlini <pcarlini@unitus.it>
4935	    Richard Henderson  <rth@redhat.com>
4936
4937	* testsuite/22_locale/codecvt_members_unicode_char.cc
4938	(test01, test02): make sure that the i_lit_base array
4939	is sufficiently aligned.
4940
49412002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
4942
4943	* config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
4944	_ctype_.
4945
49462002-03-25  Paolo Carlini  <pcarlini@unitus.it>
4947
4948	* testsuite/22_locale/collate_byname.cc
4949	(test01): compare the result of collate::compare with
4950	that of collate::transform + string::compare, not with
4951	that of collate::transform + collate::compare; values
4952	returned by collate::compare are normalized, therefore
4953	test against +-1.
4954
49552002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
4956	    Jakub Jelinek  <jakub@redhat.com>
4957
4958	* config/locale/gnu/messages_members.h: Correct conditional.
4959	* config/locale/gnu/messages_members.cc: Same.
4960	* config/locale/gnu/time_members.cc: Same.
4961
49622002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4963	    Paolo Carlini  <pcarlini@unitus.it>
4964
4965	* testsuite/22_locale/codecvt_members_unicode_char.cc
4966	(test01, test02): Fix i_lit_base arrays, making them
4967	independent from the endianness of the platform.
4968
49692002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4970
4971	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
4972	signbit and __signbit directly.
4973	* aclocal.m4: Regenerate.
4974	* configure: Regenerate.
4975	* config.h.in: Regenerate.
4976	* libmath/Makefile.am: Simplify.
4977	* libmath/Makefile.in: Regenerate.
4978	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
4979
4980	* include/Makefile.am: Clean up handling of extra "C" header files.
4981	Add hooks for "C" compatibility headers.
4982	* include/Makefile.in: Regenerate.
4983
4984	* include/c/*: Formatting tweaks, cleanups.
4985	* include/c_std/*: Same.
4986
49872002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4988
4989	* config/locale/gnu/messages_members.h: Add __uselocale bits.
4990	* config/locale/gnu/messages_members.cc: Same.
4991	* config/locale/gnu/time_members.cc: Same.
4992
49932002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
4994
4995	* src/vterminate.cc: Format, -fno-exceptions cleanup.
4996
49972002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4998
4999	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
5000	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
5001	* aclocal.m4: Regenerate.
5002	* configure: Likewise.
5003
50042002-03-19  Paolo Carlini  <pcarlini@unitus.it>
5005	    Ulrich Drepper  <drepper@redhat.com>
5006
5007	* src/locale-inst.cc (__convert_from_v): Add an additional
5008	__size parameter in the declarations.
5009	* include/bits/locale_facets.tcc
5010	(__convert_from_v): When available (that is,
5011	_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
5012	(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
5013	being defined or not, call and use __convert_from_v in the
5014	appropriate way.
5015	(num_put::_M_convert_int): Same here.
5016	(money_put::do_put(long double)): Same here.
5017
50182002-03-19  Phil Edwards  <pme@gcc.gnu.org>
5019
5020	* docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
5021	* docs/html/faq/index.txt:  Regenerate.
5022
50232002-03-19  Steve Ellcey  <sje@cup.hp.com>
5024
5025	* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
5026	GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
5027	--enable-libunwind-exceptions is set.
5028	* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
5029	macro to check for libunwind.
5030	* configure: Regenerate.
5031	* src/Makefile.am (libstdc___la_LDFLAGS): Add
5032	LIBUNWIND_FLAG to libstdc link line.
5033	* src/Makefile.in: Regenerate.
5034
50352002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
5036
5037	* docs/html/faq/index.html: Add OS X workaround.
5038	* docs/html/17_intro/TODO: Update.
5039
50402002-03-18  Paolo Carlini  <pcarlini@unitus.it>
5041
5042	* include/bits/locale_facets.tcc
5043	(money_put::do_put(long double)): Fix dimensioning of
5044	temporary buffers to avoid risk of overruns.
5045	(money_put::do_put(string)): Same for the buffer used to
5046	add the grouping chars.
5047	* testsuite/22_locale/money_put_members_char.cc: Add test06.
5048	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
5049
5050	* include/bits/locale_facets.tcc
5051	(collate::do_transform): Simplify.
5052
50532002-03-18  Phil Edwards  <pme@gcc.gnu.org>
5054
5055	* acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
5056	* configure.in:  Add comments pointing the way for autoconf 2.5x.
5057	* aclocal.m4, config.h.in, configure:  Regenerate.
5058
50592002-03-18  Philipp Thomas  <pthomas@suse.de>
5060
5061	* include/backward/hash_map.h: hash, hashtable, hash_map and
5062	hash_multimap are in namespace __gnu_cxx.
5063	include/backward/hash_set.h: hash, hashtable, hash_set and
5064	hash_multiset are in namespace __gnu_cxx.
5065	include/backward/hashtable.h: hash and hashtable are in
5066	namespace __gnu_cxx.
5067	include/backward/rope.h: char_producer, sequence_buffer,
5068	rope, crope and wrope are in namespace __gnu_cxx.
5069	include/backward/slist.h: slist is in namespace __gnu_cxx.
5070	* testsuite/backward/header_hash_map_h.cc
5071	testsuite/backward/header_hash_set_h.cc
5072	testsuite/backward/header_hashtable_h.cc
5073	testsuite/backward/header_rope_h.cc
5074	testsuite/backward/header_slist_h.cc
5075	testsuite/backward/header_tempbuf_h.cc: New tests for
5076	checking that we're using the correct namespace.
5077
50782002-03-17  Jason Merrill  <jason@redhat.com>
5079
5080	PR c++/4381
5081	* libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
5082	(check_exception_spec): Call it.  Take the thrown pointer.
5083	(__cxa_call_unexpected): Pass it.
5084	(PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
5085
50862002-03-15  Anthony Green  <green@redhat.com>
5087
5088	* configure.in: Remove useless is_mingw32.
5089	* configure: Rebuilt.
5090
50912002-03-15  Paolo Carlini  <pcarlini@unitus.it>
5092
5093	* testsuite/22_locale/collate_members_char.cc
5094	(test01): compare the result of collate::compare with
5095	that of collate::transform + string::compare, not with
5096	that of collate::transform + collate::compare.
5097	(test01): values returned by collate::compare are
5098	normalized, therefore test against +-1.
5099	* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
5100
51012002-03-12  Loren Rittle  <ljrittle@acm.org>
5102
5103	reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5104	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.
5105
51062002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5107	    Per Liboriussen  <liborius@stofanet.dk>
5108
5109	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
5110	unsigned char.
5111	* config/os/gnu-linux/bits/ctype_inline.h: Same.
5112
5113	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.
5114
5115	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
5116	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
5117
5118	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
5119	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
5120
5121	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
5122	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
5123
5124	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.
5125
51262002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5127
5128	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
5129	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
5130	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
5131	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
5132	that memory limits are in place.
5133	(test03): Add tests.
5134
51352002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
5136
5137	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
5138	* aclocal.m4: Regenerate.
5139	* config.h.in: Regenerate.
5140	* configure: Regenerate.
5141	* include/c_std/std_cwctype.h: Guard.
5142
51432002-03-11  Chris Demetriou  <cgd@broadcom.com>
5144
5145	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
5146	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
5147	* aclocal.m4: Regenerate.
5148	* configure: Regenerate.
5149
51502002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
5151
5152	* include/bits/stl_bvector.h: Fix warning.
5153
51542002-03-11  Richard Henderson  <rth@redhat.com>
5155
5156	* include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
5157
51582002-03-11  Phil Edwards  <pme@gcc.gnu.org>
5159
5160	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
5161	New function.  Build the list of tests to run in testsuite_files.
5162	* testsuite/libstdc++-v3.dg/dg.exp:  Use it.
5163
51642002-03-11  Phil Edwards  <pme@gcc.gnu.org>
5165
5166	* testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
5167	platforms with no weak support.
5168	* testsuite/27_io/ios_init.cc:  Likewise.
5169
51702002-03-10  Paolo Carlini  <pcarlini@unitus.it>
5171
5172	* include/bits/locale_facets.tcc (time_put::do_put):
5173	Consider sizeof(char_type) in allocating the buffer.
5174
5175	* include/bits/locale_facets.tcc (collate::do_tranform):
5176	Remove redundant variable.
5177
51782002-03-10  Ulrich Drepper  <drepper@redhat.com>
5179	    Paolo Carlini  <pcarlini@unitus.it>
5180
5181	* config/locale/generic/collate_members.cc
5182	(collate<char,wchar_t>::_M_compare_helper): normalize
5183	values returned by strcoll and wcscoll.
5184	* config/locale/gnu/collate_members.cc
5185	(collate<char,wchar_t>::_M_compare_helper): ditto
5186	for __strcoll_l and __wcscoll_l.
5187
51882002-03-10  Anthony Green  <green@redhat.com>
5189
5190	* configure.in: Support cross builds to mingw32 target.
5191	* configure: Rebuilt.
5192
51932002-03-09  Paolo Carlini  <pcarlini@unitus.it>
5194
5195	* include/bits/locale_facets.tcc (collate::do_transform):
5196	Rewrite to fix problems with long transformed strings.
5197
51982002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
5199
5200	* c_locale_generic.cc: Move to...
5201	* generic/c_locale.cc
5202	* c_locale_generic.h: Move to...
5203	* generic/c_locale.h
5204	* codecvt_specializations_generic.h: Move to...
5205	* generic/codecvt_specializations.h
5206	* collate_members_generic.cc: Move to...
5207	* generic/collate_members.cc
5208	* ctype_members_generic.cc: Move to...
5209	* generic/ctype_members.cc
5210	* messages_members_generic.cc: Move to...
5211	* generic/messages_members.cc
5212	* messages_members_generic.h: Move to...
5213	* generic/messages_members.h
5214	* moneypunct_members_generic.cc: Move to...
5215	* generic/monetary_members.cc
5216	* numpunct_members_generic.cc: Move to...
5217	* generic/numeric_members.cc
5218	* time_members_generic.cc: Move to...
5219	* generic/time_members.cc
5220	* c_locale_gnu.cc: Move to...
5221	* gnu/c_locale.cc
5222	* c_locale_gnu.h: Move to...
5223	* gnu/c_locale.h
5224	* collate_members_gnu.cc: Move to...
5225	* gnu/collate_members.cc
5226	* ctype_members_gnu.cc: Move to...
5227	* gnu/ctype_members.cc
5228	* messages_members_gnu.cc: Move to...
5229	* gnu/messages_members.cc
5230	* messages_members_gnu.h: Move to...
5231	* gnu/messages_members.h
5232	* moneypunct_members_gnu.cc: Move to...
5233	* gnu/monetary_members.cc
5234	* numpunct_members_gnu.cc: Move to...
5235	* gnu/numeric_members.cc
5236	* time_members_gnu.cc: Move to...
5237	* gnu/time_members.cc
5238	* c_locale_ieee_1003.1-200x.cc: Move to...
5239	* ieee_1003.1-2001/c_locale.cc
5240	* c_locale_ieee_1003.1-200x.h: Move to...
5241	* ieee_1003.1-2001/c_locale.h
5242	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
5243	* ieee_1003.1-2001/codecvt_specializations.h
5244	* messages_members_ieee_1003.1-200x.cc: Move to...
5245	* ieee_1003.1-2001/messages_members.cc
5246	* messages_members_ieee_1003.1-200x.h: Move to...
5247	* ieee_1003.1-2001/messages_members.h
5248
5249	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
5250	* aclocal.m4: Regenerate.
5251	* configure: Regenerate.
5252	* src/Makefile.am (sources): Change to monetary and numeric.
5253	* src/Makefile.in: Regenerate.
5254	* docs/html/configopts.html: Update to ieee_1003.1-2001.
5255
52562002-03-08  scott snyder  <snyder@fnal.gov>
5257
5258	libstdc++/5875
5259	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
5260	Allow one more digit of precision.
5261	* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
5262	write a double and read back in the same value.
5263
52642002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
5265
5266	* include/std/std_limits.h: Move static const data members out of
5267	generic template, into base class __numeric_limits_base.
5268	* src/limits.cc: Add definitions.
5269	* config/linker-map.gnu: Add __numeric_limits_base.
5270	* testsuite/18_support/numeric_limits.cc: Declare test in scope.
5271
52722002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
5273
5274	* include/bits/stl_alloc.h: Add extern implicit allocator
5275	instantiations.
5276	* include/bits/basic_string.tcc: Tweak.
5277	* include/bits/locale_facets.tcc: Remove default args. Add
5278	has_facet, use_facet extern instantiations.
5279	* src/stl-inst.cc: Add explicit instantiation.
5280	* src/locale-inst.cc: Clean. Remove locale member template
5281	instantiations.
5282
5283	* testsuite/22_locale/operators.cc (test02): Enable.
5284
52852002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
5286	    Stephen M. Webb  <stephen.webb@bregmasoft.com>
5287
5288	* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
5289	(_S_rb_tree_black): Make enum.
5290	Clean. Format.
5291	* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
5292	* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
5293	(__stl_threshold): _M_threshold, enum.
5294	* src/stl-inst.cc: Same.
5295	* config/linker-map.gnu: Remove.
5296
5297	* testsuite/23_containers/vector_bool.cc: New.
5298
52992002-03-06  Phil Edwards  <pme@gcc.gnu.org>
5300
5301	* docs/doxygen/user.cfg.in:  Also document deprecated entries.
5302	* docs/html/Makefile:  Example rule to rebuild porting-howto.html.
5303	* docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
5304	referring to the collection as a whole.  New section on which macros
5305	can be redefined by the user.
5306	* docs/html/19_diagnostics/howto.html:  Update note for concepts.
5307	* docs/html/20_util/howto.html:  Update link to SGI.
5308	* docs/html/faq/index.html:  Update snapshot versions.  New entry
5309	on why g++ (but not gcc) must currently predefine certain macros.
5310	* docs/html/faq/index.txt:  Regenerated.
5311
5312	* include/bits/basic_string.h (basic_string::_S_construct):  Fix
5313	names in declaration.
5314	(basic_string::compare):  These are no longer optional.
5315	* include/bits/ostream.tcc:  Tweak closing brace placement.
5316	* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
5317	* include/std/std_sstream.h:  Fix typo in comment.
5318	* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
5319	* src/locale.cc:  Likewise.
5320
53212002-03-06  Phil Edwards  <pme@gcc.gnu.org>
5322
5323	PR libstdc++/5734
5324	* include/bits/stl_vector.h (vector::push_back()):  Guard with
5325	_GLIBCPP_DEPRECATED.
5326
53272002-03-06  Phil Edwards  <pme@gcc.gnu.org>
5328
5329	* include/bits/c++config:  Fix misplaced leading blanks on first line.
5330
53312002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
5332
5333	* docs/html/17_intro/RELEASE-NOTES: Fix usage.
5334	* README (libmath): Make clear.
5335
53362002-03-05  Jakub Jelinek  <jakub@redhat.com>
5337
5338	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
5339	script globbing in ld.
5340	* aclocal.m4: Rebuilt.
5341	* configure: Rebuilt.
5342
53432002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
5344
5345	* docs/html/17_intro/RELEASE-NOTES: Update.
5346	* README: Format subdirectories.
5347
53482002-03-05  Paolo Carlini  <pcarlini@unitus.it>
5349
5350	libstdc++/5816
5351	* include/bits/locale_facets.tcc
5352	(num_get::_M_extract_float): Fix the parsing of __dec, since
5353	the standard prescribes that if no grouping characters are
5354	seen, no grouping check is applied.
5355	* testsuite/22_locale/num_get_members_char.cc: Add test05
5356	distilled from the PR.
5357	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
5358
53592002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5360
5361	* docs/html/17_intro/porting-howto.xml: Refer to
5362	http://www.oasis-open.org for docbookx.dtd.
5363	* docs/html/17_intro/porting-howto.html: Regenerated.
5364
53652002-03-03  Phil Edwards  <pme@gcc.gnu.org>
5366
5367	PR libstdc++/3955
5368	* include/std/std_sstream.h:  Remove trailing spaces.
5369	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
5370	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
5371
53722002-03-02  Paolo Carlini  <pcarlini@unitus.it>
5373
5374	* testsuite/22_locale/num_get_members_char.cc (test04):
5375	Use a named locale expecting grouping (de_DE).
5376	* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
5377	Ditto.
5378	* testsuite/27_io/ios_manip_basefield.cc (test01):
5379	Extend coverage, uniform treatment of hexs and octs.
5380
53812002-02-28  Richard Henderson  <rth@redhat.com>
5382
5383	* config/linker-map.gnu: Export operator new with unsigned long,
5384	and with std::nothrow_t.  Likewise operator delete.
5385
53862002-02-28  Paolo Carlini  <pcarlini@unitus.it>
5387
5388	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
5389	Admit grouping for octals and hexadecimals too.
5390	* testsuite/22_locale/num_get_members_char.cc: Add test04.
5391	(test01): Tweak "." -> "," in void* test.
5392	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
5393
5394	* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
5395	* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
5396
53972002-02-27  Paolo Carlini  <pcarlini@unitus.it>
5398
5399	* testsuite/27_io/ios_manip_basefield.cc (test01):
5400	Fix for 64 bit machines.
5401
54022002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
5403
5404	libstdc++/3983
5405	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
5406	Adjust comment.
5407	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
5408	(basic_ios::_M_fill_init): New.
5409	(basic_ios::fill()): Delay dealing with _M_fill.
5410	Adjust comment.
5411	* ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
5412	(ios_base::_M_call_callbacks): Adjust.
5413	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.
5414
54152002-02-26  Loren Rittle  <ljrittle@acm.org>
5416
5417	* include/Makefile.am (thread_target_headers): Unconditionally
5418	stage and install gthr-posix.h.
5419	(${target_builddir}/gthr-posix.h): New rule cloned off
5420	${target_builddir}/gthr-default.h.
5421	(${target_builddir}/gthr-default.h): Support chained inclusion
5422	of gthr support headers.
5423	* include/Makefile.in: Rebuilt.
5424
54252002-02-26  Paolo Carlini  <pcarlini@unitus.it>
5426
5427	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
5428	Group all the integral types, not only decs.
5429	* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
5430	tests, add a few more.
5431
54322002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
5433
5434	* src/ios.cc (ios_base::~ios_base): Tweak.
5435	(ios_base::_M_call_callbacks): Deal with null __p.
5436	(ios_base::ios_base): Set _M_callbacks.
5437	* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
5438	* testsuite/27_io/ios_init.cc (test02): Fix.
5439
5440	* mkcheck.in (static_fail): Failed links go to output file.
5441
54422002-02-25  Phil Edwards  <pme@gcc.gnu.org>
5443
5444	* docs/html/faq/index.html:  Update.
5445	* docs/html/faq/index.txt:  Regenerate.
5446
54472002-02-22  Phil Edwards  <pme@gcc.gnu.org>
5448
5449	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
5450	* aclocal.m4:  Regenerate.
5451	* docs/html/configopts.html:  Document --enable-symvers.
5452	* config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
5453
54542002-02-22  Philipp Thomas  <pthomas@suse.de>
5455
5456	* include/backward/tempbuf.h: get_temporary_buffer and
5457	return_temporary_buffer are in namespace std, not in __gnu_cxx.
5458
54592002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
5460
5461	* configure.in (target_alias): Default to yes.
5462	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
5463	libgcc to default case.
5464
54652002-02-20  Phil Edwards  <pme@gcc.gnu.org>
5466
5467	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
5468	(GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
5469	* configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
5470	* aclocal.m4:  Regenerate.
5471	* configure:  Regenerate.
5472	* config/linker-map.dummy:  New file.  Contains nothing useful.
5473
54742002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5475
5476	* testsuite/22_locale/money_put_members_char.cc: Fix.
5477	* testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
5478
5479	* testsuite/27_io/standard_manipulators.cc: New file.
5480
5481	* testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
5482	* testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
5483
54842002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
5485
5486	* config/os/mingw32/bits/ctype_noninline.h
5487	(ctype<char>::ctype): Remove default args from parm list.
5488	* config/os/djgpp/bits/ctype_noninline.h: Same.
5489
54902002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
5491
5492	* include/std/std_iomanip.h: Inline, tweaks.
5493	* config/linker-map.gnu: Remove hacks.
5494
5495	* testsuite/21_strings/capacity.cc: Add explicit instantiations.
5496	* testsuite/27_io/ios_init.cc: Same.
5497	* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
5498	* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
5499
55002002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
5501
5502	* config/linker-map.gnu: Export global vtable, typeinfo, guard
5503	variable, and thunk info as per CXXABI docs.
5504
55052002-02-19  Loren Rittle <ljrittle@acm.org>
5506
5507	* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
5508	* include/Makefile.in: Rebuilt.
5509
55102002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5511
5512	* testsuite/22_locale/collate_byname.cc (test01): Replace size4
5513	  with size3 for the string collations of str5.
5514
55152002-02-18  Paolo Carlini  <pcarlini@unitus.it>
5516
5517	libstdc++/5708
5518	* include/bits/locale_facets.tcc (money_put::do_put):
5519	For the space field use __fill instead of ' ', uniformly.
5520	* testsuite/22_locale/money_put_members_char.cc:
5521	Add test05 distilled from PR.
5522	(test01-02-03): Trim some '*' to ' '.
5523	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
5524
55252002-02-18  Loren Rittle <ljrittle@acm.org>
5526
5527	libstdc++/5697
5528	* include/Makefile.am (thread_builddir): Remove (map all
5529	existing uses to target_builddir).
5530	(thread_headers): Rename to...
5531	(thread_target_headers): ...this.
5532	(stamp-thread): Remove.
5533	(stamp-target): Correctly state the position as built.
5534	Update all dependencies to match the new reality.  Remove all
5535	dependency calculations on directories.
5536	* include/Makefile.in: Rebuilt.
5537
55382002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
5539
5540	* include/bits/locale_facets.tcc: Add pragma GCC system_header.
5541	* include/bits/fstream.tcc: Same.
5542	* include/bits/sstream.tcc: Same.
5543	* include/bits/ostream.tcc: Same.
5544	* include/bits/istream.tcc: Same.
5545	* include/bits/streambuf.tcc: Same.
5546	* include/bits/basic_ios.tcc: Same.
5547	* include/bits/basic_string.tcc: Same.
5548
55492002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5550
5551	* include/std/std_iosfwd.h: Don't guard typedefs with
5552	_GLIBCPP_USE_WCHAR_T
5553	* include/bits/stringfwd.h: Same.
5554
55552002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5556
5557	* src/locale.cc (moneypunct_byname): Remove definitions.
5558	* include/std/std_streambuf.h (streambuf::operator=): Return.
5559
55602002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5561
5562	Tune for size.
5563	* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
5564	explicit instantiation.
5565	(string::_Rep::_S_max_size): Same.
5566	* include/bits/basic_string.tcc: Add extern explicit
5567	instantiations for string, wstring.
5568	* include/bits/basic_ios.tcc: Add extern explicit instantiations
5569	for ios, wios.
5570	* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
5571	* include/bits/istream.tcc: Same, for istream, wistream.
5572	* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
5573	wiostream.
5574	* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
5575	istringstream, wistringstream, ostringstream, wostringstream,
5576	stringstream, wstringstream.
5577	* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
5578	wifstream, ofstream, wofstream, fstream, wfstream.
5579	* src/misc-inst.cc: Correct comments.
5580	Add iomanip instantiations for wide streams.
5581	* include/std/std_iomanip.h: Same.
5582	* include/bits/locale_facets.tcc: Same.
5583
5584	* include/std/std_streambuf.h: Correct
5585	_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
5586	* include/std/std_sstream.h: Same.
5587	* include/std/std_ostream.h: Same.
5588	* include/std/std_istream.h: Same.
5589	* include/std/std_fstream.h: Same.
5590
5591	* include/std/std_streambuf.h: Add definitions for private copy
5592	ctor and assignment operator.
5593	* include/std/std_istream.h: Remove declared but undefined copy
5594	ctor and assignment operator. This is taken care of in ios_base,
5595	so adding it in the derived class as well is superfluous.
5596	* include/std/std_ostream.h: Same.
5597
5598	* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
5599	* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
5600
56012002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
5602
5603	* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
5604	Add typeinfo bits. Smooth.
5605	* aclocal.m4: Regenerate.
5606	* configure: Same.
5607	* src/Makefile.in: Same.
5608
56092001-02-14  Joel Sherrill  <joel@OARcorp.com>
5610
5611	* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
5612	which do not have a CAS instruction.
5613
56142002-02-14  Phil Edwards  <pme@gcc.gnu.org>
5615
5616	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
5617	* configure.in:  Call it.
5618	* config/linker-map.gnu:  New file, initial incomplete revision.
5619	* src/Makefile.am:  Optionally pass version script to the linker.
5620	* aclocal.m4:  Regenerate.
5621	* configure:  Regenerate.
5622	* src/Makefile.in:  Regenerate.
5623
56242002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
5625
5626	* src/localename.cc: Remove stdexcept include.
5627	* src/locale-inst.cc: Same.
5628	* src/locale.cc: Same.
5629	* src/functexcept.cc: Remove string includes.
5630	* include/std/std_bitset.h: Remove stdexcept include.
5631	* testsuite/23_containers/bitset_members.cc: Add stdexcept.
5632	* testsuite/23_containers/bitset_ctor.cc: Same.
5633
56342002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
5635
5636	* include/bits/stl_algo (__stl_threshold): Declare external.
5637	(__stl_chunk_size): Same.
5638	* include/bits/stl_bvector.h (__WORD_BIT): Same.
5639	* include/bits/stl_tree.h (_S_rb_tree_red): Same.
5640	(_S_rb_tree_black): Same.
5641	* src/stl-inst.cc (__stl_threshold): Define.
5642	(__stl_chunk_size): Same.
5643	(__WORD_BIT): Same.
5644	(_S_rb_tree_red): Same.
5645	(_S_rb_tree_black): Same.
5646
5647	* config/io/basic_file_libio.h (__basic_file): Add declarations.
5648	* include/bits/basic_file.h: Remove.
5649	* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
5650	Declare generic types, specialization.
5651	* config/io/basic_file_stdio.cc: Definitions.
5652	* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
5653	Declare generic types.
5654	* include/Makefile.am (bits_headers): Remove basic_file.h.
5655	(extra_target_headers): Change basic_file_model.h to basic_file.h.
5656	(stamp-target): Same.
5657
5658	* include/bits/stl_alloc.h: Tweaks.
5659	* include/bits/localefwd.h: Same.
5660
56612002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
5662
5663	* include/bits/locale_facets.tcc (collate::do_hash): Fix.
5664	* testsuite/22_locale/collate_members_char.cc (test03): New test.
5665	* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
5666
56672002-02-10  Phil Edwards  <pme@gcc.gnu.org>
5668
5669	* include/bits/stl_algo.h (transform (both signatures), generate_n):
5670	Use __typeof__ in concept checks.
5671
56722002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
5673
5674	* include/bits/stl_algo.h (__median, for_each, find, find_if,
5675	adjacent_find, count, count_if, search, search_n, swap_ranges,
5676	transform, replace, replace_if, replace_copy, replace_copy_if,
5677	generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
5678	unique, unique_copy, reverse, reverse_copy):  Doxygenate.
5679
56802002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
5681
5682	* include/bits/locale_facets.h
5683	(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
5684	(__timepunct<_CharT>::_M_initialize_timepunct): Same.
5685	(__timepunct<_CharT>::_M_put_helper): Same.
5686	(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
5687
5688	* include/bits/fstream.tcc (filebuf::underflow): Remove
5689	__codecvt_type typedef.
5690	(filebuf::_M_convert_to_external): Same.
5691
56922002-02-08  Phil Edwards  <pme@gcc.gnu.org>
5693
5694	* docs/doxygen/TODO:  Update.
5695	* docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
5696	* docs/doxygen/mainpage.html:  Add TODO list link.
5697	* docs/doxygen/user.cfg.in:  Add @doctodo hook.
5698	* docs/doxygen/tables.html:  New file, emoty structure only.
5699
5700	* include/bits/stl_iterator.h:  Doxygenate just about everything.
5701	* include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
5702	* include/bits/stl_iterator_base_types.h:  Add notes.
5703
57042002-02-07  Stephan Buys  <sbproxy@icon.co.za>
5705
5706	* include/bits/stl_map.h:  Tweak doxygen markup.
5707	* include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
5708	* include/bits/stl_vector.h:  Likewise.
5709
57102002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5711
5712	libstdc++/5286
5713	libstdc++/3860
5714	* include/std/std_fstream.h (filebuf::__file_type): Change to
5715	__basic_file<char>.
5716	(filebuf::_M_convert_to_external): Declare.
5717	* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
5718	codecvt bits for wide streams.
5719	(filebuf::_M_really_overflow): Use it.
5720	(filebuf::underflow): Use codecvt.
5721	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
5722	(codecvt<__enc_traits>::do_out): Deal with partial.
5723	(codecvt<__enc_traits>::do_encoding): Return something useful.
5724	* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
5725	wchar_t.
5726	* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
5727	Change expected encoding output.
5728	(test02): Same.
5729	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
5730	(test02): Same.
5731
57322002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5733	    Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
5734
5735	* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
5736	(basic_ios::widen): Same.
5737
57382002-02-07  Paolo Carlini  <pcarlini@unitus.it>
5739
5740	* testsuite/22_locale/money_get_members_char.cc:
5741	Add comment, tidy up.
5742	(test01): more "en_HK" tests (without showbase).
5743	* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
5744
57452002-02-06  Loren Rittle <ljrittle@acm.org>
5746
5747	* config/locale/c_locale_generic.cc: Do not trust
5748	_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
5749	set by configure.
5750
57512002-02-06  Loren Rittle <ljrittle@acm.org>
5752
5753	* acinclude.m4: Add C++ linkage check for strtof.
5754	* aclocal.m4: Rebuilt.
5755	* config.h.in: Rebuilt.
5756	* configure: Rebuilt.
5757	* config/locale/c_locale_generic.cc: Conditionally include
5758	<ieeefp.h>.  Improve handling and error checking of float
5759	and long double input for non-C99 configurations.
5760
57612002-02-06  Paolo Carlini  <pcarlini@unitus.it>
5762
5763	* include/bits/locale_facets.tcc (money_get::do_get(string)):
5764	In case money_base::symbol deal properly with multi-char sign
5765	for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
5766	* testsuite/22_locale/money_get_members_char.cc: Add test07.
5767	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
5768
57692002-02-05  Paolo Carlini  <pcarlini@unitus.it>
5770
5771	* include/bits/locale_facets.tcc (money_get::do_get(string)):
5772	First construct a tentative returned string, then, only if the
5773	parsing succeeds, copy it into the string passed by reference.
5774	* testsuite/22_locale/money_get_members_char.cc: Add test06.
5775	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
5776
57772002-02-04  Phil Edwards  <pme@gcc.gnu.org>
5778
5779	* docs/doxygen/TODO:  Impl-defined behavior now documented...
5780	* docs/html/17_intro/howto.html:  ...here.
5781	* docs/doxygen/mainpage.doxy:  Remove, rename...
5782	* docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
5783	* docs/doxygen/style.css:  Add small text.
5784	* docs/doxygen/run_doxygen:  Adjust for new mainpage.
5785	* docs/doxygen/user.cfg.in:  Likewise.
5786
57872002-02-04  Stephan Buys  <sbproxy@icon.co.za>
5788
5789	* include/bits/stl_map.h:  Initial doxygen markup.
5790	* include/std/std_fstream.h:  Initial doxygen markup.
5791
57922002-02-04  Paolo Carlini  <pcarlini@unitus.it>
5793
5794	libstdc++/5579
5795	* include/bits/locale_facets.tcc (money_get::do_get(string)):
5796	Deal correctly with !(__io.flags() & ios_base::showbase)
5797	for case money_base::symbol.
5798	* testsuite/22_locale/money_get_members_char.cc: Add test05.
5799	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
5800
58012002-02-02  Paolo Carlini  <pcarlini@unitus.it>
5802
5803	* testsuite/22_locale/operators.cc
5804	(gnu_collate::do_compare()): Add return statement to
5805	suppress "no return statement" warning.
5806
58072002-02-01  Paolo Carlini  <pcarlini@unitus.it>
5808
5809	* testsuite/27_io/ostream_manip.cc: Enable test02.
5810
58112002-02-01  Phil Edwards  <pme@gcc.gnu.org>
5812
5813	* docs/html/documentation.html:  Update for 3.0.96.
5814	* docs/html/faq/index.html:  Update for 3.0.96.
5815	* docs/html/faq/index.txt:  Regenerated.
5816	* docs/doxygen/TODO:  Update notes.
5817	* docs/html/17_intro/howto.html:  Initial impl-specific listing.
5818
58192002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
5820
5821	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
5822	Initialize all data members in copy ctor. Make ctors explicit.
5823	(__enc_traits::__enc_traits()): Default ctor does nothing.
5824	(__enc_traits::_M_init): Guard against multiple iconv_opens.
5825	* include/std/std_sstream.h (basic_stringbuf): Make data members
5826	protected.
5827	* include/std/std_fstream.h (basic_filebuf): Same.
5828	* include/std/std_streambuf.h: Tweak.
5829	* include/bits/streambuf.tcc: Same.
5830	* include/bits/sstream.tcc: Same.
5831	* include/bits/fstream.tcc: Same.
5832
58332002-01-31  Loren Rittle <ljrittle@acm.org>
5834
5835	* testsuite/22_locale/codecvt_members_char_char.cc: Do not
5836	allow NULL argument to be passed to setenv().
5837	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
5838	* testsuite/22_locale/collate_members_char.cc: Likewise.
5839	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
5840	* testsuite/22_locale/ctype_members_char.cc: Likewise.
5841	* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
5842	* testsuite/22_locale/messages_members_char.cc: Likewise.
5843	* testsuite/22_locale/money_get_members_char.cc: Likewise.
5844	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
5845	* testsuite/22_locale/money_put_members_char.cc: Likewise.
5846	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
5847	* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
5848	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
5849	* testsuite/22_locale/num_get_members_char.cc: Likewise.
5850	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
5851	* testsuite/22_locale/num_put_members_char.cc: Likewise.
5852	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
5853	* testsuite/22_locale/numpunct_members_char.cc: Likewise.
5854	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
5855	* testsuite/22_locale/time_get_members_char.cc: Likewise.
5856	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
5857	* testsuite/22_locale/time_put_members_char.cc: Likewise.
5858	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
5859
58602002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
5861
5862	* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
5863
5864	* ChangeLog-2001: Fix spelling errors...
5865	* docs/html/17_intro/RELEASE-NOTES: Update.
5866	* docs/html/17_intro/TODO: Update.
5867	* README (file): Update.
5868
58692002-01-30  Loren Rittle <ljrittle@acm.org>
5870
5871	* config/locale/c_locale_generic.cc: Check errno for ERANGE
5872	instead of non-zero to aid portability.
5873
58742002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5875
5876	* docs/html/22_locale/messages.html: Fix example code.
5877
58782002-01-30  Richard Henderson  <rth@redhat.com>
5879
5880	* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
5881	out from test03 and templatize.
5882	(test03): Use it.
5883
58842002-01-30  Paolo Carlini  <pcarlini@unitus.it>
5885
5886	* config/locale/numpunct_members_gnu.cc
5887	(numpunct<char, wchar_t>::_M_initialize_numpunct()):
5888	Fix initialization of _M_grouping for locales which have
5889	_M_thousands_sep == '\0'(L'\0', respectively).
5890	* testsuite/22_locale/numpunct_byname.cc (test02): Add test.
5891
58922002-01-30  Paolo Carlini  <pcarlini@unitus.it>
5893
5894	* testsuite/27_io/ostream_inserter_arith.cc (test03):
5895	Better fix for 32/64 bit architectures, avoiding the
5896	implicit assumption that CHAR_BIT == 8.
5897
58982002-01-28  Phil Edwards  <pme@gcc.gnu.org>
5899
5900	* Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
5901	* Makefile.in:  Regenerate.
5902
5903	* docs/doxygen/run_doxygen:  Update, mostly for man pages.
5904	* docs/doxygen/Intro.3:  Update.
5905	* docs/doxygen/TODO:  Update.
5906	* docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
5907	* docs/doxygen/mainpage.doxy:  Update.
5908	* docs/doxygen/user.cfg.in:  Update for header rename.  Also
5909	regenerate comments and variables with 1.2.12.
5910	* docs/doxygen/maint.cfg.in:  Remove file.
5911
5912	* include/bits/stl_relops.h:  Doxygenate.
5913	* include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
5914
5915	* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
5916	include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
5917	include/c_std/std_ciso646.h, include/c_std/std_climits.h,
5918	include/c_std/std_clocale.h, include/c_std/std_cmath.h,
5919	include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
5920	include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
5921	include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
5922	include/c_std/std_cstring.h, include/c_std/std_ctime.h,
5923	include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
5924	include/ext/algorithm, include/ext/functional, include/ext/hash_map,
5925	include/ext/hash_set, include/ext/iterator, include/ext/memory,
5926	include/ext/numeric, include/ext/rb_tree, include/ext/rope,
5927	include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
5928	include/ext/stl_hashtable.h, include/ext/stl_rope.h,
5929	include/std/std_algorithm.h, include/std/std_bitset.h,
5930	include/std/std_complex.h, include/std/std_deque.h,
5931	include/std/std_fstream.h, include/std/std_functional.h,
5932	include/std/std_iomanip.h, include/std/std_ios.h,
5933	include/std/std_iosfwd.h, include/std/std_iostream.h,
5934	include/std/std_istream.h, include/std/std_iterator.h,
5935	include/std/std_limits.h, include/std/std_list.h,
5936	include/std/std_locale.h, include/std/std_map.h,
5937	include/std/std_memory.h, include/std/std_numeric.h,
5938	include/std/std_ostream.h, include/std/std_queue.h,
5939	include/std/std_set.h, include/std/std_sstream.h,
5940	include/std/std_stack.h, include/std/std_stdexcept.h,
5941	include/std/std_streambuf.h, include/std/std_string.h,
5942	include/std/std_utility.h, include/std/std_valarray.h,
5943	include/std/std_vector.h:  Add/correct @file doxygen hook.
5944
5945	* include/ext/memory:  Doxygenate most of rest of file.
5946	* libsupc++/exception:  Doxygen output formatting.
5947	* libsupc++/new:  Say which header it is.
5948
5949	* testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
5950	* docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
5951	* docs/html/23_containers/howto.html:  Describe O(n) list::size().
5952	* docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
5953
59542002-01-28  Paolo Carlini  <pcarlini@unitus.it>
5955	    Charles Leggett <CGLeggett@lbl.gov>
5956
5957	* testsuite/27_io/filebuf_members.cc (test_05): Add test.
5958
59592002-01-28  Paolo Carlini  <pcarlini@unitus.it>
5960
5961	* testsuite/27_io/ostream_inserter_arith.cc (test03):
5962	Fix to deal correctly with both 32 bit and 64 bit architectures
5963
59642002-01-25  Loren Rittle <ljrittle@acm.org>
5965
5966	* testsuite/thread/pthread1.cc: Use one condition variable
5967	per predicate instead of tricky use of one condition variable.
5968
59692002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
5970
5971	* include/bits/fstream.tcc (filebuf::close()): Fix close for input
5972	streams.
5973	(filebuf::_M_really_overflow): Match indeterminate and sync calls.
5974	* testsuite/27_io/filebuf.cc: Compile only.
5975	* testsuite/27_io/filebuf_members.cc: Move tests to here.
5976	* testsuite/27_io/filebuf_virtuals.cc: And here.
5977	Revert sungetc, sync changes for expected values.
5978	* testsuite/27_io/filebuf-*: Move to...
5979	* testsuite/27_io/filebuf_virtuals-*: ...here.
5980	* testsuite/27_io/istream.cc: Compile only, activate.
5981	* testsuite/27_io/ostream.cc: Same.
5982	* testsuite/27_io/iostream.cc: New.
5983	* testsuite/27_io/iostream_members.cc: New.
5984
59852002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
5986
5987	* testsuite/thread/pthread1.cc: Enable on cygwin.
5988	* testsuite/thread/pthread2.cc: Likewise.
5989	* testsuite/thread/pthread3.cc: Likewise.
5990	* testsuite/thread/pthread4.cc: Likewise.
5991	* testsuite/thread/pthread5.cc: Likewise.
5992	* testsuite/thread/pthread6.cc: Likewise.
5993
59942002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
5995
5996	* testsuite/27_io/ostream_inserter_char.cc (test07): New.
5997
59982002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
5999
6000	* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
6001	const, tweak.
6002	(basic_ios::fill(char_type)): Use fill().
6003	* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
6004	(basic_ios::narrow): Same.
6005	(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
6006	if they are invalid.
6007	(basic_ios::init): Comment.
6008	* testsuite/27_io/ios_init.cc (test02): New.
6009
60102002-01-24  Phil Edwards  <pme@gcc.gnu.org>
6011
6012	* include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
6013	* include/bits/stl_algo.h:  Include stl_tempbuf.h.
6014	* include/ext/memory:  Do not include stl_tempbuf.h.
6015	(temporary_buffer):  Add doxygen hook.
6016	(__get_temporary_buffer, get_temporary_buffer,
6017	return_temporary_buffer):  Move back to std:: header...
6018	* include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
6019	* include/ext/rope:  Do not include stl_tempbuf.h.
6020	* include/ext/stl_hashtable.h:  Likewise.
6021	* include/std/std_algorithm.h:  Likewise.
6022	* testsuite/20_util/temporary_buffer.cc:  New file.
6023
60242002-01-24  andrew@andypo.net
6025	    (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
6026
6027	libstdc++/5432
6028	* include/bits/ios_base.h: Use _Atomic_word for reference counts.
6029	* include/bits/localefwd.h: Likewise.
6030	Also use for std::locale::id::_S_highwater.
6031	* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
6032	* src/locale.cc: Support new usage of _Atomic_word.
6033	(std::locale::classic): Guard entire function against reentry.
6034	* src/localename.cc: Support new usage of _Atomic_word.
6035
60362002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
6037
6038	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
6039	_GLIBCPP_HAVE_SETENV.
6040	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
6041	* testsuite/22_locale/collate_members_char.cc (test02): Same.
6042	* testsuite/22_locale/ctype_members_char.cc (test03): Same.
6043	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
6044	* testsuite/22_locale/messages_members_char.cc (test02): Same.
6045	* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
6046	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
6047	* testsuite/22_locale/money_put_members_char.cc (test04): Same.
6048	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
6049	* testsuite/22_locale/num_get_members_char.cc (test03): Same.
6050	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
6051	* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
6052	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
6053	* testsuite/22_locale/time_get_members_char.cc (test07): Same.
6054	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
6055	* testsuite/22_locale/time_put_members_char.cc (test03): Same.
6056	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
6057	* testsuite/22_locale/num_put_members_char.cc (test03): Same.
6058	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
6059	* aclocal.m4: Regenerate.
6060	* configure: Regenerate.
6061	* config.h.in: Regenerate.
6062
60632002-01-23  Loren Rittle <ljrittle@acm.org>
6064
6065	* testsuite/thread/pthread1.cc: New test.
6066	* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
6067	* testsuite/thread/pthread3.cc: Likewise.
6068	* testsuite/thread/pthread4.cc: New test adapted from
6069	http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
6070	* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
6071	* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
6072
60732002-01-23  Richard Henderson  <rth@redhat.com>
6074
6075	PR libstdc++/5198
6076	* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
6077	CAS on the cpu variants that support it.  Add versions that use
6078	TAS and that disable interrupts.
6079	(__atomic_add): Use __exchange_and_add to guarantee atomicity.
6080
60812002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
6082
6083	* include/bits/locale_facets.tcc: Remove old comments.
6084
60852002-01-23  Andreas Tobler  <toa@pop.agri.ch>
6086
6087	* include/bits/locale_facets.tcc (__convert_to_v): Change template
6088	parameter to _Tv.
6089	(__convert_from_v): Same.
6090
60912002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
6092
6093	* include/bits/locale_facets.h (num_get::_M_extract_int): Change
6094	prototype.
6095	* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
6096	__max_digits checks, adjust arguments.
6097	(num_get::do_get(*)): Changeup.
6098
60992002-01-23  Loren Rittle <ljrittle@acm.org>
6100
6101	* config/locale/c_locale_generic.cc: Fix typename usage.
6102
61032002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
6104
6105	* config/locale/c_locale_generic.cc: Fix.
6106
61072002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
6108
6109	* docs/html/22_locale/messages.html: Remove angle brackets.
6110	* docs/html/17_intro/TODO: Add.
6111
61122002-01-22  Paolo Carlini  <pcarlini@unitus.it>
6113
6114	* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
6115	* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
6116	* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
6117	* testsuite/27_io/ostream_inserter_other.cc: Enable test04.
6118
61192002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
6120
6121	Audit for LANG independence.
6122	* include/bits/localefwd.h: Tweaks.
6123	* include/bits/locale_facets.tcc (money_get::do_get(long double)):
6124	Use __convert_to_v.
6125	(time_get::do_get_year): Same.
6126	(__convert_from_v): Add.
6127	(num_put::_M_convert_float): Use.
6128	(num_put::_M_convert_int): Same.
6129	(money_put::do_put): Same.
6130
6131	* src/locale-inst.cc: Add instantiations for __convert_from_v.
6132	* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
6133	* config/locale/time_members_generic.cc:
6134	* config/locale/messages_members_gnu.cc: Same.
6135	* config/locale/messages_members_gnu.h: Same.
6136
6137	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
6138	* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
6139	* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
6140	* testsuite/22_locale/collate_members_char.cc (test02): New.
6141	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
6142	* testsuite/22_locale/ctype_members_char.cc (test03): New.
6143	* testsuite/22_locale/messages_members_char.cc (test02): New.
6144	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
6145	* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
6146	* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
6147	* testsuite/22_locale/money_get_members_char.cc (test04): New.
6148	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
6149	* testsuite/22_locale/money_put_members_char.cc (test04): New.
6150	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
6151	* testsuite/22_locale/numpunct_members_char.cc (test02): New.
6152	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
6153	* testsuite/22_locale/time_put_members_char.cc (test03): New.
6154	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
6155	* testsuite/22_locale/time_get_members_char.cc (test07): New.
6156	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
6157	* testsuite/22_locale/num_get_members_char.cc (test03): New.
6158	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
6159	* testsuite/22_locale/num_put_members_char.cc (test03): New.
6160
6161	* testsuite/22_locale/time_get_members_char.cc: Fixups for global
6162	locale issues.
6163	* testsuite/22_locale/time_get_members_char.cc: Same.
6164
61652002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
6166
6167	libstdc++/5280
6168	* include/bits/localefwd.h: Tweak comments.
6169	* include/bits/locale_facets.h (__convert_to_v): Add.
6170	* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
6171	(num_get::do_get(float)): Same.
6172	(num_get::do_get(long double)): Same.
6173	(num_get::do_get(bool)): Same.
6174	(num_get::do_get(long)): Same.
6175	(num_get::do_get(long long)): Same.
6176	(num_get::do_get(unsigned int)): Same.
6177	(num_get::do_get(unsigned short)): Same.
6178	(num_get::do_get(unsigned long)): Same.
6179	(num_get::do_get(unsigned long long)): Same.
6180	* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
6181	* config/locale/c_locale_generic.cc: Same.
6182
61832002-01-22  Loren Rittle <ljrittle@acm.org>
6184
6185	* include/Makefile.am (c_base_builddir): Remove redundant slash.
6186	(std_builddir): Likewise.
6187	(std_headers_rename): Fix cut-n-paste typo.
6188	(install-data-local): Concat path per element instead of once to
6189	first element of list.
6190	* include/Makefile.in: Rebuilt.
6191
61922002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
6193
6194	* config/os/aix/bits/ctype_noninline.h: Fix formatting.
6195	* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
6196	* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
6197
61982002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
6199
6200	* include/bits/locale_facets.h (ctype<char>::classic_table):
6201	Remove definition.
6202	(ctype<char>::_S_ctable): Remove.
6203	* config/os/gnu-linux/bits/ctype_noninline.h
6204	(ctype<char>::_S_table): Remove definition.
6205	(ctype<char>::classic_table): Define.
6206	(ctype<char>::ctype): Replace _S_ctable with classic_table().
6207	* config/os/aix/bits/ctype_noninline.h: Same.
6208	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
6209	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
6210	* config/os/djgpp/bits/ctype_noninline.h: Same.
6211	* config/os/generic/bits/ctype_noninline.h: Same.
6212	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
6213	* config/os/hpux/bits/ctype_noninline.h: Same.
6214	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
6215	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
6216	* config/os/mingw32/bits/ctype_noninline.h: Same.
6217	* config/os/newlib/bits/ctype_noninline.h: Same.
6218	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
6219	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
6220	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
6221
62222002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
6223
6224	* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
6225	of _pctype. Use to define _S_ctable.  Add definition for alternate
6226	ctor.  Initialise _M_ctable to _S_ctable in ctors.
6227	(do_toupper, do_tolower): Use inline code appropriate for C-locale
6228	rather than ::toupper, ::tolower.
6229
62302002-01-18  Loren Rittle <ljrittle@acm.org>
6231
6232	* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
6233	Add specialization for FreeBSD systems only to avoid losing test
6234	only due to extra precision unmentioned in system headers.
6235
62362002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
6237
6238	* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
6239
62402002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
6241
6242	* testsuite/testsuite_hooks.h: Fix comment typo.  Memory
6243	limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
6244
62452002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6246
6247	* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
6248
62492002-01-17  David Edelsohn  <edelsohn@gnu.org>
6250
6251	* configure.target: Define OPT_LDFLAGS for AIX case.
6252
62532002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6254
6255	* include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
6256	__glibcpp_double_has_quiet_NaN): Correct mispelling.
6257
62582002-01-17  Andreas Tobler  <toa@pop.agri.ch>
6259
6260	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
6261
62622002-01-16  David Edelsohn  <dje@watson.ibm.com>
6263
6264	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
6265	SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
6266	* aclocal.m4: Regenerate.
6267	* configure: Regenerate.
6268
62692002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6270
6271	* include/Makefile.am (c_base_headers_rename): New.
6272	(c_base_headers_extra): New.
6273	(stamp-c_base): Modify.
6274	(install-data-local): Use both.
6275	* include/Makefile.in: Regenerate.
6276	* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
6277	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
6278	cstdio ctime cwctype]: Move to..
6279	* include/c/std_*: Here.
6280	* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
6281	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
6282	cstdio ctime cwctype]: Move to..
6283	* include/c_std/std_*: Here.
6284
6285	Alexandre Oliva  <aoliva@redhat.com>
6286	* include/Makefile.am (.PRECIOUS): Add rule.
6287	* include/Makefile.in: Regenerate.
6288
62892002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6290	    Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6291
6292	* include/bits/stl_iterator.h (reverse_iterator::_M_current):
6293	Deuglify, should be current.
6294	(back_insert_iterator::_M_container): Deuglify, should be container.
6295	(front_insert_iterator::_M_container): Same.
6296	(insert_iterator::_M_container): Same.
6297	* testsuite/24_iterators/reverse_iterator.cc: Add check.
6298	* testsuite/24_iterators/back_insert_iterator.cc: Add check.
6299	* testsuite/24_iterators/front_insert_iterator.cc: Same.
6300	* testsuite/24_iterators/insert_iterator.cc: Same.
6301
63022002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6303
6304	* include/bits/locale_facets.h (ctype<char>::classic_table): Make
6305	static.
6306	(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
6307	* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
6308	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
6309	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
6310	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
6311	* config/os/newlib/bits/ctype_noninline.h: Same.
6312	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
6313	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
6314	* config/os/hpux/bits/ctype_noninline.h: Same.
6315	* config/os/djgpp/bits/ctype_noninline.h: Same.
6316	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
6317	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
6318	* config/os/aix/bits/ctype_noninline.h: Same.
6319
6320	Testcase by Dietmar K�hl via Peter Schmid
6321	* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
6322	classic_table().
6323
63242002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6325
6326	* libmath/signbitl.c: Copyright years as list, not range.
6327	* libmath/Makefile.am: Same.
6328	* libmath/Makefie.in: Regenerate.
6329	* libmath/signbit.c: Same.
6330	* libmath/nan.c: Same.
6331	* libmath/copysignf.c: Same.
6332	* libmath/signbitf.c: Same.
6333	* testsuite/22_locale/money_get_members_char.cc: Same.
6334	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
6335	* testsuite/22_locale/money_put_members_char.cc: Same.
6336	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
6337	* testsuite/22_locale/time_get_members_char.cc: Same.
6338	* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
6339	* testsuite/22_locale/time_put_members_char.cc: Same.
6340	* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
6341	* testsuite/21_strings/nonmember.cc: Same.
6342	* testsuite/21_strings/compare.cc: Same.
6343	* testsuite/27_io/stringstream.cc: Same.
6344	* testsuite/27_io/stringbuf.cc: Same.
6345	* testsuite/27_io/filebuf.cc: Same.
6346	* testsuite/27_io/ios_manip_basefield.cc: Same.
6347	* testsuite/27_io/ios_manip_fmtflags.cc: Same.
6348	* include/bits/cpp_type_traits.h: Same.
6349	* include/bits/generic_shadow.h: Same.
6350	* include/bits/gslice_array.h: Same.
6351	* include/bits/gslice.h: Same.
6352	* include/bits/indirect_array.h: Same.
6353	* include/bits/slice_array.h: Same.
6354	* include/bits/sstream.tcc: Same.
6355	* include/bits/streambuf_iterator.h: Same.
6356	* include/bits/valarray_array.tcc: Same.
6357	* include/bits/valarray_meta.h: Same.
6358	* include/bits/valarray_array.h: Same.
6359	* config/os/mingw32/bits/ctype_noninline.h: Same.
6360	* config/os/mingw32/bits/ctype_base.h: Same.
6361	* config/os/hpux/bits/ctype_noninline.h: Same.
6362	* config/os/hpux/bits/ctype_base.h: Same.
6363	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
6364	* config/os/gnu-linux/bits/ctype_base.h: Same.
6365	* config/os/generic/bits/ctype_noninline.h: Same.
6366	* config/os/generic/bits/ctype_base.h: Same.
6367
6368	* libsupc++/tinfo.h: Tweaks.
6369
63702002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
6371
6372	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
6373	* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
6374	* testsuite/22_locale/ctype_members_char.cc: Tweak.
6375
63762002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
6377
6378	* include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
6379	(num_put::do_put(void*)): Fix.
6380	* testsuite/22_locale/num_put_members_char.cc (test02): Add.
6381	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
6382	* testsuite/22_locale/num_get_members_char.cc (test02): Add
6383	long double, void, bool types.
6384	* testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
6385
63862002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
6387	    Alexandre Oliva  <aoliva@redhat.com>
6388
6389	* libmath/Makefile.am (LINK): Add --tag CC.
6390	* libmath/Makefile.in: Regenerate.
6391
63922002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6393
6394	* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
6395	of character to attribute mapping table.
6396
63972002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
6398
6399	* testsuite/26_numerics/c99_classification_macros_c.cc
6400	Remove dg-error and dg-excess-errors comments.
6401
64022002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
6403
6404	* include/bits/locale_facets.tcc (time_put::put): Correct output
6405	iterator positions.
6406	* testsuite/22_locale/time_put_members_char.cc (test02): Add.
6407	* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
6408	* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
6409	* testsuite/22_locale/time_get_members_char.cc (test06): Add.
6410
64112002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
6412
6413	* docs/html/17_intro/porting-howto.xml: Update filebuf section.
6414
64152002-01-14  Paolo Carlini  <pcarlini@unitus.it>
6416	    Nathan Myers  <ncm@cantrip.org>
6417
6418	* include/bits/basic_string.h
6419	(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
6420	temporaries (i.e., call _M_replace_safe) when possible.
6421	(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
6422	(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
6423	(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
6424	(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
6425	(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
6426	* include/bits/basic_string.tcc
6427	(replace(__pos1, __n1, __str, __pos2, __n2)): Call
6428	replace(__pos, __n1, __s, __n2).
6429	* testsuite/21_strings/replace.cc (test03): New testcases.
6430
6431	* include/bits/basic_string.h (insert(__pos, __s, __n)):
6432	Adjust comparison wrt overflow.
6433
64342002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6435
6436	* include/Makefile.am (std_headers_rename): New variable.
6437	(install-data-local): Use it.
6438	* include/Makefile.in: Regenerate.
6439
64402002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6441
6442	* include/bits/locale_facets.tcc (money_put::do_put(string):
6443	Correct output iterator value.
6444	* testsuite/22_locale/money_put_members_char.cc (test03): Add.
6445	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
6446
64472002-01-11  Phil Edwards  <pme@gcc.gnu.org>
6448
6449	* include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
6450	previous commit.
6451
64522002-01-11  Phil Edwards  <pme@gcc.gnu.org>
6453
6454	* include/Makefile.am (std_headers):  Update list with new names.
6455	(stamp-std):  Link to standardized name.
6456	* include/Makefile.in:  Regenerate.
6457
6458	* include/std/algorithm, include/std/bitset, include/std/complex,
6459	include/std/deque, include/std/fstream, include/std/functional,
6460	include/std/iomanip, include/std/ios, include/std/iosfwd,
6461	include/std/iostream, include/std/istream, include/std/iterator,
6462	include/std/limits, include/std/list, include/std/locale,
6463	include/std/map, include/std/memory, include/std/numeric,
6464	include/std/ostream, include/std/queue, include/std/set,
6465	include/std/sstream, include/std/stack, include/std/stdexcept,
6466	include/std/streambuf, include/std/string, include/std/utility,
6467	include/std/valarray, include/std/vector:  Rename to...
6468
6469	* include/std/std_algorithm.h, include/std/std_bitset.h,
6470	include/std/std_complex.h, include/std/std_deque.h,
6471	include/std/std_fstream.h, include/std/std_functional.h,
6472	include/std/std_iomanip.h, include/std/std_ios.h,
6473	include/std/std_iosfwd.h, include/std/std_iostream.h,
6474	include/std/std_istream.h, include/std/std_iterator.h,
6475	include/std/std_limits.h, include/std/std_list.h,
6476	include/std/std_locale.h, include/std/std_map.h,
6477	include/std/std_memory.h, include/std/std_numeric.h,
6478	include/std/std_ostream.h, include/std/std_queue.h,
6479	include/std/std_set.h, include/std/std_sstream.h,
6480	include/std/std_stack.h, include/std/std_stdexcept.h,
6481	include/std/std_streambuf.h, include/std/std_string.h,
6482	include/std/std_utility.h, include/std/std_valarray.h,
6483	include/std/std_vector.h:  ...this.
6484
64852002-01-11  Loren Rittle <ljrittle@acm.org>
6486
6487	* include/Makefile.am (extra_target_headers): New list of all
6488	target files built with ad hoc naming rules.
6489	(stamp-*): Handle LN_S failure in manner portable across make
6490	implementations.
6491	(install-data-local): Install header files from human-maintained
6492	file lists and directory components instead of non-robust find.
6493	* include/Makefile.in: Rebuilt.
6494
64952002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
6496
6497	* include/bits/locale_facets.tcc (money_get::do_get(string)):
6498	Check for zero-length negative sign before adding it to output
6499	string.
6500	(money_get::do_get(long double)): Return beg.
6501	* testsuite/22_locale/money_get_members_char.cc (test02): Add
6502	iterator checks.
6503	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
6504
65052002-01-10  David Seymour  <seymour_dj@yahoo.com>
6506
6507	libstdc++/5331
6508	* include/bits/locale_facets.h (num_get<>): Return advanced iterator
6509	for _M_extract_float and _M_extract_int
6510	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
6511	(num_get<>::_M_extract_int): Likewise, all callers changed
6512	* testsuite/22_locale/num_get_members_char.cc: Testcase
6513
65142002-01-09  Paolo Carlini <pcarlini@unitus.it>
6515
6516	* libsupc++/exception (bad_exception): Add comment.
6517	* libsupc++/new (bad_alloc): Same.
6518	* libsupc++/typeinfo (bad_cast, bad_typeid): Same.
6519
65202002-01-09  Paolo Carlini <pcarlini@unitus.it>
6521
6522	libstdc++/3150: revert 2001-11-30 commit. DR266 only means
6523	that the destructors should be removed from the descriptions
6524	in the standard: writing them explicitly allows the vtable
6525	heuristic to work. For additional information see:
6526	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
6527	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
6528	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
6529	* libsupc++/exception (bad_exception::~bad_exception()):
6530	Reintroduce declaration.
6531	* libsupc++/new (bad_alloc::~bad_alloc()): Same.
6532	* libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
6533	(bad_typeid::~bad_typeid()): Same.
6534	* libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
6535	Reintroduce definition.
6536	* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
6537	* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
6538	(bad_typeid::~bad_typeid()): Same.
6539
65402002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
6541
6542	* include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
6543	* include/Makefile.in: Regenerate.
6544
65452002-01-09  Bo Thorsen  <bo@suse.co.uk>
6546
6547	* config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
6548	definition.
6549
65502002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6551
6552	libstdc++/2913
6553	libstdc++/4879
6554	* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
6555	return value of _M_file->sync().
6556	(filebuf::showmanyc): Check for is_open.
6557	* include/std/fstream (filebuf::sync): Tweak.
6558	* testsuite/27_io/filebuf.cc: Tweak.
6559
65602002-01-08  John Fardo  <jfardo@laurelnetworks.com>
6561	    Brad Garcia  <garsh@attbi.com>
6562
6563	* testsuite/27_io/filebuf_members.cc: Add test.
6564
65652002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
6566	    Craig Rodrigues  <rodrigc@mediaone.net>
6567
6568	libstdc++/5174
6569	* po/Makefile.am (mkinstalldirs): Add.
6570	* po/Makefile.in: Regenerate.
6571
65722002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
6573
6574	* testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
6575	testsuite/lib/prune.exp: Delete lines ":In function ..."  from
6576	compiler output.
6577	* testsuite/23_containers/map_operators.cc: Remove
6578	dg-excess-errors comment.
6579	* testsuite/23_containers/set_operators.cc: Likewise.
6580
65812002-01-06  Paolo Carlini  <pcarlini@unitus.it>
6582
6583	* include/bits/stl_function.h:  Remove two lines of comments;
6584	adjust copyright years.
6585
65862002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
6587
6588	* include/Makefile.am (std_headers): Remove cXXX from list.
6589	(c_base_srcdir): No bits subdirectory.
6590	(c_base_builddir): Same.
6591	(c_base_headers): Adjust names, add ciso646.
6592	(bits_headers): Remove std_xxx.h headers.
6593	* include/Makefile.in: Regenerate.
6594
6595	* include/ext/iterator: Adjust includes.
6596	* include/ext/ropeimpl.h: Same.
6597	* include/ext/stl_hash_fun.h: Same.
6598	* include/ext/algorithm: Same.
6599
6600	* include/backward/bvector.h: Adjust includes.
6601	* include/backward/vector.h: Same.
6602	* include/backward/strstream: Same.
6603	* include/backward/streambuf.h: Same.
6604	* include/backward/stack.h: Same.
6605	* include/backward/set.h: Same.
6606	* include/backward/queue.h: Same.
6607	* include/backward/multiset.h: Same.
6608	* include/backward/multimap.h: Same.
6609	* include/backward/map.h: Same.
6610	* include/backward/list.h: Same.
6611	* include/backward/iterator.h: Same.
6612	* include/backward/iostream.h: Same.
6613	* include/backward/iomanip.h: Same.
6614	* include/backward/fstream.h: Same.
6615	* include/backward/deque.h: Same.
6616	* include/backward/complex.h: Same.
6617
6618	* include/bits/std_algorithm.h: Move to...
6619	* include/std/algorithm: ...here.
6620	* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
6621	std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
6622	std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
6623	std_deque.h, std_istream.h, std_numeric.h, std_string.h,
6624	std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
6625	std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
6626	std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
6627	Same.
6628
6629	* include/c_std/bits/std_cassert.h: Move to...
6630	* include/c_std/cassert: Here.
6631	* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
6632	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
6633	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
6634	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
6635	std_cwctype.h: Same.
6636	* include/c_std/cmath: Adjust cmath.tcc include.
6637	* include/c_std/cstdlib: Adjust includes.
6638	* include/c_std/cwchar: Same.
6639	* include/c_std/ctime: Same.
6640	* include/c_std/cstring: Same.
6641	* include/c_std/cstdio: Same.
6642	* include/c_std/bits: Remove directory.
6643
6644	* include/c/bits/std_cassert.h: Move to...
6645	* include/c/cassert: Here.
6646	* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
6647	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
6648	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
6649	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
6650	std_cwctype.h: Same.
6651	* include/c/bits: Remove directory.
6652
6653	* include/std/cwctype: Remove.
6654	* include/std/cwchar: Remove.
6655	* include/std/ctime: Remove.
6656	* include/std/cstring: Remove.
6657	* include/std/cstdlib: Remove.
6658	* include/std/cstdio: Remove.
6659	* include/std/cstddef: Remove.
6660	* include/std/cstdarg: Remove.
6661	* include/std/csignal: Remove.
6662	* include/std/csetjmp: Remove.
6663	* include/std/cmath: Remove.
6664	* include/std/clocale: Remove.
6665	* include/std/climits: Remove.
6666	* include/std/ciso646: Remove.
6667	* include/std/cfloat: Remove.
6668	* include/std/cerrno: Remove.
6669	* include/std/cctype: Remove.
6670	* include/std/cassert: Remove.
6671
6672	* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
6673	files and subsituting <xxx>.
6674	* include/bits/valarray_array.h: Same.
6675	* include/bits/stl_uninitialized.h: Same.
6676	* include/bits/stl_alloc.h: Same.
6677	* include/bits/stl_algobase.h: Same.
6678	* include/bits/sstream.tcc: Same.
6679	* include/bits/pthread_allocimpl.h: Same.
6680	* include/bits/ostream.tcc: Same.
6681	* include/bits/localefwd.h: Same.
6682	* include/bits/locale_facets.tcc: Same.
6683	* include/bits/locale_facets.h: Same.
6684	* include/bits/istream.tcc: Same.
6685	* include/bits/char_traits.h: Same.
6686	* include/bits/boost_concept_check.h: Same.
6687	* include/bits/basic_file.h: Same.
6688	* include/std/bitset: Same.
6689	* include/std/complex: Same.
6690	* include/std/fstream: Same.
6691	* include/std/functional: Same.
6692	* include/std/ios: Same.
6693	* include/std/iostream: Same.
6694	* include/std/ostream: Same.
6695	* include/std/sstream: Same.
6696	* include/std/streambuf: Same.
6697	* include/std/string: Same.
6698	* include/std/iterator: Same.
6699	* include/std/valarray: Same.
6700
6701	* src/ios.cc: Adjust includes.
6702	* src/valarray-inst.cc: Same.
6703	* src/string-inst.cc: Same.
6704	* src/stl-inst.cc: Same.
6705	* src/stdexcept.cc: Same.
6706	* src/misc-inst.cc: Same.
6707	* src/localename.cc: Same.
6708	* src/locale-inst.cc: Same.
6709	* src/locale.cc: Same.
6710	* src/limits.cc: Same.
6711	* src/concept-inst.cc: Same.
6712	* src/complex_io.cc: Same.
6713	* src/codecvt.cc: Same.
6714	* src/bitset.cc: Same.
6715	* src/cmath.cc: Same.
6716
67172002-01-04  Paolo Carlini  <pcarlini@unitus.it>
6718
6719	* include/bits/stl_tree.h (rb_tree):  Move to...
6720	* include/ext/rb_tree:  ...here, new file.
6721	* include/Makefile.am (ext_headers):  Add new file.
6722	* include/Makefile.in:  Regenerate.
6723	* include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
6724	return_temporary_buffer, struct temporary_buffer):  Move to...
6725	* include/ext/memory:  ...here.
6726	* testsuite/ext/headers.cc:  Include <ext/rb_tree>.
6727	* include/backward/tempbuf.h:  Include <ext/memory>, tweak.
6728	* include/backward/tree.h:  Include <ext/rb_tree), tweak.
6729
67302002-01-03  Paolo Carlini  <pcarlini@unitus.it>
6731
6732	* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
6733	* include/ext/numeric:  ...here, new file.
6734	* include/bits/stl_function.h (identity_element, unary_compose,
6735	binary_compose, compose1, compose2, identity, select1st,
6736	select2nd, project1st + helper, project2nd + helper,
6737	constant_void_fun + helper, constant_unary_fun + helper,
6738	costant_binary_fun + helper, constant0, constant1, constant2,
6739	subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
6740	* include/ext/functional:  ...here, new file.
6741	* include/Makefile.am (ext_headers):  Add new files.
6742	* include/Makefile.in:  Regenerate.
6743	* testsuite/ext/headers.cc:  Include <ext/numeric> and
6744	<ext/functional>.
6745	* include/backward/algo.h:  Include <ext/numeric>, tweak.
6746	* include/backward/function.h:  Include <ext/functional>, tweak.
6747	* include/ext/ropeimpl.h:  Include <ext/numeric>.
6748
67492002-01-03  Jeffrey A Law  <law@redhat.com>
6750
6751	* config/os/hpux/bits/os_defines.h: Prefix __strtoll and
6752	__strtoull declarations with __extension__.
6753
67542002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
6755
6756	* testsuite/lib/prune.exp: Correct regular expression for
6757	-ffunction-sections
6758
67592002-01-02  Phil Edwards  <pme@gcc.gnu.org>
6760
6761	* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
6762	Change concept checks, as with lower_bound and PR 2054.
6763	* testsuite/ext/concept_checks.cc:  Expand test to include those.
6764
67652002-01-02  Phil Edwards  <pme@gcc.gnu.org>
6766
6767	* include/bits/boost_concept_check.h:  Import some changes from
6768	upsteam (Boost) version.
6769
67702002-01-02  Paolo Carlini  <pcarlini@unitus.it>
6771
6772	* include/bits/stl_algobase.h (copy_n + helpers,
6773	lexicographical_compare_3way + helpers):  Move to...
6774	* include/ext/algorithm:  ...here.
6775	* include/bits/stl_uninitialized.h (uninitialized_copy_n +
6776	helpers):  Move to...
6777	* include/ext/memory:  ...here, new file.
6778	* include/Makefile.am (ext_headers):  Add new file.
6779	* include/Makefile.in:  Regenerate.
6780	* testsuite/ext/headers.cc:  Include <ext/memory>.
6781	* include/backward/algobase.h:  Include <ext/memory> and
6782	<ext/algorithm>, tweak.
6783	* include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
6784	* include/ext/stl_rope.h:  Include <ext/memory>, tweak.
6785
67862002-01-01  Roger Sayle <roger@eyesopen.com>
6787
6788	* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
6789	equivalent ___builtin__ versions.
6790
6791	* include/c_shadow/bits/std_cmath.h: All __builtin math functions
6792	are available in libstdc++ as the necessary stub implementations
6793	are provided by libmath/stubs.c.
6794
67952002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
6796
6797	* configure.in: Add support for NetBSD cross compiles.
6798	* configure: Regenerate.
6799