* config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob078d795507e716ce62823f7fb293f5b6d4786c11
1 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
3         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
4         * aclocal.m4: Regenerate.
5         * config.h.in: Regenerate.
6         * configure: Regenerate.
7         * include/c_std/std_cwctype.h: Guard.
9 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
11         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
12         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
13         * aclocal.m4: Regenerate.
14         * configure: Regenerate.
16 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
18         * include/bits/stl_bvector.h: Fix warning.
20 2002-03-11  Richard Henderson  <rth@redhat.com>
22         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
24 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
26         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
27         New function.  Build the list of tests to run in testsuite_files.
28         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
30 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
32         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
33         platforms with no weak support.
34         * testsuite/27_io/ios_init.cc:  Likewise.
36 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
38         * include/bits/locale_facets.tcc (time_put::do_put):
39         Consider sizeof(char_type) in allocating the buffer.
41         * include/bits/locale_facets.tcc (collate::do_tranform):
42         Remove redundant variable.
44 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
45             Paolo Carlini  <pcarlini@unitus.it>
47         * config/locale/generic/collate_members.cc
48         (collate<char,wchar_t>::_M_compare_helper): normalize
49         values returned by strcoll and wcscoll.
50         * config/locale/gnu/collate_members.cc
51         (collate<char,wchar_t>::_M_compare_helper): ditto
52         for __strcoll_l and __wcscoll_l.
54 2002-03-10  Anthony Green  <green@redhat.com>
56         * configure.in: Support cross builds to mingw32 target.
57         * configure: Rebuilt.
59 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
61         * include/bits/locale_facets.tcc (collate::do_transform):
62         Rewrite to fix problems with long transformed strings.
64 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
66         * c_locale_generic.cc: Move to...
67         * generic/c_locale.cc
68         * c_locale_generic.h: Move to...
69         * generic/c_locale.h
70         * codecvt_specializations_generic.h: Move to...
71         * generic/codecvt_specializations.h
72         * collate_members_generic.cc: Move to...
73         * generic/collate_members.cc
74         * ctype_members_generic.cc: Move to...
75         * generic/ctype_members.cc
76         * messages_members_generic.cc: Move to...
77         * generic/messages_members.cc
78         * messages_members_generic.h: Move to...
79         * generic/messages_members.h
80         * moneypunct_members_generic.cc: Move to...
81         * generic/monetary_members.cc
82         * numpunct_members_generic.cc: Move to...
83         * generic/numeric_members.cc
84         * time_members_generic.cc: Move to...
85         * generic/time_members.cc
86         * c_locale_gnu.cc: Move to...
87         * gnu/c_locale.cc
88         * c_locale_gnu.h: Move to...
89         * gnu/c_locale.h
90         * collate_members_gnu.cc: Move to...
91         * gnu/collate_members.cc
92         * ctype_members_gnu.cc: Move to...
93         * gnu/ctype_members.cc
94         * messages_members_gnu.cc: Move to...
95         * gnu/messages_members.cc
96         * messages_members_gnu.h: Move to...
97         * gnu/messages_members.h
98         * moneypunct_members_gnu.cc: Move to...
99         * gnu/monetary_members.cc
100         * numpunct_members_gnu.cc: Move to...
101         * gnu/numeric_members.cc
102         * time_members_gnu.cc: Move to...
103         * gnu/time_members.cc
104         * c_locale_ieee_1003.1-200x.cc: Move to...
105         * ieee_1003.1-2001/c_locale.cc
106         * c_locale_ieee_1003.1-200x.h: Move to...
107         * ieee_1003.1-2001/c_locale.h
108         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
109         * ieee_1003.1-2001/codecvt_specializations.h
110         * messages_members_ieee_1003.1-200x.cc: Move to...
111         * ieee_1003.1-2001/messages_members.cc
112         * messages_members_ieee_1003.1-200x.h: Move to...
113         * ieee_1003.1-2001/messages_members.h   
115         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
116         * aclocal.m4: Regenerate.
117         * configure: Regenerate.
118         * src/Makefile.am (sources): Change to monetary and numeric.
119         * src/Makefile.in: Regenerate.
120         * docs/html/configopts.html: Update to ieee_1003.1-2001.
122 2002-03-08  scott snyder  <snyder@fnal.gov>
124         libstdc++/5875
125         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
126         Allow one more digit of precision.
127         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
128         write a double and read back in the same value.
130 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
132         * include/std/std_limits.h: Move static const data members out of
133         generic template, into base class __numeric_limits_base.
134         * src/limits.cc: Add definitions.
135         * config/linker-map.gnu: Add __numeric_limits_base.
136         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
137         
138 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
140         * include/bits/stl_alloc.h: Add extern implicit allocator
141         instantiations.
142         * include/bits/basic_string.tcc: Tweak.
143         * include/bits/locale_facets.tcc: Remove default args. Add
144         has_facet, use_facet extern instantiations.
145         * src/stl-inst.cc: Add explicit instantiation.
146         * src/locale-inst.cc: Clean. Remove locale member template
147         instantiations.
149         * testsuite/22_locale/operators.cc (test02): Enable.
151 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
152             Stephen M. Webb  <stephen.webb@bregmasoft.com>
154         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
155         (_S_rb_tree_black): Make enum.
156         Clean. Format.
157         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
158         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
159         (__stl_threshold): _M_threshold, enum.
160         * src/stl-inst.cc: Same.
161         * config/linker-map.gnu: Remove.
162         
163         * testsuite/23_containers/vector_bool.cc: New.
164         
165 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
167         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
168         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
169         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
170         referring to the collection as a whole.  New section on which macros
171         can be redefined by the user.
172         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
173         * docs/html/20_util/howto.html:  Update link to SGI.
174         * docs/html/faq/index.html:  Update snapshot versions.  New entry
175         on why g++ (but not gcc) must currently predefine certain macros.
176         * docs/html/faq/index.txt:  Regenerated.
178         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
179         names in declaration.
180         (basic_string::compare):  These are no longer optional.
181         * include/bits/ostream.tcc:  Tweak closing brace placement.
182         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
183         * include/std/std_sstream.h:  Fix typo in comment.
184         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
185         * src/locale.cc:  Likewise.
187 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
189         PR libstdc++/5734
190         * include/bits/stl_vector.h (vector::push_back()):  Guard with
191         _GLIBCPP_DEPRECATED.
193 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
195         * include/bits/c++config:  Fix misplaced leading blanks on first line.
197 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
199         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
200         * README (libmath): Make clear.
202 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
204         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
205         script globbing in ld.
206         * aclocal.m4: Rebuilt.
207         * configure: Rebuilt.
209 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
211         * docs/html/17_intro/RELEASE-NOTES: Update.
212         * README: Format subdirectories.
214 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
216         libstdc++/5816
217         * include/bits/locale_facets.tcc
218         (num_get::_M_extract_float): Fix the parsing of __dec, since
219         the standard prescribes that if no grouping characters are
220         seen, no grouping check is applied.
221         * testsuite/22_locale/num_get_members_char.cc: Add test05
222         distilled from the PR.
223         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
225 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
227         * docs/html/17_intro/porting-howto.xml: Refer to 
228         http://www.oasis-open.org for docbookx.dtd.
229         * docs/html/17_intro/porting-howto.html: Regenerated.
231 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
233         PR libstdc++/3955
234         * include/std/std_sstream.h:  Remove trailing spaces.
235         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
236         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
238 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
240         * testsuite/22_locale/num_get_members_char.cc (test04):
241         Use a named locale expecting grouping (de_DE).
242         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
243         Ditto.
244         * testsuite/27_io/ios_manip_basefield.cc (test01):
245         Extend coverage, uniform treatment of hexs and octs.
247 2002-02-28  Richard Henderson  <rth@redhat.com>
249         * config/linker-map.gnu: Export operator new with unsigned long,
250         and with std::nothrow_t.  Likewise operator delete.
252 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
254         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
255         Admit grouping for octals and hexadecimals too.
256         * testsuite/22_locale/num_get_members_char.cc: Add test04.
257         (test01): Tweak "." -> "," in void* test.
258         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
260         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
261         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
263 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
265         * testsuite/27_io/ios_manip_basefield.cc (test01):
266         Fix for 64 bit machines.
268 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
270         libstdc++/3983
271         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
272         Adjust comment.
273         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
274         (basic_ios::_M_fill_init): New.
275         (basic_ios::fill()): Delay dealing with _M_fill.
276         Adjust comment. 
277         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
278         (ios_base::_M_call_callbacks): Adjust.
279         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
281 2002-02-26  Loren Rittle  <ljrittle@acm.org>
283         * include/Makefile.am (thread_target_headers): Unconditionally
284         stage and install gthr-posix.h.
285         (${target_builddir}/gthr-posix.h): New rule cloned off
286         ${target_builddir}/gthr-default.h.
287         (${target_builddir}/gthr-default.h): Support chained inclusion
288         of gthr support headers.
289         * include/Makefile.in: Rebuilt.
291 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
293         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
294         Group all the integral types, not only decs.
295         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
296         tests, add a few more.
298 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
300         * src/ios.cc (ios_base::~ios_base): Tweak.
301         (ios_base::_M_call_callbacks): Deal with null __p.
302         (ios_base::ios_base): Set _M_callbacks.
303         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
304         * testsuite/27_io/ios_init.cc (test02): Fix.
306         * mkcheck.in (static_fail): Failed links go to output file.
308 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
310         * docs/html/faq/index.html:  Update.
311         * docs/html/faq/index.txt:  Regenerate.
313 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
315         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
316         * aclocal.m4:  Regenerate.
317         * docs/html/configopts.html:  Document --enable-symvers.
318         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
320 2002-02-22  Philipp Thomas  <pthomas@suse.de>
322         * include/backward/tempbuf.h: get_temporary_buffer and
323         return_temporary_buffer are in namespace std, not in __gnu_cxx.
325 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
327         * configure.in (target_alias): Default to yes.
328         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
329         libgcc to default case. 
331 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
333         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
334         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
335         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
336         * aclocal.m4:  Regenerate.
337         * configure:  Regenerate.
338         * config/linker-map.dummy:  New file.  Contains nothing useful.
340 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
342         * testsuite/22_locale/money_put_members_char.cc: Fix.   
343         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
345         * testsuite/27_io/standard_manipulators.cc: New file.
347         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
348         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
349         
350 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
352         * config/os/mingw32/bits/ctype_noninline.h
353         (ctype<char>::ctype): Remove default args from parm list.
354         * config/os/djgpp/bits/ctype_noninline.h: Same. 
356 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
358         * include/std/std_iomanip.h: Inline, tweaks.
359         * config/linker-map.gnu: Remove hacks.
361         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
362         * testsuite/27_io/ios_init.cc: Same.
363         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
364         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
366 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
367         
368         * config/linker-map.gnu: Export global vtable, typeinfo, guard
369         variable, and thunk info as per CXXABI docs.
371 2002-02-19  Loren Rittle <ljrittle@acm.org>
373         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
374         * include/Makefile.in: Rebuilt.
376 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
378         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
379           with size3 for the string collations of str5.
381 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
383         libstdc++/5708
384         * include/bits/locale_facets.tcc (money_put::do_put):
385         For the space field use __fill instead of ' ', uniformly.
386         * testsuite/22_locale/money_put_members_char.cc:
387         Add test05 distilled from PR.
388         (test01-02-03): Trim some '*' to ' '.
389         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
391 2002-02-18  Loren Rittle <ljrittle@acm.org>
393         libstdc++/5697
394         * include/Makefile.am (thread_builddir): Remove (map all
395         existing uses to target_builddir).
396         (thread_headers): Rename to...
397         (thread_target_headers): ...this.
398         (stamp-thread): Remove.
399         (stamp-target): Correctly state the position as built.
400         Update all dependencies to match the new reality.  Remove all
401         dependency calculations on directories.
402         * include/Makefile.in: Rebuilt.
404 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
406         * include/bits/locale_facets.tcc: Add pragma GCC system_header. 
407         * include/bits/fstream.tcc: Same.
408         * include/bits/sstream.tcc: Same.
409         * include/bits/ostream.tcc: Same.
410         * include/bits/istream.tcc: Same.
411         * include/bits/streambuf.tcc: Same.
412         * include/bits/basic_ios.tcc: Same.
413         * include/bits/basic_string.tcc: Same.
415 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
417         * include/std/std_iosfwd.h: Don't guard typedefs with
418         _GLIBCPP_USE_WCHAR_T
419         * include/bits/stringfwd.h: Same.
421 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
423         * src/locale.cc (moneypunct_byname): Remove definitions.
424         * include/std/std_streambuf.h (streambuf::operator=): Return.
425         
426 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
428         Tune for size.
429         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
430         explicit instantiation.
431         (string::_Rep::_S_max_size): Same.
432         * include/bits/basic_string.tcc: Add extern explicit
433         instantiations for string, wstring.
434         * include/bits/basic_ios.tcc: Add extern explicit instantiations
435         for ios, wios.
436         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
437         * include/bits/istream.tcc: Same, for istream, wistream.
438         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
439         wiostream.
440         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
441         istringstream, wistringstream, ostringstream, wostringstream,
442         stringstream, wstringstream.
443         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
444         wifstream, ofstream, wofstream, fstream, wfstream.
445         * src/misc-inst.cc: Correct comments.
446         Add iomanip instantiations for wide streams.
447         * include/std/std_iomanip.h: Same.
448         * include/bits/locale_facets.tcc: Same.
449         
450         * include/std/std_streambuf.h: Correct
451         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
452         * include/std/std_sstream.h: Same.
453         * include/std/std_ostream.h: Same.
454         * include/std/std_istream.h: Same.
455         * include/std/std_fstream.h: Same.
457         * include/std/std_streambuf.h: Add definitions for private copy
458         ctor and assignment operator.
459         * include/std/std_istream.h: Remove declared but undefined copy
460         ctor and assignment operator. This is taken care of in ios_base,
461         so adding it in the derived class as well is superfluous.
462         * include/std/std_ostream.h: Same.
464         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
465         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
466         
467 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
469         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
470         Add typeinfo bits. Smooth.
471         * aclocal.m4: Regenerate.
472         * configure: Same.
473         * src/Makefile.in: Same.
475 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
477         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
478         which do not have a CAS instruction.
480 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
482         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
483         * configure.in:  Call it.
484         * config/linker-map.gnu:  New file, initial incomplete revision.
485         * src/Makefile.am:  Optionally pass version script to the linker.
486         * aclocal.m4:  Regenerate.
487         * configure:  Regenerate.
488         * src/Makefile.in:  Regenerate.
490 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
492         * src/localename.cc: Remove stdexcept include.
493         * src/locale-inst.cc: Same.
494         * src/locale.cc: Same.
495         * src/functexcept.cc: Remove string includes.
496         * include/std/std_bitset.h: Remove stdexcept include.
497         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
498         * testsuite/23_containers/bitset_ctor.cc: Same.
500 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
502         * include/bits/stl_algo (__stl_threshold): Declare external.    
503         (__stl_chunk_size): Same.
504         * include/bits/stl_bvector.h (__WORD_BIT): Same.
505         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
506         (_S_rb_tree_black): Same.
507         * src/stl-inst.cc (__stl_threshold): Define.
508         (__stl_chunk_size): Same.
509         (__WORD_BIT): Same.
510         (_S_rb_tree_red): Same.
511         (_S_rb_tree_black): Same.
512         
513         * config/io/basic_file_libio.h (__basic_file): Add declarations.
514         * include/bits/basic_file.h: Remove.
515         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
516         Declare generic types, specialization.
517         * config/io/basic_file_stdio.cc: Definitions.   
518         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
519         Declare generic types.
520         * include/Makefile.am (bits_headers): Remove basic_file.h.
521         (extra_target_headers): Change basic_file_model.h to basic_file.h.
522         (stamp-target): Same.
524         * include/bits/stl_alloc.h: Tweaks.
525         * include/bits/localefwd.h: Same.       
527 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
529         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
530         * testsuite/22_locale/collate_members_char.cc (test03): New test.
531         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
532         
533 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
535         * include/bits/stl_algo.h (transform (both signatures), generate_n):
536         Use __typeof__ in concept checks.
538 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
540         * include/bits/stl_algo.h (__median, for_each, find, find_if,
541         adjacent_find, count, count_if, search, search_n, swap_ranges,
542         transform, replace, replace_if, replace_copy, replace_copy_if,
543         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
544         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
546 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
548         * include/bits/locale_facets.h
549         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
550         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
551         (__timepunct<_CharT>::_M_put_helper): Same.
552         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
554         * include/bits/fstream.tcc (filebuf::underflow): Remove
555         __codecvt_type typedef.
556         (filebuf::_M_convert_to_external): Same.
557         
558 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
560         * docs/doxygen/TODO:  Update.
561         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
562         * docs/doxygen/mainpage.html:  Add TODO list link.
563         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
564         * docs/doxygen/tables.html:  New file, emoty structure only.
566         * include/bits/stl_iterator.h:  Doxygenate just about everything.
567         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
568         * include/bits/stl_iterator_base_types.h:  Add notes.
570 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
572         * include/bits/stl_map.h:  Tweak doxygen markup.
573         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
574         * include/bits/stl_vector.h:  Likewise.
576 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
578         libstdc++/5286
579         libstdc++/3860
580         * include/std/std_fstream.h (filebuf::__file_type): Change to
581         __basic_file<char>.
582         (filebuf::_M_convert_to_external): Declare.
583         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
584         codecvt bits for wide streams.
585         (filebuf::_M_really_overflow): Use it.
586         (filebuf::underflow): Use codecvt.
587         * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 
588         (codecvt<__enc_traits>::do_out): Deal with partial.
589         (codecvt<__enc_traits>::do_encoding): Return something useful.
590         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
591         wchar_t.
592         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
593         Change expected encoding output.
594         (test02): Same.
595         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
596         (test02): Same.
598 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
599             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
600         
601         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
602         (basic_ios::widen): Same.
604 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
606         * testsuite/22_locale/money_get_members_char.cc:
607         Add comment, tidy up.
608         (test01): more "en_HK" tests (without showbase).
609         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
611 2002-02-06  Loren Rittle <ljrittle@acm.org>
613         * config/locale/c_locale_generic.cc: Do not trust
614         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
615         set by configure.
617 2002-02-06  Loren Rittle <ljrittle@acm.org>
619         * acinclude.m4: Add C++ linkage check for strtof.
620         * aclocal.m4: Rebuilt.
621         * config.h.in: Rebuilt.
622         * configure: Rebuilt.
623         * config/locale/c_locale_generic.cc: Conditionally include
624         <ieeefp.h>.  Improve handling and error checking of float
625         and long double input for non-C99 configurations.
627 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
629         * include/bits/locale_facets.tcc (money_get::do_get(string)):
630         In case money_base::symbol deal properly with multi-char sign
631         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
632         * testsuite/22_locale/money_get_members_char.cc: Add test07.
633         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
635 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
637         * include/bits/locale_facets.tcc (money_get::do_get(string)):
638         First construct a tentative returned string, then, only if the
639         parsing succeeds, copy it into the string passed by reference.
640         * testsuite/22_locale/money_get_members_char.cc: Add test06.
641         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
643 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
645         * docs/doxygen/TODO:  Impl-defined behavior now documented...
646         * docs/html/17_intro/howto.html:  ...here.
647         * docs/doxygen/mainpage.doxy:  Remove, rename...
648         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
649         * docs/doxygen/style.css:  Add small text.
650         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
651         * docs/doxygen/user.cfg.in:  Likewise.
653 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
655         * include/bits/stl_map.h:  Initial doxygen markup.
656         * include/std/std_fstream.h:  Initial doxygen markup.
658 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
660         libstdc++/5579
661         * include/bits/locale_facets.tcc (money_get::do_get(string)):
662         Deal correctly with !(__io.flags() & ios_base::showbase)
663         for case money_base::symbol.
664         * testsuite/22_locale/money_get_members_char.cc: Add test05.
665         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
667 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
669         * testsuite/22_locale/operators.cc
670         (gnu_collate::do_compare()): Add return statement to
671         suppress "no return statement" warning.
673 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
675         * testsuite/27_io/ostream_manip.cc: Enable test02.
677 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
679         * docs/html/documentation.html:  Update for 3.0.96.
680         * docs/html/faq/index.html:  Update for 3.0.96.
681         * docs/html/faq/index.txt:  Regenerated.
682         * docs/doxygen/TODO:  Update notes.
683         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
685 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
687         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
688         Initialize all data members in copy ctor. Make ctors explicit.
689         (__enc_traits::__enc_traits()): Default ctor does nothing.
690         (__enc_traits::_M_init): Guard against multiple iconv_opens.
691         * include/std/std_sstream.h (basic_stringbuf): Make data members
692         protected.
693         * include/std/std_fstream.h (basic_filebuf): Same.
694         * include/std/std_streambuf.h: Tweak.
695         * include/bits/streambuf.tcc: Same.
696         * include/bits/sstream.tcc: Same.
697         * include/bits/fstream.tcc: Same.       
699 2002-01-31  Loren Rittle <ljrittle@acm.org>
701         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
702         allow NULL argument to be passed to setenv().
703         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
704         * testsuite/22_locale/collate_members_char.cc: Likewise.
705         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
706         * testsuite/22_locale/ctype_members_char.cc: Likewise.
707         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
708         * testsuite/22_locale/messages_members_char.cc: Likewise.
709         * testsuite/22_locale/money_get_members_char.cc: Likewise.
710         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
711         * testsuite/22_locale/money_put_members_char.cc: Likewise.
712         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
713         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
714         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
715         * testsuite/22_locale/num_get_members_char.cc: Likewise.
716         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
717         * testsuite/22_locale/num_put_members_char.cc: Likewise.
718         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
719         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
720         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
721         * testsuite/22_locale/time_get_members_char.cc: Likewise.
722         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
723         * testsuite/22_locale/time_put_members_char.cc: Likewise.
724         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
726 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
728         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
730         * ChangeLog-2001: Fix spelling errors...
731         * docs/html/17_intro/RELEASE-NOTES: Update.
732         * docs/html/17_intro/TODO: Update.
733         * README (file): Update.
734         
735 2002-01-30  Loren Rittle <ljrittle@acm.org>
737         * config/locale/c_locale_generic.cc: Check errno for ERANGE
738         instead of non-zero to aid portability.
740 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
742         * docs/html/22_locale/messages.html: Fix example code.
744 2002-01-30  Richard Henderson  <rth@redhat.com>
746         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
747         out from test03 and templatize.
748         (test03): Use it.
750 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
752         * config/locale/numpunct_members_gnu.cc
753         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
754         Fix initialization of _M_grouping for locales which have
755         _M_thousands_sep == '\0'(L'\0', respectively).
756         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
758 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
760         * testsuite/27_io/ostream_inserter_arith.cc (test03):
761         Better fix for 32/64 bit architectures, avoiding the
762         implicit assumption that CHAR_BIT == 8.
764 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
766         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
767         * Makefile.in:  Regenerate.
769         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
770         * docs/doxygen/Intro.3:  Update.
771         * docs/doxygen/TODO:  Update.
772         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
773         * docs/doxygen/mainpage.doxy:  Update.
774         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
775         regenerate comments and variables with 1.2.12.
776         * docs/doxygen/maint.cfg.in:  Remove file.
778         * include/bits/stl_relops.h:  Doxygenate.
779         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
781         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
782         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
783         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
784         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
785         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
786         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
787         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
788         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
789         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
790         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
791         include/ext/hash_set, include/ext/iterator, include/ext/memory,
792         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
793         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
794         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
795         include/std/std_algorithm.h, include/std/std_bitset.h,
796         include/std/std_complex.h, include/std/std_deque.h,
797         include/std/std_fstream.h, include/std/std_functional.h,
798         include/std/std_iomanip.h, include/std/std_ios.h,
799         include/std/std_iosfwd.h, include/std/std_iostream.h,
800         include/std/std_istream.h, include/std/std_iterator.h,
801         include/std/std_limits.h, include/std/std_list.h,
802         include/std/std_locale.h, include/std/std_map.h,
803         include/std/std_memory.h, include/std/std_numeric.h,
804         include/std/std_ostream.h, include/std/std_queue.h,
805         include/std/std_set.h, include/std/std_sstream.h,
806         include/std/std_stack.h, include/std/std_stdexcept.h,
807         include/std/std_streambuf.h, include/std/std_string.h,
808         include/std/std_utility.h, include/std/std_valarray.h,
809         include/std/std_vector.h:  Add/correct @file doxygen hook.
811         * include/ext/memory:  Doxygenate most of rest of file.
812         * libsupc++/exception:  Doxygen output formatting.
813         * libsupc++/new:  Say which header it is.
815         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
816         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
817         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
818         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
820 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
821             Charles Leggett <CGLeggett@lbl.gov>
823         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
825 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
827         * testsuite/27_io/ostream_inserter_arith.cc (test03):
828         Fix to deal correctly with both 32 bit and 64 bit architectures
830 2002-01-25  Loren Rittle <ljrittle@acm.org>
832         * testsuite/thread/pthread1.cc: Use one condition variable
833         per predicate instead of tricky use of one condition variable.
835 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
837         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
838         streams.
839         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
840         * testsuite/27_io/filebuf.cc: Compile only.
841         * testsuite/27_io/filebuf_members.cc: Move tests to here.
842         * testsuite/27_io/filebuf_virtuals.cc: And here.
843         Revert sungetc, sync changes for expected values.
844         * testsuite/27_io/filebuf-*: Move to...
845         * testsuite/27_io/filebuf_virtuals-*: ...here.
846         * testsuite/27_io/istream.cc: Compile only, activate.
847         * testsuite/27_io/ostream.cc: Same.
848         * testsuite/27_io/iostream.cc: New.
849         * testsuite/27_io/iostream_members.cc: New.
851 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
853         * testsuite/thread/pthread1.cc: Enable on cygwin.
854         * testsuite/thread/pthread2.cc: Likewise.
855         * testsuite/thread/pthread3.cc: Likewise.
856         * testsuite/thread/pthread4.cc: Likewise.
857         * testsuite/thread/pthread5.cc: Likewise.
858         * testsuite/thread/pthread6.cc: Likewise.
860 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
862         * testsuite/27_io/ostream_inserter_char.cc (test07): New. 
863         
864 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
866         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
867         const, tweak.
868         (basic_ios::fill(char_type)): Use fill().       
869         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
870         (basic_ios::narrow): Same.
871         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
872         if they are invalid.
873         (basic_ios::init): Comment.
874         * testsuite/27_io/ios_init.cc (test02): New.
875         
876 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
878         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
879         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
880         * include/ext/memory:  Do not include stl_tempbuf.h.
881         (temporary_buffer):  Add doxygen hook.
882         (__get_temporary_buffer, get_temporary_buffer,
883         return_temporary_buffer):  Move back to std:: header...
884         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
885         * include/ext/rope:  Do not include stl_tempbuf.h.
886         * include/ext/stl_hashtable.h:  Likewise.
887         * include/std/std_algorithm.h:  Likewise.
888         * testsuite/20_util/temporary_buffer.cc:  New file.
890 2002-01-24  andrew@andypo.net
891             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
893         libstdc++/5432
894         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
895         * include/bits/localefwd.h: Likewise.
896         Also use for std::locale::id::_S_highwater.
897         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
898         * src/locale.cc: Support new usage of _Atomic_word.
899         (std::locale::classic): Guard entire function against reentry.
900         * src/localename.cc: Support new usage of _Atomic_word.
902 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
904         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
905         _GLIBCPP_HAVE_SETENV.
906         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
907         * testsuite/22_locale/collate_members_char.cc (test02): Same.
908         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
909         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
910         * testsuite/22_locale/messages_members_char.cc (test02): Same.
911         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
912         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
913         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
914         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
915         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
916         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
917         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
918         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
919         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
920         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
921         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
922         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
923         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
924         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
925         * aclocal.m4: Regenerate.
926         * configure: Regenerate.
927         * config.h.in: Regenerate.
928         
929 2002-01-23  Loren Rittle <ljrittle@acm.org>
931         * testsuite/thread/pthread1.cc: New test.
932         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
933         * testsuite/thread/pthread3.cc: Likewise.
934         * testsuite/thread/pthread4.cc: New test adapted from
935         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
936         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
937         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
939 2002-01-23  Richard Henderson  <rth@redhat.com>
941         PR libstdc++/5198
942         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
943         CAS on the cpu variants that support it.  Add versions that use
944         TAS and that disable interrupts.
945         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
947 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
949         * include/bits/locale_facets.tcc: Remove old comments.
951 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
953         * include/bits/locale_facets.tcc (__convert_to_v): Change template
954         parameter to _Tv.
955         (__convert_from_v): Same.
956         
957 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
959         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
960         prototype.
961         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
962         __max_digits checks, adjust arguments.
963         (num_get::do_get(*)): Changeup.
965 2002-01-23  Loren Rittle <ljrittle@acm.org>
967         * config/locale/c_locale_generic.cc: Fix typename usage.
969 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
971         * config/locale/c_locale_generic.cc: Fix.
973 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
975         * docs/html/22_locale/messages.html: Remove angle brackets.
976         * docs/html/17_intro/TODO: Add.
977         
978 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
980         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
981         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
982         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
983         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
985 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
987         Audit for LANG independence.
988         * include/bits/localefwd.h: Tweaks.
989         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
990         Use __convert_to_v.
991         (time_get::do_get_year): Same.
992         (__convert_from_v): Add.
993         (num_put::_M_convert_float): Use.
994         (num_put::_M_convert_int): Same.
995         (money_put::do_put): Same.
996         
997         * src/locale-inst.cc: Add instantiations for __convert_from_v.
998         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
999         * config/locale/time_members_generic.cc: 
1000         * config/locale/messages_members_gnu.cc: Same.
1001         * config/locale/messages_members_gnu.h: Same.
1002         
1003         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1004         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1005         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1006         * testsuite/22_locale/collate_members_char.cc (test02): New.
1007         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1008         * testsuite/22_locale/ctype_members_char.cc (test03): New.
1009         * testsuite/22_locale/messages_members_char.cc (test02): New.
1010         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1011         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1012         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1013         * testsuite/22_locale/money_get_members_char.cc (test04): New.
1014         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1015         * testsuite/22_locale/money_put_members_char.cc (test04): New.
1016         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1017         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1018         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1019         * testsuite/22_locale/time_put_members_char.cc (test03): New.
1020         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1021         * testsuite/22_locale/time_get_members_char.cc (test07): New.
1022         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1023         * testsuite/22_locale/num_get_members_char.cc (test03): New.
1024         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1025         * testsuite/22_locale/num_put_members_char.cc (test03): New.
1027         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1028         locale issues.
1029         * testsuite/22_locale/time_get_members_char.cc: Same.
1030         
1031 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1033         libstdc++/5280
1034         * include/bits/localefwd.h: Tweak comments.
1035         * include/bits/locale_facets.h (__convert_to_v): Add.
1036         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1037         (num_get::do_get(float)): Same.
1038         (num_get::do_get(long double)): Same.
1039         (num_get::do_get(bool)): Same.
1040         (num_get::do_get(long)): Same.
1041         (num_get::do_get(long long)): Same.
1042         (num_get::do_get(unsigned int)): Same.
1043         (num_get::do_get(unsigned short)): Same.
1044         (num_get::do_get(unsigned long)): Same.
1045         (num_get::do_get(unsigned long long)): Same.
1046         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1047         * config/locale/c_locale_generic.cc: Same.
1048         
1049 2002-01-22  Loren Rittle <ljrittle@acm.org>
1051         * include/Makefile.am (c_base_builddir): Remove redundant slash.
1052         (std_builddir): Likewise.
1053         (std_headers_rename): Fix cut-n-paste typo.
1054         (install-data-local): Concat path per element instead of once to
1055         first element of list.
1056         * include/Makefile.in: Rebuilt.
1058 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1060         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1061         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1062         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1064 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1066         * include/bits/locale_facets.h (ctype<char>::classic_table):
1067         Remove definition.
1068         (ctype<char>::_S_ctable): Remove.
1069         * config/os/gnu-linux/bits/ctype_noninline.h
1070         (ctype<char>::_S_table): Remove definition.
1071         (ctype<char>::classic_table): Define.
1072         (ctype<char>::ctype): Replace _S_ctable with classic_table().
1073         * config/os/aix/bits/ctype_noninline.h: Same.
1074         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1075         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1076         * config/os/djgpp/bits/ctype_noninline.h: Same.
1077         * config/os/generic/bits/ctype_noninline.h: Same.
1078         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1079         * config/os/hpux/bits/ctype_noninline.h: Same.
1080         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1081         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1082         * config/os/mingw32/bits/ctype_noninline.h: Same.
1083         * config/os/newlib/bits/ctype_noninline.h: Same.
1084         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1085         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1086         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1088 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1090         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1091         of _pctype. Use to define _S_ctable.  Add definition for alternate
1092         ctor.  Initialise _M_ctable to _S_ctable in ctors.
1093         (do_toupper, do_tolower): Use inline code appropriate for C-locale
1094         rather than ::toupper, ::tolower.
1096 2002-01-18  Loren Rittle <ljrittle@acm.org>
1098         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1099         Add specialization for FreeBSD systems only to avoid losing test
1100         only due to extra precision unmentioned in system headers.
1102 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
1104         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1106 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1108         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
1109         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1111 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1112         
1113         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1115 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1117         * configure.target: Define OPT_LDFLAGS for AIX case.
1119 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1121         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1122         __glibcpp_double_has_quiet_NaN): Correct mispelling.
1124 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
1126         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1128 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
1130         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1131         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
1132         * aclocal.m4: Regenerate.
1133         * configure: Regenerate.
1134         
1135 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1137         * include/Makefile.am (c_base_headers_rename): New.
1138         (c_base_headers_extra): New.
1139         (stamp-c_base): Modify.
1140         (install-data-local): Use both.
1141         * include/Makefile.in: Regenerate.
1142         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1143         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1144         cstdio ctime cwctype]: Move to..
1145         * include/c/std_*: Here.
1146         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1147         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1148         cstdio ctime cwctype]: Move to..
1149         * include/c_std/std_*: Here.
1151         Alexandre Oliva  <aoliva@redhat.com>    
1152         * include/Makefile.am (.PRECIOUS): Add rule.
1153         * include/Makefile.in: Regenerate.
1154         
1155 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1156             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1157         
1158         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1159         Deuglify, should be current.
1160         (back_insert_iterator::_M_container): Deuglify, should be container.
1161         (front_insert_iterator::_M_container): Same.    
1162         (insert_iterator::_M_container): Same.
1163         * testsuite/24_iterators/reverse_iterator.cc: Add check.
1164         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
1165         * testsuite/24_iterators/front_insert_iterator.cc: Same.
1166         * testsuite/24_iterators/insert_iterator.cc: Same.
1167         
1168 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1170         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1171         static.
1172         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1173         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1174         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1175         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1176         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1177         * config/os/newlib/bits/ctype_noninline.h: Same.
1178         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1179         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1180         * config/os/hpux/bits/ctype_noninline.h: Same.
1181         * config/os/djgpp/bits/ctype_noninline.h: Same.
1182         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1183         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1184         * config/os/aix/bits/ctype_noninline.h: Same.
1185         
1186         Testcase by Dietmar Kühl via Peter Schmid 
1187         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1188         classic_table().
1190 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1192         * libmath/signbitl.c: Copyright years as list, not range.       
1193         * libmath/Makefile.am: Same.
1194         * libmath/Makefie.in: Regenerate.
1195         * libmath/signbit.c: Same.
1196         * libmath/nan.c: Same.
1197         * libmath/copysignf.c: Same.
1198         * libmath/signbitf.c: Same.
1199         * testsuite/22_locale/money_get_members_char.cc: Same.
1200         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1201         * testsuite/22_locale/money_put_members_char.cc: Same.
1202         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1203         * testsuite/22_locale/time_get_members_char.cc: Same.
1204         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1205         * testsuite/22_locale/time_put_members_char.cc: Same.
1206         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1207         * testsuite/21_strings/nonmember.cc: Same.
1208         * testsuite/21_strings/compare.cc: Same.
1209         * testsuite/27_io/stringstream.cc: Same.
1210         * testsuite/27_io/stringbuf.cc: Same.
1211         * testsuite/27_io/filebuf.cc: Same.
1212         * testsuite/27_io/ios_manip_basefield.cc: Same.
1213         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1214         * include/bits/cpp_type_traits.h: Same.
1215         * include/bits/generic_shadow.h: Same.
1216         * include/bits/gslice_array.h: Same.
1217         * include/bits/gslice.h: Same.
1218         * include/bits/indirect_array.h: Same.
1219         * include/bits/slice_array.h: Same.
1220         * include/bits/sstream.tcc: Same.
1221         * include/bits/streambuf_iterator.h: Same.
1222         * include/bits/valarray_array.tcc: Same.
1223         * include/bits/valarray_meta.h: Same.
1224         * include/bits/valarray_array.h: Same.
1225         * config/os/mingw32/bits/ctype_noninline.h: Same.
1226         * config/os/mingw32/bits/ctype_base.h: Same.
1227         * config/os/hpux/bits/ctype_noninline.h: Same.
1228         * config/os/hpux/bits/ctype_base.h: Same.
1229         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1230         * config/os/gnu-linux/bits/ctype_base.h: Same.
1231         * config/os/generic/bits/ctype_noninline.h: Same.
1232         * config/os/generic/bits/ctype_base.h: Same.
1234         * libsupc++/tinfo.h: Tweaks.
1236 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1238         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1239         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1240         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
1242 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1244         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1245         (num_put::do_put(void*)): Fix.
1246         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1247         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1248         * testsuite/22_locale/num_get_members_char.cc (test02): Add
1249         long double, void, bool types.
1250         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1251         
1252 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1253             Alexandre Oliva  <aoliva@redhat.com>
1255         * libmath/Makefile.am (LINK): Add --tag CC.
1256         * libmath/Makefile.in: Regenerate.
1258 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1260         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1261         of character to attribute mapping table.
1263 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
1265         * testsuite/26_numerics/c99_classification_macros_c.cc
1266         Remove dg-error and dg-excess-errors comments.
1268 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
1270         * include/bits/locale_facets.tcc (time_put::put): Correct output
1271         iterator positions.
1272         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1273         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1274         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1275         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1277 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1279         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1281 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
1282             Nathan Myers  <ncm@cantrip.org>
1284         * include/bits/basic_string.h
1285         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1286         temporaries (i.e., call _M_replace_safe) when possible.
1287         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1288         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1289         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1290         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1291         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1292         * include/bits/basic_string.tcc
1293         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1294         replace(__pos, __n1, __s, __n2).
1295         * testsuite/21_strings/replace.cc (test03): New testcases.
1297         * include/bits/basic_string.h (insert(__pos, __s, __n)):
1298         Adjust comparison wrt overflow.
1299         
1300 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1302         * include/Makefile.am (std_headers_rename): New variable.
1303         (install-data-local): Use it.
1304         * include/Makefile.in: Regenerate.
1305         
1306 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1308         * include/bits/locale_facets.tcc (money_put::do_put(string):
1309         Correct output iterator value.
1310         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1311         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1312         
1313 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1315         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
1316         previous commit.
1318 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1320         * include/Makefile.am (std_headers):  Update list with new names.
1321         (stamp-std):  Link to standardized name.
1322         * include/Makefile.in:  Regenerate.
1324         * include/std/algorithm, include/std/bitset, include/std/complex,
1325         include/std/deque, include/std/fstream, include/std/functional,
1326         include/std/iomanip, include/std/ios, include/std/iosfwd,
1327         include/std/iostream, include/std/istream, include/std/iterator,
1328         include/std/limits, include/std/list, include/std/locale,
1329         include/std/map, include/std/memory, include/std/numeric,
1330         include/std/ostream, include/std/queue, include/std/set,
1331         include/std/sstream, include/std/stack, include/std/stdexcept,
1332         include/std/streambuf, include/std/string, include/std/utility,
1333         include/std/valarray, include/std/vector:  Rename to...
1335         * include/std/std_algorithm.h, include/std/std_bitset.h,
1336         include/std/std_complex.h, include/std/std_deque.h,
1337         include/std/std_fstream.h, include/std/std_functional.h,
1338         include/std/std_iomanip.h, include/std/std_ios.h,
1339         include/std/std_iosfwd.h, include/std/std_iostream.h,
1340         include/std/std_istream.h, include/std/std_iterator.h,
1341         include/std/std_limits.h, include/std/std_list.h,
1342         include/std/std_locale.h, include/std/std_map.h,
1343         include/std/std_memory.h, include/std/std_numeric.h,
1344         include/std/std_ostream.h, include/std/std_queue.h,
1345         include/std/std_set.h, include/std/std_sstream.h,
1346         include/std/std_stack.h, include/std/std_stdexcept.h,
1347         include/std/std_streambuf.h, include/std/std_string.h,
1348         include/std/std_utility.h, include/std/std_valarray.h,
1349         include/std/std_vector.h:  ...this.
1351 2002-01-11  Loren Rittle <ljrittle@acm.org>
1353         * include/Makefile.am (extra_target_headers): New list of all
1354         target files built with ad hoc naming rules.
1355         (stamp-*): Handle LN_S failure in manner portable across make
1356         implementations.
1357         (install-data-local): Install header files from human-maintained
1358         file lists and directory components instead of non-robust find.
1359         * include/Makefile.in: Rebuilt.
1361 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
1363         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1364         Check for zero-length negative sign before adding it to output
1365         string.
1366         (money_get::do_get(long double)): Return beg.
1367         * testsuite/22_locale/money_get_members_char.cc (test02): Add
1368         iterator checks.
1369         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1370         
1371 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
1373         libstdc++/5331
1374         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1375         for _M_extract_float and _M_extract_int
1376         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1377         (num_get<>::_M_extract_int): Likewise, all callers changed
1378         * testsuite/22_locale/num_get_members_char.cc: Testcase
1380 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1382         * libsupc++/exception (bad_exception): Add comment.
1383         * libsupc++/new (bad_alloc): Same.
1384         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1386 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1388         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1389         that the destructors should be removed from the descriptions
1390         in the standard: writing them explicitly allows the vtable
1391         heuristic to work. For additional information see:
1392         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1393         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1394         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1395         * libsupc++/exception (bad_exception::~bad_exception()):
1396         Reintroduce declaration.
1397         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1398         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1399         (bad_typeid::~bad_typeid()): Same.
1400         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1401         Reintroduce definition.
1402         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1403         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1404         (bad_typeid::~bad_typeid()): Same.
1406 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1408         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1409         * include/Makefile.in: Regenerate.
1410         
1411 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
1413         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1414         definition.
1416 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
1418         libstdc++/2913
1419         libstdc++/4879
1420         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1421         return value of _M_file->sync().
1422         (filebuf::showmanyc): Check for is_open.
1423         * include/std/fstream (filebuf::sync): Tweak.
1424         * testsuite/27_io/filebuf.cc: Tweak.
1426 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
1427             Brad Garcia  <garsh@attbi.com>
1428         
1429         * testsuite/27_io/filebuf_members.cc: Add test.
1430         
1431 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1432             Craig Rodrigues  <rodrigc@mediaone.net>
1434         libstdc++/5174
1435         * po/Makefile.am (mkinstalldirs): Add.
1436         * po/Makefile.in: Regenerate.
1438 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
1440         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1441         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
1442         compiler output.
1443         * testsuite/23_containers/map_operators.cc: Remove
1444         dg-excess-errors comment.
1445         * testsuite/23_containers/set_operators.cc: Likewise.
1447 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
1449         * include/bits/stl_function.h:  Remove two lines of comments;
1450         adjust copyright years.
1452 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
1454         * include/Makefile.am (std_headers): Remove cXXX from list.
1455         (c_base_srcdir): No bits subdirectory.
1456         (c_base_builddir): Same.
1457         (c_base_headers): Adjust names, add ciso646.
1458         (bits_headers): Remove std_xxx.h headers.
1459         * include/Makefile.in: Regenerate.
1460         
1461         * include/ext/iterator: Adjust includes.
1462         * include/ext/ropeimpl.h: Same.
1463         * include/ext/stl_hash_fun.h: Same.
1464         * include/ext/algorithm: Same.
1465         
1466         * include/backward/bvector.h: Adjust includes.
1467         * include/backward/vector.h: Same.
1468         * include/backward/strstream: Same.
1469         * include/backward/streambuf.h: Same.
1470         * include/backward/stack.h: Same.
1471         * include/backward/set.h: Same.
1472         * include/backward/queue.h: Same.
1473         * include/backward/multiset.h: Same.
1474         * include/backward/multimap.h: Same.
1475         * include/backward/map.h: Same.
1476         * include/backward/list.h: Same.
1477         * include/backward/iterator.h: Same.
1478         * include/backward/iostream.h: Same.
1479         * include/backward/iomanip.h: Same.
1480         * include/backward/fstream.h: Same.
1481         * include/backward/deque.h: Same.
1482         * include/backward/complex.h: Same.
1484         * include/bits/std_algorithm.h: Move to...
1485         * include/std/algorithm: ...here.
1486         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1487         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1488         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1489         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1490         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1491         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1492         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1493         Same.
1494         
1495         * include/c_std/bits/std_cassert.h: Move to...
1496         * include/c_std/cassert: Here.
1497         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1498         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1499         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1500         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1501         std_cwctype.h: Same.
1502         * include/c_std/cmath: Adjust cmath.tcc include.
1503         * include/c_std/cstdlib: Adjust includes.
1504         * include/c_std/cwchar: Same.
1505         * include/c_std/ctime: Same.
1506         * include/c_std/cstring: Same.
1507         * include/c_std/cstdio: Same.
1508         * include/c_std/bits: Remove directory.
1509         
1510         * include/c/bits/std_cassert.h: Move to...
1511         * include/c/cassert: Here.
1512         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1513         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1514         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1515         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1516         std_cwctype.h: Same.
1517         * include/c/bits: Remove directory.
1518         
1519         * include/std/cwctype: Remove.
1520         * include/std/cwchar: Remove.
1521         * include/std/ctime: Remove.
1522         * include/std/cstring: Remove.
1523         * include/std/cstdlib: Remove.
1524         * include/std/cstdio: Remove.
1525         * include/std/cstddef: Remove.
1526         * include/std/cstdarg: Remove.
1527         * include/std/csignal: Remove.
1528         * include/std/csetjmp: Remove.
1529         * include/std/cmath: Remove.
1530         * include/std/clocale: Remove.
1531         * include/std/climits: Remove.
1532         * include/std/ciso646: Remove.
1533         * include/std/cfloat: Remove.
1534         * include/std/cerrno: Remove.
1535         * include/std/cctype: Remove.
1536         * include/std/cassert: Remove.
1538         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1539         files and subsituting <xxx>.
1540         * include/bits/valarray_array.h: Same.
1541         * include/bits/stl_uninitialized.h: Same.
1542         * include/bits/stl_alloc.h: Same.
1543         * include/bits/stl_algobase.h: Same.
1544         * include/bits/sstream.tcc: Same.
1545         * include/bits/pthread_allocimpl.h: Same.
1546         * include/bits/ostream.tcc: Same.
1547         * include/bits/localefwd.h: Same.
1548         * include/bits/locale_facets.tcc: Same.
1549         * include/bits/locale_facets.h: Same.
1550         * include/bits/istream.tcc: Same.
1551         * include/bits/char_traits.h: Same.
1552         * include/bits/boost_concept_check.h: Same.
1553         * include/bits/basic_file.h: Same.
1554         * include/std/bitset: Same.
1555         * include/std/complex: Same.
1556         * include/std/fstream: Same.
1557         * include/std/functional: Same.
1558         * include/std/ios: Same.
1559         * include/std/iostream: Same.
1560         * include/std/ostream: Same.
1561         * include/std/sstream: Same.
1562         * include/std/streambuf: Same.
1563         * include/std/string: Same.
1564         * include/std/iterator: Same.
1565         * include/std/valarray: Same.
1567         * src/ios.cc: Adjust includes.
1568         * src/valarray-inst.cc: Same.
1569         * src/string-inst.cc: Same.
1570         * src/stl-inst.cc: Same.
1571         * src/stdexcept.cc: Same.
1572         * src/misc-inst.cc: Same.
1573         * src/localename.cc: Same.
1574         * src/locale-inst.cc: Same.
1575         * src/locale.cc: Same.
1576         * src/limits.cc: Same.
1577         * src/concept-inst.cc: Same.
1578         * src/complex_io.cc: Same.
1579         * src/codecvt.cc: Same.
1580         * src/bitset.cc: Same.
1581         * src/cmath.cc: Same.
1583 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
1585         * include/bits/stl_tree.h (rb_tree):  Move to...
1586         * include/ext/rb_tree:  ...here, new file.
1587         * include/Makefile.am (ext_headers):  Add new file.
1588         * include/Makefile.in:  Regenerate.
1589         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1590         return_temporary_buffer, struct temporary_buffer):  Move to...
1591         * include/ext/memory:  ...here.
1592         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
1593         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
1594         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
1596 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
1598         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
1599         * include/ext/numeric:  ...here, new file.
1600         * include/bits/stl_function.h (identity_element, unary_compose,
1601         binary_compose, compose1, compose2, identity, select1st,
1602         select2nd, project1st + helper, project2nd + helper,
1603         constant_void_fun + helper, constant_unary_fun + helper,
1604         costant_binary_fun + helper, constant0, constant1, constant2,
1605         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
1606         * include/ext/functional:  ...here, new file.
1607         * include/Makefile.am (ext_headers):  Add new files.
1608         * include/Makefile.in:  Regenerate.
1609         * testsuite/ext/headers.cc:  Include <ext/numeric> and
1610         <ext/functional>.
1611         * include/backward/algo.h:  Include <ext/numeric>, tweak.
1612         * include/backward/function.h:  Include <ext/functional>, tweak.
1613         * include/ext/ropeimpl.h:  Include <ext/numeric>.
1615 2002-01-03  Jeffrey A Law  <law@redhat.com>
1617         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1618         __strtoull declarations with __extension__.
1620 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
1622         * testsuite/lib/prune.exp: Correct regular expression for
1623         -ffunction-sections
1625 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
1627         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1628         Change concept checks, as with lower_bound and PR 2054.
1629         * testsuite/ext/concept_checks.cc:  Expand test to include those.
1631 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
1633         * include/bits/boost_concept_check.h:  Import some changes from
1634         upsteam (Boost) version.
1636 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
1638         * include/bits/stl_algobase.h (copy_n + helpers,
1639         lexicographical_compare_3way + helpers):  Move to...
1640         * include/ext/algorithm:  ...here.
1641         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1642         helpers):  Move to...
1643         * include/ext/memory:  ...here, new file.
1644         * include/Makefile.am (ext_headers):  Add new file.
1645         * include/Makefile.in:  Regenerate.
1646         * testsuite/ext/headers.cc:  Include <ext/memory>.
1647         * include/backward/algobase.h:  Include <ext/memory> and
1648         <ext/algorithm>, tweak.
1649         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
1650         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
1652 2002-01-01  Roger Sayle <roger@eyesopen.com>
1654         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1655         equivalent ___builtin__ versions.
1657         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1658         are available in libstdc++ as the necessary stub implementations
1659         are provided by libmath/stubs.c.
1661 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
1663         * configure.in: Add support for NetBSD cross compiles.
1664         * configure: Regenerate.