ChangeLog revision 107606
12002-11-19  Release Manager
2
3	* GCC 3.2.1 Released.
4
52002-11-19  Release Manager
6
7	* GCC 3.2.1 Released.
8
92002-11-18  Release Manager
10
11	* GCC 3.2.1 Released.
12
132002-11-17  Jakub Jelinek  <jakub@redhat.com>
14
15	* config/linker-map.gnu: Export _S_construct even if size_t is
16	unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
17	and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
18
192002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
20
21	* config/linker-map.gnu: Export all _S_construct.
22	
232002-11-06  David Edelsohn  <edelsohn@gnu.org>
24
25	PR 8362
26	* testsuite/abi_check.cc: Add guards to prevent -mpower ICE.
27
282002-11-05  Jonathan Wakely  <cow@compsoc.man.ac.uk>
29
30	* include/std/std_sstream.h
31	(basic_stringbuf::str(const __string_type&)):
32	Prefer data() to c_str() thus avoiding assigning the
33	unnecessary NULL-terminator.
34
352002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
36
37	PR libstdc++/8258
38	* include/bits/istream.tcc (istream::readsome): Don't set eofbit
39	for null buffer.
40	(istream::operator>>(_CharT*)): Use traits_type.
41	(istream::ws): Same.
42	(istream::operator>>(string)): Same.	
43	* testsuite/27_io/istream_unformatted.cc (test11): Add.
44
452002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
46
47	PR libstdc++/7219
48	* include/bits/ios_base.h (ios_base::streampos): Add.
49	(ios_base::streamoff): Add.
50	* testsuite/27_io/ios_base_type.cc: New.
51
522002-11-05  Paolo Carlini  <pcarlini@unitus.it>
53
54	PR libstdc++/8466
55	* include/std/std_sstream.h
56	(basic_stringbuf::str(const __string_type&)):
57	Cannot use simple assignment since the COW-nature of v3
58	basic_string is not taken into account in basic_stringbuf.
59	* testsuite/27_io/stringstream_members.cc: Add test04 from PR.
60
612002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
62
63	* config/linker-map.gnu: Export string operator+.
64	Export __default_alloc_template::_S_force_new.
65	* testsuite/abi_check.cc: Output tweaks.
66
672002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
68
69        PR libstdc++/8172
70        * src/string-inst.cc: Add instantiation.
71	
722002-11-04  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
73
74	PR libstdc++/8197
75	* config/link-map.gnu: Export math stubbs.
76
772002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
78
79	PR libstdc++/8318
80	* include/std/std_iostream.h: Tweak.
81	* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
82	* include/std/std_iomanip.h: Same.
83	* include/bits/stringfwd.h: Same.
84	* include/bits/basic_string.tcc: Same.
85	* include/bits/sstream.tcc: Same.
86	* include/bits/fstream.tcc: Same.
87	* include/bits/basic_ios.tcc: Same.
88	* include/bits/streambuf.tcc: Same.
89	* include/bits/locale_facets.tcc: Same.
90
912002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
92
93	PR libstdc++/8348
94	* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
95	(istream::seekg): Same.
96	* testsuite/27_io/istream_seeks.cc (test06): New.
97
982002-11-01  John Carter  <john.carter@tait.co.nz>
99
100	PR libstdc++/7961
101	* include/bits/basic_string.tcc
102	(compare(const _CharT* __s)): Don't access __s past its length.
103
1042002-11-01  Hans-Peter Nilsson  <hp@bitrange.com>
105
106	PR other/3337
107	PR bootstrap/6763
108	PR bootstrap/8122
109	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Use
110	__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
111
1122002-10-29  Paolo Carlini  <pcarlini@unitus.it>
113
114	PR libstdc++/8347
115	* include/bits/basic_string.tcc
116	(string::_S_construct(_InIter, _InIter, const _Alloc&,
117	forward_iterator_tag)): Do not throw logic error if
118	__beg == NULL && __end == __beg.
119	(string::string(const _CharT*, const _Alloc&)): Tweak.
120	* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
121
1222002-10-23  Jakub Jelinek  <jakub@redhat.com>
123
124	* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
125	and decimal_point arguments of find.
126	* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
127
1282002-10-22  Jakub Jelinek  <jakub@redhat.com>
129
130	* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
131	instead of ${top_srcdir}.
132	* Makefile.in: Rebuilt.
133
1342002-10-21  Phil Edwards  <pme@gcc.gnu.org>
135
136	* configure.in:  Use target, not target_alias, when matching triplet
137	patterns.
138	* configure:  Regenerate.
139
1402002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
141
142        * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
143        _M_name_timepunct.
144        (__timepunct::~__timepunct): Deallocate, remove specialization
145        declarations.
146        (messages::messages): Allocate _M_name_messages.
147        (messages::~messages): Deallocate.
148        (messages_byname): Same.
149        * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
150        Remove.
151        * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
152        Remove.
153
154        * docs/html/install.html: Add eqs_MX, en_PH to required locales list.
155  
1562002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
157
158	* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
159	c_locale_impl.
160	* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
161	* docs/html/abi.txt: Update.
162
1632002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
164
165	* testsuite/22_locale/static_members.cc (test02): Less provincial.
166
1672002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
168
169	* testsuite/22_locale/static_members.cc (test02): Disable for 
170	systems without named locale support.
171	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
172	running the testsuites in "C" environment.
173	Add new tests.
174	* docs/html/22_locale/locale.html: Update.
175
1762002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
177
178	* testsuite/abi_check.cc (hash<string>): Specialize.
179	Simplify. Check compatible symbol versions.
180	* config/linker-map.gnu: Clarify, explicitly export
181	std::codecvt::c* symbols.
182
183	* testsuite/22_locale/static_members.cc (test02): Avoid null strings.
184
1852002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
186
187	* testsuite/22_locale/static_members.cc (test02): Fix.
188
1892002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
190
191	* acconfig.h (_GLIBCPP_SYMVER): Add.
192	(_GLIBCPP_ASM_SYMVER): Add.
193	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
194	* aclocal.m4: Regenerate.
195	* config.h.in: Regenerate.
196	* configure: Regenerate.
197	* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
198	hack around m4 issues with quoting '@'.
199	* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
200	* src/globals.cc (__gnu_cxx): Same.
201	
202	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
203
2042002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
205
206	* config/linker-map.gnu (GLIBCPP_3.2.1): Add.
207	(GLIBCPP_3.2): Don't export locale::_S_*. 
208	* src/ios.cc: Move globals into __gnu_cxx. Make old exported
209	symbols match.
210	* src/locale.cc: Same.
211	* src/localename.cc: Same.	
212
2132002-10-16  Benjamin Kosnik  <bkoz@redhat.com>	
214
215	* src/locale.cc: Fix comments, move ctors together.
216	* testsuite/22_locale/static_members.cc (test03): Add.
217
2182002-10-16  Paolo Carlini  <pcarlini@unitus.it>
219	    Benjamin Kosnik  <bkoz@redhat.com>	
220
221	* include/bits/localefwd.h (class locale): Add static member
222	_S_num_extra_categories, encoding the number of additional
223	categories.
224	Change _S_num_categories to _S_categories_size.
225	(class locale::_Impl): Add _M_c_cats.
226	(class locale::_Impl::_M_names): Change to array of chars.
227	(class locale::_Impl::_M_check_same_name): Use
228	_S_extra_categories_size, tweak.
229	(locale::locale(const locale&, _Facet*)): Ditto.
230    	* src/locale.cc (locale::locale(const char* )): Rewrite to deal
231	with the environment in a POSIX-compliant way while being thread
232	safe.
233	(locale::name()): Update to output POSIX environment strings.
234	* src/localename.cc
235	(locale::_Impl::_Impl(const _Impl&, size_t): Use
236	_S_categories_size_*, tweak.
237	(locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
238	(locale::_Impl::_Impl(const char*, size_t)): Name each category
239	individually.
240	(locale::_Impl::_M_replace_categories): Use strcpy.
241
242	* include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
243	Change default argument to NULL from _S_c_locale.
244	(timepunct::_M_initialize_timepunct): Same.
245	_S_c_locale cleanups.
246	* src/codecvt.c: _S_c_locale simplification.
247	* src/ctype.c: Same.
248	* src/globals.cc: Add fake_name.
249	* src/locale-inst.cc: Remove extra includes.	
250	* src/locale.cc: Remove extra includes.
251	Add _S_extra_categories_size definition.
252	Correct "C" initialization.
253	(locale::facet::facet): Don't initialize _S_c_locale.
254	(locale::facet::_M_remove_reference): Adjust.
255	* src/localename: Use facet_vec, facet_name.
256	(locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
257	facet ref counts to one. Initialize _S_c_locale.
258	(locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
259	counts when installing unilaterally.
260
261	* config/locale/generic/c_locale.cc: Add _S_categories definition.
262	* config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
263	* config/locale/generic/time_members.cc: _S_c_locale cleanup.
264	
265	* config/locale/gnu/c_locale.cc: Add _S_categories definition.
266	(_S_destroy_c_locale): Move checks against _S_c_locale here.
267	* config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
268	* config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
269	calls, _S_c_locale usage.
270	* config/locale/gnu/monetary_members.cc: Same, tweaks.
271	* config/locale/gnu/monetary_members.cc: Same.
272	* config/locale/gnu/time_members.cc: Same.	
273	* config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
274
275	* docs/html/22_locale/locale.html: Add bits about global locales
276	and "C" setlocale.
277
278	* testsuite/22_locale/facet.cc (test02): Add.
279	* testsuite/22_locale/static_members.cc (test02): Add.
280	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
281
2822002-10-11  Gabriel Dos Reis  <gdr@integrable-solutions.net>
283
284	* include/std/std_limits.h (__glibcpp_char_digits10): Fix Typo.
285	(__glibcpp_char_digits10): Likewise.
286
2872002-10-10  Jonathan Lennox  <lennox@cs.columbia.edu>
288
289        PR libstdc++/8071, libstdc++/8127, c++/6745
290        * streambuf.tcc (__copy_streambufs): Handle cases where
291        __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
292        * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
293
2942002-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
295
296	* Makefile.am (all-multi): Fix multilib parallel build.
297
2982002-10-01  Phil Edwards  <pme@gcc.gnu.org>
299
300	* Makefile.am (check-abi):  Add @ to rule.
301	* Makefile.in:  Regenerated.
302
3032002-10-01  Phil Edwards  <pme@gcc.gnu.org>
304
305	PR libstdc++/8096
306	* include/bits/stl_deque.h (deque::_M_range_check):  Throw
307	out_of_range, not range_error.
308
3092002-09-28  Paolo Carlini  <pcarlini@unitus.it>
310
311	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
312	Deal correctly with grouped, showbased (oct or hex) zero.
313	* testsuite/22_locale/num_put_members_char.cc: Add test05.
314	* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
315
3162002-09-25  Phil Edwards  <pme@gcc.gnu.org>
317
318	Bulk documentation merge (copy) from trunk.
319	* docs/doxygen/run_doxygen, docs/html/Makefile, docs/html/abi.txt,
320	docs/html/configopts.html, docs/html/documentation.html,
321	docs/html/explanations.html, docs/html/install.html,
322	docs/html/makedoc.awk, docs/html/17_intro/C++STYLE,
323	docs/html/17_intro/RELEASE-NOTES, docs/html/17_intro/contribute.html,
324	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
325	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
326	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
327	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
328	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
329	docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
330	docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
331	docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
332	docs/html/ext/howto.html, docs/html/ext/sgiexts.html,
333	docs/html/faq/index.html, docs/html/faq/index.txt:  Merge from trunk.
334
3352002-09-21  Phil Edwards  <pme@gcc.gnu.org>
336
337	* testsuite/abi_check.cc:  Pull shell fragments out into...
338	* config/abi/extract_symvers:  ...here.  New file.
339	* Makefile.am (check_abi):  Change to match.
340	(new-abi-baseline):  New target.
341	* Makefile.in:  Regenerated.
342
3432002-09-16  Loren J. Rittle  <ljrittle@acm.org>
344
345	libstdc++/7922
346	* include/ext/stl_rope.h (rope<>): Qualify dependent names
347	with `typename'.
348
3492002-09-16  Benjamin Kosnik  <bkoz@redhat.com>
350
351	* include/bits/codecvt.h: Remove __s.
352	* config/locale/gnu/codecvt_members.cc: Remove _M_c_locale_codecvt
353	usage, substitute _S_c_locale.
354
3552002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
356
357	* libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
358	directory.
359	* libmath/Makefile.in: Regenerate.
360	* src/Makefile.am: Tweak comment.
361	* src/Makefile.in: Regenerate.
362
363	* config/locale/gnu/c_locale.h: Remove warnings.
364	Inject __uselocale into __gnu_cxx.
365	* config/locale/generic/c_locale.h: Match.
366
3672002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
368
369	* include/bits/locale_facets.tcc (__convert_from_v): Remove.
370	* config/locale/gnu/c_locale.h (__convert_from_v): Add.
371	* config/locale/generic/c_locale.h (__convert_from_v): Add.	
372
3732002-09-12  Paolo Carlini  <pcarlini@unitus.it>
374
375        * include/bits/locale_facets.tcc (__convert_from_v):
376        Use __uselocale instead of setlocale for glibc 2.3+.
377
3782002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
379
380	* src/Makefile.am (sources): Edit.
381	(target_sources): New.
382	(target_sources_extra): New.
383	* src/Makefile.in: Regenerate.
384	* acinclude.m4: Set CCODECVT_CC. 
385	* aclocal.m4: Regenerate.
386	* configure: Regenerate.
387	* src/locale.cc: Move ctype definitions...
388	* src/ctype.cc: ...here. New file. 
389	* src/locale.cc: Move codecvt definitions...
390	* src/codecvt.cc: ...here. 	
391	* config/generic/codecvt_members.cc: ...and here. 	
392	* config/gnu/codecvt_members.cc: ...and here. 		
393	* include/bits/codecvt.h: Tweak.
394	* include/bits/locale_facets: Tweak.
395
396	* src/bitset.cc: Correct license text.
397	* src/concept-inst.cc: Same.
398	* src/strstream.cc: Same.
399	* src/vterminate.cc: Same.	
400
4012002-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
402
403	* include/bits/locale_facets.tcc (__convert_from_v):
404	Replace strdup with ISO malloc and strcpy.
405
4062002-09-09  Benjamin Kosnik  <bkoz@redhat.com>
407
408	* src/misc-inst.cc: Remove some instantiations.
409	
410	* testsuite/abi_check.cc: Make output results more verbose.
411	
412	* config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
413
4142002-09-07  Jakub Jelinek  <jakub@redhat.com>
415
416	* config/locale/generic/messages_members.cc: Add specialization for
417	messages<wchar_t>.
418	* config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
419
4202002-09-06  Jakub Jelinek  <jakub@redhat.com>
421
422	* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
423	sparc targets.
424	* config/cpu/sparc/bits/atomicity.h: New file.
425	* config/cpu/sparc/sparc32/bits/atomicity.h: Removed.
426	* config/cpu/sparc/sparc64/bits/atomicity.h: Removed.
427
4282002-09-06  Jakub Jelinek  <jakub@redhat.com>
429
430	* config/os/gnu-linux/bits/ctype_noninline.h
431	[_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
432	(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
433	_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
434	and return __ctype_b.
435	(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
436	_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
437	initialize using __ctype_{b,tolower,toupper}.
438	(ctype<char>::ctype(const mask*, bool, size_t)): If
439	_GLIBCPP_C_LOCALE_GNU, initialize using
440	_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
441	switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
442
4432002-09-05  Loren J. Rittle  <ljrittle@acm.org>
444
445	Move from mainline.
446	* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
447	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
448	* src/Makefile.in: Regenerate (explicitly with --cygnus option).
449	* testsuite/Makefile.in: Likewise.
450
4512002-09-05  Paolo Carlini  <pcarlini@unitus.it>
452            Roland McGrath  <roland@redhat.com>
453
454	PR libstdc++/7811
455	* src/locale.cc (locale::locale(__s)): Use getenv instead
456	of setenv for the environment locale.
457	* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
458
4592002-09-05  Jakub Jelinek  <jakub@redhat.com>
460
461	* config/abi/ia64-unknown-linux-gnu: Add.
462	* config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
463	* config/abi/alphaev67-unknown-linux-gnu: Add.
464	* config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
465
4662002-09-05  Phil Edwards  <pme@gcc.gnu.org>
467
468	* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
469	Fix spelling in comment.
470	* testsuite/Makefile.in:  Regenerate.
471	* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
472	than 'quote' and 'bslash'.
473
4742002-09-05  Jakub Jelinek  <jakub@redhat.com>
475
476	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
477	Switch to _M_c_locale_ctype around btowc call.
478	(ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
479	Switch to _M_c_locale_ctype around mbsrtowcs call.
480	(ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
481	wctob call.
482	(ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
483	Switch to _M_c_locale_ctype around wcsrtombs call.
484
4852002-09-05  Jakub Jelinek  <jakub@redhat.com>
486
487	* config/locale/gnu/monetary_members.cc
488	(moneypunct<wchar_t, true>::_M_initialize_moneypunct,
489	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
490	__uselocale instead of setlocale for glibc 2.3.
491
4922002-09-05  Jakub Jelinek  <jakub@redhat.com>
493
494	* config/locale/generic/c++locale_internal.h: New header.
495	* config/locale/gnu/c++locale_internal.h: New header.
496	* config/locale/gnu/c_locale.cc: Include it.
497	* config/locale/gnu/collate_members.cc: Include it.
498	* config/locale/gnu/ctype_members.cc: Include it.
499	* config/locale/gnu/messages_members.cc: Include it.
500	* config/locale/gnu/monetary_members.cc: Include it.
501	* config/locale/gnu/numeric_members.cc: Include it.
502	* config/locale/gnu/time_members.cc: Include it.
503	(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
504	glibc.
505	(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
506	C locale.
507	* acinclude.m4: Include string.h when testing strcoll_l.
508	For glibc 2.3 provide __-prefixed prototypes.
509	(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
510	* aclocal.m4, configure: Rebuilt.
511
5122002-09-05  Benjamin Kosnik  <bkoz@redhat.com>
513
514	* include/bits/locale_facets.h: Add declaration of specialization
515	here.
516	* config/locale/gnu/messages_members.cc: Add specialization for
517	messages<wchar_t>.
518	* config/locale/gnu/messages_members.h: Remove generic definition
519	of do_get.
520
5212002-08-26  Phil Edwards  <pme@gcc.gnu.org>
522
523	* Makefile.am (check-abi):  Specify current directory.
524	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
525	abi_baseline_triplet in baseline_file.
526	* Makefile.in, aclocal.m4, configure:  Regenerate.
527	* configure.target:  Add abi_baseline_triplet with default.
528	* testsuite/abi_check.cc:  More error checking.
529
5302002-08-25  Benjamin Kosnik  <bkoz@redhat.com>
531
532	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
533	GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
534	variables.
535	* aclocal.m4: Regenerate.
536	* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
537	native compiling.
538	* testsuite/Makefile.in: Regenerate.
539
5402002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
541	    Phil Edwards  <pme@gcc.gnu.org>
542	    Ulrich Drepper  <drepper@redhat.com>
543	
544	* Makefile.am (check-abi): New rule.
545	* Makefile.in: Regenerate.
546	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
547	* aclocal.m4: Regenerate.
548	* configure: Regenerate.
549	* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
550	(abi_check_SOURCES): Add.
551	* testsuite/Makefile.in: Regenerate.	
552	* testsuite/abi_check.cc: New file.
553	* config/abi: Add.
554	* config/abi/i686-pc-linux-gnu: Add.
555	* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
556
5572002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
558
559	* configure.in (libtool_VERSION): Update to 5:1:0.
560	* configure: Regenerate.
561
5622002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
563
564	* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
565	_M_buf_size_opt to zero when unbuffering.
566	* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
567	Consistency checks for _M_buf_size_opt.
568
569	Revert PR libstdc++/7445
570	* src/locale.cc (locale::classic): Revert.
571	
572	* docs/html/17_intro/TODO: Add.
573
5742002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
575            Benjamin Kosnik  <bkoz@redhat.com>
576	
577	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
578	not snextc.
579	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.
580
5812002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
582
583	* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
584	(scan_is): Use this->is.
585	(scan_not): Likewise.
586	
5872002-08-15  Rick Danos  <rdanos@hotmail.com>
588
589	PR libstdc++/7461
590	* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
591	* config/os/newlib/ctype_inline.h (is): Use static_cast.
592
5932002-08-14  Release Manager
594
595	* GCC 3.2 Released.
596
5972002-08-06  Benjamin Kosnik  <bkoz@redhat.com>
598
599	Revert PR libstdc++/6594
600	* src/strstream.cc (strstreambuf): Revert.
601	(strstreambuf::overflow): Same.
602	(strstreambuf::~strstreambuf): Same.	
603	* testsuite/backward/strstream_members.cc (test02): Add.
604
605	* testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
606
6072002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
608	    Jakub Jelinek  <jakub@redhat.com>
609	
610	* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
611	GLIBCPP_3.1 to GLIBCPP_3.2.
612
6132002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
614	    Mark Mitchell  <mark@codesourcery.com>
615
616	PR libstdc++/7442
617	* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
618	Change to __hwm_bit.
619	(__class_type_info): And here.
620
6212002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
622
623	PR libstdc++/7442
624	* libsupc++/cxxabi.h 
625	(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
626	(__base_class_info::__base): Change to __base_type. 2.9.5p6c
627	(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
628	(__vmi_class_type_info::__base_info): Don't make const, of type
629	__base_class_type_info, as per 2.9.5p6c
630	(__pbase_type_info::__qualifier_flags): Change to __flags, as per
631	2.9.5p7.
632	(__pbase_type_info::__qualifier_masks): Change to __masks, as per
633	2.9.5p7.
634	(__pointer_to_member_type_info::__context_class): Change member to
635	__context, as per 2.9.5p9.
636	* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
637	__context.
638	* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
639	__flags.
640	* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
641	__base_type.
642	* libsupc++/tinfo.cc (__do_dyncast): Same.
643	* libsupc++/tinfo.cc (__do_upcast): Same.
644
6452002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
646
647	* docs/html/22_locale/howto.html: Fix.
648
6492002-07-31  Alex Kompel  <shurik@sequoiap.com>
650
651	PR libstdc++/7445
652	* src/locale.cc (locale::classic): Move locks inside !_S_classic
653	block.
654
6552002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
656	    Gabriel Dos Reis  <gdr@nerim.net>
657
658	* include/bits/char_traits.h: Remove generic definitions.
659	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
660	eof, not -2.
661	* include/bits/istream.tcc (istream::readsome): Don't check
662	against eof, instead use constants.
663	(istream::sync): Same.
664	(istream::sentry::sentry): Use eq_int_type.
665	(istream::get): Same.
666	* include/bits/ostream.tcc: Change __pad to 
667	__pad<_CharT, _Traits>::_S_pad. 
668	* include/bits/locale_facets.h: Add __pad_traits generic and
669	ostreambuf_iterator specialization.
670	* include/bits/locale_facets.tcc: Change __pad into struct __pad
671	with a _CharT and _Traits template parameter and _S_pad static
672	member function.
673	* src/locale-inst.cc: Update __pad instantiations.
674	
675	* include/std/std_fstream.h: Declare _M_underflow_common
676	specializations.
677	* src/fstream.cc: New. Add _M_underflow_common specializations.
678	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
679	(filebuf::_M_underflow_common(bool)): Remove generic version, as
680	sys_ungetc and custom int_types don't get along.
681	* include/std/std_streambuf.h: Add _M_pos.
682	* src/Makefile.am (sources): Add fstream.cc.
683	* src/Makefile.in: Regenerate.
684
685	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
686	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
687	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
688	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
689	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
690	* testsuite/27_io/filebuf.cc: ...here.
691	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
692	specialization for both.
693	* testsuite/27_io/streambuf.cc: Add instantiation test,
694	testsuite_hooks include.
695	* testsuite/27_io/istream.cc: Same.
696	* testsuite/27_io/ostream.cc: Same.	
697	* testsuite/27_io/fstream.cc: Same.
698	* testsuite/27_io/stringstream.cc: Same.
699	* testsuite/27_io/filebuf.cc: Same.
700	* testsuite/27_io/stringbuf.cc: Same.
701
7022002-07-26  Phil Edwards  <pme@gcc.gnu.org>
703
704	* libsupc++/new (placement delete):  Remove unused paramater names.
705
7062002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
707
708	PR libstdc++/7216
709	* include/std/std_istream.h (basic_iostream): Add typedefs for
710	char_type, int_type, pos_type, off_type, and traits_type.
711	* testsuite/27_io/iostream.cc (test01): Add typedef tests.
712	* testsuite/27_io/istream.cc: Same.
713	* testsuite/27_io/ostream.cc: Same.
714	* testsuite/27_io/filebuf.cc: Same.
715	* testsuite/27_io/stringbuf.cc: Replace content, move to...
716	* testsuite/27_io/stringbuf_members.cc: ...here.	
717	* testsuite/27_io/streambuf.cc: Replace content, move to...
718	* testsuite/27_io/streambuf_members.cc: ...here.	
719	* testsuite/27_io/stringstream.cc: Replace content, move to...
720	* testsuite/27_io/stringstream_members.cc: ...here.
721	* testsuite/27_io/ios.cc: New file.
722	* testsuite/27_io/fstream.cc: New file.
723	* testsuite/27_io/ifstream.cc: New file.	
724	* testsuite/27_io/ofstream.cc: New file.		
725	* testsuite/27_io/istringstream.cc: New file.	
726	* testsuite/27_io/ostringstream.cc: New file.	
727	
7282002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
729
730	PR libstdc++/7220
731	* include/bits/istream.tcc (istream::ignore): Don't extract on
732	zero.
733	* testsuite/27_io/istream_unformatted.cc (test10): Add.
734
7352002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
736
737	PR libstdc++/7222
738	* src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
739	* testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
740	
7412002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
742
743	PR libstdc++/7286
744	* libsupc++/new: Add placement delete.
745	* testsuite/18_support/new_delete_placement.cc: New.
746	
7472002-07-07  Paolo Carlini  <pcarlini@unitus.it>
748
749	PR libstdc++/7186
750	* include/bits/stl_deque.h (_Deque_iterator::operator-):
751	Make non-member, as already happens for the comparison
752	operators in accord with DR179 (Ready).
753	* testsuite/23_containers/deque_operators.cc: Add test02.
754
7552002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
756	    Jack Reeves  <jackw_reeves@hotmail.com>
757
758	* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
759	size_t, from int_type.
760 	(basic_streambuf::_M_buf_size_opt): Same.
761 	(basic_streambuf::_S_pback_sizex): Same.	
762	* include/bits/streambuf.tcc: Same.
763	* include/std/std_streambuf.h (basic_streambuf::snextc): Use
764	eq_int_type.
765	(basic_streambuf::uflow): Same.
766	* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
767	to_char_type.
768	* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
769	* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
770	eq_int_type.
771	(basic_streambuf::xsputn): Same.
772	(__copy_streambufs): Same.
773
7742002-07-02  Paolo Carlini  <pcarlini@unitus.it>
775
776	PR libstdc++/6642
777	* include/bits/stl_iterator.h
778	(__normal_iterator::operator-(const __normal_iterator&)):
779	Make non-member, as already happens for the comparison
780	operators in accord with DR179 (Ready).
781	* testsuite/24_iterators/iterator.cc: Add test from the PR.
782
7832002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
784
785	PR libstdc++/6410
786	* include/bits/locale_facets.h (moneypunct::moneypunct): Add const
787	char* name parameter.
788	* config/locale/gnu/monetary_members.cc: Use it.
789	* config/locale/generic/monetary_members.cc: Same.
790	* src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
791
7922002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
793
794	* configure.in (libtool_VERSION): Bump to 5:0:0.
795	* configure: Regenerate.
796
7972002-05-19  Paolo Carlini  <pcarlini@unitus.it>
798
799	* testsuite/23_containers/deque_operators.cc (test01):
800	Fix minor typo in last commit.
801
8022002-05-18  Paolo Carlini  <pcarlini@unitus.it>
803
804	PR libstdc++/6503
805	* include/bits/stl_deque.h (_Deque_iterator::operator==,
806	operator!=, operator<, operator>, operator>=, operator<=):
807	Make non-member functions, to allow comparing const and
808	non-const iterators in any order.
809	* testsuite/23_containers/deque_operators.cc: New testfile.
810
8112002-07-25  Release Manager
812
813	* GCC 3.1.1 Released.
814
8152002-07-20  Phil Edwards  <pme@gcc.gnu.org>
816
817	Bulk documentation merge (copy) from trunk.
818	* docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html,
819	docs/doxygen/user.cfg.in, docs/html/Makefile,
820	docs/html/documentation.html, docs/html/17_intro/porting.html,
821	docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html,
822	docs/html/ext/howto.html, docs/html/ext/lwg-active.html,
823	docs/html/ext/lwg-defects.html, docs/html/faq/index.html,
824	docs/html/faq/index.txt:  Merge from trunk.
825
8262002-07-16  Andreas Schwab  <schwab@suse.de>
827
828	* libsupc++/new (set_new_handler): Declare to not throw any
829	exceptions.
830	* libsupc++/new_handler.cc (set_new_handler): Likewise.
831
8322002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
833
834	* config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix
835	print to match vendor <ctype.h>.
836
8372002-07-03  Steev Wilcox  <steev@paradigmds.com>
838	 
839	PR libstdc++/7057
840	* include/ext/stl_hashtable.h: Fix.
841	* testsuite/ext/hash_map.cc: New.
842
8432002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
844
845        PR libstdc++/7097
846        * include/c/std_cwchar.h: Fix.
847
8482002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
849            Kenny Simpson  <theonetruekenny@yahoo.com>
850            Phil Edwards  <pme@gcc.gnu.org>
851
852	PR libstdc++/3946
853	* testsuite/20_util/auto_ptr.cc (test08):  New test.
854	* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
855	(auto_ptr::operator auto_ptr_ref):  Fix typo.
856	General reformatting and doxygenating of the whole file.
857
8582002-07-03  Phil Edwards  <pme@gcc.gnu.org>
859
860	PR libstdc++/7173
861	* acinclude.m4:  Simplify determination of gcc_version, and move
862	up to GLIBCPP_CONFIGURE.
863	* configure.in (release_VERSION):  Really remove.
864	(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
865	* aclocal.m4, configure:  Regenerate.
866
8672002-07-02  Phil Edwards  <pme@gcc.gnu.org>
868
869	* docs/html/configopts.html, docs/html/install.html:  Tweaks.
870	* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
871	include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
872	include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
873
8742002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
875
876	* include/c_compatibility: New.
877	* include/c_compatibility/assert.h: New.
878	* include/c_compatibility/ctype.h: New.
879	* include/c_compatibility/errno.h: New.
880	* include/c_compatibility/float.h: New.
881	* include/c_compatibility/iso646.h: New.
882	* include/c_compatibility/limits.h: New.
883	* include/c_compatibility/locale.h: New.
884	* include/c_compatibility/math.h: New.
885	* include/c_compatibility/setjmp.h: New.
886	* include/c_compatibility/signal.h: New.
887	* include/c_compatibility/stdarg.h: New.
888	* include/c_compatibility/stddef.h: New.
889	* include/c_compatibility/stdio.h: New.
890	* include/c_compatibility/stdlib.h: New.
891	* include/c_compatibility/string.h: New.
892	* include/c_compatibility/time.h: New.
893	* include/c_compatibility/wchar.h: New.
894	* include/c_compatibility/wctype.h: New.
895
896	* include/c/std_cerrno.h: Get out of the way... define errno.
897	* include/c/std_cmath.h: Add abs, modf overloads.
898	Undefine C99 isms. Still not sure how to deal with this sanely.
899	* include/c/std_csetjmp.h: Tweak.
900	* include/c/std_cwchar.h: Include cstddef for size_t.
901
902	* include/c_std/std_cmath.h: Remove extra function.
903	
904	Pendantic std usage in testsuites.	
905	* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
906	with std.
907	* testsuite/17_intro/header_cwchar.cc: Tweak.
908	* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
909	std::setlocale.
910	* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
911	* testsuite/22_locale/ctype_to_char.cc (test05): Same.
912	* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
913	* testsuite/22_locale/ctype_is_char.cc (test05): Same.
914	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
915	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
916	* testsuite/22_locale/time_get_members_char.cc (test08): Same.
917	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
918	* testsuite/22_locale/time_put_members_char.cc (test04): Same.
919	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
920	* testsuite/22_locale/num_put_members_char.cc (test04): Same.
921	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
922	* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
923	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
924	* testsuite/22_locale/num_get_members_char.cc: Same.
925	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
926	* testsuite/22_locale/money_put_members_char.cc (test07): Same.
927	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
928	* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
929	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
930	* testsuite/22_locale/money_get_members_char.cc (test08): Same.
931	* testsuite/22_locale/messages_members_char.cc (test03): Same.
932	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
933	* testsuite/22_locale/collate_members_char.cc (test04): Same.
934	* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
935	* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
936	* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
937
9382002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
939
940	* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
941	c_sources.
942
9432002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
944
945	* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
946	Use size_type instead of unsigned long.
947
9482002-06-28  Steve Ellcey  <sje@cup.hp.com>
949
950	* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
951	wchar types.
952	(_S_min_len): Ditto.
953
9542002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
955
956	* include/Makefile.am: Add rules.
957	* include/Makefile.in: Regenerate.
958
959	* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
960	* aclocal.m4: Regenerate.
961	* configure: Regenerate.
962	* configure.target (c_model, c_compatibility): Add.
963	
964	* libsupc++/Makefile.am (c_sources): New.
965	(libsupc___la_SOURCES): Add c_sources.
966	(LTCOMPILE): Remove INCLUDES.
967	(GCC_INCLUDES): New.
968	(C_COMPILE): New, like COMPILE but without INCLUDES.
969	(cxa_demangle.o): Use C_COMPILE.
970	(dyn-string.o): Use C_COMPILE.	
971	
972	* include/c/std_cstdarg.h: Define __need___va_list.  
973	* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
974	need_NULL, need_offsetof.
975
9762002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
977
978	* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
979	* include/c/std_cwctype.h: Guard.
980
981	* libsupc++/eh_alloc.cc: Tweak include order.
982	* libsupc++/pure.cc: Use cstdio.
983	* libsupc++/new_op.cc: Remove malloc forward declaration, as
984	cstdlib brings it in. Use std::malloc.
985
986	* src/Makefile.am (sources): Remove cmath.cc.
987	* src/Makefile.in: Regenerate.
988	* src/cmath.cc: Remove.
989
9902002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
991
992	* configure.in (INTERFACE): Remove.
993	(release_VERSION): Remove.
994	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
995	(libstdcxx_interface): Change. Use gcc methods to determine version.
996	* configure: Regenerate.
997	* aclocal.m4: Regenerate.
998
9992002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1000
1001	* acinclude.m4: Fix last checkin.
1002	* aclocal.m4: Regenerate.
1003	* configure: Regenerate.
1004
10052002-06-25  DJ Delorie  <dj@redhat.com>
1006
1007	* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1008	GLIBCPP_TOPREL_CONFIGURE.
1009	* aclocal.m4: Likewise.
1010	* configure.in: Call it before AC_CANONICAL_SYSTEM.
1011	* configure: Regenerate.
1012
10132002-06-20  David Edelsohn  <edelsohn@gnu.org>
1014
1015	* configure.target (CPULIMITSH): Use powerpc directory for rs6000.
1016
10172002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
1018
1019	* configure.in (target_alias): Fix.
1020	* configure: Regenerate.
1021	* aclocal.m4: Regenerate.
1022
10232002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
1024            Benjamin Kosnik  <bkoz@redhat.com>
1025	
1026	* configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1027	under *-qnx6.[12]*.
1028	* configure.in: Add support for *-qnx6.[12]*.
1029	* configure: Regenerate.
1030
1031	* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1032	New directories.  
1033	* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1034	ctype_noninline.h, os_defines.h: New files.
1035
10362002-06-10  Steve Ellcey  <sje@cup.hp.com>
1037
1038	* src/locale-inst.cc (__codecvt_abstract_base):
1039	Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1040	* include/bits/istream.tcc (basic_istream): Ditto.
1041	(ws) Ditto.
1042	(operator>>) Ditto.
1043	* include/bits/ostream.tcc (basic_ostream): Ditto. 
1044	(endl): Ditto.
1045	(ends): Ditto.
1046	(flush): Ditto.
1047	(operator<<): Ditto.
1048
10492002-06-08  Paolo Carlini  <pcarlini@unitus.it>
1050
1051	* testsuite/backwards/strstream_members.cc: New.
1052
10532002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1054
1055	* include/backwards/strstream: Format.
1056	* src/strstream.cc: Format.
1057	
10582002-06-08  Andreas Schwab  <schwab@suse.de>
1059
1060	* src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1061	_M_buf_size and _M_buf_size_opt to the new buffer and size.
1062
10632002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1064
1065	* config/os/generic/bits/ctype_noninline.h: Tweak format.
1066
10672002-06-05  David Edelsohn  <edelsohn@gnu.org>
1068
1069	* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1070	Call external symbol.
1071
10722002-06-05  Paolo Carlini  <pcarlini@unitus.it>
1073
1074	* testsuite/22_locale/money_get_members_char.cc
1075	(test02): Add decimal point to long double constants.
1076	* testsuite/22_locale/money_get_members_wchar_t.cc
1077	(test02): Likewise.
1078	* testsuite/22_locale/money_put_members_char.cc
1079	(test02, test03, test06): Likewise.
1080	* testsuite/22_locale/money_put_members_wchar_t.cc:
1081	(test02, test03, test06): Likewise.
1082	* testsuite/22_locale/num_get_members_char.cc:
1083	(test02, test01): Likewise; suffix long long constants with LL.
1084	* testsuite/22_locale/num_get_members_wchar_t.cc:
1085	(test02, test01): Likewise.
1086	* testsuite/22_locale/num_put_members_char.cc:
1087	(test02, test01): Likewise.
1088	* testsuite/22_locale/num_put_members_wchar_t.cc:
1089	(test02, test01): Likewise.
1090
10912002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1092            Gaby Dos Reis  <gdr@codesourcery.com>
1093
1094	* include/bits/basic_string.tcc
1095	(basic_string::_S_construct(forward_iterator_tag):
1096	Fix typo in null pointer check.
1097	* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1098
10992002-06-03  Marc Espie  <espie@openbsd.org>
1100
1101        * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1102        assembly for old assemblers.                                            
1103
11042002-05-31  Marcus Meissner  <meissner@suse.de>
1105
1106	PR libstdc++/6886
1107	* include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
1108	* testsuite/23_containers/vector_bool.cc (test02):  New test.
1109
11102002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1111
1112	* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1113	to 64 for hppa 64-bit port.
1114	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1115
11162002-05-30  Marc Espie  <espie@openbsd.org>
1117
1118	* configure.in: Always check for sys/types.h.
1119	* configure: Regenerate.
1120
11212002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1122
1123	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1124	Rebuild the wrapper file every time this proc is called.
1125
11262002-05-28  Loren J. Rittle <ljrittle@acm.org>
1127
1128	libstdc++/6641
1129	* include/bits/c++config (__USE_MALLOC): Report case where
1130	the user improperly defined it on the command line.
1131
11322002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1133
1134	* src/misc-inst.cc: Define unnecessary algorithm
1135	instantiations. Break apart instantiations into groupings below.
1136	* src/fstream-inst.cc: New.
1137	* src/io-inst.cc: New. 
1138	* src/istream-inst.cc: New.
1139	* src/ostream-inst.cc: New.
1140	* src/streambuf-inst.cc: New.
1141	* src/sstream-inst.cc: New.
1142	* src/Makefile.am (sources): Add files.
1143	* src/Makefile.in: Regenerate.
1144
1145	* acinclude.m4: Work around automake 1.4-p5 bug, change
1146	AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1147	
11482002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1149
1150	PR libstdc++/6795.
1151	* config/os/solaris/solaris2.6/bits/ctype_noninline.h
1152	(classic_table): Fix.
1153	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1154
11552002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1156
1157	* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1158	_GLIBCPP_USE_WCHAR_T.
1159	* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1160	* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1161	* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1162
11632002-05-26  Carlo Wood  <carlo@alinoe.com>
1164            Paolo Carlini  <pcarlini@unitus.it>
1165
1166	PR libstdc++/6811
1167	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
1168	(__enc_traits::operator=): add missing return statement.
1169
11702002-05-24  Phil Edwards  <pme@gcc.gnu.org>
1171
1172	PR libstdc++/6282
1173	* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
1174	(operator>>):  If nothing was extracted, don't fail in the
1175	zero-length case.
1176	* testsuite/23_containers/bitset_ctor.cc (test02):  New test.
1177
11782002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1179
1180	PR libstdc++/6701
1181	* testsuite/22_locale/ctype_narrow_char.cc: New.
1182	* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.	
1183	* testsuite/22_locale/ctype_widen_char.cc: New.
1184	* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1185	* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1186	* testsuite/22_locale/ctype_is_char.cc: ...this.
1187	* testsuite/22_locale/ctype_to_char.cc: ...and this.
1188	* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1189	* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1190	* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1191
1192	* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1193	
11942002-05-24  Dale Peakall <dale@peakall.net>
1195
1196	PR libstdc++/6701
1197	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1198	* config/locale/generic/ctype_members.cc: Same.
1199	
12002002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1201
1202	PR libstdc++/6750
1203	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1204	for empty string literal.
1205	(ostream::operator<<(const _CharT*)): Same.
1206	(ostream<char>::operator<<(const char*)): Same.
1207	(ostream<char>::operator<<(streambuf*)): Same.
1208	* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1209	* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1210	
12112002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1212
1213	* configure.in: Update local install.html, configopts.html paths.
1214	* configure: Regenerate.
1215
1216	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve
1217	current limits before setting.
1218
1219	* acinclude.m4 (enable_symvers): Quote $LD.
1220	* aclocal.m4: Regenerate.
1221	* configure: Likewise.
1222	Fixes PR target/6755.
1223
12242002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
1225
1226	* configure.in (release_VERSION): Update to 3.1.1.
1227	(libtool_VERSION): Update to 4:1:0.
1228	* configure: Regenerate.
1229
12302002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1231
1232	* include/bits/stl_pair.h:  Tweak comment markup.
1233
12342002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1235
1236	* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
1237
12382002-05-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1239
1240	* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1241	* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1242	* Makefile.in, config.h.in, configure: Regenerate.
1243
1244	* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1245	Return __ctype + 1.
1246	(ctype:_M_table): Initialize to classic_table(), not __ctype.
1247
1248	* config/os/irix/irix5.2/bits/os_defines.h
1249	(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1250
12512002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1252            Jakub Jelinek  <jakub@redhat.com>
1253
1254	* testsuite/22_locale/money_get_members_char.cc
1255	(test01, test02, test04): Use the de_DE@euro named locale
1256	instead of de_DE to allow for an uniform behaviour with
1257	both old and Euro-era localedata; tweak some tests.
1258	* testsuite/22_locale/money_get_members_wchar_t.cc
1259	(test01, test02, test04): Likewise.
1260	* testsuite/22_locale/money_put_members_char.cc
1261	(test01, test02, test04): Likewise.
1262	* testsuite/22_locale/money_put_members_wchar_t.cc
1263	(test01, test02, test04): Likewise.
1264
12652002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1266
1267	* testsuite/22_locale/codecvt_members_char_char.cc
1268	(test03): Robustify wrt localedata.
1269	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1270	* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1271	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1272	* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1273	* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1274	* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1275	* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1276	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1277	* testsuite/22_locale/money_put_members_char.cc (test07): Likewise. 
1278	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1279	* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1280	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1281	* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1282	* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise. 
1283	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1284	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1285	* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1286	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise. 
1287	* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1288	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise. 
1289	* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1290	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1291
12922002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1293
1294	Test all the facets for the temporary "C" locale switch issue.
1295	* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1296	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1297	* testsuite/22_locale/collate_members_char.cc: Add test04.
1298	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1299	* testsuite/22_locale/ctype_members_char.cc: Add test05.
1300	* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1301	* testsuite/22_locale/messages_members_char.cc: Add test03.
1302	* testsuite/22_locale/money_get_members_char.cc: Add test08.
1303	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1304	* testsuite/22_locale/money_put_members_char.cc: Add test07. 
1305	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1306	* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1307	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1308	* testsuite/22_locale/num_get_members_char.cc: Add test06.
1309	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 
1310	* testsuite/22_locale/numpunct_members_char.cc: Add test03.
1311	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 
1312	* testsuite/22_locale/time_get_members_char.cc: Add test08.
1313	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 
1314	* testsuite/22_locale/time_put_members_char.cc: Add test04.
1315	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1316
1317	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1318	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1319
13202002-05-19  Benjamin Kosnik  <bkoz@redhat.com>
1321	    Paolo Carlini  <pcarlini@unitus.it>
1322
1323	* testsuite/22_locale/num_put_members_char.cc: Add test04(),
1324	testing for the locale_facets.tcc entry of the previous commit.
1325	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1326
13272002-05-18  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
1328	
1329	* config/locale/generic/c_locale.cc
1330	(__convert_to_v(float, double, long double)):
1331	Fix the temporary switch to the "C" locale, saving and
1332	restoring in the proper way the current locale.
1333	* config/locale/generic/time_members.cc
1334	(__timepunct<char, wchar_t>::_M_put): Likewise.
1335	* config/locale/gnu/messages_members.cc
1336	(messages<char>::do_get): Likewise.
1337	* config/locale/gnu/messages_members.h
1338	(messages<_CharT>::do_get): Likewise.
1339	* config/locale/gnu/time_members.cc
1340	(__timepunct<char, wchar_t>::_M_put): Likewise.
1341	* include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1342
13432002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1344            Nathan Myers  <ncm@cantrip.org>
1345            Philip Martin  <philip@codematters.co.uk>
1346
1347	* include/bits/basic_string.h
1348	(replace(i1, i2, _CharT* k1, _CharT* k2),
1349	replace(i2, i2, const _CharT* k1, const _CharT* k2),
1350	replace(i1, i2, iterator k1, iterator k2,
1351	replace(i1, i2, const_iterator k1, const_iterator k2):
1352	New specializations to optimize for the common cases of
1353	pointers and iterators.
1354	(replace(pos, n1, s, n2)): Tweak.
1355	* include/bits/basic_string.tcc: Tweak comments.
1356	* testsuite/21_strings/replace.cc (test05): New tests.
1357
13582002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1359
1360	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1361	_G_USING_THUNKS.
1362	* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1363	* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1364
13652002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1366
1367	* docs/html/17_intro/RELEASE-NOTES (New): Update.
1368
13692002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1370
1371	PR libstdc++/6518
1372	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1373	for null case.
1374	(ostream::operator<<(const _CharT*)): Same.
1375	(ostream<char>::operator<<(const char*)): Same.
1376	* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1377
13782002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1379
1380	PR libstdc++/6594
1381	* src/strstream.cc (strstreambuf): Fix leak.
1382
13832002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1384
1385	* testsuite/22_locale/ctype_scan_char.cc: Tweak.
1386	* testsuite/22_locale/ctype_scan_wchar_t.cc: New.	
1387
1388	* docs/html/install.html: Fix.
1389
13902002-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1391
1392	* config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1393	char.
1394
1395	* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1396	Fix typo, use this->is() rather than manually (and perhaps
1397	incorrectly) inlining it.
1398	* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1399	Likewise.
1400	* testsuite/22_locale/ctype_scan_char.cc: New file.
1401
14022002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1403
1404	* include/bits/fstream.tcc
1405	(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1406	try/catch blocks.
1407	* src/localename.cc (locale::_Impl::_M_install_facet): Same.
1408
1409	* docs/html/install.html: Tweak, add bits about required locales
1410	for the 22_locale tests when using the gnu model.
1411
1412	* testsuite/27_io/istream_sentry.cc: Tweak.
1413
14142002-05-16  Phil Edwards  <pme@gcc.gnu.org>
1415
1416	* docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
1417	* docs/html/faq/index.txt:  Regenerate.
1418
14192002-05-15  Paolo Carlini  <pcarlini@unitus.it>
1420
1421	PR libstdc++/6648
1422	* include/bits/istream.tcc (istream::getline, ignore):
1423	Upon __idelim (__delim) call sbumpc() not snextc().
1424	* testsuite/27_io/narrow_stream_objects.cc:
1425	Add test08 and test09.
1426	
14272002-05-14  Release Manager
1428
1429	* GCC 3.1 Released.
1430
14312002-05-09  Jakub Jelinek  <jakub@redhat.com>
1432
1433	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1434	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1435	LD_LIBRARY_PATH.
1436
14372002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1438
1439	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1440	script entry, and set LD to it when configuring multilibs.
1441	* configure: Rebuilt.
1442
14432002-05-06  Phil Edwards  <pme@gcc.gnu.org>
1444
1445	* docs/html/documentation.html:  Fix broken link.
1446
14472002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
1448
1449	PR libstdc++/6549.
1450	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1451	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1452
14532002-05-02  Phil Edwards  <pme@gcc.gnu.org>
1454
1455	* docs/html/faq/index.html:  Update list in #4.1.
1456	* docs/html/faq/index.txt:  Regenerated.
1457
14582002-05-01  Phil Edwards  <pme@gcc.gnu.org>
1459
1460	* include/std/std_bitset.h:  Fix doxygen comments.
1461	* docs/html/documentation.html:  Minor tweaks for 3.1.
1462	* docs/html/27_io/howto.html:  Likewise.
1463	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
1464	* docs/html/faq/index.html:  Likewise.
1465	* docs/html/faq/index.txt:  Regenerated.
1466
14672002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1468
1469	PR libstdc++/6533
1470	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1471	(istreambuf_iterator::equal): Use it.
1472	(istreambuf_iterator::operator*): Use it.	
1473
14742002-05-01  Paolo Carlini  <pcarlini@unitus.it>
1475	
1476	PR libstdc++/6513
1477	* include/bits/stl_uninitialized.h
1478	(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1479	Fix typo in 2001-07-17 commit: typedef _ValueType to
1480	iterator_traits<_ForwardIter> not <_InputIter>.
1481	* testsuite/23_containers/vector_ctor.cc: Add test04.
1482
14832002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1484
1485	PR libstdc++/6501
1486	* include/c_std/std_cctype.h: Include bits/c++config.h.
1487	* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1488
14892002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1490
1491	* include/ext/stdio_filebuf.h: New file.
1492	* include/ext/enc_filebuf.h: New file.
1493	* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1494	* config/io/basic_file_stdio.cc: Same.
1495	* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1496	Remove _M_unbuf hacks.
1497	(filebuf::_M_destroy_internal_buffer): Same.
1498	(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1499	(filebuf::fd): Remove.
1500	* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1501	(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1502	(filebuf::fd): Remove.
1503	* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1504	filebufs.
1505	(ios_base::_S_ios_destroy): Same.
1506	* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1507	* include/Makefile.am (ext_headers): Add ext_filebuf.h,
1508	stdio_filebuf.h.  * include/Makefile.in: Regenerate.
1509	
15102002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1511
1512	PR libstdc++/6511
1513	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1514	
15152002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1516
1517        PR libstdc++/5820
1518        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1519        Check for eof.
1520        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1521        (istreambuf_iterator::operator++): Invalidate on eof.
1522        (istreambuf_iterator::operator++(int)): Same.
1523        (istreambuf_iterator::operator*): Same.
1524 
15252002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1526
1527        PR libstdc++/5820
1528	* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1529        (__basic_file::sys_ungetc): Take int.
1530        * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1531        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1532        Use sys_getc for unbuffered input.
1533        * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1534        
1535        * src/ios.cc (_M_grow_words): Adjust error checking.
1536        * testsuite/27_io/ios_base_storage.cc: Same.
1537
15382002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1539
1540	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1541	of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1542	LD_LIBRARY64_PATH. 
1543
15442002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1545
1546	* include/ext/stl_hashtable.h: Import __iterator_category
1547
15482002-04-28  Paolo Carlini  <pcarlini@unitus.it>
1549            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1550
1551	* testsuite/ext/hash_set.cc: New testfile.
1552
15532002-04-26  Paolo Carlini  <pcarlini@unitus.it>
1554
1555	* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1556	Fix and tighten __throw_length_error check.
1557	* testsuite/21_strings/replace.cc (test04): New.
1558	* testsuite/21_strings/replace.cc (test02, test03): Tweak.
1559
15602002-04-23  Loren J. Rittle <ljrittle@acm.org>
1561
1562	* include/std/std_fstream.h (basic_filebuf::sync): Hoist
1563	unconditional flush on lower-layer handle to here...
1564	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1565	...from here.  Optimize remaining _M_file.sync() call pattern.
1566	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1567	(test05): Likewise.
1568
15692002-04-23  Jason Merrill  <jason@redhat.com>
1570
1571	* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1572	output-only filebufs.
1573	* include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1574	Likewise.
1575	(basic_filebuf::_M_set_determinate): Likewise.
1576
1577	PR libstdc++/6414
1578	* include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1579	value properly in the trivial case.
1580	* testsuite/27_io/istream_seeks.cc (test04): Make sure that
1581	tellg() returns the right value after a read.
1582
15832002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
1584
1585	* config/cpu/mmix/bits/cpu_limits.h: New file.
1586	* configure.target (CPULIMITSH): Use it.
1587
15882002-04-20  Jason Merrill  <jason@redhat.com>
1589
1590	PR libstdc++/4150
1591	* include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
1592	Move to filebuf.
1593	(basic_streambuf::_M_set_determinate): Likewise.
1594	(basic_streambuf::_M_is_indeterminate): Likewise.
1595	* include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
1596	non-static data member.
1597	(basic_filebuf::_M_underflow_common): New non-static member function.
1598	(basic_filebuf::_M_underflow, _M_uflow): Call it.
1599	(basic_filebuf::sync): Avoid useless seeking.
1600	(basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1601	Set _M_filepos.
1602	(basic_filebuf::_M_set_determinate): Likewise.
1603	(basic_filebuf::_M_is_indeterminate): Likewise.
1604	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1605	back to _M_out_beg if necessary.
1606	(basic_filebuf::seekoff): Likewise.
1607	(basic_filebuf::_M_underflow_common): Generalization of old 
1608	underflow().  Don't seek back to _M_in_beg.
1609	* src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1610	* config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1611	* config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1612	* config/os/mingw32/bits/os_defines.h: Likewise.
1613	* testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
1614	ungetc test.
1615
16162002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
1617
1618	* include/bits/istream.tcc (istream::read): Fix.
1619	* testsuite/27_io/istream_unformatted.cc (main): Add.
1620	
16212002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1622
1623	PR libstdc++/6360
1624	* include/bits/istream.tcc (istream::ignore): Streamline, use
1625	delimiter as is.
1626	* include/bits/streambuf.tcc: Use this->gptr.
1627	* testsuite/27_io/istream_unformatted.cc (test08): Add test.
1628
16292002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1630
1631        * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1632        as type safety is important, especially on solaris.
1633        * include/bits/istream.tcc (istream::read): Clean.
1634        (istream::readsome): Same.
1635        * locale.cc: Wrap lines.
1636
1637        * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1638        * testsuite/27_io/instantiations.cc (test): Add bool variable...
1639        * testsuite/21_strings/capacity.cc: Clean.
1640
16412002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1642
1643        * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1644
16452002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1646
1647        * config/linker-map.gnu (__malloc_alloc_template): Add.
1648        (__default_alloc_template): Same.       
1649        * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1650        template.
1651        (__default_alloc_template): Same.
1652
16532002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1654
1655        * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1656        * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1657        (__malloc_alloc_template): Conditionalize.
1658
1659        * include/bits/istream.tcc: Remove sputbackc calls.
1660
1661        * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1662
16632002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1664
1665	PR libstdc++/4164
1666	Valgrind fixes.
1667	* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1668	Call close.
1669	(__basic_file::close): Call fflush. Correct return if fclose ok. 
1670	(__basic_file::is_open): Make const.
1671	Change __c_file_type to __c_file.
1672	* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1673	(__basic_file::is_open): Make const.
1674	* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1675	* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1676	(filebuf::_M_unbuf): Add.
1677	(filebuf::_M_file): Change to non-pointer.
1678	(filebuf::_M_allocate_pback_buffer): Remove.
1679	* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1680	(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1681	Change initialization list for _M_file change.
1682	(filebuf::_M_allocate_pback_buffer): Remove.
1683	Change _M_file usage to reflect non-pointer data member.
1684
1685	* config/locale/generic/c_locale.cc
1686	(locale::facet::_S_create_c_locale): Add parameter.
1687	* config/locale/generic/collate_members.cc: Change
1688	_M_compare_helper to _M_compare.
1689	Change _M_transform_helper to _M_transform.
1690	* config/locale/generic/monetary_members.cc: Changeup data types.
1691	Add dtors.
1692	* config/locale/generic/numeric_members.cc: Add dtors.
1693	* config/locale/generic/time_members.cc: Add dtors.
1694	* config/locale/gnu/c_locale.cc: Add parameter.
1695	* config/locale/gnu/collate_members.cc:Change
1696	_M_compare_helper to _M_compare.
1697	Change _M_transform_helper to _M_transform.
1698	* config/locale/gnu/ctype_members.cc: Better error checking.
1699	* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1700	* config/locale/gnu/messages_members.cc: Tweak comment.
1701	* config/locale/gnu/monetary_members.cc: Change data types.
1702	Add dtors.
1703	* config/locale/gnu/numeric_members.cc: Add dtors, better error
1704	checking.
1705	* config/locale/gnu/time_members.cc: Same.
1706	* config/locale/ieee_1003.1-2001/c_locale.cc
1707	(locale::facet::_S_create_c_locale): Add parameter.
1708	* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1709	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1710	bogus ctor.
1711
1712	* include/bits/locale_facets.h (moneypunct): Use string literals.
1713	Don't define dtor.
1714	(numpunct): Same.
1715	(__timepunct): Same.
1716	(locale::_Impl::_M_facets): Change from vector to array.
1717	(locale::_Impl::_M_names): Change from array of strings to array
1718	of string literals.
1719	(locale::facet::_S_create_c_locale): Add parameter.
1720	(locale::locale::_S_num_facets): Move to...
1721	(locale::_Impl::_M_facets_size): Here.
1722	* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1723	changes.
1724	* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1725	(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1726	(locale::_Impl::_Impl(string, size_t)): Change to
1727	(locale::_Impl::_Impl(const char*, size_t)): This.
1728
1729	* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1730	* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1731	(streambuf::_S_pback_size): This.
1732
1733	* src/globals.cc: Add pre-allocations for "C" facets.
1734	* src/locale-inst.cc: Remove vector instantiations.
1735	* src/locale.cc: Remove vector include. Fixups for _M_names,
1736	_M_facets changes.
1737	* src/localename.cc: Same.
1738
1739	* include/bits/stl_vector.h: Fix odd formatting.
1740
1741	* include/bits/basic_string.tcc: Tweak comment.
1742
1743	* libsupc++/new: Make sure parameters are uglified.
1744	* libsupc++/typeinfo: Same.
1745
1746	* testsuite/22_locale/num_get_members_char.cc: Fixup.
1747	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1748	* testsuite/27_io/filebuf_members.cc: Same.
1749	
17502002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1751
1752	* docs/doxygen/doxygroups.cc:  New group on binary searching.
1753	* include/bits/stl_algo.h:  Document binary searches and merges.
1754	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
1755
17562002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1757
1758	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
1759	* docs/doxygen/run_doxygen:  Bump required version.
1760	* docs/doxygen/user.cfg.in:  Revert accidental change.
1761	* docs/html/faq/index.html:  Reindent a block of links.
1762	(4.4):  New note on using dlsym.
1763	* docs/html/faq/index.txt:  Regenerated.
1764
17652002-04-16  Paolo Carlini <pcarlini@unitus.it>
1766
1767	* testsuite/24_iterators/rel_ops.cc: New test.
1768	
17692002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1770
1771	* include/bits/type_traits.h (__normal_iterator): Declare in
1772	__gnu_cxx.  Adjust use at global namespace.
1773	* include/bits/stl_iterator.h (__normal_iterator): Move definition
1774	into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
1775	* include/bits/basic_string.h (basic_string): Adjust use of
1776	__normal_iterator.
1777	* include/bits/stl_vector.h (_Alloc>): Likewise.
1778	* src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1779	* src/locale-inst.cc (__gnu_cxx): Likewise.
1780	* src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1781
17822002-04-15  Steve Ellcey  <sje@cup.hp.com>
1783
1784	* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1785	(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1786	does not define strtoll or strtoull, but does define strtol
1787	and strtoul which are the same since in 64 bit mode
1788	sizeof(long) == sizeof(long long).
1789
17902002-04-12  Phil Edwards  <pme@gcc.gnu.org>
1791
1792	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
1793	trailing spaces, indentation, and macro names.  Make exception
1794	messages more informative.
1795
17962002-04-11  Richard Henderson  <rth@redhat.com>
1797
1798	* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1799	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1800	(basic_ostream<>::operator<<(long long)): Same.
1801
18022002-04-11  Richard Henderson  <rth@redhat.com>
1803
1804	* config/linker-map.gnu: Add __gxx_personality_sj0.
1805
18062002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1807
1808	libstdc++/1072
1809	* include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1810	pointer to vector.
1811	Remove forward declaration of vector.
1812	Include vector.
1813	* include/bits/locale_facets.tcc: Remove vector include.
1814	(use_locale): Adjust.
1815	(has_locale): Adjust.
1816	* src/locale.cc: Adjust.
1817	* src/localename.cc: Same.
1818	
18192002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1820	    Richard Henderson  <rth@redhat.com>
1821
1822	* include/bits/sstream.tcc: Clean up bit ops.
1823	* include/bits/fstream.tcc: Same.
1824
18252002-04-09  Jakub Jelinek  <jakub@redhat.com>
1826
1827	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1828	(__num_base::_S_scale_oct): Remove.
1829	* src/locale.cc (__num_base::_S_scale_hex): Remove.
1830	(__num_base::_S_scale_oct): Remove.
1831
18322002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1833
1834	libstdc++/6124
1835	* testsuite/23_containers/bitset_members.cc: New test.
1836	* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1837	(_S_bit_count): Here.
1838	(_First_one::_S_first_one): Move...
1839	(_S_first_one): Here.
1840	Format.
1841	* src/bitset.cc: Adjust.
1842	* config/linker-map.gnu: Export.
1843	
18442002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1845
1846	libstdc++/5180
1847	* include/bits/fstream.tcc (filebuf::seekpos): Fix.
1848	* include/std/std_fstream.h: Clean.
1849	* include/bits/ostream.tcc: Remove extraneous variables.
1850	* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1851	open modes and which modes.
1852	(stringbuf::seekpos): Same.
1853	* testsuite/27_io/stringbuf_virtuals.cc: New tests.
1854	
18552002-04-05  Jonathan Wakely <jw@kayari.org>
1856
1857	* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1858	random_shuffle, partition, stable_partition, sort, stable_sort,
1859	partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1860
18612002-04-05  David S. Miller  <davem@redhat.com>
1862
1863	* config/os/gnu-linux/bits/os_defines.h
1864	(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1865
18662002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1867
1868	libstdc++/3457 
1869	via gawrilow@math.tu-berlin.de
1870	* acinclude.m4 (version_specific_libs): Fix combo usage with
1871	--with-gxx-include-dir.
1872	* aclocal.m4: Regenerate.
1873	* configure: Same.
1874	
18752002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1876
1877        As per DR 184, libstdc++/3139
1878        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1879        (numeric_limits<bool>::is_iec559): False.
1880        (numeric_limits<bool>::is_modulo): False.       
1881
1882	* testsuite/27_io/ios_init.cc: Add instantiations.
1883
18842002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1885	
1886	libstdc++/5268
1887	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1888	* testsuite/27_io/ios_init.cc (tests04): Add test.
1889
1890	libstdc++/3983
1891	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1892	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1893	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
1894	* include/bits/istream.tcc: Use _M_fctype, make consistent with
1895	ostream.
1896	* testsuite/27_io/ios_init.cc (tests03): Add test.
1897	
18982002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1899
1900	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
1901	* include/Makefile.in:  Regenerate.
1902
19032002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1904
1905	libstdc++/5542
1906	* acinclude: More extensive checks for msgfmt, --enable-nls.
1907	* aclocal.m4: Regenerate.
1908	* configure: Regenerate.
1909
19102002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1911
1912	* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
1913	* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
1914	* docs/html/18_support/howto.html:  Document the demangler.
1915	* docs/html/17_intro/howto.html:  And link to it.
1916
1917	* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
1918	* docs/doxygen/run_doxygen:  Print user-vs-maintainer.
1919
19202002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1921
1922	* include/bits/c++config:  Fix misplaced leading blanks on first line.
1923
19242002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1925
1926	* config/linker-map.gnu:  Export __verbose_terminate_handler.
1927	* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
1928	Make new LTCOMPILE variable, use it in new special build rules.
1929	* libsupc++/Makefile.in:  Rebuild.
1930	* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
1931	runtime __cxa_demangle.
1932
1933	* docs/html/install.html:  Update prereqs and instructions.
1934	* docs/html/19_diagnostics/howto.html:  Bring naming for
1935	verbose_terminate_handler into line with reality.
1936
19372002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1938	
1939	libstdc++/3129
1940	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1941	(basic_ios::_M_streambuf_state): Move.	
1942	* include/bits/ios_base (ios_base): To here.
1943	* include/bits/ios_base.h (ios_base::_S_local_words): To
1944	_S_local_word_size.
1945	(ios_base::_M_word_array): To _M_local_word.
1946	(ios_base::_M_words_limit): To _M_word_size.	
1947	(ios_base::_M_words): To _M_word.		
1948	Comment.
1949	* include/bits/basic_ios.tcc: Adjust.	
1950	* src/ios.cc (ios_base::_M_grow_words): Tweak.
1951	* testsuite/27_io/ios_base_storage.cc: Add tests.
1952
1953	libstdc++/5207
1954	Kenny Simpson <theonetruekenny@yahoo.com>
1955	* include/bits/ios_base.h: Fix.
1956	
1957	Richard Henderson  <rth@redhat.com>
1958	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1959	last change.
1960
1961	* include/bits/basic_string.h: Tweak formatting.
1962	
19632002-04-01  Paolo Carlini  <pcarlini@unitus.it>
1964
1965	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
1966	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1967	By definition, sizeof(char) == 1.
1968	* include/bits/locale_facets.tcc (money_get::do_get,
1969	money_put::do_put): Ditto.
1970	* testsuite/21_strings/inserters_extractors.cc
1971	(test04): Ditto.
1972
19732002-03-30  Richard Henderson  <rth@redhat.com>
1974
1975	PR c++/3719
1976	* libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1977	data out of the exception struct before calling unexpectedHandler.
1978
19792002-03-28  Roger Sayle  <roger@eyesopen.com>
1980
1981	* include/c_std/std_cmath.h:  To prevent problems overloading
1982	g++ builtins, use the double variants from the global namespace
1983	before defining float and long double variants in std::.
1984
19852002-03-28  Loren J. Rittle <ljrittle@acm.org>
1986
1987	* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1988
19892002-03-28  Paolo Carlini  <pcarlini@unitus.it>
1990
1991	* testsuite/24_iterators/istream_iterator.cc
1992	(test02): New tests.
1993
19942002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1995            Paolo Carlini  <pcarlini@unitus.it>
1996
1997	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1998	(test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1999	fix i_lit_base e_lit_base arrays, making them independent
2000	from the endianness of the platform; tweak UCS4 to UCS-4BE.
2001
20022002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2003
2004	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2005	allocate at least a byte.
2006
2007	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
2008	debugger-friendly.
2009	* testsuite/27_io/streambuf.cc (test07): Fix.
2010	(test06): Enable.
2011
20122002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2013
2014	Bulk documentation merge (copy) from trunk.
2015	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc,
2016	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
2017	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
2018	docs/html/Makefile, docs/html/17_intro/howto.html,
2019	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html:
2020	Merge from trunk.
2021
20222002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2023
2024	* include/bits/stl_algo.h:  Remove @maint and @endmaint.
2025	* include/bits/stl_alloc.h:  Likewise.
2026	* include/bits/stl_construct.h:  Likewise.
2027	* include/bits/stl_deque.h:  Likewise.
2028	* include/bits/stl_iterator_base_types.h:  Likewise.
2029	* include/bits/stl_list.h:  Likewise.
2030	* include/bits/stl_relops.h:  Likewise.
2031	* include/bits/stl_tempbuf.h:  Likewise.
2032	* include/bits/stl_vector.h:  Likewise.
2033	* include/std/std_memory.h:  Likewise.
2034
2035	* include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
2036	* include/bits/stl_list.h:  Likewise.
2037	* include/bits/stl_vector.h:  Likewise.
2038
20392002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2040
2041	* include/c/: Guard with _CPP_.
2042	* include/c_std/: Same.
2043	* include/Makefile.am: Fixup install, link routines for null
2044	c_base_headers_extra scenarios.
2045	* include/Makefile.in: Regerate.
2046
20472002-03-25  Paolo Carlini <pcarlini@unitus.it>
2048            Richard Henderson  <rth@redhat.com>
2049
2050	* testsuite/22_locale/codecvt_members_unicode_char.cc
2051	(test01, test02): make sure that the i_lit_base array
2052	is sufficiently aligned.
2053
20542002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2055
2056        * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2057        _ctype_.
2058
20592002-03-25  Paolo Carlini  <pcarlini@unitus.it>
2060
2061	* testsuite/22_locale/collate_byname.cc
2062	(test01): compare the result of collate::compare with
2063	that of collate::transform + string::compare, not with
2064	that of collate::transform + collate::compare; values
2065	returned by collate::compare are normalized, therefore
2066	test against +-1.
2067
20682002-03-25  Jakub Jelinek  <jakub@redhat.com>
2069
2070	PR target/5676
2071	* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions
2072	explicitly.
2073	* aclocal.m4: Rebuilt.
2074	* configure: Rebuilt.
2075	* configure.target (mcore-*-pe*): Add -frtti -fno-exceptions
2076	by default to c++ flags.
2077
20782002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2079            Jakub Jelinek  <jakub@redhat.com>
2080
2081	* config/locale/gnu/messages_members.h: Correct conditional.
2082	* config/locale/gnu/messages_members.cc: Same.
2083	* config/locale/gnu/time_members.cc: Same.
2084
20852002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2086            Paolo Carlini  <pcarlini@unitus.it>
2087
2088	* testsuite/22_locale/codecvt_members_unicode_char.cc
2089	(test01, test02): Fix i_lit_base arrays, making them
2090	independent from the endianness of the platform.
2091
20922002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2093
2094	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2095	signbit and __signbit directly.
2096	* aclocal.m4: Regenerate.
2097	* configure: Regenerate.
2098	* config.h.in: Regenerate.
2099	* libmath/Makefile.am: Simplify.
2100	* libmath/Makefile.in: Regenerate.
2101	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2102
2103	* include/Makefile.am: Clean up handling of extra "C" header files.
2104	Add hooks for "C" compatibility headers.
2105	* include/Makefile.in: Regenerate.
2106
2107	* include/c/*: Formatting tweaks, cleanups.
2108	* include/c_std/*: Same.
2109
21102002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2111
2112	* config/locale/gnu/messages_members.h: Add __uselocale bits.
2113	* config/locale/gnu/messages_members.cc: Same.
2114	* config/locale/gnu/time_members.cc: Same.
2115
21162002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2117
2118	* src/vterminate.cc: Format, -fno-exceptions cleanup.
2119
21202002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2121
2122	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2123	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2124	* aclocal.m4: Regenerate.
2125	* configure: Likewise.
2126
21272002-03-19  Paolo Carlini  <pcarlini@unitus.it>
2128            Ulrich Drepper  <drepper@redhat.com>
2129
2130	* src/locale-inst.cc (__convert_from_v): Add an additional
2131	__size parameter in the declarations.
2132	* include/bits/locale_facets.tcc
2133	(__convert_from_v): When available (that is,
2134	_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2135	(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2136	being defined or not, call and use __convert_from_v in the
2137	appropriate way.
2138	(num_put::_M_convert_int): Same here.
2139	(money_put::do_put(long double)): Same here.
2140
21412002-03-19  Phil Edwards  <pme@gcc.gnu.org>
2142
2143	* docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
2144	* docs/html/faq/index.txt:  Regenerate.
2145
21462002-03-19  Steve Ellcey  <sje@cup.hp.com>
2147
2148	* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2149	GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2150	--enable-libunwind-exceptions is set.
2151	* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2152	macro to check for libunwind.
2153	* configure: Regenerate.
2154	* src/Makefile.am (libstdc___la_LDFLAGS): Add
2155	LIBUNWIND_FLAG to libstdc link line.
2156	* src/Makefile.in: Regenerate.
2157
21582002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2159
2160	* docs/html/faq/index.html: Add OS X workaround.
2161	* docs/html/17_intro/TODO: Update.
2162
21632002-03-18  Paolo Carlini  <pcarlini@unitus.it>
2164
2165	* include/bits/locale_facets.tcc
2166	(money_put::do_put(long double)): Fix dimensioning of
2167	temporary buffers to avoid risk of overruns.
2168	(money_put::do_put(string)): Same for the buffer used to
2169	add the grouping chars.
2170	* testsuite/22_locale/money_put_members_char.cc: Add test06.
2171	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2172
2173	* include/bits/locale_facets.tcc
2174	(collate::do_transform): Simplify.
2175
21762002-03-18  Phil Edwards  <pme@gcc.gnu.org>
2177
2178	* acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
2179	* configure.in:  Add comments pointing the way for autoconf 2.5x.
2180	* aclocal.m4, config.h.in, configure:  Regenerate.
2181
21822002-03-18  Philipp Thomas  <pthomas@suse.de>
2183
2184	* include/backward/hash_map.h: hash, hashtable, hash_map and
2185	hash_multimap are in namespace __gnu_cxx.
2186	include/backward/hash_set.h: hash, hashtable, hash_set and
2187	hash_multiset are in namespace __gnu_cxx.
2188	include/backward/hashtable.h: hash and hashtable are in
2189	namespace __gnu_cxx.
2190	include/backward/rope.h: char_producer, sequence_buffer,
2191	rope, crope and wrope are in namespace __gnu_cxx.
2192	include/backward/slist.h: slist is in namespace __gnu_cxx.
2193	* testsuite/backward/header_hash_map_h.cc
2194	testsuite/backward/header_hash_set_h.cc
2195	testsuite/backward/header_hashtable_h.cc
2196	testsuite/backward/header_rope_h.cc
2197	testsuite/backward/header_slist_h.cc
2198	testsuite/backward/header_tempbuf_h.cc: New tests for
2199	checking that we're using the correct namespace.
2200
22012002-03-17  Jason Merrill  <jason@redhat.com>
2202
2203	PR c++/4381
2204	* libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2205	(check_exception_spec): Call it.  Take the thrown pointer.
2206	(__cxa_call_unexpected): Pass it.
2207	(PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
2208
22092002-03-15  Anthony Green  <green@redhat.com>
2210
2211	* configure.in: Remove useless is_mingw32.
2212	* configure: Rebuilt.
2213
22142002-03-15  Paolo Carlini  <pcarlini@unitus.it>
2215
2216	* testsuite/22_locale/collate_members_char.cc
2217	(test01): compare the result of collate::compare with
2218	that of collate::transform + string::compare, not with
2219	that of collate::transform + collate::compare.
2220	(test01): values returned by collate::compare are
2221	normalized, therefore test against +-1.
2222	* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2223
22242002-03-12  Loren Rittle  <ljrittle@acm.org>
2225
2226	reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2227	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2228
22292002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2230            Per Liboriussen  <liborius@stofanet.dk>
2231
2232	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2233	unsigned char.
2234	* config/os/gnu-linux/bits/ctype_inline.h: Same.
2235
2236	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2237
2238	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2239	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2240
2241	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2242	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2243
2244	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2245	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2246
2247	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2248
22492002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2250
2251	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
2252	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
2253	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2254	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2255	that memory limits are in place.
2256	(test03): Add tests.
2257
22582002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2259
2260	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2261	* aclocal.m4: Regenerate.
2262	* config.h.in: Regenerate.
2263	* configure: Regenerate.
2264	* include/c_std/std_cwctype.h: Guard.
2265
22662002-03-11  Chris Demetriou  <cgd@broadcom.com>
2267
2268	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2269	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2270	* aclocal.m4: Regenerate.
2271	* configure: Regenerate.
2272
22732002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2274
2275	* include/bits/stl_bvector.h: Fix warning.
2276
22772002-03-11  Richard Henderson  <rth@redhat.com>
2278
2279	* include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
2280
22812002-03-11  Paolo Carlini  <pcarlini@unitus.it>
2282
2283	* include/bits/locale_facets.tcc (collate::do_transform):
2284	Rewrite to fix problems with long transformed strings.
2285
2286	* include/bits/locale_facets.tcc (time_put::do_put):
2287	Consider sizeof(char_type) in allocating the buffer.
2288
22892002-03-10  Anthony Green  <green@redhat.com>
2290
2291	* configure.in: Support cross builds to mingw32 target.
2292	* configure: Rebuilt.
2293
22942002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2295
2296	* c_locale_generic.cc: Move to...
2297	* generic/c_locale.cc
2298	* c_locale_generic.h: Move to...
2299	* generic/c_locale.h
2300	* codecvt_specializations_generic.h: Move to...
2301	* generic/codecvt_specializations.h
2302	* collate_members_generic.cc: Move to...
2303	* generic/collate_members.cc
2304	* ctype_members_generic.cc: Move to...
2305	* generic/ctype_members.cc
2306	* messages_members_generic.cc: Move to...
2307	* generic/messages_members.cc
2308	* messages_members_generic.h: Move to...
2309	* generic/messages_members.h
2310	* moneypunct_members_generic.cc: Move to...
2311	* generic/monetary_members.cc
2312	* numpunct_members_generic.cc: Move to...
2313	* generic/numeric_members.cc
2314	* time_members_generic.cc: Move to...
2315	* generic/time_members.cc
2316	* c_locale_gnu.cc: Move to...
2317	* gnu/c_locale.cc
2318	* c_locale_gnu.h: Move to...
2319	* gnu/c_locale.h
2320	* collate_members_gnu.cc: Move to...
2321	* gnu/collate_members.cc
2322	* ctype_members_gnu.cc: Move to...
2323	* gnu/ctype_members.cc
2324	* messages_members_gnu.cc: Move to...
2325	* gnu/messages_members.cc
2326	* messages_members_gnu.h: Move to...
2327	* gnu/messages_members.h
2328	* moneypunct_members_gnu.cc: Move to...
2329	* gnu/monetary_members.cc
2330	* numpunct_members_gnu.cc: Move to...
2331	* gnu/numeric_members.cc
2332	* time_members_gnu.cc: Move to...
2333	* gnu/time_members.cc
2334	* c_locale_ieee_1003.1-200x.cc: Move to...
2335	* ieee_1003.1-2001/c_locale.cc
2336	* c_locale_ieee_1003.1-200x.h: Move to...
2337	* ieee_1003.1-2001/c_locale.h
2338	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
2339	* ieee_1003.1-2001/codecvt_specializations.h
2340	* messages_members_ieee_1003.1-200x.cc: Move to...
2341	* ieee_1003.1-2001/messages_members.cc
2342	* messages_members_ieee_1003.1-200x.h: Move to...
2343	* ieee_1003.1-2001/messages_members.h
2344
2345	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2346	* aclocal.m4: Regenerate.
2347	* configure: Regenerate.
2348	* src/Makefile.am (sources): Change to monetary and numeric.
2349	* src/Makefile.in: Regenerate.
2350	* docs/html/configopts.html: Update to ieee_1003.1-2001.
2351
23522002-03-08  scott snyder  <snyder@fnal.gov>
2353
2354	libstdc++/5875
2355	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
2356	Allow one more digit of precision.
2357	* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2358	write a double and read back in the same value.
2359
23602002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2361
2362	* include/std/std_limits.h: Move static const data members out of
2363	generic template, into base class __numeric_limits_base.
2364	* src/limits.cc: Add definitions.
2365	* config/linker-map.gnu: Add __numeric_limits_base.
2366	* testsuite/18_support/numeric_limits.cc: Declare test in scope.
2367
23682002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2369
2370	* include/bits/stl_alloc.h: Add extern implicit allocator
2371	instantiations.
2372	* include/bits/basic_string.tcc: Tweak.
2373	* include/bits/loqcale_facets.tcc: Remove default args. Add
2374	has_facet, use_facet extern instantiations.
2375	* src/stl-inst.cc: Add explicit instantiation.
2376	* src/locale-inst.cc: Clean. Remove locale member template
2377	instantiations.
2378
2379	* testsuite/22_locale/operators.cc (test02): Enable.
2380
23812002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
2382	    Stephen M. Webb  <stephen.webb@bregmasoft.com>
2383
2384	* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2385	(_S_rb_tree_black): Make enum.
2386	Clean. Format.
2387	* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2388	* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2389	(__stl_threshold): _M_threshold, enum.
2390	* src/stl-inst.cc: Same.
2391	* config/linker-map.gnu: Remove.
2392
2393	* testsuite/23_containers/vector_bool.cc: New.
2394
23952002-03-08  Phil Edwards  <pme@gcc.gnu.org>
2396
2397	* include/bits/basic_string.h (basic_string::_S_construct):  Fix
2398	names in declaration.
2399	(basic_string::compare):  These are no longer optional.
2400	* include/bits/ostream.tcc:  Tweak closing brace placement.
2401	* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
2402	* include/std/std_sstream.h:  Fix typo in comment.
2403	* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
2404	* src/locale.cc:  Likewise.
2405
24062002-03-08  Phil Edwards  <pme@gcc.gnu.org>
2407
2408	PR libstdc++/5734
2409	* include/bits/stl_vector.h (vector::push_back()):  Guard with
2410	_GLIBCPP_DEPRECATED.
2411
24122002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2413
2414	* docs/html/17_intro/RELEASE-NOTES: Fix usage.
2415	* README (libmath): Make clear.
2416
24172002-03-05  Jakub Jelinek  <jakub@redhat.com>
2418
2419	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2420	script globbing in ld.
2421	* aclocal.m4: Rebuilt.
2422	* configure: Rebuilt.
2423
24242002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2425
2426	* docs/html/17_intro/RELEASE-NOTES: Update.
2427	* README: Format subdirectories.
2428
24292002-03-05  Paolo Carlini  <pcarlini@unitus.it>
2430
2431	libstdc++/5816
2432	* include/bits/locale_facets.tcc
2433	(num_get::_M_extract_float): Fix the parsing of __dec, since
2434	the standard prescribes that if no grouping characters are
2435	seen, no grouping check is applied.
2436	* testsuite/22_locale/num_get_members_char.cc: Add test05
2437	distilled from the PR.
2438	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2439
24402002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2441
2442	* docs/html/17_intro/porting-howto.xml: Refer to
2443	http://www.oasis-open.org for docbookx.dtd.
2444	* docs/html/17_intro/porting-howto.html: Regenerated.
2445
24462002-03-03  Phil Edwards  <pme@gcc.gnu.org>
2447
2448        PR libstdc++/2955
2449	* include/std/std_sstream.h:  Remove trailing spaces.
2450	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
2451	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
2452
24532002-03-03  Paolo Carlini  <pcarlini@unitus.it>
2454
2455	* testsuite/22_locale/num_get_members_char.cc (test04):
2456	Use a named locale expecting grouping (de_DE).
2457	* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2458	Ditto.
2459	* testsuite/27_io/ios_manip_basefield.cc (test01):
2460	Extend coverage, uniform treatment of hexs and octs.
2461
24622002-03-01  Paolo Carlini  <pcarlini@unitus.it>
2463
2464	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
2465	Admit grouping for octals and hexadecimals too.
2466	* testsuite/22_locale/num_get_members_char.cc: Add test04.
2467	(test01): Tweak "." -> "," in void* test.
2468	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2469
2470	* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2471	* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2472
2473	* testsuite/27_io/ios_manip_basefield.cc (test01):
2474	Fix for 64 bit machines.
2475
24762002-02-28  Richard Henderson  <rth@redhat.com>
2477
2478	* config/linker-map.gnu: Export operator new with unsigned long,
2479	and with std::nothrow_t.  Likewise operator delete.
2480
24812002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2482
2483	libstdc++/3983
2484	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2485	Adjust comment.
2486	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2487	(basic_ios::_M_fill_init): New.
2488	(basic_ios::fill()): Delay dealing with _M_fill.
2489	Adjust comment.
2490	* ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2491	(ios_base::_M_call_callbacks): Adjust.
2492	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2493
24942002-02-28  Loren Rittle  <ljrittle@acm.org>
2495
2496	* include/Makefile.am (thread_target_headers): Unconditionally
2497	stage and install gthr-posix.h.
2498	(${target_builddir}/gthr-posix.h): New rule cloned off
2499	${target_builddir}/gthr-default.h.
2500	(${target_builddir}/gthr-default.h): Support chained inclusion
2501	of gthr support headers.
2502	* include/Makefile.in: Rebuilt.
2503
25042002-02-26  Paolo Carlini  <pcarlini@unitus.it>
2505
2506	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
2507	Group all the integral types, not only decs.
2508	* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2509	tests, add a few more.
2510
25112002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
2512
2513	* src/ios.cc (ios_base::~ios_base): Tweak.
2514	(ios_base::_M_call_callbacks): Deal with null __p.
2515	(ios_base::ios_base): Set _M_callbacks.
2516	* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2517	* testsuite/27_io/ios_init.cc (test02): Fix.
2518
2519	* mkcheck.in (static_fail): Failed links go to output file.
2520
25212002-02-25  Phil Edwards  <pme@gcc.gnu.org>
2522
2523	* docs/html/faq/index.html:  Update.
2524	* docs/html/faq/index.txt:  Regenerate.
2525
25262002-02-22  Phil Edwards  <pme@gcc.gnu.org>
2527
2528	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
2529	* aclocal.m4:  Regenerate.
2530	* docs/html/configopts.html:  Document --enable-symvers.
2531	* config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
2532
25332002-02-22  Philipp Thomas  <pthomas@suse.de>
2534
2535        * include/backward/tempbuf.h: get_temporary_buffer and
2536        return_temporary_buffer are in namespace std, not in __gnu_cxx.
2537
25382002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
2539
2540	* configure.in (target_alias): Default to yes.
2541	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2542	libgcc to default case.
2543
25442002-02-20  Phil Edwards  <pme@gcc.gnu.org>
2545
2546	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
2547	(GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
2548	* configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
2549	* aclocal.m4:  Regenerate.
2550	* configure:  Regenerate.
2551	* config/linker-map.dummy:  New file.  Contains nothing useful.
2552
25532002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2554
2555	* testsuite/22_locale/money_put_members_char.cc: Fix.
2556	* testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2557
2558	* testsuite/27_io/standard_manipulators.cc: New file.
2559
2560	* testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2561	* testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2562
25632002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
2564
2565	* config/os/mingw32/bits/ctype_noninline.h
2566	(ctype<char>::ctype): Remove default args from parm list.
2567	* config/os/djgpp/bits/ctype_noninline.h: Same.
2568
25692002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2570
2571	* include/std/std_iomanip.h: Inline, tweaks.
2572	* config/linker-map.gnu: Remove hacks.
2573
2574	* testsuite/21_strings/capacity.cc: Add explicit instantiations.
2575	* testsuite/27_io/ios_init.cc: Same.
2576	* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2577	* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2578
25792002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2580
2581	* config/linker-map.gnu: Export global vtable, typeinfo, guard
2582	variable, and thunk info as per CXXABI docs.
2583
25842002-02-19  Loren Rittle <ljrittle@acm.org>
2585
2586	* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2587	* include/Makefile.in: Rebuilt.
2588
25892002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2590
2591	* testsuite/22_locale/collate_byname.cc (test01): Replace size4
2592          with size3 for the string collations of str5.
2593
25942002-02-18  Paolo Carlini  <pcarlini@unitus.it>
2595
2596	libstdc++/5708
2597	* include/bits/locale_facets.tcc (money_put::do_put):
2598	For the space field use __fill instead of ' ', uniformly.
2599	* testsuite/22_locale/money_put_members_char.cc:
2600	Add test05 distilled from PR.
2601	(test01-02-03): Trim some '*' to ' '.
2602	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2603
26042002-02-18  Loren Rittle <ljrittle@acm.org>
2605
2606	libstdc++/5697
2607	* include/Makefile.am (thread_builddir): Remove (map all
2608	existing uses to target_builddir).
2609	(thread_headers): Rename to...
2610	(thread_target_headers): ...this.
2611	(stamp-thread): Remove.
2612	(stamp-target): Correctly state the position as built.
2613	Update all dependencies to match the new reality.  Remove all
2614	dependency calculations on directories.
2615	* include/Makefile.in: Rebuilt.
2616
26172002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
2618
2619	* include/bits/locale_facets.tcc: Add pragma GCC system_header.
2620	* include/bits/fstream.tcc: Same.
2621	* include/bits/sstream.tcc: Same.
2622	* include/bits/ostream.tcc: Same.
2623	* include/bits/istream.tcc: Same.
2624	* include/bits/streambuf.tcc: Same.
2625	* include/bits/basic_ios.tcc: Same.
2626	* include/bits/basic_string.tcc: Same.
2627
26282002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2629
2630	* include/std/std_iosfwd.h: Don't guard typedefs with
2631	_GLIBCPP_USE_WCHAR_T
2632	* include/bits/stringfwd.h: Same.
2633
26342002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2635
2636	* src/locale.cc (moneypunct_byname): Remove definitions.
2637	* include/std/std_streambuf.h (streambuf::operator=): Return.
2638
26392002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2640
2641	Tune for size.
2642	* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2643	explicit instantiation.
2644	(string::_Rep::_S_max_size): Same.
2645	* include/bits/basic_string.tcc: Add extern explicit
2646	instantiations for string, wstring.
2647	* include/bits/basic_ios.tcc: Add extern explicit instantiations
2648	for ios, wios.
2649	* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2650	* include/bits/istream.tcc: Same, for istream, wistream.
2651	* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2652	wiostream.
2653	* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2654	istringstream, wistringstream, ostringstream, wostringstream,
2655	stringstream, wstringstream.
2656	* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2657	wifstream, ofstream, wofstream, fstream, wfstream.
2658	* src/misc-inst.cc: Correct comments.
2659	Add iomanip instantiations for wide streams.
2660	* include/std/std_iomanip.h: Same.
2661	* include/bits/locale_facets.tcc: Same.
2662
2663	* include/std/std_streambuf.h: Correct
2664	_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2665	* include/std/std_sstream.h: Same.
2666	* include/std/std_ostream.h: Same.
2667	* include/std/std_istream.h: Same.
2668	* include/std/std_fstream.h: Same.
2669
2670	* include/std/std_streambuf.h: Add definitions for private copy
2671	ctor and assignment operator.
2672	* include/std/std_istream.h: Remove declared but undefined copy
2673	ctor and assignment operator. This is taken care of in ios_base,
2674	so adding it in the derived class as well is superfluous.
2675	* include/std/std_ostream.h: Same.
2676
2677	* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2678	* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2679
26802002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2681
2682	* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2683	Add typeinfo bits. Smooth.
2684	* aclocal.m4: Regenerate.
2685	* configure: Same.
2686	* src/Makefile.in: Same.
2687
26882001-02-14  Joel Sherrill  <joel@OARcorp.com>
2689
2690	* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2691	which do not have a CAS instruction.
2692
26932002-02-14  Phil Edwards  <pme@gcc.gnu.org>
2694
2695	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
2696	* configure.in:  Call it.
2697	* config/linker-map.gnu:  New file, initial incomplete revision.
2698	* src/Makefile.am:  Optionally pass version script to the linker.
2699	* aclocal.m4:  Regenerate.
2700	* configure:  Regenerate.
2701	* src/Makefile.in:  Regenerate.
2702
27032002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2704
2705	* src/localename.cc: Remove stdexcept include.
2706	* src/locale-inst.cc: Same.
2707	* src/locale.cc: Same.
2708	* src/functexcept.cc: Remove string includes.
2709	* include/std/std_bitset.h: Remove stdexcept include.
2710	* testsuite/23_containers/bitset_members.cc: Add stdexcept.
2711	* testsuite/23_containers/bitset_ctor.cc: Same.
2712
27132002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2714
2715	* include/bits/stl_algo (__stl_threshold): Declare external.
2716	(__stl_chunk_size): Same.
2717	* include/bits/stl_bvector.h (__WORD_BIT): Same.
2718	* include/bits/stl_tree.h (_S_rb_tree_red): Same.
2719	(_S_rb_tree_black): Same.
2720	* src/stl-inst.cc (__stl_threshold): Define.
2721	(__stl_chunk_size): Same.
2722	(__WORD_BIT): Same.
2723	(_S_rb_tree_red): Same.
2724	(_S_rb_tree_black): Same.
2725
2726	* config/io/basic_file_libio.h (__basic_file): Add declarations.
2727	* include/bits/basic_file.h: Remove.
2728	* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2729	Declare generic types, specialization.
2730        * config/io/basic_file_stdio.cc: Definitions.
2731	* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2732	Declare generic types.
2733	* include/Makefile.am (bits_headers): Remove basic_file.h.
2734	(extra_target_headers): Change basic_file_model.h to basic_file.h.
2735	(stamp-target): Same.
2736
2737	* include/bits/stl_alloc.h: Tweaks.
2738	* include/bits/localefwd.h: Same.
2739
27402002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
2741
2742	* include/bits/locale_facets.tcc (collate::do_hash): Fix.
2743	* testsuite/22_locale/collate_members_char.cc (test03): New test.
2744	* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2745
27462002-02-10  Phil Edwards  <pme@gcc.gnu.org>
2747
2748	* include/bits/stl_algo.h (transform (both signatures), generate_n):
2749	Use __typeof__ in concept checks.
2750
27512002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
2752
2753	* include/bits/stl_algo.h (__median, for_each, find, find_if,
2754	adjacent_find, count, count_if, search, search_n, swap_ranges,
2755	transform, replace, replace_if, replace_copy, replace_copy_if,
2756	generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2757	unique, unique_copy, reverse, reverse_copy):  Doxygenate.
2758
27592002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2760
2761	* include/bits/locale_facets.h
2762	(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2763	(__timepunct<_CharT>::_M_initialize_timepunct): Same.
2764	(__timepunct<_CharT>::_M_put_helper): Same.
2765	(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2766
2767	* include/bits/fstream.tcc (filebuf::underflow): Remove
2768	__codecvt_type typedef.
2769	(filebuf::_M_convert_to_external): Same.
2770
27712002-02-08  Phil Edwards  <pme@gcc.gnu.org>
2772
2773	* docs/doxygen/TODO:  Update.
2774	* docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
2775	* docs/doxygen/mainpage.html:  Add TODO list link.
2776	* docs/doxygen/user.cfg.in:  Add @doctodo hook.
2777	* docs/doxygen/tables.html:  New file, emoty structure only.
2778
2779	* include/bits/stl_iterator.h:  Doxygenate just about everything.
2780	* include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
2781	* include/bits/stl_iterator_base_types.h:  Add notes.
2782
27832002-02-07  Stephan Buys  <sbproxy@icon.co.za>
2784
2785	* include/bits/stl_map.h:  Tweak doxygen markup.
2786	* include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
2787	* include/bits/stl_vector.h:  Likewise.
2788
27892002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2790
2791	libstdc++/5286
2792	libstdc++/3860
2793	* include/std/std_fstream.h (filebuf::__file_type): Change to
2794	__basic_file<char>.
2795	(filebuf::_M_convert_to_external): Declare.
2796	* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2797	codecvt bits for wide streams.
2798	(filebuf::_M_really_overflow): Use it.
2799	(filebuf::underflow): Use codecvt.
2800	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2801	(codecvt<__enc_traits>::do_out): Deal with partial.
2802	(codecvt<__enc_traits>::do_encoding): Return something useful.
2803	* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2804	wchar_t.
2805	* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2806	Change expected encoding output.
2807	(test02): Same.
2808	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2809	(test02): Same.
2810
28112002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2812            Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2813
2814	* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2815	(basic_ios::widen): Same.
2816
28172002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2818
2819	* testsuite/22_locale/money_get_members_char.cc:
2820	Add comment, tidy up.
2821	(test01): more "en_HK" tests (without showbase).
2822	* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2823
28242002-02-06  Loren Rittle <ljrittle@acm.org>
2825
2826	* config/locale/c_locale_generic.cc: Do not trust
2827	_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2828	set by configure.
2829
28302002-02-06  Loren Rittle <ljrittle@acm.org>
2831
2832	* acinclude.m4: Add C++ linkage check for strtof.
2833	* aclocal.m4: Rebuilt.
2834	* config.h.in: Rebuilt.
2835	* configure: Rebuilt.
2836	* config/locale/c_locale_generic.cc: Conditionally include
2837	<ieeefp.h>.  Improve handling and error checking of float
2838	and long double input for non-C99 configurations.
2839
28402002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2841
2842	* include/bits/locale_facets.tcc (money_get::do_get(string)):
2843	In case money_base::symbol deal properly with multi-char sign
2844	for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2845	* testsuite/22_locale/money_get_members_char.cc: Add test07.
2846	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2847
28482002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2849
2850	* include/bits/locale_facets.tcc (money_get::do_get(string)):
2851	First construct a tentative returned string, then, only if the
2852	parsing succeeds, copy it into the string passed by reference.
2853	* testsuite/22_locale/money_get_members_char.cc: Add test06.
2854	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2855
28562002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2857
2858	* docs/doxygen/TODO:  Impl-defined behavior now documented...
2859	* docs/html/17_intro/howto.html:  ...here.
2860	* docs/doxygen/mainpage.doxy:  Remove, rename...
2861	* docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2862	* docs/doxygen/style.css:  Add small text.
2863	* docs/doxygen/run_doxygen:  Adjust for new mainpage.
2864	* docs/doxygen/user.cfg.in:  Likewise.
2865
28662002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2867
2868	* include/bits/stl_map.h:  Initial doxygen markup.
2869	* include/std/std_fstream.h:  Initial doxygen markup.
2870
28712002-02-04  Paolo Carlini  <pcarlini@unitus.it>
2872
2873	libstdc++/5579
2874	* include/bits/locale_facets.tcc (money_get::do_get(string)):
2875	Deal correctly with !(__io.flags() & ios_base::showbase)
2876	for case money_base::symbol.
2877	* testsuite/22_locale/money_get_members_char.cc: Add test05.
2878	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2879
28802002-02-02  Paolo Carlini  <pcarlini@unitus.it>
2881
2882	* testsuite/22_locale/operators.cc
2883	(gnu_collate::do_compare()): Add return statement to
2884	suppress "no return statement" warning.
2885
28862002-02-01  Paolo Carlini  <pcarlini@unitus.it>
2887
2888	* testsuite/27_io/ostream_manip.cc: Enable test02.
2889
28902002-02-01  Phil Edwards  <pme@gcc.gnu.org>
2891
2892	* docs/html/documentation.html:  Update for 3.0.96.
2893	* docs/html/faq/index.html:  Update for 3.0.96.
2894	* docs/html/faq/index.txt:  Regenerated.
2895	* docs/doxygen/TODO:  Update notes.
2896	* docs/html/17_intro/howto.html:  Initial impl-specific listing.
2897
28982002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
2899
2900	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2901	Initialize all data members in copy ctor. Make ctors explicit.
2902	(__enc_traits::__enc_traits()): Default ctor does nothing.
2903	(__enc_traits::_M_init): Guard against multiple iconv_opens.
2904	* include/std/std_sstream.h (basic_stringbuf): Make data members
2905	protected.
2906	* include/std/std_fstream.h (basic_filebuf): Same.
2907	* include/std/std_streambuf.h: Tweak.
2908	* include/bits/streambuf.tcc: Same.
2909	* include/bits/sstream.tcc: Same.
2910	* include/bits/fstream.tcc: Same.
2911
29122002-01-31  Loren Rittle <ljrittle@acm.org>
2913
2914	* testsuite/22_locale/codecvt_members_char_char.cc: Do not
2915	allow NULL argument to be passed to setenv().
2916	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2917	* testsuite/22_locale/collate_members_char.cc: Likewise.
2918	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2919	* testsuite/22_locale/ctype_members_char.cc: Likewise.
2920	* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2921	* testsuite/22_locale/messages_members_char.cc: Likewise.
2922	* testsuite/22_locale/money_get_members_char.cc: Likewise.
2923	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2924	* testsuite/22_locale/money_put_members_char.cc: Likewise.
2925	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2926	* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2927	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2928	* testsuite/22_locale/num_get_members_char.cc: Likewise.
2929	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2930	* testsuite/22_locale/num_put_members_char.cc: Likewise.
2931	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2932	* testsuite/22_locale/numpunct_members_char.cc: Likewise.
2933	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2934	* testsuite/22_locale/time_get_members_char.cc: Likewise.
2935	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2936	* testsuite/22_locale/time_put_members_char.cc: Likewise.
2937	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2938
29392002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
2940
2941	* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2942
2943	* ChangeLog-2001: Fix spelling errors...
2944	* docs/html/17_intro/RELEASE-NOTES: Update.
2945	* docs/html/17_intro/TODO: Update.
2946	* README (file): Update.
2947
29482002-01-30  Loren Rittle <ljrittle@acm.org>
2949
2950	* config/locale/c_locale_generic.cc: Check errno for ERANGE
2951	instead of non-zero to aid portability.
2952
29532002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2954
2955	* docs/html/22_locale/messages.html: Fix example code.
2956
29572002-01-30  Richard Henderson  <rth@redhat.com>
2958
2959	* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2960	out from test03 and templatize.
2961	(test03): Use it.
2962
29632002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2964
2965	* config/locale/numpunct_members_gnu.cc
2966	(numpunct<char, wchar_t>::_M_initialize_numpunct()):
2967	Fix initialization of _M_grouping for locales which have
2968	_M_thousands_sep == '\0'(L'\0', respectively).
2969	* testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2970
29712002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2972
2973	* testsuite/27_io/ostream_inserter_arith.cc (test03):
2974	Better fix for 32/64 bit architectures, avoiding the
2975	implicit assumption that CHAR_BIT == 8.
2976
29772002-01-28  Phil Edwards  <pme@gcc.gnu.org>
2978
2979	* Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
2980	* Makefile.in:  Regenerate.
2981
2982	* docs/doxygen/run_doxygen:  Update, mostly for man pages.
2983	* docs/doxygen/Intro.3:  Update.
2984	* docs/doxygen/TODO:  Update.
2985	* docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
2986	* docs/doxygen/mainpage.doxy:  Update.
2987	* docs/doxygen/user.cfg.in:  Update for header rename.  Also
2988	regenerate comments and variables with 1.2.12.
2989	* docs/doxygen/maint.cfg.in:  Remove file.
2990
2991	* include/bits/stl_relops.h:  Doxygenate.
2992	* include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
2993
2994	* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2995	include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2996	include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2997	include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2998	include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2999	include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3000	include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3001	include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3002	include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3003	include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3004	include/ext/hash_set, include/ext/iterator, include/ext/memory,
3005	include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3006	include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3007	include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3008	include/std/std_algorithm.h, include/std/std_bitset.h,
3009	include/std/std_complex.h, include/std/std_deque.h,
3010	include/std/std_fstream.h, include/std/std_functional.h,
3011	include/std/std_iomanip.h, include/std/std_ios.h,
3012	include/std/std_iosfwd.h, include/std/std_iostream.h,
3013	include/std/std_istream.h, include/std/std_iterator.h,
3014	include/std/std_limits.h, include/std/std_list.h,
3015	include/std/std_locale.h, include/std/std_map.h,
3016	include/std/std_memory.h, include/std/std_numeric.h,
3017	include/std/std_ostream.h, include/std/std_queue.h,
3018	include/std/std_set.h, include/std/std_sstream.h,
3019	include/std/std_stack.h, include/std/std_stdexcept.h,
3020	include/std/std_streambuf.h, include/std/std_string.h,
3021	include/std/std_utility.h, include/std/std_valarray.h,
3022	include/std/std_vector.h:  Add/correct @file doxygen hook.
3023
3024	* include/ext/memory:  Doxygenate most of rest of file.
3025	* libsupc++/exception:  Doxygen output formatting.
3026	* libsupc++/new:  Say which header it is.
3027
3028	* testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
3029	* docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
3030	* docs/html/23_containers/howto.html:  Describe O(n) list::size().
3031	* docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
3032
30332002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3034            Charles Leggett <CGLeggett@lbl.gov>
3035
3036	* testsuite/27_io/filebuf_members.cc (test_05): Add test.
3037
30382002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3039
3040	* testsuite/27_io/ostream_inserter_arith.cc (test03):
3041	Fix to deal correctly with both 32 bit and 64 bit architectures
3042
30432002-01-25  Loren Rittle <ljrittle@acm.org>
3044
3045	* testsuite/thread/pthread1.cc: Use one condition variable
3046	per predicate instead of tricky use of one condition variable.
3047
30482002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3049
3050	* include/bits/fstream.tcc (filebuf::close()): Fix close for input
3051	streams.
3052	(filebuf::_M_really_overflow): Match indeterminate and sync calls.
3053	* testsuite/27_io/filebuf.cc: Compile only.
3054	* testsuite/27_io/filebuf_members.cc: Move tests to here.
3055	* testsuite/27_io/filebuf_virtuals.cc: And here.
3056	Revert sungetc, sync changes for expected values.
3057	* testsuite/27_io/filebuf-*: Move to...
3058	* testsuite/27_io/filebuf_virtuals-*: ...here.
3059	* testsuite/27_io/istream.cc: Compile only, activate.
3060	* testsuite/27_io/ostream.cc: Same.
3061	* testsuite/27_io/iostream.cc: New.
3062	* testsuite/27_io/iostream_members.cc: New.
3063
30642002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
3065
3066	* testsuite/thread/pthread1.cc: Enable on cygwin.
3067	* testsuite/thread/pthread2.cc: Likewise.
3068	* testsuite/thread/pthread3.cc: Likewise.
3069	* testsuite/thread/pthread4.cc: Likewise.
3070	* testsuite/thread/pthread5.cc: Likewise.
3071	* testsuite/thread/pthread6.cc: Likewise.
3072
30732002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3074
3075	* testsuite/27_io/ostream_inserter_char.cc (test07): New.
3076
30772002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3078
3079	* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3080	const, tweak.
3081	(basic_ios::fill(char_type)): Use fill().
3082	* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3083	(basic_ios::narrow): Same.
3084	(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3085	if they are invalid.
3086	(basic_ios::init): Comment.
3087	* testsuite/27_io/ios_init.cc (test02): New.
3088
30892002-01-24  Phil Edwards  <pme@gcc.gnu.org>
3090
3091	* include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
3092	* include/bits/stl_algo.h:  Include stl_tempbuf.h.
3093	* include/ext/memory:  Do not include stl_tempbuf.h.
3094	(temporary_buffer):  Add doxygen hook.
3095	(__get_temporary_buffer, get_temporary_buffer,
3096	return_temporary_buffer):  Move back to std:: header...
3097	* include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
3098	* include/ext/rope:  Do not include stl_tempbuf.h.
3099	* include/ext/stl_hashtable.h:  Likewise.
3100	* include/std/std_algorithm.h:  Likewise.
3101	* testsuite/20_util/temporary_buffer.cc:  New file.
3102
31032002-01-24  andrew@andypo.net
3104	    (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
3105
3106	libstdc++/5432
3107	* include/bits/ios_base.h: Use _Atomic_word for reference counts.
3108	* include/bits/localefwd.h: Likewise.
3109	Also use for std::locale::id::_S_highwater.
3110	* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3111	* src/locale.cc: Support new usage of _Atomic_word.
3112	(std::locale::classic): Guard entire function against reentry.
3113	* src/localename.cc: Support new usage of _Atomic_word.
3114
31152002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
3116
3117	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3118	_GLIBCPP_HAVE_SETENV.
3119	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3120	* testsuite/22_locale/collate_members_char.cc (test02): Same.
3121	* testsuite/22_locale/ctype_members_char.cc (test03): Same.
3122	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3123	* testsuite/22_locale/messages_members_char.cc (test02): Same.
3124	* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3125	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3126	* testsuite/22_locale/money_put_members_char.cc (test04): Same.
3127	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3128	* testsuite/22_locale/num_get_members_char.cc (test03): Same.
3129	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3130	* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3131	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3132	* testsuite/22_locale/time_get_members_char.cc (test07): Same.
3133	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3134	* testsuite/22_locale/time_put_members_char.cc (test03): Same.
3135	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3136	* testsuite/22_locale/num_put_members_char.cc (test03): Same.
3137	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3138	* aclocal.m4: Regenerate.
3139	* configure: Regenerate.
3140	* config.h.in: Regenerate.
3141
31422002-01-23  Loren Rittle <ljrittle@acm.org>
3143
3144	* testsuite/thread/pthread1.cc: New test.
3145	* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3146	* testsuite/thread/pthread3.cc: Likewise.
3147	* testsuite/thread/pthread4.cc: New test adapted from
3148	http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3149	* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3150	* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3151
31522002-01-23  Richard Henderson  <rth@redhat.com>
3153
3154	PR libstdc++/5198
3155	* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3156	CAS on the cpu variants that support it.  Add versions that use
3157	TAS and that disable interrupts.
3158	(__atomic_add): Use __exchange_and_add to guarantee atomicity.
3159
31602002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
3161
3162	* include/bits/locale_facets.tcc: Remove old comments.
3163
31642002-01-23  Andreas Tobler  <toa@pop.agri.ch>
3165
3166	* include/bits/locale_facets.tcc (__convert_to_v): Change template
3167	parameter to _Tv.
3168	(__convert_from_v): Same.
3169
31702002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3171
3172	* include/bits/locale_facets.h (num_get::_M_extract_int): Change
3173	prototype.
3174	* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3175	__max_digits checks, adjust arguments.
3176	(num_get::do_get(*)): Changeup.
3177
31782002-01-23  Loren Rittle <ljrittle@acm.org>
3179
3180        * config/locale/c_locale_generic.cc: Fix typename usage.
3181
31822002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3183
3184	* config/locale/c_locale_generic.cc: Fix.
3185
31862002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3187
3188	* docs/html/22_locale/messages.html: Remove angle brackets.
3189	* docs/html/17_intro/TODO: Add.
3190
31912002-01-22  Paolo Carlini  <pcarlini@unitus.it>
3192
3193	* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3194	* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3195	* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3196	* testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3197
31982002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3199
3200	Audit for LANG independence.
3201	* include/bits/localefwd.h: Tweaks.
3202	* include/bits/locale_facets.tcc (money_get::do_get(long double)):
3203	Use __convert_to_v.
3204	(time_get::do_get_year): Same.
3205	(__convert_from_v): Add.
3206	(num_put::_M_convert_float): Use.
3207	(num_put::_M_convert_int): Same.
3208	(money_put::do_put): Same.
3209
3210	* src/locale-inst.cc: Add instantiations for __convert_from_v.
3211	* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3212	* config/locale/time_members_generic.cc:
3213	* config/locale/messages_members_gnu.cc: Same.
3214	* config/locale/messages_members_gnu.h: Same.
3215
3216	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3217	* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3218	* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3219	* testsuite/22_locale/collate_members_char.cc (test02): New.
3220	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3221	* testsuite/22_locale/ctype_members_char.cc (test03): New.
3222	* testsuite/22_locale/messages_members_char.cc (test02): New.
3223	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3224	* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3225	* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3226	* testsuite/22_locale/money_get_members_char.cc (test04): New.
3227	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3228	* testsuite/22_locale/money_put_members_char.cc (test04): New.
3229	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3230	* testsuite/22_locale/numpunct_members_char.cc (test02): New.
3231	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3232	* testsuite/22_locale/time_put_members_char.cc (test03): New.
3233	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3234	* testsuite/22_locale/time_get_members_char.cc (test07): New.
3235	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3236	* testsuite/22_locale/num_get_members_char.cc (test03): New.
3237	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3238	* testsuite/22_locale/num_put_members_char.cc (test03): New.
3239
3240	* testsuite/22_locale/time_get_members_char.cc: Fixups for global
3241	locale issues.
3242	* testsuite/22_locale/time_get_members_char.cc: Same.
3243
32442002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3245
3246	libstdc++/5280
3247	* include/bits/localefwd.h: Tweak comments.
3248	* include/bits/locale_facets.h (__convert_to_v): Add.
3249	* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3250	(num_get::do_get(float)): Same.
3251	(num_get::do_get(long double)): Same.
3252	(num_get::do_get(bool)): Same.
3253	(num_get::do_get(long)): Same.
3254	(num_get::do_get(long long)): Same.
3255	(num_get::do_get(unsigned int)): Same.
3256	(num_get::do_get(unsigned short)): Same.
3257	(num_get::do_get(unsigned long)): Same.
3258	(num_get::do_get(unsigned long long)): Same.
3259	* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3260	* config/locale/c_locale_generic.cc: Same.
3261
32622002-01-22  Loren Rittle <ljrittle@acm.org>
3263
3264	* include/Makefile.am (c_base_builddir): Remove redundant slash.
3265	(std_builddir): Likewise.
3266	(std_headers_rename): Fix cut-n-paste typo.
3267	(install-data-local): Concat path per element instead of once to
3268	first element of list.
3269	* include/Makefile.in: Rebuilt.
3270
32712002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3272
3273	* config/os/aix/bits/ctype_noninline.h: Fix formatting.
3274	* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3275	* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3276
32772002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3278
3279	* include/bits/locale_facets.h (ctype<char>::classic_table):
3280	Remove definition.
3281	(ctype<char>::_S_ctable): Remove.
3282	* config/os/gnu-linux/bits/ctype_noninline.h
3283	(ctype<char>::_S_table): Remove definition.
3284	(ctype<char>::classic_table): Define.
3285	(ctype<char>::ctype): Replace _S_ctable with classic_table().
3286	* config/os/aix/bits/ctype_noninline.h: Same.
3287	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3288	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3289	* config/os/djgpp/bits/ctype_noninline.h: Same.
3290	* config/os/generic/bits/ctype_noninline.h: Same.
3291	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
3292	* config/os/hpux/bits/ctype_noninline.h: Same.
3293	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3294	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3295	* config/os/mingw32/bits/ctype_noninline.h: Same.
3296	* config/os/newlib/bits/ctype_noninline.h: Same.
3297	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3298	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3299	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3300
33012002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
3302
3303	* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3304	of _pctype. Use to define _S_ctable.  Add definition for alternate
3305	ctor.  Initialise _M_ctable to _S_ctable in ctors.
3306	(do_toupper, do_tolower): Use inline code appropriate for C-locale
3307	rather than ::toupper, ::tolower.
3308
33092002-01-18  Loren Rittle <ljrittle@acm.org>
3310
3311	* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3312	Add specialization for FreeBSD systems only to avoid losing test
3313	only due to extra precision unmentioned in system headers.
3314
33152002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
3316
3317	* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3318
33192002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
3320
3321	* testsuite/testsuite_hooks.h: Fix comment typo.  Memory
3322	limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3323
33242002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3325
3326	* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3327
33282002-01-17  David Edelsohn  <edelsohn@gnu.org>
3329
3330	* configure.target: Define OPT_LDFLAGS for AIX case.
3331
33322002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3333
3334	* include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3335	__glibcpp_double_has_quiet_NaN): Correct mispelling.
3336
33372002-01-17  Andreas Tobler  <toa@pop.agri.ch>
3338
3339	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3340
33412002-01-16  David Edelsohn  <dje@watson.ibm.com>
3342
3343	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3344	SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
3345	* aclocal.m4: Regenerate.
3346	* configure: Regenerate.
3347
33482002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3349
3350	* include/Makefile.am (c_base_headers_rename): New.
3351	(c_base_headers_extra): New.
3352	(stamp-c_base): Modify.
3353	(install-data-local): Use both.
3354	* include/Makefile.in: Regenerate.
3355	* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3356	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3357	cstdio ctime cwctype]: Move to..
3358	* include/c/std_*: Here.
3359	* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3360	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3361	cstdio ctime cwctype]: Move to..
3362	* include/c_std/std_*: Here.
3363
3364	Alexandre Oliva  <aoliva@redhat.com>
3365	* include/Makefile.am (.PRECIOUS): Add rule.
3366	* include/Makefile.in: Regenerate.
3367
33682002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3369            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3370
3371	* include/bits/stl_iterator.h (reverse_iterator::_M_current):
3372	Deuglify, should be current.
3373	(back_insert_iterator::_M_container): Deuglify, should be container.
3374	(front_insert_iterator::_M_container): Same.
3375	(insert_iterator::_M_container): Same.
3376	* testsuite/24_iterators/reverse_iterator.cc: Add check.
3377	* testsuite/24_iterators/back_insert_iterator.cc: Add check.
3378	* testsuite/24_iterators/front_insert_iterator.cc: Same.
3379	* testsuite/24_iterators/insert_iterator.cc: Same.
3380
33812002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3382
3383	* include/bits/locale_facets.h (ctype<char>::classic_table): Make
3384	static.
3385	(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3386	* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3387	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3388	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3389	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3390	* config/os/newlib/bits/ctype_noninline.h: Same.
3391	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3392	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3393	* config/os/hpux/bits/ctype_noninline.h: Same.
3394	* config/os/djgpp/bits/ctype_noninline.h: Same.
3395	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3396	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3397	* config/os/aix/bits/ctype_noninline.h: Same.
3398
3399	Testcase by Dietmar K�hl via Peter Schmid
3400	* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3401	classic_table().
3402
34032002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3404
3405	* libmath/signbitl.c: Copyright years as list, not range.
3406	* libmath/Makefile.am: Same.
3407	* libmath/Makefie.in: Regenerate.
3408	* libmath/signbit.c: Same.
3409	* libmath/nan.c: Same.
3410	* libmath/copysignf.c: Same.
3411	* libmath/signbitf.c: Same.
3412	* testsuite/22_locale/money_get_members_char.cc: Same.
3413	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3414	* testsuite/22_locale/money_put_members_char.cc: Same.
3415	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3416	* testsuite/22_locale/time_get_members_char.cc: Same.
3417	* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3418	* testsuite/22_locale/time_put_members_char.cc: Same.
3419	* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3420	* testsuite/21_strings/nonmember.cc: Same.
3421	* testsuite/21_strings/compare.cc: Same.
3422	* testsuite/27_io/stringstream.cc: Same.
3423	* testsuite/27_io/stringbuf.cc: Same.
3424	* testsuite/27_io/filebuf.cc: Same.
3425	* testsuite/27_io/ios_manip_basefield.cc: Same.
3426	* testsuite/27_io/ios_manip_fmtflags.cc: Same.
3427	* include/bits/cpp_type_traits.h: Same.
3428	* include/bits/generic_shadow.h: Same.
3429	* include/bits/gslice_array.h: Same.
3430	* include/bits/gslice.h: Same.
3431	* include/bits/indirect_array.h: Same.
3432	* include/bits/slice_array.h: Same.
3433	* include/bits/sstream.tcc: Same.
3434	* include/bits/streambuf_iterator.h: Same.
3435	* include/bits/valarray_array.tcc: Same.
3436	* include/bits/valarray_meta.h: Same.
3437	* include/bits/valarray_array.h: Same.
3438	* config/os/mingw32/bits/ctype_noninline.h: Same.
3439	* config/os/mingw32/bits/ctype_base.h: Same.
3440	* config/os/hpux/bits/ctype_noninline.h: Same.
3441	* config/os/hpux/bits/ctype_base.h: Same.
3442	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
3443	* config/os/gnu-linux/bits/ctype_base.h: Same.
3444	* config/os/generic/bits/ctype_noninline.h: Same.
3445	* config/os/generic/bits/ctype_base.h: Same.
3446
3447	* libsupc++/tinfo.h: Tweaks.
3448
34492002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3450
3451	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3452	* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3453	* testsuite/22_locale/ctype_members_char.cc: Tweak.
3454
34552002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3456
3457	* include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3458	(num_put::do_put(void*)): Fix.
3459	* testsuite/22_locale/num_put_members_char.cc (test02): Add.
3460	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3461	* testsuite/22_locale/num_get_members_char.cc (test02): Add
3462	long double, void, bool types.
3463	* testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3464
34652002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3466	    Alexandre Oliva  <aoliva@redhat.com>
3467
3468	* libmath/Makefile.am (LINK): Add --tag CC.
3469	* libmath/Makefile.in: Regenerate.
3470
34712002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3472
3473	* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3474	of character to attribute mapping table.
3475
34762002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
3477
3478	* testsuite/26_numerics/c99_classification_macros_c.cc
3479	Remove dg-error and dg-excess-errors comments.
3480
34812002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3482
3483	* include/bits/locale_facets.tcc (time_put::put): Correct output
3484	iterator positions.
3485	* testsuite/22_locale/time_put_members_char.cc (test02): Add.
3486	* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3487	* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3488	* testsuite/22_locale/time_get_members_char.cc (test06): Add.
3489
34902002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3491
3492	* docs/html/17_intro/porting-howto.xml: Update filebuf section.
3493
34942002-01-14  Paolo Carlini  <pcarlini@unitus.it>
3495	    Nathan Myers  <ncm@cantrip.org>
3496
3497	* include/bits/basic_string.h
3498	(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3499	temporaries (i.e., call _M_replace_safe) when possible.
3500	(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3501	(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3502	(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3503	(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3504	(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3505	* include/bits/basic_string.tcc
3506	(replace(__pos1, __n1, __str, __pos2, __n2)): Call
3507	replace(__pos, __n1, __s, __n2).
3508	* testsuite/21_strings/replace.cc (test03): New testcases.
3509
3510	* include/bits/basic_string.h (insert(__pos, __s, __n)):
3511	Adjust comparison wrt overflow.
3512
35132002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3514
3515	* include/Makefile.am (std_headers_rename): New variable.
3516	(install-data-local): Use it.
3517	* include/Makefile.in: Regenerate.
3518
35192002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3520
3521	* include/bits/locale_facets.tcc (money_put::do_put(string):
3522	Correct output iterator value.
3523	* testsuite/22_locale/money_put_members_char.cc (test03): Add.
3524	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3525
35262002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3527
3528	* include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
3529	previous commit.
3530
35312002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3532
3533	* include/Makefile.am (std_headers):  Update list with new names.
3534	(stamp-std):  Link to standardized name.
3535	* include/Makefile.in:  Regenerate.
3536
3537	* include/std/algorithm, include/std/bitset, include/std/complex,
3538	include/std/deque, include/std/fstream, include/std/functional,
3539	include/std/iomanip, include/std/ios, include/std/iosfwd,
3540	include/std/iostream, include/std/istream, include/std/iterator,
3541	include/std/limits, include/std/list, include/std/locale,
3542	include/std/map, include/std/memory, include/std/numeric,
3543	include/std/ostream, include/std/queue, include/std/set,
3544	include/std/sstream, include/std/stack, include/std/stdexcept,
3545	include/std/streambuf, include/std/string, include/std/utility,
3546	include/std/valarray, include/std/vector:  Rename to...
3547
3548	* include/std/std_algorithm.h, include/std/std_bitset.h,
3549	include/std/std_complex.h, include/std/std_deque.h,
3550	include/std/std_fstream.h, include/std/std_functional.h,
3551	include/std/std_iomanip.h, include/std/std_ios.h,
3552	include/std/std_iosfwd.h, include/std/std_iostream.h,
3553	include/std/std_istream.h, include/std/std_iterator.h,
3554	include/std/std_limits.h, include/std/std_list.h,
3555	include/std/std_locale.h, include/std/std_map.h,
3556	include/std/std_memory.h, include/std/std_numeric.h,
3557	include/std/std_ostream.h, include/std/std_queue.h,
3558	include/std/std_set.h, include/std/std_sstream.h,
3559	include/std/std_stack.h, include/std/std_stdexcept.h,
3560	include/std/std_streambuf.h, include/std/std_string.h,
3561	include/std/std_utility.h, include/std/std_valarray.h,
3562	include/std/std_vector.h:  ...this.
3563
35642002-01-11  Loren Rittle <ljrittle@acm.org>
3565
3566	* include/Makefile.am (extra_target_headers): New list of all
3567	target files built with ad hoc naming rules.
3568	(stamp-*): Handle LN_S failure in manner portable across make
3569	implementations.
3570	(install-data-local): Install header files from human-maintained
3571	file lists and directory components instead of non-robust find.
3572	* include/Makefile.in: Rebuilt.
3573
35742002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
3575
3576	* include/bits/locale_facets.tcc (money_get::do_get(string)):
3577	Check for zero-length negative sign before adding it to output
3578	string.
3579	(money_get::do_get(long double)): Return beg.
3580	* testsuite/22_locale/money_get_members_char.cc (test02): Add
3581	iterator checks.
3582	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3583
35842002-01-10  David Seymour  <seymour_dj@yahoo.com>
3585
3586	libstdc++/5331
3587	* include/bits/locale_facets.h (num_get<>): Return advanced iterator
3588	for _M_extract_float and _M_extract_int
3589	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3590	(num_get<>::_M_extract_int): Likewise, all callers changed
3591	* testsuite/22_locale/num_get_members_char.cc: Testcase
3592
35932002-01-09  Paolo Carlini <pcarlini@unitus.it>
3594
3595        * libsupc++/exception (bad_exception): Add comment.
3596        * libsupc++/new (bad_alloc): Same.
3597        * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3598
35992002-01-09  Paolo Carlini <pcarlini@unitus.it>
3600
3601	libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3602	that the destructors should be removed from the descriptions
3603	in the standard: writing them explicitly allows the vtable
3604	heuristic to work. For additional information see:
3605	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3606	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3607	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3608	* libsupc++/exception (bad_exception::~bad_exception()):
3609	Reintroduce declaration.
3610	* libsupc++/new (bad_alloc::~bad_alloc()): Same.
3611	* libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3612	(bad_typeid::~bad_typeid()): Same.
3613	* libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3614	Reintroduce definition.
3615	* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3616	* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3617	(bad_typeid::~bad_typeid()): Same.
3618
36192002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3620
3621	* include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3622	* include/Makefile.in: Regenerate.
3623
36242002-01-09  Bo Thorsen  <bo@suse.co.uk>
3625
3626	* config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3627	definition.
3628
36292002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3630
3631        libstdc++/2913
3632        libstdc++/4879
3633	* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3634	return value of _M_file->sync().
3635	(filebuf::showmanyc): Check for is_open.
3636	* include/std/fstream (filebuf::sync): Tweak.
3637	* testsuite/27_io/filebuf.cc: Tweak.
3638
36392002-01-08  John Fardo  <jfardo@laurelnetworks.com>
3640	    Brad Garcia  <garsh@attbi.com>
3641
3642	* testsuite/27_io/filebuf_members.cc: Add test.
3643
36442002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3645 	    Craig Rodrigues  <rodrigc@mediaone.net>
3646
3647	libstdc++/5174
3648	* po/Makefile.am (mkinstalldirs): Add.
3649	* po/Makefile.in: Regenerate.
3650
36512002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
3652
3653	* testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3654	testsuite/lib/prune.exp: Delete lines ":In function ..."  from
3655	compiler output.
3656	* testsuite/23_containers/map_operators.cc: Remove
3657	dg-excess-errors comment.
3658	* testsuite/23_containers/set_operators.cc: Likewise.
3659
36602002-01-06  Paolo Carlini  <pcarlini@unitus.it>
3661
3662	* include/bits/stl_function.h:  Remove two lines of comments;
3663	adjust copyright years.
3664
36652002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
3666
3667	* include/Makefile.am (std_headers): Remove cXXX from list.
3668	(c_base_srcdir): No bits subdirectory.
3669	(c_base_builddir): Same.
3670	(c_base_headers): Adjust names, add ciso646.
3671	(bits_headers): Remove std_xxx.h headers.
3672	* include/Makefile.in: Regenerate.
3673
3674	* include/ext/iterator: Adjust includes.
3675	* include/ext/ropeimpl.h: Same.
3676	* include/ext/stl_hash_fun.h: Same.
3677	* include/ext/algorithm: Same.
3678
3679	* include/backward/bvector.h: Adjust includes.
3680	* include/backward/vector.h: Same.
3681	* include/backward/strstream: Same.
3682	* include/backward/streambuf.h: Same.
3683	* include/backward/stack.h: Same.
3684	* include/backward/set.h: Same.
3685	* include/backward/queue.h: Same.
3686	* include/backward/multiset.h: Same.
3687	* include/backward/multimap.h: Same.
3688	* include/backward/map.h: Same.
3689	* include/backward/list.h: Same.
3690	* include/backward/iterator.h: Same.
3691	* include/backward/iostream.h: Same.
3692	* include/backward/iomanip.h: Same.
3693	* include/backward/fstream.h: Same.
3694	* include/backward/deque.h: Same.
3695	* include/backward/complex.h: Same.
3696
3697	* include/bits/std_algorithm.h: Move to...
3698	* include/std/algorithm: ...here.
3699	* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3700	std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3701	std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3702	std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3703	std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3704	std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3705	std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3706	Same.
3707
3708	* include/c_std/bits/std_cassert.h: Move to...
3709	* include/c_std/cassert: Here.
3710	* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3711	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3712	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3713	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3714	std_cwctype.h: Same.
3715	* include/c_std/cmath: Adjust cmath.tcc include.
3716	* include/c_std/cstdlib: Adjust includes.
3717	* include/c_std/cwchar: Same.
3718	* include/c_std/ctime: Same.
3719	* include/c_std/cstring: Same.
3720	* include/c_std/cstdio: Same.
3721	* include/c_std/bits: Remove directory.
3722
3723	* include/c/bits/std_cassert.h: Move to...
3724	* include/c/cassert: Here.
3725	* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3726	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3727	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3728	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3729	std_cwctype.h: Same.
3730	* include/c/bits: Remove directory.
3731
3732	* include/std/cwctype: Remove.
3733	* include/std/cwchar: Remove.
3734	* include/std/ctime: Remove.
3735	* include/std/cstring: Remove.
3736	* include/std/cstdlib: Remove.
3737	* include/std/cstdio: Remove.
3738	* include/std/cstddef: Remove.
3739	* include/std/cstdarg: Remove.
3740	* include/std/csignal: Remove.
3741	* include/std/csetjmp: Remove.
3742	* include/std/cmath: Remove.
3743	* include/std/clocale: Remove.
3744	* include/std/climits: Remove.
3745	* include/std/ciso646: Remove.
3746	* include/std/cfloat: Remove.
3747	* include/std/cerrno: Remove.
3748	* include/std/cctype: Remove.
3749	* include/std/cassert: Remove.
3750
3751	* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3752	files and subsituting <xxx>.
3753	* include/bits/valarray_array.h: Same.
3754	* include/bits/stl_uninitialized.h: Same.
3755	* include/bits/stl_alloc.h: Same.
3756	* include/bits/stl_algobase.h: Same.
3757	* include/bits/sstream.tcc: Same.
3758	* include/bits/pthread_allocimpl.h: Same.
3759	* include/bits/ostream.tcc: Same.
3760	* include/bits/localefwd.h: Same.
3761	* include/bits/locale_facets.tcc: Same.
3762	* include/bits/locale_facets.h: Same.
3763	* include/bits/istream.tcc: Same.
3764	* include/bits/char_traits.h: Same.
3765	* include/bits/boost_concept_check.h: Same.
3766	* include/bits/basic_file.h: Same.
3767	* include/std/bitset: Same.
3768	* include/std/complex: Same.
3769	* include/std/fstream: Same.
3770	* include/std/functional: Same.
3771	* include/std/ios: Same.
3772	* include/std/iostream: Same.
3773	* include/std/ostream: Same.
3774	* include/std/sstream: Same.
3775	* include/std/streambuf: Same.
3776	* include/std/string: Same.
3777	* include/std/iterator: Same.
3778	* include/std/valarray: Same.
3779
3780	* src/ios.cc: Adjust includes.
3781	* src/valarray-inst.cc: Same.
3782	* src/string-inst.cc: Same.
3783	* src/stl-inst.cc: Same.
3784	* src/stdexcept.cc: Same.
3785	* src/misc-inst.cc: Same.
3786	* src/localename.cc: Same.
3787	* src/locale-inst.cc: Same.
3788	* src/locale.cc: Same.
3789	* src/limits.cc: Same.
3790	* src/concept-inst.cc: Same.
3791	* src/complex_io.cc: Same.
3792	* src/codecvt.cc: Same.
3793	* src/bitset.cc: Same.
3794	* src/cmath.cc: Same.
3795
37962002-01-04  Paolo Carlini  <pcarlini@unitus.it>
3797
3798	* include/bits/stl_tree.h (rb_tree):  Move to...
3799	* include/ext/rb_tree:  ...here, new file.
3800	* include/Makefile.am (ext_headers):  Add new file.
3801	* include/Makefile.in:  Regenerate.
3802	* include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3803	return_temporary_buffer, struct temporary_buffer):  Move to...
3804	* include/ext/memory:  ...here.
3805	* testsuite/ext/headers.cc:  Include <ext/rb_tree>.
3806	* include/backward/tempbuf.h:  Include <ext/memory>, tweak.
3807	* include/backward/tree.h:  Include <ext/rb_tree), tweak.
3808
38092002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3810
3811	* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3812	* include/ext/numeric:  ...here, new file.
3813        * include/bits/stl_function.h (identity_element, unary_compose,
3814	binary_compose, compose1, compose2, identity, select1st,
3815	select2nd, project1st + helper, project2nd + helper,
3816	constant_void_fun + helper, constant_unary_fun + helper,
3817	costant_binary_fun + helper, constant0, constant1, constant2,
3818	subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3819        * include/ext/functional:  ...here, new file.
3820        * include/Makefile.am (ext_headers):  Add new files.
3821        * include/Makefile.in:  Regenerate.
3822        * testsuite/ext/headers.cc:  Include <ext/numeric> and
3823	<ext/functional>.
3824	* include/backward/algo.h:  Include <ext/numeric>, tweak.
3825	* include/backward/function.h:  Include <ext/functional>, tweak.
3826        * include/ext/ropeimpl.h:  Include <ext/numeric>.
3827
38282002-01-03  Jeffrey A Law  <law@redhat.com>
3829
3830        * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3831        __strtoull declarations with __extension__.
3832
38332002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3834
3835	* testsuite/lib/prune.exp: Correct regular expression for
3836	-ffunction-sections
3837
38382002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3839
3840	* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3841	Change concept checks, as with lower_bound and PR 2054.
3842	* testsuite/ext/concept_checks.cc:  Expand test to include those.
3843
38442002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3845
3846	* include/bits/boost_concept_check.h:  Import some changes from
3847	upsteam (Boost) version.
3848
38492002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3850
3851	* include/bits/stl_algobase.h (copy_n + helpers,
3852	lexicographical_compare_3way + helpers):  Move to...
3853	* include/ext/algorithm:  ...here.
3854        * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3855        helpers):  Move to...
3856        * include/ext/memory:  ...here, new file.
3857        * include/Makefile.am (ext_headers):  Add new file.
3858        * include/Makefile.in:  Regenerate.
3859        * testsuite/ext/headers.cc:  Include <ext/memory>.
3860	* include/backward/algobase.h:  Include <ext/memory> and
3861	<ext/algorithm>, tweak.
3862        * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3863	* include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3864
38652002-01-01  Roger Sayle <roger@eyesopen.com>
3866
3867	* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3868	equivalent ___builtin__ versions.
3869
3870	* include/c_shadow/bits/std_cmath.h: All __builtin math functions
3871	are available in libstdc++ as the necessary stub implementations
3872	are provided by libmath/stubs.c.
3873
38742002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
3875
3876	* configure.in: Add support for NetBSD cross compiles.
3877	* configure: Regenerate.
3878