ChangeLog revision 97403
12002-05-09  Jakub Jelinek  <jakub@redhat.com>
2
3	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
4	multilib dirs containing libgcc_s*.so.1 below gcc object dir to
5	LD_LIBRARY_PATH.
6
72002-05-08  Alexandre Oliva  <aoliva@redhat.com>
8
9	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10	script entry, and set LD to it when configuring multilibs.
11	* configure: Rebuilt.
12
132002-05-06  Phil Edwards  <pme@gcc.gnu.org>
14
15	* docs/html/documentation.html:  Fix broken link.
16
172002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
18
19	PR libstdc++/6549.
20	* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
21	* testsuite/27_io/narrow_stream_objects.cc (test07): Add.
22
232002-05-02  Phil Edwards  <pme@gcc.gnu.org>
24
25	* docs/html/faq/index.html:  Update list in #4.1.
26	* docs/html/faq/index.txt:  Regenerated.
27
282002-05-01  Phil Edwards  <pme@gcc.gnu.org>
29
30	* include/std/std_bitset.h:  Fix doxygen comments.
31	* docs/html/documentation.html:  Minor tweaks for 3.1.
32	* docs/html/27_io/howto.html:  Likewise.
33	* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
34	* docs/html/faq/index.html:  Likewise.
35	* docs/html/faq/index.txt:  Regenerated.
36
372002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
38
39	PR libstdc++/6533
40	* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
41	(istreambuf_iterator::equal): Use it.
42	(istreambuf_iterator::operator*): Use it.	
43
442002-05-01  Paolo Carlini  <pcarlini@unitus.it>
45	
46	PR libstdc++/6513
47	* include/bits/stl_uninitialized.h
48	(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
49	Fix typo in 2001-07-17 commit: typedef _ValueType to
50	iterator_traits<_ForwardIter> not <_InputIter>.
51	* testsuite/23_containers/vector_ctor.cc: Add test04.
52
532002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
54
55	PR libstdc++/6501
56	* include/c_std/std_cctype.h: Include bits/c++config.h.
57	* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
58
592002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
60
61	* include/ext/stdio_filebuf.h: New file.
62	* include/ext/enc_filebuf.h: New file.
63	* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
64	* config/io/basic_file_stdio.cc: Same.
65	* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
66	Remove _M_unbuf hacks.
67	(filebuf::_M_destroy_internal_buffer): Same.
68	(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
69	(filebuf::fd): Remove.
70	* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
71	(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
72	(filebuf::fd): Remove.
73	* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
74	filebufs.
75	(ios_base::_S_ios_destroy): Same.
76	* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
77	* include/Makefile.am (ext_headers): Add ext_filebuf.h,
78	stdio_filebuf.h.  * include/Makefile.in: Regenerate.
79	
802002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
81
82	PR libstdc++/6511
83	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
84	
852002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
86
87        PR libstdc++/5820
88        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
89        Check for eof.
90        * include/bits/streambuf_iterator.h: Match stream_iterator.h.
91        (istreambuf_iterator::operator++): Invalidate on eof.
92        (istreambuf_iterator::operator++(int)): Same.
93        (istreambuf_iterator::operator*): Same.
94 
952002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
96
97        PR libstdc++/5820
98	* config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
99        (__basic_file::sys_ungetc): Take int.
100        * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
101        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
102        Use sys_getc for unbuffered input.
103        * testsuite/27_io/narrow_stream_objects.cc (test06): New.
104        
105        * src/ios.cc (_M_grow_words): Adjust error checking.
106        * testsuite/27_io/ios_base_storage.cc: Same.
107
1082002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
109
110	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
111	of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
112	LD_LIBRARY64_PATH. 
113
1142002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
115
116	* include/ext/stl_hashtable.h: Import __iterator_category
117
1182002-04-28  Paolo Carlini  <pcarlini@unitus.it>
119            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
120
121	* testsuite/ext/hash_set.cc: New testfile.
122
1232002-04-26  Paolo Carlini  <pcarlini@unitus.it>
124
125	* include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
126	Fix and tighten __throw_length_error check.
127	* testsuite/21_strings/replace.cc (test04): New.
128	* testsuite/21_strings/replace.cc (test02, test03): Tweak.
129
1302002-04-23  Loren J. Rittle <ljrittle@acm.org>
131
132	* include/std/std_fstream.h (basic_filebuf::sync): Hoist
133	unconditional flush on lower-layer handle to here...
134	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
135	...from here.  Optimize remaining _M_file.sync() call pattern.
136	* testsuite/27_io/narrow_stream_objects.cc (test04): New test.
137	(test05): Likewise.
138
1392002-04-23  Jason Merrill  <jason@redhat.com>
140
141	* include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
142	output-only filebufs.
143	* include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
144	Likewise.
145	(basic_filebuf::_M_set_determinate): Likewise.
146
147	PR libstdc++/6414
148	* include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
149	value properly in the trivial case.
150	* testsuite/27_io/istream_seeks.cc (test04): Make sure that
151	tellg() returns the right value after a read.
152
1532002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
154
155	* config/cpu/mmix/bits/cpu_limits.h: New file.
156	* configure.target (CPULIMITSH): Use it.
157
1582002-04-20  Jason Merrill  <jason@redhat.com>
159
160	PR libstdc++/4150
161	* include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
162	Move to filebuf.
163	(basic_streambuf::_M_set_determinate): Likewise.
164	(basic_streambuf::_M_is_indeterminate): Likewise.
165	* include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
166	non-static data member.
167	(basic_filebuf::_M_underflow_common): New non-static member function.
168	(basic_filebuf::_M_underflow, _M_uflow): Call it.
169	(basic_filebuf::sync): Avoid useless seeking.
170	(basic_filebuf::_M_set_indeterminate): Move here from streambuf.
171	Set _M_filepos.
172	(basic_filebuf::_M_set_determinate): Likewise.
173	(basic_filebuf::_M_is_indeterminate): Likewise.
174	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
175	back to _M_out_beg if necessary.
176	(basic_filebuf::seekoff): Likewise.
177	(basic_filebuf::_M_underflow_common): Generalization of old 
178	underflow().  Don't seek back to _M_in_beg.
179	* src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
180	* config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
181	* config/os/bsd/freebsd/bits/os_defines.h: Likewise.
182	* config/os/mingw32/bits/os_defines.h: Likewise.
183	* testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
184	ungetc test.
185
1862002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
187
188	* include/bits/istream.tcc (istream::read): Fix.
189	* testsuite/27_io/istream_unformatted.cc (main): Add.
190	
1912002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
192
193	PR libstdc++/6360
194	* include/bits/istream.tcc (istream::ignore): Streamline, use
195	delimiter as is.
196	* include/bits/streambuf.tcc: Use this->gptr.
197	* testsuite/27_io/istream_unformatted.cc (test08): Add test.
198
1992002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
200
201        * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
202        as type safety is important, especially on solaris.
203        * include/bits/istream.tcc (istream::read): Clean.
204        (istream::readsome): Same.
205        * locale.cc: Wrap lines.
206
207        * testsuite/21_strings/inserters_extractors.cc: Tweaks.
208        * testsuite/27_io/instantiations.cc (test): Add bool variable...
209        * testsuite/21_strings/capacity.cc: Clean.
210
2112002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
212
213        * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
214
2152002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
216
217        * config/linker-map.gnu (__malloc_alloc_template): Add.
218        (__default_alloc_template): Same.       
219        * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
220        template.
221        (__default_alloc_template): Same.
222
2232002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
224
225        * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
226        * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
227        (__malloc_alloc_template): Conditionalize.
228
229        * include/bits/istream.tcc: Remove sputbackc calls.
230
231        * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
232
2332002-04-19  Benjamin Kosnik  <bkoz@redhat.com>
234
235	PR libstdc++/4164
236	Valgrind fixes.
237	* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
238	Call close.
239	(__basic_file::close): Call fflush. Correct return if fclose ok. 
240	(__basic_file::is_open): Make const.
241	Change __c_file_type to __c_file.
242	* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
243	(__basic_file::is_open): Make const.
244	* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
245	* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
246	(filebuf::_M_unbuf): Add.
247	(filebuf::_M_file): Change to non-pointer.
248	(filebuf::_M_allocate_pback_buffer): Remove.
249	* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
250	(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
251	Change initialization list for _M_file change.
252	(filebuf::_M_allocate_pback_buffer): Remove.
253	Change _M_file usage to reflect non-pointer data member.
254
255	* config/locale/generic/c_locale.cc
256	(locale::facet::_S_create_c_locale): Add parameter.
257	* config/locale/generic/collate_members.cc: Change
258	_M_compare_helper to _M_compare.
259	Change _M_transform_helper to _M_transform.
260	* config/locale/generic/monetary_members.cc: Changeup data types.
261	Add dtors.
262	* config/locale/generic/numeric_members.cc: Add dtors.
263	* config/locale/generic/time_members.cc: Add dtors.
264	* config/locale/gnu/c_locale.cc: Add parameter.
265	* config/locale/gnu/collate_members.cc:Change
266	_M_compare_helper to _M_compare.
267	Change _M_transform_helper to _M_transform.
268	* config/locale/gnu/ctype_members.cc: Better error checking.
269	* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
270	* config/locale/gnu/messages_members.cc: Tweak comment.
271	* config/locale/gnu/monetary_members.cc: Change data types.
272	Add dtors.
273	* config/locale/gnu/numeric_members.cc: Add dtors, better error
274	checking.
275	* config/locale/gnu/time_members.cc: Same.
276	* config/locale/ieee_1003.1-2001/c_locale.cc
277	(locale::facet::_S_create_c_locale): Add parameter.
278	* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
279	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
280	bogus ctor.
281
282	* include/bits/locale_facets.h (moneypunct): Use string literals.
283	Don't define dtor.
284	(numpunct): Same.
285	(__timepunct): Same.
286	(locale::_Impl::_M_facets): Change from vector to array.
287	(locale::_Impl::_M_names): Change from array of strings to array
288	of string literals.
289	(locale::facet::_S_create_c_locale): Add parameter.
290	(locale::locale::_S_num_facets): Move to...
291	(locale::_Impl::_M_facets_size): Here.
292	* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
293	changes.
294	* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
295	(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
296	(locale::_Impl::_Impl(string, size_t)): Change to
297	(locale::_Impl::_Impl(const char*, size_t)): This.
298
299	* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
300	* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
301	(streambuf::_S_pback_size): This.
302
303	* src/globals.cc: Add pre-allocations for "C" facets.
304	* src/locale-inst.cc: Remove vector instantiations.
305	* src/locale.cc: Remove vector include. Fixups for _M_names,
306	_M_facets changes.
307	* src/localename.cc: Same.
308
309	* include/bits/stl_vector.h: Fix odd formatting.
310
311	* include/bits/basic_string.tcc: Tweak comment.
312
313	* libsupc++/new: Make sure parameters are uglified.
314	* libsupc++/typeinfo: Same.
315
316	* testsuite/22_locale/num_get_members_char.cc: Fixup.
317	* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
318	* testsuite/27_io/filebuf_members.cc: Same.
319	
3202002-04-17  Phil Edwards  <pme@gcc.gnu.org>
321
322	* docs/doxygen/doxygroups.cc:  New group on binary searching.
323	* include/bits/stl_algo.h:  Document binary searches and merges.
324	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
325
3262002-04-17  Phil Edwards  <pme@gcc.gnu.org>
327
328	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
329	* docs/doxygen/run_doxygen:  Bump required version.
330	* docs/doxygen/user.cfg.in:  Revert accidental change.
331	* docs/html/faq/index.html:  Reindent a block of links.
332	(4.4):  New note on using dlsym.
333	* docs/html/faq/index.txt:  Regenerated.
334
3352002-04-16  Paolo Carlini <pcarlini@unitus.it>
336
337	* testsuite/24_iterators/rel_ops.cc: New test.
338	
3392002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
340
341	* include/bits/type_traits.h (__normal_iterator): Declare in
342	__gnu_cxx.  Adjust use at global namespace.
343	* include/bits/stl_iterator.h (__normal_iterator): Move definition
344	into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
345	* include/bits/basic_string.h (basic_string): Adjust use of
346	__normal_iterator.
347	* include/bits/stl_vector.h (_Alloc>): Likewise.
348	* src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
349	* src/locale-inst.cc (__gnu_cxx): Likewise.
350	* src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
351
3522002-04-15  Steve Ellcey  <sje@cup.hp.com>
353
354	* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
355	(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
356	does not define strtoll or strtoull, but does define strtol
357	and strtoul which are the same since in 64 bit mode
358	sizeof(long) == sizeof(long long).
359
3602002-04-12  Phil Edwards  <pme@gcc.gnu.org>
361
362	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
363	trailing spaces, indentation, and macro names.  Make exception
364	messages more informative.
365
3662002-04-11  Richard Henderson  <rth@redhat.com>
367
368	* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
369	* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
370	(basic_ostream<>::operator<<(long long)): Same.
371
3722002-04-11  Richard Henderson  <rth@redhat.com>
373
374	* config/linker-map.gnu: Add __gxx_personality_sj0.
375
3762002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
377
378	libstdc++/1072
379	* include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
380	pointer to vector.
381	Remove forward declaration of vector.
382	Include vector.
383	* include/bits/locale_facets.tcc: Remove vector include.
384	(use_locale): Adjust.
385	(has_locale): Adjust.
386	* src/locale.cc: Adjust.
387	* src/localename.cc: Same.
388	
3892002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
390	    Richard Henderson  <rth@redhat.com>
391
392	* include/bits/sstream.tcc: Clean up bit ops.
393	* include/bits/fstream.tcc: Same.
394
3952002-04-09  Jakub Jelinek  <jakub@redhat.com>
396
397	* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
398	(__num_base::_S_scale_oct): Remove.
399	* src/locale.cc (__num_base::_S_scale_hex): Remove.
400	(__num_base::_S_scale_oct): Remove.
401
4022002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
403
404	libstdc++/6124
405	* testsuite/23_containers/bitset_members.cc: New test.
406	* include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
407	(_S_bit_count): Here.
408	(_First_one::_S_first_one): Move...
409	(_S_first_one): Here.
410	Format.
411	* src/bitset.cc: Adjust.
412	* config/linker-map.gnu: Export.
413	
4142002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
415
416	libstdc++/5180
417	* include/bits/fstream.tcc (filebuf::seekpos): Fix.
418	* include/std/std_fstream.h: Clean.
419	* include/bits/ostream.tcc: Remove extraneous variables.
420	* include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
421	open modes and which modes.
422	(stringbuf::seekpos): Same.
423	* testsuite/27_io/stringbuf_virtuals.cc: New tests.
424	
4252002-04-05  Jonathan Wakely <jw@kayari.org>
426
427	* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
428	random_shuffle, partition, stable_partition, sort, stable_sort,
429	partial_sort, partial_sort_copy, nth_element):  Doxygenate.
430
4312002-04-05  David S. Miller  <davem@redhat.com>
432
433	* config/os/gnu-linux/bits/os_defines.h
434	(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
435
4362002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
437
438	libstdc++/3457 
439	via gawrilow@math.tu-berlin.de
440	* acinclude.m4 (version_specific_libs): Fix combo usage with
441	--with-gxx-include-dir.
442	* aclocal.m4: Regenerate.
443	* configure: Same.
444	
4452002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
446
447        As per DR 184, libstdc++/3139
448        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
449        (numeric_limits<bool>::is_iec559): False.
450        (numeric_limits<bool>::is_modulo): False.       
451
452	* testsuite/27_io/ios_init.cc: Add instantiations.
453
4542002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
455	
456	libstdc++/5268
457	* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
458	* testsuite/27_io/ios_init.cc (tests04): Add test.
459
460	libstdc++/3983
461	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
462	(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
463	* include/bits/basic_ios.tcc: Same. Remove outdated comments.
464	* include/bits/istream.tcc: Use _M_fctype, make consistent with
465	ostream.
466	* testsuite/27_io/ios_init.cc (tests03): Add test.
467	
4682002-04-02  Phil Edwards  <pme@gcc.gnu.org>
469
470	* include/Makefile.am (install-data-local):  Use mkinstalldirs.
471	* include/Makefile.in:  Regenerate.
472
4732002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
474
475	libstdc++/5542
476	* acinclude: More extensive checks for msgfmt, --enable-nls.
477	* aclocal.m4: Regenerate.
478	* configure: Regenerate.
479
4802002-04-01  Phil Edwards  <pme@gcc.gnu.org>
481
482	* libsupc++/exception (__verbose_terminate_handler):  Point to docs.
483	* docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
484	* docs/html/18_support/howto.html:  Document the demangler.
485	* docs/html/17_intro/howto.html:  And link to it.
486
487	* docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
488	* docs/doxygen/run_doxygen:  Print user-vs-maintainer.
489
4902002-04-01  Phil Edwards  <pme@gcc.gnu.org>
491
492	* include/bits/c++config:  Fix misplaced leading blanks on first line.
493
4942002-04-01  Phil Edwards  <pme@gcc.gnu.org>
495
496	* config/linker-map.gnu:  Export __verbose_terminate_handler.
497	* libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
498	Make new LTCOMPILE variable, use it in new special build rules.
499	* libsupc++/Makefile.in:  Rebuild.
500	* src/vterminate.cc (__verbose_terminate_handler):  Enable use of
501	runtime __cxa_demangle.
502
503	* docs/html/install.html:  Update prereqs and instructions.
504	* docs/html/19_diagnostics/howto.html:  Bring naming for
505	verbose_terminate_handler into line with reality.
506
5072002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
508	
509	libstdc++/3129
510	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
511	(basic_ios::_M_streambuf_state): Move.	
512	* include/bits/ios_base (ios_base): To here.
513	* include/bits/ios_base.h (ios_base::_S_local_words): To
514	_S_local_word_size.
515	(ios_base::_M_word_array): To _M_local_word.
516	(ios_base::_M_words_limit): To _M_word_size.	
517	(ios_base::_M_words): To _M_word.		
518	Comment.
519	* include/bits/basic_ios.tcc: Adjust.	
520	* src/ios.cc (ios_base::_M_grow_words): Tweak.
521	* testsuite/27_io/ios_base_storage.cc: Add tests.
522
523	libstdc++/5207
524	Kenny Simpson <theonetruekenny@yahoo.com>
525	* include/bits/ios_base.h: Fix.
526	
527	Richard Henderson  <rth@redhat.com>
528	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
529	last change.
530
531	* include/bits/basic_string.h: Tweak formatting.
532	
5332002-04-01  Paolo Carlini  <pcarlini@unitus.it>
534
535	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
536	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
537	By definition, sizeof(char) == 1.
538	* include/bits/locale_facets.tcc (money_get::do_get,
539	money_put::do_put): Ditto.
540	* testsuite/21_strings/inserters_extractors.cc
541	(test04): Ditto.
542
5432002-03-30  Richard Henderson  <rth@redhat.com>
544
545	PR c++/3719
546	* libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
547	data out of the exception struct before calling unexpectedHandler.
548
5492002-03-28  Roger Sayle  <roger@eyesopen.com>
550
551	* include/c_std/std_cmath.h:  To prevent problems overloading
552	g++ builtins, use the double variants from the global namespace
553	before defining float and long double variants in std::.
554
5552002-03-28  Loren J. Rittle <ljrittle@acm.org>
556
557	* testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
558
5592002-03-28  Paolo Carlini  <pcarlini@unitus.it>
560
561	* testsuite/24_iterators/istream_iterator.cc
562	(test02): New tests.
563
5642002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
565            Paolo Carlini  <pcarlini@unitus.it>
566
567	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
568	(test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
569	fix i_lit_base e_lit_base arrays, making them independent
570	from the endianness of the platform; tweak UCS4 to UCS-4BE.
571
5722002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
573
574	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
575	allocate at least a byte.
576
577	* testsuite/18_support/numeric_limits.cc (test_extrema): Make
578	debugger-friendly.
579	* testsuite/27_io/streambuf.cc (test07): Fix.
580	(test06): Enable.
581
5822002-03-27  Phil Edwards  <pme@gcc.gnu.org>
583
584	Bulk documentation merge (copy) from trunk.
585	* docs/doxygen/Intro.3, docs/doxygen/TODO, docs/doxygen/doxygroups.cc,
586	docs/doxygen/mainpage.html, docs/doxygen/run_doxygen,
587	docs/doxygen/tables.html, docs/doxygen/user.cfg.in,
588	docs/html/Makefile, docs/html/17_intro/howto.html,
589	docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html:
590	Merge from trunk.
591
5922002-03-27  Phil Edwards  <pme@gcc.gnu.org>
593
594	* include/bits/stl_algo.h:  Remove @maint and @endmaint.
595	* include/bits/stl_alloc.h:  Likewise.
596	* include/bits/stl_construct.h:  Likewise.
597	* include/bits/stl_deque.h:  Likewise.
598	* include/bits/stl_iterator_base_types.h:  Likewise.
599	* include/bits/stl_list.h:  Likewise.
600	* include/bits/stl_relops.h:  Likewise.
601	* include/bits/stl_tempbuf.h:  Likewise.
602	* include/bits/stl_vector.h:  Likewise.
603	* include/std/std_memory.h:  Likewise.
604
605	* include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
606	* include/bits/stl_list.h:  Likewise.
607	* include/bits/stl_vector.h:  Likewise.
608
6092002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
610
611	* include/c/: Guard with _CPP_.
612	* include/c_std/: Same.
613	* include/Makefile.am: Fixup install, link routines for null
614	c_base_headers_extra scenarios.
615	* include/Makefile.in: Regerate.
616
6172002-03-25  Paolo Carlini <pcarlini@unitus.it>
618            Richard Henderson  <rth@redhat.com>
619
620	* testsuite/22_locale/codecvt_members_unicode_char.cc
621	(test01, test02): make sure that the i_lit_base array
622	is sufficiently aligned.
623
6242002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
625
626        * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
627        _ctype_.
628
6292002-03-25  Paolo Carlini  <pcarlini@unitus.it>
630
631	* testsuite/22_locale/collate_byname.cc
632	(test01): compare the result of collate::compare with
633	that of collate::transform + string::compare, not with
634	that of collate::transform + collate::compare; values
635	returned by collate::compare are normalized, therefore
636	test against +-1.
637
6382002-03-25  Jakub Jelinek  <jakub@redhat.com>
639
640	PR target/5676
641	* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): Pass -fexceptions
642	explicitly.
643	* aclocal.m4: Rebuilt.
644	* configure: Rebuilt.
645	* configure.target (mcore-*-pe*): Add -frtti -fno-exceptions
646	by default to c++ flags.
647
6482002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
649            Jakub Jelinek  <jakub@redhat.com>
650
651	* config/locale/gnu/messages_members.h: Correct conditional.
652	* config/locale/gnu/messages_members.cc: Same.
653	* config/locale/gnu/time_members.cc: Same.
654
6552002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
656            Paolo Carlini  <pcarlini@unitus.it>
657
658	* testsuite/22_locale/codecvt_members_unicode_char.cc
659	(test01, test02): Fix i_lit_base arrays, making them
660	independent from the endianness of the platform.
661
6622002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
663
664	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
665	signbit and __signbit directly.
666	* aclocal.m4: Regenerate.
667	* configure: Regenerate.
668	* config.h.in: Regenerate.
669	* libmath/Makefile.am: Simplify.
670	* libmath/Makefile.in: Regenerate.
671	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
672
673	* include/Makefile.am: Clean up handling of extra "C" header files.
674	Add hooks for "C" compatibility headers.
675	* include/Makefile.in: Regenerate.
676
677	* include/c/*: Formatting tweaks, cleanups.
678	* include/c_std/*: Same.
679
6802002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
681
682	* config/locale/gnu/messages_members.h: Add __uselocale bits.
683	* config/locale/gnu/messages_members.cc: Same.
684	* config/locale/gnu/time_members.cc: Same.
685
6862002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
687
688	* src/vterminate.cc: Format, -fno-exceptions cleanup.
689
6902002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
691
692	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
693	(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
694	* aclocal.m4: Regenerate.
695	* configure: Likewise.
696
6972002-03-19  Paolo Carlini  <pcarlini@unitus.it>
698            Ulrich Drepper  <drepper@redhat.com>
699
700	* src/locale-inst.cc (__convert_from_v): Add an additional
701	__size parameter in the declarations.
702	* include/bits/locale_facets.tcc
703	(__convert_from_v): When available (that is,
704	_GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
705	(num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
706	being defined or not, call and use __convert_from_v in the
707	appropriate way.
708	(num_put::_M_convert_int): Same here.
709	(money_put::do_put(long double)): Same here.
710
7112002-03-19  Phil Edwards  <pme@gcc.gnu.org>
712
713	* docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
714	* docs/html/faq/index.txt:  Regenerate.
715
7162002-03-19  Steve Ellcey  <sje@cup.hp.com>
717
718	* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
719	GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
720	--enable-libunwind-exceptions is set.
721	* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
722	macro to check for libunwind.
723	* configure: Regenerate.
724	* src/Makefile.am (libstdc___la_LDFLAGS): Add
725	LIBUNWIND_FLAG to libstdc link line.
726	* src/Makefile.in: Regenerate.
727
7282002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
729
730	* docs/html/faq/index.html: Add OS X workaround.
731	* docs/html/17_intro/TODO: Update.
732
7332002-03-18  Paolo Carlini  <pcarlini@unitus.it>
734
735	* include/bits/locale_facets.tcc
736	(money_put::do_put(long double)): Fix dimensioning of
737	temporary buffers to avoid risk of overruns.
738	(money_put::do_put(string)): Same for the buffer used to
739	add the grouping chars.
740	* testsuite/22_locale/money_put_members_char.cc: Add test06.
741	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
742
743	* include/bits/locale_facets.tcc
744	(collate::do_transform): Simplify.
745
7462002-03-18  Phil Edwards  <pme@gcc.gnu.org>
747
748	* acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
749	* configure.in:  Add comments pointing the way for autoconf 2.5x.
750	* aclocal.m4, config.h.in, configure:  Regenerate.
751
7522002-03-18  Philipp Thomas  <pthomas@suse.de>
753
754	* include/backward/hash_map.h: hash, hashtable, hash_map and
755	hash_multimap are in namespace __gnu_cxx.
756	include/backward/hash_set.h: hash, hashtable, hash_set and
757	hash_multiset are in namespace __gnu_cxx.
758	include/backward/hashtable.h: hash and hashtable are in
759	namespace __gnu_cxx.
760	include/backward/rope.h: char_producer, sequence_buffer,
761	rope, crope and wrope are in namespace __gnu_cxx.
762	include/backward/slist.h: slist is in namespace __gnu_cxx.
763	* testsuite/backward/header_hash_map_h.cc
764	testsuite/backward/header_hash_set_h.cc
765	testsuite/backward/header_hashtable_h.cc
766	testsuite/backward/header_rope_h.cc
767	testsuite/backward/header_slist_h.cc
768	testsuite/backward/header_tempbuf_h.cc: New tests for
769	checking that we're using the correct namespace.
770
7712002-03-17  Jason Merrill  <jason@redhat.com>
772
773	PR c++/4381
774	* libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
775	(check_exception_spec): Call it.  Take the thrown pointer.
776	(__cxa_call_unexpected): Pass it.
777	(PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
778
7792002-03-15  Anthony Green  <green@redhat.com>
780
781	* configure.in: Remove useless is_mingw32.
782	* configure: Rebuilt.
783
7842002-03-15  Paolo Carlini  <pcarlini@unitus.it>
785
786	* testsuite/22_locale/collate_members_char.cc
787	(test01): compare the result of collate::compare with
788	that of collate::transform + string::compare, not with
789	that of collate::transform + collate::compare.
790	(test01): values returned by collate::compare are
791	normalized, therefore test against +-1.
792	* testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
793
7942002-03-12  Loren Rittle  <ljrittle@acm.org>
795
796	reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
797	* testsuite/thread/pthread4.cc: Lower nominal iteration counter.
798
7992002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
800            Per Liboriussen  <liborius@stofanet.dk>
801
802	* config/os/gnu-linux/bits/ctype_noninline.h: Cast to
803	unsigned char.
804	* config/os/gnu-linux/bits/ctype_inline.h: Same.
805
806	* config/os/irix/irix6.5/bits/ctype_inline.h: Same.
807
808	* config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
809	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
810
811	* config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
812	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
813
814	* config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
815	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
816
817	* testsuite/22_locale/ctype_members_char.cc (main): Add tests.
818
8192002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
820
821	* include/bits/basic_string.tcc (string::_S_construct(_InIter,
822	_InIter, const _Alloc&, forward_iterator_tag): Check for null.
823	(string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
824	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
825	that memory limits are in place.
826	(test03): Add tests.
827
8282002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
829
830	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
831	* aclocal.m4: Regenerate.
832	* config.h.in: Regenerate.
833	* configure: Regenerate.
834	* include/c_std/std_cwctype.h: Guard.
835
8362002-03-11  Chris Demetriou  <cgd@broadcom.com>
837
838	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
839	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
840	* aclocal.m4: Regenerate.
841	* configure: Regenerate.
842
8432002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
844
845	* include/bits/stl_bvector.h: Fix warning.
846
8472002-03-11  Richard Henderson  <rth@redhat.com>
848
849	* include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
850
8512002-03-11  Paolo Carlini  <pcarlini@unitus.it>
852
853	* include/bits/locale_facets.tcc (collate::do_transform):
854	Rewrite to fix problems with long transformed strings.
855
856	* include/bits/locale_facets.tcc (time_put::do_put):
857	Consider sizeof(char_type) in allocating the buffer.
858
8592002-03-10  Anthony Green  <green@redhat.com>
860
861	* configure.in: Support cross builds to mingw32 target.
862	* configure: Rebuilt.
863
8642002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
865
866	* c_locale_generic.cc: Move to...
867	* generic/c_locale.cc
868	* c_locale_generic.h: Move to...
869	* generic/c_locale.h
870	* codecvt_specializations_generic.h: Move to...
871	* generic/codecvt_specializations.h
872	* collate_members_generic.cc: Move to...
873	* generic/collate_members.cc
874	* ctype_members_generic.cc: Move to...
875	* generic/ctype_members.cc
876	* messages_members_generic.cc: Move to...
877	* generic/messages_members.cc
878	* messages_members_generic.h: Move to...
879	* generic/messages_members.h
880	* moneypunct_members_generic.cc: Move to...
881	* generic/monetary_members.cc
882	* numpunct_members_generic.cc: Move to...
883	* generic/numeric_members.cc
884	* time_members_generic.cc: Move to...
885	* generic/time_members.cc
886	* c_locale_gnu.cc: Move to...
887	* gnu/c_locale.cc
888	* c_locale_gnu.h: Move to...
889	* gnu/c_locale.h
890	* collate_members_gnu.cc: Move to...
891	* gnu/collate_members.cc
892	* ctype_members_gnu.cc: Move to...
893	* gnu/ctype_members.cc
894	* messages_members_gnu.cc: Move to...
895	* gnu/messages_members.cc
896	* messages_members_gnu.h: Move to...
897	* gnu/messages_members.h
898	* moneypunct_members_gnu.cc: Move to...
899	* gnu/monetary_members.cc
900	* numpunct_members_gnu.cc: Move to...
901	* gnu/numeric_members.cc
902	* time_members_gnu.cc: Move to...
903	* gnu/time_members.cc
904	* c_locale_ieee_1003.1-200x.cc: Move to...
905	* ieee_1003.1-2001/c_locale.cc
906	* c_locale_ieee_1003.1-200x.h: Move to...
907	* ieee_1003.1-2001/c_locale.h
908	* codecvt_specializations_ieee_1003.1-200x.h: Move to...
909	* ieee_1003.1-2001/codecvt_specializations.h
910	* messages_members_ieee_1003.1-200x.cc: Move to...
911	* ieee_1003.1-2001/messages_members.cc
912	* messages_members_ieee_1003.1-200x.h: Move to...
913	* ieee_1003.1-2001/messages_members.h
914
915	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
916	* aclocal.m4: Regenerate.
917	* configure: Regenerate.
918	* src/Makefile.am (sources): Change to monetary and numeric.
919	* src/Makefile.in: Regenerate.
920	* docs/html/configopts.html: Update to ieee_1003.1-2001.
921
9222002-03-08  scott snyder  <snyder@fnal.gov>
923
924	libstdc++/5875
925	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
926	Allow one more digit of precision.
927	* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
928	write a double and read back in the same value.
929
9302002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
931
932	* include/std/std_limits.h: Move static const data members out of
933	generic template, into base class __numeric_limits_base.
934	* src/limits.cc: Add definitions.
935	* config/linker-map.gnu: Add __numeric_limits_base.
936	* testsuite/18_support/numeric_limits.cc: Declare test in scope.
937
9382002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
939
940	* include/bits/stl_alloc.h: Add extern implicit allocator
941	instantiations.
942	* include/bits/basic_string.tcc: Tweak.
943	* include/bits/loqcale_facets.tcc: Remove default args. Add
944	has_facet, use_facet extern instantiations.
945	* src/stl-inst.cc: Add explicit instantiation.
946	* src/locale-inst.cc: Clean. Remove locale member template
947	instantiations.
948
949	* testsuite/22_locale/operators.cc (test02): Enable.
950
9512002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
952	    Stephen M. Webb  <stephen.webb@bregmasoft.com>
953
954	* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
955	(_S_rb_tree_black): Make enum.
956	Clean. Format.
957	* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
958	* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
959	(__stl_threshold): _M_threshold, enum.
960	* src/stl-inst.cc: Same.
961	* config/linker-map.gnu: Remove.
962
963	* testsuite/23_containers/vector_bool.cc: New.
964
9652002-03-08  Phil Edwards  <pme@gcc.gnu.org>
966
967	* include/bits/basic_string.h (basic_string::_S_construct):  Fix
968	names in declaration.
969	(basic_string::compare):  These are no longer optional.
970	* include/bits/ostream.tcc:  Tweak closing brace placement.
971	* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
972	* include/std/std_sstream.h:  Fix typo in comment.
973	* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
974	* src/locale.cc:  Likewise.
975
9762002-03-08  Phil Edwards  <pme@gcc.gnu.org>
977
978	PR libstdc++/5734
979	* include/bits/stl_vector.h (vector::push_back()):  Guard with
980	_GLIBCPP_DEPRECATED.
981
9822002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
983
984	* docs/html/17_intro/RELEASE-NOTES: Fix usage.
985	* README (libmath): Make clear.
986
9872002-03-05  Jakub Jelinek  <jakub@redhat.com>
988
989	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
990	script globbing in ld.
991	* aclocal.m4: Rebuilt.
992	* configure: Rebuilt.
993
9942002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
995
996	* docs/html/17_intro/RELEASE-NOTES: Update.
997	* README: Format subdirectories.
998
9992002-03-05  Paolo Carlini  <pcarlini@unitus.it>
1000
1001	libstdc++/5816
1002	* include/bits/locale_facets.tcc
1003	(num_get::_M_extract_float): Fix the parsing of __dec, since
1004	the standard prescribes that if no grouping characters are
1005	seen, no grouping check is applied.
1006	* testsuite/22_locale/num_get_members_char.cc: Add test05
1007	distilled from the PR.
1008	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1009
10102002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1011
1012	* docs/html/17_intro/porting-howto.xml: Refer to
1013	http://www.oasis-open.org for docbookx.dtd.
1014	* docs/html/17_intro/porting-howto.html: Regenerated.
1015
10162002-03-03  Phil Edwards  <pme@gcc.gnu.org>
1017
1018        PR libstdc++/2955
1019	* include/std/std_sstream.h:  Remove trailing spaces.
1020	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
1021	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
1022
10232002-03-03  Paolo Carlini  <pcarlini@unitus.it>
1024
1025	* testsuite/22_locale/num_get_members_char.cc (test04):
1026	Use a named locale expecting grouping (de_DE).
1027	* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1028	Ditto.
1029	* testsuite/27_io/ios_manip_basefield.cc (test01):
1030	Extend coverage, uniform treatment of hexs and octs.
1031
10322002-03-01  Paolo Carlini  <pcarlini@unitus.it>
1033
1034	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
1035	Admit grouping for octals and hexadecimals too.
1036	* testsuite/22_locale/num_get_members_char.cc: Add test04.
1037	(test01): Tweak "." -> "," in void* test.
1038	* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1039
1040	* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1041	* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1042
1043	* testsuite/27_io/ios_manip_basefield.cc (test01):
1044	Fix for 64 bit machines.
1045
10462002-02-28  Richard Henderson  <rth@redhat.com>
1047
1048	* config/linker-map.gnu: Export operator new with unsigned long,
1049	and with std::nothrow_t.  Likewise operator delete.
1050
10512002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1052
1053	libstdc++/3983
1054	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1055	Adjust comment.
1056	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1057	(basic_ios::_M_fill_init): New.
1058	(basic_ios::fill()): Delay dealing with _M_fill.
1059	Adjust comment.
1060	* ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1061	(ios_base::_M_call_callbacks): Adjust.
1062	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1063
10642002-02-28  Loren Rittle  <ljrittle@acm.org>
1065
1066	* include/Makefile.am (thread_target_headers): Unconditionally
1067	stage and install gthr-posix.h.
1068	(${target_builddir}/gthr-posix.h): New rule cloned off
1069	${target_builddir}/gthr-default.h.
1070	(${target_builddir}/gthr-default.h): Support chained inclusion
1071	of gthr support headers.
1072	* include/Makefile.in: Rebuilt.
1073
10742002-02-26  Paolo Carlini  <pcarlini@unitus.it>
1075
1076	* include/bits/locale_facets.tcc (num_put::_M_widen_int):
1077	Group all the integral types, not only decs.
1078	* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1079	tests, add a few more.
1080
10812002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
1082
1083	* src/ios.cc (ios_base::~ios_base): Tweak.
1084	(ios_base::_M_call_callbacks): Deal with null __p.
1085	(ios_base::ios_base): Set _M_callbacks.
1086	* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1087	* testsuite/27_io/ios_init.cc (test02): Fix.
1088
1089	* mkcheck.in (static_fail): Failed links go to output file.
1090
10912002-02-25  Phil Edwards  <pme@gcc.gnu.org>
1092
1093	* docs/html/faq/index.html:  Update.
1094	* docs/html/faq/index.txt:  Regenerate.
1095
10962002-02-22  Phil Edwards  <pme@gcc.gnu.org>
1097
1098	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
1099	* aclocal.m4:  Regenerate.
1100	* docs/html/configopts.html:  Document --enable-symvers.
1101	* config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
1102
11032002-02-22  Philipp Thomas  <pthomas@suse.de>
1104
1105        * include/backward/tempbuf.h: get_temporary_buffer and
1106        return_temporary_buffer are in namespace std, not in __gnu_cxx.
1107
11082002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
1109
1110	* configure.in (target_alias): Default to yes.
1111	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1112	libgcc to default case.
1113
11142002-02-20  Phil Edwards  <pme@gcc.gnu.org>
1115
1116	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
1117	(GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
1118	* configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
1119	* aclocal.m4:  Regenerate.
1120	* configure:  Regenerate.
1121	* config/linker-map.dummy:  New file.  Contains nothing useful.
1122
11232002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1124
1125	* testsuite/22_locale/money_put_members_char.cc: Fix.
1126	* testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1127
1128	* testsuite/27_io/standard_manipulators.cc: New file.
1129
1130	* testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1131	* testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1132
11332002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
1134
1135	* config/os/mingw32/bits/ctype_noninline.h
1136	(ctype<char>::ctype): Remove default args from parm list.
1137	* config/os/djgpp/bits/ctype_noninline.h: Same.
1138
11392002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1140
1141	* include/std/std_iomanip.h: Inline, tweaks.
1142	* config/linker-map.gnu: Remove hacks.
1143
1144	* testsuite/21_strings/capacity.cc: Add explicit instantiations.
1145	* testsuite/27_io/ios_init.cc: Same.
1146	* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1147	* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1148
11492002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1150
1151	* config/linker-map.gnu: Export global vtable, typeinfo, guard
1152	variable, and thunk info as per CXXABI docs.
1153
11542002-02-19  Loren Rittle <ljrittle@acm.org>
1155
1156	* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1157	* include/Makefile.in: Rebuilt.
1158
11592002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1160
1161	* testsuite/22_locale/collate_byname.cc (test01): Replace size4
1162          with size3 for the string collations of str5.
1163
11642002-02-18  Paolo Carlini  <pcarlini@unitus.it>
1165
1166	libstdc++/5708
1167	* include/bits/locale_facets.tcc (money_put::do_put):
1168	For the space field use __fill instead of ' ', uniformly.
1169	* testsuite/22_locale/money_put_members_char.cc:
1170	Add test05 distilled from PR.
1171	(test01-02-03): Trim some '*' to ' '.
1172	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1173
11742002-02-18  Loren Rittle <ljrittle@acm.org>
1175
1176	libstdc++/5697
1177	* include/Makefile.am (thread_builddir): Remove (map all
1178	existing uses to target_builddir).
1179	(thread_headers): Rename to...
1180	(thread_target_headers): ...this.
1181	(stamp-thread): Remove.
1182	(stamp-target): Correctly state the position as built.
1183	Update all dependencies to match the new reality.  Remove all
1184	dependency calculations on directories.
1185	* include/Makefile.in: Rebuilt.
1186
11872002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
1188
1189	* include/bits/locale_facets.tcc: Add pragma GCC system_header.
1190	* include/bits/fstream.tcc: Same.
1191	* include/bits/sstream.tcc: Same.
1192	* include/bits/ostream.tcc: Same.
1193	* include/bits/istream.tcc: Same.
1194	* include/bits/streambuf.tcc: Same.
1195	* include/bits/basic_ios.tcc: Same.
1196	* include/bits/basic_string.tcc: Same.
1197
11982002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1199
1200	* include/std/std_iosfwd.h: Don't guard typedefs with
1201	_GLIBCPP_USE_WCHAR_T
1202	* include/bits/stringfwd.h: Same.
1203
12042002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1205
1206	* src/locale.cc (moneypunct_byname): Remove definitions.
1207	* include/std/std_streambuf.h (streambuf::operator=): Return.
1208
12092002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1210
1211	Tune for size.
1212	* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1213	explicit instantiation.
1214	(string::_Rep::_S_max_size): Same.
1215	* include/bits/basic_string.tcc: Add extern explicit
1216	instantiations for string, wstring.
1217	* include/bits/basic_ios.tcc: Add extern explicit instantiations
1218	for ios, wios.
1219	* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1220	* include/bits/istream.tcc: Same, for istream, wistream.
1221	* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1222	wiostream.
1223	* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1224	istringstream, wistringstream, ostringstream, wostringstream,
1225	stringstream, wstringstream.
1226	* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1227	wifstream, ofstream, wofstream, fstream, wfstream.
1228	* src/misc-inst.cc: Correct comments.
1229	Add iomanip instantiations for wide streams.
1230	* include/std/std_iomanip.h: Same.
1231	* include/bits/locale_facets.tcc: Same.
1232
1233	* include/std/std_streambuf.h: Correct
1234	_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1235	* include/std/std_sstream.h: Same.
1236	* include/std/std_ostream.h: Same.
1237	* include/std/std_istream.h: Same.
1238	* include/std/std_fstream.h: Same.
1239
1240	* include/std/std_streambuf.h: Add definitions for private copy
1241	ctor and assignment operator.
1242	* include/std/std_istream.h: Remove declared but undefined copy
1243	ctor and assignment operator. This is taken care of in ios_base,
1244	so adding it in the derived class as well is superfluous.
1245	* include/std/std_ostream.h: Same.
1246
1247	* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1248	* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1249
12502002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
1251
1252	* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1253	Add typeinfo bits. Smooth.
1254	* aclocal.m4: Regenerate.
1255	* configure: Same.
1256	* src/Makefile.in: Same.
1257
12582001-02-14  Joel Sherrill  <joel@OARcorp.com>
1259
1260	* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1261	which do not have a CAS instruction.
1262
12632002-02-14  Phil Edwards  <pme@gcc.gnu.org>
1264
1265	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
1266	* configure.in:  Call it.
1267	* config/linker-map.gnu:  New file, initial incomplete revision.
1268	* src/Makefile.am:  Optionally pass version script to the linker.
1269	* aclocal.m4:  Regenerate.
1270	* configure:  Regenerate.
1271	* src/Makefile.in:  Regenerate.
1272
12732002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1274
1275	* src/localename.cc: Remove stdexcept include.
1276	* src/locale-inst.cc: Same.
1277	* src/locale.cc: Same.
1278	* src/functexcept.cc: Remove string includes.
1279	* include/std/std_bitset.h: Remove stdexcept include.
1280	* testsuite/23_containers/bitset_members.cc: Add stdexcept.
1281	* testsuite/23_containers/bitset_ctor.cc: Same.
1282
12832002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1284
1285	* include/bits/stl_algo (__stl_threshold): Declare external.
1286	(__stl_chunk_size): Same.
1287	* include/bits/stl_bvector.h (__WORD_BIT): Same.
1288	* include/bits/stl_tree.h (_S_rb_tree_red): Same.
1289	(_S_rb_tree_black): Same.
1290	* src/stl-inst.cc (__stl_threshold): Define.
1291	(__stl_chunk_size): Same.
1292	(__WORD_BIT): Same.
1293	(_S_rb_tree_red): Same.
1294	(_S_rb_tree_black): Same.
1295
1296	* config/io/basic_file_libio.h (__basic_file): Add declarations.
1297	* include/bits/basic_file.h: Remove.
1298	* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1299	Declare generic types, specialization.
1300        * config/io/basic_file_stdio.cc: Definitions.
1301	* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1302	Declare generic types.
1303	* include/Makefile.am (bits_headers): Remove basic_file.h.
1304	(extra_target_headers): Change basic_file_model.h to basic_file.h.
1305	(stamp-target): Same.
1306
1307	* include/bits/stl_alloc.h: Tweaks.
1308	* include/bits/localefwd.h: Same.
1309
13102002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
1311
1312	* include/bits/locale_facets.tcc (collate::do_hash): Fix.
1313	* testsuite/22_locale/collate_members_char.cc (test03): New test.
1314	* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1315
13162002-02-10  Phil Edwards  <pme@gcc.gnu.org>
1317
1318	* include/bits/stl_algo.h (transform (both signatures), generate_n):
1319	Use __typeof__ in concept checks.
1320
13212002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1322
1323	* include/bits/stl_algo.h (__median, for_each, find, find_if,
1324	adjacent_find, count, count_if, search, search_n, swap_ranges,
1325	transform, replace, replace_if, replace_copy, replace_copy_if,
1326	generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1327	unique, unique_copy, reverse, reverse_copy):  Doxygenate.
1328
13292002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1330
1331	* include/bits/locale_facets.h
1332	(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1333	(__timepunct<_CharT>::_M_initialize_timepunct): Same.
1334	(__timepunct<_CharT>::_M_put_helper): Same.
1335	(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1336
1337	* include/bits/fstream.tcc (filebuf::underflow): Remove
1338	__codecvt_type typedef.
1339	(filebuf::_M_convert_to_external): Same.
1340
13412002-02-08  Phil Edwards  <pme@gcc.gnu.org>
1342
1343	* docs/doxygen/TODO:  Update.
1344	* docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
1345	* docs/doxygen/mainpage.html:  Add TODO list link.
1346	* docs/doxygen/user.cfg.in:  Add @doctodo hook.
1347	* docs/doxygen/tables.html:  New file, emoty structure only.
1348
1349	* include/bits/stl_iterator.h:  Doxygenate just about everything.
1350	* include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
1351	* include/bits/stl_iterator_base_types.h:  Add notes.
1352
13532002-02-07  Stephan Buys  <sbproxy@icon.co.za>
1354
1355	* include/bits/stl_map.h:  Tweak doxygen markup.
1356	* include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
1357	* include/bits/stl_vector.h:  Likewise.
1358
13592002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1360
1361	libstdc++/5286
1362	libstdc++/3860
1363	* include/std/std_fstream.h (filebuf::__file_type): Change to
1364	__basic_file<char>.
1365	(filebuf::_M_convert_to_external): Declare.
1366	* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1367	codecvt bits for wide streams.
1368	(filebuf::_M_really_overflow): Use it.
1369	(filebuf::underflow): Use codecvt.
1370	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1371	(codecvt<__enc_traits>::do_out): Deal with partial.
1372	(codecvt<__enc_traits>::do_encoding): Return something useful.
1373	* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1374	wchar_t.
1375	* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1376	Change expected encoding output.
1377	(test02): Same.
1378	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1379	(test02): Same.
1380
13812002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1382            Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
1383
1384	* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1385	(basic_ios::widen): Same.
1386
13872002-02-07  Paolo Carlini  <pcarlini@unitus.it>
1388
1389	* testsuite/22_locale/money_get_members_char.cc:
1390	Add comment, tidy up.
1391	(test01): more "en_HK" tests (without showbase).
1392	* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1393
13942002-02-06  Loren Rittle <ljrittle@acm.org>
1395
1396	* config/locale/c_locale_generic.cc: Do not trust
1397	_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1398	set by configure.
1399
14002002-02-06  Loren Rittle <ljrittle@acm.org>
1401
1402	* acinclude.m4: Add C++ linkage check for strtof.
1403	* aclocal.m4: Rebuilt.
1404	* config.h.in: Rebuilt.
1405	* configure: Rebuilt.
1406	* config/locale/c_locale_generic.cc: Conditionally include
1407	<ieeefp.h>.  Improve handling and error checking of float
1408	and long double input for non-C99 configurations.
1409
14102002-02-06  Paolo Carlini  <pcarlini@unitus.it>
1411
1412	* include/bits/locale_facets.tcc (money_get::do_get(string)):
1413	In case money_base::symbol deal properly with multi-char sign
1414	for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1415	* testsuite/22_locale/money_get_members_char.cc: Add test07.
1416	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1417
14182002-02-05  Paolo Carlini  <pcarlini@unitus.it>
1419
1420	* include/bits/locale_facets.tcc (money_get::do_get(string)):
1421	First construct a tentative returned string, then, only if the
1422	parsing succeeds, copy it into the string passed by reference.
1423	* testsuite/22_locale/money_get_members_char.cc: Add test06.
1424	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1425
14262002-02-04  Phil Edwards  <pme@gcc.gnu.org>
1427
1428	* docs/doxygen/TODO:  Impl-defined behavior now documented...
1429	* docs/html/17_intro/howto.html:  ...here.
1430	* docs/doxygen/mainpage.doxy:  Remove, rename...
1431	* docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
1432	* docs/doxygen/style.css:  Add small text.
1433	* docs/doxygen/run_doxygen:  Adjust for new mainpage.
1434	* docs/doxygen/user.cfg.in:  Likewise.
1435
14362002-02-04  Stephan Buys  <sbproxy@icon.co.za>
1437
1438	* include/bits/stl_map.h:  Initial doxygen markup.
1439	* include/std/std_fstream.h:  Initial doxygen markup.
1440
14412002-02-04  Paolo Carlini  <pcarlini@unitus.it>
1442
1443	libstdc++/5579
1444	* include/bits/locale_facets.tcc (money_get::do_get(string)):
1445	Deal correctly with !(__io.flags() & ios_base::showbase)
1446	for case money_base::symbol.
1447	* testsuite/22_locale/money_get_members_char.cc: Add test05.
1448	* testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1449
14502002-02-02  Paolo Carlini  <pcarlini@unitus.it>
1451
1452	* testsuite/22_locale/operators.cc
1453	(gnu_collate::do_compare()): Add return statement to
1454	suppress "no return statement" warning.
1455
14562002-02-01  Paolo Carlini  <pcarlini@unitus.it>
1457
1458	* testsuite/27_io/ostream_manip.cc: Enable test02.
1459
14602002-02-01  Phil Edwards  <pme@gcc.gnu.org>
1461
1462	* docs/html/documentation.html:  Update for 3.0.96.
1463	* docs/html/faq/index.html:  Update for 3.0.96.
1464	* docs/html/faq/index.txt:  Regenerated.
1465	* docs/doxygen/TODO:  Update notes.
1466	* docs/html/17_intro/howto.html:  Initial impl-specific listing.
1467
14682002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
1469
1470	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1471	Initialize all data members in copy ctor. Make ctors explicit.
1472	(__enc_traits::__enc_traits()): Default ctor does nothing.
1473	(__enc_traits::_M_init): Guard against multiple iconv_opens.
1474	* include/std/std_sstream.h (basic_stringbuf): Make data members
1475	protected.
1476	* include/std/std_fstream.h (basic_filebuf): Same.
1477	* include/std/std_streambuf.h: Tweak.
1478	* include/bits/streambuf.tcc: Same.
1479	* include/bits/sstream.tcc: Same.
1480	* include/bits/fstream.tcc: Same.
1481
14822002-01-31  Loren Rittle <ljrittle@acm.org>
1483
1484	* testsuite/22_locale/codecvt_members_char_char.cc: Do not
1485	allow NULL argument to be passed to setenv().
1486	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1487	* testsuite/22_locale/collate_members_char.cc: Likewise.
1488	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1489	* testsuite/22_locale/ctype_members_char.cc: Likewise.
1490	* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1491	* testsuite/22_locale/messages_members_char.cc: Likewise.
1492	* testsuite/22_locale/money_get_members_char.cc: Likewise.
1493	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1494	* testsuite/22_locale/money_put_members_char.cc: Likewise.
1495	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1496	* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1497	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1498	* testsuite/22_locale/num_get_members_char.cc: Likewise.
1499	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1500	* testsuite/22_locale/num_put_members_char.cc: Likewise.
1501	* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1502	* testsuite/22_locale/numpunct_members_char.cc: Likewise.
1503	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1504	* testsuite/22_locale/time_get_members_char.cc: Likewise.
1505	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1506	* testsuite/22_locale/time_put_members_char.cc: Likewise.
1507	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1508
15092002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
1510
1511	* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1512
1513	* ChangeLog-2001: Fix spelling errors...
1514	* docs/html/17_intro/RELEASE-NOTES: Update.
1515	* docs/html/17_intro/TODO: Update.
1516	* README (file): Update.
1517
15182002-01-30  Loren Rittle <ljrittle@acm.org>
1519
1520	* config/locale/c_locale_generic.cc: Check errno for ERANGE
1521	instead of non-zero to aid portability.
1522
15232002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1524
1525	* docs/html/22_locale/messages.html: Fix example code.
1526
15272002-01-30  Richard Henderson  <rth@redhat.com>
1528
1529	* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1530	out from test03 and templatize.
1531	(test03): Use it.
1532
15332002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1534
1535	* config/locale/numpunct_members_gnu.cc
1536	(numpunct<char, wchar_t>::_M_initialize_numpunct()):
1537	Fix initialization of _M_grouping for locales which have
1538	_M_thousands_sep == '\0'(L'\0', respectively).
1539	* testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1540
15412002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1542
1543	* testsuite/27_io/ostream_inserter_arith.cc (test03):
1544	Better fix for 32/64 bit architectures, avoiding the
1545	implicit assumption that CHAR_BIT == 8.
1546
15472002-01-28  Phil Edwards  <pme@gcc.gnu.org>
1548
1549	* Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
1550	* Makefile.in:  Regenerate.
1551
1552	* docs/doxygen/run_doxygen:  Update, mostly for man pages.
1553	* docs/doxygen/Intro.3:  Update.
1554	* docs/doxygen/TODO:  Update.
1555	* docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
1556	* docs/doxygen/mainpage.doxy:  Update.
1557	* docs/doxygen/user.cfg.in:  Update for header rename.  Also
1558	regenerate comments and variables with 1.2.12.
1559	* docs/doxygen/maint.cfg.in:  Remove file.
1560
1561	* include/bits/stl_relops.h:  Doxygenate.
1562	* include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
1563
1564	* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1565	include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1566	include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1567	include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1568	include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1569	include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1570	include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1571	include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1572	include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1573	include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1574	include/ext/hash_set, include/ext/iterator, include/ext/memory,
1575	include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1576	include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1577	include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1578	include/std/std_algorithm.h, include/std/std_bitset.h,
1579	include/std/std_complex.h, include/std/std_deque.h,
1580	include/std/std_fstream.h, include/std/std_functional.h,
1581	include/std/std_iomanip.h, include/std/std_ios.h,
1582	include/std/std_iosfwd.h, include/std/std_iostream.h,
1583	include/std/std_istream.h, include/std/std_iterator.h,
1584	include/std/std_limits.h, include/std/std_list.h,
1585	include/std/std_locale.h, include/std/std_map.h,
1586	include/std/std_memory.h, include/std/std_numeric.h,
1587	include/std/std_ostream.h, include/std/std_queue.h,
1588	include/std/std_set.h, include/std/std_sstream.h,
1589	include/std/std_stack.h, include/std/std_stdexcept.h,
1590	include/std/std_streambuf.h, include/std/std_string.h,
1591	include/std/std_utility.h, include/std/std_valarray.h,
1592	include/std/std_vector.h:  Add/correct @file doxygen hook.
1593
1594	* include/ext/memory:  Doxygenate most of rest of file.
1595	* libsupc++/exception:  Doxygen output formatting.
1596	* libsupc++/new:  Say which header it is.
1597
1598	* testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
1599	* docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
1600	* docs/html/23_containers/howto.html:  Describe O(n) list::size().
1601	* docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
1602
16032002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1604            Charles Leggett <CGLeggett@lbl.gov>
1605
1606	* testsuite/27_io/filebuf_members.cc (test_05): Add test.
1607
16082002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1609
1610	* testsuite/27_io/ostream_inserter_arith.cc (test03):
1611	Fix to deal correctly with both 32 bit and 64 bit architectures
1612
16132002-01-25  Loren Rittle <ljrittle@acm.org>
1614
1615	* testsuite/thread/pthread1.cc: Use one condition variable
1616	per predicate instead of tricky use of one condition variable.
1617
16182002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
1619
1620	* include/bits/fstream.tcc (filebuf::close()): Fix close for input
1621	streams.
1622	(filebuf::_M_really_overflow): Match indeterminate and sync calls.
1623	* testsuite/27_io/filebuf.cc: Compile only.
1624	* testsuite/27_io/filebuf_members.cc: Move tests to here.
1625	* testsuite/27_io/filebuf_virtuals.cc: And here.
1626	Revert sungetc, sync changes for expected values.
1627	* testsuite/27_io/filebuf-*: Move to...
1628	* testsuite/27_io/filebuf_virtuals-*: ...here.
1629	* testsuite/27_io/istream.cc: Compile only, activate.
1630	* testsuite/27_io/ostream.cc: Same.
1631	* testsuite/27_io/iostream.cc: New.
1632	* testsuite/27_io/iostream_members.cc: New.
1633
16342002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
1635
1636	* testsuite/thread/pthread1.cc: Enable on cygwin.
1637	* testsuite/thread/pthread2.cc: Likewise.
1638	* testsuite/thread/pthread3.cc: Likewise.
1639	* testsuite/thread/pthread4.cc: Likewise.
1640	* testsuite/thread/pthread5.cc: Likewise.
1641	* testsuite/thread/pthread6.cc: Likewise.
1642
16432002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1644
1645	* testsuite/27_io/ostream_inserter_char.cc (test07): New.
1646
16472002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1648
1649	* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1650	const, tweak.
1651	(basic_ios::fill(char_type)): Use fill().
1652	* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1653	(basic_ios::narrow): Same.
1654	(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1655	if they are invalid.
1656	(basic_ios::init): Comment.
1657	* testsuite/27_io/ios_init.cc (test02): New.
1658
16592002-01-24  Phil Edwards  <pme@gcc.gnu.org>
1660
1661	* include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
1662	* include/bits/stl_algo.h:  Include stl_tempbuf.h.
1663	* include/ext/memory:  Do not include stl_tempbuf.h.
1664	(temporary_buffer):  Add doxygen hook.
1665	(__get_temporary_buffer, get_temporary_buffer,
1666	return_temporary_buffer):  Move back to std:: header...
1667	* include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
1668	* include/ext/rope:  Do not include stl_tempbuf.h.
1669	* include/ext/stl_hashtable.h:  Likewise.
1670	* include/std/std_algorithm.h:  Likewise.
1671	* testsuite/20_util/temporary_buffer.cc:  New file.
1672
16732002-01-24  andrew@andypo.net
1674	    (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
1675
1676	libstdc++/5432
1677	* include/bits/ios_base.h: Use _Atomic_word for reference counts.
1678	* include/bits/localefwd.h: Likewise.
1679	Also use for std::locale::id::_S_highwater.
1680	* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1681	* src/locale.cc: Support new usage of _Atomic_word.
1682	(std::locale::classic): Guard entire function against reentry.
1683	* src/localename.cc: Support new usage of _Atomic_word.
1684
16852002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
1686
1687	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1688	_GLIBCPP_HAVE_SETENV.
1689	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1690	* testsuite/22_locale/collate_members_char.cc (test02): Same.
1691	* testsuite/22_locale/ctype_members_char.cc (test03): Same.
1692	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1693	* testsuite/22_locale/messages_members_char.cc (test02): Same.
1694	* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1695	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1696	* testsuite/22_locale/money_put_members_char.cc (test04): Same.
1697	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1698	* testsuite/22_locale/num_get_members_char.cc (test03): Same.
1699	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1700	* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1701	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1702	* testsuite/22_locale/time_get_members_char.cc (test07): Same.
1703	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1704	* testsuite/22_locale/time_put_members_char.cc (test03): Same.
1705	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1706	* testsuite/22_locale/num_put_members_char.cc (test03): Same.
1707	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1708	* aclocal.m4: Regenerate.
1709	* configure: Regenerate.
1710	* config.h.in: Regenerate.
1711
17122002-01-23  Loren Rittle <ljrittle@acm.org>
1713
1714	* testsuite/thread/pthread1.cc: New test.
1715	* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1716	* testsuite/thread/pthread3.cc: Likewise.
1717	* testsuite/thread/pthread4.cc: New test adapted from
1718	http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1719	* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1720	* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1721
17222002-01-23  Richard Henderson  <rth@redhat.com>
1723
1724	PR libstdc++/5198
1725	* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1726	CAS on the cpu variants that support it.  Add versions that use
1727	TAS and that disable interrupts.
1728	(__atomic_add): Use __exchange_and_add to guarantee atomicity.
1729
17302002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
1731
1732	* include/bits/locale_facets.tcc: Remove old comments.
1733
17342002-01-23  Andreas Tobler  <toa@pop.agri.ch>
1735
1736	* include/bits/locale_facets.tcc (__convert_to_v): Change template
1737	parameter to _Tv.
1738	(__convert_from_v): Same.
1739
17402002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1741
1742	* include/bits/locale_facets.h (num_get::_M_extract_int): Change
1743	prototype.
1744	* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1745	__max_digits checks, adjust arguments.
1746	(num_get::do_get(*)): Changeup.
1747
17482002-01-23  Loren Rittle <ljrittle@acm.org>
1749
1750        * config/locale/c_locale_generic.cc: Fix typename usage.
1751
17522002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1753
1754	* config/locale/c_locale_generic.cc: Fix.
1755
17562002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1757
1758	* docs/html/22_locale/messages.html: Remove angle brackets.
1759	* docs/html/17_intro/TODO: Add.
1760
17612002-01-22  Paolo Carlini  <pcarlini@unitus.it>
1762
1763	* testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1764	* testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1765	* testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1766	* testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1767
17682002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1769
1770	Audit for LANG independence.
1771	* include/bits/localefwd.h: Tweaks.
1772	* include/bits/locale_facets.tcc (money_get::do_get(long double)):
1773	Use __convert_to_v.
1774	(time_get::do_get_year): Same.
1775	(__convert_from_v): Add.
1776	(num_put::_M_convert_float): Use.
1777	(num_put::_M_convert_int): Same.
1778	(money_put::do_put): Same.
1779
1780	* src/locale-inst.cc: Add instantiations for __convert_from_v.
1781	* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1782	* config/locale/time_members_generic.cc:
1783	* config/locale/messages_members_gnu.cc: Same.
1784	* config/locale/messages_members_gnu.h: Same.
1785
1786	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1787	* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1788	* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1789	* testsuite/22_locale/collate_members_char.cc (test02): New.
1790	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1791	* testsuite/22_locale/ctype_members_char.cc (test03): New.
1792	* testsuite/22_locale/messages_members_char.cc (test02): New.
1793	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1794	* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1795	* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1796	* testsuite/22_locale/money_get_members_char.cc (test04): New.
1797	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1798	* testsuite/22_locale/money_put_members_char.cc (test04): New.
1799	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1800	* testsuite/22_locale/numpunct_members_char.cc (test02): New.
1801	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1802	* testsuite/22_locale/time_put_members_char.cc (test03): New.
1803	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1804	* testsuite/22_locale/time_get_members_char.cc (test07): New.
1805	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1806	* testsuite/22_locale/num_get_members_char.cc (test03): New.
1807	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1808	* testsuite/22_locale/num_put_members_char.cc (test03): New.
1809
1810	* testsuite/22_locale/time_get_members_char.cc: Fixups for global
1811	locale issues.
1812	* testsuite/22_locale/time_get_members_char.cc: Same.
1813
18142002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1815
1816	libstdc++/5280
1817	* include/bits/localefwd.h: Tweak comments.
1818	* include/bits/locale_facets.h (__convert_to_v): Add.
1819	* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1820	(num_get::do_get(float)): Same.
1821	(num_get::do_get(long double)): Same.
1822	(num_get::do_get(bool)): Same.
1823	(num_get::do_get(long)): Same.
1824	(num_get::do_get(long long)): Same.
1825	(num_get::do_get(unsigned int)): Same.
1826	(num_get::do_get(unsigned short)): Same.
1827	(num_get::do_get(unsigned long)): Same.
1828	(num_get::do_get(unsigned long long)): Same.
1829	* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1830	* config/locale/c_locale_generic.cc: Same.
1831
18322002-01-22  Loren Rittle <ljrittle@acm.org>
1833
1834	* include/Makefile.am (c_base_builddir): Remove redundant slash.
1835	(std_builddir): Likewise.
1836	(std_headers_rename): Fix cut-n-paste typo.
1837	(install-data-local): Concat path per element instead of once to
1838	first element of list.
1839	* include/Makefile.in: Rebuilt.
1840
18412002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1842
1843	* config/os/aix/bits/ctype_noninline.h: Fix formatting.
1844	* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1845	* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1846
18472002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1848
1849	* include/bits/locale_facets.h (ctype<char>::classic_table):
1850	Remove definition.
1851	(ctype<char>::_S_ctable): Remove.
1852	* config/os/gnu-linux/bits/ctype_noninline.h
1853	(ctype<char>::_S_table): Remove definition.
1854	(ctype<char>::classic_table): Define.
1855	(ctype<char>::ctype): Replace _S_ctable with classic_table().
1856	* config/os/aix/bits/ctype_noninline.h: Same.
1857	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1858	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1859	* config/os/djgpp/bits/ctype_noninline.h: Same.
1860	* config/os/generic/bits/ctype_noninline.h: Same.
1861	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
1862	* config/os/hpux/bits/ctype_noninline.h: Same.
1863	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1864	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1865	* config/os/mingw32/bits/ctype_noninline.h: Same.
1866	* config/os/newlib/bits/ctype_noninline.h: Same.
1867	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1868	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1869	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1870
18712002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1872
1873	* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1874	of _pctype. Use to define _S_ctable.  Add definition for alternate
1875	ctor.  Initialise _M_ctable to _S_ctable in ctors.
1876	(do_toupper, do_tolower): Use inline code appropriate for C-locale
1877	rather than ::toupper, ::tolower.
1878
18792002-01-18  Loren Rittle <ljrittle@acm.org>
1880
1881	* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1882	Add specialization for FreeBSD systems only to avoid losing test
1883	only due to extra precision unmentioned in system headers.
1884
18852002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
1886
1887	* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1888
18892002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1890
1891	* testsuite/testsuite_hooks.h: Fix comment typo.  Memory
1892	limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1893
18942002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1895
1896	* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1897
18982002-01-17  David Edelsohn  <edelsohn@gnu.org>
1899
1900	* configure.target: Define OPT_LDFLAGS for AIX case.
1901
19022002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1903
1904	* include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1905	__glibcpp_double_has_quiet_NaN): Correct mispelling.
1906
19072002-01-17  Andreas Tobler  <toa@pop.agri.ch>
1908
1909	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1910
19112002-01-16  David Edelsohn  <dje@watson.ibm.com>
1912
1913	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1914	SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
1915	* aclocal.m4: Regenerate.
1916	* configure: Regenerate.
1917
19182002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1919
1920	* include/Makefile.am (c_base_headers_rename): New.
1921	(c_base_headers_extra): New.
1922	(stamp-c_base): Modify.
1923	(install-data-local): Use both.
1924	* include/Makefile.in: Regenerate.
1925	* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1926	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1927	cstdio ctime cwctype]: Move to..
1928	* include/c/std_*: Here.
1929	* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1930	csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1931	cstdio ctime cwctype]: Move to..
1932	* include/c_std/std_*: Here.
1933
1934	Alexandre Oliva  <aoliva@redhat.com>
1935	* include/Makefile.am (.PRECIOUS): Add rule.
1936	* include/Makefile.in: Regenerate.
1937
19382002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1939            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1940
1941	* include/bits/stl_iterator.h (reverse_iterator::_M_current):
1942	Deuglify, should be current.
1943	(back_insert_iterator::_M_container): Deuglify, should be container.
1944	(front_insert_iterator::_M_container): Same.
1945	(insert_iterator::_M_container): Same.
1946	* testsuite/24_iterators/reverse_iterator.cc: Add check.
1947	* testsuite/24_iterators/back_insert_iterator.cc: Add check.
1948	* testsuite/24_iterators/front_insert_iterator.cc: Same.
1949	* testsuite/24_iterators/insert_iterator.cc: Same.
1950
19512002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1952
1953	* include/bits/locale_facets.h (ctype<char>::classic_table): Make
1954	static.
1955	(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1956	* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1957	* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1958	* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1959	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1960	* config/os/newlib/bits/ctype_noninline.h: Same.
1961	* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1962	* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1963	* config/os/hpux/bits/ctype_noninline.h: Same.
1964	* config/os/djgpp/bits/ctype_noninline.h: Same.
1965	* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1966	* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1967	* config/os/aix/bits/ctype_noninline.h: Same.
1968
1969	Testcase by Dietmar K�hl via Peter Schmid
1970	* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1971	classic_table().
1972
19732002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1974
1975	* libmath/signbitl.c: Copyright years as list, not range.
1976	* libmath/Makefile.am: Same.
1977	* libmath/Makefie.in: Regenerate.
1978	* libmath/signbit.c: Same.
1979	* libmath/nan.c: Same.
1980	* libmath/copysignf.c: Same.
1981	* libmath/signbitf.c: Same.
1982	* testsuite/22_locale/money_get_members_char.cc: Same.
1983	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1984	* testsuite/22_locale/money_put_members_char.cc: Same.
1985	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1986	* testsuite/22_locale/time_get_members_char.cc: Same.
1987	* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1988	* testsuite/22_locale/time_put_members_char.cc: Same.
1989	* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1990	* testsuite/21_strings/nonmember.cc: Same.
1991	* testsuite/21_strings/compare.cc: Same.
1992	* testsuite/27_io/stringstream.cc: Same.
1993	* testsuite/27_io/stringbuf.cc: Same.
1994	* testsuite/27_io/filebuf.cc: Same.
1995	* testsuite/27_io/ios_manip_basefield.cc: Same.
1996	* testsuite/27_io/ios_manip_fmtflags.cc: Same.
1997	* include/bits/cpp_type_traits.h: Same.
1998	* include/bits/generic_shadow.h: Same.
1999	* include/bits/gslice_array.h: Same.
2000	* include/bits/gslice.h: Same.
2001	* include/bits/indirect_array.h: Same.
2002	* include/bits/slice_array.h: Same.
2003	* include/bits/sstream.tcc: Same.
2004	* include/bits/streambuf_iterator.h: Same.
2005	* include/bits/valarray_array.tcc: Same.
2006	* include/bits/valarray_meta.h: Same.
2007	* include/bits/valarray_array.h: Same.
2008	* config/os/mingw32/bits/ctype_noninline.h: Same.
2009	* config/os/mingw32/bits/ctype_base.h: Same.
2010	* config/os/hpux/bits/ctype_noninline.h: Same.
2011	* config/os/hpux/bits/ctype_base.h: Same.
2012	* config/os/gnu-linux/bits/ctype_noninline.h: Same.
2013	* config/os/gnu-linux/bits/ctype_base.h: Same.
2014	* config/os/generic/bits/ctype_noninline.h: Same.
2015	* config/os/generic/bits/ctype_base.h: Same.
2016
2017	* libsupc++/tinfo.h: Tweaks.
2018
20192002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2020
2021	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2022	* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2023	* testsuite/22_locale/ctype_members_char.cc: Tweak.
2024
20252002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2026
2027	* include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2028	(num_put::do_put(void*)): Fix.
2029	* testsuite/22_locale/num_put_members_char.cc (test02): Add.
2030	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2031	* testsuite/22_locale/num_get_members_char.cc (test02): Add
2032	long double, void, bool types.
2033	* testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2034
20352002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2036	    Alexandre Oliva  <aoliva@redhat.com>
2037
2038	* libmath/Makefile.am (LINK): Add --tag CC.
2039	* libmath/Makefile.in: Regenerate.
2040
20412002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2042
2043	* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2044	of character to attribute mapping table.
2045
20462002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
2047
2048	* testsuite/26_numerics/c99_classification_macros_c.cc
2049	Remove dg-error and dg-excess-errors comments.
2050
20512002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
2052
2053	* include/bits/locale_facets.tcc (time_put::put): Correct output
2054	iterator positions.
2055	* testsuite/22_locale/time_put_members_char.cc (test02): Add.
2056	* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2057	* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2058	* testsuite/22_locale/time_get_members_char.cc (test06): Add.
2059
20602002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2061
2062	* docs/html/17_intro/porting-howto.xml: Update filebuf section.
2063
20642002-01-14  Paolo Carlini  <pcarlini@unitus.it>
2065	    Nathan Myers  <ncm@cantrip.org>
2066
2067	* include/bits/basic_string.h
2068	(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2069	temporaries (i.e., call _M_replace_safe) when possible.
2070	(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2071	(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2072	(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2073	(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2074	(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2075	* include/bits/basic_string.tcc
2076	(replace(__pos1, __n1, __str, __pos2, __n2)): Call
2077	replace(__pos, __n1, __s, __n2).
2078	* testsuite/21_strings/replace.cc (test03): New testcases.
2079
2080	* include/bits/basic_string.h (insert(__pos, __s, __n)):
2081	Adjust comparison wrt overflow.
2082
20832002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2084
2085	* include/Makefile.am (std_headers_rename): New variable.
2086	(install-data-local): Use it.
2087	* include/Makefile.in: Regenerate.
2088
20892002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2090
2091	* include/bits/locale_facets.tcc (money_put::do_put(string):
2092	Correct output iterator value.
2093	* testsuite/22_locale/money_put_members_char.cc (test03): Add.
2094	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2095
20962002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2097
2098	* include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
2099	previous commit.
2100
21012002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2102
2103	* include/Makefile.am (std_headers):  Update list with new names.
2104	(stamp-std):  Link to standardized name.
2105	* include/Makefile.in:  Regenerate.
2106
2107	* include/std/algorithm, include/std/bitset, include/std/complex,
2108	include/std/deque, include/std/fstream, include/std/functional,
2109	include/std/iomanip, include/std/ios, include/std/iosfwd,
2110	include/std/iostream, include/std/istream, include/std/iterator,
2111	include/std/limits, include/std/list, include/std/locale,
2112	include/std/map, include/std/memory, include/std/numeric,
2113	include/std/ostream, include/std/queue, include/std/set,
2114	include/std/sstream, include/std/stack, include/std/stdexcept,
2115	include/std/streambuf, include/std/string, include/std/utility,
2116	include/std/valarray, include/std/vector:  Rename to...
2117
2118	* include/std/std_algorithm.h, include/std/std_bitset.h,
2119	include/std/std_complex.h, include/std/std_deque.h,
2120	include/std/std_fstream.h, include/std/std_functional.h,
2121	include/std/std_iomanip.h, include/std/std_ios.h,
2122	include/std/std_iosfwd.h, include/std/std_iostream.h,
2123	include/std/std_istream.h, include/std/std_iterator.h,
2124	include/std/std_limits.h, include/std/std_list.h,
2125	include/std/std_locale.h, include/std/std_map.h,
2126	include/std/std_memory.h, include/std/std_numeric.h,
2127	include/std/std_ostream.h, include/std/std_queue.h,
2128	include/std/std_set.h, include/std/std_sstream.h,
2129	include/std/std_stack.h, include/std/std_stdexcept.h,
2130	include/std/std_streambuf.h, include/std/std_string.h,
2131	include/std/std_utility.h, include/std/std_valarray.h,
2132	include/std/std_vector.h:  ...this.
2133
21342002-01-11  Loren Rittle <ljrittle@acm.org>
2135
2136	* include/Makefile.am (extra_target_headers): New list of all
2137	target files built with ad hoc naming rules.
2138	(stamp-*): Handle LN_S failure in manner portable across make
2139	implementations.
2140	(install-data-local): Install header files from human-maintained
2141	file lists and directory components instead of non-robust find.
2142	* include/Makefile.in: Rebuilt.
2143
21442002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
2145
2146	* include/bits/locale_facets.tcc (money_get::do_get(string)):
2147	Check for zero-length negative sign before adding it to output
2148	string.
2149	(money_get::do_get(long double)): Return beg.
2150	* testsuite/22_locale/money_get_members_char.cc (test02): Add
2151	iterator checks.
2152	* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2153
21542002-01-10  David Seymour  <seymour_dj@yahoo.com>
2155
2156	libstdc++/5331
2157	* include/bits/locale_facets.h (num_get<>): Return advanced iterator
2158	for _M_extract_float and _M_extract_int
2159	* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2160	(num_get<>::_M_extract_int): Likewise, all callers changed
2161	* testsuite/22_locale/num_get_members_char.cc: Testcase
2162
21632002-01-09  Paolo Carlini <pcarlini@unitus.it>
2164
2165        * libsupc++/exception (bad_exception): Add comment.
2166        * libsupc++/new (bad_alloc): Same.
2167        * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2168
21692002-01-09  Paolo Carlini <pcarlini@unitus.it>
2170
2171	libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2172	that the destructors should be removed from the descriptions
2173	in the standard: writing them explicitly allows the vtable
2174	heuristic to work. For additional information see:
2175	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2176	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2177	http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2178	* libsupc++/exception (bad_exception::~bad_exception()):
2179	Reintroduce declaration.
2180	* libsupc++/new (bad_alloc::~bad_alloc()): Same.
2181	* libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2182	(bad_typeid::~bad_typeid()): Same.
2183	* libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2184	Reintroduce definition.
2185	* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2186	* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2187	(bad_typeid::~bad_typeid()): Same.
2188
21892002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2190
2191	* include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2192	* include/Makefile.in: Regenerate.
2193
21942002-01-09  Bo Thorsen  <bo@suse.co.uk>
2195
2196	* config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2197	definition.
2198
21992002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2200
2201        libstdc++/2913
2202        libstdc++/4879
2203	* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2204	return value of _M_file->sync().
2205	(filebuf::showmanyc): Check for is_open.
2206	* include/std/fstream (filebuf::sync): Tweak.
2207	* testsuite/27_io/filebuf.cc: Tweak.
2208
22092002-01-08  John Fardo  <jfardo@laurelnetworks.com>
2210	    Brad Garcia  <garsh@attbi.com>
2211
2212	* testsuite/27_io/filebuf_members.cc: Add test.
2213
22142002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2215 	    Craig Rodrigues  <rodrigc@mediaone.net>
2216
2217	libstdc++/5174
2218	* po/Makefile.am (mkinstalldirs): Add.
2219	* po/Makefile.in: Regenerate.
2220
22212002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
2222
2223	* testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2224	testsuite/lib/prune.exp: Delete lines ":In function ..."  from
2225	compiler output.
2226	* testsuite/23_containers/map_operators.cc: Remove
2227	dg-excess-errors comment.
2228	* testsuite/23_containers/set_operators.cc: Likewise.
2229
22302002-01-06  Paolo Carlini  <pcarlini@unitus.it>
2231
2232	* include/bits/stl_function.h:  Remove two lines of comments;
2233	adjust copyright years.
2234
22352002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
2236
2237	* include/Makefile.am (std_headers): Remove cXXX from list.
2238	(c_base_srcdir): No bits subdirectory.
2239	(c_base_builddir): Same.
2240	(c_base_headers): Adjust names, add ciso646.
2241	(bits_headers): Remove std_xxx.h headers.
2242	* include/Makefile.in: Regenerate.
2243
2244	* include/ext/iterator: Adjust includes.
2245	* include/ext/ropeimpl.h: Same.
2246	* include/ext/stl_hash_fun.h: Same.
2247	* include/ext/algorithm: Same.
2248
2249	* include/backward/bvector.h: Adjust includes.
2250	* include/backward/vector.h: Same.
2251	* include/backward/strstream: Same.
2252	* include/backward/streambuf.h: Same.
2253	* include/backward/stack.h: Same.
2254	* include/backward/set.h: Same.
2255	* include/backward/queue.h: Same.
2256	* include/backward/multiset.h: Same.
2257	* include/backward/multimap.h: Same.
2258	* include/backward/map.h: Same.
2259	* include/backward/list.h: Same.
2260	* include/backward/iterator.h: Same.
2261	* include/backward/iostream.h: Same.
2262	* include/backward/iomanip.h: Same.
2263	* include/backward/fstream.h: Same.
2264	* include/backward/deque.h: Same.
2265	* include/backward/complex.h: Same.
2266
2267	* include/bits/std_algorithm.h: Move to...
2268	* include/std/algorithm: ...here.
2269	* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2270	std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2271	std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2272	std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2273	std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2274	std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2275	std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2276	Same.
2277
2278	* include/c_std/bits/std_cassert.h: Move to...
2279	* include/c_std/cassert: Here.
2280	* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2281	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2282	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2283	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2284	std_cwctype.h: Same.
2285	* include/c_std/cmath: Adjust cmath.tcc include.
2286	* include/c_std/cstdlib: Adjust includes.
2287	* include/c_std/cwchar: Same.
2288	* include/c_std/ctime: Same.
2289	* include/c_std/cstring: Same.
2290	* include/c_std/cstdio: Same.
2291	* include/c_std/bits: Remove directory.
2292
2293	* include/c/bits/std_cassert.h: Move to...
2294	* include/c/cassert: Here.
2295	* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2296	std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2297	std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2298	std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2299	std_cwctype.h: Same.
2300	* include/c/bits: Remove directory.
2301
2302	* include/std/cwctype: Remove.
2303	* include/std/cwchar: Remove.
2304	* include/std/ctime: Remove.
2305	* include/std/cstring: Remove.
2306	* include/std/cstdlib: Remove.
2307	* include/std/cstdio: Remove.
2308	* include/std/cstddef: Remove.
2309	* include/std/cstdarg: Remove.
2310	* include/std/csignal: Remove.
2311	* include/std/csetjmp: Remove.
2312	* include/std/cmath: Remove.
2313	* include/std/clocale: Remove.
2314	* include/std/climits: Remove.
2315	* include/std/ciso646: Remove.
2316	* include/std/cfloat: Remove.
2317	* include/std/cerrno: Remove.
2318	* include/std/cctype: Remove.
2319	* include/std/cassert: Remove.
2320
2321	* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2322	files and subsituting <xxx>.
2323	* include/bits/valarray_array.h: Same.
2324	* include/bits/stl_uninitialized.h: Same.
2325	* include/bits/stl_alloc.h: Same.
2326	* include/bits/stl_algobase.h: Same.
2327	* include/bits/sstream.tcc: Same.
2328	* include/bits/pthread_allocimpl.h: Same.
2329	* include/bits/ostream.tcc: Same.
2330	* include/bits/localefwd.h: Same.
2331	* include/bits/locale_facets.tcc: Same.
2332	* include/bits/locale_facets.h: Same.
2333	* include/bits/istream.tcc: Same.
2334	* include/bits/char_traits.h: Same.
2335	* include/bits/boost_concept_check.h: Same.
2336	* include/bits/basic_file.h: Same.
2337	* include/std/bitset: Same.
2338	* include/std/complex: Same.
2339	* include/std/fstream: Same.
2340	* include/std/functional: Same.
2341	* include/std/ios: Same.
2342	* include/std/iostream: Same.
2343	* include/std/ostream: Same.
2344	* include/std/sstream: Same.
2345	* include/std/streambuf: Same.
2346	* include/std/string: Same.
2347	* include/std/iterator: Same.
2348	* include/std/valarray: Same.
2349
2350	* src/ios.cc: Adjust includes.
2351	* src/valarray-inst.cc: Same.
2352	* src/string-inst.cc: Same.
2353	* src/stl-inst.cc: Same.
2354	* src/stdexcept.cc: Same.
2355	* src/misc-inst.cc: Same.
2356	* src/localename.cc: Same.
2357	* src/locale-inst.cc: Same.
2358	* src/locale.cc: Same.
2359	* src/limits.cc: Same.
2360	* src/concept-inst.cc: Same.
2361	* src/complex_io.cc: Same.
2362	* src/codecvt.cc: Same.
2363	* src/bitset.cc: Same.
2364	* src/cmath.cc: Same.
2365
23662002-01-04  Paolo Carlini  <pcarlini@unitus.it>
2367
2368	* include/bits/stl_tree.h (rb_tree):  Move to...
2369	* include/ext/rb_tree:  ...here, new file.
2370	* include/Makefile.am (ext_headers):  Add new file.
2371	* include/Makefile.in:  Regenerate.
2372	* include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2373	return_temporary_buffer, struct temporary_buffer):  Move to...
2374	* include/ext/memory:  ...here.
2375	* testsuite/ext/headers.cc:  Include <ext/rb_tree>.
2376	* include/backward/tempbuf.h:  Include <ext/memory>, tweak.
2377	* include/backward/tree.h:  Include <ext/rb_tree), tweak.
2378
23792002-01-03  Paolo Carlini  <pcarlini@unitus.it>
2380
2381	* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
2382	* include/ext/numeric:  ...here, new file.
2383        * include/bits/stl_function.h (identity_element, unary_compose,
2384	binary_compose, compose1, compose2, identity, select1st,
2385	select2nd, project1st + helper, project2nd + helper,
2386	constant_void_fun + helper, constant_unary_fun + helper,
2387	costant_binary_fun + helper, constant0, constant1, constant2,
2388	subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
2389        * include/ext/functional:  ...here, new file.
2390        * include/Makefile.am (ext_headers):  Add new files.
2391        * include/Makefile.in:  Regenerate.
2392        * testsuite/ext/headers.cc:  Include <ext/numeric> and
2393	<ext/functional>.
2394	* include/backward/algo.h:  Include <ext/numeric>, tweak.
2395	* include/backward/function.h:  Include <ext/functional>, tweak.
2396        * include/ext/ropeimpl.h:  Include <ext/numeric>.
2397
23982002-01-03  Jeffrey A Law  <law@redhat.com>
2399
2400        * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2401        __strtoull declarations with __extension__.
2402
24032002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
2404
2405	* testsuite/lib/prune.exp: Correct regular expression for
2406	-ffunction-sections
2407
24082002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2409
2410	* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2411	Change concept checks, as with lower_bound and PR 2054.
2412	* testsuite/ext/concept_checks.cc:  Expand test to include those.
2413
24142002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2415
2416	* include/bits/boost_concept_check.h:  Import some changes from
2417	upsteam (Boost) version.
2418
24192002-01-02  Paolo Carlini  <pcarlini@unitus.it>
2420
2421	* include/bits/stl_algobase.h (copy_n + helpers,
2422	lexicographical_compare_3way + helpers):  Move to...
2423	* include/ext/algorithm:  ...here.
2424        * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2425        helpers):  Move to...
2426        * include/ext/memory:  ...here, new file.
2427        * include/Makefile.am (ext_headers):  Add new file.
2428        * include/Makefile.in:  Regenerate.
2429        * testsuite/ext/headers.cc:  Include <ext/memory>.
2430	* include/backward/algobase.h:  Include <ext/memory> and
2431	<ext/algorithm>, tweak.
2432        * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
2433	* include/ext/stl_rope.h:  Include <ext/memory>, tweak.
2434
24352002-01-01  Roger Sayle <roger@eyesopen.com>
2436
2437	* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2438	equivalent ___builtin__ versions.
2439
2440	* include/c_shadow/bits/std_cmath.h: All __builtin math functions
2441	are available in libstdc++ as the necessary stub implementations
2442	are provided by libmath/stubs.c.
2443
24442002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
2445
2446	* configure.in: Add support for NetBSD cross compiles.
2447	* configure: Regenerate.
2448