* config/cpu/arm/cpu_limits.h: New file.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob0ad73a42c7ce06c26fb422563f0741d11f9d4a08
1 2002-08-29  Richard Earnshaw  <rearnshaw@arm.com>
3         * config/cpu/arm/cpu_limits.h: New file.
4         * configure.target: Use config/cpu/arm for XScale and StrongARM
5         configurations.
7 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
9         * include/std/std_limits.h (__glibcpp_char_bits,
10         __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
11         __glibcpp_long_long_bits, __glibcpp_float_bits,
12         __glibcpp_double_bits, __glibcpp_long_double_bits): Remove.  Use
13         compiler predifined macros.
14         (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
15         __WCHAR_UNSIGNED__. 
17 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
19         * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
20         __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
21         __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
22         __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
23         __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
24         __glibcpp_f64_infinity_bytes,
25         __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
26         __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
27         __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
28         __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
29         __glibcpp_f80_infinity_bytes,
30         __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
31         __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
32         __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
33         __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
34         __glibcpp_f96_infinity_bytes,
35         __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
36         __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
37         __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
38         __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
39         __glibcpp_f128_infinity_bytes,
40         __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
41         __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
42         __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
43         __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
44         __glibcpp_float_infinity_bytes,
45         __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
46         __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
47         __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
48         __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
49         __glibcpp_double_infinity_bytes,
50         __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
51         __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
52         __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
53         __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
54         __glibcpp_long_double_infinity_bytes,
55         __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
56         __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
57         __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
58         __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
59         New macros.
60         (__glibcpp_word_bits, __glibcpp_word): Likewise.
61         (__glibcpp_byte): New typedef.
62         (__float_storage, __double_storage, __long_double_storage): New types.
63         (__glibcpp_float_infinity, __glibcpp_float_QNaN,
64         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
65         objects. Declare.
66         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
67         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
68         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
69         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
70         Likewise.
71         
72         * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
73         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
74         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
75         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
76         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
77         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
78         Likewise.
79         
80 2002-08-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
82         * include/std/std_limits.h: Indent conditional macro definitions.
84 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
86         * Makefile.am (check-abi):  Specify current directory.
87         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
88         abi_baseline_triplet in baseline_file.
89         * Makefile.in, aclocal.m4, configure:  Regenerate.
90         * configure.target:  Add abi_baseline_triplet with default.
91         * testsuite/abi_check.cc:  More error checking.
93 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
95         * config/linker-map.gnu:  Verbose comments, clean up spacing.
96         * include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
97         statements.
98         __allocator:  Change class declaration to struct.
99         * docs/html/17_intro/C++STYLE:  Fix typo.
100         * include/bits/stl_deque.h, include/bits/stl_list.h,
101         include/bits/stl_map.h, include/bits/stl_multimap.h,
102         include/bits/stl_vector.h:  Fix fallout from typo.
104 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
106         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
107         GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
108         variables.
109         * aclocal.m4: Regenerate.
110         * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
111         native compiling.
112         * testsuite/Makefile.in: Regenerate.
113         
114 2002-08-22  Loren J. Rittle <ljrittle@acm.org>
116         * testsuite/abi_check.cc: Enhance shell portability.
117         Support older binutils/readelf.
118         * config/abi/i386-unknown-freebsd4.6: Add.
119         * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
121 2002-08-22  Paolo Carlini  <pcarlini@unitus.it>
123         * docs/html/faq/index.html: Add Loren James Rittle and
124         Paolo Carlini to the list of v3 maintainers.
125         * docs/html/faq/index.txt: Ditto.
126         * docs/html/17_intro/RELEASE-NOTES: Ditto.
128 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
129             Phil Edwards  <pme@gcc.gnu.org>
130             Ulrich Drepper  <drepper@redhat.com>
131         
132         * Makefile.am (check-abi): New rule.
133         * Makefile.in: Regenerate.
134         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
135         * aclocal.m4: Regenerate.
136         * configure: Regenerate.
137         * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
138         (abi_check_SOURCES): Add.
139         * testsuite/Makefile.in: Regenerate.    
140         * testsuite/abi_check.cc: New file.
141         * config/abi: Add.
142         * config/abi/i686-pc-linux-gnu: Add.
143         * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
144         
145 2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
147         * configure.in (libtool_VERSION): Update to 5:1:0.
148         * configure: Regenerate.
149         
150 2002-08-19  Jonathan Wakely  <jw@kayari.org>
152         * docs/html/configopts.html, docs/html/documentation.html,
153         docs/html/install.html, docs/html/22_locale/codecvt.html,
154         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
155         docs/html/22_locale/locale.html,
156         docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
158 2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
160         * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
161         _M_buf_size_opt to zero when unbuffering.
162         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
163         Consistency checks for _M_buf_size_opt.
165         Revert PR libstdc++/7445
166         * src/locale.cc (locale::classic): Revert.
167         
168         * docs/html/17_intro/TODO: Add.
169         
170 2002-08-15  Phil Edwards  <pme@gcc.gnu.org>
172         * docs/html/documentation.html:  Update doxygen links for 3.2.
174 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
176         * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
177         type from void* to _Unwind_Ptr.
178         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
179         Do not cast landing_pad or base_of_encoded_value to (void *).
180         * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
181         Accept _URC_NO_REASON as a valid reason code.
183 2002-08-14  Jonathan Wakely  <jw@kayari.org>
185         * docs/html/22_locale/messages.html:  Use HTML entities for
186         punctuation.
188 2002-08-13  Jonathan Wakely  <jw@kayari.org>
189             Phil Edwards  <pme@gcc.gnu.org>
191         * docs/html/documentation.html:  Use HTML entities for punctuation.
193 2002-08-09  Phil Edwards  <pme@gcc.gnu.org>
195         * include/bits/deque.tcc, include/bits/list.tcc,
196         include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
197         include/bits/stl_list.h, include/bits/stl_map.h,
198         include/bits/stl_multimap.h, include/bits/stl_queue.h,
199         include/bits/stl_stack.h, include/bits/stl_vector.h,
200         include/bits/vector.tcc:  Re-indent contents of namespace std,
201         re-wrap comment lines as necessary.
203 2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
204             Benjamin Kosnik  <bkoz@redhat.com>
205         
206         * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
207         not snextc.
208         * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
209         
210 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
212         * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
213         * libsupc++/Makefile.in: Regenerate.
215 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
217         PR/7491
218         * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
219         Instantiate with new function objects. 
220         * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
221         Reformat.  Uglify.
222         * include/bits/gslice_array.h: Likewise.
223         * include/bits/indirect_array.h: Likewise.
225 2002-08-03  Gabriel Dos Reis  <gdr@nerim.net>
227         * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
228         testsuite/26_numerics/valarray_name_lookup.C
230         * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
231         object function surrogates.
232         * include/bits/valarray_meta.h (__shift_left): Fix typo.
233         (_BinFunClos<>): Remove.
234         (_BinFunBase<>): Likewise.
235         (_BinFunBase1<>):Likewise.
236         (_BinFunBase2<>): Likewise.
237         (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
238         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
239         (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
240         (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
241         * include/std/std_valarray.h: Dont #include <functional> anymore.
242         (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
243         _Shift_right<>): Remove.
244         (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
245         (_DEFINE_BINARY_OPERATOR): Tweak definition.
246         (_DEFINE_LOGICAL_OPERATOR): Remove.
247         * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
249 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
251         * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
252         (_UnFunClos<>): Same.
253         (_UnBase<>): Reformat.  Make first template-parameter non
254         template. 
255         (_UnClos<>): Likewise.
256         (_Expr<>): Reformate.  Adjust unary member operator return types. 
257         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
258         (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
259         * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
260         (valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
261         operator return types.  Reformat.
262         (_Bitwise_not): Remove.
263         (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
264         * testsuite/26_numerics/valarray_name_lookup.C: New test.
266 2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>
268         * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
269         (scan_is): Use this->is.
270         (scan_not): Likewise.
272 2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>
274         Revert PR libstdc++/6594
275         * src/strstream.cc (strstreambuf): Revert.
276         (strstreambuf::overflow): Same.
277         (strstreambuf::~strstreambuf): Same.    
278         * testsuite/backward/strstream_members.cc (test02): Add.
279         
280         * docs/html/abi.txt: Update. Spell check.
282         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
284         * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
285         * testsuite/Makefile.in: Regenerate.
286         * testsuite/testsuite_hooks.h: Use __throw_exception_again,
287         include functexcept.h so that -fno-exceptions will build.
288         
289 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
291         * include/bits/valarray_meta.h (__unary_plus, __negate,
292         __bitwise_not, __plus, __minus, __multiplies, __divides,
293         __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
294         __shift_left, __shift_right, __logical_and, __logical_or,
295         __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
296         __greater_equal, __greater, __atan2, __pow): New function object
297         classes. 
298         (__fun<>):  New function traits class.
300 2002-08-01  Rick Danos  <rdanos@hotmail.com>
302         PR libstdc++/7461
303         * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
304         * config/os/newlib/ctype_inline.h (is): Use static_cast.
306 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
308         * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
309         * libsupc++/Makefile.in: Regenerate.
310         
311 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
312             Jakub Jelinek  <jakub@redhat.com>
313         
314         * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
315         GLIBCPP_3.1 to GLIBCPP_3.2.
317 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
318             Mark Mitchell  <mark@codesourcery.com>
320         PR libstdc++/7442
321         * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
322         Change to __hwm_bit.
323         (__class_type_info): And here.
325 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
327         PR libstdc++/7442
328         * libsupc++/cxxabi.h 
329         (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
330         (__base_class_info::__base): Change to __base_type. 2.9.5p6c
331         (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
332         (__vmi_class_type_info::__base_info): Don't make const, of type
333         __base_class_type_info, as per 2.9.5p6c
334         (__pbase_type_info::__qualifier_flags): Change to __flags, as per
335         2.9.5p7.
336         (__pbase_type_info::__qualifier_masks): Change to __masks, as per
337         2.9.5p7.
338         (__pointer_to_member_type_info::__context_class): Change member to
339         __context, as per 2.9.5p9.
340         * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
341         __context.
342         * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
343         __flags.
344         * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
345         __base_type.
346         * libsupc++/tinfo.cc (__do_dyncast): Same.
347         * libsupc++/tinfo.cc (__do_upcast): Same.
349 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
351         * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
353 2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
355         * docs/html/22_locale/howto.html: Fix.
357 2002-07-31  Alex Kompel  <shurik@sequoiap.com>
359         PR libstdc++/7445
360         * src/locale.cc (locale::classic): Move locks inside !_S_classic
361         block.
363 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
365         * docs/html/abi.txt: Update.
367 2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
368             Gabriel Dos Reis  <gdr@nerim.net>
370         * include/bits/char_traits.h: Remove generic definitions.
371         * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
372         eof, not -2.
373         * include/bits/istream.tcc (istream::readsome): Don't check
374         against eof, instead use constants.
375         (istream::sync): Same.
376         (istream::sentry::sentry): Use eq_int_type.
377         (istream::get): Same.
378         * include/bits/ostream.tcc: Change __pad to 
379         __pad<_CharT, _Traits>::_S_pad. 
380         * include/bits/locale_facets.h: Add __pad_traits generic and
381         ostreambuf_iterator specialization.
382         * include/bits/locale_facets.tcc: Change __pad into struct __pad
383         with a _CharT and _Traits template parameter and _S_pad static
384         member function.
385         * src/locale-inst.cc: Update __pad instantiations.
386         
387         * include/std/std_fstream.h: Declare _M_underflow_common
388         specializations.
389         * src/fstream.cc: New. Add _M_underflow_common specializations.
390         * include/bits/fstream.tcc (filebuf::close): Use traits_type.
391         (filebuf::_M_underflow_common(bool)): Remove generic version, as
392         sys_ungetc and custom int_types don't get along.
393         * include/std/std_streambuf.h: Add _M_pos.
394         * src/Makefile.am (sources): Add fstream.cc.
395         * src/Makefile.in: Regenerate.
397         * testsuite/21_strings/capacity.cc: Add char_traits specializations.
398         * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
399         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
400         * testsuite/22_locale/ctor_copy_dtor.cc: Same.
401         * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
402         * testsuite/27_io/filebuf.cc: ...here.
403         * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
404         specialization for both.
405         * testsuite/27_io/streambuf.cc: Add instantiation test,
406         testsuite_hooks include.
407         * testsuite/27_io/istream.cc: Same.
408         * testsuite/27_io/ostream.cc: Same.     
409         * testsuite/27_io/fstream.cc: Same.
410         * testsuite/27_io/stringstream.cc: Same.
411         * testsuite/27_io/filebuf.cc: Same.
412         * testsuite/27_io/stringbuf.cc: Same.
413         
414 2002-07-29  Alan Modra  <amodra@bigpond.net.au>
416         * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
417         * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
418         * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
419         (__test_and_set): Remove.
420         (_STWCX): Define and use.
422 2002-07-26  Phil Edwards  <pme@gcc.gnu.org>
424         * libsupc++/new (placement delete):  Remove unused parameter names.
426 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
428         PR libstdc++/7216
429         * include/std/std_istream.h (basic_iostream): Add typedefs for
430         char_type, int_type, pos_type, off_type, and traits_type.
431         * testsuite/27_io/iostream.cc (test01): Add typedef tests.
432         * testsuite/27_io/istream.cc: Same.
433         * testsuite/27_io/ostream.cc: Same.
434         * testsuite/27_io/filebuf.cc: Same.
435         * testsuite/27_io/stringbuf.cc: Replace content, move to...
436         * testsuite/27_io/stringbuf_members.cc: ...here.        
437         * testsuite/27_io/streambuf.cc: Replace content, move to...
438         * testsuite/27_io/streambuf_members.cc: ...here.        
439         * testsuite/27_io/stringstream.cc: Replace content, move to...
440         * testsuite/27_io/stringstream_members.cc: ...here.
441         * testsuite/27_io/ios.cc: New file.
442         * testsuite/27_io/fstream.cc: New file.
443         * testsuite/27_io/ifstream.cc: New file.        
444         * testsuite/27_io/ofstream.cc: New file.                
445         * testsuite/27_io/istringstream.cc: New file.   
446         * testsuite/27_io/ostringstream.cc: New file.   
447         
448 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
450         PR libstdc++/7220
451         * include/bits/istream.tcc (istream::ignore): Don't extract on
452         zero.
453         * testsuite/27_io/istream_unformatted.cc (test10): Add.
454         
455 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
457         * testsuite/27_io/ios_base_type.cc: Move to...
458         * testsuite/27_io/ios_base_types.cc: ...here.
459         
460 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
462         PR libstdc++/7222
463         * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
464         * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
465         
466 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
468         PR libstdc++/7230
469         * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
470         * include/Makefile.am (backward_headers): Use strstream, not
471         strstream.h.
472         * include/Makefile.in: Regenerate.
473         * include/backward/strstream: Revert.
474         * include/backward/strstream.h: Remove.
475         * src/strstream.cc: Revert.
476         * testsuite/backward/strstream_members.cc: Change include.      
478 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
480         PR libstdc++/7219
481         * include/bits/ios_base.h (ios_base::streampos): Add.
482         (ios_base::streamoff): Add.
483         * testsuite/27_io/ios_base_type.cc: New.
484         
485 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
487         PR libstdc++/7286
488         * libsupc++/new: Add placement delete.
489         * testsuite/18_support/new_delete_placement.cc: New.
491         * docs/html/abi.txt: Fix typos.
492         
493 2002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
495         * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
496         confusing usage of "latest."
497         De-tangle contributor information from introductory notes.
498         Move abi.txt link placement, activate.
499         Re-organize.
500         Move chapter info into old FAQ format. 
501         * docs/html/organization.html: Removed, obsoleted by doxygen work.
502         * docs/html/abi.txt: Add notes on testing ABI changes.
503         
504 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
506         * docs/html/abi.txt:  New file.
507         * docs/html/23_containers/howto.html:  Tweak vector-overhead text.
508         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
509         Import from upstream, R22.
511         * include/bits/char_traits.h, include/bits/stl_iterator.h,
512         include/bits/stl_iterator_base_types.h, libsupc++/exception,
513         libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
515         * include/bits/deque.tcc, include/bits/stl_alloc.h,
516         include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
517         of deprecated functions until 3.4.  (Same timeframe, different text.)
518         * include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
519         the other sequence classes received.
521 2002-07-18  Brendan Kehoe  <brendan@zen.org>
523         * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
524         _Nname to _Name.
525         
526 2002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
528         DR/123
529         * include/bits/slice_array.h 
530         (slice_array<T>::operator=(const T&)): Constify.
531         * include/bits/gslice_array.h 
532         (gslice_array<T>::operator=(const T&)):  Likewise.
533         * include/bits/mask_array.h 
534         (mask_array<T>::operator=(const T&)): Likewise.
535         * include/bits/indirect_array.h
536         (indirect_array<T>::operator=(const T&): Likewise.
538 2002-07-17  Phil Edwards  <pme@gcc.gnu.org>
540         * docs/doxygen/run_doxygen:  Remove template parameter names from
541         "Compound List" summary page.  Reformat.
542         * docs/html/documentation.html:  XHTML fixes.
544 2002-07-16  Andreas Schwab  <schwab@suse.de>
546         * libsupc++/new (set_new_handler): Declare to not throw any
547         exceptions.
548         * libsupc++/new_handler.cc (set_new_handler): Likewise.
550 2002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
552         * include/Makefile.am (bits_headers): Remove slice.h
553         * include/Makefile.in: Regenerate.
554         * include/bits/slice.h (slice): move to include/bits/slice_array.h
555         * include/bits/slice.h Remove.
556         * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
557         * include/bits/slice_array.h: Comply to official coding styles.
558         * testsuite/26_numerics/slice.cc: New test.
560 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
562         * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
563         print to match vendor <ctype.h>.
565 2002-07-15  Phil Edwards  <pme@gcc.gnu.org>
567         * docs/html/faq/index.html:  Fix download links.
568         * docs/html/faq/index.txt:  Regenerate.
569         * docs/html/17_intro/porting.html:  Regenerate from earlier changes.
571 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
573         * configure.target (target_os switch): Allow for irix6*o32
574         configurations.
576 2002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
578         * include/bits/valarray_meta.h (_UnFunBase): Take a second
579         template parameter. Remove _M_func data member.
580         (_UnFunClos): Take a third template parameter.
581         (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
582         __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
583         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
585 2002-07-08  Eric Christopher  <echristo@redhat.com>
587         * configure.target: Fix comment for mips atomicity. Add
588         mips*-*-linux* target, enable atomic operations there.
589         * config/cpu/mips/atomicity.h: Fix comments, remove
590         #ifndef/#endif. Add push/pop mips2.
592 2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
594         * include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
595         member declarations to avoid compiler warnings and restore 3.1 ABI.
597 2002-07-08  Phil Edwards  <pme@gcc.gnu.org>
599         * docs/html/23_containers/howto.html:  Link to dk_std::vector paper
600         and homepage.
602 2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
604         PR libstdc++/7186
605         * include/bits/stl_deque.h (_Deque_iterator::operator-):
606         Make non-member, as already happens for the comparison
607         operators in accord with DR179 (Ready).
608         * testsuite/23_containers/deque_operators.cc: Add test02.
610 2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
611             Jack Reeves  <jackw_reeves@hotmail.com>
613         * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
614         size_t, from int_type.
615         (basic_streambuf::_M_buf_size_opt): Same.
616         (basic_streambuf::_S_pback_sizex): Same.
617         * include/bits/streambuf.tcc: Same.
618         * include/std/std_streambuf.h (basic_streambuf::snextc): Use
619         eq_int_type.
620         (basic_streambuf::uflow): Same.
621         * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
622         to_char_type.
623         * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
624         * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
625         eq_int_type.
626         (basic_streambuf::xsputn): Same.
627         (__copy_streambufs): Same.
629 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
631         * include/std/std_memory.h: Fix formatting.
632         * testsuite/20_util/auto_ptr_neg.cc: New.
633         * testsuite/20_util/auto_ptr.cc: Tweaks.
634         * testsuite/23_containers/map_operators.cc (test01): Split into..
635         * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
636         * testsuite/23_containers/set_operators.cc: Move to...
637         * testsuite/23_containers/set_operators_neg.cc: ...here.
638         * testsuite/README: Add some more naming rules.
640 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
642         PR libstdc++/7057
643         * include/ext/stl_hashtable.h: Fix.
644         * testsuite/ext/hash_map.cc: New.
646 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
647             Kenny Simpson  <theonetruekenny@yahoo.com>
648             Phil Edwards  <pme@gcc.gnu.org>
650         PR libstdc++/3946
651         * testsuite/20_util/auto_ptr.cc (test08):  New test.
652         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
653         (auto_ptr::operator auto_ptr_ref):  Fix typo.
654         General reformatting and doxygenating of the whole file.
656 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
658         PR libstdc++/7097
659         * include/c/std_cwchar.h: Fix.
661 2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
663         PR libstdc++/6410
664         * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
665         char* name parameter.
666         * config/locale/gnu/monetary_members.cc: Use it.
667         * config/locale/generic/monetary_members.cc: Same.
668         * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
670         * include/backward/strstream.h: Update date.
672 2002-07-02  Paolo Carlini  <pcarlini@unitus.it>
674         PR libstdc++/6642
675         * include/bits/stl_iterator.h
676         (__normal_iterator::operator-(const __normal_iterator&)):
677         Make non-member, as already happens for the comparison
678         operators in accord with DR179 (Ready).
679         * testsuite/24_iterators/iterator.cc: Add test from the PR.
681 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
683         PR libstdc++/7173
684         * acinclude.m4:  Simplify determination of gcc_version, and move
685         up to GLIBCPP_CONFIGURE.
686         * configure.in (release_VERSION):  Really remove.
687         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
688         * aclocal.m4, configure:  Regenerate.
690 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
692         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
693         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
694         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
695         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
697 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
699         * include/backward/strstream: Remove namespace std. Transfer to...
700         * include/backward/strstream.h: ...here. Qualify std names.
701         * src/strstream.cc: Remove namespace std.
702         * include/Makefile.am (backward_headers): Remove strstream.h.
703         * include/Makefile.in: Regenerate.
704         * config/linker-map.gnu: Export strstream bits.
706         * src/fstream-inst.cc: Tweak.
707         * src/io-inst.cc: Same.
708         * src/istream-inst.cc: Same.
709         * src/misc-inst.cc: Same.
710         * src/ostream-inst.cc: Same.
711         * src/sstream-inst.cc: Same.
712         * src/valarray-inst.cc: Same.
713         * src/misc-inst.cc: Remove unused instantiations.
715 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
717         * configure.in (libtool_VERSION): Bump to 5:0:0.
718         * configure: Regenerate.
720 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
722         PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
723         * include/std/std_queue.h:  Include deque.tcc, vector.tcc.
724         * include/std/std_stack.h:  Include deque.tcc.
725         * testsuite/23_containers/adaptors.cc:  New file.
727 2002-06-27  Phil Edwards  <pme@gcc.gnu.org>
729         * include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
730         * docs/html/ext/howto.html:  Update allocator notes.
732 2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
734         * configure.in (INTERFACE): Remove.
735         (release_VERSION): Remove.
736         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
737         (libstdcxx_interface): Change. Use gcc methods to determine version.
738         * configure: Regenerate.
739         * aclocal.m4: Regenerate.
741 2002-06-25  DJ Delorie  <dj@redhat.com>
743         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
744         GLIBCPP_TOPREL_CONFIGURE.
745         * aclocal.m4: Likewise.
746         * configure.in: Call it before AC_CANONICAL_SYSTEM.
747         * configure: Regenerate.
749 2002-06-25  Jessica Han  <jessica@cup.hp.com>
751         * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
752         * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
753         _GLIBCPP_VTABLE_PADDING is defined.
755 2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
757         * include/bits/stl_alloc.h: Additional formatting.
759 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
761         * include/bits/stl_alloc.h:  Reformat as per C++STYLE.
763 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
765         * config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
766         * config/os/*/bits/*:  Likewise.
767         * configure.in:  Update.
768         * configure:  Regenerate.
769         * configure.target:  Update.
770         * docs/html/17_intro/porting.texi:  Update.
772 2002-06-21  Phil Edwards  <pme@gcc.gnu.org>
774         * include/bits/stl_map.h, include/bits/stl_multimap.h,
775         include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
776         complete doxygenation.
777         * include/bits/boost_concept_check.h:  Minor comment.
779 2002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
781         * include/c_compatibility: New.
782         * include/c_compatibility/assert.h: New.
783         * include/c_compatibility/ctype.h: New.
784         * include/c_compatibility/errno.h: New.
785         * include/c_compatibility/float.h: New.
786         * include/c_compatibility/iso646.h: New.
787         * include/c_compatibility/limits.h: New.
788         * include/c_compatibility/locale.h: New.
789         * include/c_compatibility/math.h: New.
790         * include/c_compatibility/setjmp.h: New.
791         * include/c_compatibility/signal.h: New.
792         * include/c_compatibility/stdarg.h: New.
793         * include/c_compatibility/stddef.h: New.
794         * include/c_compatibility/stdio.h: New.
795         * include/c_compatibility/stdlib.h: New.
796         * include/c_compatibility/string.h: New.
797         * include/c_compatibility/time.h: New.
798         * include/c_compatibility/wchar.h: New.
799         * include/c_compatibility/wctype.h: New.
801         * include/c/std_cerrno.h: Get out of the way... define errno.
802         * include/c/std_cmath.h: Add abs, modf overloads.
803         Undefine C99 isms. Still not sure how to deal with this sanely.
804         * include/c/std_csetjmp.h: Tweak.
805         * include/c/std_cwchar.h: Include cstddef for size_t.
807         * include/c_std/std_cmath.h: Remove extra function.
809         Pendantic std usage in testsuites.
810         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
811         with std.
812         * testsuite/17_intro/header_cwchar.cc: Tweak.
813         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
814         std::setlocale.
815         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
816         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
817         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
818         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
819         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
820         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
821         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
822         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
823         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
824         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
825         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
826         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
827         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
828         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
829         * testsuite/22_locale/num_get_members_char.cc: Same.
830         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
831         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
832         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
833         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
834         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
835         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
836         * testsuite/22_locale/messages_members_char.cc (test03): Same.
837         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
838         * testsuite/22_locale/collate_members_char.cc (test04): Same.
839         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
840         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
841         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
843 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
845         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
846         c_sources.
848 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
850         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
851         Use size_type instead of unsigned long.
853 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
855         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
856         wchar types.
857         (_S_min_len): Ditto.
859 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
861         * include/Makefile.am: Add rules.
862         * include/Makefile.in: Regenerate.
864         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
865         * aclocal.m4: Regenerate.
866         * configure: Regenerate.
867         * configure.target (c_model, c_compatibility): Add.
869         * libsupc++/Makefile.am (c_sources): New.
870         (libsupc___la_SOURCES): Add c_sources.
871         (LTCOMPILE): Remove INCLUDES.
872         (GCC_INCLUDES): New.
873         (C_COMPILE): New, like COMPILE but without INCLUDES.
874         (cxa_demangle.o): Use C_COMPILE.
875         (dyn-string.o): Use C_COMPILE.
877         * include/c/std_cstdarg.h: Define __need___va_list.
878         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
879         need_NULL, need_offsetof.
881 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
883         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
884         definitions in hpux11 cross-build because these functions do
885         not exist on hpux11 (but some exist on hpux10); move defaults out
886         into existing sections.
887         * configure:  Regenerate.
889 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
891         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
892         * include/c/std_cwctype.h: Guard.
894         * libsupc++/eh_alloc.cc: Tweak include order.
895         * libsupc++/pure.cc: Use cstdio.
896         * libsupc++/new_op.cc: Remove malloc forward declaration, as
897         cstdlib brings it in. Use std::malloc.
899         * src/Makefile.am (sources): Remove cmath.cc.
900         * src/Makefile.in: Regenerate.
901         * src/cmath.cc: Remove.
903 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
905         * configure.target:  Force mips to use the generic cpu routines.
907 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
909         * configure.host:  Delete file.
910         * configure.target:  More documentation.  Factor out common parts of
911         script into "intelligent" settings about defaults.  Remove redundancy.
913         * acinclude.m4:  Update comments.  Do not call configure.host.
914         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
915         libgcc_s.
916         * configure.in:  Slight reformatting, more comments.  Factor out
917         "config/" from all the directories.
918         * docs/html/17_intro/porting.texi:  Update and expand.
919         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
920         from configure.host.
922         * aclocal.m4, configure, docs/html/17_intro/porting.html,
923         testsuite/Makefile.in:  Regenerate.
925 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
927         * docs/doxygen/TODO:  Update.
928         * docs/doxygen/tables.html:  Uncomment magical middle column.
929         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
930         * include/bits/stl_queue.h:  Doxygenate and reformat.
931         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
932         for deprecated names required by the standard.
934 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
936         * configure.in (target_alias): Fix.
937         * configure: Regenerate.
938         * aclocal.m4: Regenerate.
940 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
942         * include/Makefile.am:  Add new files.
943         * include/Makefile.in:  Regenerate.
945         * include/bits/stl_deque.h, include/bits/stl_list.h,
946         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
947         * include/bits/deque.tcc, include/bits/list.tcc,
948         include/bits/vector.tcc:  ...to here.  New files.
950         * include/ext/stl_hashtable.h:  Inclide correct full headers.
951         * include/std/std_deque.h:  Include .tcc files for now.
952         * include/std/std_list.h:  Likewise.
953         * include/std/std_vector.h:  Likewise.
955 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
957         * Makefile.am: Add FLAGS_TO_PASS.
958         * Makefile.in: Regenerated.
960 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
961             Benjamin Kosnik  <bkoz@redhat.com>
963         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
964         under *-qnx6.[12]*.
965         * configure.in: Add support for *-qnx6.[12]*.
966         * configure: Regenerate.
968         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
969         New directories.
970         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
971         ctype_noninline.h, os_defines.h: New files.
973 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
975         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
976         include all required headers for test against older POSIX standard.
977         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
978         (ac_setrlimit): Likewise.
979         * aclocal.m4: Regenerate.
980         * configure: Regenerate.
981         * testsuite/testsuite_hooks.cc: Reorder and include all
982         required headers for use against older POSIX standard.
984 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
986         * testsuite/backwards/strstream_members.cc: New.
988 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
990         * include/backwards/strstream: Format.
991         * src/strstream.cc: Format.
993 2002-06-08  Andreas Schwab  <schwab@suse.de>
995         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
996         _M_buf_size and _M_buf_size_opt to the new buffer and size.
998 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1000         * config/os/generic/bits/ctype_noninline.h: Tweak format.
1002 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
1004         * src/locale-inst.cc (__codecvt_abstract_base):
1005         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1006         * include/bits/istream.tcc (basic_istream): Ditto.
1007         (ws) Ditto.
1008         (operator>>) Ditto.
1009         * include/bits/ostream.tcc (basic_ostream): Ditto.
1010         (endl): Ditto.
1011         (ends): Ditto.
1012         (flush): Ditto.
1013         (operator<<): Ditto.
1015 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
1017         * mkcheck.in:  Link against local testsuite library.
1018         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
1019         implementation out...
1020         * testsuite/testsuite_hooks.cc:  ...to here.
1022 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
1024         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1025         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1026         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1027         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1028         * testsuite/Makefile.in: Likewise.
1030 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
1032         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1033         Call external symbol.
1035 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1037         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1038         Search correct multilib testsuite dir for libv3test.
1040 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1041             Gaby Dos Reis  <gdr@codesourcery.com>
1043         * include/bits/basic_string.tcc
1044         (basic_string::_S_construct(forward_iterator_tag):
1045         Fix typo in null pointer check.
1046         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1048 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1050         * testsuite/22_locale/money_get_members_char.cc
1051         (test02): Add decimal point to long double constants.
1052         * testsuite/22_locale/money_get_members_wchar_t.cc
1053         (test02): Likewise.
1054         * testsuite/22_locale/money_put_members_char.cc
1055         (test02, test03, test06): Likewise.
1056         * testsuite/22_locale/money_put_members_wchar_t.cc:
1057         (test02, test03, test06): Likewise.
1058         * testsuite/22_locale/num_get_members_char.cc:
1059         (test02, test01): Likewise; suffix long long constants with LL.
1060         * testsuite/22_locale/num_get_members_wchar_t.cc:
1061         (test02, test01): Likewise.
1062         * testsuite/22_locale/num_put_members_char.cc:
1063         (test02, test01): Likewise.
1064         * testsuite/22_locale/num_put_members_wchar_t.cc:
1065         (test02, test01): Likewise.
1067 2002-06-03  Marc Espie  <espie@openbsd.org>
1069         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1070         assembly for old assemblers.
1072 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1074         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1075         Move/rename...
1076         (vector<bool>::swap(reference,reference)): ...to this.
1078 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1080         * docs/doxygen/TODO:  Update.
1081         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
1082         some class members are in 14882 order.
1083         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
1085         * include/std/std_bitset.h:  Update comment.
1086         * src/bitset.cc:  Update comments, clean up spacing.
1088         * src/Makefile.am (sources):  Alphabetize for convenience.
1089         * src/Makefile.in:  Regenerate.
1091 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1093         * include/bits/stl_deque.h, include/bits/stl_list.h,
1094         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
1095         Reorder to match 14882.  Doxygen blocks for all public members.
1097 2002-05-31  Marcus Meissner  <meissner@suse.de>
1099         PR libstdc++/6886
1100         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
1101         * testsuite/23_containers/vector_bool.cc (test02):  New test.
1103 2002-05-30  Marc Espie  <espie@openbsd.org>
1105         * configure.in: Always check for sys/types.h
1106         * configure: Regenerate.
1108 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1110         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1111         Rebuild the wrapper file every time this proc is called.
1113 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
1115         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
1116         CXX/INCLUDES.
1117         * testsuite/Makefile.in:  Regenerate.
1118         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
1119         list_modifiers.cc and rename from 'T'.  Move code bodies...
1120         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
1121         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
1122         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1123         Add libv3test.a to link options.
1125 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1127         * src/misc-inst.cc: Define unnecessary algorithm
1128         instantiations. Break apart instantiations into groupings below.
1129         * src/fstream-inst.cc: New.
1130         * src/io-inst.cc: New.
1131         * src/istream-inst.cc: New.
1132         * src/ostream-inst.cc: New.
1133         * src/streambuf-inst.cc: New.
1134         * src/sstream-inst.cc: New.
1135         * src/Makefile.am (sources): Add files.
1136         * src/Makefile.in: Regenerate.
1138         * acinclude.m4: Work around automake 1.4-p5 bug, change
1139         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1141 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1143         PR libstdc++/6795.
1144         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1145         (classic_table): Fix.
1146         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1148 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1150         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1151         _GLIBCPP_USE_WCHAR_T.
1152         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1153         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1154         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1156 2002-05-26  Carlo Wood  <carlo@alinoe.com>
1157             Paolo Carlini  <pcarlini@unitus.it>
1159         PR libstdc++/6811
1160         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1161         (__enc_traits::operator=): add missing return statement.
1163 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
1165         PR libstdc++/6282
1166         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
1167         (operator>>):  If nothing was extracted, don't fail in the
1168         zero-length case.
1169         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
1171 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1173         PR libstdc++/6701
1174         * testsuite/22_locale/ctype_narrow_char.cc: New.
1175         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1176         * testsuite/22_locale/ctype_widen_char.cc: New.
1177         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1178         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1179         * testsuite/22_locale/ctype_is_char.cc: ...this.
1180         * testsuite/22_locale/ctype_to_char.cc: ...and this.
1181         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1182         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1183         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1185         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1187 2002-05-24  Dale Peakall <dale@peakall.net>
1189         PR libstdc++/6701
1190         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1191         * config/locale/generic/ctype_members.cc: Same.
1193 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1195         PR libstdc++/6750
1196         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1197         for empty string literal.
1198         (ostream::operator<<(const _CharT*)): Same.
1199         (ostream<char>::operator<<(const char*)): Same.
1200         (ostream<char>::operator<<(streambuf*)): Same.
1201         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1202         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1204 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
1206         * configure.in (release_VERSION): Update to 3.1.1.
1207         (libtool_VERSION): Update to 4:1:0.
1208         * configure: Regenerate.
1210 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1212         * include/bits/stl_pair.h:  Tweak comment markup.
1214 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1216         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
1218 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1220         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
1222 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1224         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
1225         Doxygenate all public members.  Reorder to follow 14882.
1226         (vector::push_back(void)):  Remove previously-deprecated fn.
1227         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1228         Deprecate for removal in 3.3.
1230 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
1232         * docs/html/faq/index.html (5.4):  Recommend against -I options for
1233         finding the ext headers.
1234         * docs/html/faq/index.txt:  Regenerate.
1236 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1238         * testsuite/23_containers/deque_operators.cc (test01):
1239         Fix minor typo in last commit.
1241 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1243         PR libstdc++/6503
1244         * include/bits/stl_deque.h (_Deque_iterator::operator==,
1245         operator!=, operator<, operator>, operator>=, operator<=):
1246         Make non-member functions, to allow comparing const and
1247         non-const iterators in any order.
1248         * testsuite/23_containers/deque_operators.cc: New testfile.
1250 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
1252         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
1253         * docs/html/faq/index.txt:  Regenerate.
1255 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1257         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1258         * acinclude.m4: Likewise.
1259         * docs/html/Makefile: Likewise.
1260         * aclocal.m4: Regenerate.
1261         * configure: Regenerate.
1262         * Makefile.in: Regenerate.
1264 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
1266         libstdc++/6641
1267         * include/bits/c++config (__USE_MALLOC): Report case where
1268         the user improperly defined it on the command line.
1270 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1272         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1273         Retrieve current limits before setting.
1275 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1277         PR libstdc++/6518
1278         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1279         for null case.
1280         (ostream::operator<<(const _CharT*)): Same.
1281         (ostream<char>::operator<<(const char*)): Same.
1282         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1284 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1286         PR libstdc++/6594
1287         * src/strstream.cc (strstreambuf): Fix leak.
1289 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
1291         PR libstdc++/6648
1292         * include/bits/istream.tcc (istream::getline, ignore):
1293         Upon __idelim (__delim) call sbumpc() not snextc().
1294         * testsuite/27_io/narrow_stream_objects.cc:
1295         Add test08 and test09.
1297 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1299         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1300         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1302         * docs/html/install.html: Fix.
1304 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1306         * include/bits/fstream.tcc
1307         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1308         try/catch blocks.
1309         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1311         * docs/html/install.html: Tweak, add bits about required locales
1312         for the 22_locale tests when using the gnu model.
1314         * testsuite/27_io/istream_sentry.cc: Tweak.
1316 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1318         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1319         Fix typo, use this->is() rather than manually (and perhaps
1320         incorrectly) inlining it.
1321         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1322         Likewise.
1323         * testsuite/22_locale/ctype_scan_char.cc: New file.
1325 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1326             Jakub Jelinek  <jakub@redhat.com>
1328         * testsuite/22_locale/money_get_members_char.cc
1329         (test01, test02, test04): Use the de_DE@euro named locale
1330         instead of de_DE to allow for an uniform behaviour with
1331         both old and Euro-era localedata; tweak some tests.
1332         * testsuite/22_locale/money_get_members_wchar_t.cc
1333         (test01, test02, test04): Likewise.
1334         * testsuite/22_locale/money_put_members_char.cc
1335         (test01, test02, test04): Likewise.
1336         * testsuite/22_locale/money_put_members_wchar_t.cc
1337         (test01, test02, test04): Likewise.
1339 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
1341         * testsuite/22_locale/codecvt_members_char_char.cc
1342         (test03): Robustify wrt localedata.
1343         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1344         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1345         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1346         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1347         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1348         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1349         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1350         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1351         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1352         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1353         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1354         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1355         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1356         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1357         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1358         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1359         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1360         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1361         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1362         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1363         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1364         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1366 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1368         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1369         change.
1371 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1373         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1374         to 64 for hppa 64-bit port.
1375         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1377 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1379         * acinclude.m4 (enable_symvers): Quote $LD.
1380         * aclocal.m4: Regenerate.
1381         * configure: Likewise.
1383 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
1385         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1386         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1387         LD_LIBRARY_PATH.
1389 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1391         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1392         script entry, and set LD to it when configuring multilibs.
1393         * configure: Rebuilt.
1395 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
1397         * configure.in: Add support for WindISS.
1398         * configure: Regenerated.
1399         * configure.target: Add support for WindISS.
1400         * config/os/windiss/bits/ctype_base.h: New file.
1401         * config/os/windiss/bits/ctype_inline.h: Likewise.
1402         * config/os/windiss/bits/ctype_noninline.h: Likewise.
1403         * config/os/windiss/bits/os_defines.h: Likewise.
1405 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
1407         Test all the facets for the temporary "C" locale switch issue.
1408         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1409         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1410         * testsuite/22_locale/collate_members_char.cc: Add test04.
1411         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1412         * testsuite/22_locale/ctype_members_char.cc: Add test05.
1413         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1414         * testsuite/22_locale/messages_members_char.cc: Add test03.
1415         * testsuite/22_locale/money_get_members_char.cc: Add test08.
1416         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1417         * testsuite/22_locale/money_put_members_char.cc: Add test07.
1418         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1419         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1420         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1421         * testsuite/22_locale/num_get_members_char.cc: Add test06.
1422         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1423         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1424         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1425         * testsuite/22_locale/time_get_members_char.cc: Add test08.
1426         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1427         * testsuite/22_locale/time_put_members_char.cc: Add test04.
1428         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1430         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1431         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1433 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1435         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1436         __EXTENSIONS__): Ensure they are always defined.
1438 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
1440         * docs/html/documentation.html:  Fix broken link.
1442 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
1443             Paolo Carlini  <pcarlini@unitus.it>
1445         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1446         testing for the locale_facets.tcc entry of the previous commit.
1447         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1449 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
1451         * config/locale/generic/c_locale.cc
1452         (__convert_to_v(float, double, long double)):
1453         Fix the temporary switch to the "C" locale, saving and
1454         restoring in the proper way the current locale.
1455         * config/locale/generic/time_members.cc
1456         (__timepunct<char, wchar_t>::_M_put): Likewise.
1457         * config/locale/gnu/messages_members.cc
1458         (messages<char>::do_get): Likewise.
1459         * config/locale/gnu/messages_members.h
1460         (messages<_CharT>::do_get): Likewise.
1461         * config/locale/gnu/time_members.cc
1462         (__timepunct<char, wchar_t>::_M_put): Likewise.
1463         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1465 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1467         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1468         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1470         * Makefile.in, config.h.in, configure: Regenerate.
1472 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
1474         PR libstdc++/6549.
1475         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1476         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1478 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1480         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1481         Return __ctype + 1.
1482         (ctype:_M_table): Initialize to classic_table(), not __ctype.
1484 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1486         * configure.in: Update local install.html, configopts.html paths.
1487         * configure: Regenerate.
1489 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1491         * config/os/irix/irix5.2/bits/os_defines.h
1492         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1494         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1495         char.
1497 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
1499         * docs/html/faq/index.html:  Update list in #4.1.
1500         * docs/html/faq/index.txt:  Regenerated.
1502 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
1504         * docs/html/17_intro/RELEASE-NOTES (New): Update.
1506 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
1508         * include/std/std_bitset.h:  Fix doxygen comments.
1509         * docs/html/documentation.html:  Minor tweaks for 3.1.
1510         * docs/html/27_io/howto.html:  Likewise.
1511         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
1512         * docs/html/faq/index.html:  Likewise.
1513         * docs/html/faq/index.txt:  Regenerated.
1515 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1517         PR libstdc++/6533
1518         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1519         (istreambuf_iterator::equal): Use it.
1520         (istreambuf_iterator::operator*): Use it.
1522 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
1524         PR libstdc++/6513
1525         * include/bits/stl_uninitialized.h
1526         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1527         Fix typo in 2001-07-17 commit: typedef _ValueType to
1528         iterator_traits<_ForwardIter> not <_InputIter>.
1529         * testsuite/23_containers/vector_ctor.cc: Add test04.
1531 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1533         PR libstdc++/6501
1534         * include/c_std/std_cctype.h: Include bits/c++config.h.
1535         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1537 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1539         * include/ext/stdio_filebuf.h: New file.
1540         * include/ext/enc_filebuf.h: New file.
1541         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1542         * config/io/basic_file_stdio.cc: Same.
1543         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1544         Remove _M_unbuf hacks.
1545         (filebuf::_M_destroy_internal_buffer): Same.
1546         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1547         (filebuf::fd): Remove.
1548         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1549         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1550         (filebuf::fd): Remove.
1551         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1552         filebufs.
1553         (ios_base::_S_ios_destroy): Same.
1554         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1555         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1556         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
1558 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1560         PR libstdc++/6511
1561         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1563 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1565         PR libstdc++/5820
1566         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1567         Check for eof.
1568         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1569         (istreambuf_iterator::operator++): Invalidate on eof.
1570         (istreambuf_iterator::operator++(int)): Same.
1571         (istreambuf_iterator::operator*): Same.
1573 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1575         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1576         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1577         LD_LIBRARY64_PATH.
1579 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1581         PR libstdc++/5820
1582         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1583         (__basic_file::sys_ungetc): Take int.
1584         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1585         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1586         Use sys_getc for unbuffered input.
1587         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1589         * src/ios.cc (_M_grow_words): Adjust error checking.
1590         * testsuite/27_io/ios_base_storage.cc: Same.
1592 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1594         * include/ext/stl_hashtable.h: Import __iterator_category
1596 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
1597             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1599         * testsuite/ext/hash_set.cc: New testfile.
1601 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
1603         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1604         _G_USING_THUNKS.
1605         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1606         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1608 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
1610         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1611         Fix and tighten __throw_length_error check.
1612         * testsuite/21_strings/replace.cc (test05): New.
1613         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1615 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
1617         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1618         unconditional flush on lower-layer handle to here...
1619         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1620         ...from here.  Optimize remaining _M_file.sync() call pattern.
1621         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1622         (test05): Likewise.
1624 2002-04-23  Jason Merrill  <jason@redhat.com>
1626         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1627         output-only filebufs.
1628         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1629         Likewise.
1630         (basic_filebuf::_M_set_determinate): Likewise.
1632         PR libstdc++/6414
1633         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1634         value properly in the trivial case.
1635         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1636         tellg() returns the right value after a read.
1638 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
1640         * config/cpu/mmix/bits/cpu_limits.h: New file.
1641         * configure.target (CPULIMITSH): Use it.
1643 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
1645         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1646         * docs/html/17_intro/porting.html: Rebuilt.
1648 2002-04-20  Jason Merrill  <jason@redhat.com>
1650         PR libstdc++/4150
1651         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1652         Move to filebuf.
1653         (basic_streambuf::_M_set_determinate): Likewise.
1654         (basic_streambuf::_M_is_indeterminate): Likewise.
1655         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1656         non-static data member.
1657         (basic_filebuf::_M_underflow_common): New non-static member function.
1658         (basic_filebuf::_M_underflow, _M_uflow): Call it.
1659         (basic_filebuf::sync): Avoid useless seeking.
1660         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1661         Set _M_filepos.
1662         (basic_filebuf::_M_set_determinate): Likewise.
1663         (basic_filebuf::_M_is_indeterminate): Likewise.
1664         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1665         back to _M_out_beg if necessary.
1666         (basic_filebuf::seekoff): Likewise.
1667         (basic_filebuf::_M_underflow_common): Generalization of old
1668         underflow().  Don't seek back to _M_in_beg.
1669         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1670         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1671         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1672         * config/os/mingw32/bits/os_defines.h: Likewise.
1673         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1674         ungetc test.
1676 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
1678         * include/bits/istream.tcc (istream::read): Fix.
1679         * testsuite/27_io/istream_unformatted.cc (main): Add.
1681 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
1683         PR libstdc++/6360
1684         * include/bits/istream.tcc (istream::ignore): Streamline, use
1685         delimiter as is.
1686         * include/bits/streambuf.tcc: Use this->gptr.
1687         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1689 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
1691         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1692         as type safety is important, especially on solaris.
1693         * include/bits/istream.tcc (istream::read): Clean.
1694         (istream::readsome): Same.
1695         * locale.cc: Wrap lines.
1697         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1698         * testsuite/27_io/instantiations.cc (test): Add bool variable...
1699         * testsuite/21_strings/capacity.cc: Clean.
1701 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1703         * docs/doxygen/doxygroups.cc:  New group on binary searching.
1704         * include/bits/stl_algo.h:  Document binary searches and merges.
1705         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
1707 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1709         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
1710         * docs/doxygen/run_doxygen:  Bump required version.
1711         * docs/doxygen/user.cfg.in:  Revert accidental change.
1712         * docs/html/faq/index.html:  Reindent a block of links.
1713         (4.4):  New note on using dlsym.
1714         * docs/html/faq/index.txt:  Regenerated.
1716 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
1718         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
1720 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1722         * config/linker-map.gnu (__malloc_alloc_template): Add.
1723         (__default_alloc_template): Same.
1724         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1725         template.
1726         (__default_alloc_template): Same.
1728 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
1730         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1732 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
1734         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1735         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1736         (__malloc_alloc_template): Conditionalize.
1738         * include/bits/istream.tcc: Remove sputbackc calls.
1740         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1742 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
1744         * testsuite/24_iterators/rel_ops.cc: New test.
1746 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1748         * include/bits/type_traits.h (__normal_iterator): Declare in
1749         __gnu_cxx.  Adjust use at global namespace.
1750         * include/bits/stl_iterator.h (__normal_iterator): Move definition
1751         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
1752         * include/bits/basic_string.h (basic_string): Adjust use of
1753         __normal_iterator.
1754         * include/bits/stl_vector.h (_Alloc>): Likewise.
1755         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1756         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1758 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
1760         PR libstdc++/4164
1761         Valgrind fixes.
1762         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1763         Call close.
1764         (__basic_file::close): Call fflush. Correct return if fclose ok.
1765         (__basic_file::is_open): Make const.
1766         Change __c_file_type to __c_file.
1767         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1768         (__basic_file::is_open): Make const.
1769         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1770         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1771         (filebuf::_M_unbuf): Add.
1772         (filebuf::_M_file): Change to non-pointer.
1773         (filebuf::_M_allocate_pback_buffer): Remove.
1774         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1775         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1776         Change initialization list for _M_file change.
1777         (filebuf::_M_allocate_pback_buffer): Remove.
1778         Change _M_file usage to reflect non-pointer data member.
1780         * config/locale/generic/c_locale.cc
1781         (locale::facet::_S_create_c_locale): Add parameter.
1782         * config/locale/generic/collate_members.cc: Change
1783         _M_compare_helper to _M_compare.
1784         Change _M_transform_helper to _M_transform.
1785         * config/locale/generic/monetary_members.cc: Changeup data types.
1786         Add dtors.
1787         * config/locale/generic/numeric_members.cc: Add dtors.
1788         * config/locale/generic/time_members.cc: Add dtors.
1789         * config/locale/gnu/c_locale.cc: Add parameter.
1790         * config/locale/gnu/collate_members.cc:Change
1791         _M_compare_helper to _M_compare.
1792         Change _M_transform_helper to _M_transform.
1793         * config/locale/gnu/ctype_members.cc: Better error checking.
1794         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1795         * config/locale/gnu/messages_members.cc: Tweak comment.
1796         * config/locale/gnu/monetary_members.cc: Change data types.
1797         Add dtors.
1798         * config/locale/gnu/numeric_members.cc: Add dtors, better error
1799         checking.
1800         * config/locale/gnu/time_members.cc: Same.
1801         * config/locale/ieee_1003.1-2001/c_locale.cc
1802         (locale::facet::_S_create_c_locale): Add parameter.
1803         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1804         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1805         bogus ctor.
1807         * include/bits/locale_facets.h (moneypunct): Use string literals.
1808         Don't define dtor.
1809         (numpunct): Same.
1810         (__timepunct): Same.
1811         (locale::_Impl::_M_facets): Change from vector to array.
1812         (locale::_Impl::_M_names): Change from array of strings to array
1813         of string literals.
1814         (locale::facet::_S_create_c_locale): Add parameter.
1815         (locale::locale::_S_num_facets): Move to...
1816         (locale::_Impl::_M_facets_size): Here.
1817         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1818         changes.
1819         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1820         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1821         (locale::_Impl::_Impl(string, size_t)): Change to
1822         (locale::_Impl::_Impl(const char*, size_t)): This.
1824         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1825         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1826         (streambuf::_S_pback_size): This.
1828         * src/globals.cc: Add pre-allocations for "C" facets.
1829         * src/locale-inst.cc: Remove vector instantiations.
1830         * src/locale.cc: Remove vector include. Fixups for _M_names,
1831         _M_facets changes.
1832         * src/localename.cc: Same.
1834         * include/bits/stl_vector.h: Fix odd formatting.
1836         * include/bits/basic_string.tcc: Tweak comment.
1838         * libsupc++/new: Make sure parameters are uglified.
1839         * libsupc++/typeinfo: Same.
1841         * testsuite/22_locale/num_get_members_char.cc: Fixup.
1842         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1843         * testsuite/27_io/filebuf_members.cc: Same.
1845 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
1847         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1848         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1849         does not define strtoll or strtoull, but does define strtol
1850         and strtoul which are the same since in 64 bit mode
1851         sizeof(long) == sizeof(long long).
1853 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
1855         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
1856         trailing spaces, indentation, and macro names.  Make exception
1857         messages more informative.
1859 2002-04-11  Richard Henderson  <rth@redhat.com>
1861         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1862         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1863         (basic_ostream<>::operator<<(long long)): Same.
1865 2002-04-11  Richard Henderson  <rth@redhat.com>
1867         * config/linker-map.gnu: Add __gxx_personality_sj0.
1869 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1871         libstdc++/1072
1872         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1873         pointer to vector.
1874         Remove forward declaration of vector.
1875         Include vector.
1876         * include/bits/locale_facets.tcc: Remove vector include.
1877         (use_locale): Adjust.
1878         (has_locale): Adjust.
1879         * src/locale.cc: Adjust.
1880         * src/localename.cc: Same.
1882 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1883             Richard Henderson  <rth@redhat.com>
1885         * include/bits/sstream.tcc: Clean up bit ops.
1886         * include/bits/fstream.tcc: Same.
1888 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
1890         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1891         (__num_base::_S_scale_oct): Remove.
1892         * src/locale.cc (__num_base::_S_scale_hex): Remove.
1893         (__num_base::_S_scale_oct): Remove.
1895 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
1897         libstdc++/6124
1898         * testsuite/23_containers/bitset_members.cc: New test.
1899         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1900         (_S_bit_count): Here.
1901         (_First_one::_S_first_one): Move...
1902         (_S_first_one): Here.
1903         Format.
1904         * src/bitset.cc: Adjust.
1905         * config/linker-map.gnu: Export.
1907 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
1909         libstdc++/5180
1910         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1911         * include/std/std_fstream.h: Clean.
1912         * include/bits/ostream.tcc: Remove extraneous variables.
1913         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1914         open modes and which modes.
1915         (stringbuf::seekpos): Same.
1916         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1918 2002-04-05  Jonathan Wakely <jw@kayari.org>
1920         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1921         random_shuffle, partition, stable_partition, sort, stable_sort,
1922         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
1924 2002-04-05  David S. Miller  <davem@redhat.com>
1926         * config/os/gnu-linux/bits/os_defines.h
1927         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1929 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
1931         libstdc++/3457
1932         via gawrilow@math.tu-berlin.de
1933         * acinclude.m4 (version_specific_libs): Fix combo usage with
1934         --with-gxx-include-dir.
1935         * aclocal.m4: Regenerate.
1936         * configure: Same.
1938 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1940         As per DR 184, libstdc++/3139
1941         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1942         (numeric_limits<bool>::is_iec559): False.
1943         (numeric_limits<bool>::is_modulo): False.
1945         * testsuite/27_io/ios_init.cc: Add instantiations.
1947 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
1949         libstdc++/5268
1950         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1951         * testsuite/27_io/ios_init.cc (tests04): Add test.
1953         libstdc++/3983
1954         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1955         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1956         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1957         * include/bits/istream.tcc: Use _M_fctype, make consistent with
1958         ostream.
1959         * testsuite/27_io/ios_init.cc (tests03): Add test.
1961 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
1963         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
1964         * include/Makefile.in:  Regenerate.
1966 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
1967             Nathan Myers  <ncm@cantrip.org>
1968             Philip Martin  <philip@codematters.co.uk>
1970         * include/bits/basic_string.h
1971         (replace(i1, i2, _CharT* k1, _CharT* k2),
1972         replace(i2, i2, const _CharT* k1, const _CharT* k2),
1973         replace(i1, i2, iterator k1, iterator k2,
1974         replace(i1, i2, const_iterator k1, const_iterator k2):
1975         New specializations to optimize for the common cases of
1976         pointers and iterators.
1977         (replace(pos, n1, s, n2)): Tweak.
1978         * include/bits/basic_string.tcc: Tweak comments.
1979         * testsuite/21_strings/replace.cc (test04): New tests.
1981 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
1983         libstdc++/5542
1984         * acinclude: More extensive checks for msgfmt, --enable-nls.
1985         * aclocal.m4: Regenerate.
1986         * configure: Regenerate.
1988 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
1990         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
1991         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
1992         * docs/html/18_support/howto.html:  Document the demangler.
1993         * docs/html/17_intro/howto.html:  And link to it.
1995         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
1996         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
1998 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2000         * config/linker-map.gnu:  Export __verbose_terminate_handler.
2001         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
2002         Make new LTCOMPILE variable, use it in new special build rules.
2003         * libsupc++/Makefile.in:  Rebuild.
2004         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
2005         runtime __cxa_demangle.
2007         * docs/html/install.html:  Update prereqs and instructions.
2008         * docs/html/19_diagnostics/howto.html:  Bring naming for
2009         verbose_terminate_handler into line with reality.
2011 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2013         libstdc++/3129
2014         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2015         (basic_ios::_M_streambuf_state): Move.
2016         * include/bits/ios_base (ios_base): To here.
2017         * include/bits/ios_base.h (ios_base::_S_local_words): To
2018         _S_local_word_size.
2019         (ios_base::_M_word_array): To _M_local_word.
2020         (ios_base::_M_words_limit): To _M_word_size.
2021         (ios_base::_M_words): To _M_word.
2022         Comment.
2023         * include/bits/basic_ios.tcc: Adjust.
2024         * src/ios.cc (ios_base::_M_grow_words): Tweak.
2025         * testsuite/27_io/ios_base_storage.cc: Add tests.
2027         libstdc++/5207
2028         Kenny Simpson <theonetruekenny@yahoo.com>
2029         * include/bits/ios_base.h: Fix.
2031         Richard Henderson  <rth@redhat.com>
2032         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2033         last change.
2035         * include/bits/basic_string.h: Tweak formatting.
2037 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
2039         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2040         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2041         By definition, sizeof(char) == 1.
2042         * include/bits/locale_facets.tcc (money_get::do_get,
2043         money_put::do_put): Ditto.
2044         * testsuite/21_strings/inserters_extractors.cc
2045         (test04): Ditto.
2047 2002-03-30  Richard Henderson  <rth@redhat.com>
2049         PR c++/3719
2050         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2051         data out of the exception struct before calling unexpectedHandler.
2053 2002-03-28  Roger Sayle  <roger@eyesopen.com>
2055         * include/c_std/std_cmath.h:  To prevent problems overloading
2056         g++ builtins, use the double variants from the global namespace
2057         before defining float and long double variants in std::.
2059 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
2061         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2063 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
2065         * testsuite/24_iterators/istream_iterator.cc
2066         (test02): New tests.
2068 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2069             Paolo Carlini  <pcarlini@unitus.it>
2071         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2072         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2073         fix i_lit_base e_lit_base arrays, making them independent
2074         from the endianness of the platform; tweak UCS4 to UCS-4BE.
2076 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2078         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2079         allocate at least a byte.
2081         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2082         debugger-friendly.
2083         * testsuite/27_io/streambuf.cc (test07): Fix.
2084         (test06): Enable.
2086 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2088         * docs/doxygen/Intro.3:  Date tweak.
2089         * docs/doxygen/TODO:  Update.
2090         * docs/doxygen/doxygroups.cc:  Point to tables.html.
2091         * docs/doxygen/mainpage.html:  Date tweak.
2092         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
2093         * docs/doxygen/tables.html:  Fill in the blanks.
2095         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
2096         * include/bits/stl_algo.h:  Likewise; use expanded form.
2097         * include/bits/stl_alloc.h:  Likewise.
2098         * include/bits/stl_construct.h:  Likewise.
2099         * include/bits/stl_deque.h:  Likewise.
2100         * include/bits/stl_iterator_base_types.h:  Likewise.
2101         * include/bits/stl_list.h:  Likewise.
2102         * include/bits/stl_relops.h:  Likewise.
2103         * include/bits/stl_tempbuf.h:  Likewise.
2104         * include/bits/stl_vector.h:  Likewise.
2105         * include/std/std_memory.h:  Likewise.
2107         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
2108         * include/bits/stl_list.h:  Likewise.
2109         * include/bits/stl_vector.h:  Likewise.
2111 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2113         * include/c/: Guard with _CPP_.
2114         * include/c_std/: Same.
2115         * include/Makefile.am: Fixup install, link routines for null
2116         c_base_headers_extra scenarios.
2117         * include/Makefile.in: Regerate.
2119 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
2120             Richard Henderson  <rth@redhat.com>
2122         * testsuite/22_locale/codecvt_members_unicode_char.cc
2123         (test01, test02): make sure that the i_lit_base array
2124         is sufficiently aligned.
2126 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2128         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2129         _ctype_.
2131 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
2133         * testsuite/22_locale/collate_byname.cc
2134         (test01): compare the result of collate::compare with
2135         that of collate::transform + string::compare, not with
2136         that of collate::transform + collate::compare; values
2137         returned by collate::compare are normalized, therefore
2138         test against +-1.
2140 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2141             Jakub Jelinek  <jakub@redhat.com>
2143         * config/locale/gnu/messages_members.h: Correct conditional.
2144         * config/locale/gnu/messages_members.cc: Same.
2145         * config/locale/gnu/time_members.cc: Same.
2147 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2148             Paolo Carlini  <pcarlini@unitus.it>
2150         * testsuite/22_locale/codecvt_members_unicode_char.cc
2151         (test01, test02): Fix i_lit_base arrays, making them
2152         independent from the endianness of the platform.
2154 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2156         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2157         signbit and __signbit directly.
2158         * aclocal.m4: Regenerate.
2159         * configure: Regenerate.
2160         * config.h.in: Regenerate.
2161         * libmath/Makefile.am: Simplify.
2162         * libmath/Makefile.in: Regenerate.
2163         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2165         * include/Makefile.am: Clean up handling of extra "C" header files.
2166         Add hooks for "C" compatibility headers.
2167         * include/Makefile.in: Regenerate.
2169         * include/c/*: Formatting tweaks, cleanups.
2170         * include/c_std/*: Same.
2172 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2174         * config/locale/gnu/messages_members.h: Add __uselocale bits.
2175         * config/locale/gnu/messages_members.cc: Same.
2176         * config/locale/gnu/time_members.cc: Same.
2178 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2180         * src/vterminate.cc: Format, -fno-exceptions cleanup.
2182 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2184         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2185         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2186         * aclocal.m4: Regenerate.
2187         * configure: Likewise.
2189 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
2190             Ulrich Drepper  <drepper@redhat.com>
2192         * src/locale-inst.cc (__convert_from_v): Add an additional
2193         __size parameter in the declarations.
2194         * include/bits/locale_facets.tcc
2195         (__convert_from_v): When available (that is,
2196         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2197         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2198         being defined or not, call and use __convert_from_v in the
2199         appropriate way.
2200         (num_put::_M_convert_int): Same here.
2201         (money_put::do_put(long double)): Same here.
2203 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
2205         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
2206         * docs/html/faq/index.txt:  Regenerate.
2208 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
2210         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2211         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2212         --enable-libunwind-exceptions is set.
2213         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2214         macro to check for libunwind.
2215         * configure: Regenerate.
2216         * src/Makefile.am (libstdc___la_LDFLAGS): Add
2217         LIBUNWIND_FLAG to libstdc link line.
2218         * src/Makefile.in: Regenerate.
2220 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2222         * docs/html/faq/index.html: Add OS X workaround.
2223         * docs/html/17_intro/TODO: Update.
2225 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
2227         * include/bits/locale_facets.tcc
2228         (money_put::do_put(long double)): Fix dimensioning of
2229         temporary buffers to avoid risk of overruns.
2230         (money_put::do_put(string)): Same for the buffer used to
2231         add the grouping chars.
2232         * testsuite/22_locale/money_put_members_char.cc: Add test06.
2233         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2235         * include/bits/locale_facets.tcc
2236         (collate::do_transform): Simplify.
2238 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
2240         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
2241         * configure.in:  Add comments pointing the way for autoconf 2.5x.
2242         * aclocal.m4, config.h.in, configure:  Regenerate.
2244 2002-03-18  Philipp Thomas  <pthomas@suse.de>
2246         * include/backward/hash_map.h: hash, hashtable, hash_map and
2247         hash_multimap are in namespace __gnu_cxx.
2248         include/backward/hash_set.h: hash, hashtable, hash_set and
2249         hash_multiset are in namespace __gnu_cxx.
2250         include/backward/hashtable.h: hash and hashtable are in
2251         namespace __gnu_cxx.
2252         include/backward/rope.h: char_producer, sequence_buffer,
2253         rope, crope and wrope are in namespace __gnu_cxx.
2254         include/backward/slist.h: slist is in namespace __gnu_cxx.
2255         * testsuite/backward/header_hash_map_h.cc
2256         testsuite/backward/header_hash_set_h.cc
2257         testsuite/backward/header_hashtable_h.cc
2258         testsuite/backward/header_rope_h.cc
2259         testsuite/backward/header_slist_h.cc
2260         testsuite/backward/header_tempbuf_h.cc: New tests for
2261         checking that we're using the correct namespace.
2263 2002-03-17  Jason Merrill  <jason@redhat.com>
2265         PR c++/4381
2266         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2267         (check_exception_spec): Call it.  Take the thrown pointer.
2268         (__cxa_call_unexpected): Pass it.
2269         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
2271 2002-03-15  Anthony Green  <green@redhat.com>
2273         * configure.in: Remove useless is_mingw32.
2274         * configure: Rebuilt.
2276 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
2278         * testsuite/22_locale/collate_members_char.cc
2279         (test01): compare the result of collate::compare with
2280         that of collate::transform + string::compare, not with
2281         that of collate::transform + collate::compare.
2282         (test01): values returned by collate::compare are
2283         normalized, therefore test against +-1.
2284         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2286 2002-03-12  Loren Rittle  <ljrittle@acm.org>
2288         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2289         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2291 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2292             Per Liboriussen  <liborius@stofanet.dk>
2294         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2295         unsigned char.
2296         * config/os/gnu-linux/bits/ctype_inline.h: Same.
2298         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2300         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2301         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2303         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2304         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2306         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2307         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2309         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2311 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2313         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2314         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2315         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2316         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2317         that memory limits are in place.
2318         (test03): Add tests.
2320 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2322         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2323         * aclocal.m4: Regenerate.
2324         * config.h.in: Regenerate.
2325         * configure: Regenerate.
2326         * include/c_std/std_cwctype.h: Guard.
2328 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
2330         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2331         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2332         * aclocal.m4: Regenerate.
2333         * configure: Regenerate.
2335 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
2337         * include/bits/stl_bvector.h: Fix warning.
2339 2002-03-11  Richard Henderson  <rth@redhat.com>
2341         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
2343 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2345         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2346         New function.  Build the list of tests to run in testsuite_files.
2347         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
2349 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
2351         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
2352         platforms with no weak support.
2353         * testsuite/27_io/ios_init.cc:  Likewise.
2355 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
2357         * include/bits/locale_facets.tcc (time_put::do_put):
2358         Consider sizeof(char_type) in allocating the buffer.
2360         * include/bits/locale_facets.tcc (collate::do_tranform):
2361         Remove redundant variable.
2363 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
2364             Paolo Carlini  <pcarlini@unitus.it>
2366         * config/locale/generic/collate_members.cc
2367         (collate<char,wchar_t>::_M_compare_helper): normalize
2368         values returned by strcoll and wcscoll.
2369         * config/locale/gnu/collate_members.cc
2370         (collate<char,wchar_t>::_M_compare_helper): ditto
2371         for __strcoll_l and __wcscoll_l.
2373 2002-03-10  Anthony Green  <green@redhat.com>
2375         * configure.in: Support cross builds to mingw32 target.
2376         * configure: Rebuilt.
2378 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
2380         * include/bits/locale_facets.tcc (collate::do_transform):
2381         Rewrite to fix problems with long transformed strings.
2383 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2385         * c_locale_generic.cc: Move to...
2386         * generic/c_locale.cc
2387         * c_locale_generic.h: Move to...
2388         * generic/c_locale.h
2389         * codecvt_specializations_generic.h: Move to...
2390         * generic/codecvt_specializations.h
2391         * collate_members_generic.cc: Move to...
2392         * generic/collate_members.cc
2393         * ctype_members_generic.cc: Move to...
2394         * generic/ctype_members.cc
2395         * messages_members_generic.cc: Move to...
2396         * generic/messages_members.cc
2397         * messages_members_generic.h: Move to...
2398         * generic/messages_members.h
2399         * moneypunct_members_generic.cc: Move to...
2400         * generic/monetary_members.cc
2401         * numpunct_members_generic.cc: Move to...
2402         * generic/numeric_members.cc
2403         * time_members_generic.cc: Move to...
2404         * generic/time_members.cc
2405         * c_locale_gnu.cc: Move to...
2406         * gnu/c_locale.cc
2407         * c_locale_gnu.h: Move to...
2408         * gnu/c_locale.h
2409         * collate_members_gnu.cc: Move to...
2410         * gnu/collate_members.cc
2411         * ctype_members_gnu.cc: Move to...
2412         * gnu/ctype_members.cc
2413         * messages_members_gnu.cc: Move to...
2414         * gnu/messages_members.cc
2415         * messages_members_gnu.h: Move to...
2416         * gnu/messages_members.h
2417         * moneypunct_members_gnu.cc: Move to...
2418         * gnu/monetary_members.cc
2419         * numpunct_members_gnu.cc: Move to...
2420         * gnu/numeric_members.cc
2421         * time_members_gnu.cc: Move to...
2422         * gnu/time_members.cc
2423         * c_locale_ieee_1003.1-200x.cc: Move to...
2424         * ieee_1003.1-2001/c_locale.cc
2425         * c_locale_ieee_1003.1-200x.h: Move to...
2426         * ieee_1003.1-2001/c_locale.h
2427         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2428         * ieee_1003.1-2001/codecvt_specializations.h
2429         * messages_members_ieee_1003.1-200x.cc: Move to...
2430         * ieee_1003.1-2001/messages_members.cc
2431         * messages_members_ieee_1003.1-200x.h: Move to...
2432         * ieee_1003.1-2001/messages_members.h
2434         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2435         * aclocal.m4: Regenerate.
2436         * configure: Regenerate.
2437         * src/Makefile.am (sources): Change to monetary and numeric.
2438         * src/Makefile.in: Regenerate.
2439         * docs/html/configopts.html: Update to ieee_1003.1-2001.
2441 2002-03-08  scott snyder  <snyder@fnal.gov>
2443         libstdc++/5875
2444         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2445         Allow one more digit of precision.
2446         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2447         write a double and read back in the same value.
2449 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2451         * include/std/std_limits.h: Move static const data members out of
2452         generic template, into base class __numeric_limits_base.
2453         * src/limits.cc: Add definitions.
2454         * config/linker-map.gnu: Add __numeric_limits_base.
2455         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2457 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2459         * include/bits/stl_alloc.h: Add extern implicit allocator
2460         instantiations.
2461         * include/bits/basic_string.tcc: Tweak.
2462         * include/bits/locale_facets.tcc: Remove default args. Add
2463         has_facet, use_facet extern instantiations.
2464         * src/stl-inst.cc: Add explicit instantiation.
2465         * src/locale-inst.cc: Clean. Remove locale member template
2466         instantiations.
2468         * testsuite/22_locale/operators.cc (test02): Enable.
2470 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
2471             Stephen M. Webb  <stephen.webb@bregmasoft.com>
2473         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2474         (_S_rb_tree_black): Make enum.
2475         Clean. Format.
2476         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2477         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2478         (__stl_threshold): _M_threshold, enum.
2479         * src/stl-inst.cc: Same.
2480         * config/linker-map.gnu: Remove.
2482         * testsuite/23_containers/vector_bool.cc: New.
2484 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2486         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
2487         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
2488         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
2489         referring to the collection as a whole.  New section on which macros
2490         can be redefined by the user.
2491         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
2492         * docs/html/20_util/howto.html:  Update link to SGI.
2493         * docs/html/faq/index.html:  Update snapshot versions.  New entry
2494         on why g++ (but not gcc) must currently predefine certain macros.
2495         * docs/html/faq/index.txt:  Regenerated.
2497         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
2498         names in declaration.
2499         (basic_string::compare):  These are no longer optional.
2500         * include/bits/ostream.tcc:  Tweak closing brace placement.
2501         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
2502         * include/std/std_sstream.h:  Fix typo in comment.
2503         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
2504         * src/locale.cc:  Likewise.
2506 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2508         PR libstdc++/5734
2509         * include/bits/stl_vector.h (vector::push_back()):  Guard with
2510         _GLIBCPP_DEPRECATED.
2512 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
2514         * include/bits/c++config:  Fix misplaced leading blanks on first line.
2516 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2518         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2519         * README (libmath): Make clear.
2521 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
2523         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2524         script globbing in ld.
2525         * aclocal.m4: Rebuilt.
2526         * configure: Rebuilt.
2528 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2530         * docs/html/17_intro/RELEASE-NOTES: Update.
2531         * README: Format subdirectories.
2533 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
2535         libstdc++/5816
2536         * include/bits/locale_facets.tcc
2537         (num_get::_M_extract_float): Fix the parsing of __dec, since
2538         the standard prescribes that if no grouping characters are
2539         seen, no grouping check is applied.
2540         * testsuite/22_locale/num_get_members_char.cc: Add test05
2541         distilled from the PR.
2542         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2544 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2546         * docs/html/17_intro/porting-howto.xml: Refer to
2547         http://www.oasis-open.org for docbookx.dtd.
2548         * docs/html/17_intro/porting-howto.html: Regenerated.
2550 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
2552         PR libstdc++/3955
2553         * include/std/std_sstream.h:  Remove trailing spaces.
2554         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
2555         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
2557 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
2559         * testsuite/22_locale/num_get_members_char.cc (test04):
2560         Use a named locale expecting grouping (de_DE).
2561         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2562         Ditto.
2563         * testsuite/27_io/ios_manip_basefield.cc (test01):
2564         Extend coverage, uniform treatment of hexs and octs.
2566 2002-02-28  Richard Henderson  <rth@redhat.com>
2568         * config/linker-map.gnu: Export operator new with unsigned long,
2569         and with std::nothrow_t.  Likewise operator delete.
2571 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
2573         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2574         Admit grouping for octals and hexadecimals too.
2575         * testsuite/22_locale/num_get_members_char.cc: Add test04.
2576         (test01): Tweak "." -> "," in void* test.
2577         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2579         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2580         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2582 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
2584         * testsuite/27_io/ios_manip_basefield.cc (test01):
2585         Fix for 64 bit machines.
2587 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
2589         libstdc++/3983
2590         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2591         Adjust comment.
2592         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2593         (basic_ios::_M_fill_init): New.
2594         (basic_ios::fill()): Delay dealing with _M_fill.
2595         Adjust comment.
2596         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2597         (ios_base::_M_call_callbacks): Adjust.
2598         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2600 2002-02-26  Loren Rittle  <ljrittle@acm.org>
2602         * include/Makefile.am (thread_target_headers): Unconditionally
2603         stage and install gthr-posix.h.
2604         (${target_builddir}/gthr-posix.h): New rule cloned off
2605         ${target_builddir}/gthr-default.h.
2606         (${target_builddir}/gthr-default.h): Support chained inclusion
2607         of gthr support headers.
2608         * include/Makefile.in: Rebuilt.
2610 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
2612         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2613         Group all the integral types, not only decs.
2614         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2615         tests, add a few more.
2617 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
2619         * src/ios.cc (ios_base::~ios_base): Tweak.
2620         (ios_base::_M_call_callbacks): Deal with null __p.
2621         (ios_base::ios_base): Set _M_callbacks.
2622         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2623         * testsuite/27_io/ios_init.cc (test02): Fix.
2625         * mkcheck.in (static_fail): Failed links go to output file.
2627 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
2629         * docs/html/faq/index.html:  Update.
2630         * docs/html/faq/index.txt:  Regenerate.
2632 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
2634         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
2635         * aclocal.m4:  Regenerate.
2636         * docs/html/configopts.html:  Document --enable-symvers.
2637         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
2639 2002-02-22  Philipp Thomas  <pthomas@suse.de>
2641         * include/backward/tempbuf.h: get_temporary_buffer and
2642         return_temporary_buffer are in namespace std, not in __gnu_cxx.
2644 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
2646         * configure.in (target_alias): Default to yes.
2647         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2648         libgcc to default case.
2650 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
2652         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
2653         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
2654         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
2655         * aclocal.m4:  Regenerate.
2656         * configure:  Regenerate.
2657         * config/linker-map.dummy:  New file.  Contains nothing useful.
2659 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
2661         * testsuite/22_locale/money_put_members_char.cc: Fix.
2662         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2664         * testsuite/27_io/standard_manipulators.cc: New file.
2666         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2667         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2669 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
2671         * config/os/mingw32/bits/ctype_noninline.h
2672         (ctype<char>::ctype): Remove default args from parm list.
2673         * config/os/djgpp/bits/ctype_noninline.h: Same.
2675 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2677         * include/std/std_iomanip.h: Inline, tweaks.
2678         * config/linker-map.gnu: Remove hacks.
2680         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2681         * testsuite/27_io/ios_init.cc: Same.
2682         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2683         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2685 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2687         * config/linker-map.gnu: Export global vtable, typeinfo, guard
2688         variable, and thunk info as per CXXABI docs.
2690 2002-02-19  Loren Rittle <ljrittle@acm.org>
2692         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2693         * include/Makefile.in: Rebuilt.
2695 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2697         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2698           with size3 for the string collations of str5.
2700 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
2702         libstdc++/5708
2703         * include/bits/locale_facets.tcc (money_put::do_put):
2704         For the space field use __fill instead of ' ', uniformly.
2705         * testsuite/22_locale/money_put_members_char.cc:
2706         Add test05 distilled from PR.
2707         (test01-02-03): Trim some '*' to ' '.
2708         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2710 2002-02-18  Loren Rittle <ljrittle@acm.org>
2712         libstdc++/5697
2713         * include/Makefile.am (thread_builddir): Remove (map all
2714         existing uses to target_builddir).
2715         (thread_headers): Rename to...
2716         (thread_target_headers): ...this.
2717         (stamp-thread): Remove.
2718         (stamp-target): Correctly state the position as built.
2719         Update all dependencies to match the new reality.  Remove all
2720         dependency calculations on directories.
2721         * include/Makefile.in: Rebuilt.
2723 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
2725         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2726         * include/bits/fstream.tcc: Same.
2727         * include/bits/sstream.tcc: Same.
2728         * include/bits/ostream.tcc: Same.
2729         * include/bits/istream.tcc: Same.
2730         * include/bits/streambuf.tcc: Same.
2731         * include/bits/basic_ios.tcc: Same.
2732         * include/bits/basic_string.tcc: Same.
2734 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2736         * include/std/std_iosfwd.h: Don't guard typedefs with
2737         _GLIBCPP_USE_WCHAR_T
2738         * include/bits/stringfwd.h: Same.
2740 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2742         * src/locale.cc (moneypunct_byname): Remove definitions.
2743         * include/std/std_streambuf.h (streambuf::operator=): Return.
2745 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2747         Tune for size.
2748         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2749         explicit instantiation.
2750         (string::_Rep::_S_max_size): Same.
2751         * include/bits/basic_string.tcc: Add extern explicit
2752         instantiations for string, wstring.
2753         * include/bits/basic_ios.tcc: Add extern explicit instantiations
2754         for ios, wios.
2755         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2756         * include/bits/istream.tcc: Same, for istream, wistream.
2757         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2758         wiostream.
2759         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2760         istringstream, wistringstream, ostringstream, wostringstream,
2761         stringstream, wstringstream.
2762         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2763         wifstream, ofstream, wofstream, fstream, wfstream.
2764         * src/misc-inst.cc: Correct comments.
2765         Add iomanip instantiations for wide streams.
2766         * include/std/std_iomanip.h: Same.
2767         * include/bits/locale_facets.tcc: Same.
2769         * include/std/std_streambuf.h: Correct
2770         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2771         * include/std/std_sstream.h: Same.
2772         * include/std/std_ostream.h: Same.
2773         * include/std/std_istream.h: Same.
2774         * include/std/std_fstream.h: Same.
2776         * include/std/std_streambuf.h: Add definitions for private copy
2777         ctor and assignment operator.
2778         * include/std/std_istream.h: Remove declared but undefined copy
2779         ctor and assignment operator. This is taken care of in ios_base,
2780         so adding it in the derived class as well is superfluous.
2781         * include/std/std_ostream.h: Same.
2783         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2784         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2786 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2788         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2789         Add typeinfo bits. Smooth.
2790         * aclocal.m4: Regenerate.
2791         * configure: Same.
2792         * src/Makefile.in: Same.
2794 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
2796         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2797         which do not have a CAS instruction.
2799 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
2801         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
2802         * configure.in:  Call it.
2803         * config/linker-map.gnu:  New file, initial incomplete revision.
2804         * src/Makefile.am:  Optionally pass version script to the linker.
2805         * aclocal.m4:  Regenerate.
2806         * configure:  Regenerate.
2807         * src/Makefile.in:  Regenerate.
2809 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2811         * src/localename.cc: Remove stdexcept include.
2812         * src/locale-inst.cc: Same.
2813         * src/locale.cc: Same.
2814         * src/functexcept.cc: Remove string includes.
2815         * include/std/std_bitset.h: Remove stdexcept include.
2816         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2817         * testsuite/23_containers/bitset_ctor.cc: Same.
2819 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2821         * include/bits/stl_algo (__stl_threshold): Declare external.
2822         (__stl_chunk_size): Same.
2823         * include/bits/stl_bvector.h (__WORD_BIT): Same.
2824         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2825         (_S_rb_tree_black): Same.
2826         * src/stl-inst.cc (__stl_threshold): Define.
2827         (__stl_chunk_size): Same.
2828         (__WORD_BIT): Same.
2829         (_S_rb_tree_red): Same.
2830         (_S_rb_tree_black): Same.
2832         * config/io/basic_file_libio.h (__basic_file): Add declarations.
2833         * include/bits/basic_file.h: Remove.
2834         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2835         Declare generic types, specialization.
2836         * config/io/basic_file_stdio.cc: Definitions.
2837         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2838         Declare generic types.
2839         * include/Makefile.am (bits_headers): Remove basic_file.h.
2840         (extra_target_headers): Change basic_file_model.h to basic_file.h.
2841         (stamp-target): Same.
2843         * include/bits/stl_alloc.h: Tweaks.
2844         * include/bits/localefwd.h: Same.
2846 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
2848         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2849         * testsuite/22_locale/collate_members_char.cc (test03): New test.
2850         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2852 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
2854         * include/bits/stl_algo.h (transform (both signatures), generate_n):
2855         Use __typeof__ in concept checks.
2857 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
2859         * include/bits/stl_algo.h (__median, for_each, find, find_if,
2860         adjacent_find, count, count_if, search, search_n, swap_ranges,
2861         transform, replace, replace_if, replace_copy, replace_copy_if,
2862         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2863         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
2865 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2867         * include/bits/locale_facets.h
2868         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2869         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2870         (__timepunct<_CharT>::_M_put_helper): Same.
2871         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2873         * include/bits/fstream.tcc (filebuf::underflow): Remove
2874         __codecvt_type typedef.
2875         (filebuf::_M_convert_to_external): Same.
2877 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
2879         * docs/doxygen/TODO:  Update.
2880         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
2881         * docs/doxygen/mainpage.html:  Add TODO list link.
2882         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
2883         * docs/doxygen/tables.html:  New file, emoty structure only.
2885         * include/bits/stl_iterator.h:  Doxygenate just about everything.
2886         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
2887         * include/bits/stl_iterator_base_types.h:  Add notes.
2889 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
2891         * include/bits/stl_map.h:  Tweak doxygen markup.
2892         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
2893         * include/bits/stl_vector.h:  Likewise.
2895 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2897         libstdc++/5286
2898         libstdc++/3860
2899         * include/std/std_fstream.h (filebuf::__file_type): Change to
2900         __basic_file<char>.
2901         (filebuf::_M_convert_to_external): Declare.
2902         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2903         codecvt bits for wide streams.
2904         (filebuf::_M_really_overflow): Use it.
2905         (filebuf::underflow): Use codecvt.
2906         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2907         (codecvt<__enc_traits>::do_out): Deal with partial.
2908         (codecvt<__enc_traits>::do_encoding): Return something useful.
2909         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2910         wchar_t.
2911         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2912         Change expected encoding output.
2913         (test02): Same.
2914         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2915         (test02): Same.
2917 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2918             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
2920         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2921         (basic_ios::widen): Same.
2923 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
2925         * testsuite/22_locale/money_get_members_char.cc:
2926         Add comment, tidy up.
2927         (test01): more "en_HK" tests (without showbase).
2928         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2930 2002-02-06  Loren Rittle <ljrittle@acm.org>
2932         * config/locale/c_locale_generic.cc: Do not trust
2933         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2934         set by configure.
2936 2002-02-06  Loren Rittle <ljrittle@acm.org>
2938         * acinclude.m4: Add C++ linkage check for strtof.
2939         * aclocal.m4: Rebuilt.
2940         * config.h.in: Rebuilt.
2941         * configure: Rebuilt.
2942         * config/locale/c_locale_generic.cc: Conditionally include
2943         <ieeefp.h>.  Improve handling and error checking of float
2944         and long double input for non-C99 configurations.
2946 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
2948         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2949         In case money_base::symbol deal properly with multi-char sign
2950         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2951         * testsuite/22_locale/money_get_members_char.cc: Add test07.
2952         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2954 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
2956         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2957         First construct a tentative returned string, then, only if the
2958         parsing succeeds, copy it into the string passed by reference.
2959         * testsuite/22_locale/money_get_members_char.cc: Add test06.
2960         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2962 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
2964         * docs/doxygen/TODO:  Impl-defined behavior now documented...
2965         * docs/html/17_intro/howto.html:  ...here.
2966         * docs/doxygen/mainpage.doxy:  Remove, rename...
2967         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
2968         * docs/doxygen/style.css:  Add small text.
2969         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
2970         * docs/doxygen/user.cfg.in:  Likewise.
2972 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
2974         * include/bits/stl_map.h:  Initial doxygen markup.
2975         * include/std/std_fstream.h:  Initial doxygen markup.
2977 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
2979         libstdc++/5579
2980         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2981         Deal correctly with !(__io.flags() & ios_base::showbase)
2982         for case money_base::symbol.
2983         * testsuite/22_locale/money_get_members_char.cc: Add test05.
2984         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2986 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
2988         * testsuite/22_locale/operators.cc
2989         (gnu_collate::do_compare()): Add return statement to
2990         suppress "no return statement" warning.
2992 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
2994         * testsuite/27_io/ostream_manip.cc: Enable test02.
2996 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
2998         * docs/html/documentation.html:  Update for 3.0.96.
2999         * docs/html/faq/index.html:  Update for 3.0.96.
3000         * docs/html/faq/index.txt:  Regenerated.
3001         * docs/doxygen/TODO:  Update notes.
3002         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
3004 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
3006         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3007         Initialize all data members in copy ctor. Make ctors explicit.
3008         (__enc_traits::__enc_traits()): Default ctor does nothing.
3009         (__enc_traits::_M_init): Guard against multiple iconv_opens.
3010         * include/std/std_sstream.h (basic_stringbuf): Make data members
3011         protected.
3012         * include/std/std_fstream.h (basic_filebuf): Same.
3013         * include/std/std_streambuf.h: Tweak.
3014         * include/bits/streambuf.tcc: Same.
3015         * include/bits/sstream.tcc: Same.
3016         * include/bits/fstream.tcc: Same.
3018 2002-01-31  Loren Rittle <ljrittle@acm.org>
3020         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3021         allow NULL argument to be passed to setenv().
3022         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3023         * testsuite/22_locale/collate_members_char.cc: Likewise.
3024         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3025         * testsuite/22_locale/ctype_members_char.cc: Likewise.
3026         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3027         * testsuite/22_locale/messages_members_char.cc: Likewise.
3028         * testsuite/22_locale/money_get_members_char.cc: Likewise.
3029         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3030         * testsuite/22_locale/money_put_members_char.cc: Likewise.
3031         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3032         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3033         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3034         * testsuite/22_locale/num_get_members_char.cc: Likewise.
3035         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3036         * testsuite/22_locale/num_put_members_char.cc: Likewise.
3037         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3038         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3039         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3040         * testsuite/22_locale/time_get_members_char.cc: Likewise.
3041         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3042         * testsuite/22_locale/time_put_members_char.cc: Likewise.
3043         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3045 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
3047         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3049         * ChangeLog-2001: Fix spelling errors...
3050         * docs/html/17_intro/RELEASE-NOTES: Update.
3051         * docs/html/17_intro/TODO: Update.
3052         * README (file): Update.
3054 2002-01-30  Loren Rittle <ljrittle@acm.org>
3056         * config/locale/c_locale_generic.cc: Check errno for ERANGE
3057         instead of non-zero to aid portability.
3059 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3061         * docs/html/22_locale/messages.html: Fix example code.
3063 2002-01-30  Richard Henderson  <rth@redhat.com>
3065         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3066         out from test03 and templatize.
3067         (test03): Use it.
3069 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3071         * config/locale/numpunct_members_gnu.cc
3072         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3073         Fix initialization of _M_grouping for locales which have
3074         _M_thousands_sep == '\0'(L'\0', respectively).
3075         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3077 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3079         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3080         Better fix for 32/64 bit architectures, avoiding the
3081         implicit assumption that CHAR_BIT == 8.
3083 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
3085         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
3086         * Makefile.in:  Regenerate.
3088         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
3089         * docs/doxygen/Intro.3:  Update.
3090         * docs/doxygen/TODO:  Update.
3091         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
3092         * docs/doxygen/mainpage.doxy:  Update.
3093         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
3094         regenerate comments and variables with 1.2.12.
3095         * docs/doxygen/maint.cfg.in:  Remove file.
3097         * include/bits/stl_relops.h:  Doxygenate.
3098         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
3100         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3101         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3102         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3103         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3104         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3105         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3106         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3107         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3108         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3109         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3110         include/ext/hash_set, include/ext/iterator, include/ext/memory,
3111         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3112         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3113         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3114         include/std/std_algorithm.h, include/std/std_bitset.h,
3115         include/std/std_complex.h, include/std/std_deque.h,
3116         include/std/std_fstream.h, include/std/std_functional.h,
3117         include/std/std_iomanip.h, include/std/std_ios.h,
3118         include/std/std_iosfwd.h, include/std/std_iostream.h,
3119         include/std/std_istream.h, include/std/std_iterator.h,
3120         include/std/std_limits.h, include/std/std_list.h,
3121         include/std/std_locale.h, include/std/std_map.h,
3122         include/std/std_memory.h, include/std/std_numeric.h,
3123         include/std/std_ostream.h, include/std/std_queue.h,
3124         include/std/std_set.h, include/std/std_sstream.h,
3125         include/std/std_stack.h, include/std/std_stdexcept.h,
3126         include/std/std_streambuf.h, include/std/std_string.h,
3127         include/std/std_utility.h, include/std/std_valarray.h,
3128         include/std/std_vector.h:  Add/correct @file doxygen hook.
3130         * include/ext/memory:  Doxygenate most of rest of file.
3131         * libsupc++/exception:  Doxygen output formatting.
3132         * libsupc++/new:  Say which header it is.
3134         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
3135         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
3136         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
3137         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
3139 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3140             Charles Leggett <CGLeggett@lbl.gov>
3142         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3144 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3146         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3147         Fix to deal correctly with both 32 bit and 64 bit architectures
3149 2002-01-25  Loren Rittle <ljrittle@acm.org>
3151         * testsuite/thread/pthread1.cc: Use one condition variable
3152         per predicate instead of tricky use of one condition variable.
3154 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3156         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3157         streams.
3158         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3159         * testsuite/27_io/filebuf.cc: Compile only.
3160         * testsuite/27_io/filebuf_members.cc: Move tests to here.
3161         * testsuite/27_io/filebuf_virtuals.cc: And here.
3162         Revert sungetc, sync changes for expected values.
3163         * testsuite/27_io/filebuf-*: Move to...
3164         * testsuite/27_io/filebuf_virtuals-*: ...here.
3165         * testsuite/27_io/istream.cc: Compile only, activate.
3166         * testsuite/27_io/ostream.cc: Same.
3167         * testsuite/27_io/iostream.cc: New.
3168         * testsuite/27_io/iostream_members.cc: New.
3170 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
3172         * testsuite/thread/pthread1.cc: Enable on cygwin.
3173         * testsuite/thread/pthread2.cc: Likewise.
3174         * testsuite/thread/pthread3.cc: Likewise.
3175         * testsuite/thread/pthread4.cc: Likewise.
3176         * testsuite/thread/pthread5.cc: Likewise.
3177         * testsuite/thread/pthread6.cc: Likewise.
3179 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3181         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3183 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3185         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3186         const, tweak.
3187         (basic_ios::fill(char_type)): Use fill().
3188         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3189         (basic_ios::narrow): Same.
3190         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3191         if they are invalid.
3192         (basic_ios::init): Comment.
3193         * testsuite/27_io/ios_init.cc (test02): New.
3195 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
3197         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
3198         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
3199         * include/ext/memory:  Do not include stl_tempbuf.h.
3200         (temporary_buffer):  Add doxygen hook.
3201         (__get_temporary_buffer, get_temporary_buffer,
3202         return_temporary_buffer):  Move back to std:: header...
3203         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
3204         * include/ext/rope:  Do not include stl_tempbuf.h.
3205         * include/ext/stl_hashtable.h:  Likewise.
3206         * include/std/std_algorithm.h:  Likewise.
3207         * testsuite/20_util/temporary_buffer.cc:  New file.
3209 2002-01-24  andrew@andypo.net
3210             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
3212         libstdc++/5432
3213         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3214         * include/bits/localefwd.h: Likewise.
3215         Also use for std::locale::id::_S_highwater.
3216         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3217         * src/locale.cc: Support new usage of _Atomic_word.
3218         (std::locale::classic): Guard entire function against reentry.
3219         * src/localename.cc: Support new usage of _Atomic_word.
3221 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
3223         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3224         _GLIBCPP_HAVE_SETENV.
3225         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3226         * testsuite/22_locale/collate_members_char.cc (test02): Same.
3227         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3228         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3229         * testsuite/22_locale/messages_members_char.cc (test02): Same.
3230         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3231         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3232         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3233         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3234         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3235         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3236         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3237         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3238         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3239         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3240         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3241         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3242         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3243         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3244         * aclocal.m4: Regenerate.
3245         * configure: Regenerate.
3246         * config.h.in: Regenerate.
3248 2002-01-23  Loren Rittle <ljrittle@acm.org>
3250         * testsuite/thread/pthread1.cc: New test.
3251         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3252         * testsuite/thread/pthread3.cc: Likewise.
3253         * testsuite/thread/pthread4.cc: New test adapted from
3254         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3255         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3256         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3258 2002-01-23  Richard Henderson  <rth@redhat.com>
3260         PR libstdc++/5198
3261         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3262         CAS on the cpu variants that support it.  Add versions that use
3263         TAS and that disable interrupts.
3264         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3266 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
3268         * include/bits/locale_facets.tcc: Remove old comments.
3270 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
3272         * include/bits/locale_facets.tcc (__convert_to_v): Change template
3273         parameter to _Tv.
3274         (__convert_from_v): Same.
3276 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3278         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3279         prototype.
3280         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3281         __max_digits checks, adjust arguments.
3282         (num_get::do_get(*)): Changeup.
3284 2002-01-23  Loren Rittle <ljrittle@acm.org>
3286         * config/locale/c_locale_generic.cc: Fix typename usage.
3288 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3290         * config/locale/c_locale_generic.cc: Fix.
3292 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3294         * docs/html/22_locale/messages.html: Remove angle brackets.
3295         * docs/html/17_intro/TODO: Add.
3297 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
3299         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3300         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3301         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3302         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3304 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3306         Audit for LANG independence.
3307         * include/bits/localefwd.h: Tweaks.
3308         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3309         Use __convert_to_v.
3310         (time_get::do_get_year): Same.
3311         (__convert_from_v): Add.
3312         (num_put::_M_convert_float): Use.
3313         (num_put::_M_convert_int): Same.
3314         (money_put::do_put): Same.
3316         * src/locale-inst.cc: Add instantiations for __convert_from_v.
3317         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3318         * config/locale/time_members_generic.cc:
3319         * config/locale/messages_members_gnu.cc: Same.
3320         * config/locale/messages_members_gnu.h: Same.
3322         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3323         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3324         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3325         * testsuite/22_locale/collate_members_char.cc (test02): New.
3326         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3327         * testsuite/22_locale/ctype_members_char.cc (test03): New.
3328         * testsuite/22_locale/messages_members_char.cc (test02): New.
3329         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3330         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3331         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3332         * testsuite/22_locale/money_get_members_char.cc (test04): New.
3333         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3334         * testsuite/22_locale/money_put_members_char.cc (test04): New.
3335         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3336         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3337         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3338         * testsuite/22_locale/time_put_members_char.cc (test03): New.
3339         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3340         * testsuite/22_locale/time_get_members_char.cc (test07): New.
3341         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3342         * testsuite/22_locale/num_get_members_char.cc (test03): New.
3343         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3344         * testsuite/22_locale/num_put_members_char.cc (test03): New.
3346         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3347         locale issues.
3348         * testsuite/22_locale/time_get_members_char.cc: Same.
3350 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3352         libstdc++/5280
3353         * include/bits/localefwd.h: Tweak comments.
3354         * include/bits/locale_facets.h (__convert_to_v): Add.
3355         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3356         (num_get::do_get(float)): Same.
3357         (num_get::do_get(long double)): Same.
3358         (num_get::do_get(bool)): Same.
3359         (num_get::do_get(long)): Same.
3360         (num_get::do_get(long long)): Same.
3361         (num_get::do_get(unsigned int)): Same.
3362         (num_get::do_get(unsigned short)): Same.
3363         (num_get::do_get(unsigned long)): Same.
3364         (num_get::do_get(unsigned long long)): Same.
3365         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3366         * config/locale/c_locale_generic.cc: Same.
3368 2002-01-22  Loren Rittle <ljrittle@acm.org>
3370         * include/Makefile.am (c_base_builddir): Remove redundant slash.
3371         (std_builddir): Likewise.
3372         (std_headers_rename): Fix cut-n-paste typo.
3373         (install-data-local): Concat path per element instead of once to
3374         first element of list.
3375         * include/Makefile.in: Rebuilt.
3377 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3379         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3380         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3381         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3383 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3385         * include/bits/locale_facets.h (ctype<char>::classic_table):
3386         Remove definition.
3387         (ctype<char>::_S_ctable): Remove.
3388         * config/os/gnu-linux/bits/ctype_noninline.h
3389         (ctype<char>::_S_table): Remove definition.
3390         (ctype<char>::classic_table): Define.
3391         (ctype<char>::ctype): Replace _S_ctable with classic_table().
3392         * config/os/aix/bits/ctype_noninline.h: Same.
3393         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3394         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3395         * config/os/djgpp/bits/ctype_noninline.h: Same.
3396         * config/os/generic/bits/ctype_noninline.h: Same.
3397         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3398         * config/os/hpux/bits/ctype_noninline.h: Same.
3399         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3400         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3401         * config/os/mingw32/bits/ctype_noninline.h: Same.
3402         * config/os/newlib/bits/ctype_noninline.h: Same.
3403         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3404         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3405         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3407 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
3409         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3410         of _pctype. Use to define _S_ctable.  Add definition for alternate
3411         ctor.  Initialise _M_ctable to _S_ctable in ctors.
3412         (do_toupper, do_tolower): Use inline code appropriate for C-locale
3413         rather than ::toupper, ::tolower.
3415 2002-01-18  Loren Rittle <ljrittle@acm.org>
3417         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3418         Add specialization for FreeBSD systems only to avoid losing test
3419         only due to extra precision unmentioned in system headers.
3421 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
3423         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3425 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
3427         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
3428         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3430 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3432         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3434 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
3436         * configure.target: Define OPT_LDFLAGS for AIX case.
3438 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3440         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3441         __glibcpp_double_has_quiet_NaN): Correct mispelling.
3443 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
3445         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3447 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
3449         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3450         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
3451         * aclocal.m4: Regenerate.
3452         * configure: Regenerate.
3454 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3456         * include/Makefile.am (c_base_headers_rename): New.
3457         (c_base_headers_extra): New.
3458         (stamp-c_base): Modify.
3459         (install-data-local): Use both.
3460         * include/Makefile.in: Regenerate.
3461         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3462         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3463         cstdio ctime cwctype]: Move to..
3464         * include/c/std_*: Here.
3465         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3466         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3467         cstdio ctime cwctype]: Move to..
3468         * include/c_std/std_*: Here.
3470         Alexandre Oliva  <aoliva@redhat.com>
3471         * include/Makefile.am (.PRECIOUS): Add rule.
3472         * include/Makefile.in: Regenerate.
3474 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3475             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3477         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3478         Deuglify, should be current.
3479         (back_insert_iterator::_M_container): Deuglify, should be container.
3480         (front_insert_iterator::_M_container): Same.
3481         (insert_iterator::_M_container): Same.
3482         * testsuite/24_iterators/reverse_iterator.cc: Add check.
3483         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3484         * testsuite/24_iterators/front_insert_iterator.cc: Same.
3485         * testsuite/24_iterators/insert_iterator.cc: Same.
3487 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3489         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3490         static.
3491         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3492         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3493         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3494         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3495         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3496         * config/os/newlib/bits/ctype_noninline.h: Same.
3497         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3498         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3499         * config/os/hpux/bits/ctype_noninline.h: Same.
3500         * config/os/djgpp/bits/ctype_noninline.h: Same.
3501         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3502         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3503         * config/os/aix/bits/ctype_noninline.h: Same.
3505         Testcase by Dietmar Kühl via Peter Schmid
3506         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3507         classic_table().
3509 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
3511         * libmath/signbitl.c: Copyright years as list, not range.
3512         * libmath/Makefile.am: Same.
3513         * libmath/Makefie.in: Regenerate.
3514         * libmath/signbit.c: Same.
3515         * libmath/nan.c: Same.
3516         * libmath/copysignf.c: Same.
3517         * libmath/signbitf.c: Same.
3518         * testsuite/22_locale/money_get_members_char.cc: Same.
3519         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3520         * testsuite/22_locale/money_put_members_char.cc: Same.
3521         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3522         * testsuite/22_locale/time_get_members_char.cc: Same.
3523         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3524         * testsuite/22_locale/time_put_members_char.cc: Same.
3525         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3526         * testsuite/21_strings/nonmember.cc: Same.
3527         * testsuite/21_strings/compare.cc: Same.
3528         * testsuite/27_io/stringstream.cc: Same.
3529         * testsuite/27_io/stringbuf.cc: Same.
3530         * testsuite/27_io/filebuf.cc: Same.
3531         * testsuite/27_io/ios_manip_basefield.cc: Same.
3532         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3533         * include/bits/cpp_type_traits.h: Same.
3534         * include/bits/generic_shadow.h: Same.
3535         * include/bits/gslice_array.h: Same.
3536         * include/bits/gslice.h: Same.
3537         * include/bits/indirect_array.h: Same.
3538         * include/bits/slice_array.h: Same.
3539         * include/bits/sstream.tcc: Same.
3540         * include/bits/streambuf_iterator.h: Same.
3541         * include/bits/valarray_array.tcc: Same.
3542         * include/bits/valarray_meta.h: Same.
3543         * include/bits/valarray_array.h: Same.
3544         * config/os/mingw32/bits/ctype_noninline.h: Same.
3545         * config/os/mingw32/bits/ctype_base.h: Same.
3546         * config/os/hpux/bits/ctype_noninline.h: Same.
3547         * config/os/hpux/bits/ctype_base.h: Same.
3548         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3549         * config/os/gnu-linux/bits/ctype_base.h: Same.
3550         * config/os/generic/bits/ctype_noninline.h: Same.
3551         * config/os/generic/bits/ctype_base.h: Same.
3553         * libsupc++/tinfo.h: Tweaks.
3555 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3557         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3558         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3559         * testsuite/22_locale/ctype_members_char.cc: Tweak.
3561 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3563         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3564         (num_put::do_put(void*)): Fix.
3565         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3566         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3567         * testsuite/22_locale/num_get_members_char.cc (test02): Add
3568         long double, void, bool types.
3569         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3571 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
3572             Alexandre Oliva  <aoliva@redhat.com>
3574         * libmath/Makefile.am (LINK): Add --tag CC.
3575         * libmath/Makefile.in: Regenerate.
3577 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3579         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3580         of character to attribute mapping table.
3582 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
3584         * testsuite/26_numerics/c99_classification_macros_c.cc
3585         Remove dg-error and dg-excess-errors comments.
3587 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3589         * include/bits/locale_facets.tcc (time_put::put): Correct output
3590         iterator positions.
3591         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3592         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3593         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3594         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3596 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3598         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3600 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
3601             Nathan Myers  <ncm@cantrip.org>
3603         * include/bits/basic_string.h
3604         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3605         temporaries (i.e., call _M_replace_safe) when possible.
3606         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3607         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3608         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3609         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3610         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3611         * include/bits/basic_string.tcc
3612         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3613         replace(__pos, __n1, __s, __n2).
3614         * testsuite/21_strings/replace.cc (test03): New testcases.
3616         * include/bits/basic_string.h (insert(__pos, __s, __n)):
3617         Adjust comparison wrt overflow.
3619 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3621         * include/Makefile.am (std_headers_rename): New variable.
3622         (install-data-local): Use it.
3623         * include/Makefile.in: Regenerate.
3625 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3627         * include/bits/locale_facets.tcc (money_put::do_put(string):
3628         Correct output iterator value.
3629         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3630         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3632 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3634         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
3635         previous commit.
3637 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
3639         * include/Makefile.am (std_headers):  Update list with new names.
3640         (stamp-std):  Link to standardized name.
3641         * include/Makefile.in:  Regenerate.
3643         * include/std/algorithm, include/std/bitset, include/std/complex,
3644         include/std/deque, include/std/fstream, include/std/functional,
3645         include/std/iomanip, include/std/ios, include/std/iosfwd,
3646         include/std/iostream, include/std/istream, include/std/iterator,
3647         include/std/limits, include/std/list, include/std/locale,
3648         include/std/map, include/std/memory, include/std/numeric,
3649         include/std/ostream, include/std/queue, include/std/set,
3650         include/std/sstream, include/std/stack, include/std/stdexcept,
3651         include/std/streambuf, include/std/string, include/std/utility,
3652         include/std/valarray, include/std/vector:  Rename to...
3654         * include/std/std_algorithm.h, include/std/std_bitset.h,
3655         include/std/std_complex.h, include/std/std_deque.h,
3656         include/std/std_fstream.h, include/std/std_functional.h,
3657         include/std/std_iomanip.h, include/std/std_ios.h,
3658         include/std/std_iosfwd.h, include/std/std_iostream.h,
3659         include/std/std_istream.h, include/std/std_iterator.h,
3660         include/std/std_limits.h, include/std/std_list.h,
3661         include/std/std_locale.h, include/std/std_map.h,
3662         include/std/std_memory.h, include/std/std_numeric.h,
3663         include/std/std_ostream.h, include/std/std_queue.h,
3664         include/std/std_set.h, include/std/std_sstream.h,
3665         include/std/std_stack.h, include/std/std_stdexcept.h,
3666         include/std/std_streambuf.h, include/std/std_string.h,
3667         include/std/std_utility.h, include/std/std_valarray.h,
3668         include/std/std_vector.h:  ...this.
3670 2002-01-11  Loren Rittle <ljrittle@acm.org>
3672         * include/Makefile.am (extra_target_headers): New list of all
3673         target files built with ad hoc naming rules.
3674         (stamp-*): Handle LN_S failure in manner portable across make
3675         implementations.
3676         (install-data-local): Install header files from human-maintained
3677         file lists and directory components instead of non-robust find.
3678         * include/Makefile.in: Rebuilt.
3680 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
3682         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3683         Check for zero-length negative sign before adding it to output
3684         string.
3685         (money_get::do_get(long double)): Return beg.
3686         * testsuite/22_locale/money_get_members_char.cc (test02): Add
3687         iterator checks.
3688         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3690 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
3692         libstdc++/5331
3693         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3694         for _M_extract_float and _M_extract_int
3695         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3696         (num_get<>::_M_extract_int): Likewise, all callers changed
3697         * testsuite/22_locale/num_get_members_char.cc: Testcase
3699 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3701         * libsupc++/exception (bad_exception): Add comment.
3702         * libsupc++/new (bad_alloc): Same.
3703         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3705 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
3707         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3708         that the destructors should be removed from the descriptions
3709         in the standard: writing them explicitly allows the vtable
3710         heuristic to work. For additional information see:
3711         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3712         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3713         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3714         * libsupc++/exception (bad_exception::~bad_exception()):
3715         Reintroduce declaration.
3716         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3717         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3718         (bad_typeid::~bad_typeid()): Same.
3719         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3720         Reintroduce definition.
3721         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3722         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3723         (bad_typeid::~bad_typeid()): Same.
3725 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3727         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3728         * include/Makefile.in: Regenerate.
3730 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
3732         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3733         definition.
3735 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
3737         libstdc++/2913
3738         libstdc++/4879
3739         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3740         return value of _M_file->sync().
3741         (filebuf::showmanyc): Check for is_open.
3742         * include/std/fstream (filebuf::sync): Tweak.
3743         * testsuite/27_io/filebuf.cc: Tweak.
3745 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
3746             Brad Garcia  <garsh@attbi.com>
3748         * testsuite/27_io/filebuf_members.cc: Add test.
3750 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3751             Craig Rodrigues  <rodrigc@mediaone.net>
3753         libstdc++/5174
3754         * po/Makefile.am (mkinstalldirs): Add.
3755         * po/Makefile.in: Regenerate.
3757 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
3759         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3760         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
3761         compiler output.
3762         * testsuite/23_containers/map_operators.cc: Remove
3763         dg-excess-errors comment.
3764         * testsuite/23_containers/set_operators.cc: Likewise.
3766 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
3768         * include/bits/stl_function.h:  Remove two lines of comments;
3769         adjust copyright years.
3771 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
3773         * include/Makefile.am (std_headers): Remove cXXX from list.
3774         (c_base_srcdir): No bits subdirectory.
3775         (c_base_builddir): Same.
3776         (c_base_headers): Adjust names, add ciso646.
3777         (bits_headers): Remove std_xxx.h headers.
3778         * include/Makefile.in: Regenerate.
3780         * include/ext/iterator: Adjust includes.
3781         * include/ext/ropeimpl.h: Same.
3782         * include/ext/stl_hash_fun.h: Same.
3783         * include/ext/algorithm: Same.
3785         * include/backward/bvector.h: Adjust includes.
3786         * include/backward/vector.h: Same.
3787         * include/backward/strstream: Same.
3788         * include/backward/streambuf.h: Same.
3789         * include/backward/stack.h: Same.
3790         * include/backward/set.h: Same.
3791         * include/backward/queue.h: Same.
3792         * include/backward/multiset.h: Same.
3793         * include/backward/multimap.h: Same.
3794         * include/backward/map.h: Same.
3795         * include/backward/list.h: Same.
3796         * include/backward/iterator.h: Same.
3797         * include/backward/iostream.h: Same.
3798         * include/backward/iomanip.h: Same.
3799         * include/backward/fstream.h: Same.
3800         * include/backward/deque.h: Same.
3801         * include/backward/complex.h: Same.
3803         * include/bits/std_algorithm.h: Move to...
3804         * include/std/algorithm: ...here.
3805         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3806         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3807         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3808         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3809         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3810         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3811         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3812         Same.
3814         * include/c_std/bits/std_cassert.h: Move to...
3815         * include/c_std/cassert: Here.
3816         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3817         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3818         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3819         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3820         std_cwctype.h: Same.
3821         * include/c_std/cmath: Adjust cmath.tcc include.
3822         * include/c_std/cstdlib: Adjust includes.
3823         * include/c_std/cwchar: Same.
3824         * include/c_std/ctime: Same.
3825         * include/c_std/cstring: Same.
3826         * include/c_std/cstdio: Same.
3827         * include/c_std/bits: Remove directory.
3829         * include/c/bits/std_cassert.h: Move to...
3830         * include/c/cassert: Here.
3831         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3832         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3833         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3834         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3835         std_cwctype.h: Same.
3836         * include/c/bits: Remove directory.
3838         * include/std/cwctype: Remove.
3839         * include/std/cwchar: Remove.
3840         * include/std/ctime: Remove.
3841         * include/std/cstring: Remove.
3842         * include/std/cstdlib: Remove.
3843         * include/std/cstdio: Remove.
3844         * include/std/cstddef: Remove.
3845         * include/std/cstdarg: Remove.
3846         * include/std/csignal: Remove.
3847         * include/std/csetjmp: Remove.
3848         * include/std/cmath: Remove.
3849         * include/std/clocale: Remove.
3850         * include/std/climits: Remove.
3851         * include/std/ciso646: Remove.
3852         * include/std/cfloat: Remove.
3853         * include/std/cerrno: Remove.
3854         * include/std/cctype: Remove.
3855         * include/std/cassert: Remove.
3857         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3858         files and subsituting <xxx>.
3859         * include/bits/valarray_array.h: Same.
3860         * include/bits/stl_uninitialized.h: Same.
3861         * include/bits/stl_alloc.h: Same.
3862         * include/bits/stl_algobase.h: Same.
3863         * include/bits/sstream.tcc: Same.
3864         * include/bits/pthread_allocimpl.h: Same.
3865         * include/bits/ostream.tcc: Same.
3866         * include/bits/localefwd.h: Same.
3867         * include/bits/locale_facets.tcc: Same.
3868         * include/bits/locale_facets.h: Same.
3869         * include/bits/istream.tcc: Same.
3870         * include/bits/char_traits.h: Same.
3871         * include/bits/boost_concept_check.h: Same.
3872         * include/bits/basic_file.h: Same.
3873         * include/std/bitset: Same.
3874         * include/std/complex: Same.
3875         * include/std/fstream: Same.
3876         * include/std/functional: Same.
3877         * include/std/ios: Same.
3878         * include/std/iostream: Same.
3879         * include/std/ostream: Same.
3880         * include/std/sstream: Same.
3881         * include/std/streambuf: Same.
3882         * include/std/string: Same.
3883         * include/std/iterator: Same.
3884         * include/std/valarray: Same.
3886         * src/ios.cc: Adjust includes.
3887         * src/valarray-inst.cc: Same.
3888         * src/string-inst.cc: Same.
3889         * src/stl-inst.cc: Same.
3890         * src/stdexcept.cc: Same.
3891         * src/misc-inst.cc: Same.
3892         * src/localename.cc: Same.
3893         * src/locale-inst.cc: Same.
3894         * src/locale.cc: Same.
3895         * src/limits.cc: Same.
3896         * src/concept-inst.cc: Same.
3897         * src/complex_io.cc: Same.
3898         * src/codecvt.cc: Same.
3899         * src/bitset.cc: Same.
3900         * src/cmath.cc: Same.
3902 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
3904         * include/bits/stl_tree.h (rb_tree):  Move to...
3905         * include/ext/rb_tree:  ...here, new file.
3906         * include/Makefile.am (ext_headers):  Add new file.
3907         * include/Makefile.in:  Regenerate.
3908         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3909         return_temporary_buffer, struct temporary_buffer):  Move to...
3910         * include/ext/memory:  ...here.
3911         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
3912         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
3913         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
3915 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
3917         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
3918         * include/ext/numeric:  ...here, new file.
3919         * include/bits/stl_function.h (identity_element, unary_compose,
3920         binary_compose, compose1, compose2, identity, select1st,
3921         select2nd, project1st + helper, project2nd + helper,
3922         constant_void_fun + helper, constant_unary_fun + helper,
3923         costant_binary_fun + helper, constant0, constant1, constant2,
3924         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
3925         * include/ext/functional:  ...here, new file.
3926         * include/Makefile.am (ext_headers):  Add new files.
3927         * include/Makefile.in:  Regenerate.
3928         * testsuite/ext/headers.cc:  Include <ext/numeric> and
3929         <ext/functional>.
3930         * include/backward/algo.h:  Include <ext/numeric>, tweak.
3931         * include/backward/function.h:  Include <ext/functional>, tweak.
3932         * include/ext/ropeimpl.h:  Include <ext/numeric>.
3934 2002-01-03  Jeffrey A Law  <law@redhat.com>
3936         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3937         __strtoull declarations with __extension__.
3939 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
3941         * testsuite/lib/prune.exp: Correct regular expression for
3942         -ffunction-sections
3944 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3946         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3947         Change concept checks, as with lower_bound and PR 2054.
3948         * testsuite/ext/concept_checks.cc:  Expand test to include those.
3950 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
3952         * include/bits/boost_concept_check.h:  Import some changes from
3953         upsteam (Boost) version.
3955 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
3957         * include/bits/stl_algobase.h (copy_n + helpers,
3958         lexicographical_compare_3way + helpers):  Move to...
3959         * include/ext/algorithm:  ...here.
3960         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3961         helpers):  Move to...
3962         * include/ext/memory:  ...here, new file.
3963         * include/Makefile.am (ext_headers):  Add new file.
3964         * include/Makefile.in:  Regenerate.
3965         * testsuite/ext/headers.cc:  Include <ext/memory>.
3966         * include/backward/algobase.h:  Include <ext/memory> and
3967         <ext/algorithm>, tweak.
3968         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
3969         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
3971 2002-01-01  Roger Sayle <roger@eyesopen.com>
3973         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3974         equivalent ___builtin__ versions.
3976         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3977         are available in libstdc++ as the necessary stub implementations
3978         are provided by libmath/stubs.c.
3980 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
3982         * configure.in: Add support for NetBSD cross compiles.
3983         * configure: Regenerate.