ChangeLog revision 110614
12003-02-05  Release Manager
2
3	* GCC 3.2.2 Released.
4
52003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
6
7	* include/Makefile.am (install-data-local): Prepend
8	$(DESTDIR) to destination paths in all (un)installation
9	commands.  Use ${c_base_builddir} and ${std_builddir}
10	as destination subdirectories to achieve consistency with
11	preceding mkinstalldirs commands.  No effect because both
12	variables contain "." only.
13	* include/Makefile.in: Regenerate.
14
152003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
16
17	PR c++/9433
18	* libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
19	with bases which are very ambiguous.
20
212003-01-27  Alexandre Oliva  <aoliva@redhat.com>
22
23	* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
24	$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
25	version_specific_libs is enabled.
26	* aclocal.m4, configure: Rebuilt.
27
282003-01-23  Phil Edwards  <pme@gcc.gnu.org>
29
30	Bulk documentation merge (copy) from trunk.
31	* docs/doxygen/TODO, docs/doxygen/run_doxygen,
32	docs/doxygen/stdheader.cc, docs/doxygen/style.css,
33	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
34	docs/html/configopts.html, docs/html/debug.html,
35	docs/html/documentation.html, docs/html/explanations.html,
36	docs/html/install.html, docs/html/17_intro/contribute.html,
37	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
38	docs/html/17_intro/porting.html, docs/html/17_intro/porting.texi,
39	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
40	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
41	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
42	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
43	docs/html/22_locale/messages.html, docs/html/24_iterators/howto.html,
44	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
45	docs/html/27_io/howto.html, docs/html/ext/lwg-active.html,
46	docs/html/ext/lwg-defects.html, docs/html/ext/sgiexts.html,
47	docs/html/faq/index.html, docs/html/faq/index.txt:  Merge from trunk.
48
492003-01-23  Petur Runolfsson  <peturr02@ru.is>
50
51	PR libstdc++/9322
52	* include/std/std_streambuf.h
53	(basic_streambuf::basic_streambuf,
54	basic_streambuf::~basic_streambuf,
55	basic_streambuf::getloc, basic_streambuf::imbue):
56	Remove _M_buf_locale_init use.
57	* include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
58	* testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
59	* testsuite/27_io/streambuf_members.cc (test08):  Add.
60	* testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
61
622003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
63
64	* config/linker-map.gnu: Synch with 3_3-branch.
65
662003-01-10  Benjamin Kosnik  <bkoz@redhat.com>
67	    Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
68
69	PR libstdc++/9269
70	* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
71	(basic_filebuf::underflow): Declare.
72	Move definitions.
73
742003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
75
76	PR libstdc++/8707
77	* Makefile.am (distclean-multi): Fix.
78	* Makefile.in: Regenerate.
79
802003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
81
82	* include/bits/locale_facets.h (messages): Move ctor, dtor
83	definitions to..
84	(__timepunct): Same.
85	* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
86	definitions. Conditionalize for GNU systems.
87	* config/locale/generic/messages_members.h (messages): Add dtor, ctor
88	definitions.
89	* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
90	definitions. Conditionalize for GNU systems.
91	* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
92	definitions.
93	* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
94	* src/locale.cc: Define.
95	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
96	Use it.
97	* config/locale/gnu/time_members.h: Use it.
98	* config/locale/gnu/messages_members.h: Use it.
99	* config/linker-map.gnu: Add locale::facets details.	
100	* include/Makefile.am (target_headers_extra): Add time_members.h.
101	* include/Makefile.in: Regenerate.
102	* acinclude.m4: Export CTIME_H.
103	* aclocal.m4: Regenerate.
104	* configure: Regnerate.
105
1062003-01-06  Paolo Carlini  <pcarlini@unitus.it>
107
108	* src/codecvt.cc
109        (codecvt<char, char, mbstate_t>::do_in, do_out):
110        Tweak parameters to avoid unused parameter warnings.
111
1122003-01-06  Paolo Carlini  <pcarlini@unitus.it>
113
114	PR libstdc++/9151
115	* include/bits/locale_facets.cc (num_put::_M_convert_float):
116	Limit __prec to digits10 + 2, not digits10 + 1, taking into
117	account the possibility of %{g,G} conversion specifiers
118	inside _S_format_float.
119	* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
120
1212003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
122
123	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
124	Additionally handle files one level deeper in glob patterns.
125	* testsuite/libstdc++-v3.dg/dg.exp: Likewise.
126	
127	* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
128	* testsuite/27_io/istream_extractor_arith/01.cc,
129	testsuite/27_io/istream_extractor_arith/02.cc,
130	testsuite/27_io/istream_extractor_arith/03.cc,
131	testsuite/27_io/istream_extractor_arith/06.cc,
132	testsuite/27_io/istream_extractor_arith/07.cc,
133	testsuite/27_io/istream_extractor_arith/08.cc,
134	testsuite/27_io/istream_extractor_arith/09.cc,
135	testsuite/27_io/istream_extractor_arith/10.cc,
136	testsuite/27_io/istream_extractor_arith/11.cc,
137	testsuite/27_io/istream_extractor_arith/12.cc,
138	testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
139	* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
140	sparc*-*-solaris2*.
141
1422003-01-05  Paolo Carlini <pcarlini@unitus.it>
143
144	PR libstdc++/9168
145	* src/codecvt.cc
146	(codecvt<char, char, mbstate_t>::do_in, do_out):
147	Implement the resolution of DR19 (TC).
148	* testsuite/22_locale/codecvt_members_char_char.cc
149	(test01): Tweak.
150
1512002-12-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
152
153	* testsuite/23_containers/vector_capacity.cc (test03): Move ...
154	* testsuite/23_containers/vector_resize.cc: ...here as a new file.
155	Pass in -lmalloc for irix6.
156	* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.
157
1582002-12-11  Paolo Carlini  <pcarlini@unitus.it>
159
160	PR libstdc++/8887
161	* config/locale/generic/time_members.cc
162	(__timepunct<char>::_M_initialize_timepunct): Fix typos
163	in _M_date_format and _M_date_era_format string literals.
164
1652002-12-07  Gabriel Dos Reis  <gdr@integrable-solutions.net>
166
167	* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
168
1692002-12-05  Benjamin Kosnik  <bkoz@redhat.com>
170
171	* config/linker-map.gnu: Put _S_force_new into GLIBCPP_3.2.2.
172	* testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
173
1742002-12-05  Benjamin Kosnik  <bkoz@redhat.com>
175            Gabriel Dos Reis  <gdr@integrable-solutions.net>
176
177	PR libstdc++/8230
178	* include/bits/stl_alloc.h: Use builtin_expect for the most
179	obvious limit checks.
180	(__default_alloc_template::allocate): Check for null, throw
181	bad_alloc.
182	* testsuite/20_util/allocator_members.cc (test02): Add.
183	* testsuite/23_containers/vector_capacity.cc (test03): Add.
184
1852002-12-05  Loren J. Rittle  <ljrittle@acm.org>
186	    Brad Spencer  <spencer@infointeractive.com> 
187	    (provided alternate patch and improvements)
188
189	PR libstdc++/8708
190	* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
191	new environment variable which replaces all uses of __USE_MALLOC
192	macro.
193	* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
194	(__mem_interface): Remove all references to old internal typedef.
195	* include/backward/alloc.h (__USE_MALLOC): Remove it and all
196	guarded code.
197	* include/bits/c++config (__USE_MALLOC): Update related error
198	message and comment.
199	* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
200	guarded code.  Update all related comments.
201	(__mem_interface): Unconditionally replace it with __new_alloc.
202	However, leave the typedef around in case anyone used it.
203	(__default_alloc_template<>::_S_force_new): New class static.
204	(__default_alloc_template<>::allocate, deallocate): Add
205	run-time controlled feature similar to what __USE_MALLOC code
206	path had provided.
207	* src/stl-inst.cc (__USE_MALLOC): Remove it and all
208	guarded code.
209	* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
210	Add documentation on GLIBCPP_FORCE_NEW environment variable.
211	* testsuite/ext/allocators.cc: Likewise.
212
2132002-12-05  Paolo Carlini  <pcarlini@unitus.it>
214            Nathan Myers  <ncm@cantrip.org>
215
216	PR libstdc++/8790
217	* src/localename.cc
218	(locale::_Impl::_Impl(const char*, size_t)):
219	Avoid strtok for thread safety.
220
2212002-12-04  Loren J. Rittle  <ljrittle@acm.org>
222
223	PR libstdc++/7445
224	* src/locale.cc (std::locale::classic()): Weaken locking protocol.
225
2262002-12-03  Phil Edwards  <pme@gcc.gnu.org>
227
228	* include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
229	"this->" to call to pbackfail.
230
2312002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
232            Jonathan Lennox  <lennox@cs.columbia.edu>
233
234	* include/bits/streambuf.tcc (__copy_streambufs):
235	Revert previous fix for the interactive half of
236	libstdc++/6745, use _M_buf_size_opt to set dynamically
237	the correct buffer size.
238
2392002-12-02  Jonathan Lennox  <lennox@cs.columbia.edu>
240
241	* include/bits/streambuf.tcc (__copy_streambufs): verify
242	__sbin->gptr() + __bufsize < __sbin->egptr() before using.
243	* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
244	(test05): Use test_buffer_4. Delete unused ostringstream
245	variables.
246
2472002-12-02  Paolo Carlini  <pcarlini@unitus.it>
248
249	PR libstdc++/6745 (continued)
250	* include/bits/streambuf.tcc (__copy_streambufs):
251	Deal with interactive input by using isatty as in the
252	fix for libstdc++/8399.
253
2542002-12-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
255
256	* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
257
2582002-12-02  Paolo Carlini  <pcarlini@unitus.it>
259            Loren J. Rittle <ljrittle@acm.org>
260
261	PR libstdc++/8399
262	* acinclude.m4
263	(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
264	check for unistd.h functions.
265	(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
266	in unistd.h.
267	* configure.in: Call here.
268	* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
269	Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
270	input __in_size = 1 even when sync_with_stdio is false;
271	otherwise fall back to __in_size = 1.
272	* aclocal.m4: Regenerate.
273	* config.h.in: Regenerate.
274	* configure: Regenerate.
275
2762002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
277
278	* acconfig.h (HAVE_DRAND48): Add.
279	(HAVE_GETPAGESIZE): Add.
280	(HAVE_SETENV): Add.	
281	(HAVE_SIGSETJMP): Add.		
282	* config.h.in: Regenerate.
283	* configure: Regenerate.
284
2852002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
286
287        PR libstdc++/8230
288        * include/bits/stl_vector.h (vector::reserve): Throw length_error if
289        requested size is bigger than max_size().
290        * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
291        * testsuite/23_containers/vector_capacity.cc (test02): Add.
292
2932002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
294
295	* configure.in (libtool_VERSION): Update to 5:2:0.
296	* configure: Regenerate.
297	
2982002-11-26  David Edelsohn  <edelsohn@gnu.org>
299
300	* testsuite/abi_check.cc: Remove guards kludge.
301
3022002-11-19  Release Manager
303
304	* GCC 3.2.1 Released.
305
3062002-11-17  Jakub Jelinek  <jakub@redhat.com>
307
308	* config/linker-map.gnu: Export _S_construct even if size_t is
309	unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
310	and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
311
3122002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
313
314	* config/linker-map.gnu: Export all _S_construct.
315	
3162002-11-06  David Edelsohn  <edelsohn@gnu.org>
317
318	PR libstdc++/8362
319	* testsuite/abi_check.cc: Add guards to prevent -mpower ICE.
320
3212002-11-05  Jonathan Wakely  <cow@compsoc.man.ac.uk>
322
323	* include/std/std_sstream.h
324	(basic_stringbuf::str(const __string_type&)):
325	Prefer data() to c_str() thus avoiding assigning the
326	unnecessary NULL-terminator.
327
3282002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
329
330	PR libstdc++/8258
331	* include/bits/istream.tcc (istream::readsome): Don't set eofbit
332	for null buffer.
333	(istream::operator>>(_CharT*)): Use traits_type.
334	(istream::ws): Same.
335	(istream::operator>>(string)): Same.	
336	* testsuite/27_io/istream_unformatted.cc (test11): Add.
337
3382002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
339
340	PR libstdc++/7219
341	* include/bits/ios_base.h (ios_base::streampos): Add.
342	(ios_base::streamoff): Add.
343	* testsuite/27_io/ios_base_type.cc: New.
344
3452002-11-05  Paolo Carlini  <pcarlini@unitus.it>
346
347	PR libstdc++/8466
348	* include/std/std_sstream.h
349	(basic_stringbuf::str(const __string_type&)):
350	Cannot use simple assignment since the COW-nature of v3
351	basic_string is not taken into account in basic_stringbuf.
352	* testsuite/27_io/stringstream_members.cc: Add test04 from PR.
353
3542002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
355
356	* config/linker-map.gnu: Export string operator+.
357	Export __default_alloc_template::_S_force_new.
358	* testsuite/abi_check.cc: Output tweaks.
359
3602002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
361
362        PR libstdc++/8172
363        * src/string-inst.cc: Add instantiation.
364	
3652002-11-04  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
366
367	PR libstdc++/8197
368	* config/link-map.gnu: Export math stubbs.
369
3702002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
371
372	PR libstdc++/8318
373	* include/std/std_iostream.h: Tweak.
374	* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
375	* include/std/std_iomanip.h: Same.
376	* include/bits/stringfwd.h: Same.
377	* include/bits/basic_string.tcc: Same.
378	* include/bits/sstream.tcc: Same.
379	* include/bits/fstream.tcc: Same.
380	* include/bits/basic_ios.tcc: Same.
381	* include/bits/streambuf.tcc: Same.
382	* include/bits/locale_facets.tcc: Same.
383
3842002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
385
386	PR libstdc++/8348
387	* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
388	(istream::seekg): Same.
389	* testsuite/27_io/istream_seeks.cc (test06): New.
390
3912002-11-01  John Carter  <john.carter@tait.co.nz>
392
393	PR libstdc++/7961
394	* include/bits/basic_string.tcc
395	(compare(const _CharT* __s)): Don't access __s past its length.
396
3972002-11-01  Hans-Peter Nilsson  <hp@bitrange.com>
398
399	PR other/3337
400	PR bootstrap/6763
401	PR bootstrap/8122
402	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Use
403	__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
404
4052002-10-29  Paolo Carlini  <pcarlini@unitus.it>
406
407	PR libstdc++/8347
408	* include/bits/basic_string.tcc
409	(string::_S_construct(_InIter, _InIter, const _Alloc&,
410	forward_iterator_tag)): Do not throw logic error if
411	__beg == NULL && __end == __beg.
412	(string::string(const _CharT*, const _Alloc&)): Tweak.
413	* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
414
4152002-10-23  Jakub Jelinek  <jakub@redhat.com>
416
417	* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
418	and decimal_point arguments of find.
419	* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
420
4212002-10-22  Jakub Jelinek  <jakub@redhat.com>
422
423	* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
424	instead of ${top_srcdir}.
425	* Makefile.in: Rebuilt.
426
4272002-10-21  Phil Edwards  <pme@gcc.gnu.org>
428
429	* configure.in:  Use target, not target_alias, when matching triplet
430	patterns.
431	* configure:  Regenerate.
432
4332002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
434
435        * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
436        _M_name_timepunct.
437        (__timepunct::~__timepunct): Deallocate, remove specialization
438        declarations.
439        (messages::messages): Allocate _M_name_messages.
440        (messages::~messages): Deallocate.
441        (messages_byname): Same.
442        * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
443        Remove.
444        * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
445        Remove.
446
447        * docs/html/install.html: Add eqs_MX, en_PH to required locales list.
448  
4492002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
450
451	* src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
452	c_locale_impl.
453	* testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
454	* docs/html/abi.txt: Update.
455
4562002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
457
458	* testsuite/22_locale/static_members.cc (test02): Less provincial.
459
4602002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
461
462	* testsuite/22_locale/static_members.cc (test02): Disable for 
463	systems without named locale support.
464	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
465	running the testsuites in "C" environment.
466	Add new tests.
467	* docs/html/22_locale/locale.html: Update.
468
4692002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
470
471	* testsuite/abi_check.cc (hash<string>): Specialize.
472	Simplify. Check compatible symbol versions.
473	* config/linker-map.gnu: Clarify, explicitly export
474	std::codecvt::c* symbols.
475
476	* testsuite/22_locale/static_members.cc (test02): Avoid null strings.
477
4782002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
479
480	* testsuite/22_locale/static_members.cc (test02): Fix.
481
4822002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
483
484	* acconfig.h (_GLIBCPP_SYMVER): Add.
485	(_GLIBCPP_ASM_SYMVER): Add.
486	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
487	* aclocal.m4: Regenerate.
488	* config.h.in: Regenerate.
489	* configure: Regenerate.
490	* include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
491	hack around m4 issues with quoting '@'.
492	* src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
493	* src/globals.cc (__gnu_cxx): Same.
494	
495	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
496
4972002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
498
499	* config/linker-map.gnu (GLIBCPP_3.2.1): Add.
500	(GLIBCPP_3.2): Don't export locale::_S_*. 
501	* src/ios.cc: Move globals into __gnu_cxx. Make old exported
502	symbols match.
503	* src/locale.cc: Same.
504	* src/localename.cc: Same.	
505
5062002-10-16  Benjamin Kosnik  <bkoz@redhat.com>	
507
508	* src/locale.cc: Fix comments, move ctors together.
509	* testsuite/22_locale/static_members.cc (test03): Add.
510
5112002-10-16  Paolo Carlini  <pcarlini@unitus.it>
512	    Benjamin Kosnik  <bkoz@redhat.com>	
513
514	* include/bits/localefwd.h (class locale): Add static member
515	_S_num_extra_categories, encoding the number of additional
516	categories.
517	Change _S_num_categories to _S_categories_size.
518	(class locale::_Impl): Add _M_c_cats.
519	(class locale::_Impl::_M_names): Change to array of chars.
520	(class locale::_Impl::_M_check_same_name): Use
521	_S_extra_categories_size, tweak.
522	(locale::locale(const locale&, _Facet*)): Ditto.
523    	* src/locale.cc (locale::locale(const char* )): Rewrite to deal
524	with the environment in a POSIX-compliant way while being thread
525	safe.
526	(locale::name()): Update to output POSIX environment strings.
527	* src/localename.cc
528	(locale::_Impl::_Impl(const _Impl&, size_t): Use
529	_S_categories_size_*, tweak.
530	(locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
531	(locale::_Impl::_Impl(const char*, size_t)): Name each category
532	individually.
533	(locale::_Impl::_M_replace_categories): Use strcpy.
534
535	* include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
536	Change default argument to NULL from _S_c_locale.
537	(timepunct::_M_initialize_timepunct): Same.
538	_S_c_locale cleanups.
539	* src/codecvt.c: _S_c_locale simplification.
540	* src/ctype.c: Same.
541	* src/globals.cc: Add fake_name.
542	* src/locale-inst.cc: Remove extra includes.	
543	* src/locale.cc: Remove extra includes.
544	Add _S_extra_categories_size definition.
545	Correct "C" initialization.
546	(locale::facet::facet): Don't initialize _S_c_locale.
547	(locale::facet::_M_remove_reference): Adjust.
548	* src/localename: Use facet_vec, facet_name.
549	(locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
550	facet ref counts to one. Initialize _S_c_locale.
551	(locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
552	counts when installing unilaterally.
553
554	* config/locale/generic/c_locale.cc: Add _S_categories definition.
555	* config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
556	* config/locale/generic/time_members.cc: _S_c_locale cleanup.
557	
558	* config/locale/gnu/c_locale.cc: Add _S_categories definition.
559	(_S_destroy_c_locale): Move checks against _S_c_locale here.
560	* config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
561	* config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
562	calls, _S_c_locale usage.
563	* config/locale/gnu/monetary_members.cc: Same, tweaks.
564	* config/locale/gnu/monetary_members.cc: Same.
565	* config/locale/gnu/time_members.cc: Same.	
566	* config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
567
568	* docs/html/22_locale/locale.html: Add bits about global locales
569	and "C" setlocale.
570
571	* testsuite/22_locale/facet.cc (test02): Add.
572	* testsuite/22_locale/static_members.cc (test02): Add.
573	* testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
574
5752002-10-11  Gabriel Dos Reis  <gdr@integrable-solutions.net>
576
577	* include/std/std_limits.h (__glibcpp_char_digits10): Fix Typo.
578	(__glibcpp_char_digits10): Likewise.
579
5802002-10-10  Jonathan Lennox  <lennox@cs.columbia.edu>
581
582        PR libstdc++/8071, libstdc++/8127, c++/6745
583        * streambuf.tcc (__copy_streambufs): Handle cases where
584        __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
585        * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
586
5872002-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
588
589	* Makefile.am (all-multi): Fix multilib parallel build.
590
5912002-10-01  Phil Edwards  <pme@gcc.gnu.org>
592
593	* Makefile.am (check-abi):  Add @ to rule.
594	* Makefile.in:  Regenerated.
595
5962002-10-01  Phil Edwards  <pme@gcc.gnu.org>
597
598	PR libstdc++/8096
599	* include/bits/stl_deque.h (deque::_M_range_check):  Throw
600	out_of_range, not range_error.
601
6022002-09-28  Paolo Carlini  <pcarlini@unitus.it>
603
604	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
605	Deal correctly with grouped, showbased (oct or hex) zero.
606	* testsuite/22_locale/num_put_members_char.cc: Add test05.
607	* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
608
6092002-09-25  Phil Edwards  <pme@gcc.gnu.org>
610
611	Bulk documentation merge (copy) from trunk.
612	* docs/doxygen/run_doxygen, docs/html/Makefile, docs/html/abi.txt,
613	docs/html/configopts.html, docs/html/documentation.html,
614	docs/html/explanations.html, docs/html/install.html,
615	docs/html/makedoc.awk, docs/html/17_intro/C++STYLE,
616	docs/html/17_intro/RELEASE-NOTES, docs/html/17_intro/contribute.html,
617	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
618	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
619	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
620	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
621	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
622	docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
623	docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
624	docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
625	docs/html/ext/howto.html, docs/html/ext/sgiexts.html,
626	docs/html/faq/index.html, docs/html/faq/index.txt:  Merge from trunk.
627
6282002-09-21  Phil Edwards  <pme@gcc.gnu.org>
629
630	* testsuite/abi_check.cc:  Pull shell fragments out into...
631	* config/abi/extract_symvers:  ...here.  New file.
632	* Makefile.am (check_abi):  Change to match.
633	(new-abi-baseline):  New target.
634	* Makefile.in:  Regenerated.
635
6362002-09-16  Loren J. Rittle  <ljrittle@acm.org>
637
638	libstdc++/7922
639	* include/ext/stl_rope.h (rope<>): Qualify dependent names
640	with `typename'.
641
6422002-09-16  Benjamin Kosnik  <bkoz@redhat.com>
643
644	* include/bits/codecvt.h: Remove __s.
645	* config/locale/gnu/codecvt_members.cc: Remove _M_c_locale_codecvt
646	usage, substitute _S_c_locale.
647
6482002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
649
650	* libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
651	directory.
652	* libmath/Makefile.in: Regenerate.
653	* src/Makefile.am: Tweak comment.
654	* src/Makefile.in: Regenerate.
655
656	* config/locale/gnu/c_locale.h: Remove warnings.
657	Inject __uselocale into __gnu_cxx.
658	* config/locale/generic/c_locale.h: Match.
659
6602002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
661
662	* include/bits/locale_facets.tcc (__convert_from_v): Remove.
663	* config/locale/gnu/c_locale.h (__convert_from_v): Add.
664	* config/locale/generic/c_locale.h (__convert_from_v): Add.	
665
6662002-09-12  Paolo Carlini  <pcarlini@unitus.it>
667
668        * include/bits/locale_facets.tcc (__convert_from_v):
669        Use __uselocale instead of setlocale for glibc 2.3+.
670
6712002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
672
673	* src/Makefile.am (sources): Edit.
674	(target_sources): New.
675	(target_sources_extra): New.
676	* src/Makefile.in: Regenerate.
677	* acinclude.m4: Set CCODECVT_CC. 
678	* aclocal.m4: Regenerate.
679	* configure: Regenerate.
680	* src/locale.cc: Move ctype definitions...
681	* src/ctype.cc: ...here. New file. 
682	* src/locale.cc: Move codecvt definitions...
683	* src/codecvt.cc: ...here. 	
684	* config/generic/codecvt_members.cc: ...and here. 	
685	* config/gnu/codecvt_members.cc: ...and here. 		
686	* include/bits/codecvt.h: Tweak.
687	* include/bits/locale_facets: Tweak.
688
689	* src/bitset.cc: Correct license text.
690	* src/concept-inst.cc: Same.
691	* src/strstream.cc: Same.
692	* src/vterminate.cc: Same.	
693
6942002-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
695
696	* include/bits/locale_facets.tcc (__convert_from_v):
697	Replace strdup with ISO malloc and strcpy.
698
6992002-09-09  Benjamin Kosnik  <bkoz@redhat.com>
700
701	* src/misc-inst.cc: Remove some instantiations.
702	
703	* testsuite/abi_check.cc: Make output results more verbose.
704	
705	* config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
706
7072002-09-07  Jakub Jelinek  <jakub@redhat.com>
708
709	* config/locale/generic/messages_members.cc: Add specialization for
710	messages<wchar_t>.
711	* config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
712
7132002-09-06  Jakub Jelinek  <jakub@redhat.com>
714
715	* configure.target: Use cpu_include_dir="config/cpu/sparc" for all
716	sparc targets.
717	* config/cpu/sparc/bits/atomicity.h: New file.
718	* config/cpu/sparc/sparc32/bits/atomicity.h: Removed.
719	* config/cpu/sparc/sparc64/bits/atomicity.h: Removed.
720
7212002-09-06  Jakub Jelinek  <jakub@redhat.com>
722
723	* config/os/gnu-linux/bits/ctype_noninline.h
724	[_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
725	(ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
726	_S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
727	and return __ctype_b.
728	(ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
729	_GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
730	initialize using __ctype_{b,tolower,toupper}.
731	(ctype<char>::ctype(const mask*, bool, size_t)): If
732	_GLIBCPP_C_LOCALE_GNU, initialize using
733	_S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
734	switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
735
7362002-09-05  Loren J. Rittle  <ljrittle@acm.org>
737
738	Move from mainline.
739	* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
740	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
741	* src/Makefile.in: Regenerate (explicitly with --cygnus option).
742	* testsuite/Makefile.in: Likewise.
743
7442002-09-05  Paolo Carlini  <pcarlini@unitus.it>
745            Roland McGrath  <roland@redhat.com>
746
747	PR libstdc++/7811
748	* src/locale.cc (locale::locale(__s)): Use getenv instead
749	of setenv for the environment locale.
750	* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
751
7522002-09-05  Jakub Jelinek  <jakub@redhat.com>
753
754	* config/abi/ia64-unknown-linux-gnu: Add.
755	* config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
756	* config/abi/alphaev67-unknown-linux-gnu: Add.
757	* config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
758
7592002-09-05  Phil Edwards  <pme@gcc.gnu.org>
760
761	* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
762	Fix spelling in comment.
763	* testsuite/Makefile.in:  Regenerate.
764	* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
765	than 'quote' and 'bslash'.
766
7672002-09-05  Jakub Jelinek  <jakub@redhat.com>
768
769	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
770	Switch to _M_c_locale_ctype around btowc call.
771	(ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
772	Switch to _M_c_locale_ctype around mbsrtowcs call.
773	(ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
774	wctob call.
775	(ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
776	Switch to _M_c_locale_ctype around wcsrtombs call.
777
7782002-09-05  Jakub Jelinek  <jakub@redhat.com>
779
780	* config/locale/gnu/monetary_members.cc
781	(moneypunct<wchar_t, true>::_M_initialize_moneypunct,
782	moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
783	__uselocale instead of setlocale for glibc 2.3.
784
7852002-09-05  Jakub Jelinek  <jakub@redhat.com>
786
787	* config/locale/generic/c++locale_internal.h: New header.
788	* config/locale/gnu/c++locale_internal.h: New header.
789	* config/locale/gnu/c_locale.cc: Include it.
790	* config/locale/gnu/collate_members.cc: Include it.
791	* config/locale/gnu/ctype_members.cc: Include it.
792	* config/locale/gnu/messages_members.cc: Include it.
793	* config/locale/gnu/monetary_members.cc: Include it.
794	* config/locale/gnu/numeric_members.cc: Include it.
795	* config/locale/gnu/time_members.cc: Include it.
796	(_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
797	glibc.
798	(_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
799	C locale.
800	* acinclude.m4: Include string.h when testing strcoll_l.
801	For glibc 2.3 provide __-prefixed prototypes.
802	(CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
803	* aclocal.m4, configure: Rebuilt.
804
8052002-09-05  Benjamin Kosnik  <bkoz@redhat.com>
806
807	* include/bits/locale_facets.h: Add declaration of specialization
808	here.
809	* config/locale/gnu/messages_members.cc: Add specialization for
810	messages<wchar_t>.
811	* config/locale/gnu/messages_members.h: Remove generic definition
812	of do_get.
813
8142002-08-26  Phil Edwards  <pme@gcc.gnu.org>
815
816	* Makefile.am (check-abi):  Specify current directory.
817	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
818	abi_baseline_triplet in baseline_file.
819	* Makefile.in, aclocal.m4, configure:  Regenerate.
820	* configure.target:  Add abi_baseline_triplet with default.
821	* testsuite/abi_check.cc:  More error checking.
822
8232002-08-25  Benjamin Kosnik  <bkoz@redhat.com>
824
825	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
826	GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
827	variables.
828	* aclocal.m4: Regenerate.
829	* testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
830	native compiling.
831	* testsuite/Makefile.in: Regenerate.
832
8332002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
834	    Phil Edwards  <pme@gcc.gnu.org>
835	    Ulrich Drepper  <drepper@redhat.com>
836	
837	* Makefile.am (check-abi): New rule.
838	* Makefile.in: Regenerate.
839	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
840	* aclocal.m4: Regenerate.
841	* configure: Regenerate.
842	* testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
843	(abi_check_SOURCES): Add.
844	* testsuite/Makefile.in: Regenerate.	
845	* testsuite/abi_check.cc: New file.
846	* config/abi: Add.
847	* config/abi/i686-pc-linux-gnu: Add.
848	* config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
849
8502002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
851
852	* configure.in (libtool_VERSION): Update to 5:1:0.
853	* configure: Regenerate.
854
8552002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
856
857	* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
858	_M_buf_size_opt to zero when unbuffering.
859	* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
860	Consistency checks for _M_buf_size_opt.
861
862	Revert PR libstdc++/7445
863	* src/locale.cc (locale::classic): Revert.
864	
865	* docs/html/17_intro/TODO: Add.
866
8672002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
868            Benjamin Kosnik  <bkoz@redhat.com>
869	
870	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
871	not snextc.
872	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.
873
8742002-08-15  Danny Smith  <dannysmith@users.sourceforge.net>
875
876	* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
877	(scan_is): Use this->is.
878	(scan_not): Likewise.
879	
8802002-08-15  Rick Danos  <rdanos@hotmail.com>
881
882	PR libstdc++/7461
883	* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
884	* config/os/newlib/ctype_inline.h (is): Use static_cast.
885
8862002-08-14  Release Manager
887
888	* GCC 3.2 Released.
889
8902002-08-06  Benjamin Kosnik  <bkoz@redhat.com>
891
892	Revert PR libstdc++/6594
893	* src/strstream.cc (strstreambuf): Revert.
894	(strstreambuf::overflow): Same.
895	(strstreambuf::~strstreambuf): Same.	
896	* testsuite/backward/strstream_members.cc (test02): Add.
897
898	* testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
899
9002002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
901	    Jakub Jelinek  <jakub@redhat.com>
902	
903	* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
904	GLIBCPP_3.1 to GLIBCPP_3.2.
905
9062002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
907	    Mark Mitchell  <mark@codesourcery.com>
908
909	PR libstdc++/7442
910	* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
911	Change to __hwm_bit.
912	(__class_type_info): And here.
913
9142002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
915
916	PR libstdc++/7442
917	* libsupc++/cxxabi.h 
918	(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
919	(__base_class_info::__base): Change to __base_type. 2.9.5p6c
920	(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
921	(__vmi_class_type_info::__base_info): Don't make const, of type
922	__base_class_type_info, as per 2.9.5p6c
923	(__pbase_type_info::__qualifier_flags): Change to __flags, as per
924	2.9.5p7.
925	(__pbase_type_info::__qualifier_masks): Change to __masks, as per
926	2.9.5p7.
927	(__pointer_to_member_type_info::__context_class): Change member to
928	__context, as per 2.9.5p9.
929	* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
930	__context.
931	* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
932	__flags.
933	* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
934	__base_type.
935	* libsupc++/tinfo.cc (__do_dyncast): Same.
936	* libsupc++/tinfo.cc (__do_upcast): Same.
937
9382002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
939
940	* docs/html/22_locale/howto.html: Fix.
941
9422002-07-31  Alex Kompel  <shurik@sequoiap.com>
943
944	PR libstdc++/7445
945	* src/locale.cc (locale::classic): Move locks inside !_S_classic
946	block.
947
9482002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
949	    Gabriel Dos Reis  <gdr@nerim.net>
950
951	* include/bits/char_traits.h: Remove generic definitions.
952	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
953	eof, not -2.
954	* include/bits/istream.tcc (istream::readsome): Don't check
955	against eof, instead use constants.
956	(istream::sync): Same.
957	(istream::sentry::sentry): Use eq_int_type.
958	(istream::get): Same.
959	* include/bits/ostream.tcc: Change __pad to 
960	__pad<_CharT, _Traits>::_S_pad. 
961	* include/bits/locale_facets.h: Add __pad_traits generic and
962	ostreambuf_iterator specialization.
963	* include/bits/locale_facets.tcc: Change __pad into struct __pad
964	with a _CharT and _Traits template parameter and _S_pad static
965	member function.
966	* src/locale-inst.cc: Update __pad instantiations.
967	
968	* include/std/std_fstream.h: Declare _M_underflow_common
969	specializations.
970	* src/fstream.cc: New. Add _M_underflow_common specializations.
971	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
972	(filebuf::_M_underflow_common(bool)): Remove generic version, as
973	sys_ungetc and custom int_types don't get along.
974	* include/std/std_streambuf.h: Add _M_pos.
975	* src/Makefile.am (sources): Add fstream.cc.
976	* src/Makefile.in: Regenerate.
977
978	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
979	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
980	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
981	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
982	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
983	* testsuite/27_io/filebuf.cc: ...here.
984	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
985	specialization for both.
986	* testsuite/27_io/streambuf.cc: Add instantiation test,
987	testsuite_hooks include.
988	* testsuite/27_io/istream.cc: Same.
989	* testsuite/27_io/ostream.cc: Same.	
990	* testsuite/27_io/fstream.cc: Same.
991	* testsuite/27_io/stringstream.cc: Same.
992	* testsuite/27_io/filebuf.cc: Same.
993	* testsuite/27_io/stringbuf.cc: Same.
994
9952002-07-26  Phil Edwards  <pme@gcc.gnu.org>
996
997	* libsupc++/new (placement delete):  Remove unused paramater names.
998
9992002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1000
1001	PR libstdc++/7216
1002	* include/std/std_istream.h (basic_iostream): Add typedefs for
1003	char_type, int_type, pos_type, off_type, and traits_type.
1004	* testsuite/27_io/iostream.cc (test01): Add typedef tests.
1005	* testsuite/27_io/istream.cc: Same.
1006	* testsuite/27_io/ostream.cc: Same.
1007	* testsuite/27_io/filebuf.cc: Same.
1008	* testsuite/27_io/stringbuf.cc: Replace content, move to...
1009	* testsuite/27_io/stringbuf_members.cc: ...here.	
1010	* testsuite/27_io/streambuf.cc: Replace content, move to...
1011	* testsuite/27_io/streambuf_members.cc: ...here.	
1012	* testsuite/27_io/stringstream.cc: Replace content, move to...
1013	* testsuite/27_io/stringstream_members.cc: ...here.
1014	* testsuite/27_io/ios.cc: New file.
1015	* testsuite/27_io/fstream.cc: New file.
1016	* testsuite/27_io/ifstream.cc: New file.	
1017	* testsuite/27_io/ofstream.cc: New file.		
1018	* testsuite/27_io/istringstream.cc: New file.	
1019	* testsuite/27_io/ostringstream.cc: New file.	
1020	
10212002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1022
1023	PR libstdc++/7220
1024	* include/bits/istream.tcc (istream::ignore): Don't extract on
1025	zero.
1026	* testsuite/27_io/istream_unformatted.cc (test10): Add.
1027
10282002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1029
1030	PR libstdc++/7222
1031	* src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1032	* testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1033	
10342002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1035
1036	PR libstdc++/7286
1037	* libsupc++/new: Add placement delete.
1038	* testsuite/18_support/new_delete_placement.cc: New.
1039	
10402002-07-07  Paolo Carlini  <pcarlini@unitus.it>
1041
1042	PR libstdc++/7186
1043	* include/bits/stl_deque.h (_Deque_iterator::operator-):
1044	Make non-member, as already happens for the comparison
1045	operators in accord with DR179 (Ready).
1046	* testsuite/23_containers/deque_operators.cc: Add test02.
1047
10482002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1049	    Jack Reeves  <jackw_reeves@hotmail.com>
1050
1051	* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1052	size_t, from int_type.
1053 	(basic_streambuf::_M_buf_size_opt): Same.
1054 	(basic_streambuf::_S_pback_sizex): Same.	
1055	* include/bits/streambuf.tcc: Same.
1056	* include/std/std_streambuf.h (basic_streambuf::snextc): Use
1057	eq_int_type.
1058	(basic_streambuf::uflow): Same.
1059	* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1060	to_char_type.
1061	* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1062	* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1063	eq_int_type.
1064	(basic_streambuf::xsputn): Same.
1065	(__copy_streambufs): Same.
1066
10672002-07-02  Paolo Carlini  <pcarlini@unitus.it>
1068
1069	PR libstdc++/6642
1070	* include/bits/stl_iterator.h
1071	(__normal_iterator::operator-(const __normal_iterator&)):
1072	Make non-member, as already happens for the comparison
1073	operators in accord with DR179 (Ready).
1074	* testsuite/24_iterators/iterator.cc: Add test from the PR.
1075
10762002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
1077
1078	PR libstdc++/6410
1079	* include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1080	char* name parameter.
1081	* config/locale/gnu/monetary_members.cc: Use it.
1082	* config/locale/generic/monetary_members.cc: Same.
1083	* src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1084
10852002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
1086
1087	* configure.in (libtool_VERSION): Bump to 5:0:0.
1088	* configure: Regenerate.
1089
10902002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1091
1092	* testsuite/23_containers/deque_operators.cc (test01):
1093	Fix minor typo in last commit.
1094
10952002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1096
1097	PR libstdc++/6503
1098	* include/bits/stl_deque.h (_Deque_iterator::operator==,
1099	operator!=, operator<, operator>, operator>=, operator<=):
1100	Make non-member functions, to allow comparing const and
1101	non-const iterators in any order.
1102	* testsuite/23_containers/deque_operators.cc: New testfile.
1103
11042002-07-25  Release Manager
1105
1106	* GCC 3.1.1 Released.
1107
11082002-07-20  Phil Edwards  <pme@gcc.gnu.org>
1109
1110	Bulk documentation merge (copy) from trunk.
1111	* docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html,
1112	docs/doxygen/user.cfg.in, docs/html/Makefile,
1113	docs/html/documentation.html, docs/html/17_intro/porting.html,
1114	docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html,
1115	docs/html/ext/howto.html, docs/html/ext/lwg-active.html,
1116	docs/html/ext/lwg-defects.html, docs/html/faq/index.html,
1117	docs/html/faq/index.txt:  Merge from trunk.
1118
11192002-07-16  Andreas Schwab  <schwab@suse.de>
1120
1121	* libsupc++/new (set_new_handler): Declare to not throw any
1122	exceptions.
1123	* libsupc++/new_handler.cc (set_new_handler): Likewise.
1124
11252002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1126
1127	* config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix
1128	print to match vendor <ctype.h>.
1129
11302002-07-03  Steev Wilcox  <steev@paradigmds.com>
1131	 
1132	PR libstdc++/7057
1133	* include/ext/stl_hashtable.h: Fix.
1134	* testsuite/ext/hash_map.cc: New.
1135
11362002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1137
1138        PR libstdc++/7097
1139        * include/c/std_cwchar.h: Fix.
1140
11412002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
1142            Kenny Simpson  <theonetruekenny@yahoo.com>
1143            Phil Edwards  <pme@gcc.gnu.org>
1144
1145	PR libstdc++/3946
1146	* testsuite/20_util/auto_ptr.cc (test08):  New test.
1147	* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
1148	(auto_ptr::operator auto_ptr_ref):  Fix typo.
1149	General reformatting and doxygenating of the whole file.
1150
11512002-07-03  Phil Edwards  <pme@gcc.gnu.org>
1152
1153	PR libstdc++/7173
1154	* acinclude.m4:  Simplify determination of gcc_version, and move
1155	up to GLIBCPP_CONFIGURE.
1156	* configure.in (release_VERSION):  Really remove.
1157	(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
1158	* aclocal.m4, configure:  Regenerate.
1159
11602002-07-02  Phil Edwards  <pme@gcc.gnu.org>
1161
1162	* docs/html/configopts.html, docs/html/install.html:  Tweaks.
1163	* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1164	include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1165	include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
1166
11672002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
1168
1169	* include/c_compatibility: New.
1170	* include/c_compatibility/assert.h: New.
1171	* include/c_compatibility/ctype.h: New.
1172	* include/c_compatibility/errno.h: New.
1173	* include/c_compatibility/float.h: New.
1174	* include/c_compatibility/iso646.h: New.
1175	* include/c_compatibility/limits.h: New.
1176	* include/c_compatibility/locale.h: New.
1177	* include/c_compatibility/math.h: New.
1178	* include/c_compatibility/setjmp.h: New.
1179	* include/c_compatibility/signal.h: New.
1180	* include/c_compatibility/stdarg.h: New.
1181	* include/c_compatibility/stddef.h: New.
1182	* include/c_compatibility/stdio.h: New.
1183	* include/c_compatibility/stdlib.h: New.
1184	* include/c_compatibility/string.h: New.
1185	* include/c_compatibility/time.h: New.
1186	* include/c_compatibility/wchar.h: New.
1187	* include/c_compatibility/wctype.h: New.
1188
1189	* include/c/std_cerrno.h: Get out of the way... define errno.
1190	* include/c/std_cmath.h: Add abs, modf overloads.
1191	Undefine C99 isms. Still not sure how to deal with this sanely.
1192	* include/c/std_csetjmp.h: Tweak.
1193	* include/c/std_cwchar.h: Include cstddef for size_t.
1194
1195	* include/c_std/std_cmath.h: Remove extra function.
1196	
1197	Pendantic std usage in testsuites.	
1198	* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1199	with std.
1200	* testsuite/17_intro/header_cwchar.cc: Tweak.
1201	* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1202	std::setlocale.
1203	* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1204	* testsuite/22_locale/ctype_to_char.cc (test05): Same.
1205	* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1206	* testsuite/22_locale/ctype_is_char.cc (test05): Same.
1207	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1208	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1209	* testsuite/22_locale/time_get_members_char.cc (test08): Same.
1210	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1211	* testsuite/22_locale/time_put_members_char.cc (test04): Same.
1212	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1213	* testsuite/22_locale/num_put_members_char.cc (test04): Same.
1214	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1215	* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1216	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1217	* testsuite/22_locale/num_get_members_char.cc: Same.
1218	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1219	* testsuite/22_locale/money_put_members_char.cc (test07): Same.
1220	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1221	* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1222	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1223	* testsuite/22_locale/money_get_members_char.cc (test08): Same.
1224	* testsuite/22_locale/messages_members_char.cc (test03): Same.
1225	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1226	* testsuite/22_locale/collate_members_char.cc (test04): Same.
1227	* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1228	* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1229	* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1230
12312002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
1232
1233	* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1234	c_sources.
1235
12362002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
1237
1238	* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1239	Use size_type instead of unsigned long.
1240
12412002-06-28  Steve Ellcey  <sje@cup.hp.com>
1242
1243	* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1244	wchar types.
1245	(_S_min_len): Ditto.
1246
12472002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
1248
1249	* include/Makefile.am: Add rules.
1250	* include/Makefile.in: Regenerate.
1251
1252	* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1253	* aclocal.m4: Regenerate.
1254	* configure: Regenerate.
1255	* configure.target (c_model, c_compatibility): Add.
1256	
1257	* libsupc++/Makefile.am (c_sources): New.
1258	(libsupc___la_SOURCES): Add c_sources.
1259	(LTCOMPILE): Remove INCLUDES.
1260	(GCC_INCLUDES): New.
1261	(C_COMPILE): New, like COMPILE but without INCLUDES.
1262	(cxa_demangle.o): Use C_COMPILE.
1263	(dyn-string.o): Use C_COMPILE.	
1264	
1265	* include/c/std_cstdarg.h: Define __need___va_list.  
1266	* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1267	need_NULL, need_offsetof.
1268
12692002-06-28  Benjamin Kosnik  <bkoz@redhat.com>
1270
1271	* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1272	* include/c/std_cwctype.h: Guard.
1273
1274	* libsupc++/eh_alloc.cc: Tweak include order.
1275	* libsupc++/pure.cc: Use cstdio.
1276	* libsupc++/new_op.cc: Remove malloc forward declaration, as
1277	cstdlib brings it in. Use std::malloc.
1278
1279	* src/Makefile.am (sources): Remove cmath.cc.
1280	* src/Makefile.in: Regenerate.
1281	* src/cmath.cc: Remove.
1282
12832002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1284
1285	* configure.in (INTERFACE): Remove.
1286	(release_VERSION): Remove.
1287	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1288	(libstdcxx_interface): Change. Use gcc methods to determine version.
1289	* configure: Regenerate.
1290	* aclocal.m4: Regenerate.
1291
12922002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1293
1294	* acinclude.m4: Fix last checkin.
1295	* aclocal.m4: Regenerate.
1296	* configure: Regenerate.
1297
12982002-06-25  DJ Delorie  <dj@redhat.com>
1299
1300	* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1301	GLIBCPP_TOPREL_CONFIGURE.
1302	* aclocal.m4: Likewise.
1303	* configure.in: Call it before AC_CANONICAL_SYSTEM.
1304	* configure: Regenerate.
1305
13062002-06-20  David Edelsohn  <edelsohn@gnu.org>
1307
1308	* configure.target (CPULIMITSH): Use powerpc directory for rs6000.
1309
13102002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
1311
1312	* configure.in (target_alias): Fix.
1313	* configure: Regenerate.
1314	* aclocal.m4: Regenerate.
1315
13162002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
1317            Benjamin Kosnik  <bkoz@redhat.com>
1318	
1319	* configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1320	under *-qnx6.[12]*.
1321	* configure.in: Add support for *-qnx6.[12]*.
1322	* configure: Regenerate.
1323
1324	* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1325	New directories.  
1326	* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1327	ctype_noninline.h, os_defines.h: New files.
1328
13292002-06-10  Steve Ellcey  <sje@cup.hp.com>
1330
1331	* src/locale-inst.cc (__codecvt_abstract_base):
1332	Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1333	* include/bits/istream.tcc (basic_istream): Ditto.
1334	(ws) Ditto.
1335	(operator>>) Ditto.
1336	* include/bits/ostream.tcc (basic_ostream): Ditto. 
1337	(endl): Ditto.
1338	(ends): Ditto.
1339	(flush): Ditto.
1340	(operator<<): Ditto.
1341
13422002-06-08  Paolo Carlini  <pcarlini@unitus.it>
1343
1344	* testsuite/backwards/strstream_members.cc: New.
1345
13462002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1347
1348	* include/backwards/strstream: Format.
1349	* src/strstream.cc: Format.
1350	
13512002-06-08  Andreas Schwab  <schwab@suse.de>
1352
1353	* src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1354	_M_buf_size and _M_buf_size_opt to the new buffer and size.
1355
13562002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1357
1358	* config/os/generic/bits/ctype_noninline.h: Tweak format.
1359
13602002-06-05  David Edelsohn  <edelsohn@gnu.org>
1361
1362	* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1363	Call external symbol.
1364
13652002-06-05  Paolo Carlini  <pcarlini@unitus.it>
1366
1367	* testsuite/22_locale/money_get_members_char.cc
1368	(test02): Add decimal point to long double constants.
1369	* testsuite/22_locale/money_get_members_wchar_t.cc
1370	(test02): Likewise.
1371	* testsuite/22_locale/money_put_members_char.cc
1372	(test02, test03, test06): Likewise.
1373	* testsuite/22_locale/money_put_members_wchar_t.cc:
1374	(test02, test03, test06): Likewise.
1375	* testsuite/22_locale/num_get_members_char.cc:
1376	(test02, test01): Likewise; suffix long long constants with LL.
1377	* testsuite/22_locale/num_get_members_wchar_t.cc:
1378	(test02, test01): Likewise.
1379	* testsuite/22_locale/num_put_members_char.cc:
1380	(test02, test01): Likewise.
1381	* testsuite/22_locale/num_put_members_wchar_t.cc:
1382	(test02, test01): Likewise.
1383
13842002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1385            Gaby Dos Reis  <gdr@codesourcery.com>
1386
1387	* include/bits/basic_string.tcc
1388	(basic_string::_S_construct(forward_iterator_tag):
1389	Fix typo in null pointer check.
1390	* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1391
13922002-06-03  Marc Espie  <espie@openbsd.org>
1393
1394        * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1395        assembly for old assemblers.                                            
1396
13972002-05-31  Marcus Meissner  <meissner@suse.de>
1398
1399	PR libstdc++/6886
1400	* include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
1401	* testsuite/23_containers/vector_bool.cc (test02):  New test.
1402
14032002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1404
1405	* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1406	to 64 for hppa 64-bit port.
1407	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1408
14092002-05-30  Marc Espie  <espie@openbsd.org>
1410
1411	* configure.in: Always check for sys/types.h.
1412	* configure: Regenerate.
1413
14142002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1415
1416	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1417	Rebuild the wrapper file every time this proc is called.
1418
14192002-05-28  Loren J. Rittle <ljrittle@acm.org>
1420
1421	libstdc++/6641
1422	* include/bits/c++config (__USE_MALLOC): Report case where
1423	the user improperly defined it on the command line.
1424
14252002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1426
1427	* src/misc-inst.cc: Define unnecessary algorithm
1428	instantiations. Break apart instantiations into groupings below.
1429	* src/fstream-inst.cc: New.
1430	* src/io-inst.cc: New. 
1431	* src/istream-inst.cc: New.
1432	* src/ostream-inst.cc: New.
1433	* src/streambuf-inst.cc: New.
1434	* src/sstream-inst.cc: New.
1435	* src/Makefile.am (sources): Add files.
1436	* src/Makefile.in: Regenerate.
1437
1438	* acinclude.m4: Work around automake 1.4-p5 bug, change
1439	AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1440	
14412002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1442
1443	PR libstdc++/6795.
1444	* config/os/solaris/solaris2.6/bits/ctype_noninline.h
1445	(classic_table): Fix.
1446	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1447
14482002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1449
1450	* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1451	_GLIBCPP_USE_WCHAR_T.
1452	* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1453	* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1454	* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1455
14562002-05-26  Carlo Wood  <carlo@alinoe.com>
1457            Paolo Carlini  <pcarlini@unitus.it>
1458
1459	PR libstdc++/6811
1460	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
1461	(__enc_traits::operator=): add missing return statement.
1462
14632002-05-24  Phil Edwards  <pme@gcc.gnu.org>
1464
1465	PR libstdc++/6282
1466	* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
1467	(operator>>):  If nothing was extracted, don't fail in the
1468	zero-length case.
1469	* testsuite/23_containers/bitset_ctor.cc (test02):  New test.
1470
14712002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1472
1473	PR libstdc++/6701
1474	* testsuite/22_locale/ctype_narrow_char.cc: New.
1475	* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.	
1476	* testsuite/22_locale/ctype_widen_char.cc: New.
1477	* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1478	* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1479	* testsuite/22_locale/ctype_is_char.cc: ...this.
1480	* testsuite/22_locale/ctype_to_char.cc: ...and this.
1481	* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1482	* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1483	* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1484
1485	* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1486	
14872002-05-24  Dale Peakall <dale@peakall.net>
1488
1489	PR libstdc++/6701
1490	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1491	* config/locale/generic/ctype_members.cc: Same.
1492	
14932002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1494
1495	PR libstdc++/6750
1496	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1497	for empty string literal.
1498	(ostream::operator<<(const _CharT*)): Same.
1499	(ostream<char>::operator<<(const char*)): Same.
1500	(ostream<char>::operator<<(streambuf*)): Same.
1501	* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1502	* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1503	
15042002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1505
1506	* configure.in: Update local install.html, configopts.html paths.
1507	* configure: Regenerate.
1508
1509	* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Retrieve
1510	current limits before setting.
1511
1512	* acinclude.m4 (enable_symvers): Quote $LD.
1513	* aclocal.m4: Regenerate.
1514	* configure: Likewise.
1515	Fixes PR target/6755.
1516
15172002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
1518
1519	* configure.in (release_VERSION): Update to 3.1.1.
1520	(libtool_VERSION): Update to 4:1:0.
1521	* configure: Regenerate.
1522
15232002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1524
1525	* include/bits/stl_pair.h:  Tweak comment markup.
1526
15272002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1528
1529	* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
1530
15312002-05-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1532
1533	* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1534	* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1535	* Makefile.in, config.h.in, configure: Regenerate.
1536
1537	* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1538	Return __ctype + 1.
1539	(ctype:_M_table): Initialize to classic_table(), not __ctype.
1540
1541	* config/os/irix/irix5.2/bits/os_defines.h
1542	(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1543
15442002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1545            Jakub Jelinek  <jakub@redhat.com>
1546
1547	* testsuite/22_locale/money_get_members_char.cc
1548	(test01, test02, test04): Use the de_DE@euro named locale
1549	instead of de_DE to allow for an uniform behaviour with
1550	both old and Euro-era localedata; tweak some tests.
1551	* testsuite/22_locale/money_get_members_wchar_t.cc
1552	(test01, test02, test04): Likewise.
1553	* testsuite/22_locale/money_put_members_char.cc
1554	(test01, test02, test04): Likewise.
1555	* testsuite/22_locale/money_put_members_wchar_t.cc
1556	(test01, test02, test04): Likewise.
1557
15582002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1559
1560	* testsuite/22_locale/codecvt_members_char_char.cc
1561	(test03): Robustify wrt localedata.
1562	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1563	* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1564	* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1565	* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1566	* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1567	* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1568	* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1569	* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1570	* testsuite/22_locale/money_put_members_char.cc (test07): Likewise. 
1571	* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1572	* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1573	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1574	* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1575	* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise. 
1576	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1577	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1578	* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1579	* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise. 
1580	* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1581	* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise. 
1582	* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1583	* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1584
15852002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1586
1587	Test all the facets for the temporary "C" locale switch issue.
1588	* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1589	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1590	* testsuite/22_locale/collate_members_char.cc: Add test04.
1591	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1592	* testsuite/22_locale/ctype_members_char.cc: Add test05.
1593	* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1594	* testsuite/22_locale/messages_members_char.cc: Add test03.
1595	* testsuite/22_locale/money_get_members_char.cc: Add test08.
1596	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1597	* testsuite/22_locale/money_put_members_char.cc: Add test07. 
1598	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1599	* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1600	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1601	* testsuite/22_locale/num_get_members_char.cc: Add test06.
1602	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 
1603	* testsuite/22_locale/numpunct_members_char.cc: Add test03.
1604	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 
1605	* testsuite/22_locale/time_get_members_char.cc: Add test08.
1606	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 
1607	* testsuite/22_locale/time_put_members_char.cc: Add test04.
1608	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1609
1610	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1611	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1612
16132002-05-19  Benjamin Kosnik  <bkoz@redhat.com>
1614	    Paolo Carlini  <pcarlini@unitus.it>
1615
1616	* testsuite/22_locale/num_put_members_char.cc: Add test04(),
1617	testing for the locale_facets.tcc entry of the previous commit.
1618	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1619
16202002-05-18  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
1621	
1622	* config/locale/generic/c_locale.cc
1623	(__convert_to_v(float, double, long double)):
1624	Fix the temporary switch to the "C" locale, saving and
1625	restoring in the proper way the current locale.
1626	* config/locale/generic/time_members.cc
1627	(__timepunct<char, wchar_t>::_M_put): Likewise.
1628	* config/locale/gnu/messages_members.cc
1629	(messages<char>::do_get): Likewise.
1630	* config/locale/gnu/messages_members.h
1631	(messages<_CharT>::do_get): Likewise.
1632	* config/locale/gnu/time_members.cc
1633	(__timepunct<char, wchar_t>::_M_put): Likewise.
1634	* include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1635
16362002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1637            Nathan Myers  <ncm@cantrip.org>
1638            Philip Martin  <philip@codematters.co.uk>
1639
1640	* include/bits/basic_string.h
1641	(replace(i1, i2, _CharT* k1, _CharT* k2),
1642	replace(i2, i2, const _CharT* k1, const _CharT* k2),
1643	replace(i1, i2, iterator k1, iterator k2,
1644	replace(i1, i2, const_iterator k1, const_iterator k2):
1645	New specializations to optimize for the common cases of
1646	pointers and iterators.
1647	(replace(pos, n1, s, n2)): Tweak.
1648	* include/bits/basic_string.tcc: Tweak comments.
1649	* testsuite/21_strings/replace.cc (test05): New tests.
1650
16512002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1652
1653	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1654	_G_USING_THUNKS.
1655	* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1656	* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1657
16582002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1659
1660	* docs/html/17_intro/RELEASE-NOTES (New): Update.
1661
16622002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1663
1664	PR libstdc++/6518
1665	* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1666	for null case.
1667	(ostream::operator<<(const _CharT*)): Same.
1668	(ostream<char>::operator<<(const char*)): Same.
1669	* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1670
16712002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1672
1673	PR libstdc++/6594
1674	* src/strstream.cc (strstreambuf): Fix leak.
1675
16762002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1677
1678	* testsuite/22_locale/ctype_scan_char.cc: Tweak.
1679	* testsuite/22_locale/ctype_scan_wchar_t.cc: New.	
1680
1681	* docs/html/install.html: Fix.
1682
16832002-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1684
1685	* config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1686	char.
1687
1688	* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1689	Fix typo, use this->is() rather than manually (and perhaps
1690	incorrectly) inlining it.
1691	* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1692	Likewise.
1693	* testsuite/22_locale/ctype_scan_char.cc: New file.
1694
16952002-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1696
1697	* include/bits/fstream.tcc
1698	(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1699	try/catch blocks.
1700	* src/localename.cc (locale::_Impl::_M_install_facet): Same.
1701
1702	* docs/html/install.html: Tweak, add bits about required locales
1703	for the 22_locale tests when using the gnu model.
1704
1705	* testsuite/27_io/istream_sentry.cc: Tweak.
1706
17072002-05-16  Phil Edwards  <pme@gcc.gnu.org>
1708
1709	* docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
1710	* docs/html/faq/index.txt:  Regenerate.
1711
17122002-05-15  Paolo Carlini  <pcarlini@unitus.it>
1713
1714	PR libstdc++/6648
1715	* include/bits/istream.tcc (istream::getline, ignore):
1716	Upon __idelim (__delim) call sbumpc() not snextc().
1717	* testsuite/27_io/narrow_stream_objects.cc:
1718	Add test08 and test09.
1719	
17202002-05-14  Release Manager
1721
1722	* GCC 3.1 Released.
1723
17242002-05-09  Jakub Jelinek  <jakub@redhat.com>
1725
1726	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1727	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1728	LD_LIBRARY_PATH.
1729
17302002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1731
1732	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1733	script entry, and set LD to it when configuring multilibs.
1734	* configure: Rebuilt.
1735
17362002-05-06  Phil Edwards  <pme@gcc.gnu.org>
1737
1738	* docs/html/documentation.html:  Fix broken link.
1739
17402002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
1741
1742	PR libstdc++/6549.
1743	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1744	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1745
17462002-05-02  Phil Edwards  <pme@gcc.gnu.org>
1747
1748	* docs/html/faq/index.html:  Update list in #4.1.
1749	* docs/html/faq/index.txt:  Regenerated.
1750
17512002-05-01  Phil Edwards  <pme@gcc.gnu.org>
1752
1753	* include/std/std_bitset.h:  Fix doxygen comments.
1754	* docs/html/documentation.html:  Minor tweaks for 3.1.
1755	* docs/html/27_io/howto.html:  Likewise.
1756	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
1757	* docs/html/faq/index.html:  Likewise.
1758	* docs/html/faq/index.txt:  Regenerated.
1759
17602002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1761
1762	PR libstdc++/6533
1763	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1764	(istreambuf_iterator::equal): Use it.
1765	(istreambuf_iterator::operator*): Use it.	
1766
17672002-05-01  Paolo Carlini  <pcarlini@unitus.it>
1768	
1769	PR libstdc++/6513
1770	* include/bits/stl_uninitialized.h
1771	(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1772	Fix typo in 2001-07-17 commit: typedef _ValueType to
1773	iterator_traits<_ForwardIter> not <_InputIter>.
1774	* testsuite/23_containers/vector_ctor.cc: Add test04.
1775
17762002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1777
1778	PR libstdc++/6501
1779	* include/c_std/std_cctype.h: Include bits/c++config.h.
1780	* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1781
17822002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1783
1784	* include/ext/stdio_filebuf.h: New file.
1785	* include/ext/enc_filebuf.h: New file.
1786	* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1787	* config/io/basic_file_stdio.cc: Same.
1788	* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1789	Remove _M_unbuf hacks.
1790	(filebuf::_M_destroy_internal_buffer): Same.
1791	(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1792	(filebuf::fd): Remove.
1793	* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1794	(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1795	(filebuf::fd): Remove.
1796	* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1797	filebufs.
1798	(ios_base::_S_ios_destroy): Same.
1799	* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1800	* include/Makefile.am (ext_headers): Add ext_filebuf.h,
1801	stdio_filebuf.h.  * include/Makefile.in: Regenerate.
1802	
18032002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1804
1805	PR libstdc++/6511
1806	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1807	
18082002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1809
1810        PR libstdc++/5820
1811        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1812        Check for eof.
1813        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1814        (istreambuf_iterator::operator++): Invalidate on eof.
1815        (istreambuf_iterator::operator++(int)): Same.
1816        (istreambuf_iterator::operator*): Same.
1817 
18182002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1819
1820        PR libstdc++/5820
1821	* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1822        (__basic_file::sys_ungetc): Take int.
1823        * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1824        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1825        Use sys_getc for unbuffered input.
1826        * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1827        
1828        * src/ios.cc (_M_grow_words): Adjust error checking.
1829        * testsuite/27_io/ios_base_storage.cc: Same.
1830
18312002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1832
1833	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1834	of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1835	LD_LIBRARY64_PATH. 
1836
18372002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1838
1839	* include/ext/stl_hashtable.h: Import __iterator_category
1840
18412002-04-28  Paolo Carlini  <pcarlini@unitus.it>
1842            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1843
1844	* testsuite/ext/hash_set.cc: New testfile.
1845
18462002-04-26  Paolo Carlini  <pcarlini@unitus.it>
1847
1848	* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1849	Fix and tighten __throw_length_error check.
1850	* testsuite/21_strings/replace.cc (test04): New.
1851	* testsuite/21_strings/replace.cc (test02, test03): Tweak.
1852
18532002-04-23  Loren J. Rittle <ljrittle@acm.org>
1854
1855	* include/std/std_fstream.h (basic_filebuf::sync): Hoist
1856	unconditional flush on lower-layer handle to here...
1857	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1858	...from here.  Optimize remaining _M_file.sync() call pattern.
1859	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1860	(test05): Likewise.
1861
18622002-04-23  Jason Merrill  <jason@redhat.com>
1863
1864	* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1865	output-only filebufs.
1866	* include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1867	Likewise.
1868	(basic_filebuf::_M_set_determinate): Likewise.
1869
1870	PR libstdc++/6414
1871	* include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1872	value properly in the trivial case.
1873	* testsuite/27_io/istream_seeks.cc (test04): Make sure that
1874	tellg() returns the right value after a read.
1875
18762002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
1877
1878	* config/cpu/mmix/bits/cpu_limits.h: New file.
1879	* configure.target (CPULIMITSH): Use it.
1880
18812002-04-20  Jason Merrill  <jason@redhat.com>
1882
1883	PR libstdc++/4150
1884	* include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
1885	Move to filebuf.
1886	(basic_streambuf::_M_set_determinate): Likewise.
1887	(basic_streambuf::_M_is_indeterminate): Likewise.
1888	* include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
1889	non-static data member.
1890	(basic_filebuf::_M_underflow_common): New non-static member function.
1891	(basic_filebuf::_M_underflow, _M_uflow): Call it.
1892	(basic_filebuf::sync): Avoid useless seeking.
1893	(basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1894	Set _M_filepos.
1895	(basic_filebuf::_M_set_determinate): Likewise.
1896	(basic_filebuf::_M_is_indeterminate): Likewise.
1897	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1898	back to _M_out_beg if necessary.
1899	(basic_filebuf::seekoff): Likewise.
1900	(basic_filebuf::_M_underflow_common): Generalization of old 
1901	underflow().  Don't seek back to _M_in_beg.
1902	* src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1903	* config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1904	* config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1905	* config/os/mingw32/bits/os_defines.h: Likewise.
1906	* testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
1907	ungetc test.
1908
19092002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
1910
1911	* include/bits/istream.tcc (istream::read): Fix.
1912	* testsuite/27_io/istream_unformatted.cc (main): Add.
1913	
19142002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1915
1916	PR libstdc++/6360
1917	* include/bits/istream.tcc (istream::ignore): Streamline, use
1918	delimiter as is.
1919	* include/bits/streambuf.tcc: Use this->gptr.
1920	* testsuite/27_io/istream_unformatted.cc (test08): Add test.
1921
19222002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1923
1924        * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1925        as type safety is important, especially on solaris.
1926        * include/bits/istream.tcc (istream::read): Clean.
1927        (istream::readsome): Same.
1928        * locale.cc: Wrap lines.
1929
1930        * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1931        * testsuite/27_io/instantiations.cc (test): Add bool variable...
1932        * testsuite/21_strings/capacity.cc: Clean.
1933
19342002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1935
1936        * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1937
19382002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1939
1940        * config/linker-map.gnu (__malloc_alloc_template): Add.
1941        (__default_alloc_template): Same.       
1942        * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1943        template.
1944        (__default_alloc_template): Same.
1945
19462002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1947
1948        * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1949        * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1950        (__malloc_alloc_template): Conditionalize.
1951
1952        * include/bits/istream.tcc: Remove sputbackc calls.
1953
1954        * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1955
19562002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
1957
1958	PR libstdc++/4164
1959	Valgrind fixes.
1960	* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1961	Call close.
1962	(__basic_file::close): Call fflush. Correct return if fclose ok. 
1963	(__basic_file::is_open): Make const.
1964	Change __c_file_type to __c_file.
1965	* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1966	(__basic_file::is_open): Make const.
1967	* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1968	* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1969	(filebuf::_M_unbuf): Add.
1970	(filebuf::_M_file): Change to non-pointer.
1971	(filebuf::_M_allocate_pback_buffer): Remove.
1972	* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1973	(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1974	Change initialization list for _M_file change.
1975	(filebuf::_M_allocate_pback_buffer): Remove.
1976	Change _M_file usage to reflect non-pointer data member.
1977
1978	* config/locale/generic/c_locale.cc
1979	(locale::facet::_S_create_c_locale): Add parameter.
1980	* config/locale/generic/collate_members.cc: Change
1981	_M_compare_helper to _M_compare.
1982	Change _M_transform_helper to _M_transform.
1983	* config/locale/generic/monetary_members.cc: Changeup data types.
1984	Add dtors.
1985	* config/locale/generic/numeric_members.cc: Add dtors.
1986	* config/locale/generic/time_members.cc: Add dtors.
1987	* config/locale/gnu/c_locale.cc: Add parameter.
1988	* config/locale/gnu/collate_members.cc:Change
1989	_M_compare_helper to _M_compare.
1990	Change _M_transform_helper to _M_transform.
1991	* config/locale/gnu/ctype_members.cc: Better error checking.
1992	* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1993	* config/locale/gnu/messages_members.cc: Tweak comment.
1994	* config/locale/gnu/monetary_members.cc: Change data types.
1995	Add dtors.
1996	* config/locale/gnu/numeric_members.cc: Add dtors, better error
1997	checking.
1998	* config/locale/gnu/time_members.cc: Same.
1999	* config/locale/ieee_1003.1-2001/c_locale.cc
2000	(locale::facet::_S_create_c_locale): Add parameter.
2001	* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2002	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2003	bogus ctor.
2004
2005	* include/bits/locale_facets.h (moneypunct): Use string literals.
2006	Don't define dtor.
2007	(numpunct): Same.
2008	(__timepunct): Same.
2009	(locale::_Impl::_M_facets): Change from vector to array.
2010	(locale::_Impl::_M_names): Change from array of strings to array
2011	of string literals.
2012	(locale::facet::_S_create_c_locale): Add parameter.
2013	(locale::locale::_S_num_facets): Move to...
2014	(locale::_Impl::_M_facets_size): Here.
2015	* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2016	changes.
2017	* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2018	(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2019	(locale::_Impl::_Impl(string, size_t)): Change to
2020	(locale::_Impl::_Impl(const char*, size_t)): This.
2021
2022	* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2023	* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2024	(streambuf::_S_pback_size): This.
2025
2026	* src/globals.cc: Add pre-allocations for "C" facets.
2027	* src/locale-inst.cc: Remove vector instantiations.
2028	* src/locale.cc: Remove vector include. Fixups for _M_names,
2029	_M_facets changes.
2030	* src/localename.cc: Same.
2031
2032	* include/bits/stl_vector.h: Fix odd formatting.
2033
2034	* include/bits/basic_string.tcc: Tweak comment.
2035
2036	* libsupc++/new: Make sure parameters are uglified.
2037	* libsupc++/typeinfo: Same.
2038
2039	* testsuite/22_locale/num_get_members_char.cc: Fixup.
2040	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2041	* testsuite/27_io/filebuf_members.cc: Same.
2042	
20432002-04-17  Phil Edwards  <pme@gcc.gnu.org>
2044
2045	* docs/doxygen/doxygroups.cc:  New group on binary searching.
2046	* include/bits/stl_algo.h:  Document binary searches and merges.
2047	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
2048
20492002-04-17  Phil Edwards  <pme@gcc.gnu.org>
2050
2051	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
2052	* docs/doxygen/run_doxygen:  Bump required version.
2053	* docs/doxygen/user.cfg.in:  Revert accidental change.
2054	* docs/html/faq/index.html:  Reindent a block of links.
2055	(4.4):  New note on using dlsym.
2056	* docs/html/faq/index.txt:  Regenerated.
2057
20582002-04-16  Paolo Carlini <pcarlini@unitus.it>
2059
2060	* testsuite/24_iterators/rel_ops.cc: New test.
2061	
20622002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2063
2064	* include/bits/type_traits.h (__normal_iterator): Declare in
2065	__gnu_cxx.  Adjust use at global namespace.
2066	* include/bits/stl_iterator.h (__normal_iterator): Move definition
2067	into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
2068	* include/bits/basic_string.h (basic_string): Adjust use of
2069	__normal_iterator.
2070	* include/bits/stl_vector.h (_Alloc>): Likewise.
2071	* src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2072	* src/locale-inst.cc (__gnu_cxx): Likewise.
2073	* src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2074
20752002-04-15  Steve Ellcey  <sje@cup.hp.com>
2076
2077	* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2078	(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2079	does not define strtoll or strtoull, but does define strtol
2080	and strtoul which are the same since in 64 bit mode
2081	sizeof(long) == sizeof(long long).
2082
20832002-04-12  Phil Edwards  <pme@gcc.gnu.org>
2084
2085	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
2086	trailing spaces, indentation, and macro names.  Make exception
2087	messages more informative.
2088
20892002-04-11  Richard Henderson  <rth@redhat.com>
2090
2091	* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2092	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2093	(basic_ostream<>::operator<<(long long)): Same.
2094
20952002-04-11  Richard Henderson  <rth@redhat.com>
2096
2097	* config/linker-map.gnu: Add __gxx_personality_sj0.
2098
20992002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
2100
2101	libstdc++/1072
2102	* include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2103	pointer to vector.
2104	Remove forward declaration of vector.
2105	Include vector.
2106	* include/bits/locale_facets.tcc: Remove vector include.
2107	(use_locale): Adjust.
2108	(has_locale): Adjust.
2109	* src/locale.cc: Adjust.
2110	* src/localename.cc: Same.
2111	
21122002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
2113	    Richard Henderson  <rth@redhat.com>
2114
2115	* include/bits/sstream.tcc: Clean up bit ops.
2116	* include/bits/fstream.tcc: Same.
2117
21182002-04-09  Jakub Jelinek  <jakub@redhat.com>
2119
2120	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2121	(__num_base::_S_scale_oct): Remove.
2122	* src/locale.cc (__num_base::_S_scale_hex): Remove.
2123	(__num_base::_S_scale_oct): Remove.
2124
21252002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
2126
2127	libstdc++/6124
2128	* testsuite/23_containers/bitset_members.cc: New test.
2129	* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2130	(_S_bit_count): Here.
2131	(_First_one::_S_first_one): Move...
2132	(_S_first_one): Here.
2133	Format.
2134	* src/bitset.cc: Adjust.
2135	* config/linker-map.gnu: Export.
2136	
21372002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
2138
2139	libstdc++/5180
2140	* include/bits/fstream.tcc (filebuf::seekpos): Fix.
2141	* include/std/std_fstream.h: Clean.
2142	* include/bits/ostream.tcc: Remove extraneous variables.
2143	* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2144	open modes and which modes.
2145	(stringbuf::seekpos): Same.
2146	* testsuite/27_io/stringbuf_virtuals.cc: New tests.
2147	
21482002-04-05  Jonathan Wakely <jw@kayari.org>
2149
2150	* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2151	random_shuffle, partition, stable_partition, sort, stable_sort,
2152	partial_sort, partial_sort_copy, nth_element):  Doxygenate.
2153
21542002-04-05  David S. Miller  <davem@redhat.com>
2155
2156	* config/os/gnu-linux/bits/os_defines.h
2157	(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2158
21592002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
2160
2161	libstdc++/3457 
2162	via gawrilow@math.tu-berlin.de
2163	* acinclude.m4 (version_specific_libs): Fix combo usage with
2164	--with-gxx-include-dir.
2165	* aclocal.m4: Regenerate.
2166	* configure: Same.
2167	
21682002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
2169
2170        As per DR 184, libstdc++/3139
2171        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2172        (numeric_limits<bool>::is_iec559): False.
2173        (numeric_limits<bool>::is_modulo): False.       
2174
2175	* testsuite/27_io/ios_init.cc: Add instantiations.
2176
21772002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
2178	
2179	libstdc++/5268
2180	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2181	* testsuite/27_io/ios_init.cc (tests04): Add test.
2182
2183	libstdc++/3983
2184	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2185	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2186	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
2187	* include/bits/istream.tcc: Use _M_fctype, make consistent with
2188	ostream.
2189	* testsuite/27_io/ios_init.cc (tests03): Add test.
2190	
21912002-04-02  Phil Edwards  <pme@gcc.gnu.org>
2192
2193	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
2194	* include/Makefile.in:  Regenerate.
2195
21962002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2197
2198	libstdc++/5542
2199	* acinclude: More extensive checks for msgfmt, --enable-nls.
2200	* aclocal.m4: Regenerate.
2201	* configure: Regenerate.
2202
22032002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2204
2205	* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
2206	* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
2207	* docs/html/18_support/howto.html:  Document the demangler.
2208	* docs/html/17_intro/howto.html:  And link to it.
2209
2210	* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
2211	* docs/doxygen/run_doxygen:  Print user-vs-maintainer.
2212
22132002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2214
2215	* include/bits/c++config:  Fix misplaced leading blanks on first line.
2216
22172002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2218
2219	* config/linker-map.gnu:  Export __verbose_terminate_handler.
2220	* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
2221	Make new LTCOMPILE variable, use it in new special build rules.
2222	* libsupc++/Makefile.in:  Rebuild.
2223	* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
2224	runtime __cxa_demangle.
2225
2226	* docs/html/install.html:  Update prereqs and instructions.
2227	* docs/html/19_diagnostics/howto.html:  Bring naming for
2228	verbose_terminate_handler into line with reality.
2229
22302002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2231	
2232	libstdc++/3129
2233	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2234	(basic_ios::_M_streambuf_state): Move.	
2235	* include/bits/ios_base (ios_base): To here.
2236	* include/bits/ios_base.h (ios_base::_S_local_words): To
2237	_S_local_word_size.
2238	(ios_base::_M_word_array): To _M_local_word.
2239	(ios_base::_M_words_limit): To _M_word_size.	
2240	(ios_base::_M_words): To _M_word.		
2241	Comment.
2242	* include/bits/basic_ios.tcc: Adjust.	
2243	* src/ios.cc (ios_base::_M_grow_words): Tweak.
2244	* testsuite/27_io/ios_base_storage.cc: Add tests.
2245
2246	libstdc++/5207
2247	Kenny Simpson <theonetruekenny@yahoo.com>
2248	* include/bits/ios_base.h: Fix.
2249	
2250	Richard Henderson  <rth@redhat.com>
2251	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2252	last change.
2253
2254	* include/bits/basic_string.h: Tweak formatting.
2255	
22562002-04-01  Paolo Carlini  <pcarlini@unitus.it>
2257
2258	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
2259	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2260	By definition, sizeof(char) == 1.
2261	* include/bits/locale_facets.tcc (money_get::do_get,
2262	money_put::do_put): Ditto.
2263	* testsuite/21_strings/inserters_extractors.cc
2264	(test04): Ditto.
2265
22662002-03-30  Richard Henderson  <rth@redhat.com>
2267
2268	PR c++/3719
2269	* libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2270	data out of the exception struct before calling unexpectedHandler.
2271
22722002-03-28  Roger Sayle  <roger@eyesopen.com>
2273
2274	* include/c_std/std_cmath.h:  To prevent problems overloading
2275	g++ builtins, use the double variants from the global namespace
2276	before defining float and long double variants in std::.
2277
22782002-03-28  Loren J. Rittle <ljrittle@acm.org>
2279
2280	* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2281
22822002-03-28  Paolo Carlini  <pcarlini@unitus.it>
2283
2284	* testsuite/24_iterators/istream_iterator.cc
2285	(test02): New tests.
2286
22872002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2288            Paolo Carlini  <pcarlini@unitus.it>
2289
2290	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2291	(test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2292	fix i_lit_base e_lit_base arrays, making them independent
2293	from the endianness of the platform; tweak UCS4 to UCS-4BE.
2294
22952002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2296
2297	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2298	allocate at least a byte.
2299
2300	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
2301	debugger-friendly.
2302	* testsuite/27_io/streambuf.cc (test07): Fix.
2303	(test06): Enable.
2304
23052002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2306
2307	Bulk documentation merge (copy) from trunk.
2308	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc,
2309	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
2310	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
2311	docs/html/Makefile, docs/html/17_intro/howto.html,
2312	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html:
2313	Merge from trunk.
2314
23152002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2316
2317	* include/bits/stl_algo.h:  Remove @maint and @endmaint.
2318	* include/bits/stl_alloc.h:  Likewise.
2319	* include/bits/stl_construct.h:  Likewise.
2320	* include/bits/stl_deque.h:  Likewise.
2321	* include/bits/stl_iterator_base_types.h:  Likewise.
2322	* include/bits/stl_list.h:  Likewise.
2323	* include/bits/stl_relops.h:  Likewise.
2324	* include/bits/stl_tempbuf.h:  Likewise.
2325	* include/bits/stl_vector.h:  Likewise.
2326	* include/std/std_memory.h:  Likewise.
2327
2328	* include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
2329	* include/bits/stl_list.h:  Likewise.
2330	* include/bits/stl_vector.h:  Likewise.
2331
23322002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2333
2334	* include/c/: Guard with _CPP_.
2335	* include/c_std/: Same.
2336	* include/Makefile.am: Fixup install, link routines for null
2337	c_base_headers_extra scenarios.
2338	* include/Makefile.in: Regerate.
2339
23402002-03-25  Paolo Carlini <pcarlini@unitus.it>
2341            Richard Henderson  <rth@redhat.com>
2342
2343	* testsuite/22_locale/codecvt_members_unicode_char.cc
2344	(test01, test02): make sure that the i_lit_base array
2345	is sufficiently aligned.
2346
23472002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2348
2349        * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2350        _ctype_.
2351
23522002-03-25  Paolo Carlini  <pcarlini@unitus.it>
2353
2354	* testsuite/22_locale/collate_byname.cc
2355	(test01): compare the result of collate::compare with
2356	that of collate::transform + string::compare, not with
2357	that of collate::transform + collate::compare; values
2358	returned by collate::compare are normalized, therefore
2359	test against +-1.
2360
23612002-03-25  Jakub Jelinek  <jakub@redhat.com>
2362
2363	PR target/5676
2364	* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions
2365	explicitly.
2366	* aclocal.m4: Rebuilt.
2367	* configure: Rebuilt.
2368	* configure.target (mcore-*-pe*): Add -frtti -fno-exceptions
2369	by default to c++ flags.
2370
23712002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2372            Jakub Jelinek  <jakub@redhat.com>
2373
2374	* config/locale/gnu/messages_members.h: Correct conditional.
2375	* config/locale/gnu/messages_members.cc: Same.
2376	* config/locale/gnu/time_members.cc: Same.
2377
23782002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2379            Paolo Carlini  <pcarlini@unitus.it>
2380
2381	* testsuite/22_locale/codecvt_members_unicode_char.cc
2382	(test01, test02): Fix i_lit_base arrays, making them
2383	independent from the endianness of the platform.
2384
23852002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2386
2387	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2388	signbit and __signbit directly.
2389	* aclocal.m4: Regenerate.
2390	* configure: Regenerate.
2391	* config.h.in: Regenerate.
2392	* libmath/Makefile.am: Simplify.
2393	* libmath/Makefile.in: Regenerate.
2394	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2395
2396	* include/Makefile.am: Clean up handling of extra "C" header files.
2397	Add hooks for "C" compatibility headers.
2398	* include/Makefile.in: Regenerate.
2399
2400	* include/c/*: Formatting tweaks, cleanups.
2401	* include/c_std/*: Same.
2402
24032002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2404
2405	* config/locale/gnu/messages_members.h: Add __uselocale bits.
2406	* config/locale/gnu/messages_members.cc: Same.
2407	* config/locale/gnu/time_members.cc: Same.
2408
24092002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2410
2411	* src/vterminate.cc: Format, -fno-exceptions cleanup.
2412
24132002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2414
2415	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2416	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2417	* aclocal.m4: Regenerate.
2418	* configure: Likewise.
2419
24202002-03-19  Paolo Carlini  <pcarlini@unitus.it>
2421            Ulrich Drepper  <drepper@redhat.com>
2422
2423	* src/locale-inst.cc (__convert_from_v): Add an additional
2424	__size parameter in the declarations.
2425	* include/bits/locale_facets.tcc
2426	(__convert_from_v): When available (that is,
2427	_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2428	(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2429	being defined or not, call and use __convert_from_v in the
2430	appropriate way.
2431	(num_put::_M_convert_int): Same here.
2432	(money_put::do_put(long double)): Same here.
2433
24342002-03-19  Phil Edwards  <pme@gcc.gnu.org>
2435
2436	* docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
2437	* docs/html/faq/index.txt:  Regenerate.
2438
24392002-03-19  Steve Ellcey  <sje@cup.hp.com>
2440
2441	* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2442	GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2443	--enable-libunwind-exceptions is set.
2444	* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2445	macro to check for libunwind.
2446	* configure: Regenerate.
2447	* src/Makefile.am (libstdc___la_LDFLAGS): Add
2448	LIBUNWIND_FLAG to libstdc link line.
2449	* src/Makefile.in: Regenerate.
2450
24512002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2452
2453	* docs/html/faq/index.html: Add OS X workaround.
2454	* docs/html/17_intro/TODO: Update.
2455
24562002-03-18  Paolo Carlini  <pcarlini@unitus.it>
2457
2458	* include/bits/locale_facets.tcc
2459	(money_put::do_put(long double)): Fix dimensioning of
2460	temporary buffers to avoid risk of overruns.
2461	(money_put::do_put(string)): Same for the buffer used to
2462	add the grouping chars.
2463	* testsuite/22_locale/money_put_members_char.cc: Add test06.
2464	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2465
2466	* include/bits/locale_facets.tcc
2467	(collate::do_transform): Simplify.
2468
24692002-03-18  Phil Edwards  <pme@gcc.gnu.org>
2470
2471	* acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
2472	* configure.in:  Add comments pointing the way for autoconf 2.5x.
2473	* aclocal.m4, config.h.in, configure:  Regenerate.
2474
24752002-03-18  Philipp Thomas  <pthomas@suse.de>
2476
2477	* include/backward/hash_map.h: hash, hashtable, hash_map and
2478	hash_multimap are in namespace __gnu_cxx.
2479	include/backward/hash_set.h: hash, hashtable, hash_set and
2480	hash_multiset are in namespace __gnu_cxx.
2481	include/backward/hashtable.h: hash and hashtable are in
2482	namespace __gnu_cxx.
2483	include/backward/rope.h: char_producer, sequence_buffer,
2484	rope, crope and wrope are in namespace __gnu_cxx.
2485	include/backward/slist.h: slist is in namespace __gnu_cxx.
2486	* testsuite/backward/header_hash_map_h.cc
2487	testsuite/backward/header_hash_set_h.cc
2488	testsuite/backward/header_hashtable_h.cc
2489	testsuite/backward/header_rope_h.cc
2490	testsuite/backward/header_slist_h.cc
2491	testsuite/backward/header_tempbuf_h.cc: New tests for
2492	checking that we're using the correct namespace.
2493
24942002-03-17  Jason Merrill  <jason@redhat.com>
2495
2496	PR c++/4381
2497	* libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2498	(check_exception_spec): Call it.  Take the thrown pointer.
2499	(__cxa_call_unexpected): Pass it.
2500	(PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
2501
25022002-03-15  Anthony Green  <green@redhat.com>
2503
2504	* configure.in: Remove useless is_mingw32.
2505	* configure: Rebuilt.
2506
25072002-03-15  Paolo Carlini  <pcarlini@unitus.it>
2508
2509	* testsuite/22_locale/collate_members_char.cc
2510	(test01): compare the result of collate::compare with
2511	that of collate::transform + string::compare, not with
2512	that of collate::transform + collate::compare.
2513	(test01): values returned by collate::compare are
2514	normalized, therefore test against +-1.
2515	* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2516
25172002-03-12  Loren Rittle  <ljrittle@acm.org>
2518
2519	reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2520	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2521
25222002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2523            Per Liboriussen  <liborius@stofanet.dk>
2524
2525	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2526	unsigned char.
2527	* config/os/gnu-linux/bits/ctype_inline.h: Same.
2528
2529	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2530
2531	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2532	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2533
2534	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2535	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2536
2537	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2538	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2539
2540	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2541
25422002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2543
2544	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
2545	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
2546	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2547	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2548	that memory limits are in place.
2549	(test03): Add tests.
2550
25512002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2552
2553	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2554	* aclocal.m4: Regenerate.
2555	* config.h.in: Regenerate.
2556	* configure: Regenerate.
2557	* include/c_std/std_cwctype.h: Guard.
2558
25592002-03-11  Chris Demetriou  <cgd@broadcom.com>
2560
2561	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2562	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2563	* aclocal.m4: Regenerate.
2564	* configure: Regenerate.
2565
25662002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2567
2568	* include/bits/stl_bvector.h: Fix warning.
2569
25702002-03-11  Richard Henderson  <rth@redhat.com>
2571
2572	* include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
2573
25742002-03-11  Paolo Carlini  <pcarlini@unitus.it>
2575
2576	* include/bits/locale_facets.tcc (collate::do_transform):
2577	Rewrite to fix problems with long transformed strings.
2578
2579	* include/bits/locale_facets.tcc (time_put::do_put):
2580	Consider sizeof(char_type) in allocating the buffer.
2581
25822002-03-10  Anthony Green  <green@redhat.com>
2583
2584	* configure.in: Support cross builds to mingw32 target.
2585	* configure: Rebuilt.
2586
25872002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2588
2589	* c_locale_generic.cc: Move to...
2590	* generic/c_locale.cc
2591	* c_locale_generic.h: Move to...
2592	* generic/c_locale.h
2593	* codecvt_specializations_generic.h: Move to...
2594	* generic/codecvt_specializations.h
2595	* collate_members_generic.cc: Move to...
2596	* generic/collate_members.cc
2597	* ctype_members_generic.cc: Move to...
2598	* generic/ctype_members.cc
2599	* messages_members_generic.cc: Move to...
2600	* generic/messages_members.cc
2601	* messages_members_generic.h: Move to...
2602	* generic/messages_members.h
2603	* moneypunct_members_generic.cc: Move to...
2604	* generic/monetary_members.cc
2605	* numpunct_members_generic.cc: Move to...
2606	* generic/numeric_members.cc
2607	* time_members_generic.cc: Move to...
2608	* generic/time_members.cc
2609	* c_locale_gnu.cc: Move to...
2610	* gnu/c_locale.cc
2611	* c_locale_gnu.h: Move to...
2612	* gnu/c_locale.h
2613	* collate_members_gnu.cc: Move to...
2614	* gnu/collate_members.cc
2615	* ctype_members_gnu.cc: Move to...
2616	* gnu/ctype_members.cc
2617	* messages_members_gnu.cc: Move to...
2618	* gnu/messages_members.cc
2619	* messages_members_gnu.h: Move to...
2620	* gnu/messages_members.h
2621	* moneypunct_members_gnu.cc: Move to...
2622	* gnu/monetary_members.cc
2623	* numpunct_members_gnu.cc: Move to...
2624	* gnu/numeric_members.cc
2625	* time_members_gnu.cc: Move to...
2626	* gnu/time_members.cc
2627	* c_locale_ieee_1003.1-200x.cc: Move to...
2628	* ieee_1003.1-2001/c_locale.cc
2629	* c_locale_ieee_1003.1-200x.h: Move to...
2630	* ieee_1003.1-2001/c_locale.h
2631	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
2632	* ieee_1003.1-2001/codecvt_specializations.h
2633	* messages_members_ieee_1003.1-200x.cc: Move to...
2634	* ieee_1003.1-2001/messages_members.cc
2635	* messages_members_ieee_1003.1-200x.h: Move to...
2636	* ieee_1003.1-2001/messages_members.h
2637
2638	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2639	* aclocal.m4: Regenerate.
2640	* configure: Regenerate.
2641	* src/Makefile.am (sources): Change to monetary and numeric.
2642	* src/Makefile.in: Regenerate.
2643	* docs/html/configopts.html: Update to ieee_1003.1-2001.
2644
26452002-03-08  scott snyder  <snyder@fnal.gov>
2646
2647	libstdc++/5875
2648	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
2649	Allow one more digit of precision.
2650	* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2651	write a double and read back in the same value.
2652
26532002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2654
2655	* include/std/std_limits.h: Move static const data members out of
2656	generic template, into base class __numeric_limits_base.
2657	* src/limits.cc: Add definitions.
2658	* config/linker-map.gnu: Add __numeric_limits_base.
2659	* testsuite/18_support/numeric_limits.cc: Declare test in scope.
2660
26612002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2662
2663	* include/bits/stl_alloc.h: Add extern implicit allocator
2664	instantiations.
2665	* include/bits/basic_string.tcc: Tweak.
2666	* include/bits/loqcale_facets.tcc: Remove default args. Add
2667	has_facet, use_facet extern instantiations.
2668	* src/stl-inst.cc: Add explicit instantiation.
2669	* src/locale-inst.cc: Clean. Remove locale member template
2670	instantiations.
2671
2672	* testsuite/22_locale/operators.cc (test02): Enable.
2673
26742002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
2675	    Stephen M. Webb  <stephen.webb@bregmasoft.com>
2676
2677	* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2678	(_S_rb_tree_black): Make enum.
2679	Clean. Format.
2680	* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2681	* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2682	(__stl_threshold): _M_threshold, enum.
2683	* src/stl-inst.cc: Same.
2684	* config/linker-map.gnu: Remove.
2685
2686	* testsuite/23_containers/vector_bool.cc: New.
2687
26882002-03-08  Phil Edwards  <pme@gcc.gnu.org>
2689
2690	* include/bits/basic_string.h (basic_string::_S_construct):  Fix
2691	names in declaration.
2692	(basic_string::compare):  These are no longer optional.
2693	* include/bits/ostream.tcc:  Tweak closing brace placement.
2694	* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
2695	* include/std/std_sstream.h:  Fix typo in comment.
2696	* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
2697	* src/locale.cc:  Likewise.
2698
26992002-03-08  Phil Edwards  <pme@gcc.gnu.org>
2700
2701	PR libstdc++/5734
2702	* include/bits/stl_vector.h (vector::push_back()):  Guard with
2703	_GLIBCPP_DEPRECATED.
2704
27052002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2706
2707	* docs/html/17_intro/RELEASE-NOTES: Fix usage.
2708	* README (libmath): Make clear.
2709
27102002-03-05  Jakub Jelinek  <jakub@redhat.com>
2711
2712	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2713	script globbing in ld.
2714	* aclocal.m4: Rebuilt.
2715	* configure: Rebuilt.
2716
27172002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2718
2719	* docs/html/17_intro/RELEASE-NOTES: Update.
2720	* README: Format subdirectories.
2721
27222002-03-05  Paolo Carlini  <pcarlini@unitus.it>
2723
2724	libstdc++/5816
2725	* include/bits/locale_facets.tcc
2726	(num_get::_M_extract_float): Fix the parsing of __dec, since
2727	the standard prescribes that if no grouping characters are
2728	seen, no grouping check is applied.
2729	* testsuite/22_locale/num_get_members_char.cc: Add test05
2730	distilled from the PR.
2731	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2732
27332002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2734
2735	* docs/html/17_intro/porting-howto.xml: Refer to
2736	http://www.oasis-open.org for docbookx.dtd.
2737	* docs/html/17_intro/porting-howto.html: Regenerated.
2738
27392002-03-03  Phil Edwards  <pme@gcc.gnu.org>
2740
2741        PR libstdc++/2955
2742	* include/std/std_sstream.h:  Remove trailing spaces.
2743	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
2744	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
2745
27462002-03-03  Paolo Carlini  <pcarlini@unitus.it>
2747
2748	* testsuite/22_locale/num_get_members_char.cc (test04):
2749	Use a named locale expecting grouping (de_DE).
2750	* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2751	Ditto.
2752	* testsuite/27_io/ios_manip_basefield.cc (test01):
2753	Extend coverage, uniform treatment of hexs and octs.
2754
27552002-03-01  Paolo Carlini  <pcarlini@unitus.it>
2756
2757	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
2758	Admit grouping for octals and hexadecimals too.
2759	* testsuite/22_locale/num_get_members_char.cc: Add test04.
2760	(test01): Tweak "." -> "," in void* test.
2761	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2762
2763	* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2764	* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2765
2766	* testsuite/27_io/ios_manip_basefield.cc (test01):
2767	Fix for 64 bit machines.
2768
27692002-02-28  Richard Henderson  <rth@redhat.com>
2770
2771	* config/linker-map.gnu: Export operator new with unsigned long,
2772	and with std::nothrow_t.  Likewise operator delete.
2773
27742002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2775
2776	libstdc++/3983
2777	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2778	Adjust comment.
2779	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2780	(basic_ios::_M_fill_init): New.
2781	(basic_ios::fill()): Delay dealing with _M_fill.
2782	Adjust comment.
2783	* ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2784	(ios_base::_M_call_callbacks): Adjust.
2785	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2786
27872002-02-28  Loren Rittle  <ljrittle@acm.org>
2788
2789	* include/Makefile.am (thread_target_headers): Unconditionally
2790	stage and install gthr-posix.h.
2791	(${target_builddir}/gthr-posix.h): New rule cloned off
2792	${target_builddir}/gthr-default.h.
2793	(${target_builddir}/gthr-default.h): Support chained inclusion
2794	of gthr support headers.
2795	* include/Makefile.in: Rebuilt.
2796
27972002-02-26  Paolo Carlini  <pcarlini@unitus.it>
2798
2799	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
2800	Group all the integral types, not only decs.
2801	* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2802	tests, add a few more.
2803
28042002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
2805
2806	* src/ios.cc (ios_base::~ios_base): Tweak.
2807	(ios_base::_M_call_callbacks): Deal with null __p.
2808	(ios_base::ios_base): Set _M_callbacks.
2809	* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2810	* testsuite/27_io/ios_init.cc (test02): Fix.
2811
2812	* mkcheck.in (static_fail): Failed links go to output file.
2813
28142002-02-25  Phil Edwards  <pme@gcc.gnu.org>
2815
2816	* docs/html/faq/index.html:  Update.
2817	* docs/html/faq/index.txt:  Regenerate.
2818
28192002-02-22  Phil Edwards  <pme@gcc.gnu.org>
2820
2821	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
2822	* aclocal.m4:  Regenerate.
2823	* docs/html/configopts.html:  Document --enable-symvers.
2824	* config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
2825
28262002-02-22  Philipp Thomas  <pthomas@suse.de>
2827
2828        * include/backward/tempbuf.h: get_temporary_buffer and
2829        return_temporary_buffer are in namespace std, not in __gnu_cxx.
2830
28312002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
2832
2833	* configure.in (target_alias): Default to yes.
2834	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2835	libgcc to default case.
2836
28372002-02-20  Phil Edwards  <pme@gcc.gnu.org>
2838
2839	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
2840	(GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
2841	* configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
2842	* aclocal.m4:  Regenerate.
2843	* configure:  Regenerate.
2844	* config/linker-map.dummy:  New file.  Contains nothing useful.
2845
28462002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2847
2848	* testsuite/22_locale/money_put_members_char.cc: Fix.
2849	* testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2850
2851	* testsuite/27_io/standard_manipulators.cc: New file.
2852
2853	* testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2854	* testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2855
28562002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
2857
2858	* config/os/mingw32/bits/ctype_noninline.h
2859	(ctype<char>::ctype): Remove default args from parm list.
2860	* config/os/djgpp/bits/ctype_noninline.h: Same.
2861
28622002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2863
2864	* include/std/std_iomanip.h: Inline, tweaks.
2865	* config/linker-map.gnu: Remove hacks.
2866
2867	* testsuite/21_strings/capacity.cc: Add explicit instantiations.
2868	* testsuite/27_io/ios_init.cc: Same.
2869	* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2870	* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2871
28722002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2873
2874	* config/linker-map.gnu: Export global vtable, typeinfo, guard
2875	variable, and thunk info as per CXXABI docs.
2876
28772002-02-19  Loren Rittle <ljrittle@acm.org>
2878
2879	* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2880	* include/Makefile.in: Rebuilt.
2881
28822002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2883
2884	* testsuite/22_locale/collate_byname.cc (test01): Replace size4
2885          with size3 for the string collations of str5.
2886
28872002-02-18  Paolo Carlini  <pcarlini@unitus.it>
2888
2889	libstdc++/5708
2890	* include/bits/locale_facets.tcc (money_put::do_put):
2891	For the space field use __fill instead of ' ', uniformly.
2892	* testsuite/22_locale/money_put_members_char.cc:
2893	Add test05 distilled from PR.
2894	(test01-02-03): Trim some '*' to ' '.
2895	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2896
28972002-02-18  Loren Rittle <ljrittle@acm.org>
2898
2899	libstdc++/5697
2900	* include/Makefile.am (thread_builddir): Remove (map all
2901	existing uses to target_builddir).
2902	(thread_headers): Rename to...
2903	(thread_target_headers): ...this.
2904	(stamp-thread): Remove.
2905	(stamp-target): Correctly state the position as built.
2906	Update all dependencies to match the new reality.  Remove all
2907	dependency calculations on directories.
2908	* include/Makefile.in: Rebuilt.
2909
29102002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
2911
2912	* include/bits/locale_facets.tcc: Add pragma GCC system_header.
2913	* include/bits/fstream.tcc: Same.
2914	* include/bits/sstream.tcc: Same.
2915	* include/bits/ostream.tcc: Same.
2916	* include/bits/istream.tcc: Same.
2917	* include/bits/streambuf.tcc: Same.
2918	* include/bits/basic_ios.tcc: Same.
2919	* include/bits/basic_string.tcc: Same.
2920
29212002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2922
2923	* include/std/std_iosfwd.h: Don't guard typedefs with
2924	_GLIBCPP_USE_WCHAR_T
2925	* include/bits/stringfwd.h: Same.
2926
29272002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2928
2929	* src/locale.cc (moneypunct_byname): Remove definitions.
2930	* include/std/std_streambuf.h (streambuf::operator=): Return.
2931
29322002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2933
2934	Tune for size.
2935	* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2936	explicit instantiation.
2937	(string::_Rep::_S_max_size): Same.
2938	* include/bits/basic_string.tcc: Add extern explicit
2939	instantiations for string, wstring.
2940	* include/bits/basic_ios.tcc: Add extern explicit instantiations
2941	for ios, wios.
2942	* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2943	* include/bits/istream.tcc: Same, for istream, wistream.
2944	* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2945	wiostream.
2946	* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2947	istringstream, wistringstream, ostringstream, wostringstream,
2948	stringstream, wstringstream.
2949	* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2950	wifstream, ofstream, wofstream, fstream, wfstream.
2951	* src/misc-inst.cc: Correct comments.
2952	Add iomanip instantiations for wide streams.
2953	* include/std/std_iomanip.h: Same.
2954	* include/bits/locale_facets.tcc: Same.
2955
2956	* include/std/std_streambuf.h: Correct
2957	_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2958	* include/std/std_sstream.h: Same.
2959	* include/std/std_ostream.h: Same.
2960	* include/std/std_istream.h: Same.
2961	* include/std/std_fstream.h: Same.
2962
2963	* include/std/std_streambuf.h: Add definitions for private copy
2964	ctor and assignment operator.
2965	* include/std/std_istream.h: Remove declared but undefined copy
2966	ctor and assignment operator. This is taken care of in ios_base,
2967	so adding it in the derived class as well is superfluous.
2968	* include/std/std_ostream.h: Same.
2969
2970	* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2971	* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2972
29732002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2974
2975	* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2976	Add typeinfo bits. Smooth.
2977	* aclocal.m4: Regenerate.
2978	* configure: Same.
2979	* src/Makefile.in: Same.
2980
29812001-02-14  Joel Sherrill  <joel@OARcorp.com>
2982
2983	* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2984	which do not have a CAS instruction.
2985
29862002-02-14  Phil Edwards  <pme@gcc.gnu.org>
2987
2988	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
2989	* configure.in:  Call it.
2990	* config/linker-map.gnu:  New file, initial incomplete revision.
2991	* src/Makefile.am:  Optionally pass version script to the linker.
2992	* aclocal.m4:  Regenerate.
2993	* configure:  Regenerate.
2994	* src/Makefile.in:  Regenerate.
2995
29962002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2997
2998	* src/localename.cc: Remove stdexcept include.
2999	* src/locale-inst.cc: Same.
3000	* src/locale.cc: Same.
3001	* src/functexcept.cc: Remove string includes.
3002	* include/std/std_bitset.h: Remove stdexcept include.
3003	* testsuite/23_containers/bitset_members.cc: Add stdexcept.
3004	* testsuite/23_containers/bitset_ctor.cc: Same.
3005
30062002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
3007
3008	* include/bits/stl_algo (__stl_threshold): Declare external.
3009	(__stl_chunk_size): Same.
3010	* include/bits/stl_bvector.h (__WORD_BIT): Same.
3011	* include/bits/stl_tree.h (_S_rb_tree_red): Same.
3012	(_S_rb_tree_black): Same.
3013	* src/stl-inst.cc (__stl_threshold): Define.
3014	(__stl_chunk_size): Same.
3015	(__WORD_BIT): Same.
3016	(_S_rb_tree_red): Same.
3017	(_S_rb_tree_black): Same.
3018
3019	* config/io/basic_file_libio.h (__basic_file): Add declarations.
3020	* include/bits/basic_file.h: Remove.
3021	* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3022	Declare generic types, specialization.
3023        * config/io/basic_file_stdio.cc: Definitions.
3024	* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3025	Declare generic types.
3026	* include/Makefile.am (bits_headers): Remove basic_file.h.
3027	(extra_target_headers): Change basic_file_model.h to basic_file.h.
3028	(stamp-target): Same.
3029
3030	* include/bits/stl_alloc.h: Tweaks.
3031	* include/bits/localefwd.h: Same.
3032
30332002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
3034
3035	* include/bits/locale_facets.tcc (collate::do_hash): Fix.
3036	* testsuite/22_locale/collate_members_char.cc (test03): New test.
3037	* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3038
30392002-02-10  Phil Edwards  <pme@gcc.gnu.org>
3040
3041	* include/bits/stl_algo.h (transform (both signatures), generate_n):
3042	Use __typeof__ in concept checks.
3043
30442002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
3045
3046	* include/bits/stl_algo.h (__median, for_each, find, find_if,
3047	adjacent_find, count, count_if, search, search_n, swap_ranges,
3048	transform, replace, replace_if, replace_copy, replace_copy_if,
3049	generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3050	unique, unique_copy, reverse, reverse_copy):  Doxygenate.
3051
30522002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
3053
3054	* include/bits/locale_facets.h
3055	(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3056	(__timepunct<_CharT>::_M_initialize_timepunct): Same.
3057	(__timepunct<_CharT>::_M_put_helper): Same.
3058	(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3059
3060	* include/bits/fstream.tcc (filebuf::underflow): Remove
3061	__codecvt_type typedef.
3062	(filebuf::_M_convert_to_external): Same.
3063
30642002-02-08  Phil Edwards  <pme@gcc.gnu.org>
3065
3066	* docs/doxygen/TODO:  Update.
3067	* docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
3068	* docs/doxygen/mainpage.html:  Add TODO list link.
3069	* docs/doxygen/user.cfg.in:  Add @doctodo hook.
3070	* docs/doxygen/tables.html:  New file, emoty structure only.
3071
3072	* include/bits/stl_iterator.h:  Doxygenate just about everything.
3073	* include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
3074	* include/bits/stl_iterator_base_types.h:  Add notes.
3075
30762002-02-07  Stephan Buys  <sbproxy@icon.co.za>
3077
3078	* include/bits/stl_map.h:  Tweak doxygen markup.
3079	* include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
3080	* include/bits/stl_vector.h:  Likewise.
3081
30822002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
3083
3084	libstdc++/5286
3085	libstdc++/3860
3086	* include/std/std_fstream.h (filebuf::__file_type): Change to
3087	__basic_file<char>.
3088	(filebuf::_M_convert_to_external): Declare.
3089	* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3090	codecvt bits for wide streams.
3091	(filebuf::_M_really_overflow): Use it.
3092	(filebuf::underflow): Use codecvt.
3093	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3094	(codecvt<__enc_traits>::do_out): Deal with partial.
3095	(codecvt<__enc_traits>::do_encoding): Return something useful.
3096	* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3097	wchar_t.
3098	* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3099	Change expected encoding output.
3100	(test02): Same.
3101	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3102	(test02): Same.
3103
31042002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
3105            Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
3106
3107	* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3108	(basic_ios::widen): Same.
3109
31102002-02-07  Paolo Carlini  <pcarlini@unitus.it>
3111
3112	* testsuite/22_locale/money_get_members_char.cc:
3113	Add comment, tidy up.
3114	(test01): more "en_HK" tests (without showbase).
3115	* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3116
31172002-02-06  Loren Rittle <ljrittle@acm.org>
3118
3119	* config/locale/c_locale_generic.cc: Do not trust
3120	_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3121	set by configure.
3122
31232002-02-06  Loren Rittle <ljrittle@acm.org>
3124
3125	* acinclude.m4: Add C++ linkage check for strtof.
3126	* aclocal.m4: Rebuilt.
3127	* config.h.in: Rebuilt.
3128	* configure: Rebuilt.
3129	* config/locale/c_locale_generic.cc: Conditionally include
3130	<ieeefp.h>.  Improve handling and error checking of float
3131	and long double input for non-C99 configurations.
3132
31332002-02-06  Paolo Carlini  <pcarlini@unitus.it>
3134
3135	* include/bits/locale_facets.tcc (money_get::do_get(string)):
3136	In case money_base::symbol deal properly with multi-char sign
3137	for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3138	* testsuite/22_locale/money_get_members_char.cc: Add test07.
3139	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3140
31412002-02-05  Paolo Carlini  <pcarlini@unitus.it>
3142
3143	* include/bits/locale_facets.tcc (money_get::do_get(string)):
3144	First construct a tentative returned string, then, only if the
3145	parsing succeeds, copy it into the string passed by reference.
3146	* testsuite/22_locale/money_get_members_char.cc: Add test06.
3147	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3148
31492002-02-04  Phil Edwards  <pme@gcc.gnu.org>
3150
3151	* docs/doxygen/TODO:  Impl-defined behavior now documented...
3152	* docs/html/17_intro/howto.html:  ...here.
3153	* docs/doxygen/mainpage.doxy:  Remove, rename...
3154	* docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
3155	* docs/doxygen/style.css:  Add small text.
3156	* docs/doxygen/run_doxygen:  Adjust for new mainpage.
3157	* docs/doxygen/user.cfg.in:  Likewise.
3158
31592002-02-04  Stephan Buys  <sbproxy@icon.co.za>
3160
3161	* include/bits/stl_map.h:  Initial doxygen markup.
3162	* include/std/std_fstream.h:  Initial doxygen markup.
3163
31642002-02-04  Paolo Carlini  <pcarlini@unitus.it>
3165
3166	libstdc++/5579
3167	* include/bits/locale_facets.tcc (money_get::do_get(string)):
3168	Deal correctly with !(__io.flags() & ios_base::showbase)
3169	for case money_base::symbol.
3170	* testsuite/22_locale/money_get_members_char.cc: Add test05.
3171	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3172
31732002-02-02  Paolo Carlini  <pcarlini@unitus.it>
3174
3175	* testsuite/22_locale/operators.cc
3176	(gnu_collate::do_compare()): Add return statement to
3177	suppress "no return statement" warning.
3178
31792002-02-01  Paolo Carlini  <pcarlini@unitus.it>
3180
3181	* testsuite/27_io/ostream_manip.cc: Enable test02.
3182
31832002-02-01  Phil Edwards  <pme@gcc.gnu.org>
3184
3185	* docs/html/documentation.html:  Update for 3.0.96.
3186	* docs/html/faq/index.html:  Update for 3.0.96.
3187	* docs/html/faq/index.txt:  Regenerated.
3188	* docs/doxygen/TODO:  Update notes.
3189	* docs/html/17_intro/howto.html:  Initial impl-specific listing.
3190
31912002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
3192
3193	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3194	Initialize all data members in copy ctor. Make ctors explicit.
3195	(__enc_traits::__enc_traits()): Default ctor does nothing.
3196	(__enc_traits::_M_init): Guard against multiple iconv_opens.
3197	* include/std/std_sstream.h (basic_stringbuf): Make data members
3198	protected.
3199	* include/std/std_fstream.h (basic_filebuf): Same.
3200	* include/std/std_streambuf.h: Tweak.
3201	* include/bits/streambuf.tcc: Same.
3202	* include/bits/sstream.tcc: Same.
3203	* include/bits/fstream.tcc: Same.
3204
32052002-01-31  Loren Rittle <ljrittle@acm.org>
3206
3207	* testsuite/22_locale/codecvt_members_char_char.cc: Do not
3208	allow NULL argument to be passed to setenv().
3209	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3210	* testsuite/22_locale/collate_members_char.cc: Likewise.
3211	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3212	* testsuite/22_locale/ctype_members_char.cc: Likewise.
3213	* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3214	* testsuite/22_locale/messages_members_char.cc: Likewise.
3215	* testsuite/22_locale/money_get_members_char.cc: Likewise.
3216	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3217	* testsuite/22_locale/money_put_members_char.cc: Likewise.
3218	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3219	* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3220	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3221	* testsuite/22_locale/num_get_members_char.cc: Likewise.
3222	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3223	* testsuite/22_locale/num_put_members_char.cc: Likewise.
3224	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3225	* testsuite/22_locale/numpunct_members_char.cc: Likewise.
3226	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3227	* testsuite/22_locale/time_get_members_char.cc: Likewise.
3228	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3229	* testsuite/22_locale/time_put_members_char.cc: Likewise.
3230	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3231
32322002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
3233
3234	* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3235
3236	* ChangeLog-2001: Fix spelling errors...
3237	* docs/html/17_intro/RELEASE-NOTES: Update.
3238	* docs/html/17_intro/TODO: Update.
3239	* README (file): Update.
3240
32412002-01-30  Loren Rittle <ljrittle@acm.org>
3242
3243	* config/locale/c_locale_generic.cc: Check errno for ERANGE
3244	instead of non-zero to aid portability.
3245
32462002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3247
3248	* docs/html/22_locale/messages.html: Fix example code.
3249
32502002-01-30  Richard Henderson  <rth@redhat.com>
3251
3252	* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3253	out from test03 and templatize.
3254	(test03): Use it.
3255
32562002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3257
3258	* config/locale/numpunct_members_gnu.cc
3259	(numpunct<char, wchar_t>::_M_initialize_numpunct()):
3260	Fix initialization of _M_grouping for locales which have
3261	_M_thousands_sep == '\0'(L'\0', respectively).
3262	* testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3263
32642002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3265
3266	* testsuite/27_io/ostream_inserter_arith.cc (test03):
3267	Better fix for 32/64 bit architectures, avoiding the
3268	implicit assumption that CHAR_BIT == 8.
3269
32702002-01-28  Phil Edwards  <pme@gcc.gnu.org>
3271
3272	* Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
3273	* Makefile.in:  Regenerate.
3274
3275	* docs/doxygen/run_doxygen:  Update, mostly for man pages.
3276	* docs/doxygen/Intro.3:  Update.
3277	* docs/doxygen/TODO:  Update.
3278	* docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
3279	* docs/doxygen/mainpage.doxy:  Update.
3280	* docs/doxygen/user.cfg.in:  Update for header rename.  Also
3281	regenerate comments and variables with 1.2.12.
3282	* docs/doxygen/maint.cfg.in:  Remove file.
3283
3284	* include/bits/stl_relops.h:  Doxygenate.
3285	* include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
3286
3287	* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3288	include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3289	include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3290	include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3291	include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3292	include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3293	include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3294	include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3295	include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3296	include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3297	include/ext/hash_set, include/ext/iterator, include/ext/memory,
3298	include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3299	include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3300	include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3301	include/std/std_algorithm.h, include/std/std_bitset.h,
3302	include/std/std_complex.h, include/std/std_deque.h,
3303	include/std/std_fstream.h, include/std/std_functional.h,
3304	include/std/std_iomanip.h, include/std/std_ios.h,
3305	include/std/std_iosfwd.h, include/std/std_iostream.h,
3306	include/std/std_istream.h, include/std/std_iterator.h,
3307	include/std/std_limits.h, include/std/std_list.h,
3308	include/std/std_locale.h, include/std/std_map.h,
3309	include/std/std_memory.h, include/std/std_numeric.h,
3310	include/std/std_ostream.h, include/std/std_queue.h,
3311	include/std/std_set.h, include/std/std_sstream.h,
3312	include/std/std_stack.h, include/std/std_stdexcept.h,
3313	include/std/std_streambuf.h, include/std/std_string.h,
3314	include/std/std_utility.h, include/std/std_valarray.h,
3315	include/std/std_vector.h:  Add/correct @file doxygen hook.
3316
3317	* include/ext/memory:  Doxygenate most of rest of file.
3318	* libsupc++/exception:  Doxygen output formatting.
3319	* libsupc++/new:  Say which header it is.
3320
3321	* testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
3322	* docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
3323	* docs/html/23_containers/howto.html:  Describe O(n) list::size().
3324	* docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
3325
33262002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3327            Charles Leggett <CGLeggett@lbl.gov>
3328
3329	* testsuite/27_io/filebuf_members.cc (test_05): Add test.
3330
33312002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3332
3333	* testsuite/27_io/ostream_inserter_arith.cc (test03):
3334	Fix to deal correctly with both 32 bit and 64 bit architectures
3335
33362002-01-25  Loren Rittle <ljrittle@acm.org>
3337
3338	* testsuite/thread/pthread1.cc: Use one condition variable
3339	per predicate instead of tricky use of one condition variable.
3340
33412002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3342
3343	* include/bits/fstream.tcc (filebuf::close()): Fix close for input
3344	streams.
3345	(filebuf::_M_really_overflow): Match indeterminate and sync calls.
3346	* testsuite/27_io/filebuf.cc: Compile only.
3347	* testsuite/27_io/filebuf_members.cc: Move tests to here.
3348	* testsuite/27_io/filebuf_virtuals.cc: And here.
3349	Revert sungetc, sync changes for expected values.
3350	* testsuite/27_io/filebuf-*: Move to...
3351	* testsuite/27_io/filebuf_virtuals-*: ...here.
3352	* testsuite/27_io/istream.cc: Compile only, activate.
3353	* testsuite/27_io/ostream.cc: Same.
3354	* testsuite/27_io/iostream.cc: New.
3355	* testsuite/27_io/iostream_members.cc: New.
3356
33572002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
3358
3359	* testsuite/thread/pthread1.cc: Enable on cygwin.
3360	* testsuite/thread/pthread2.cc: Likewise.
3361	* testsuite/thread/pthread3.cc: Likewise.
3362	* testsuite/thread/pthread4.cc: Likewise.
3363	* testsuite/thread/pthread5.cc: Likewise.
3364	* testsuite/thread/pthread6.cc: Likewise.
3365
33662002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3367
3368	* testsuite/27_io/ostream_inserter_char.cc (test07): New.
3369
33702002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3371
3372	* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3373	const, tweak.
3374	(basic_ios::fill(char_type)): Use fill().
3375	* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3376	(basic_ios::narrow): Same.
3377	(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3378	if they are invalid.
3379	(basic_ios::init): Comment.
3380	* testsuite/27_io/ios_init.cc (test02): New.
3381
33822002-01-24  Phil Edwards  <pme@gcc.gnu.org>
3383
3384	* include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
3385	* include/bits/stl_algo.h:  Include stl_tempbuf.h.
3386	* include/ext/memory:  Do not include stl_tempbuf.h.
3387	(temporary_buffer):  Add doxygen hook.
3388	(__get_temporary_buffer, get_temporary_buffer,
3389	return_temporary_buffer):  Move back to std:: header...
3390	* include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
3391	* include/ext/rope:  Do not include stl_tempbuf.h.
3392	* include/ext/stl_hashtable.h:  Likewise.
3393	* include/std/std_algorithm.h:  Likewise.
3394	* testsuite/20_util/temporary_buffer.cc:  New file.
3395
33962002-01-24  andrew@andypo.net
3397	    (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
3398
3399	libstdc++/5432
3400	* include/bits/ios_base.h: Use _Atomic_word for reference counts.
3401	* include/bits/localefwd.h: Likewise.
3402	Also use for std::locale::id::_S_highwater.
3403	* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3404	* src/locale.cc: Support new usage of _Atomic_word.
3405	(std::locale::classic): Guard entire function against reentry.
3406	* src/localename.cc: Support new usage of _Atomic_word.
3407
34082002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
3409
3410	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3411	_GLIBCPP_HAVE_SETENV.
3412	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3413	* testsuite/22_locale/collate_members_char.cc (test02): Same.
3414	* testsuite/22_locale/ctype_members_char.cc (test03): Same.
3415	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3416	* testsuite/22_locale/messages_members_char.cc (test02): Same.
3417	* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3418	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3419	* testsuite/22_locale/money_put_members_char.cc (test04): Same.
3420	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3421	* testsuite/22_locale/num_get_members_char.cc (test03): Same.
3422	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3423	* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3424	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3425	* testsuite/22_locale/time_get_members_char.cc (test07): Same.
3426	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3427	* testsuite/22_locale/time_put_members_char.cc (test03): Same.
3428	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3429	* testsuite/22_locale/num_put_members_char.cc (test03): Same.
3430	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3431	* aclocal.m4: Regenerate.
3432	* configure: Regenerate.
3433	* config.h.in: Regenerate.
3434
34352002-01-23  Loren Rittle <ljrittle@acm.org>
3436
3437	* testsuite/thread/pthread1.cc: New test.
3438	* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3439	* testsuite/thread/pthread3.cc: Likewise.
3440	* testsuite/thread/pthread4.cc: New test adapted from
3441	http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3442	* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3443	* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3444
34452002-01-23  Richard Henderson  <rth@redhat.com>
3446
3447	PR libstdc++/5198
3448	* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3449	CAS on the cpu variants that support it.  Add versions that use
3450	TAS and that disable interrupts.
3451	(__atomic_add): Use __exchange_and_add to guarantee atomicity.
3452
34532002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
3454
3455	* include/bits/locale_facets.tcc: Remove old comments.
3456
34572002-01-23  Andreas Tobler  <toa@pop.agri.ch>
3458
3459	* include/bits/locale_facets.tcc (__convert_to_v): Change template
3460	parameter to _Tv.
3461	(__convert_from_v): Same.
3462
34632002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3464
3465	* include/bits/locale_facets.h (num_get::_M_extract_int): Change
3466	prototype.
3467	* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3468	__max_digits checks, adjust arguments.
3469	(num_get::do_get(*)): Changeup.
3470
34712002-01-23  Loren Rittle <ljrittle@acm.org>
3472
3473        * config/locale/c_locale_generic.cc: Fix typename usage.
3474
34752002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3476
3477	* config/locale/c_locale_generic.cc: Fix.
3478
34792002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3480
3481	* docs/html/22_locale/messages.html: Remove angle brackets.
3482	* docs/html/17_intro/TODO: Add.
3483
34842002-01-22  Paolo Carlini  <pcarlini@unitus.it>
3485
3486	* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3487	* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3488	* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3489	* testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3490
34912002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3492
3493	Audit for LANG independence.
3494	* include/bits/localefwd.h: Tweaks.
3495	* include/bits/locale_facets.tcc (money_get::do_get(long double)):
3496	Use __convert_to_v.
3497	(time_get::do_get_year): Same.
3498	(__convert_from_v): Add.
3499	(num_put::_M_convert_float): Use.
3500	(num_put::_M_convert_int): Same.
3501	(money_put::do_put): Same.
3502
3503	* src/locale-inst.cc: Add instantiations for __convert_from_v.
3504	* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3505	* config/locale/time_members_generic.cc:
3506	* config/locale/messages_members_gnu.cc: Same.
3507	* config/locale/messages_members_gnu.h: Same.
3508
3509	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3510	* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3511	* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3512	* testsuite/22_locale/collate_members_char.cc (test02): New.
3513	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3514	* testsuite/22_locale/ctype_members_char.cc (test03): New.
3515	* testsuite/22_locale/messages_members_char.cc (test02): New.
3516	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3517	* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3518	* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3519	* testsuite/22_locale/money_get_members_char.cc (test04): New.
3520	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3521	* testsuite/22_locale/money_put_members_char.cc (test04): New.
3522	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3523	* testsuite/22_locale/numpunct_members_char.cc (test02): New.
3524	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3525	* testsuite/22_locale/time_put_members_char.cc (test03): New.
3526	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3527	* testsuite/22_locale/time_get_members_char.cc (test07): New.
3528	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3529	* testsuite/22_locale/num_get_members_char.cc (test03): New.
3530	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3531	* testsuite/22_locale/num_put_members_char.cc (test03): New.
3532
3533	* testsuite/22_locale/time_get_members_char.cc: Fixups for global
3534	locale issues.
3535	* testsuite/22_locale/time_get_members_char.cc: Same.
3536
35372002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3538
3539	libstdc++/5280
3540	* include/bits/localefwd.h: Tweak comments.
3541	* include/bits/locale_facets.h (__convert_to_v): Add.
3542	* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3543	(num_get::do_get(float)): Same.
3544	(num_get::do_get(long double)): Same.
3545	(num_get::do_get(bool)): Same.
3546	(num_get::do_get(long)): Same.
3547	(num_get::do_get(long long)): Same.
3548	(num_get::do_get(unsigned int)): Same.
3549	(num_get::do_get(unsigned short)): Same.
3550	(num_get::do_get(unsigned long)): Same.
3551	(num_get::do_get(unsigned long long)): Same.
3552	* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3553	* config/locale/c_locale_generic.cc: Same.
3554
35552002-01-22  Loren Rittle <ljrittle@acm.org>
3556
3557	* include/Makefile.am (c_base_builddir): Remove redundant slash.
3558	(std_builddir): Likewise.
3559	(std_headers_rename): Fix cut-n-paste typo.
3560	(install-data-local): Concat path per element instead of once to
3561	first element of list.
3562	* include/Makefile.in: Rebuilt.
3563
35642002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3565
3566	* config/os/aix/bits/ctype_noninline.h: Fix formatting.
3567	* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3568	* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3569
35702002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3571
3572	* include/bits/locale_facets.h (ctype<char>::classic_table):
3573	Remove definition.
3574	(ctype<char>::_S_ctable): Remove.
3575	* config/os/gnu-linux/bits/ctype_noninline.h
3576	(ctype<char>::_S_table): Remove definition.
3577	(ctype<char>::classic_table): Define.
3578	(ctype<char>::ctype): Replace _S_ctable with classic_table().
3579	* config/os/aix/bits/ctype_noninline.h: Same.
3580	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3581	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3582	* config/os/djgpp/bits/ctype_noninline.h: Same.
3583	* config/os/generic/bits/ctype_noninline.h: Same.
3584	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
3585	* config/os/hpux/bits/ctype_noninline.h: Same.
3586	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3587	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3588	* config/os/mingw32/bits/ctype_noninline.h: Same.
3589	* config/os/newlib/bits/ctype_noninline.h: Same.
3590	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3591	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3592	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3593
35942002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
3595
3596	* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3597	of _pctype. Use to define _S_ctable.  Add definition for alternate
3598	ctor.  Initialise _M_ctable to _S_ctable in ctors.
3599	(do_toupper, do_tolower): Use inline code appropriate for C-locale
3600	rather than ::toupper, ::tolower.
3601
36022002-01-18  Loren Rittle <ljrittle@acm.org>
3603
3604	* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3605	Add specialization for FreeBSD systems only to avoid losing test
3606	only due to extra precision unmentioned in system headers.
3607
36082002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
3609
3610	* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3611
36122002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
3613
3614	* testsuite/testsuite_hooks.h: Fix comment typo.  Memory
3615	limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3616
36172002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3618
3619	* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3620
36212002-01-17  David Edelsohn  <edelsohn@gnu.org>
3622
3623	* configure.target: Define OPT_LDFLAGS for AIX case.
3624
36252002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3626
3627	* include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3628	__glibcpp_double_has_quiet_NaN): Correct mispelling.
3629
36302002-01-17  Andreas Tobler  <toa@pop.agri.ch>
3631
3632	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3633
36342002-01-16  David Edelsohn  <dje@watson.ibm.com>
3635
3636	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3637	SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
3638	* aclocal.m4: Regenerate.
3639	* configure: Regenerate.
3640
36412002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3642
3643	* include/Makefile.am (c_base_headers_rename): New.
3644	(c_base_headers_extra): New.
3645	(stamp-c_base): Modify.
3646	(install-data-local): Use both.
3647	* include/Makefile.in: Regenerate.
3648	* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3649	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3650	cstdio ctime cwctype]: Move to..
3651	* include/c/std_*: Here.
3652	* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3653	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3654	cstdio ctime cwctype]: Move to..
3655	* include/c_std/std_*: Here.
3656
3657	Alexandre Oliva  <aoliva@redhat.com>
3658	* include/Makefile.am (.PRECIOUS): Add rule.
3659	* include/Makefile.in: Regenerate.
3660
36612002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3662            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3663
3664	* include/bits/stl_iterator.h (reverse_iterator::_M_current):
3665	Deuglify, should be current.
3666	(back_insert_iterator::_M_container): Deuglify, should be container.
3667	(front_insert_iterator::_M_container): Same.
3668	(insert_iterator::_M_container): Same.
3669	* testsuite/24_iterators/reverse_iterator.cc: Add check.
3670	* testsuite/24_iterators/back_insert_iterator.cc: Add check.
3671	* testsuite/24_iterators/front_insert_iterator.cc: Same.
3672	* testsuite/24_iterators/insert_iterator.cc: Same.
3673
36742002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3675
3676	* include/bits/locale_facets.h (ctype<char>::classic_table): Make
3677	static.
3678	(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3679	* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3680	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3681	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3682	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3683	* config/os/newlib/bits/ctype_noninline.h: Same.
3684	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3685	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3686	* config/os/hpux/bits/ctype_noninline.h: Same.
3687	* config/os/djgpp/bits/ctype_noninline.h: Same.
3688	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3689	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3690	* config/os/aix/bits/ctype_noninline.h: Same.
3691
3692	Testcase by Dietmar K�hl via Peter Schmid
3693	* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3694	classic_table().
3695
36962002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3697
3698	* libmath/signbitl.c: Copyright years as list, not range.
3699	* libmath/Makefile.am: Same.
3700	* libmath/Makefie.in: Regenerate.
3701	* libmath/signbit.c: Same.
3702	* libmath/nan.c: Same.
3703	* libmath/copysignf.c: Same.
3704	* libmath/signbitf.c: Same.
3705	* testsuite/22_locale/money_get_members_char.cc: Same.
3706	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3707	* testsuite/22_locale/money_put_members_char.cc: Same.
3708	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3709	* testsuite/22_locale/time_get_members_char.cc: Same.
3710	* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3711	* testsuite/22_locale/time_put_members_char.cc: Same.
3712	* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3713	* testsuite/21_strings/nonmember.cc: Same.
3714	* testsuite/21_strings/compare.cc: Same.
3715	* testsuite/27_io/stringstream.cc: Same.
3716	* testsuite/27_io/stringbuf.cc: Same.
3717	* testsuite/27_io/filebuf.cc: Same.
3718	* testsuite/27_io/ios_manip_basefield.cc: Same.
3719	* testsuite/27_io/ios_manip_fmtflags.cc: Same.
3720	* include/bits/cpp_type_traits.h: Same.
3721	* include/bits/generic_shadow.h: Same.
3722	* include/bits/gslice_array.h: Same.
3723	* include/bits/gslice.h: Same.
3724	* include/bits/indirect_array.h: Same.
3725	* include/bits/slice_array.h: Same.
3726	* include/bits/sstream.tcc: Same.
3727	* include/bits/streambuf_iterator.h: Same.
3728	* include/bits/valarray_array.tcc: Same.
3729	* include/bits/valarray_meta.h: Same.
3730	* include/bits/valarray_array.h: Same.
3731	* config/os/mingw32/bits/ctype_noninline.h: Same.
3732	* config/os/mingw32/bits/ctype_base.h: Same.
3733	* config/os/hpux/bits/ctype_noninline.h: Same.
3734	* config/os/hpux/bits/ctype_base.h: Same.
3735	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
3736	* config/os/gnu-linux/bits/ctype_base.h: Same.
3737	* config/os/generic/bits/ctype_noninline.h: Same.
3738	* config/os/generic/bits/ctype_base.h: Same.
3739
3740	* libsupc++/tinfo.h: Tweaks.
3741
37422002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3743
3744	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3745	* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3746	* testsuite/22_locale/ctype_members_char.cc: Tweak.
3747
37482002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3749
3750	* include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3751	(num_put::do_put(void*)): Fix.
3752	* testsuite/22_locale/num_put_members_char.cc (test02): Add.
3753	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3754	* testsuite/22_locale/num_get_members_char.cc (test02): Add
3755	long double, void, bool types.
3756	* testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3757
37582002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3759	    Alexandre Oliva  <aoliva@redhat.com>
3760
3761	* libmath/Makefile.am (LINK): Add --tag CC.
3762	* libmath/Makefile.in: Regenerate.
3763
37642002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3765
3766	* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3767	of character to attribute mapping table.
3768
37692002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
3770
3771	* testsuite/26_numerics/c99_classification_macros_c.cc
3772	Remove dg-error and dg-excess-errors comments.
3773
37742002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3775
3776	* include/bits/locale_facets.tcc (time_put::put): Correct output
3777	iterator positions.
3778	* testsuite/22_locale/time_put_members_char.cc (test02): Add.
3779	* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3780	* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3781	* testsuite/22_locale/time_get_members_char.cc (test06): Add.
3782
37832002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3784
3785	* docs/html/17_intro/porting-howto.xml: Update filebuf section.
3786
37872002-01-14  Paolo Carlini  <pcarlini@unitus.it>
3788	    Nathan Myers  <ncm@cantrip.org>
3789
3790	* include/bits/basic_string.h
3791	(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3792	temporaries (i.e., call _M_replace_safe) when possible.
3793	(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3794	(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3795	(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3796	(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3797	(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3798	* include/bits/basic_string.tcc
3799	(replace(__pos1, __n1, __str, __pos2, __n2)): Call
3800	replace(__pos, __n1, __s, __n2).
3801	* testsuite/21_strings/replace.cc (test03): New testcases.
3802
3803	* include/bits/basic_string.h (insert(__pos, __s, __n)):
3804	Adjust comparison wrt overflow.
3805
38062002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3807
3808	* include/Makefile.am (std_headers_rename): New variable.
3809	(install-data-local): Use it.
3810	* include/Makefile.in: Regenerate.
3811
38122002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3813
3814	* include/bits/locale_facets.tcc (money_put::do_put(string):
3815	Correct output iterator value.
3816	* testsuite/22_locale/money_put_members_char.cc (test03): Add.
3817	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3818
38192002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3820
3821	* include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
3822	previous commit.
3823
38242002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3825
3826	* include/Makefile.am (std_headers):  Update list with new names.
3827	(stamp-std):  Link to standardized name.
3828	* include/Makefile.in:  Regenerate.
3829
3830	* include/std/algorithm, include/std/bitset, include/std/complex,
3831	include/std/deque, include/std/fstream, include/std/functional,
3832	include/std/iomanip, include/std/ios, include/std/iosfwd,
3833	include/std/iostream, include/std/istream, include/std/iterator,
3834	include/std/limits, include/std/list, include/std/locale,
3835	include/std/map, include/std/memory, include/std/numeric,
3836	include/std/ostream, include/std/queue, include/std/set,
3837	include/std/sstream, include/std/stack, include/std/stdexcept,
3838	include/std/streambuf, include/std/string, include/std/utility,
3839	include/std/valarray, include/std/vector:  Rename to...
3840
3841	* include/std/std_algorithm.h, include/std/std_bitset.h,
3842	include/std/std_complex.h, include/std/std_deque.h,
3843	include/std/std_fstream.h, include/std/std_functional.h,
3844	include/std/std_iomanip.h, include/std/std_ios.h,
3845	include/std/std_iosfwd.h, include/std/std_iostream.h,
3846	include/std/std_istream.h, include/std/std_iterator.h,
3847	include/std/std_limits.h, include/std/std_list.h,
3848	include/std/std_locale.h, include/std/std_map.h,
3849	include/std/std_memory.h, include/std/std_numeric.h,
3850	include/std/std_ostream.h, include/std/std_queue.h,
3851	include/std/std_set.h, include/std/std_sstream.h,
3852	include/std/std_stack.h, include/std/std_stdexcept.h,
3853	include/std/std_streambuf.h, include/std/std_string.h,
3854	include/std/std_utility.h, include/std/std_valarray.h,
3855	include/std/std_vector.h:  ...this.
3856
38572002-01-11  Loren Rittle <ljrittle@acm.org>
3858
3859	* include/Makefile.am (extra_target_headers): New list of all
3860	target files built with ad hoc naming rules.
3861	(stamp-*): Handle LN_S failure in manner portable across make
3862	implementations.
3863	(install-data-local): Install header files from human-maintained
3864	file lists and directory components instead of non-robust find.
3865	* include/Makefile.in: Rebuilt.
3866
38672002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
3868
3869	* include/bits/locale_facets.tcc (money_get::do_get(string)):
3870	Check for zero-length negative sign before adding it to output
3871	string.
3872	(money_get::do_get(long double)): Return beg.
3873	* testsuite/22_locale/money_get_members_char.cc (test02): Add
3874	iterator checks.
3875	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3876
38772002-01-10  David Seymour  <seymour_dj@yahoo.com>
3878
3879	libstdc++/5331
3880	* include/bits/locale_facets.h (num_get<>): Return advanced iterator
3881	for _M_extract_float and _M_extract_int
3882	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3883	(num_get<>::_M_extract_int): Likewise, all callers changed
3884	* testsuite/22_locale/num_get_members_char.cc: Testcase
3885
38862002-01-09  Paolo Carlini <pcarlini@unitus.it>
3887
3888        * libsupc++/exception (bad_exception): Add comment.
3889        * libsupc++/new (bad_alloc): Same.
3890        * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3891
38922002-01-09  Paolo Carlini <pcarlini@unitus.it>
3893
3894	libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3895	that the destructors should be removed from the descriptions
3896	in the standard: writing them explicitly allows the vtable
3897	heuristic to work. For additional information see:
3898	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3899	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3900	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3901	* libsupc++/exception (bad_exception::~bad_exception()):
3902	Reintroduce declaration.
3903	* libsupc++/new (bad_alloc::~bad_alloc()): Same.
3904	* libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3905	(bad_typeid::~bad_typeid()): Same.
3906	* libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3907	Reintroduce definition.
3908	* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3909	* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3910	(bad_typeid::~bad_typeid()): Same.
3911
39122002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3913
3914	* include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3915	* include/Makefile.in: Regenerate.
3916
39172002-01-09  Bo Thorsen  <bo@suse.co.uk>
3918
3919	* config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3920	definition.
3921
39222002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3923
3924        libstdc++/2913
3925        libstdc++/4879
3926	* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3927	return value of _M_file->sync().
3928	(filebuf::showmanyc): Check for is_open.
3929	* include/std/fstream (filebuf::sync): Tweak.
3930	* testsuite/27_io/filebuf.cc: Tweak.
3931
39322002-01-08  John Fardo  <jfardo@laurelnetworks.com>
3933	    Brad Garcia  <garsh@attbi.com>
3934
3935	* testsuite/27_io/filebuf_members.cc: Add test.
3936
39372002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3938 	    Craig Rodrigues  <rodrigc@mediaone.net>
3939
3940	libstdc++/5174
3941	* po/Makefile.am (mkinstalldirs): Add.
3942	* po/Makefile.in: Regenerate.
3943
39442002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
3945
3946	* testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3947	testsuite/lib/prune.exp: Delete lines ":In function ..."  from
3948	compiler output.
3949	* testsuite/23_containers/map_operators.cc: Remove
3950	dg-excess-errors comment.
3951	* testsuite/23_containers/set_operators.cc: Likewise.
3952
39532002-01-06  Paolo Carlini  <pcarlini@unitus.it>
3954
3955	* include/bits/stl_function.h:  Remove two lines of comments;
3956	adjust copyright years.
3957
39582002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
3959
3960	* include/Makefile.am (std_headers): Remove cXXX from list.
3961	(c_base_srcdir): No bits subdirectory.
3962	(c_base_builddir): Same.
3963	(c_base_headers): Adjust names, add ciso646.
3964	(bits_headers): Remove std_xxx.h headers.
3965	* include/Makefile.in: Regenerate.
3966
3967	* include/ext/iterator: Adjust includes.
3968	* include/ext/ropeimpl.h: Same.
3969	* include/ext/stl_hash_fun.h: Same.
3970	* include/ext/algorithm: Same.
3971
3972	* include/backward/bvector.h: Adjust includes.
3973	* include/backward/vector.h: Same.
3974	* include/backward/strstream: Same.
3975	* include/backward/streambuf.h: Same.
3976	* include/backward/stack.h: Same.
3977	* include/backward/set.h: Same.
3978	* include/backward/queue.h: Same.
3979	* include/backward/multiset.h: Same.
3980	* include/backward/multimap.h: Same.
3981	* include/backward/map.h: Same.
3982	* include/backward/list.h: Same.
3983	* include/backward/iterator.h: Same.
3984	* include/backward/iostream.h: Same.
3985	* include/backward/iomanip.h: Same.
3986	* include/backward/fstream.h: Same.
3987	* include/backward/deque.h: Same.
3988	* include/backward/complex.h: Same.
3989
3990	* include/bits/std_algorithm.h: Move to...
3991	* include/std/algorithm: ...here.
3992	* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3993	std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3994	std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3995	std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3996	std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3997	std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3998	std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3999	Same.
4000
4001	* include/c_std/bits/std_cassert.h: Move to...
4002	* include/c_std/cassert: Here.
4003	* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4004	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4005	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4006	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4007	std_cwctype.h: Same.
4008	* include/c_std/cmath: Adjust cmath.tcc include.
4009	* include/c_std/cstdlib: Adjust includes.
4010	* include/c_std/cwchar: Same.
4011	* include/c_std/ctime: Same.
4012	* include/c_std/cstring: Same.
4013	* include/c_std/cstdio: Same.
4014	* include/c_std/bits: Remove directory.
4015
4016	* include/c/bits/std_cassert.h: Move to...
4017	* include/c/cassert: Here.
4018	* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4019	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4020	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4021	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4022	std_cwctype.h: Same.
4023	* include/c/bits: Remove directory.
4024
4025	* include/std/cwctype: Remove.
4026	* include/std/cwchar: Remove.
4027	* include/std/ctime: Remove.
4028	* include/std/cstring: Remove.
4029	* include/std/cstdlib: Remove.
4030	* include/std/cstdio: Remove.
4031	* include/std/cstddef: Remove.
4032	* include/std/cstdarg: Remove.
4033	* include/std/csignal: Remove.
4034	* include/std/csetjmp: Remove.
4035	* include/std/cmath: Remove.
4036	* include/std/clocale: Remove.
4037	* include/std/climits: Remove.
4038	* include/std/ciso646: Remove.
4039	* include/std/cfloat: Remove.
4040	* include/std/cerrno: Remove.
4041	* include/std/cctype: Remove.
4042	* include/std/cassert: Remove.
4043
4044	* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4045	files and subsituting <xxx>.
4046	* include/bits/valarray_array.h: Same.
4047	* include/bits/stl_uninitialized.h: Same.
4048	* include/bits/stl_alloc.h: Same.
4049	* include/bits/stl_algobase.h: Same.
4050	* include/bits/sstream.tcc: Same.
4051	* include/bits/pthread_allocimpl.h: Same.
4052	* include/bits/ostream.tcc: Same.
4053	* include/bits/localefwd.h: Same.
4054	* include/bits/locale_facets.tcc: Same.
4055	* include/bits/locale_facets.h: Same.
4056	* include/bits/istream.tcc: Same.
4057	* include/bits/char_traits.h: Same.
4058	* include/bits/boost_concept_check.h: Same.
4059	* include/bits/basic_file.h: Same.
4060	* include/std/bitset: Same.
4061	* include/std/complex: Same.
4062	* include/std/fstream: Same.
4063	* include/std/functional: Same.
4064	* include/std/ios: Same.
4065	* include/std/iostream: Same.
4066	* include/std/ostream: Same.
4067	* include/std/sstream: Same.
4068	* include/std/streambuf: Same.
4069	* include/std/string: Same.
4070	* include/std/iterator: Same.
4071	* include/std/valarray: Same.
4072
4073	* src/ios.cc: Adjust includes.
4074	* src/valarray-inst.cc: Same.
4075	* src/string-inst.cc: Same.
4076	* src/stl-inst.cc: Same.
4077	* src/stdexcept.cc: Same.
4078	* src/misc-inst.cc: Same.
4079	* src/localename.cc: Same.
4080	* src/locale-inst.cc: Same.
4081	* src/locale.cc: Same.
4082	* src/limits.cc: Same.
4083	* src/concept-inst.cc: Same.
4084	* src/complex_io.cc: Same.
4085	* src/codecvt.cc: Same.
4086	* src/bitset.cc: Same.
4087	* src/cmath.cc: Same.
4088
40892002-01-04  Paolo Carlini  <pcarlini@unitus.it>
4090
4091	* include/bits/stl_tree.h (rb_tree):  Move to...
4092	* include/ext/rb_tree:  ...here, new file.
4093	* include/Makefile.am (ext_headers):  Add new file.
4094	* include/Makefile.in:  Regenerate.
4095	* include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4096	return_temporary_buffer, struct temporary_buffer):  Move to...
4097	* include/ext/memory:  ...here.
4098	* testsuite/ext/headers.cc:  Include <ext/rb_tree>.
4099	* include/backward/tempbuf.h:  Include <ext/memory>, tweak.
4100	* include/backward/tree.h:  Include <ext/rb_tree), tweak.
4101
41022002-01-03  Paolo Carlini  <pcarlini@unitus.it>
4103
4104	* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
4105	* include/ext/numeric:  ...here, new file.
4106        * include/bits/stl_function.h (identity_element, unary_compose,
4107	binary_compose, compose1, compose2, identity, select1st,
4108	select2nd, project1st + helper, project2nd + helper,
4109	constant_void_fun + helper, constant_unary_fun + helper,
4110	costant_binary_fun + helper, constant0, constant1, constant2,
4111	subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
4112        * include/ext/functional:  ...here, new file.
4113        * include/Makefile.am (ext_headers):  Add new files.
4114        * include/Makefile.in:  Regenerate.
4115        * testsuite/ext/headers.cc:  Include <ext/numeric> and
4116	<ext/functional>.
4117	* include/backward/algo.h:  Include <ext/numeric>, tweak.
4118	* include/backward/function.h:  Include <ext/functional>, tweak.
4119        * include/ext/ropeimpl.h:  Include <ext/numeric>.
4120
41212002-01-03  Jeffrey A Law  <law@redhat.com>
4122
4123        * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4124        __strtoull declarations with __extension__.
4125
41262002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
4127
4128	* testsuite/lib/prune.exp: Correct regular expression for
4129	-ffunction-sections
4130
41312002-01-02  Phil Edwards  <pme@gcc.gnu.org>
4132
4133	* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4134	Change concept checks, as with lower_bound and PR 2054.
4135	* testsuite/ext/concept_checks.cc:  Expand test to include those.
4136
41372002-01-02  Phil Edwards  <pme@gcc.gnu.org>
4138
4139	* include/bits/boost_concept_check.h:  Import some changes from
4140	upsteam (Boost) version.
4141
41422002-01-02  Paolo Carlini  <pcarlini@unitus.it>
4143
4144	* include/bits/stl_algobase.h (copy_n + helpers,
4145	lexicographical_compare_3way + helpers):  Move to...
4146	* include/ext/algorithm:  ...here.
4147        * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4148        helpers):  Move to...
4149        * include/ext/memory:  ...here, new file.
4150        * include/Makefile.am (ext_headers):  Add new file.
4151        * include/Makefile.in:  Regenerate.
4152        * testsuite/ext/headers.cc:  Include <ext/memory>.
4153	* include/backward/algobase.h:  Include <ext/memory> and
4154	<ext/algorithm>, tweak.
4155        * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
4156	* include/ext/stl_rope.h:  Include <ext/memory>, tweak.
4157
41582002-01-01  Roger Sayle <roger@eyesopen.com>
4159
4160	* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4161	equivalent ___builtin__ versions.
4162
4163	* include/c_shadow/bits/std_cmath.h: All __builtin math functions
4164	are available in libstdc++ as the necessary stub implementations
4165	are provided by libmath/stubs.c.
4166
41672002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
4168
4169	* configure.in: Add support for NetBSD cross compiles.
4170	* configure: Regenerate.
4171