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