OSDN Git Service

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