OSDN Git Service

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