OSDN Git Service

2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * include/Makefile.am: Add rules.
4         * include/Makefile.in: Regenerate.
5
6         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
7         * aclocal.m4: Regenerate.
8         * configure: Regenerate.
9         * configure.target (c_model, c_compatibility): Add.
10         
11         * libsupc++/Makefile.am (c_sources): New.
12         (libsupc___la_SOURCES): Add c_sources.
13         (LTCOMPILE): Remove INCLUDES.
14         (GCC_INCLUDES): New.
15         (C_COMPILE): New, like COMPILE but without INCLUDES.
16         (cxa_demangle.o): Use C_COMPILE.
17         (dyn-string.o): Use C_COMPILE.  
18         
19         * include/c/std_cstdarg.h: Define __need___va_list.  
20         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
21         need_NULL, need_offsetof.
22
23 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
24
25         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
26         definitions in hpux11 cross-build because these functions do
27         not exist on hpux11 (but some exist on hpux10); move defaults out
28         into existing sections.
29         * configure:  Regenerate.
30
31 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
32
33         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
34         * include/c/std_cwctype.h: Guard.
35
36         * libsupc++/eh_alloc.cc: Tweak include order.
37         * libsupc++/pure.cc: Use cstdio.
38         * libsupc++/new_op.cc: Remove malloc forward declaration, as
39         cstdlib brings it in. Use std::malloc.
40
41         * src/Makefile.am (sources): Remove cmath.cc.
42         * src/Makefile.in: Regenerate.
43         * src/cmath.cc: Remove.
44         
45 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
46
47         * configure.target:  Force mips to use the generic cpu routines.
48
49 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
50
51         * configure.host:  Delete file.
52         * configure.target:  More documentation.  Factor out common parts of
53         script into "intelligent" settings about defaults.  Remove redundancy.
54
55         * acinclude.m4:  Update comments.  Do not call configure.host.
56         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
57         libgcc_s.
58         * configure.in:  Slight reformatting, more comments.  Factor out
59         "config/" from all the directories.
60         * docs/html/17_intro/porting.texi:  Update and expand.
61         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
62         from configure.host.
63
64         * aclocal.m4, configure, docs/html/17_intro/porting.html,
65         testsuite/Makefile.in:  Regenerate.
66
67 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
68
69         * docs/doxygen/TODO:  Update.
70         * docs/doxygen/tables.html:  Uncomment magical middle column.
71         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
72         * include/bits/stl_queue.h:  Doxygenate and reformat.
73         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
74         for deprecated names required by the standard.
75
76 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
77
78         * configure.in (target_alias): Fix.
79         * configure: Regenerate.
80         * aclocal.m4: Regenerate.
81
82 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
83
84         * include/Makefile.am:  Add new files.
85         * include/Makefile.in:  Regenerate.
86
87         * include/bits/stl_deque.h, include/bits/stl_list.h,
88         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
89         * include/bits/deque.tcc, include/bits/list.tcc,
90         include/bits/vector.tcc:  ...to here.  New files.
91
92         * include/ext/stl_hashtable.h:  Inclide correct full headers.
93         * include/std/std_deque.h:  Include .tcc files for now.
94         * include/std/std_list.h:  Likewise.
95         * include/std/std_vector.h:  Likewise.
96
97 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
98
99         * Makefile.am: Add FLAGS_TO_PASS.
100         * Makefile.in: Regenerated.
101
102 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
103             Benjamin Kosnik  <bkoz@redhat.com>
104         
105         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
106         under *-qnx6.[12]*.
107         * configure.in: Add support for *-qnx6.[12]*.
108         * configure: Regenerate.
109
110         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
111         New directories.  
112         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
113         ctype_noninline.h, os_defines.h: New files.
114
115 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
116
117         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
118         include all required headers for test against older POSIX standard.
119         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
120         (ac_setrlimit): Likewise.
121         * aclocal.m4: Regenerate.
122         * configure: Regenerate.
123         * testsuite/testsuite_hooks.cc: Reorder and include all
124         required headers for use against older POSIX standard.
125
126 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
127
128         * testsuite/backwards/strstream_members.cc: New.
129
130 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
131
132         * include/backwards/strstream: Format.
133         * src/strstream.cc: Format.
134         
135 2002-06-08  Andreas Schwab  <schwab@suse.de>
136
137         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
138         _M_buf_size and _M_buf_size_opt to the new buffer and size.
139
140 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
141
142         * config/os/generic/bits/ctype_noninline.h: Tweak format.
143
144 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
145
146         * src/locale-inst.cc (__codecvt_abstract_base):
147         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
148         * include/bits/istream.tcc (basic_istream): Ditto.
149         (ws) Ditto.
150         (operator>>) Ditto.
151         * include/bits/ostream.tcc (basic_ostream): Ditto. 
152         (endl): Ditto.
153         (ends): Ditto.
154         (flush): Ditto.
155         (operator<<): Ditto.
156
157 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
158
159         * mkcheck.in:  Link against local testsuite library.
160         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
161         implementation out...
162         * testsuite/testsuite_hooks.cc:  ...to here.
163
164 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
165
166         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
167         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
168         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
169         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
170         * testsuite/Makefile.in: Likewise.
171
172 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
173
174         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
175         Call external symbol.
176
177 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
178
179         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
180         Search correct multilib testsuite dir for libv3test.
181
182 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
183             Gaby Dos Reis  <gdr@codesourcery.com>
184
185         * include/bits/basic_string.tcc
186         (basic_string::_S_construct(forward_iterator_tag):
187         Fix typo in null pointer check.
188         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
189
190 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
191
192         * testsuite/22_locale/money_get_members_char.cc
193         (test02): Add decimal point to long double constants.
194         * testsuite/22_locale/money_get_members_wchar_t.cc
195         (test02): Likewise.
196         * testsuite/22_locale/money_put_members_char.cc
197         (test02, test03, test06): Likewise.
198         * testsuite/22_locale/money_put_members_wchar_t.cc:
199         (test02, test03, test06): Likewise.
200         * testsuite/22_locale/num_get_members_char.cc:
201         (test02, test01): Likewise; suffix long long constants with LL. 
202         * testsuite/22_locale/num_get_members_wchar_t.cc:
203         (test02, test01): Likewise.
204         * testsuite/22_locale/num_put_members_char.cc:
205         (test02, test01): Likewise.
206         * testsuite/22_locale/num_put_members_wchar_t.cc:
207         (test02, test01): Likewise.
208
209 2002-06-03  Marc Espie  <espie@openbsd.org>
210
211         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
212         assembly for old assemblers.
213
214 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
215
216         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
217         Move/rename...
218         (vector<bool>::swap(reference,reference)): ...to this.
219
220 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
221
222         * docs/doxygen/TODO:  Update.
223         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
224         some class members are in 14882 order.
225         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
226
227         * include/std/std_bitset.h:  Update comment.
228         * src/bitset.cc:  Update comments, clean up spacing.
229
230         * src/Makefile.am (sources):  Alphabetize for convenience.
231         * src/Makefile.in:  Regenerate.
232
233 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
234
235         * include/bits/stl_deque.h, include/bits/stl_list.h,
236         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
237         Reorder to match 14882.  Doxygen blocks for all public members.
238
239 2002-05-31  Marcus Meissner  <meissner@suse.de>
240
241         PR libstdc++/6886
242         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
243         * testsuite/23_containers/vector_bool.cc (test02):  New test.
244
245 2002-05-30  Marc Espie  <espie@openbsd.org>
246
247         * configure.in: Always check for sys/types.h
248         * configure: Regenerate.
249
250 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
251
252         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
253         Rebuild the wrapper file every time this proc is called.
254
255 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
256
257         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
258         CXX/INCLUDES.
259         * testsuite/Makefile.in:  Regenerate.
260         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
261         list_modifiers.cc and rename from 'T'.  Move code bodies...
262         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
263         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
264         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
265         Add libv3test.a to link options.
266
267 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
268
269         * src/misc-inst.cc: Define unnecessary algorithm
270         instantiations. Break apart instantiations into groupings below.
271         * src/fstream-inst.cc: New.
272         * src/io-inst.cc: New.  
273         * src/istream-inst.cc: New.     
274         * src/ostream-inst.cc: New.             
275         * src/streambuf-inst.cc: New.   
276         * src/sstream-inst.cc: New.             
277         * src/Makefile.am (sources): Add files.
278         * src/Makefile.in: Regenerate.
279
280         * acinclude.m4: Work around automake 1.4-p5 bug, change
281         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
282         
283 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
284
285         PR libstdc++/6795.
286         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
287         (classic_table): Fix.
288         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
289         
290 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
291
292         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
293         _GLIBCPP_USE_WCHAR_T.
294         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
295         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
296         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
297         
298 2002-05-26  Carlo Wood  <carlo@alinoe.com>
299             Paolo Carlini  <pcarlini@unitus.it>
300
301         PR libstdc++/6811
302         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
303         (__enc_traits::operator=): add missing return statement.
304
305 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
306
307         PR libstdc++/6282
308         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
309         (operator>>):  If nothing was extracted, don't fail in the
310         zero-length case.
311         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
312
313 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
314
315         PR libstdc++/6701
316         * testsuite/22_locale/ctype_narrow_char.cc: New.
317         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.     
318         * testsuite/22_locale/ctype_widen_char.cc: New.
319         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
320         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
321         * testsuite/22_locale/ctype_is_char.cc: ...this.
322         * testsuite/22_locale/ctype_to_char.cc: ...and this.
323         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
324         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
325         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
326
327         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
328         
329 2002-05-24  Dale Peakall <dale@peakall.net>
330
331         PR libstdc++/6701
332         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
333         * config/locale/generic/ctype_members.cc: Same.
334         
335 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
336
337         PR libstdc++/6750
338         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
339         for empty string literal.
340         (ostream::operator<<(const _CharT*)): Same.
341         (ostream<char>::operator<<(const char*)): Same.
342         (ostream<char>::operator<<(streambuf*)): Same.
343         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
344         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
345         
346 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
347
348         * configure.in (release_VERSION): Update to 3.1.1.
349         (libtool_VERSION): Update to 4:1:0.
350         * configure: Regenerate.
351         
352 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
353
354         * include/bits/stl_pair.h:  Tweak comment markup.
355
356 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
357
358         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
359
360 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
361
362         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
363
364 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
365
366         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
367         Doxygenate all public members.  Reorder to follow 14882.
368         (vector::push_back(void)):  Remove previously-deprecated fn.
369         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
370         Deprecate for removal in 3.3.
371
372 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
373
374         * docs/html/faq/index.html (5.4):  Recommend against -I options for
375         finding the ext headers.
376         * docs/html/faq/index.txt:  Regenerate.
377
378 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
379
380         * testsuite/23_containers/deque_operators.cc (test01):
381         Fix minor typo in last commit.
382
383 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
384
385         PR libstdc++/6503
386         * include/bits/stl_deque.h (_Deque_iterator::operator==,
387         operator!=, operator<, operator>, operator>=, operator<=):
388         Make non-member functions, to allow comparing const and
389         non-const iterators in any order.
390         * testsuite/23_containers/deque_operators.cc: New testfile.
391
392 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
393
394         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
395         * docs/html/faq/index.txt:  Regenerate.
396
397 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
398
399         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
400         * acinclude.m4: Likewise.
401         * docs/html/Makefile: Likewise.
402         * aclocal.m4: Regenerate.
403         * configure: Regenerate.
404         * Makefile.in: Regenerate.
405
406 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
407
408         libstdc++/6641
409         * include/bits/c++config (__USE_MALLOC): Report case where
410         the user improperly defined it on the command line.
411
412 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
413
414         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
415         Retrieve current limits before setting.
416
417 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
418
419         PR libstdc++/6518
420         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
421         for null case.
422         (ostream::operator<<(const _CharT*)): Same.
423         (ostream<char>::operator<<(const char*)): Same.
424         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
425         
426 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
427
428         PR libstdc++/6594
429         * src/strstream.cc (strstreambuf): Fix leak.
430
431 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
432
433         PR libstdc++/6648
434         * include/bits/istream.tcc (istream::getline, ignore):
435         Upon __idelim (__delim) call sbumpc() not snextc().
436         * testsuite/27_io/narrow_stream_objects.cc:
437         Add test08 and test09.
438
439 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
440
441         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
442         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.       
443
444         * docs/html/install.html: Fix.
445         
446 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
447
448         * include/bits/fstream.tcc
449         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
450         try/catch blocks.
451         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
452
453         * docs/html/install.html: Tweak, add bits about required locales
454         for the 22_locale tests when using the gnu model.
455
456         * testsuite/27_io/istream_sentry.cc: Tweak.
457         
458 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
459
460         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
461         Fix typo, use this->is() rather than manually (and perhaps
462         incorrectly) inlining it.
463         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
464         Likewise.
465         * testsuite/22_locale/ctype_scan_char.cc: New file.
466
467 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
468             Jakub Jelinek  <jakub@redhat.com>
469
470         * testsuite/22_locale/money_get_members_char.cc
471         (test01, test02, test04): Use the de_DE@euro named locale
472         instead of de_DE to allow for an uniform behaviour with
473         both old and Euro-era localedata; tweak some tests.
474         * testsuite/22_locale/money_get_members_wchar_t.cc
475         (test01, test02, test04): Likewise.
476         * testsuite/22_locale/money_put_members_char.cc
477         (test01, test02, test04): Likewise.
478         * testsuite/22_locale/money_put_members_wchar_t.cc
479         (test01, test02, test04): Likewise.
480
481 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
482
483         * testsuite/22_locale/codecvt_members_char_char.cc
484         (test03): Robustify wrt localedata.
485         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
486         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
487         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
488         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
489         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
490         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
491         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
492         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
493         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
494         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
495         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
496         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
497         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
498         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
499         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
500         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
501         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
502         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
503         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
504         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
505         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
506         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
507
508 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
509
510         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
511         change.
512
513 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
514
515         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
516         to 64 for hppa 64-bit port.
517         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
518
519 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
520
521         * acinclude.m4 (enable_symvers): Quote $LD.
522         * aclocal.m4: Regenerate.
523         * configure: Likewise.
524
525 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
526
527         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
528         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
529         LD_LIBRARY_PATH.
530
531 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
532
533         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
534         script entry, and set LD to it when configuring multilibs.
535         * configure: Rebuilt.
536
537 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
538
539         * configure.in: Add support for WindISS.
540         * configure: Regenerated.
541         * configure.target: Add support for WindISS.
542         * config/os/windiss/bits/ctype_base.h: New file.
543         * config/os/windiss/bits/ctype_inline.h: Likewise.
544         * config/os/windiss/bits/ctype_noninline.h: Likewise.
545         * config/os/windiss/bits/os_defines.h: Likewise.
546
547 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
548
549         Test all the facets for the temporary "C" locale switch issue.
550         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
551         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
552         * testsuite/22_locale/collate_members_char.cc: Add test04.
553         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
554         * testsuite/22_locale/ctype_members_char.cc: Add test05.
555         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
556         * testsuite/22_locale/messages_members_char.cc: Add test03.
557         * testsuite/22_locale/money_get_members_char.cc: Add test08.
558         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
559         * testsuite/22_locale/money_put_members_char.cc: Add test07. 
560         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
561         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
562         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
563         * testsuite/22_locale/num_get_members_char.cc: Add test06.
564         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 
565         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
566         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 
567         * testsuite/22_locale/time_get_members_char.cc: Add test08.
568         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 
569         * testsuite/22_locale/time_put_members_char.cc: Add test04.
570         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
571
572         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
573         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
574
575 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
576
577         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
578         __EXTENSIONS__): Ensure they are always defined.
579
580 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
581
582         * docs/html/documentation.html:  Fix broken link.
583
584 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
585             Paolo Carlini  <pcarlini@unitus.it>
586
587         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
588         testing for the locale_facets.tcc entry of the previous commit.
589         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
590
591 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
592
593         * config/locale/generic/c_locale.cc
594         (__convert_to_v(float, double, long double)):
595         Fix the temporary switch to the "C" locale, saving and
596         restoring in the proper way the current locale.
597         * config/locale/generic/time_members.cc
598         (__timepunct<char, wchar_t>::_M_put): Likewise.
599         * config/locale/gnu/messages_members.cc
600         (messages<char>::do_get): Likewise.
601         * config/locale/gnu/messages_members.h
602         (messages<_CharT>::do_get): Likewise.
603         * config/locale/gnu/time_members.cc
604         (__timepunct<char, wchar_t>::_M_put): Likewise.
605         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
606
607 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
608
609         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
610         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
611
612         * Makefile.in, config.h.in, configure: Regenerate.
613
614 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
615
616         PR libstdc++/6549.
617         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
618         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
619         
620 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
621
622         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
623         Return __ctype + 1.
624         (ctype:_M_table): Initialize to classic_table(), not __ctype.
625
626 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
627
628         * configure.in: Update local install.html, configopts.html paths.
629         * configure: Regenerate.
630
631 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
632
633         * config/os/irix/irix5.2/bits/os_defines.h
634         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
635
636         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
637         char.
638
639 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
640
641         * docs/html/faq/index.html:  Update list in #4.1.
642         * docs/html/faq/index.txt:  Regenerated.
643
644 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
645
646         * docs/html/17_intro/RELEASE-NOTES (New): Update.
647
648 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
649
650         * include/std/std_bitset.h:  Fix doxygen comments.
651         * docs/html/documentation.html:  Minor tweaks for 3.1.
652         * docs/html/27_io/howto.html:  Likewise.
653         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
654         * docs/html/faq/index.html:  Likewise.
655         * docs/html/faq/index.txt:  Regenerated.
656
657 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
658
659         PR libstdc++/6533
660         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
661         (istreambuf_iterator::equal): Use it.
662         (istreambuf_iterator::operator*): Use it.       
663
664 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
665
666         PR libstdc++/6513
667         * include/bits/stl_uninitialized.h
668         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
669         Fix typo in 2001-07-17 commit: typedef _ValueType to
670         iterator_traits<_ForwardIter> not <_InputIter>.
671         * testsuite/23_containers/vector_ctor.cc: Add test04.
672
673 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
674         
675         PR libstdc++/6501
676         * include/c_std/std_cctype.h: Include bits/c++config.h.
677         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
678
679 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
680
681         * include/ext/stdio_filebuf.h: New file.
682         * include/ext/enc_filebuf.h: New file.  
683         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
684         * config/io/basic_file_stdio.cc: Same.  
685         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
686         Remove _M_unbuf hacks.
687         (filebuf::_M_destroy_internal_buffer): Same.
688         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
689         (filebuf::fd): Remove.
690         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
691         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
692         (filebuf::fd): Remove.  
693         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
694         filebufs.
695         (ios_base::_S_ios_destroy): Same.
696         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
697         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
698         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
699
700 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
701
702         PR libstdc++/6511
703         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
704
705 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
706
707         PR libstdc++/5820
708         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
709         Check for eof.
710         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
711         (istreambuf_iterator::operator++): Invalidate on eof.
712         (istreambuf_iterator::operator++(int)): Same.
713         (istreambuf_iterator::operator*): Same.
714         
715 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
716
717         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
718         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
719         LD_LIBRARY64_PATH. 
720
721 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
722
723         PR libstdc++/5820
724         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
725         (__basic_file::sys_ungetc): Take int.
726         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
727         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
728         Use sys_getc for unbuffered input.
729         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
730         
731         * src/ios.cc (_M_grow_words): Adjust error checking.
732         * testsuite/27_io/ios_base_storage.cc: Same.
733
734 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
735
736         * include/ext/stl_hashtable.h: Import __iterator_category
737
738 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
739             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
740
741         * testsuite/ext/hash_set.cc: New testfile.
742
743 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
744
745         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
746         _G_USING_THUNKS.
747         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
748         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
749
750 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
751
752         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
753         Fix and tighten __throw_length_error check.
754         * testsuite/21_strings/replace.cc (test05): New.
755         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
756
757 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
758
759         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
760         unconditional flush on lower-layer handle to here...
761         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
762         ...from here.  Optimize remaining _M_file.sync() call pattern.
763         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
764         (test05): Likewise.
765
766 2002-04-23  Jason Merrill  <jason@redhat.com>
767
768         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
769         output-only filebufs.
770         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
771         Likewise.
772         (basic_filebuf::_M_set_determinate): Likewise.
773
774         PR libstdc++/6414
775         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
776         value properly in the trivial case.
777         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
778         tellg() returns the right value after a read.
779
780 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
781
782         * config/cpu/mmix/bits/cpu_limits.h: New file.
783         * configure.target (CPULIMITSH): Use it.
784
785 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
786
787         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
788         * docs/html/17_intro/porting.html: Rebuilt.
789
790 2002-04-20  Jason Merrill  <jason@redhat.com>
791
792         PR libstdc++/4150
793         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
794         Move to filebuf.
795         (basic_streambuf::_M_set_determinate): Likewise.
796         (basic_streambuf::_M_is_indeterminate): Likewise.
797         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
798         non-static data member.
799         (basic_filebuf::_M_underflow_common): New non-static member function.
800         (basic_filebuf::_M_underflow, _M_uflow): Call it.
801         (basic_filebuf::sync): Avoid useless seeking.
802         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
803         Set _M_filepos.
804         (basic_filebuf::_M_set_determinate): Likewise.
805         (basic_filebuf::_M_is_indeterminate): Likewise.
806         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
807         back to _M_out_beg if necessary.
808         (basic_filebuf::seekoff): Likewise.
809         (basic_filebuf::_M_underflow_common): Generalization of old 
810         underflow().  Don't seek back to _M_in_beg.
811         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
812         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
813         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
814         * config/os/mingw32/bits/os_defines.h: Likewise.
815         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
816         ungetc test.
817
818 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
819
820         * include/bits/istream.tcc (istream::read): Fix.
821         * testsuite/27_io/istream_unformatted.cc (main): Add.
822
823 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
824
825         PR libstdc++/6360
826         * include/bits/istream.tcc (istream::ignore): Streamline, use
827         delimiter as is.
828         * include/bits/streambuf.tcc: Use this->gptr.
829         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
830         
831 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
832
833         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
834         as type safety is important, especially on solaris.
835         * include/bits/istream.tcc (istream::read): Clean.
836         (istream::readsome): Same.
837         * locale.cc: Wrap lines.
838
839         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
840         * testsuite/27_io/instantiations.cc (test): Add bool variable...
841         * testsuite/21_strings/capacity.cc: Clean.
842                 
843 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
844
845         * docs/doxygen/doxygroups.cc:  New group on binary searching.
846         * include/bits/stl_algo.h:  Document binary searches and merges.
847         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
848
849 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
850
851         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
852         * docs/doxygen/run_doxygen:  Bump required version.
853         * docs/doxygen/user.cfg.in:  Revert accidental change.
854         * docs/html/faq/index.html:  Reindent a block of links.
855         (4.4):  New note on using dlsym.
856         * docs/html/faq/index.txt:  Regenerated.
857
858 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
859
860         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
861
862 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
863
864         * config/linker-map.gnu (__malloc_alloc_template): Add.
865         (__default_alloc_template): Same.       
866         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
867         template.
868         (__default_alloc_template): Same.
869         
870 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
871
872         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
873
874 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
875
876         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
877         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
878         (__malloc_alloc_template): Conditionalize.
879
880         * include/bits/istream.tcc: Remove sputbackc calls.
881
882         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
883         
884 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
885
886         * testsuite/24_iterators/rel_ops.cc: New test.
887         
888 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
889
890         * include/bits/type_traits.h (__normal_iterator): Declare in
891         __gnu_cxx.  Adjust use at global namespace.
892         * include/bits/stl_iterator.h (__normal_iterator): Move definition
893         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
894         * include/bits/basic_string.h (basic_string): Adjust use of
895         __normal_iterator.
896         * include/bits/stl_vector.h (_Alloc>): Likewise.
897         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
898         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
899
900 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
901
902         PR libstdc++/4164
903         Valgrind fixes.
904         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
905         Call close.
906         (__basic_file::close): Call fflush. Correct return if fclose ok. 
907         (__basic_file::is_open): Make const.
908         Change __c_file_type to __c_file.
909         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
910         (__basic_file::is_open): Make const.    
911         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
912         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
913         (filebuf::_M_unbuf): Add.
914         (filebuf::_M_file): Change to non-pointer.
915         (filebuf::_M_allocate_pback_buffer): Remove.
916         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
917         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
918         Change initialization list for _M_file change.
919         (filebuf::_M_allocate_pback_buffer): Remove.
920         Change _M_file usage to reflect non-pointer data member.
921         
922         * config/locale/generic/c_locale.cc
923         (locale::facet::_S_create_c_locale): Add parameter.
924         * config/locale/generic/collate_members.cc: Change
925         _M_compare_helper to _M_compare.
926         Change _M_transform_helper to _M_transform.
927         * config/locale/generic/monetary_members.cc: Changeup data types.
928         Add dtors.
929         * config/locale/generic/numeric_members.cc: Add dtors.
930         * config/locale/generic/time_members.cc: Add dtors.
931         * config/locale/gnu/c_locale.cc: Add parameter.
932         * config/locale/gnu/collate_members.cc:Change
933         _M_compare_helper to _M_compare.
934         Change _M_transform_helper to _M_transform.
935         * config/locale/gnu/ctype_members.cc: Better error checking.
936         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
937         * config/locale/gnu/messages_members.cc: Tweak comment.
938         * config/locale/gnu/monetary_members.cc: Change data types.
939         Add dtors.
940         * config/locale/gnu/numeric_members.cc: Add dtors, better error
941         checking.
942         * config/locale/gnu/time_members.cc: Same.
943         * config/locale/ieee_1003.1-2001/c_locale.cc
944         (locale::facet::_S_create_c_locale): Add parameter.
945         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
946         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
947         bogus ctor.
948         
949         * include/bits/locale_facets.h (moneypunct): Use string literals.
950         Don't define dtor.
951         (numpunct): Same.
952         (__timepunct): Same.
953         (locale::_Impl::_M_facets): Change from vector to array.
954         (locale::_Impl::_M_names): Change from array of strings to array
955         of string literals.
956         (locale::facet::_S_create_c_locale): Add parameter.
957         (locale::locale::_S_num_facets): Move to...
958         (locale::_Impl::_M_facets_size): Here.
959         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
960         changes.
961         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
962         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
963         (locale::_Impl::_Impl(string, size_t)): Change to
964         (locale::_Impl::_Impl(const char*, size_t)): This.
965         
966         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
967         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
968         (streambuf::_S_pback_size): This.
969
970         * src/globals.cc: Add pre-allocations for "C" facets.
971         * src/locale-inst.cc: Remove vector instantiations.
972         * src/locale.cc: Remove vector include. Fixups for _M_names,
973         _M_facets changes.
974         * src/localename.cc: Same.
975
976         * include/bits/stl_vector.h: Fix odd formatting.
977         
978         * include/bits/basic_string.tcc: Tweak comment.
979
980         * libsupc++/new: Make sure parameters are uglified.
981         * libsupc++/typeinfo: Same.
982                 
983         * testsuite/22_locale/num_get_members_char.cc: Fixup.
984         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
985         * testsuite/27_io/filebuf_members.cc: Same.
986
987 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
988
989         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
990         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
991         does not define strtoll or strtoull, but does define strtol
992         and strtoul which are the same since in 64 bit mode
993         sizeof(long) == sizeof(long long).
994
995 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
996
997         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
998         trailing spaces, indentation, and macro names.  Make exception
999         messages more informative.
1000
1001 2002-04-11  Richard Henderson  <rth@redhat.com>
1002
1003         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1004         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1005         (basic_ostream<>::operator<<(long long)): Same.
1006
1007 2002-04-11  Richard Henderson  <rth@redhat.com>
1008
1009         * config/linker-map.gnu: Add __gxx_personality_sj0.
1010
1011 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1012
1013         libstdc++/1072
1014         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1015         pointer to vector.
1016         Remove forward declaration of vector.
1017         Include vector.
1018         * include/bits/locale_facets.tcc: Remove vector include.
1019         (use_locale): Adjust.
1020         (has_locale): Adjust.
1021         * src/locale.cc: Adjust.
1022         * src/localename.cc: Same.
1023         
1024 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1025             Richard Henderson  <rth@redhat.com>
1026
1027         * include/bits/sstream.tcc: Clean up bit ops.
1028         * include/bits/fstream.tcc: Same.
1029         
1030 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
1031
1032         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1033         (__num_base::_S_scale_oct): Remove.
1034         * src/locale.cc (__num_base::_S_scale_hex): Remove.
1035         (__num_base::_S_scale_oct): Remove.
1036
1037 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1038
1039         libstdc++/6124
1040         * testsuite/23_containers/bitset_members.cc: New test.
1041         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1042         (_S_bit_count): Here.
1043         (_First_one::_S_first_one): Move...
1044         (_S_first_one): Here.
1045         Format.
1046         * src/bitset.cc: Adjust.
1047         * config/linker-map.gnu: Export.
1048         
1049 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1050
1051         libstdc++/5180
1052         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1053         * include/std/std_fstream.h: Clean.
1054         * include/bits/ostream.tcc: Remove extraneous variables.
1055         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1056         open modes and which modes.
1057         (stringbuf::seekpos): Same.
1058         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1059         
1060 2002-04-05  Jonathan Wakely <jw@kayari.org>
1061
1062         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1063         random_shuffle, partition, stable_partition, sort, stable_sort,
1064         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1065
1066 2002-04-05  David S. Miller  <davem@redhat.com>
1067
1068         * config/os/gnu-linux/bits/os_defines.h
1069         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1070
1071 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1072
1073         libstdc++/3457 
1074         via gawrilow@math.tu-berlin.de
1075         * acinclude.m4 (version_specific_libs): Fix combo usage with
1076         --with-gxx-include-dir.
1077         * aclocal.m4: Regenerate.
1078         * configure: Same.
1079         
1080 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1081
1082         As per DR 184, libstdc++/3139
1083         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1084         (numeric_limits<bool>::is_iec559): False.
1085         (numeric_limits<bool>::is_modulo): False.       
1086
1087         * testsuite/27_io/ios_init.cc: Add instantiations.
1088
1089 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1090         
1091         libstdc++/5268
1092         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1093         * testsuite/27_io/ios_init.cc (tests04): Add test.
1094
1095         libstdc++/3983
1096         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1097         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1098         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1099         * include/bits/istream.tcc: Use _M_fctype, make consistent with
1100         ostream.
1101         * testsuite/27_io/ios_init.cc (tests03): Add test.
1102         
1103 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1104
1105         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
1106         * include/Makefile.in:  Regenerate.
1107
1108 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
1109             Nathan Myers  <ncm@cantrip.org>
1110             Philip Martin  <philip@codematters.co.uk>
1111
1112         * include/bits/basic_string.h
1113         (replace(i1, i2, _CharT* k1, _CharT* k2),
1114         replace(i2, i2, const _CharT* k1, const _CharT* k2),
1115         replace(i1, i2, iterator k1, iterator k2,
1116         replace(i1, i2, const_iterator k1, const_iterator k2):
1117         New specializations to optimize for the common cases of
1118         pointers and iterators.
1119         (replace(pos, n1, s, n2)): Tweak.
1120         * include/bits/basic_string.tcc: Tweak comments.
1121         * testsuite/21_strings/replace.cc (test04): New tests.
1122
1123 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1124
1125         libstdc++/5542
1126         * acinclude: More extensive checks for msgfmt, --enable-nls.
1127         * aclocal.m4: Regenerate.
1128         * configure: Regenerate.
1129
1130 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1131
1132         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
1133         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
1134         * docs/html/18_support/howto.html:  Document the demangler.
1135         * docs/html/17_intro/howto.html:  And link to it.
1136
1137         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
1138         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
1139
1140 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1141
1142         * config/linker-map.gnu:  Export __verbose_terminate_handler.
1143         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
1144         Make new LTCOMPILE variable, use it in new special build rules.
1145         * libsupc++/Makefile.in:  Rebuild.
1146         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
1147         runtime __cxa_demangle.
1148
1149         * docs/html/install.html:  Update prereqs and instructions.
1150         * docs/html/19_diagnostics/howto.html:  Bring naming for
1151         verbose_terminate_handler into line with reality.
1152
1153 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1154         
1155         libstdc++/3129
1156         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1157         (basic_ios::_M_streambuf_state): Move.  
1158         * include/bits/ios_base (ios_base): To here.
1159         * include/bits/ios_base.h (ios_base::_S_local_words): To
1160         _S_local_word_size.
1161         (ios_base::_M_word_array): To _M_local_word.
1162         (ios_base::_M_words_limit): To _M_word_size.    
1163         (ios_base::_M_words): To _M_word.               
1164         Comment.
1165         * include/bits/basic_ios.tcc: Adjust.   
1166         * src/ios.cc (ios_base::_M_grow_words): Tweak.
1167         * testsuite/27_io/ios_base_storage.cc: Add tests.
1168
1169         libstdc++/5207
1170         Kenny Simpson <theonetruekenny@yahoo.com>
1171         * include/bits/ios_base.h: Fix.
1172         
1173         Richard Henderson  <rth@redhat.com>
1174         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1175         last change.
1176
1177         * include/bits/basic_string.h: Tweak formatting.
1178         
1179 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
1180
1181         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1182         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1183         By definition, sizeof(char) == 1.
1184         * include/bits/locale_facets.tcc (money_get::do_get,
1185         money_put::do_put): Ditto.
1186         * testsuite/21_strings/inserters_extractors.cc
1187         (test04): Ditto.
1188
1189 2002-03-30  Richard Henderson  <rth@redhat.com>
1190
1191         PR c++/3719
1192         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1193         data out of the exception struct before calling unexpectedHandler.
1194
1195 2002-03-28  Roger Sayle  <roger@eyesopen.com>
1196
1197         * include/c_std/std_cmath.h:  To prevent problems overloading
1198         g++ builtins, use the double variants from the global namespace
1199         before defining float and long double variants in std::.
1200
1201 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
1202
1203         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1204
1205 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
1206
1207         * testsuite/24_iterators/istream_iterator.cc
1208         (test02): New tests.
1209
1210 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1211             Paolo Carlini  <pcarlini@unitus.it>
1212
1213         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1214         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1215         fix i_lit_base e_lit_base arrays, making them independent
1216         from the endianness of the platform; tweak UCS4 to UCS-4BE.
1217
1218 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1219
1220         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1221         allocate at least a byte.
1222
1223         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1224         debugger-friendly.
1225         * testsuite/27_io/streambuf.cc (test07): Fix.
1226         (test06): Enable.
1227
1228 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
1229
1230         * docs/doxygen/Intro.3:  Date tweak.
1231         * docs/doxygen/TODO:  Update.
1232         * docs/doxygen/doxygroups.cc:  Point to tables.html.
1233         * docs/doxygen/mainpage.html:  Date tweak.
1234         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
1235         * docs/doxygen/tables.html:  Fill in the blanks.
1236
1237         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
1238         * include/bits/stl_algo.h:  Likewise; use expanded form.
1239         * include/bits/stl_alloc.h:  Likewise.
1240         * include/bits/stl_construct.h:  Likewise.
1241         * include/bits/stl_deque.h:  Likewise.
1242         * include/bits/stl_iterator_base_types.h:  Likewise.
1243         * include/bits/stl_list.h:  Likewise.
1244         * include/bits/stl_relops.h:  Likewise.
1245         * include/bits/stl_tempbuf.h:  Likewise.
1246         * include/bits/stl_vector.h:  Likewise.
1247         * include/std/std_memory.h:  Likewise.
1248
1249         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
1250         * include/bits/stl_list.h:  Likewise.
1251         * include/bits/stl_vector.h:  Likewise.
1252
1253 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1254
1255         * include/c/: Guard with _CPP_.
1256         * include/c_std/: Same.
1257         * include/Makefile.am: Fixup install, link routines for null
1258         c_base_headers_extra scenarios.
1259         * include/Makefile.in: Regerate.
1260
1261 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
1262             Richard Henderson  <rth@redhat.com>
1263
1264         * testsuite/22_locale/codecvt_members_unicode_char.cc
1265         (test01, test02): make sure that the i_lit_base array
1266         is sufficiently aligned.
1267
1268 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1269
1270         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1271         _ctype_.
1272
1273 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
1274
1275         * testsuite/22_locale/collate_byname.cc
1276         (test01): compare the result of collate::compare with
1277         that of collate::transform + string::compare, not with
1278         that of collate::transform + collate::compare; values
1279         returned by collate::compare are normalized, therefore
1280         test against +-1.
1281
1282 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1283             Jakub Jelinek  <jakub@redhat.com>
1284
1285         * config/locale/gnu/messages_members.h: Correct conditional.
1286         * config/locale/gnu/messages_members.cc: Same.
1287         * config/locale/gnu/time_members.cc: Same.
1288
1289 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1290             Paolo Carlini  <pcarlini@unitus.it>
1291
1292         * testsuite/22_locale/codecvt_members_unicode_char.cc
1293         (test01, test02): Fix i_lit_base arrays, making them
1294         independent from the endianness of the platform.
1295
1296 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1297
1298         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1299         signbit and __signbit directly.
1300         * aclocal.m4: Regenerate.
1301         * configure: Regenerate.
1302         * config.h.in: Regenerate.
1303         * libmath/Makefile.am: Simplify.
1304         * libmath/Makefile.in: Regenerate.
1305         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1306
1307         * include/Makefile.am: Clean up handling of extra "C" header files.
1308         Add hooks for "C" compatibility headers.
1309         * include/Makefile.in: Regenerate.
1310
1311         * include/c/*: Formatting tweaks, cleanups.
1312         * include/c_std/*: Same.
1313
1314 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1315
1316         * config/locale/gnu/messages_members.h: Add __uselocale bits.
1317         * config/locale/gnu/messages_members.cc: Same.
1318         * config/locale/gnu/time_members.cc: Same.
1319
1320 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1321
1322         * src/vterminate.cc: Format, -fno-exceptions cleanup.
1323
1324 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1325
1326         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1327         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1328         * aclocal.m4: Regenerate.
1329         * configure: Likewise.
1330
1331 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
1332             Ulrich Drepper  <drepper@redhat.com>
1333
1334         * src/locale-inst.cc (__convert_from_v): Add an additional
1335         __size parameter in the declarations.
1336         * include/bits/locale_facets.tcc
1337         (__convert_from_v): When available (that is,
1338         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1339         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1340         being defined or not, call and use __convert_from_v in the
1341         appropriate way.
1342         (num_put::_M_convert_int): Same here.
1343         (money_put::do_put(long double)): Same here.
1344
1345 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
1346
1347         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
1348         * docs/html/faq/index.txt:  Regenerate.
1349
1350 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
1351
1352         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1353         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1354         --enable-libunwind-exceptions is set.
1355         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1356         macro to check for libunwind.
1357         * configure: Regenerate.
1358         * src/Makefile.am (libstdc___la_LDFLAGS): Add
1359         LIBUNWIND_FLAG to libstdc link line.
1360         * src/Makefile.in: Regenerate.
1361
1362 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
1363
1364         * docs/html/faq/index.html: Add OS X workaround.
1365         * docs/html/17_intro/TODO: Update.
1366
1367 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
1368
1369         * include/bits/locale_facets.tcc
1370         (money_put::do_put(long double)): Fix dimensioning of
1371         temporary buffers to avoid risk of overruns.
1372         (money_put::do_put(string)): Same for the buffer used to
1373         add the grouping chars.
1374         * testsuite/22_locale/money_put_members_char.cc: Add test06.
1375         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1376
1377         * include/bits/locale_facets.tcc
1378         (collate::do_transform): Simplify.
1379
1380 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
1381
1382         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
1383         * configure.in:  Add comments pointing the way for autoconf 2.5x.
1384         * aclocal.m4, config.h.in, configure:  Regenerate.
1385
1386 2002-03-18  Philipp Thomas  <pthomas@suse.de>
1387
1388         * include/backward/hash_map.h: hash, hashtable, hash_map and
1389         hash_multimap are in namespace __gnu_cxx.
1390         include/backward/hash_set.h: hash, hashtable, hash_set and
1391         hash_multiset are in namespace __gnu_cxx.
1392         include/backward/hashtable.h: hash and hashtable are in
1393         namespace __gnu_cxx.
1394         include/backward/rope.h: char_producer, sequence_buffer,
1395         rope, crope and wrope are in namespace __gnu_cxx.
1396         include/backward/slist.h: slist is in namespace __gnu_cxx.
1397         * testsuite/backward/header_hash_map_h.cc
1398         testsuite/backward/header_hash_set_h.cc
1399         testsuite/backward/header_hashtable_h.cc
1400         testsuite/backward/header_rope_h.cc
1401         testsuite/backward/header_slist_h.cc
1402         testsuite/backward/header_tempbuf_h.cc: New tests for
1403         checking that we're using the correct namespace.
1404
1405 2002-03-17  Jason Merrill  <jason@redhat.com>
1406
1407         PR c++/4381
1408         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1409         (check_exception_spec): Call it.  Take the thrown pointer.
1410         (__cxa_call_unexpected): Pass it.
1411         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
1412
1413 2002-03-15  Anthony Green  <green@redhat.com>
1414
1415         * configure.in: Remove useless is_mingw32.
1416         * configure: Rebuilt.
1417
1418 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
1419
1420         * testsuite/22_locale/collate_members_char.cc
1421         (test01): compare the result of collate::compare with
1422         that of collate::transform + string::compare, not with
1423         that of collate::transform + collate::compare.
1424         (test01): values returned by collate::compare are
1425         normalized, therefore test against +-1.
1426         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1427
1428 2002-03-12  Loren Rittle  <ljrittle@acm.org>
1429
1430         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1431         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1432
1433 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1434             Per Liboriussen  <liborius@stofanet.dk>
1435
1436         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1437         unsigned char.
1438         * config/os/gnu-linux/bits/ctype_inline.h: Same.
1439
1440         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1441
1442         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1443         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1444
1445         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1446         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1447
1448         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1449         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1450
1451         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1452
1453 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1454
1455         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1456         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1457         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1458         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1459         that memory limits are in place.
1460         (test03): Add tests.
1461
1462 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1463
1464         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1465         * aclocal.m4: Regenerate.
1466         * config.h.in: Regenerate.
1467         * configure: Regenerate.
1468         * include/c_std/std_cwctype.h: Guard.
1469
1470 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
1471
1472         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1473         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1474         * aclocal.m4: Regenerate.
1475         * configure: Regenerate.
1476
1477 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1478
1479         * include/bits/stl_bvector.h: Fix warning.
1480
1481 2002-03-11  Richard Henderson  <rth@redhat.com>
1482
1483         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
1484
1485 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1486
1487         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1488         New function.  Build the list of tests to run in testsuite_files.
1489         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
1490
1491 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1492
1493         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
1494         platforms with no weak support.
1495         * testsuite/27_io/ios_init.cc:  Likewise.
1496
1497 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
1498
1499         * include/bits/locale_facets.tcc (time_put::do_put):
1500         Consider sizeof(char_type) in allocating the buffer.
1501
1502         * include/bits/locale_facets.tcc (collate::do_tranform):
1503         Remove redundant variable.
1504
1505 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
1506             Paolo Carlini  <pcarlini@unitus.it>
1507
1508         * config/locale/generic/collate_members.cc
1509         (collate<char,wchar_t>::_M_compare_helper): normalize
1510         values returned by strcoll and wcscoll.
1511         * config/locale/gnu/collate_members.cc
1512         (collate<char,wchar_t>::_M_compare_helper): ditto
1513         for __strcoll_l and __wcscoll_l.
1514
1515 2002-03-10  Anthony Green  <green@redhat.com>
1516
1517         * configure.in: Support cross builds to mingw32 target.
1518         * configure: Rebuilt.
1519
1520 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
1521
1522         * include/bits/locale_facets.tcc (collate::do_transform):
1523         Rewrite to fix problems with long transformed strings.
1524
1525 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1526
1527         * c_locale_generic.cc: Move to...
1528         * generic/c_locale.cc
1529         * c_locale_generic.h: Move to...
1530         * generic/c_locale.h
1531         * codecvt_specializations_generic.h: Move to...
1532         * generic/codecvt_specializations.h
1533         * collate_members_generic.cc: Move to...
1534         * generic/collate_members.cc
1535         * ctype_members_generic.cc: Move to...
1536         * generic/ctype_members.cc
1537         * messages_members_generic.cc: Move to...
1538         * generic/messages_members.cc
1539         * messages_members_generic.h: Move to...
1540         * generic/messages_members.h
1541         * moneypunct_members_generic.cc: Move to...
1542         * generic/monetary_members.cc
1543         * numpunct_members_generic.cc: Move to...
1544         * generic/numeric_members.cc
1545         * time_members_generic.cc: Move to...
1546         * generic/time_members.cc
1547         * c_locale_gnu.cc: Move to...
1548         * gnu/c_locale.cc
1549         * c_locale_gnu.h: Move to...
1550         * gnu/c_locale.h
1551         * collate_members_gnu.cc: Move to...
1552         * gnu/collate_members.cc
1553         * ctype_members_gnu.cc: Move to...
1554         * gnu/ctype_members.cc
1555         * messages_members_gnu.cc: Move to...
1556         * gnu/messages_members.cc
1557         * messages_members_gnu.h: Move to...
1558         * gnu/messages_members.h
1559         * moneypunct_members_gnu.cc: Move to...
1560         * gnu/monetary_members.cc
1561         * numpunct_members_gnu.cc: Move to...
1562         * gnu/numeric_members.cc
1563         * time_members_gnu.cc: Move to...
1564         * gnu/time_members.cc
1565         * c_locale_ieee_1003.1-200x.cc: Move to...
1566         * ieee_1003.1-2001/c_locale.cc
1567         * c_locale_ieee_1003.1-200x.h: Move to...
1568         * ieee_1003.1-2001/c_locale.h
1569         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1570         * ieee_1003.1-2001/codecvt_specializations.h
1571         * messages_members_ieee_1003.1-200x.cc: Move to...
1572         * ieee_1003.1-2001/messages_members.cc
1573         * messages_members_ieee_1003.1-200x.h: Move to...
1574         * ieee_1003.1-2001/messages_members.h
1575
1576         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1577         * aclocal.m4: Regenerate.
1578         * configure: Regenerate.
1579         * src/Makefile.am (sources): Change to monetary and numeric.
1580         * src/Makefile.in: Regenerate.
1581         * docs/html/configopts.html: Update to ieee_1003.1-2001.
1582
1583 2002-03-08  scott snyder  <snyder@fnal.gov>
1584
1585         libstdc++/5875
1586         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1587         Allow one more digit of precision.
1588         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1589         write a double and read back in the same value.
1590
1591 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1592
1593         * include/std/std_limits.h: Move static const data members out of
1594         generic template, into base class __numeric_limits_base.
1595         * src/limits.cc: Add definitions.
1596         * config/linker-map.gnu: Add __numeric_limits_base.
1597         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1598
1599 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1600
1601         * include/bits/stl_alloc.h: Add extern implicit allocator
1602         instantiations.
1603         * include/bits/basic_string.tcc: Tweak.
1604         * include/bits/locale_facets.tcc: Remove default args. Add
1605         has_facet, use_facet extern instantiations.
1606         * src/stl-inst.cc: Add explicit instantiation.
1607         * src/locale-inst.cc: Clean. Remove locale member template
1608         instantiations.
1609
1610         * testsuite/22_locale/operators.cc (test02): Enable.
1611
1612 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1613             Stephen M. Webb  <stephen.webb@bregmasoft.com>
1614
1615         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1616         (_S_rb_tree_black): Make enum.
1617         Clean. Format.
1618         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1619         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1620         (__stl_threshold): _M_threshold, enum.
1621         * src/stl-inst.cc: Same.
1622         * config/linker-map.gnu: Remove.
1623
1624         * testsuite/23_containers/vector_bool.cc: New.
1625
1626 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1627
1628         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
1629         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
1630         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
1631         referring to the collection as a whole.  New section on which macros
1632         can be redefined by the user.
1633         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
1634         * docs/html/20_util/howto.html:  Update link to SGI.
1635         * docs/html/faq/index.html:  Update snapshot versions.  New entry
1636         on why g++ (but not gcc) must currently predefine certain macros.
1637         * docs/html/faq/index.txt:  Regenerated.
1638
1639         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
1640         names in declaration.
1641         (basic_string::compare):  These are no longer optional.
1642         * include/bits/ostream.tcc:  Tweak closing brace placement.
1643         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
1644         * include/std/std_sstream.h:  Fix typo in comment.
1645         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
1646         * src/locale.cc:  Likewise.
1647
1648 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1649
1650         PR libstdc++/5734
1651         * include/bits/stl_vector.h (vector::push_back()):  Guard with
1652         _GLIBCPP_DEPRECATED.
1653
1654 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1655
1656         * include/bits/c++config:  Fix misplaced leading blanks on first line.
1657
1658 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1659
1660         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1661         * README (libmath): Make clear.
1662
1663 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
1664
1665         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1666         script globbing in ld.
1667         * aclocal.m4: Rebuilt.
1668         * configure: Rebuilt.
1669
1670 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1671
1672         * docs/html/17_intro/RELEASE-NOTES: Update.
1673         * README: Format subdirectories.
1674
1675 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
1676
1677         libstdc++/5816
1678         * include/bits/locale_facets.tcc
1679         (num_get::_M_extract_float): Fix the parsing of __dec, since
1680         the standard prescribes that if no grouping characters are
1681         seen, no grouping check is applied.
1682         * testsuite/22_locale/num_get_members_char.cc: Add test05
1683         distilled from the PR.
1684         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1685
1686 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1687
1688         * docs/html/17_intro/porting-howto.xml: Refer to
1689         http://www.oasis-open.org for docbookx.dtd.
1690         * docs/html/17_intro/porting-howto.html: Regenerated.
1691
1692 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
1693
1694         PR libstdc++/3955
1695         * include/std/std_sstream.h:  Remove trailing spaces.
1696         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
1697         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
1698
1699 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
1700
1701         * testsuite/22_locale/num_get_members_char.cc (test04):
1702         Use a named locale expecting grouping (de_DE).
1703         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1704         Ditto.
1705         * testsuite/27_io/ios_manip_basefield.cc (test01):
1706         Extend coverage, uniform treatment of hexs and octs.
1707
1708 2002-02-28  Richard Henderson  <rth@redhat.com>
1709
1710         * config/linker-map.gnu: Export operator new with unsigned long,
1711         and with std::nothrow_t.  Likewise operator delete.
1712
1713 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
1714
1715         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1716         Admit grouping for octals and hexadecimals too.
1717         * testsuite/22_locale/num_get_members_char.cc: Add test04.
1718         (test01): Tweak "." -> "," in void* test.
1719         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1720
1721         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1722         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1723
1724 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
1725
1726         * testsuite/27_io/ios_manip_basefield.cc (test01):
1727         Fix for 64 bit machines.
1728
1729 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1730
1731         libstdc++/3983
1732         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1733         Adjust comment.
1734         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1735         (basic_ios::_M_fill_init): New.
1736         (basic_ios::fill()): Delay dealing with _M_fill.
1737         Adjust comment.
1738         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1739         (ios_base::_M_call_callbacks): Adjust.
1740         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1741
1742 2002-02-26  Loren Rittle  <ljrittle@acm.org>
1743
1744         * include/Makefile.am (thread_target_headers): Unconditionally
1745         stage and install gthr-posix.h.
1746         (${target_builddir}/gthr-posix.h): New rule cloned off
1747         ${target_builddir}/gthr-default.h.
1748         (${target_builddir}/gthr-default.h): Support chained inclusion
1749         of gthr support headers.
1750         * include/Makefile.in: Rebuilt.
1751
1752 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
1753
1754         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1755         Group all the integral types, not only decs.
1756         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1757         tests, add a few more.
1758
1759 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
1760
1761         * src/ios.cc (ios_base::~ios_base): Tweak.
1762         (ios_base::_M_call_callbacks): Deal with null __p.
1763         (ios_base::ios_base): Set _M_callbacks.
1764         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1765         * testsuite/27_io/ios_init.cc (test02): Fix.
1766
1767         * mkcheck.in (static_fail): Failed links go to output file.
1768
1769 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
1770
1771         * docs/html/faq/index.html:  Update.
1772         * docs/html/faq/index.txt:  Regenerate.
1773
1774 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
1775
1776         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
1777         * aclocal.m4:  Regenerate.
1778         * docs/html/configopts.html:  Document --enable-symvers.
1779         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
1780
1781 2002-02-22  Philipp Thomas  <pthomas@suse.de>
1782
1783         * include/backward/tempbuf.h: get_temporary_buffer and
1784         return_temporary_buffer are in namespace std, not in __gnu_cxx.
1785
1786 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
1787
1788         * configure.in (target_alias): Default to yes.
1789         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1790         libgcc to default case.
1791
1792 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
1793
1794         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
1795         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
1796         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
1797         * aclocal.m4:  Regenerate.
1798         * configure:  Regenerate.
1799         * config/linker-map.dummy:  New file.  Contains nothing useful.
1800
1801 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1802
1803         * testsuite/22_locale/money_put_members_char.cc: Fix.
1804         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1805
1806         * testsuite/27_io/standard_manipulators.cc: New file.
1807
1808         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1809         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1810
1811 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
1812
1813         * config/os/mingw32/bits/ctype_noninline.h
1814         (ctype<char>::ctype): Remove default args from parm list.
1815         * config/os/djgpp/bits/ctype_noninline.h: Same.
1816
1817 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1818
1819         * include/std/std_iomanip.h: Inline, tweaks.
1820         * config/linker-map.gnu: Remove hacks.
1821
1822         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1823         * testsuite/27_io/ios_init.cc: Same.
1824         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1825         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1826
1827 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1828
1829         * config/linker-map.gnu: Export global vtable, typeinfo, guard
1830         variable, and thunk info as per CXXABI docs.
1831
1832 2002-02-19  Loren Rittle <ljrittle@acm.org>
1833
1834         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1835         * include/Makefile.in: Rebuilt.
1836
1837 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1838
1839         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1840           with size3 for the string collations of str5.
1841
1842 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
1843
1844         libstdc++/5708
1845         * include/bits/locale_facets.tcc (money_put::do_put):
1846         For the space field use __fill instead of ' ', uniformly.
1847         * testsuite/22_locale/money_put_members_char.cc:
1848         Add test05 distilled from PR.
1849         (test01-02-03): Trim some '*' to ' '.
1850         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1851
1852 2002-02-18  Loren Rittle <ljrittle@acm.org>
1853
1854         libstdc++/5697
1855         * include/Makefile.am (thread_builddir): Remove (map all
1856         existing uses to target_builddir).
1857         (thread_headers): Rename to...
1858         (thread_target_headers): ...this.
1859         (stamp-thread): Remove.
1860         (stamp-target): Correctly state the position as built.
1861         Update all dependencies to match the new reality.  Remove all
1862         dependency calculations on directories.
1863         * include/Makefile.in: Rebuilt.
1864
1865 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
1866
1867         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1868         * include/bits/fstream.tcc: Same.
1869         * include/bits/sstream.tcc: Same.
1870         * include/bits/ostream.tcc: Same.
1871         * include/bits/istream.tcc: Same.
1872         * include/bits/streambuf.tcc: Same.
1873         * include/bits/basic_ios.tcc: Same.
1874         * include/bits/basic_string.tcc: Same.
1875
1876 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1877
1878         * include/std/std_iosfwd.h: Don't guard typedefs with
1879         _GLIBCPP_USE_WCHAR_T
1880         * include/bits/stringfwd.h: Same.
1881
1882 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1883
1884         * src/locale.cc (moneypunct_byname): Remove definitions.
1885         * include/std/std_streambuf.h (streambuf::operator=): Return.
1886
1887 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1888
1889         Tune for size.
1890         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1891         explicit instantiation.
1892         (string::_Rep::_S_max_size): Same.
1893         * include/bits/basic_string.tcc: Add extern explicit
1894         instantiations for string, wstring.
1895         * include/bits/basic_ios.tcc: Add extern explicit instantiations
1896         for ios, wios.
1897         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1898         * include/bits/istream.tcc: Same, for istream, wistream.
1899         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1900         wiostream.
1901         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1902         istringstream, wistringstream, ostringstream, wostringstream,
1903         stringstream, wstringstream.
1904         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1905         wifstream, ofstream, wofstream, fstream, wfstream.
1906         * src/misc-inst.cc: Correct comments.
1907         Add iomanip instantiations for wide streams.
1908         * include/std/std_iomanip.h: Same.
1909         * include/bits/locale_facets.tcc: Same.
1910
1911         * include/std/std_streambuf.h: Correct
1912         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1913         * include/std/std_sstream.h: Same.
1914         * include/std/std_ostream.h: Same.
1915         * include/std/std_istream.h: Same.
1916         * include/std/std_fstream.h: Same.
1917
1918         * include/std/std_streambuf.h: Add definitions for private copy
1919         ctor and assignment operator.
1920         * include/std/std_istream.h: Remove declared but undefined copy
1921         ctor and assignment operator. This is taken care of in ios_base,
1922         so adding it in the derived class as well is superfluous.
1923         * include/std/std_ostream.h: Same.
1924
1925         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1926         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1927
1928 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
1929
1930         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1931         Add typeinfo bits. Smooth.
1932         * aclocal.m4: Regenerate.
1933         * configure: Same.
1934         * src/Makefile.in: Same.
1935
1936 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
1937
1938         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1939         which do not have a CAS instruction.
1940
1941 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
1942
1943         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
1944         * configure.in:  Call it.
1945         * config/linker-map.gnu:  New file, initial incomplete revision.
1946         * src/Makefile.am:  Optionally pass version script to the linker.
1947         * aclocal.m4:  Regenerate.
1948         * configure:  Regenerate.
1949         * src/Makefile.in:  Regenerate.
1950
1951 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1952
1953         * src/localename.cc: Remove stdexcept include.
1954         * src/locale-inst.cc: Same.
1955         * src/locale.cc: Same.
1956         * src/functexcept.cc: Remove string includes.
1957         * include/std/std_bitset.h: Remove stdexcept include.
1958         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1959         * testsuite/23_containers/bitset_ctor.cc: Same.
1960
1961 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1962
1963         * include/bits/stl_algo (__stl_threshold): Declare external.
1964         (__stl_chunk_size): Same.
1965         * include/bits/stl_bvector.h (__WORD_BIT): Same.
1966         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1967         (_S_rb_tree_black): Same.
1968         * src/stl-inst.cc (__stl_threshold): Define.
1969         (__stl_chunk_size): Same.
1970         (__WORD_BIT): Same.
1971         (_S_rb_tree_red): Same.
1972         (_S_rb_tree_black): Same.
1973
1974         * config/io/basic_file_libio.h (__basic_file): Add declarations.
1975         * include/bits/basic_file.h: Remove.
1976         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1977         Declare generic types, specialization.
1978         * config/io/basic_file_stdio.cc: Definitions.
1979         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1980         Declare generic types.
1981         * include/Makefile.am (bits_headers): Remove basic_file.h.
1982         (extra_target_headers): Change basic_file_model.h to basic_file.h.
1983         (stamp-target): Same.
1984
1985         * include/bits/stl_alloc.h: Tweaks.
1986         * include/bits/localefwd.h: Same.
1987
1988 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
1989
1990         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1991         * testsuite/22_locale/collate_members_char.cc (test03): New test.
1992         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1993
1994 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
1995
1996         * include/bits/stl_algo.h (transform (both signatures), generate_n):
1997         Use __typeof__ in concept checks.
1998
1999 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
2000
2001         * include/bits/stl_algo.h (__median, for_each, find, find_if,
2002         adjacent_find, count, count_if, search, search_n, swap_ranges,
2003         transform, replace, replace_if, replace_copy, replace_copy_if,
2004         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2005         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
2006
2007 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2008
2009         * include/bits/locale_facets.h
2010         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2011         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2012         (__timepunct<_CharT>::_M_put_helper): Same.
2013         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2014
2015         * include/bits/fstream.tcc (filebuf::underflow): Remove
2016         __codecvt_type typedef.
2017         (filebuf::_M_convert_to_external): Same.
2018
2019 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
2020
2021         * docs/doxygen/TODO:  Update.
2022         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
2023         * docs/doxygen/mainpage.html:  Add TODO list link.
2024         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
2025         * docs/doxygen/tables.html:  New file, emoty structure only.
2026
2027         * include/bits/stl_iterator.h:  Doxygenate just about everything.
2028         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
2029         * include/bits/stl_iterator_base_types.h:  Add notes.
2030
2031 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
2032
2033         * include/bits/stl_map.h:  Tweak doxygen markup.
2034         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
2035         * include/bits/stl_vector.h:  Likewise.
2036
2037 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2038
2039         libstdc++/5286
2040         libstdc++/3860
2041         * include/std/std_fstream.h (filebuf::__file_type): Change to
2042         __basic_file<char>.
2043         (filebuf::_M_convert_to_external): Declare.
2044         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2045         codecvt bits for wide streams.
2046         (filebuf::_M_really_overflow): Use it.
2047         (filebuf::underflow): Use codecvt.
2048         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2049         (codecvt<__enc_traits>::do_out): Deal with partial.
2050         (codecvt<__enc_traits>::do_encoding): Return something useful.
2051         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2052         wchar_t.
2053         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2054         Change expected encoding output.
2055         (test02): Same.
2056         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2057         (test02): Same.
2058
2059 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2060             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2061
2062         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2063         (basic_ios::widen): Same.
2064
2065 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2066
2067         * testsuite/22_locale/money_get_members_char.cc:
2068         Add comment, tidy up.
2069         (test01): more "en_HK" tests (without showbase).
2070         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2071
2072 2002-02-06  Loren Rittle <ljrittle@acm.org>
2073
2074         * config/locale/c_locale_generic.cc: Do not trust
2075         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2076         set by configure.
2077
2078 2002-02-06  Loren Rittle <ljrittle@acm.org>
2079
2080         * acinclude.m4: Add C++ linkage check for strtof.
2081         * aclocal.m4: Rebuilt.
2082         * config.h.in: Rebuilt.
2083         * configure: Rebuilt.
2084         * config/locale/c_locale_generic.cc: Conditionally include
2085         <ieeefp.h>.  Improve handling and error checking of float
2086         and long double input for non-C99 configurations.
2087
2088 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2089
2090         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2091         In case money_base::symbol deal properly with multi-char sign
2092         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2093         * testsuite/22_locale/money_get_members_char.cc: Add test07.
2094         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2095
2096 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2097
2098         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2099         First construct a tentative returned string, then, only if the
2100         parsing succeeds, copy it into the string passed by reference.
2101         * testsuite/22_locale/money_get_members_char.cc: Add test06.
2102         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2103
2104 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2105
2106         * docs/doxygen/TODO:  Impl-defined behavior now documented...
2107         * docs/html/17_intro/howto.html:  ...here.
2108         * docs/doxygen/mainpage.doxy:  Remove, rename...
2109         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2110         * docs/doxygen/style.css:  Add small text.
2111         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
2112         * docs/doxygen/user.cfg.in:  Likewise.
2113
2114 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2115
2116         * include/bits/stl_map.h:  Initial doxygen markup.
2117         * include/std/std_fstream.h:  Initial doxygen markup.
2118
2119 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
2120
2121         libstdc++/5579
2122         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2123         Deal correctly with !(__io.flags() & ios_base::showbase)
2124         for case money_base::symbol.
2125         * testsuite/22_locale/money_get_members_char.cc: Add test05.
2126         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2127
2128 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
2129
2130         * testsuite/22_locale/operators.cc
2131         (gnu_collate::do_compare()): Add return statement to
2132         suppress "no return statement" warning.
2133
2134 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
2135
2136         * testsuite/27_io/ostream_manip.cc: Enable test02.
2137
2138 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
2139
2140         * docs/html/documentation.html:  Update for 3.0.96.
2141         * docs/html/faq/index.html:  Update for 3.0.96.
2142         * docs/html/faq/index.txt:  Regenerated.
2143         * docs/doxygen/TODO:  Update notes.
2144         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
2145
2146 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
2147
2148         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2149         Initialize all data members in copy ctor. Make ctors explicit.
2150         (__enc_traits::__enc_traits()): Default ctor does nothing.
2151         (__enc_traits::_M_init): Guard against multiple iconv_opens.
2152         * include/std/std_sstream.h (basic_stringbuf): Make data members
2153         protected.
2154         * include/std/std_fstream.h (basic_filebuf): Same.
2155         * include/std/std_streambuf.h: Tweak.
2156         * include/bits/streambuf.tcc: Same.
2157         * include/bits/sstream.tcc: Same.
2158         * include/bits/fstream.tcc: Same.
2159
2160 2002-01-31  Loren Rittle <ljrittle@acm.org>
2161
2162         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2163         allow NULL argument to be passed to setenv().
2164         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2165         * testsuite/22_locale/collate_members_char.cc: Likewise.
2166         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2167         * testsuite/22_locale/ctype_members_char.cc: Likewise.
2168         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2169         * testsuite/22_locale/messages_members_char.cc: Likewise.
2170         * testsuite/22_locale/money_get_members_char.cc: Likewise.
2171         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2172         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2173         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2174         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2175         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2176         * testsuite/22_locale/num_get_members_char.cc: Likewise.
2177         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2178         * testsuite/22_locale/num_put_members_char.cc: Likewise.
2179         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2180         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2181         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2182         * testsuite/22_locale/time_get_members_char.cc: Likewise.
2183         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2184         * testsuite/22_locale/time_put_members_char.cc: Likewise.
2185         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2186
2187 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
2188
2189         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2190
2191         * ChangeLog-2001: Fix spelling errors...
2192         * docs/html/17_intro/RELEASE-NOTES: Update.
2193         * docs/html/17_intro/TODO: Update.
2194         * README (file): Update.
2195
2196 2002-01-30  Loren Rittle <ljrittle@acm.org>
2197
2198         * config/locale/c_locale_generic.cc: Check errno for ERANGE
2199         instead of non-zero to aid portability.
2200
2201 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2202
2203         * docs/html/22_locale/messages.html: Fix example code.
2204
2205 2002-01-30  Richard Henderson  <rth@redhat.com>
2206
2207         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2208         out from test03 and templatize.
2209         (test03): Use it.
2210
2211 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2212
2213         * config/locale/numpunct_members_gnu.cc
2214         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2215         Fix initialization of _M_grouping for locales which have
2216         _M_thousands_sep == '\0'(L'\0', respectively).
2217         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2218
2219 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2220
2221         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2222         Better fix for 32/64 bit architectures, avoiding the
2223         implicit assumption that CHAR_BIT == 8.
2224
2225 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
2226
2227         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
2228         * Makefile.in:  Regenerate.
2229
2230         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
2231         * docs/doxygen/Intro.3:  Update.
2232         * docs/doxygen/TODO:  Update.
2233         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
2234         * docs/doxygen/mainpage.doxy:  Update.
2235         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
2236         regenerate comments and variables with 1.2.12.
2237         * docs/doxygen/maint.cfg.in:  Remove file.
2238
2239         * include/bits/stl_relops.h:  Doxygenate.
2240         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
2241
2242         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2243         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2244         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2245         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2246         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2247         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2248         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2249         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2250         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2251         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2252         include/ext/hash_set, include/ext/iterator, include/ext/memory,
2253         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2254         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2255         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2256         include/std/std_algorithm.h, include/std/std_bitset.h,
2257         include/std/std_complex.h, include/std/std_deque.h,
2258         include/std/std_fstream.h, include/std/std_functional.h,
2259         include/std/std_iomanip.h, include/std/std_ios.h,
2260         include/std/std_iosfwd.h, include/std/std_iostream.h,
2261         include/std/std_istream.h, include/std/std_iterator.h,
2262         include/std/std_limits.h, include/std/std_list.h,
2263         include/std/std_locale.h, include/std/std_map.h,
2264         include/std/std_memory.h, include/std/std_numeric.h,
2265         include/std/std_ostream.h, include/std/std_queue.h,
2266         include/std/std_set.h, include/std/std_sstream.h,
2267         include/std/std_stack.h, include/std/std_stdexcept.h,
2268         include/std/std_streambuf.h, include/std/std_string.h,
2269         include/std/std_utility.h, include/std/std_valarray.h,
2270         include/std/std_vector.h:  Add/correct @file doxygen hook.
2271
2272         * include/ext/memory:  Doxygenate most of rest of file.
2273         * libsupc++/exception:  Doxygen output formatting.
2274         * libsupc++/new:  Say which header it is.
2275
2276         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
2277         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
2278         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
2279         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
2280
2281 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2282             Charles Leggett <CGLeggett@lbl.gov>
2283
2284         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2285
2286 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2287
2288         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2289         Fix to deal correctly with both 32 bit and 64 bit architectures
2290
2291 2002-01-25  Loren Rittle <ljrittle@acm.org>
2292
2293         * testsuite/thread/pthread1.cc: Use one condition variable
2294         per predicate instead of tricky use of one condition variable.
2295
2296 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
2297
2298         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2299         streams.
2300         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2301         * testsuite/27_io/filebuf.cc: Compile only.
2302         * testsuite/27_io/filebuf_members.cc: Move tests to here.
2303         * testsuite/27_io/filebuf_virtuals.cc: And here.
2304         Revert sungetc, sync changes for expected values.
2305         * testsuite/27_io/filebuf-*: Move to...
2306         * testsuite/27_io/filebuf_virtuals-*: ...here.
2307         * testsuite/27_io/istream.cc: Compile only, activate.
2308         * testsuite/27_io/ostream.cc: Same.
2309         * testsuite/27_io/iostream.cc: New.
2310         * testsuite/27_io/iostream_members.cc: New.
2311
2312 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
2313
2314         * testsuite/thread/pthread1.cc: Enable on cygwin.
2315         * testsuite/thread/pthread2.cc: Likewise.
2316         * testsuite/thread/pthread3.cc: Likewise.
2317         * testsuite/thread/pthread4.cc: Likewise.
2318         * testsuite/thread/pthread5.cc: Likewise.
2319         * testsuite/thread/pthread6.cc: Likewise.
2320
2321 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2322
2323         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2324
2325 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2326
2327         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2328         const, tweak.
2329         (basic_ios::fill(char_type)): Use fill().
2330         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2331         (basic_ios::narrow): Same.
2332         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2333         if they are invalid.
2334         (basic_ios::init): Comment.
2335         * testsuite/27_io/ios_init.cc (test02): New.
2336
2337 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
2338
2339         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
2340         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
2341         * include/ext/memory:  Do not include stl_tempbuf.h.
2342         (temporary_buffer):  Add doxygen hook.
2343         (__get_temporary_buffer, get_temporary_buffer,
2344         return_temporary_buffer):  Move back to std:: header...
2345         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
2346         * include/ext/rope:  Do not include stl_tempbuf.h.
2347         * include/ext/stl_hashtable.h:  Likewise.
2348         * include/std/std_algorithm.h:  Likewise.
2349         * testsuite/20_util/temporary_buffer.cc:  New file.
2350
2351 2002-01-24  andrew@andypo.net
2352             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
2353
2354         libstdc++/5432
2355         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2356         * include/bits/localefwd.h: Likewise.
2357         Also use for std::locale::id::_S_highwater.
2358         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2359         * src/locale.cc: Support new usage of _Atomic_word.
2360         (std::locale::classic): Guard entire function against reentry.
2361         * src/localename.cc: Support new usage of _Atomic_word.
2362
2363 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
2364
2365         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2366         _GLIBCPP_HAVE_SETENV.
2367         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2368         * testsuite/22_locale/collate_members_char.cc (test02): Same.
2369         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2370         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2371         * testsuite/22_locale/messages_members_char.cc (test02): Same.
2372         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2373         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2374         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2375         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2376         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2377         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2378         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2379         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2380         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2381         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2382         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2383         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2384         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2385         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2386         * aclocal.m4: Regenerate.
2387         * configure: Regenerate.
2388         * config.h.in: Regenerate.
2389
2390 2002-01-23  Loren Rittle <ljrittle@acm.org>
2391
2392         * testsuite/thread/pthread1.cc: New test.
2393         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2394         * testsuite/thread/pthread3.cc: Likewise.
2395         * testsuite/thread/pthread4.cc: New test adapted from
2396         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2397         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2398         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2399
2400 2002-01-23  Richard Henderson  <rth@redhat.com>
2401
2402         PR libstdc++/5198
2403         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2404         CAS on the cpu variants that support it.  Add versions that use
2405         TAS and that disable interrupts.
2406         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2407
2408 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
2409
2410         * include/bits/locale_facets.tcc: Remove old comments.
2411
2412 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
2413
2414         * include/bits/locale_facets.tcc (__convert_to_v): Change template
2415         parameter to _Tv.
2416         (__convert_from_v): Same.
2417
2418 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2419
2420         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2421         prototype.
2422         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2423         __max_digits checks, adjust arguments.
2424         (num_get::do_get(*)): Changeup.
2425
2426 2002-01-23  Loren Rittle <ljrittle@acm.org>
2427
2428         * config/locale/c_locale_generic.cc: Fix typename usage.
2429
2430 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2431
2432         * config/locale/c_locale_generic.cc: Fix.
2433
2434 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2435
2436         * docs/html/22_locale/messages.html: Remove angle brackets.
2437         * docs/html/17_intro/TODO: Add.
2438
2439 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
2440
2441         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2442         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2443         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2444         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2445
2446 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2447
2448         Audit for LANG independence.
2449         * include/bits/localefwd.h: Tweaks.
2450         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2451         Use __convert_to_v.
2452         (time_get::do_get_year): Same.
2453         (__convert_from_v): Add.
2454         (num_put::_M_convert_float): Use.
2455         (num_put::_M_convert_int): Same.
2456         (money_put::do_put): Same.
2457
2458         * src/locale-inst.cc: Add instantiations for __convert_from_v.
2459         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2460         * config/locale/time_members_generic.cc:
2461         * config/locale/messages_members_gnu.cc: Same.
2462         * config/locale/messages_members_gnu.h: Same.
2463
2464         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2465         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2466         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2467         * testsuite/22_locale/collate_members_char.cc (test02): New.
2468         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2469         * testsuite/22_locale/ctype_members_char.cc (test03): New.
2470         * testsuite/22_locale/messages_members_char.cc (test02): New.
2471         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2472         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2473         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2474         * testsuite/22_locale/money_get_members_char.cc (test04): New.
2475         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2476         * testsuite/22_locale/money_put_members_char.cc (test04): New.
2477         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2478         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2479         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2480         * testsuite/22_locale/time_put_members_char.cc (test03): New.
2481         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2482         * testsuite/22_locale/time_get_members_char.cc (test07): New.
2483         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2484         * testsuite/22_locale/num_get_members_char.cc (test03): New.
2485         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2486         * testsuite/22_locale/num_put_members_char.cc (test03): New.
2487
2488         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2489         locale issues.
2490         * testsuite/22_locale/time_get_members_char.cc: Same.
2491
2492 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2493
2494         libstdc++/5280
2495         * include/bits/localefwd.h: Tweak comments.
2496         * include/bits/locale_facets.h (__convert_to_v): Add.
2497         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2498         (num_get::do_get(float)): Same.
2499         (num_get::do_get(long double)): Same.
2500         (num_get::do_get(bool)): Same.
2501         (num_get::do_get(long)): Same.
2502         (num_get::do_get(long long)): Same.
2503         (num_get::do_get(unsigned int)): Same.
2504         (num_get::do_get(unsigned short)): Same.
2505         (num_get::do_get(unsigned long)): Same.
2506         (num_get::do_get(unsigned long long)): Same.
2507         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2508         * config/locale/c_locale_generic.cc: Same.
2509
2510 2002-01-22  Loren Rittle <ljrittle@acm.org>
2511
2512         * include/Makefile.am (c_base_builddir): Remove redundant slash.
2513         (std_builddir): Likewise.
2514         (std_headers_rename): Fix cut-n-paste typo.
2515         (install-data-local): Concat path per element instead of once to
2516         first element of list.
2517         * include/Makefile.in: Rebuilt.
2518
2519 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2520
2521         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2522         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2523         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2524
2525 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2526
2527         * include/bits/locale_facets.h (ctype<char>::classic_table):
2528         Remove definition.
2529         (ctype<char>::_S_ctable): Remove.
2530         * config/os/gnu-linux/bits/ctype_noninline.h
2531         (ctype<char>::_S_table): Remove definition.
2532         (ctype<char>::classic_table): Define.
2533         (ctype<char>::ctype): Replace _S_ctable with classic_table().
2534         * config/os/aix/bits/ctype_noninline.h: Same.
2535         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2536         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2537         * config/os/djgpp/bits/ctype_noninline.h: Same.
2538         * config/os/generic/bits/ctype_noninline.h: Same.
2539         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2540         * config/os/hpux/bits/ctype_noninline.h: Same.
2541         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2542         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2543         * config/os/mingw32/bits/ctype_noninline.h: Same.
2544         * config/os/newlib/bits/ctype_noninline.h: Same.
2545         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2546         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2547         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2548
2549 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
2550
2551         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2552         of _pctype. Use to define _S_ctable.  Add definition for alternate
2553         ctor.  Initialise _M_ctable to _S_ctable in ctors.
2554         (do_toupper, do_tolower): Use inline code appropriate for C-locale
2555         rather than ::toupper, ::tolower.
2556
2557 2002-01-18  Loren Rittle <ljrittle@acm.org>
2558
2559         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2560         Add specialization for FreeBSD systems only to avoid losing test
2561         only due to extra precision unmentioned in system headers.
2562
2563 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
2564
2565         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2566
2567 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2568
2569         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
2570         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2571
2572 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2573
2574         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2575
2576 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2577
2578         * configure.target: Define OPT_LDFLAGS for AIX case.
2579
2580 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2581
2582         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2583         __glibcpp_double_has_quiet_NaN): Correct mispelling.
2584
2585 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
2586
2587         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2588
2589 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
2590
2591         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2592         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
2593         * aclocal.m4: Regenerate.
2594         * configure: Regenerate.
2595
2596 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2597
2598         * include/Makefile.am (c_base_headers_rename): New.
2599         (c_base_headers_extra): New.
2600         (stamp-c_base): Modify.
2601         (install-data-local): Use both.
2602         * include/Makefile.in: Regenerate.
2603         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2604         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2605         cstdio ctime cwctype]: Move to..
2606         * include/c/std_*: Here.
2607         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2608         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2609         cstdio ctime cwctype]: Move to..
2610         * include/c_std/std_*: Here.
2611
2612         Alexandre Oliva  <aoliva@redhat.com>
2613         * include/Makefile.am (.PRECIOUS): Add rule.
2614         * include/Makefile.in: Regenerate.
2615
2616 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2617             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2618
2619         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2620         Deuglify, should be current.
2621         (back_insert_iterator::_M_container): Deuglify, should be container.
2622         (front_insert_iterator::_M_container): Same.
2623         (insert_iterator::_M_container): Same.
2624         * testsuite/24_iterators/reverse_iterator.cc: Add check.
2625         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2626         * testsuite/24_iterators/front_insert_iterator.cc: Same.
2627         * testsuite/24_iterators/insert_iterator.cc: Same.
2628
2629 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2630
2631         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2632         static.
2633         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2634         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2635         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2636         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2637         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2638         * config/os/newlib/bits/ctype_noninline.h: Same.
2639         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2640         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2641         * config/os/hpux/bits/ctype_noninline.h: Same.
2642         * config/os/djgpp/bits/ctype_noninline.h: Same.
2643         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2644         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2645         * config/os/aix/bits/ctype_noninline.h: Same.
2646
2647         Testcase by Dietmar Kühl via Peter Schmid
2648         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2649         classic_table().
2650
2651 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2652
2653         * libmath/signbitl.c: Copyright years as list, not range.
2654         * libmath/Makefile.am: Same.
2655         * libmath/Makefie.in: Regenerate.
2656         * libmath/signbit.c: Same.
2657         * libmath/nan.c: Same.
2658         * libmath/copysignf.c: Same.
2659         * libmath/signbitf.c: Same.
2660         * testsuite/22_locale/money_get_members_char.cc: Same.
2661         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2662         * testsuite/22_locale/money_put_members_char.cc: Same.
2663         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2664         * testsuite/22_locale/time_get_members_char.cc: Same.
2665         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2666         * testsuite/22_locale/time_put_members_char.cc: Same.
2667         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2668         * testsuite/21_strings/nonmember.cc: Same.
2669         * testsuite/21_strings/compare.cc: Same.
2670         * testsuite/27_io/stringstream.cc: Same.
2671         * testsuite/27_io/stringbuf.cc: Same.
2672         * testsuite/27_io/filebuf.cc: Same.
2673         * testsuite/27_io/ios_manip_basefield.cc: Same.
2674         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2675         * include/bits/cpp_type_traits.h: Same.
2676         * include/bits/generic_shadow.h: Same.
2677         * include/bits/gslice_array.h: Same.
2678         * include/bits/gslice.h: Same.
2679         * include/bits/indirect_array.h: Same.
2680         * include/bits/slice_array.h: Same.
2681         * include/bits/sstream.tcc: Same.
2682         * include/bits/streambuf_iterator.h: Same.
2683         * include/bits/valarray_array.tcc: Same.
2684         * include/bits/valarray_meta.h: Same.
2685         * include/bits/valarray_array.h: Same.
2686         * config/os/mingw32/bits/ctype_noninline.h: Same.
2687         * config/os/mingw32/bits/ctype_base.h: Same.
2688         * config/os/hpux/bits/ctype_noninline.h: Same.
2689         * config/os/hpux/bits/ctype_base.h: Same.
2690         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2691         * config/os/gnu-linux/bits/ctype_base.h: Same.
2692         * config/os/generic/bits/ctype_noninline.h: Same.
2693         * config/os/generic/bits/ctype_base.h: Same.
2694
2695         * libsupc++/tinfo.h: Tweaks.
2696
2697 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2698
2699         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2700         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2701         * testsuite/22_locale/ctype_members_char.cc: Tweak.
2702
2703 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2704
2705         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2706         (num_put::do_put(void*)): Fix.
2707         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2708         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2709         * testsuite/22_locale/num_get_members_char.cc (test02): Add
2710         long double, void, bool types.
2711         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2712
2713 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2714             Alexandre Oliva  <aoliva@redhat.com>
2715
2716         * libmath/Makefile.am (LINK): Add --tag CC.
2717         * libmath/Makefile.in: Regenerate.
2718
2719 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2720
2721         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2722         of character to attribute mapping table.
2723
2724 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
2725
2726         * testsuite/26_numerics/c99_classification_macros_c.cc
2727         Remove dg-error and dg-excess-errors comments.
2728
2729 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
2730
2731         * include/bits/locale_facets.tcc (time_put::put): Correct output
2732         iterator positions.
2733         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2734         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2735         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2736         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2737
2738 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2739
2740         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2741
2742 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
2743             Nathan Myers  <ncm@cantrip.org>
2744
2745         * include/bits/basic_string.h
2746         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2747         temporaries (i.e., call _M_replace_safe) when possible.
2748         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2749         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2750         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2751         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2752         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2753         * include/bits/basic_string.tcc
2754         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2755         replace(__pos, __n1, __s, __n2).
2756         * testsuite/21_strings/replace.cc (test03): New testcases.
2757
2758         * include/bits/basic_string.h (insert(__pos, __s, __n)):
2759         Adjust comparison wrt overflow.
2760
2761 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2762
2763         * include/Makefile.am (std_headers_rename): New variable.
2764         (install-data-local): Use it.
2765         * include/Makefile.in: Regenerate.
2766
2767 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2768
2769         * include/bits/locale_facets.tcc (money_put::do_put(string):
2770         Correct output iterator value.
2771         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2772         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2773
2774 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2775
2776         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
2777         previous commit.
2778
2779 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2780
2781         * include/Makefile.am (std_headers):  Update list with new names.
2782         (stamp-std):  Link to standardized name.
2783         * include/Makefile.in:  Regenerate.
2784
2785         * include/std/algorithm, include/std/bitset, include/std/complex,
2786         include/std/deque, include/std/fstream, include/std/functional,
2787         include/std/iomanip, include/std/ios, include/std/iosfwd,
2788         include/std/iostream, include/std/istream, include/std/iterator,
2789         include/std/limits, include/std/list, include/std/locale,
2790         include/std/map, include/std/memory, include/std/numeric,
2791         include/std/ostream, include/std/queue, include/std/set,
2792         include/std/sstream, include/std/stack, include/std/stdexcept,
2793         include/std/streambuf, include/std/string, include/std/utility,
2794         include/std/valarray, include/std/vector:  Rename to...
2795
2796         * include/std/std_algorithm.h, include/std/std_bitset.h,
2797         include/std/std_complex.h, include/std/std_deque.h,
2798         include/std/std_fstream.h, include/std/std_functional.h,
2799         include/std/std_iomanip.h, include/std/std_ios.h,
2800         include/std/std_iosfwd.h, include/std/std_iostream.h,
2801         include/std/std_istream.h, include/std/std_iterator.h,
2802         include/std/std_limits.h, include/std/std_list.h,
2803         include/std/std_locale.h, include/std/std_map.h,
2804         include/std/std_memory.h, include/std/std_numeric.h,
2805         include/std/std_ostream.h, include/std/std_queue.h,
2806         include/std/std_set.h, include/std/std_sstream.h,
2807         include/std/std_stack.h, include/std/std_stdexcept.h,
2808         include/std/std_streambuf.h, include/std/std_string.h,
2809         include/std/std_utility.h, include/std/std_valarray.h,
2810         include/std/std_vector.h:  ...this.
2811
2812 2002-01-11  Loren Rittle <ljrittle@acm.org>
2813
2814         * include/Makefile.am (extra_target_headers): New list of all
2815         target files built with ad hoc naming rules.
2816         (stamp-*): Handle LN_S failure in manner portable across make
2817         implementations.
2818         (install-data-local): Install header files from human-maintained
2819         file lists and directory components instead of non-robust find.
2820         * include/Makefile.in: Rebuilt.
2821
2822 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
2823
2824         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2825         Check for zero-length negative sign before adding it to output
2826         string.
2827         (money_get::do_get(long double)): Return beg.
2828         * testsuite/22_locale/money_get_members_char.cc (test02): Add
2829         iterator checks.
2830         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2831
2832 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
2833
2834         libstdc++/5331
2835         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2836         for _M_extract_float and _M_extract_int
2837         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2838         (num_get<>::_M_extract_int): Likewise, all callers changed
2839         * testsuite/22_locale/num_get_members_char.cc: Testcase
2840
2841 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2842
2843         * libsupc++/exception (bad_exception): Add comment.
2844         * libsupc++/new (bad_alloc): Same.
2845         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2846
2847 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2848
2849         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2850         that the destructors should be removed from the descriptions
2851         in the standard: writing them explicitly allows the vtable
2852         heuristic to work. For additional information see:
2853         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2854         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2855         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2856         * libsupc++/exception (bad_exception::~bad_exception()):
2857         Reintroduce declaration.
2858         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2859         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2860         (bad_typeid::~bad_typeid()): Same.
2861         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2862         Reintroduce definition.
2863         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2864         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2865         (bad_typeid::~bad_typeid()): Same.
2866
2867 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2868
2869         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2870         * include/Makefile.in: Regenerate.
2871
2872 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
2873
2874         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2875         definition.
2876
2877 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2878
2879         libstdc++/2913
2880         libstdc++/4879
2881         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2882         return value of _M_file->sync().
2883         (filebuf::showmanyc): Check for is_open.
2884         * include/std/fstream (filebuf::sync): Tweak.
2885         * testsuite/27_io/filebuf.cc: Tweak.
2886
2887 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
2888             Brad Garcia  <garsh@attbi.com>
2889
2890         * testsuite/27_io/filebuf_members.cc: Add test.
2891
2892 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2893             Craig Rodrigues  <rodrigc@mediaone.net>
2894
2895         libstdc++/5174
2896         * po/Makefile.am (mkinstalldirs): Add.
2897         * po/Makefile.in: Regenerate.
2898
2899 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
2900
2901         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2902         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
2903         compiler output.
2904         * testsuite/23_containers/map_operators.cc: Remove
2905         dg-excess-errors comment.
2906         * testsuite/23_containers/set_operators.cc: Likewise.
2907
2908 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
2909
2910         * include/bits/stl_function.h:  Remove two lines of comments;
2911         adjust copyright years.
2912
2913 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
2914
2915         * include/Makefile.am (std_headers): Remove cXXX from list.
2916         (c_base_srcdir): No bits subdirectory.
2917         (c_base_builddir): Same.
2918         (c_base_headers): Adjust names, add ciso646.
2919         (bits_headers): Remove std_xxx.h headers.
2920         * include/Makefile.in: Regenerate.
2921
2922         * include/ext/iterator: Adjust includes.
2923         * include/ext/ropeimpl.h: Same.
2924         * include/ext/stl_hash_fun.h: Same.
2925         * include/ext/algorithm: Same.
2926
2927         * include/backward/bvector.h: Adjust includes.
2928         * include/backward/vector.h: Same.
2929         * include/backward/strstream: Same.
2930         * include/backward/streambuf.h: Same.
2931         * include/backward/stack.h: Same.
2932         * include/backward/set.h: Same.
2933         * include/backward/queue.h: Same.
2934         * include/backward/multiset.h: Same.
2935         * include/backward/multimap.h: Same.
2936         * include/backward/map.h: Same.
2937         * include/backward/list.h: Same.
2938         * include/backward/iterator.h: Same.
2939         * include/backward/iostream.h: Same.
2940         * include/backward/iomanip.h: Same.
2941         * include/backward/fstream.h: Same.
2942         * include/backward/deque.h: Same.
2943         * include/backward/complex.h: Same.
2944
2945         * include/bits/std_algorithm.h: Move to...
2946         * include/std/algorithm: ...here.
2947         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2948         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2949         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2950         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2951         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2952         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2953         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2954         Same.
2955
2956         * include/c_std/bits/std_cassert.h: Move to...
2957         * include/c_std/cassert: Here.
2958         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2959         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2960         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2961         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2962         std_cwctype.h: Same.
2963         * include/c_std/cmath: Adjust cmath.tcc include.
2964         * include/c_std/cstdlib: Adjust includes.
2965         * include/c_std/cwchar: Same.
2966         * include/c_std/ctime: Same.
2967         * include/c_std/cstring: Same.
2968         * include/c_std/cstdio: Same.
2969         * include/c_std/bits: Remove directory.
2970
2971         * include/c/bits/std_cassert.h: Move to...
2972         * include/c/cassert: Here.
2973         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2974         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2975         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2976         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2977         std_cwctype.h: Same.
2978         * include/c/bits: Remove directory.
2979
2980         * include/std/cwctype: Remove.
2981         * include/std/cwchar: Remove.
2982         * include/std/ctime: Remove.
2983         * include/std/cstring: Remove.
2984         * include/std/cstdlib: Remove.
2985         * include/std/cstdio: Remove.
2986         * include/std/cstddef: Remove.
2987         * include/std/cstdarg: Remove.
2988         * include/std/csignal: Remove.
2989         * include/std/csetjmp: Remove.
2990         * include/std/cmath: Remove.
2991         * include/std/clocale: Remove.
2992         * include/std/climits: Remove.
2993         * include/std/ciso646: Remove.
2994         * include/std/cfloat: Remove.
2995         * include/std/cerrno: Remove.
2996         * include/std/cctype: Remove.
2997         * include/std/cassert: Remove.
2998
2999         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3000         files and subsituting <xxx>.
3001         * include/bits/valarray_array.h: Same.
3002         * include/bits/stl_uninitialized.h: Same.
3003         * include/bits/stl_alloc.h: Same.
3004         * include/bits/stl_algobase.h: Same.
3005         * include/bits/sstream.tcc: Same.
3006         * include/bits/pthread_allocimpl.h: Same.
3007         * include/bits/ostream.tcc: Same.
3008         * include/bits/localefwd.h: Same.
3009         * include/bits/locale_facets.tcc: Same.
3010         * include/bits/locale_facets.h: Same.
3011         * include/bits/istream.tcc: Same.
3012         * include/bits/char_traits.h: Same.
3013         * include/bits/boost_concept_check.h: Same.
3014         * include/bits/basic_file.h: Same.
3015         * include/std/bitset: Same.
3016         * include/std/complex: Same.
3017         * include/std/fstream: Same.
3018         * include/std/functional: Same.
3019         * include/std/ios: Same.
3020         * include/std/iostream: Same.
3021         * include/std/ostream: Same.
3022         * include/std/sstream: Same.
3023         * include/std/streambuf: Same.
3024         * include/std/string: Same.
3025         * include/std/iterator: Same.
3026         * include/std/valarray: Same.
3027
3028         * src/ios.cc: Adjust includes.
3029         * src/valarray-inst.cc: Same.
3030         * src/string-inst.cc: Same.
3031         * src/stl-inst.cc: Same.
3032         * src/stdexcept.cc: Same.
3033         * src/misc-inst.cc: Same.
3034         * src/localename.cc: Same.
3035         * src/locale-inst.cc: Same.
3036         * src/locale.cc: Same.
3037         * src/limits.cc: Same.
3038         * src/concept-inst.cc: Same.
3039         * src/complex_io.cc: Same.
3040         * src/codecvt.cc: Same.
3041         * src/bitset.cc: Same.
3042         * src/cmath.cc: Same.
3043
3044 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
3045
3046         * include/bits/stl_tree.h (rb_tree):  Move to...
3047         * include/ext/rb_tree:  ...here, new file.
3048         * include/Makefile.am (ext_headers):  Add new file.
3049         * include/Makefile.in:  Regenerate.
3050         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3051         return_temporary_buffer, struct temporary_buffer):  Move to...
3052         * include/ext/memory:  ...here.
3053         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
3054         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
3055         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
3056
3057 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3058
3059         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3060         * include/ext/numeric:  ...here, new file.
3061         * include/bits/stl_function.h (identity_element, unary_compose,
3062         binary_compose, compose1, compose2, identity, select1st,
3063         select2nd, project1st + helper, project2nd + helper,
3064         constant_void_fun + helper, constant_unary_fun + helper,
3065         costant_binary_fun + helper, constant0, constant1, constant2,
3066         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3067         * include/ext/functional:  ...here, new file.
3068         * include/Makefile.am (ext_headers):  Add new files.
3069         * include/Makefile.in:  Regenerate.
3070         * testsuite/ext/headers.cc:  Include <ext/numeric> and
3071         <ext/functional>.
3072         * include/backward/algo.h:  Include <ext/numeric>, tweak.
3073         * include/backward/function.h:  Include <ext/functional>, tweak.
3074         * include/ext/ropeimpl.h:  Include <ext/numeric>.
3075
3076 2002-01-03  Jeffrey A Law  <law@redhat.com>
3077
3078         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3079         __strtoull declarations with __extension__.
3080
3081 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3082
3083         * testsuite/lib/prune.exp: Correct regular expression for
3084         -ffunction-sections
3085
3086 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3087
3088         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3089         Change concept checks, as with lower_bound and PR 2054.
3090         * testsuite/ext/concept_checks.cc:  Expand test to include those.
3091
3092 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3093
3094         * include/bits/boost_concept_check.h:  Import some changes from
3095         upsteam (Boost) version.
3096
3097 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3098
3099         * include/bits/stl_algobase.h (copy_n + helpers,
3100         lexicographical_compare_3way + helpers):  Move to...
3101         * include/ext/algorithm:  ...here.
3102         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3103         helpers):  Move to...
3104         * include/ext/memory:  ...here, new file.
3105         * include/Makefile.am (ext_headers):  Add new file.
3106         * include/Makefile.in:  Regenerate.
3107         * testsuite/ext/headers.cc:  Include <ext/memory>.
3108         * include/backward/algobase.h:  Include <ext/memory> and
3109         <ext/algorithm>, tweak.
3110         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3111         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3112
3113 2002-01-01  Roger Sayle <roger@eyesopen.com>
3114
3115         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3116         equivalent ___builtin__ versions.
3117
3118         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3119         are available in libstdc++ as the necessary stub implementations
3120         are provided by libmath/stubs.c.
3121
3122 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
3123
3124         * configure.in: Add support for NetBSD cross compiles.
3125         * configure: Regenerate.