OSDN Git Service

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