OSDN Git Service

2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
2
3         libstdc++/5180
4         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
5         * include/std/std_fstream.h: Clean.
6         * include/bits/ostream.tcc: Remove extraneous variables.
7         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
8         open modes and which modes.
9         (stringbuf::seekpos): Same.
10         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
11         
12 2002-04-05  Jonathan Wakely <jw@kayari.org>
13
14         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
15         random_shuffle, partition, stable_partition, sort, stable_sort,
16         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
17
18 2002-04-05  David S. Miller  <davem@redhat.com>
19
20         * config/os/gnu-linux/bits/os_defines.h
21         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
22
23 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
24
25         libstdc++/3457 
26         via gawrilow@math.tu-berlin.de
27         * acinclude.m4 (version_specific_libs): Fix combo usage with
28         --with-gxx-include-dir.
29         * aclocal.m4: Regenerate.
30         * configure: Same.
31         
32 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
33
34         As per DR 184, libstdc++/3139
35         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
36         (numeric_limits<bool>::is_iec559): False.
37         (numeric_limits<bool>::is_modulo): False.       
38
39         * testsuite/27_io/ios_init.cc: Add instantiations.
40
41 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
42         
43         libstdc++/5268
44         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
45         * testsuite/27_io/ios_init.cc (tests04): Add test.
46
47         libstdc++/3983
48         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
49         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
50         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
51         * include/bits/istream.tcc: Use _M_fctype, make consistent with
52         ostream.
53         * testsuite/27_io/ios_init.cc (tests03): Add test.
54         
55 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
56
57         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
58         * include/Makefile.in:  Regenerate.
59
60 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
61             Nathan Myers  <ncm@cantrip.org>
62             Philip Martin  <philip@codematters.co.uk>
63
64         * include/bits/basic_string.h
65         (replace(i1, i2, _CharT* k1, _CharT* k2),
66         replace(i2, i2, const _CharT* k1, const _CharT* k2),
67         replace(i1, i2, iterator k1, iterator k2,
68         replace(i1, i2, const_iterator k1, const_iterator k2):
69         New specializations to optimize for the common cases of
70         pointers and iterators.
71         (replace(pos, n1, s, n2)): Tweak.
72         * include/bits/basic_string.tcc: Tweak comments.
73         * testsuite/21_strings/replace.cc (test04): New tests.
74
75 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
76
77         libstdc++/5542
78         * acinclude: More extensive checks for msgfmt, --enable-nls.
79         * aclocal.m4: Regenerate.
80         * configure: Regenerate.
81
82 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
83
84         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
85         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
86         * docs/html/18_support/howto.html:  Document the demangler.
87         * docs/html/17_intro/howto.html:  And link to it.
88
89         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
90         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
91
92 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
93
94         * config/linker-map.gnu:  Export __verbose_terminate_handler.
95         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
96         Make new LTCOMPILE variable, use it in new special build rules.
97         * libsupc++/Makefile.in:  Rebuild.
98         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
99         runtime __cxa_demangle.
100
101         * docs/html/install.html:  Update prereqs and instructions.
102         * docs/html/19_diagnostics/howto.html:  Bring naming for
103         verbose_terminate_handler into line with reality.
104
105 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
106         
107         libstdc++/3129
108         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
109         (basic_ios::_M_streambuf_state): Move.  
110         * include/bits/ios_base (ios_base): To here.
111         * include/bits/ios_base.h (ios_base::_S_local_words): To
112         _S_local_word_size.
113         (ios_base::_M_word_array): To _M_local_word.
114         (ios_base::_M_words_limit): To _M_word_size.    
115         (ios_base::_M_words): To _M_word.               
116         Comment.
117         * include/bits/basic_ios.tcc: Adjust.   
118         * src/ios.cc (ios_base::_M_grow_words): Tweak.
119         * testsuite/27_io/ios_base_storage.cc: Add tests.
120
121         libstdc++/5207
122         Kenny Simpson <theonetruekenny@yahoo.com>
123         * include/bits/ios_base.h: Fix.
124         
125         Richard Henderson  <rth@redhat.com>
126         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
127         last change.
128
129         * include/bits/basic_string.h: Tweak formatting.
130         
131 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
132
133         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
134         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
135         By definition, sizeof(char) == 1.
136         * include/bits/locale_facets.tcc (money_get::do_get,
137         money_put::do_put): Ditto.
138         * testsuite/21_strings/inserters_extractors.cc
139         (test04): Ditto.
140
141 2002-03-30  Richard Henderson  <rth@redhat.com>
142
143         PR c++/3719
144         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
145         data out of the exception struct before calling unexpectedHandler.
146
147 2002-03-28  Roger Sayle  <roger@eyesopen.com>
148
149         * include/c_std/std_cmath.h:  To prevent problems overloading
150         g++ builtins, use the double variants from the global namespace
151         before defining float and long double variants in std::.
152
153 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
154
155         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
156
157 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
158
159         * testsuite/24_iterators/istream_iterator.cc
160         (test02): New tests.
161
162 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
163             Paolo Carlini  <pcarlini@unitus.it>
164
165         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
166         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
167         fix i_lit_base e_lit_base arrays, making them independent
168         from the endianness of the platform; tweak UCS4 to UCS-4BE.
169
170 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
171
172         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
173         allocate at least a byte.
174
175         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
176         debugger-friendly.
177         * testsuite/27_io/streambuf.cc (test07): Fix.
178         (test06): Enable.
179
180 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
181
182         * docs/doxygen/Intro.3:  Date tweak.
183         * docs/doxygen/TODO:  Update.
184         * docs/doxygen/doxygroups.cc:  Point to tables.html.
185         * docs/doxygen/mainpage.html:  Date tweak.
186         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
187         * docs/doxygen/tables.html:  Fill in the blanks.
188
189         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
190         * include/bits/stl_algo.h:  Likewise; use expanded form.
191         * include/bits/stl_alloc.h:  Likewise.
192         * include/bits/stl_construct.h:  Likewise.
193         * include/bits/stl_deque.h:  Likewise.
194         * include/bits/stl_iterator_base_types.h:  Likewise.
195         * include/bits/stl_list.h:  Likewise.
196         * include/bits/stl_relops.h:  Likewise.
197         * include/bits/stl_tempbuf.h:  Likewise.
198         * include/bits/stl_vector.h:  Likewise.
199         * include/std/std_memory.h:  Likewise.
200
201         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
202         * include/bits/stl_list.h:  Likewise.
203         * include/bits/stl_vector.h:  Likewise.
204
205 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
206
207         * include/c/: Guard with _CPP_.
208         * include/c_std/: Same.
209         * include/Makefile.am: Fixup install, link routines for null
210         c_base_headers_extra scenarios.
211         * include/Makefile.in: Regerate.
212
213 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
214             Richard Henderson  <rth@redhat.com>
215
216         * testsuite/22_locale/codecvt_members_unicode_char.cc
217         (test01, test02): make sure that the i_lit_base array
218         is sufficiently aligned.
219
220 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
221
222         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
223         _ctype_.
224
225 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
226
227         * testsuite/22_locale/collate_byname.cc
228         (test01): compare the result of collate::compare with
229         that of collate::transform + string::compare, not with
230         that of collate::transform + collate::compare; values
231         returned by collate::compare are normalized, therefore
232         test against +-1.
233
234 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
235             Jakub Jelinek  <jakub@redhat.com>
236
237         * config/locale/gnu/messages_members.h: Correct conditional.
238         * config/locale/gnu/messages_members.cc: Same.
239         * config/locale/gnu/time_members.cc: Same.
240
241 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
242             Paolo Carlini  <pcarlini@unitus.it>
243
244         * testsuite/22_locale/codecvt_members_unicode_char.cc
245         (test01, test02): Fix i_lit_base arrays, making them
246         independent from the endianness of the platform.
247
248 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
249
250         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
251         signbit and __signbit directly.
252         * aclocal.m4: Regenerate.
253         * configure: Regenerate.
254         * config.h.in: Regenerate.
255         * libmath/Makefile.am: Simplify.
256         * libmath/Makefile.in: Regenerate.
257         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
258
259         * include/Makefile.am: Clean up handling of extra "C" header files.
260         Add hooks for "C" compatibility headers.
261         * include/Makefile.in: Regenerate.
262
263         * include/c/*: Formatting tweaks, cleanups.
264         * include/c_std/*: Same.
265
266 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
267
268         * config/locale/gnu/messages_members.h: Add __uselocale bits.
269         * config/locale/gnu/messages_members.cc: Same.
270         * config/locale/gnu/time_members.cc: Same.
271
272 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
273
274         * src/vterminate.cc: Format, -fno-exceptions cleanup.
275
276 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
277
278         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
279         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
280         * aclocal.m4: Regenerate.
281         * configure: Likewise.
282
283 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
284             Ulrich Drepper  <drepper@redhat.com>
285
286         * src/locale-inst.cc (__convert_from_v): Add an additional
287         __size parameter in the declarations.
288         * include/bits/locale_facets.tcc
289         (__convert_from_v): When available (that is,
290         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
291         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
292         being defined or not, call and use __convert_from_v in the
293         appropriate way.
294         (num_put::_M_convert_int): Same here.
295         (money_put::do_put(long double)): Same here.
296
297 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
298
299         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
300         * docs/html/faq/index.txt:  Regenerate.
301
302 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
303
304         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
305         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
306         --enable-libunwind-exceptions is set.
307         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
308         macro to check for libunwind.
309         * configure: Regenerate.
310         * src/Makefile.am (libstdc___la_LDFLAGS): Add
311         LIBUNWIND_FLAG to libstdc link line.
312         * src/Makefile.in: Regenerate.
313
314 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
315
316         * docs/html/faq/index.html: Add OS X workaround.
317         * docs/html/17_intro/TODO: Update.
318
319 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
320
321         * include/bits/locale_facets.tcc
322         (money_put::do_put(long double)): Fix dimensioning of
323         temporary buffers to avoid risk of overruns.
324         (money_put::do_put(string)): Same for the buffer used to
325         add the grouping chars.
326         * testsuite/22_locale/money_put_members_char.cc: Add test06.
327         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
328
329         * include/bits/locale_facets.tcc
330         (collate::do_transform): Simplify.
331
332 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
333
334         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
335         * configure.in:  Add comments pointing the way for autoconf 2.5x.
336         * aclocal.m4, config.h.in, configure:  Regenerate.
337
338 2002-03-18  Philipp Thomas  <pthomas@suse.de>
339
340         * include/backward/hash_map.h: hash, hashtable, hash_map and
341         hash_multimap are in namespace __gnu_cxx.
342         include/backward/hash_set.h: hash, hashtable, hash_set and
343         hash_multiset are in namespace __gnu_cxx.
344         include/backward/hashtable.h: hash and hashtable are in
345         namespace __gnu_cxx.
346         include/backward/rope.h: char_producer, sequence_buffer,
347         rope, crope and wrope are in namespace __gnu_cxx.
348         include/backward/slist.h: slist is in namespace __gnu_cxx.
349         * testsuite/backward/header_hash_map_h.cc
350         testsuite/backward/header_hash_set_h.cc
351         testsuite/backward/header_hashtable_h.cc
352         testsuite/backward/header_rope_h.cc
353         testsuite/backward/header_slist_h.cc
354         testsuite/backward/header_tempbuf_h.cc: New tests for
355         checking that we're using the correct namespace.
356
357 2002-03-17  Jason Merrill  <jason@redhat.com>
358
359         PR c++/4381
360         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
361         (check_exception_spec): Call it.  Take the thrown pointer.
362         (__cxa_call_unexpected): Pass it.
363         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
364
365 2002-03-15  Anthony Green  <green@redhat.com>
366
367         * configure.in: Remove useless is_mingw32.
368         * configure: Rebuilt.
369
370 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
371
372         * testsuite/22_locale/collate_members_char.cc
373         (test01): compare the result of collate::compare with
374         that of collate::transform + string::compare, not with
375         that of collate::transform + collate::compare.
376         (test01): values returned by collate::compare are
377         normalized, therefore test against +-1.
378         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
379
380 2002-03-12  Loren Rittle  <ljrittle@acm.org>
381
382         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
383         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
384
385 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
386             Per Liboriussen  <liborius@stofanet.dk>
387
388         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
389         unsigned char.
390         * config/os/gnu-linux/bits/ctype_inline.h: Same.
391
392         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
393
394         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
395         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
396
397         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
398         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
399
400         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
401         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
402
403         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
404
405 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
406
407         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
408         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
409         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
410         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
411         that memory limits are in place.
412         (test03): Add tests.
413
414 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
415
416         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
417         * aclocal.m4: Regenerate.
418         * config.h.in: Regenerate.
419         * configure: Regenerate.
420         * include/c_std/std_cwctype.h: Guard.
421
422 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
423
424         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
425         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
426         * aclocal.m4: Regenerate.
427         * configure: Regenerate.
428
429 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
430
431         * include/bits/stl_bvector.h: Fix warning.
432
433 2002-03-11  Richard Henderson  <rth@redhat.com>
434
435         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
436
437 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
438
439         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
440         New function.  Build the list of tests to run in testsuite_files.
441         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
442
443 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
444
445         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
446         platforms with no weak support.
447         * testsuite/27_io/ios_init.cc:  Likewise.
448
449 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
450
451         * include/bits/locale_facets.tcc (time_put::do_put):
452         Consider sizeof(char_type) in allocating the buffer.
453
454         * include/bits/locale_facets.tcc (collate::do_tranform):
455         Remove redundant variable.
456
457 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
458             Paolo Carlini  <pcarlini@unitus.it>
459
460         * config/locale/generic/collate_members.cc
461         (collate<char,wchar_t>::_M_compare_helper): normalize
462         values returned by strcoll and wcscoll.
463         * config/locale/gnu/collate_members.cc
464         (collate<char,wchar_t>::_M_compare_helper): ditto
465         for __strcoll_l and __wcscoll_l.
466
467 2002-03-10  Anthony Green  <green@redhat.com>
468
469         * configure.in: Support cross builds to mingw32 target.
470         * configure: Rebuilt.
471
472 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
473
474         * include/bits/locale_facets.tcc (collate::do_transform):
475         Rewrite to fix problems with long transformed strings.
476
477 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
478
479         * c_locale_generic.cc: Move to...
480         * generic/c_locale.cc
481         * c_locale_generic.h: Move to...
482         * generic/c_locale.h
483         * codecvt_specializations_generic.h: Move to...
484         * generic/codecvt_specializations.h
485         * collate_members_generic.cc: Move to...
486         * generic/collate_members.cc
487         * ctype_members_generic.cc: Move to...
488         * generic/ctype_members.cc
489         * messages_members_generic.cc: Move to...
490         * generic/messages_members.cc
491         * messages_members_generic.h: Move to...
492         * generic/messages_members.h
493         * moneypunct_members_generic.cc: Move to...
494         * generic/monetary_members.cc
495         * numpunct_members_generic.cc: Move to...
496         * generic/numeric_members.cc
497         * time_members_generic.cc: Move to...
498         * generic/time_members.cc
499         * c_locale_gnu.cc: Move to...
500         * gnu/c_locale.cc
501         * c_locale_gnu.h: Move to...
502         * gnu/c_locale.h
503         * collate_members_gnu.cc: Move to...
504         * gnu/collate_members.cc
505         * ctype_members_gnu.cc: Move to...
506         * gnu/ctype_members.cc
507         * messages_members_gnu.cc: Move to...
508         * gnu/messages_members.cc
509         * messages_members_gnu.h: Move to...
510         * gnu/messages_members.h
511         * moneypunct_members_gnu.cc: Move to...
512         * gnu/monetary_members.cc
513         * numpunct_members_gnu.cc: Move to...
514         * gnu/numeric_members.cc
515         * time_members_gnu.cc: Move to...
516         * gnu/time_members.cc
517         * c_locale_ieee_1003.1-200x.cc: Move to...
518         * ieee_1003.1-2001/c_locale.cc
519         * c_locale_ieee_1003.1-200x.h: Move to...
520         * ieee_1003.1-2001/c_locale.h
521         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
522         * ieee_1003.1-2001/codecvt_specializations.h
523         * messages_members_ieee_1003.1-200x.cc: Move to...
524         * ieee_1003.1-2001/messages_members.cc
525         * messages_members_ieee_1003.1-200x.h: Move to...
526         * ieee_1003.1-2001/messages_members.h
527
528         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
529         * aclocal.m4: Regenerate.
530         * configure: Regenerate.
531         * src/Makefile.am (sources): Change to monetary and numeric.
532         * src/Makefile.in: Regenerate.
533         * docs/html/configopts.html: Update to ieee_1003.1-2001.
534
535 2002-03-08  scott snyder  <snyder@fnal.gov>
536
537         libstdc++/5875
538         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
539         Allow one more digit of precision.
540         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
541         write a double and read back in the same value.
542
543 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
544
545         * include/std/std_limits.h: Move static const data members out of
546         generic template, into base class __numeric_limits_base.
547         * src/limits.cc: Add definitions.
548         * config/linker-map.gnu: Add __numeric_limits_base.
549         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
550
551 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
552
553         * include/bits/stl_alloc.h: Add extern implicit allocator
554         instantiations.
555         * include/bits/basic_string.tcc: Tweak.
556         * include/bits/locale_facets.tcc: Remove default args. Add
557         has_facet, use_facet extern instantiations.
558         * src/stl-inst.cc: Add explicit instantiation.
559         * src/locale-inst.cc: Clean. Remove locale member template
560         instantiations.
561
562         * testsuite/22_locale/operators.cc (test02): Enable.
563
564 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
565             Stephen M. Webb  <stephen.webb@bregmasoft.com>
566
567         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
568         (_S_rb_tree_black): Make enum.
569         Clean. Format.
570         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
571         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
572         (__stl_threshold): _M_threshold, enum.
573         * src/stl-inst.cc: Same.
574         * config/linker-map.gnu: Remove.
575
576         * testsuite/23_containers/vector_bool.cc: New.
577
578 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
579
580         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
581         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
582         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
583         referring to the collection as a whole.  New section on which macros
584         can be redefined by the user.
585         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
586         * docs/html/20_util/howto.html:  Update link to SGI.
587         * docs/html/faq/index.html:  Update snapshot versions.  New entry
588         on why g++ (but not gcc) must currently predefine certain macros.
589         * docs/html/faq/index.txt:  Regenerated.
590
591         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
592         names in declaration.
593         (basic_string::compare):  These are no longer optional.
594         * include/bits/ostream.tcc:  Tweak closing brace placement.
595         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
596         * include/std/std_sstream.h:  Fix typo in comment.
597         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
598         * src/locale.cc:  Likewise.
599
600 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
601
602         PR libstdc++/5734
603         * include/bits/stl_vector.h (vector::push_back()):  Guard with
604         _GLIBCPP_DEPRECATED.
605
606 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
607
608         * include/bits/c++config:  Fix misplaced leading blanks on first line.
609
610 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
611
612         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
613         * README (libmath): Make clear.
614
615 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
616
617         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
618         script globbing in ld.
619         * aclocal.m4: Rebuilt.
620         * configure: Rebuilt.
621
622 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
623
624         * docs/html/17_intro/RELEASE-NOTES: Update.
625         * README: Format subdirectories.
626
627 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
628
629         libstdc++/5816
630         * include/bits/locale_facets.tcc
631         (num_get::_M_extract_float): Fix the parsing of __dec, since
632         the standard prescribes that if no grouping characters are
633         seen, no grouping check is applied.
634         * testsuite/22_locale/num_get_members_char.cc: Add test05
635         distilled from the PR.
636         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
637
638 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
639
640         * docs/html/17_intro/porting-howto.xml: Refer to
641         http://www.oasis-open.org for docbookx.dtd.
642         * docs/html/17_intro/porting-howto.html: Regenerated.
643
644 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
645
646         PR libstdc++/3955
647         * include/std/std_sstream.h:  Remove trailing spaces.
648         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
649         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
650
651 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
652
653         * testsuite/22_locale/num_get_members_char.cc (test04):
654         Use a named locale expecting grouping (de_DE).
655         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
656         Ditto.
657         * testsuite/27_io/ios_manip_basefield.cc (test01):
658         Extend coverage, uniform treatment of hexs and octs.
659
660 2002-02-28  Richard Henderson  <rth@redhat.com>
661
662         * config/linker-map.gnu: Export operator new with unsigned long,
663         and with std::nothrow_t.  Likewise operator delete.
664
665 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
666
667         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
668         Admit grouping for octals and hexadecimals too.
669         * testsuite/22_locale/num_get_members_char.cc: Add test04.
670         (test01): Tweak "." -> "," in void* test.
671         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
672
673         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
674         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
675
676 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
677
678         * testsuite/27_io/ios_manip_basefield.cc (test01):
679         Fix for 64 bit machines.
680
681 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
682
683         libstdc++/3983
684         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
685         Adjust comment.
686         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
687         (basic_ios::_M_fill_init): New.
688         (basic_ios::fill()): Delay dealing with _M_fill.
689         Adjust comment.
690         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
691         (ios_base::_M_call_callbacks): Adjust.
692         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
693
694 2002-02-26  Loren Rittle  <ljrittle@acm.org>
695
696         * include/Makefile.am (thread_target_headers): Unconditionally
697         stage and install gthr-posix.h.
698         (${target_builddir}/gthr-posix.h): New rule cloned off
699         ${target_builddir}/gthr-default.h.
700         (${target_builddir}/gthr-default.h): Support chained inclusion
701         of gthr support headers.
702         * include/Makefile.in: Rebuilt.
703
704 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
705
706         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
707         Group all the integral types, not only decs.
708         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
709         tests, add a few more.
710
711 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
712
713         * src/ios.cc (ios_base::~ios_base): Tweak.
714         (ios_base::_M_call_callbacks): Deal with null __p.
715         (ios_base::ios_base): Set _M_callbacks.
716         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
717         * testsuite/27_io/ios_init.cc (test02): Fix.
718
719         * mkcheck.in (static_fail): Failed links go to output file.
720
721 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
722
723         * docs/html/faq/index.html:  Update.
724         * docs/html/faq/index.txt:  Regenerate.
725
726 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
727
728         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
729         * aclocal.m4:  Regenerate.
730         * docs/html/configopts.html:  Document --enable-symvers.
731         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
732
733 2002-02-22  Philipp Thomas  <pthomas@suse.de>
734
735         * include/backward/tempbuf.h: get_temporary_buffer and
736         return_temporary_buffer are in namespace std, not in __gnu_cxx.
737
738 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
739
740         * configure.in (target_alias): Default to yes.
741         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
742         libgcc to default case.
743
744 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
745
746         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
747         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
748         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
749         * aclocal.m4:  Regenerate.
750         * configure:  Regenerate.
751         * config/linker-map.dummy:  New file.  Contains nothing useful.
752
753 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
754
755         * testsuite/22_locale/money_put_members_char.cc: Fix.
756         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
757
758         * testsuite/27_io/standard_manipulators.cc: New file.
759
760         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
761         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
762
763 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
764
765         * config/os/mingw32/bits/ctype_noninline.h
766         (ctype<char>::ctype): Remove default args from parm list.
767         * config/os/djgpp/bits/ctype_noninline.h: Same.
768
769 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
770
771         * include/std/std_iomanip.h: Inline, tweaks.
772         * config/linker-map.gnu: Remove hacks.
773
774         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
775         * testsuite/27_io/ios_init.cc: Same.
776         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
777         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
778
779 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
780
781         * config/linker-map.gnu: Export global vtable, typeinfo, guard
782         variable, and thunk info as per CXXABI docs.
783
784 2002-02-19  Loren Rittle <ljrittle@acm.org>
785
786         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
787         * include/Makefile.in: Rebuilt.
788
789 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
790
791         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
792           with size3 for the string collations of str5.
793
794 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
795
796         libstdc++/5708
797         * include/bits/locale_facets.tcc (money_put::do_put):
798         For the space field use __fill instead of ' ', uniformly.
799         * testsuite/22_locale/money_put_members_char.cc:
800         Add test05 distilled from PR.
801         (test01-02-03): Trim some '*' to ' '.
802         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
803
804 2002-02-18  Loren Rittle <ljrittle@acm.org>
805
806         libstdc++/5697
807         * include/Makefile.am (thread_builddir): Remove (map all
808         existing uses to target_builddir).
809         (thread_headers): Rename to...
810         (thread_target_headers): ...this.
811         (stamp-thread): Remove.
812         (stamp-target): Correctly state the position as built.
813         Update all dependencies to match the new reality.  Remove all
814         dependency calculations on directories.
815         * include/Makefile.in: Rebuilt.
816
817 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
818
819         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
820         * include/bits/fstream.tcc: Same.
821         * include/bits/sstream.tcc: Same.
822         * include/bits/ostream.tcc: Same.
823         * include/bits/istream.tcc: Same.
824         * include/bits/streambuf.tcc: Same.
825         * include/bits/basic_ios.tcc: Same.
826         * include/bits/basic_string.tcc: Same.
827
828 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
829
830         * include/std/std_iosfwd.h: Don't guard typedefs with
831         _GLIBCPP_USE_WCHAR_T
832         * include/bits/stringfwd.h: Same.
833
834 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
835
836         * src/locale.cc (moneypunct_byname): Remove definitions.
837         * include/std/std_streambuf.h (streambuf::operator=): Return.
838
839 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
840
841         Tune for size.
842         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
843         explicit instantiation.
844         (string::_Rep::_S_max_size): Same.
845         * include/bits/basic_string.tcc: Add extern explicit
846         instantiations for string, wstring.
847         * include/bits/basic_ios.tcc: Add extern explicit instantiations
848         for ios, wios.
849         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
850         * include/bits/istream.tcc: Same, for istream, wistream.
851         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
852         wiostream.
853         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
854         istringstream, wistringstream, ostringstream, wostringstream,
855         stringstream, wstringstream.
856         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
857         wifstream, ofstream, wofstream, fstream, wfstream.
858         * src/misc-inst.cc: Correct comments.
859         Add iomanip instantiations for wide streams.
860         * include/std/std_iomanip.h: Same.
861         * include/bits/locale_facets.tcc: Same.
862
863         * include/std/std_streambuf.h: Correct
864         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
865         * include/std/std_sstream.h: Same.
866         * include/std/std_ostream.h: Same.
867         * include/std/std_istream.h: Same.
868         * include/std/std_fstream.h: Same.
869
870         * include/std/std_streambuf.h: Add definitions for private copy
871         ctor and assignment operator.
872         * include/std/std_istream.h: Remove declared but undefined copy
873         ctor and assignment operator. This is taken care of in ios_base,
874         so adding it in the derived class as well is superfluous.
875         * include/std/std_ostream.h: Same.
876
877         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
878         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
879
880 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
881
882         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
883         Add typeinfo bits. Smooth.
884         * aclocal.m4: Regenerate.
885         * configure: Same.
886         * src/Makefile.in: Same.
887
888 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
889
890         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
891         which do not have a CAS instruction.
892
893 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
894
895         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
896         * configure.in:  Call it.
897         * config/linker-map.gnu:  New file, initial incomplete revision.
898         * src/Makefile.am:  Optionally pass version script to the linker.
899         * aclocal.m4:  Regenerate.
900         * configure:  Regenerate.
901         * src/Makefile.in:  Regenerate.
902
903 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
904
905         * src/localename.cc: Remove stdexcept include.
906         * src/locale-inst.cc: Same.
907         * src/locale.cc: Same.
908         * src/functexcept.cc: Remove string includes.
909         * include/std/std_bitset.h: Remove stdexcept include.
910         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
911         * testsuite/23_containers/bitset_ctor.cc: Same.
912
913 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
914
915         * include/bits/stl_algo (__stl_threshold): Declare external.
916         (__stl_chunk_size): Same.
917         * include/bits/stl_bvector.h (__WORD_BIT): Same.
918         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
919         (_S_rb_tree_black): Same.
920         * src/stl-inst.cc (__stl_threshold): Define.
921         (__stl_chunk_size): Same.
922         (__WORD_BIT): Same.
923         (_S_rb_tree_red): Same.
924         (_S_rb_tree_black): Same.
925
926         * config/io/basic_file_libio.h (__basic_file): Add declarations.
927         * include/bits/basic_file.h: Remove.
928         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
929         Declare generic types, specialization.
930         * config/io/basic_file_stdio.cc: Definitions.
931         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
932         Declare generic types.
933         * include/Makefile.am (bits_headers): Remove basic_file.h.
934         (extra_target_headers): Change basic_file_model.h to basic_file.h.
935         (stamp-target): Same.
936
937         * include/bits/stl_alloc.h: Tweaks.
938         * include/bits/localefwd.h: Same.
939
940 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
941
942         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
943         * testsuite/22_locale/collate_members_char.cc (test03): New test.
944         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
945
946 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
947
948         * include/bits/stl_algo.h (transform (both signatures), generate_n):
949         Use __typeof__ in concept checks.
950
951 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
952
953         * include/bits/stl_algo.h (__median, for_each, find, find_if,
954         adjacent_find, count, count_if, search, search_n, swap_ranges,
955         transform, replace, replace_if, replace_copy, replace_copy_if,
956         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
957         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
958
959 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
960
961         * include/bits/locale_facets.h
962         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
963         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
964         (__timepunct<_CharT>::_M_put_helper): Same.
965         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
966
967         * include/bits/fstream.tcc (filebuf::underflow): Remove
968         __codecvt_type typedef.
969         (filebuf::_M_convert_to_external): Same.
970
971 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
972
973         * docs/doxygen/TODO:  Update.
974         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
975         * docs/doxygen/mainpage.html:  Add TODO list link.
976         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
977         * docs/doxygen/tables.html:  New file, emoty structure only.
978
979         * include/bits/stl_iterator.h:  Doxygenate just about everything.
980         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
981         * include/bits/stl_iterator_base_types.h:  Add notes.
982
983 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
984
985         * include/bits/stl_map.h:  Tweak doxygen markup.
986         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
987         * include/bits/stl_vector.h:  Likewise.
988
989 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
990
991         libstdc++/5286
992         libstdc++/3860
993         * include/std/std_fstream.h (filebuf::__file_type): Change to
994         __basic_file<char>.
995         (filebuf::_M_convert_to_external): Declare.
996         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
997         codecvt bits for wide streams.
998         (filebuf::_M_really_overflow): Use it.
999         (filebuf::underflow): Use codecvt.
1000         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1001         (codecvt<__enc_traits>::do_out): Deal with partial.
1002         (codecvt<__enc_traits>::do_encoding): Return something useful.
1003         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1004         wchar_t.
1005         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1006         Change expected encoding output.
1007         (test02): Same.
1008         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1009         (test02): Same.
1010
1011 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1012             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
1013
1014         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1015         (basic_ios::widen): Same.
1016
1017 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
1018
1019         * testsuite/22_locale/money_get_members_char.cc:
1020         Add comment, tidy up.
1021         (test01): more "en_HK" tests (without showbase).
1022         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1023
1024 2002-02-06  Loren Rittle <ljrittle@acm.org>
1025
1026         * config/locale/c_locale_generic.cc: Do not trust
1027         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1028         set by configure.
1029
1030 2002-02-06  Loren Rittle <ljrittle@acm.org>
1031
1032         * acinclude.m4: Add C++ linkage check for strtof.
1033         * aclocal.m4: Rebuilt.
1034         * config.h.in: Rebuilt.
1035         * configure: Rebuilt.
1036         * config/locale/c_locale_generic.cc: Conditionally include
1037         <ieeefp.h>.  Improve handling and error checking of float
1038         and long double input for non-C99 configurations.
1039
1040 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
1041
1042         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1043         In case money_base::symbol deal properly with multi-char sign
1044         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1045         * testsuite/22_locale/money_get_members_char.cc: Add test07.
1046         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1047
1048 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
1049
1050         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1051         First construct a tentative returned string, then, only if the
1052         parsing succeeds, copy it into the string passed by reference.
1053         * testsuite/22_locale/money_get_members_char.cc: Add test06.
1054         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1055
1056 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
1057
1058         * docs/doxygen/TODO:  Impl-defined behavior now documented...
1059         * docs/html/17_intro/howto.html:  ...here.
1060         * docs/doxygen/mainpage.doxy:  Remove, rename...
1061         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
1062         * docs/doxygen/style.css:  Add small text.
1063         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
1064         * docs/doxygen/user.cfg.in:  Likewise.
1065
1066 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
1067
1068         * include/bits/stl_map.h:  Initial doxygen markup.
1069         * include/std/std_fstream.h:  Initial doxygen markup.
1070
1071 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
1072
1073         libstdc++/5579
1074         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1075         Deal correctly with !(__io.flags() & ios_base::showbase)
1076         for case money_base::symbol.
1077         * testsuite/22_locale/money_get_members_char.cc: Add test05.
1078         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1079
1080 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
1081
1082         * testsuite/22_locale/operators.cc
1083         (gnu_collate::do_compare()): Add return statement to
1084         suppress "no return statement" warning.
1085
1086 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
1087
1088         * testsuite/27_io/ostream_manip.cc: Enable test02.
1089
1090 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
1091
1092         * docs/html/documentation.html:  Update for 3.0.96.
1093         * docs/html/faq/index.html:  Update for 3.0.96.
1094         * docs/html/faq/index.txt:  Regenerated.
1095         * docs/doxygen/TODO:  Update notes.
1096         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
1097
1098 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
1099
1100         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1101         Initialize all data members in copy ctor. Make ctors explicit.
1102         (__enc_traits::__enc_traits()): Default ctor does nothing.
1103         (__enc_traits::_M_init): Guard against multiple iconv_opens.
1104         * include/std/std_sstream.h (basic_stringbuf): Make data members
1105         protected.
1106         * include/std/std_fstream.h (basic_filebuf): Same.
1107         * include/std/std_streambuf.h: Tweak.
1108         * include/bits/streambuf.tcc: Same.
1109         * include/bits/sstream.tcc: Same.
1110         * include/bits/fstream.tcc: Same.
1111
1112 2002-01-31  Loren Rittle <ljrittle@acm.org>
1113
1114         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1115         allow NULL argument to be passed to setenv().
1116         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1117         * testsuite/22_locale/collate_members_char.cc: Likewise.
1118         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1119         * testsuite/22_locale/ctype_members_char.cc: Likewise.
1120         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1121         * testsuite/22_locale/messages_members_char.cc: Likewise.
1122         * testsuite/22_locale/money_get_members_char.cc: Likewise.
1123         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1124         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1125         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1126         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1127         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1128         * testsuite/22_locale/num_get_members_char.cc: Likewise.
1129         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1130         * testsuite/22_locale/num_put_members_char.cc: Likewise.
1131         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1132         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1133         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1134         * testsuite/22_locale/time_get_members_char.cc: Likewise.
1135         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1136         * testsuite/22_locale/time_put_members_char.cc: Likewise.
1137         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1138
1139 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
1140
1141         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1142
1143         * ChangeLog-2001: Fix spelling errors...
1144         * docs/html/17_intro/RELEASE-NOTES: Update.
1145         * docs/html/17_intro/TODO: Update.
1146         * README (file): Update.
1147
1148 2002-01-30  Loren Rittle <ljrittle@acm.org>
1149
1150         * config/locale/c_locale_generic.cc: Check errno for ERANGE
1151         instead of non-zero to aid portability.
1152
1153 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1154
1155         * docs/html/22_locale/messages.html: Fix example code.
1156
1157 2002-01-30  Richard Henderson  <rth@redhat.com>
1158
1159         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1160         out from test03 and templatize.
1161         (test03): Use it.
1162
1163 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1164
1165         * config/locale/numpunct_members_gnu.cc
1166         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1167         Fix initialization of _M_grouping for locales which have
1168         _M_thousands_sep == '\0'(L'\0', respectively).
1169         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1170
1171 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1172
1173         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1174         Better fix for 32/64 bit architectures, avoiding the
1175         implicit assumption that CHAR_BIT == 8.
1176
1177 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
1178
1179         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
1180         * Makefile.in:  Regenerate.
1181
1182         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
1183         * docs/doxygen/Intro.3:  Update.
1184         * docs/doxygen/TODO:  Update.
1185         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
1186         * docs/doxygen/mainpage.doxy:  Update.
1187         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
1188         regenerate comments and variables with 1.2.12.
1189         * docs/doxygen/maint.cfg.in:  Remove file.
1190
1191         * include/bits/stl_relops.h:  Doxygenate.
1192         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
1193
1194         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1195         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1196         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1197         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1198         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1199         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1200         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1201         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1202         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1203         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1204         include/ext/hash_set, include/ext/iterator, include/ext/memory,
1205         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1206         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1207         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1208         include/std/std_algorithm.h, include/std/std_bitset.h,
1209         include/std/std_complex.h, include/std/std_deque.h,
1210         include/std/std_fstream.h, include/std/std_functional.h,
1211         include/std/std_iomanip.h, include/std/std_ios.h,
1212         include/std/std_iosfwd.h, include/std/std_iostream.h,
1213         include/std/std_istream.h, include/std/std_iterator.h,
1214         include/std/std_limits.h, include/std/std_list.h,
1215         include/std/std_locale.h, include/std/std_map.h,
1216         include/std/std_memory.h, include/std/std_numeric.h,
1217         include/std/std_ostream.h, include/std/std_queue.h,
1218         include/std/std_set.h, include/std/std_sstream.h,
1219         include/std/std_stack.h, include/std/std_stdexcept.h,
1220         include/std/std_streambuf.h, include/std/std_string.h,
1221         include/std/std_utility.h, include/std/std_valarray.h,
1222         include/std/std_vector.h:  Add/correct @file doxygen hook.
1223
1224         * include/ext/memory:  Doxygenate most of rest of file.
1225         * libsupc++/exception:  Doxygen output formatting.
1226         * libsupc++/new:  Say which header it is.
1227
1228         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
1229         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
1230         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
1231         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
1232
1233 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1234             Charles Leggett <CGLeggett@lbl.gov>
1235
1236         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1237
1238 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1239
1240         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1241         Fix to deal correctly with both 32 bit and 64 bit architectures
1242
1243 2002-01-25  Loren Rittle <ljrittle@acm.org>
1244
1245         * testsuite/thread/pthread1.cc: Use one condition variable
1246         per predicate instead of tricky use of one condition variable.
1247
1248 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
1249
1250         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1251         streams.
1252         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1253         * testsuite/27_io/filebuf.cc: Compile only.
1254         * testsuite/27_io/filebuf_members.cc: Move tests to here.
1255         * testsuite/27_io/filebuf_virtuals.cc: And here.
1256         Revert sungetc, sync changes for expected values.
1257         * testsuite/27_io/filebuf-*: Move to...
1258         * testsuite/27_io/filebuf_virtuals-*: ...here.
1259         * testsuite/27_io/istream.cc: Compile only, activate.
1260         * testsuite/27_io/ostream.cc: Same.
1261         * testsuite/27_io/iostream.cc: New.
1262         * testsuite/27_io/iostream_members.cc: New.
1263
1264 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
1265
1266         * testsuite/thread/pthread1.cc: Enable on cygwin.
1267         * testsuite/thread/pthread2.cc: Likewise.
1268         * testsuite/thread/pthread3.cc: Likewise.
1269         * testsuite/thread/pthread4.cc: Likewise.
1270         * testsuite/thread/pthread5.cc: Likewise.
1271         * testsuite/thread/pthread6.cc: Likewise.
1272
1273 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1274
1275         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1276
1277 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1278
1279         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1280         const, tweak.
1281         (basic_ios::fill(char_type)): Use fill().
1282         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1283         (basic_ios::narrow): Same.
1284         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1285         if they are invalid.
1286         (basic_ios::init): Comment.
1287         * testsuite/27_io/ios_init.cc (test02): New.
1288
1289 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
1290
1291         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
1292         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
1293         * include/ext/memory:  Do not include stl_tempbuf.h.
1294         (temporary_buffer):  Add doxygen hook.
1295         (__get_temporary_buffer, get_temporary_buffer,
1296         return_temporary_buffer):  Move back to std:: header...
1297         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
1298         * include/ext/rope:  Do not include stl_tempbuf.h.
1299         * include/ext/stl_hashtable.h:  Likewise.
1300         * include/std/std_algorithm.h:  Likewise.
1301         * testsuite/20_util/temporary_buffer.cc:  New file.
1302
1303 2002-01-24  andrew@andypo.net
1304             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
1305
1306         libstdc++/5432
1307         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1308         * include/bits/localefwd.h: Likewise.
1309         Also use for std::locale::id::_S_highwater.
1310         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1311         * src/locale.cc: Support new usage of _Atomic_word.
1312         (std::locale::classic): Guard entire function against reentry.
1313         * src/localename.cc: Support new usage of _Atomic_word.
1314
1315 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
1316
1317         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1318         _GLIBCPP_HAVE_SETENV.
1319         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1320         * testsuite/22_locale/collate_members_char.cc (test02): Same.
1321         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1322         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1323         * testsuite/22_locale/messages_members_char.cc (test02): Same.
1324         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1325         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1326         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1327         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1328         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1329         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1330         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1331         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1332         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1333         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1334         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1335         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1336         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1337         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1338         * aclocal.m4: Regenerate.
1339         * configure: Regenerate.
1340         * config.h.in: Regenerate.
1341
1342 2002-01-23  Loren Rittle <ljrittle@acm.org>
1343
1344         * testsuite/thread/pthread1.cc: New test.
1345         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1346         * testsuite/thread/pthread3.cc: Likewise.
1347         * testsuite/thread/pthread4.cc: New test adapted from
1348         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1349         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1350         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1351
1352 2002-01-23  Richard Henderson  <rth@redhat.com>
1353
1354         PR libstdc++/5198
1355         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1356         CAS on the cpu variants that support it.  Add versions that use
1357         TAS and that disable interrupts.
1358         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1359
1360 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
1361
1362         * include/bits/locale_facets.tcc: Remove old comments.
1363
1364 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
1365
1366         * include/bits/locale_facets.tcc (__convert_to_v): Change template
1367         parameter to _Tv.
1368         (__convert_from_v): Same.
1369
1370 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1371
1372         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1373         prototype.
1374         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1375         __max_digits checks, adjust arguments.
1376         (num_get::do_get(*)): Changeup.
1377
1378 2002-01-23  Loren Rittle <ljrittle@acm.org>
1379
1380         * config/locale/c_locale_generic.cc: Fix typename usage.
1381
1382 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1383
1384         * config/locale/c_locale_generic.cc: Fix.
1385
1386 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1387
1388         * docs/html/22_locale/messages.html: Remove angle brackets.
1389         * docs/html/17_intro/TODO: Add.
1390
1391 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
1392
1393         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1394         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1395         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1396         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1397
1398 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1399
1400         Audit for LANG independence.
1401         * include/bits/localefwd.h: Tweaks.
1402         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1403         Use __convert_to_v.
1404         (time_get::do_get_year): Same.
1405         (__convert_from_v): Add.
1406         (num_put::_M_convert_float): Use.
1407         (num_put::_M_convert_int): Same.
1408         (money_put::do_put): Same.
1409
1410         * src/locale-inst.cc: Add instantiations for __convert_from_v.
1411         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1412         * config/locale/time_members_generic.cc:
1413         * config/locale/messages_members_gnu.cc: Same.
1414         * config/locale/messages_members_gnu.h: Same.
1415
1416         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1417         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1418         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1419         * testsuite/22_locale/collate_members_char.cc (test02): New.
1420         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1421         * testsuite/22_locale/ctype_members_char.cc (test03): New.
1422         * testsuite/22_locale/messages_members_char.cc (test02): New.
1423         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1424         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1425         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1426         * testsuite/22_locale/money_get_members_char.cc (test04): New.
1427         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1428         * testsuite/22_locale/money_put_members_char.cc (test04): New.
1429         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1430         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1431         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1432         * testsuite/22_locale/time_put_members_char.cc (test03): New.
1433         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1434         * testsuite/22_locale/time_get_members_char.cc (test07): New.
1435         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1436         * testsuite/22_locale/num_get_members_char.cc (test03): New.
1437         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1438         * testsuite/22_locale/num_put_members_char.cc (test03): New.
1439
1440         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1441         locale issues.
1442         * testsuite/22_locale/time_get_members_char.cc: Same.
1443
1444 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1445
1446         libstdc++/5280
1447         * include/bits/localefwd.h: Tweak comments.
1448         * include/bits/locale_facets.h (__convert_to_v): Add.
1449         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1450         (num_get::do_get(float)): Same.
1451         (num_get::do_get(long double)): Same.
1452         (num_get::do_get(bool)): Same.
1453         (num_get::do_get(long)): Same.
1454         (num_get::do_get(long long)): Same.
1455         (num_get::do_get(unsigned int)): Same.
1456         (num_get::do_get(unsigned short)): Same.
1457         (num_get::do_get(unsigned long)): Same.
1458         (num_get::do_get(unsigned long long)): Same.
1459         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1460         * config/locale/c_locale_generic.cc: Same.
1461
1462 2002-01-22  Loren Rittle <ljrittle@acm.org>
1463
1464         * include/Makefile.am (c_base_builddir): Remove redundant slash.
1465         (std_builddir): Likewise.
1466         (std_headers_rename): Fix cut-n-paste typo.
1467         (install-data-local): Concat path per element instead of once to
1468         first element of list.
1469         * include/Makefile.in: Rebuilt.
1470
1471 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1472
1473         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1474         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1475         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1476
1477 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1478
1479         * include/bits/locale_facets.h (ctype<char>::classic_table):
1480         Remove definition.
1481         (ctype<char>::_S_ctable): Remove.
1482         * config/os/gnu-linux/bits/ctype_noninline.h
1483         (ctype<char>::_S_table): Remove definition.
1484         (ctype<char>::classic_table): Define.
1485         (ctype<char>::ctype): Replace _S_ctable with classic_table().
1486         * config/os/aix/bits/ctype_noninline.h: Same.
1487         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1488         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1489         * config/os/djgpp/bits/ctype_noninline.h: Same.
1490         * config/os/generic/bits/ctype_noninline.h: Same.
1491         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1492         * config/os/hpux/bits/ctype_noninline.h: Same.
1493         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1494         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1495         * config/os/mingw32/bits/ctype_noninline.h: Same.
1496         * config/os/newlib/bits/ctype_noninline.h: Same.
1497         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1498         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1499         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1500
1501 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1502
1503         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1504         of _pctype. Use to define _S_ctable.  Add definition for alternate
1505         ctor.  Initialise _M_ctable to _S_ctable in ctors.
1506         (do_toupper, do_tolower): Use inline code appropriate for C-locale
1507         rather than ::toupper, ::tolower.
1508
1509 2002-01-18  Loren Rittle <ljrittle@acm.org>
1510
1511         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1512         Add specialization for FreeBSD systems only to avoid losing test
1513         only due to extra precision unmentioned in system headers.
1514
1515 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
1516
1517         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1518
1519 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1520
1521         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
1522         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1523
1524 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1525
1526         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1527
1528 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1529
1530         * configure.target: Define OPT_LDFLAGS for AIX case.
1531
1532 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1533
1534         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1535         __glibcpp_double_has_quiet_NaN): Correct mispelling.
1536
1537 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
1538
1539         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1540
1541 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
1542
1543         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1544         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
1545         * aclocal.m4: Regenerate.
1546         * configure: Regenerate.
1547
1548 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1549
1550         * include/Makefile.am (c_base_headers_rename): New.
1551         (c_base_headers_extra): New.
1552         (stamp-c_base): Modify.
1553         (install-data-local): Use both.
1554         * include/Makefile.in: Regenerate.
1555         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1556         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1557         cstdio ctime cwctype]: Move to..
1558         * include/c/std_*: Here.
1559         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1560         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1561         cstdio ctime cwctype]: Move to..
1562         * include/c_std/std_*: Here.
1563
1564         Alexandre Oliva  <aoliva@redhat.com>
1565         * include/Makefile.am (.PRECIOUS): Add rule.
1566         * include/Makefile.in: Regenerate.
1567
1568 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1569             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1570
1571         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1572         Deuglify, should be current.
1573         (back_insert_iterator::_M_container): Deuglify, should be container.
1574         (front_insert_iterator::_M_container): Same.
1575         (insert_iterator::_M_container): Same.
1576         * testsuite/24_iterators/reverse_iterator.cc: Add check.
1577         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1578         * testsuite/24_iterators/front_insert_iterator.cc: Same.
1579         * testsuite/24_iterators/insert_iterator.cc: Same.
1580
1581 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1582
1583         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1584         static.
1585         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1586         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1587         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1588         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1589         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1590         * config/os/newlib/bits/ctype_noninline.h: Same.
1591         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1592         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1593         * config/os/hpux/bits/ctype_noninline.h: Same.
1594         * config/os/djgpp/bits/ctype_noninline.h: Same.
1595         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1596         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1597         * config/os/aix/bits/ctype_noninline.h: Same.
1598
1599         Testcase by Dietmar Kühl via Peter Schmid
1600         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1601         classic_table().
1602
1603 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1604
1605         * libmath/signbitl.c: Copyright years as list, not range.
1606         * libmath/Makefile.am: Same.
1607         * libmath/Makefie.in: Regenerate.
1608         * libmath/signbit.c: Same.
1609         * libmath/nan.c: Same.
1610         * libmath/copysignf.c: Same.
1611         * libmath/signbitf.c: Same.
1612         * testsuite/22_locale/money_get_members_char.cc: Same.
1613         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1614         * testsuite/22_locale/money_put_members_char.cc: Same.
1615         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1616         * testsuite/22_locale/time_get_members_char.cc: Same.
1617         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1618         * testsuite/22_locale/time_put_members_char.cc: Same.
1619         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1620         * testsuite/21_strings/nonmember.cc: Same.
1621         * testsuite/21_strings/compare.cc: Same.
1622         * testsuite/27_io/stringstream.cc: Same.
1623         * testsuite/27_io/stringbuf.cc: Same.
1624         * testsuite/27_io/filebuf.cc: Same.
1625         * testsuite/27_io/ios_manip_basefield.cc: Same.
1626         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1627         * include/bits/cpp_type_traits.h: Same.
1628         * include/bits/generic_shadow.h: Same.
1629         * include/bits/gslice_array.h: Same.
1630         * include/bits/gslice.h: Same.
1631         * include/bits/indirect_array.h: Same.
1632         * include/bits/slice_array.h: Same.
1633         * include/bits/sstream.tcc: Same.
1634         * include/bits/streambuf_iterator.h: Same.
1635         * include/bits/valarray_array.tcc: Same.
1636         * include/bits/valarray_meta.h: Same.
1637         * include/bits/valarray_array.h: Same.
1638         * config/os/mingw32/bits/ctype_noninline.h: Same.
1639         * config/os/mingw32/bits/ctype_base.h: Same.
1640         * config/os/hpux/bits/ctype_noninline.h: Same.
1641         * config/os/hpux/bits/ctype_base.h: Same.
1642         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1643         * config/os/gnu-linux/bits/ctype_base.h: Same.
1644         * config/os/generic/bits/ctype_noninline.h: Same.
1645         * config/os/generic/bits/ctype_base.h: Same.
1646
1647         * libsupc++/tinfo.h: Tweaks.
1648
1649 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1650
1651         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1652         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1653         * testsuite/22_locale/ctype_members_char.cc: Tweak.
1654
1655 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1656
1657         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1658         (num_put::do_put(void*)): Fix.
1659         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1660         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1661         * testsuite/22_locale/num_get_members_char.cc (test02): Add
1662         long double, void, bool types.
1663         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1664
1665 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1666             Alexandre Oliva  <aoliva@redhat.com>
1667
1668         * libmath/Makefile.am (LINK): Add --tag CC.
1669         * libmath/Makefile.in: Regenerate.
1670
1671 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1672
1673         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1674         of character to attribute mapping table.
1675
1676 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
1677
1678         * testsuite/26_numerics/c99_classification_macros_c.cc
1679         Remove dg-error and dg-excess-errors comments.
1680
1681 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
1682
1683         * include/bits/locale_facets.tcc (time_put::put): Correct output
1684         iterator positions.
1685         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1686         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1687         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1688         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1689
1690 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1691
1692         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1693
1694 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
1695             Nathan Myers  <ncm@cantrip.org>
1696
1697         * include/bits/basic_string.h
1698         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1699         temporaries (i.e., call _M_replace_safe) when possible.
1700         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1701         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1702         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1703         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1704         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1705         * include/bits/basic_string.tcc
1706         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1707         replace(__pos, __n1, __s, __n2).
1708         * testsuite/21_strings/replace.cc (test03): New testcases.
1709
1710         * include/bits/basic_string.h (insert(__pos, __s, __n)):
1711         Adjust comparison wrt overflow.
1712
1713 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1714
1715         * include/Makefile.am (std_headers_rename): New variable.
1716         (install-data-local): Use it.
1717         * include/Makefile.in: Regenerate.
1718
1719 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1720
1721         * include/bits/locale_facets.tcc (money_put::do_put(string):
1722         Correct output iterator value.
1723         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1724         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1725
1726 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1727
1728         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
1729         previous commit.
1730
1731 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1732
1733         * include/Makefile.am (std_headers):  Update list with new names.
1734         (stamp-std):  Link to standardized name.
1735         * include/Makefile.in:  Regenerate.
1736
1737         * include/std/algorithm, include/std/bitset, include/std/complex,
1738         include/std/deque, include/std/fstream, include/std/functional,
1739         include/std/iomanip, include/std/ios, include/std/iosfwd,
1740         include/std/iostream, include/std/istream, include/std/iterator,
1741         include/std/limits, include/std/list, include/std/locale,
1742         include/std/map, include/std/memory, include/std/numeric,
1743         include/std/ostream, include/std/queue, include/std/set,
1744         include/std/sstream, include/std/stack, include/std/stdexcept,
1745         include/std/streambuf, include/std/string, include/std/utility,
1746         include/std/valarray, include/std/vector:  Rename to...
1747
1748         * include/std/std_algorithm.h, include/std/std_bitset.h,
1749         include/std/std_complex.h, include/std/std_deque.h,
1750         include/std/std_fstream.h, include/std/std_functional.h,
1751         include/std/std_iomanip.h, include/std/std_ios.h,
1752         include/std/std_iosfwd.h, include/std/std_iostream.h,
1753         include/std/std_istream.h, include/std/std_iterator.h,
1754         include/std/std_limits.h, include/std/std_list.h,
1755         include/std/std_locale.h, include/std/std_map.h,
1756         include/std/std_memory.h, include/std/std_numeric.h,
1757         include/std/std_ostream.h, include/std/std_queue.h,
1758         include/std/std_set.h, include/std/std_sstream.h,
1759         include/std/std_stack.h, include/std/std_stdexcept.h,
1760         include/std/std_streambuf.h, include/std/std_string.h,
1761         include/std/std_utility.h, include/std/std_valarray.h,
1762         include/std/std_vector.h:  ...this.
1763
1764 2002-01-11  Loren Rittle <ljrittle@acm.org>
1765
1766         * include/Makefile.am (extra_target_headers): New list of all
1767         target files built with ad hoc naming rules.
1768         (stamp-*): Handle LN_S failure in manner portable across make
1769         implementations.
1770         (install-data-local): Install header files from human-maintained
1771         file lists and directory components instead of non-robust find.
1772         * include/Makefile.in: Rebuilt.
1773
1774 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
1775
1776         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1777         Check for zero-length negative sign before adding it to output
1778         string.
1779         (money_get::do_get(long double)): Return beg.
1780         * testsuite/22_locale/money_get_members_char.cc (test02): Add
1781         iterator checks.
1782         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1783
1784 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
1785
1786         libstdc++/5331
1787         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1788         for _M_extract_float and _M_extract_int
1789         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1790         (num_get<>::_M_extract_int): Likewise, all callers changed
1791         * testsuite/22_locale/num_get_members_char.cc: Testcase
1792
1793 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1794
1795         * libsupc++/exception (bad_exception): Add comment.
1796         * libsupc++/new (bad_alloc): Same.
1797         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1798
1799 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1800
1801         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1802         that the destructors should be removed from the descriptions
1803         in the standard: writing them explicitly allows the vtable
1804         heuristic to work. For additional information see:
1805         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1806         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1807         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1808         * libsupc++/exception (bad_exception::~bad_exception()):
1809         Reintroduce declaration.
1810         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1811         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1812         (bad_typeid::~bad_typeid()): Same.
1813         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1814         Reintroduce definition.
1815         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1816         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1817         (bad_typeid::~bad_typeid()): Same.
1818
1819 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1820
1821         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1822         * include/Makefile.in: Regenerate.
1823
1824 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
1825
1826         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1827         definition.
1828
1829 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
1830
1831         libstdc++/2913
1832         libstdc++/4879
1833         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1834         return value of _M_file->sync().
1835         (filebuf::showmanyc): Check for is_open.
1836         * include/std/fstream (filebuf::sync): Tweak.
1837         * testsuite/27_io/filebuf.cc: Tweak.
1838
1839 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
1840             Brad Garcia  <garsh@attbi.com>
1841
1842         * testsuite/27_io/filebuf_members.cc: Add test.
1843
1844 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1845             Craig Rodrigues  <rodrigc@mediaone.net>
1846
1847         libstdc++/5174
1848         * po/Makefile.am (mkinstalldirs): Add.
1849         * po/Makefile.in: Regenerate.
1850
1851 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
1852
1853         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1854         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
1855         compiler output.
1856         * testsuite/23_containers/map_operators.cc: Remove
1857         dg-excess-errors comment.
1858         * testsuite/23_containers/set_operators.cc: Likewise.
1859
1860 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
1861
1862         * include/bits/stl_function.h:  Remove two lines of comments;
1863         adjust copyright years.
1864
1865 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
1866
1867         * include/Makefile.am (std_headers): Remove cXXX from list.
1868         (c_base_srcdir): No bits subdirectory.
1869         (c_base_builddir): Same.
1870         (c_base_headers): Adjust names, add ciso646.
1871         (bits_headers): Remove std_xxx.h headers.
1872         * include/Makefile.in: Regenerate.
1873
1874         * include/ext/iterator: Adjust includes.
1875         * include/ext/ropeimpl.h: Same.
1876         * include/ext/stl_hash_fun.h: Same.
1877         * include/ext/algorithm: Same.
1878
1879         * include/backward/bvector.h: Adjust includes.
1880         * include/backward/vector.h: Same.
1881         * include/backward/strstream: Same.
1882         * include/backward/streambuf.h: Same.
1883         * include/backward/stack.h: Same.
1884         * include/backward/set.h: Same.
1885         * include/backward/queue.h: Same.
1886         * include/backward/multiset.h: Same.
1887         * include/backward/multimap.h: Same.
1888         * include/backward/map.h: Same.
1889         * include/backward/list.h: Same.
1890         * include/backward/iterator.h: Same.
1891         * include/backward/iostream.h: Same.
1892         * include/backward/iomanip.h: Same.
1893         * include/backward/fstream.h: Same.
1894         * include/backward/deque.h: Same.
1895         * include/backward/complex.h: Same.
1896
1897         * include/bits/std_algorithm.h: Move to...
1898         * include/std/algorithm: ...here.
1899         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1900         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1901         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1902         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1903         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1904         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1905         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1906         Same.
1907
1908         * include/c_std/bits/std_cassert.h: Move to...
1909         * include/c_std/cassert: Here.
1910         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1911         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1912         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1913         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1914         std_cwctype.h: Same.
1915         * include/c_std/cmath: Adjust cmath.tcc include.
1916         * include/c_std/cstdlib: Adjust includes.
1917         * include/c_std/cwchar: Same.
1918         * include/c_std/ctime: Same.
1919         * include/c_std/cstring: Same.
1920         * include/c_std/cstdio: Same.
1921         * include/c_std/bits: Remove directory.
1922
1923         * include/c/bits/std_cassert.h: Move to...
1924         * include/c/cassert: Here.
1925         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1926         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1927         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1928         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1929         std_cwctype.h: Same.
1930         * include/c/bits: Remove directory.
1931
1932         * include/std/cwctype: Remove.
1933         * include/std/cwchar: Remove.
1934         * include/std/ctime: Remove.
1935         * include/std/cstring: Remove.
1936         * include/std/cstdlib: Remove.
1937         * include/std/cstdio: Remove.
1938         * include/std/cstddef: Remove.
1939         * include/std/cstdarg: Remove.
1940         * include/std/csignal: Remove.
1941         * include/std/csetjmp: Remove.
1942         * include/std/cmath: Remove.
1943         * include/std/clocale: Remove.
1944         * include/std/climits: Remove.
1945         * include/std/ciso646: Remove.
1946         * include/std/cfloat: Remove.
1947         * include/std/cerrno: Remove.
1948         * include/std/cctype: Remove.
1949         * include/std/cassert: Remove.
1950
1951         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1952         files and subsituting <xxx>.
1953         * include/bits/valarray_array.h: Same.
1954         * include/bits/stl_uninitialized.h: Same.
1955         * include/bits/stl_alloc.h: Same.
1956         * include/bits/stl_algobase.h: Same.
1957         * include/bits/sstream.tcc: Same.
1958         * include/bits/pthread_allocimpl.h: Same.
1959         * include/bits/ostream.tcc: Same.
1960         * include/bits/localefwd.h: Same.
1961         * include/bits/locale_facets.tcc: Same.
1962         * include/bits/locale_facets.h: Same.
1963         * include/bits/istream.tcc: Same.
1964         * include/bits/char_traits.h: Same.
1965         * include/bits/boost_concept_check.h: Same.
1966         * include/bits/basic_file.h: Same.
1967         * include/std/bitset: Same.
1968         * include/std/complex: Same.
1969         * include/std/fstream: Same.
1970         * include/std/functional: Same.
1971         * include/std/ios: Same.
1972         * include/std/iostream: Same.
1973         * include/std/ostream: Same.
1974         * include/std/sstream: Same.
1975         * include/std/streambuf: Same.
1976         * include/std/string: Same.
1977         * include/std/iterator: Same.
1978         * include/std/valarray: Same.
1979
1980         * src/ios.cc: Adjust includes.
1981         * src/valarray-inst.cc: Same.
1982         * src/string-inst.cc: Same.
1983         * src/stl-inst.cc: Same.
1984         * src/stdexcept.cc: Same.
1985         * src/misc-inst.cc: Same.
1986         * src/localename.cc: Same.
1987         * src/locale-inst.cc: Same.
1988         * src/locale.cc: Same.
1989         * src/limits.cc: Same.
1990         * src/concept-inst.cc: Same.
1991         * src/complex_io.cc: Same.
1992         * src/codecvt.cc: Same.
1993         * src/bitset.cc: Same.
1994         * src/cmath.cc: Same.
1995
1996 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
1997
1998         * include/bits/stl_tree.h (rb_tree):  Move to...
1999         * include/ext/rb_tree:  ...here, new file.
2000         * include/Makefile.am (ext_headers):  Add new file.
2001         * include/Makefile.in:  Regenerate.
2002         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2003         return_temporary_buffer, struct temporary_buffer):  Move to...
2004         * include/ext/memory:  ...here.
2005         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
2006         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
2007         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
2008
2009 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
2010
2011         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
2012         * include/ext/numeric:  ...here, new file.
2013         * include/bits/stl_function.h (identity_element, unary_compose,
2014         binary_compose, compose1, compose2, identity, select1st,
2015         select2nd, project1st + helper, project2nd + helper,
2016         constant_void_fun + helper, constant_unary_fun + helper,
2017         costant_binary_fun + helper, constant0, constant1, constant2,
2018         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
2019         * include/ext/functional:  ...here, new file.
2020         * include/Makefile.am (ext_headers):  Add new files.
2021         * include/Makefile.in:  Regenerate.
2022         * testsuite/ext/headers.cc:  Include <ext/numeric> and
2023         <ext/functional>.
2024         * include/backward/algo.h:  Include <ext/numeric>, tweak.
2025         * include/backward/function.h:  Include <ext/functional>, tweak.
2026         * include/ext/ropeimpl.h:  Include <ext/numeric>.
2027
2028 2002-01-03  Jeffrey A Law  <law@redhat.com>
2029
2030         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2031         __strtoull declarations with __extension__.
2032
2033 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
2034
2035         * testsuite/lib/prune.exp: Correct regular expression for
2036         -ffunction-sections
2037
2038 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2039
2040         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2041         Change concept checks, as with lower_bound and PR 2054.
2042         * testsuite/ext/concept_checks.cc:  Expand test to include those.
2043
2044 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2045
2046         * include/bits/boost_concept_check.h:  Import some changes from
2047         upsteam (Boost) version.
2048
2049 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
2050
2051         * include/bits/stl_algobase.h (copy_n + helpers,
2052         lexicographical_compare_3way + helpers):  Move to...
2053         * include/ext/algorithm:  ...here.
2054         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2055         helpers):  Move to...
2056         * include/ext/memory:  ...here, new file.
2057         * include/Makefile.am (ext_headers):  Add new file.
2058         * include/Makefile.in:  Regenerate.
2059         * testsuite/ext/headers.cc:  Include <ext/memory>.
2060         * include/backward/algobase.h:  Include <ext/memory> and
2061         <ext/algorithm>, tweak.
2062         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
2063         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
2064
2065 2002-01-01  Roger Sayle <roger@eyesopen.com>
2066
2067         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2068         equivalent ___builtin__ versions.
2069
2070         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2071         are available in libstdc++ as the necessary stub implementations
2072         are provided by libmath/stubs.c.
2073
2074 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
2075
2076         * configure.in: Add support for NetBSD cross compiles.
2077         * configure: Regenerate.