OSDN Git Service

2002-10-12 Jonathan Wakely <jw@kayari.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-10-12  Jonathan Wakely  <jw@kayari.org>
2             Gabriel Dos Reis  <gdr@integrable-solutions.net>
3
4         * docs/html/21_strings/howto.html#5:  Correct nasting of XHTML
5         elements.  Correct allocator-related text.
6
7 2002-10-11  Benjamin Kosnik  <bkoz@redhat.com>
8
9         * testsuite/22_locale/static_members.cc (test02): Fix.
10
11 2002-10-11  Benjamin Kosnik  <bkoz@redhat.com>
12
13         * acconfig.h (_GLIBCPP_SYMVER): Add.
14         (_GLIBCPP_ASM_SYMVER): Add.
15         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
16         * aclocal.m4: Regenerate.
17         * config.h.in: Regenerate.
18         * configure: Regenerate.
19         * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
20         hack around m4 issues with quoting '@'.
21         * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
22         * src/globals.cc: Same.
23         
24         * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
25         non-glibc systems.
26
27 2002-10-10  Benjamin Kosnik  <bkoz@redhat.com>
28
29         * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
30         (GLIBCPP_3.2): Don't export locale::_S_*. 
31         * src/ios.cc: Move globals into __gnu_cxx. Make old exported
32         symbols match.
33         * src/locale.cc: Same.
34         * src/localename.cc: Same.      
35         * src/globals.cc: Same. 
36
37 2002-10-10  Phil Edwards  <pme@gcc.gnu.org>
38
39         * docs/html/21_strings/howto.html:  Write #5, char_traits.
40         * docs/html/17_intro/porting.texi:  Expand on os_include_dir.
41         * docs/html/17_intro/porting.html:  Regenerate.
42
43 2002-10-09  Benjamin Kosnik  <bkoz@redhat.com>  
44
45         * src/locale.cc: Fix comments, move ctors together.
46         * testsuite/22_locale/static_members.cc (test03): Add.
47
48 2002-10-08  Jonathan Lennox  <lennox@cs.columbia.edu>
49
50         PR libstdc++/8071, libstdc++/8127, libstdc++/6745
51         * streambuf.tcc (__copy_streambufs): Handle cases where
52         __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
53         * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
54         
55 2002-10-08  Paolo Carlini  <pcarlini@unitus.it>
56             Benjamin Kosnik  <bkoz@redhat.com>  
57
58         * include/bits/localefwd.h (class locale): Add static member
59         _S_num_extra_categories, encoding the number of additional
60         categories.
61         Change _S_num_categories to _S_categories_size.
62         (class locale::_Impl): Add _M_c_cats.
63         (class locale::_Impl::_M_names): Change to array of chars.
64         (class locale::_Impl::_M_check_same_name): Use
65         _S_extra_categories_size, tweak.
66         (locale::locale(const locale&, _Facet*)): Ditto.
67         * src/locale.cc (locale::locale(const char* )): Rewrite to deal
68         with the environment in a POSIX-compliant way while being thread
69         safe.
70         (locale::name()): Update to output POSIX environment strings.
71         * src/localename.cc
72         (locale::_Impl::_Impl(const _Impl&, size_t): Use
73         _S_categories_size_*, tweak.
74         (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
75         (locale::_Impl::_Impl(const char*, size_t)): Name each category
76         individually.
77         (locale::_Impl::_M_replace_categories): Use strcpy.
78
79         * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
80         Change default argument to NULL from _S_c_locale.
81         (timepunct::_M_initialize_timepunct): Same.
82         _S_c_locale cleanups.
83         * src/codecvt.c: _S_c_locale simplification.
84         * src/ctype.c: Same.
85         * src/globals.cc: Add fake_name.
86         * src/locale-inst.cc: Remove extra includes.    
87         * src/locale.cc: Remove extra includes.
88         Add _S_extra_categories_size definition.
89         Correct "C" initialization.
90         (locale::facet::facet): Don't initialize _S_c_locale.
91         (locale::facet::_M_remove_reference): Adjust.
92         * src/localename: Use facet_vec, facet_name.
93         (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
94         facet ref counts to one. Initialize _S_c_locale.
95         (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
96         counts when installing unilaterally.
97
98         * config/locale/generic/c_locale.cc: Add _S_categories definition.
99         * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
100         * config/locale/generic/time_members.cc: _S_c_locale cleanup.
101         
102         * config/locale/gnu/c_locale.cc: Add _S_categories definition.
103         (_S_destroy_c_locale): Move checks against _S_c_locale here.
104         * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
105         * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
106         calls, _S_c_locale usage.
107         * config/locale/gnu/monetary_members.cc: Same, tweaks.
108         * config/locale/gnu/monetary_members.cc: Same.
109         * config/locale/gnu/time_members.cc: Same.      
110         * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
111
112         * docs/html/22_locale/locale.html: Add bits about global locales
113         and "C" setlocale.
114
115         * testsuite/22_locale/facet.cc (test02): Add.
116         * testsuite/22_locale/static_members.cc (test02): Add.
117         * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
118
119 2002-10-07  Jonathan Wakely  <jw@kayari.org>
120
121         * docs/html/configopts.html, docs/html/documentation.html,
122         docs/html/explanations.html, docs/html/install.html,
123         docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
124         docs/html/17_intro/license.html, docs/html/18_support/howto.html,
125         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
126         docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
127         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
128         docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
129         docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
130         docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
131         docs/html/27_io/howto.html, docs/html/ext/howto.html,
132         docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Add DOCTYPEs.
133
134 2002-10-03  Richard Earnshaw  <rearnsha@arm.com>
135
136         PR libstdc++/3584
137         * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
138         ASM sequences that don't give us atomic addition operations.  Instead
139         just add a comment explaining why it doesn't work.
140         (__atomic_add): Just use __exchange_and_add.
141         (__test_and_set, __always_swap): Delete.
142
143 2002-10-02  Andreas Jaeger  <aj@suse.de>
144
145         * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
146         New file.
147
148 2002-10-01  Phil Edwards  <pme@gcc.gnu.org>
149
150         * Makefile.am (check-abi):  Add @ to rule.
151         * Makefile.in:  Regenerated.
152
153 2002-09-27  Paolo Carlini  <pcarlini@unitus.it>
154
155         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
156         Deal correctly with grouped, showbased (oct or hex) zero.
157         * testsuite/22_locale/num_put_members_char.cc: Add test05.
158         * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
159
160 2002-09-27  Richard Henderson  <rth@redhat.com>
161
162         * config/os/hpux/cpu_limits.h: Remove.
163
164         * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
165         if denormals are not supported.
166
167 2002-09-25  Benjamin Kosnik  <bkoz@redhat.com>
168
169         * include/Makefile.am (target_headers): Remove cpu_limits.h.
170         * include/Makefile.in: Regenerate.
171         * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
172         * configure: Regenerate.
173         * configure.target (CPULIMITS): Remove.
174
175         * include/std/std_limits.h: Remove cpu_limits.h include.
176
177         * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
178         Remove.
179         * config/os/irix/irix6.5/os_defines.h
180         (__glibcpp_long_double_bits): Remove.
181         (__glibcpp_wchar_t_bits): Remove.
182         (__glibcpp_long_bits): Remove.
183         * config/os/irix/irix5.2/os_defines.h
184         (__glibcpp_long_double_bits): Remove.
185         (__glibcpp_long_bits): Remove.
186         * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
187         * config/os/bsd/freebsd/os_defines.h: 
188         (__glibcpp_long_double_bits): Remove.
189         * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
190         (__glibcpp_wchar_t_is_signed): Remove.
191         (__glibcpp_long_bits): Remove.
192         * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
193         (__glibcpp_long_double_bits): Remove.
194
195         * config/os/osf/osf5.0/cpu_limits.h: Remove.
196         * config/cpu/alpha/cpu_limits.h: Remove.
197         * config/cpu/arm/cpu_limits.h: Remove.
198         * config/cpu/cris/cpu_limits.h: Remove.
199         * config/cpu/generic/cpu_limits.h: Remove.
200         * config/cpu/generic/limits.h: Remove.          
201         * config/cpu/ia64/cpu_limits.h: Remove.
202         * config/cpu/m68k/cpu_limits.h: Remove. 
203         * config/cpu/mmix/cpu_limits.h: Remove.         
204         * config/cpu/powerpc/cpu_limits.h: Remove.                      
205         * config/cpu/S390/cpu_limits.h: Remove.
206         
207 2002-09-25  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
208
209         * testsuite/18_support/numeric_limits.cc: Check the maximum and
210         minimum values of the wchar_t type.
211
212 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
213
214         * include/std/std_limits.h (numeric_limits<unsigned char>::digits): 
215         Fix typo.
216         
217 2002-09-23  Richard Henderson  <rth@redhat.com>
218
219         * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
220         __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
221         __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
222         __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
223         __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
224         __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
225         __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
226         __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
227         __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
228         __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
229         __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
230         __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
231         __glibcpp_bool_digits, __glibcpp_signed_char_min,
232         __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
233         __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
234         __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
235         __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
236         __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
237         __glibcpp_signed_short_min, __glibcpp_signed_short_max,
238         __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
239         __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
240         __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
241         __glibcpp_signed_int_min, __glibcpp_signed_int_max,
242         __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
243         __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
244         __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
245         __glibcpp_signed_long_min, __glibcpp_signed_long_max,
246         __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
247         __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
248         __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
249         __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
250         __glibcpp_wchar_t_digits10): Remove.
251         (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
252         (__float_storage, __double_storage, __long_double_storage): Remove.
253         (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
254         (__glibcpp_digits, __glibcpp_digits10): New.
255         (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
256         (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
257         (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
258         (numeric_limits<T>::digits): Use __glibcpp_digits.
259         (numeric_limits<T>::digits10): Use __glibcpp_digits10.
260         * testsuite/18_support/numeric_limits.cc (test03): Don't use
261         __glibcpp_s8_digits10 et al; check vs the installed versions
262         of digits10 for particular sizes.
263
264         * include/std/std_limits.h (__glibcpp_float_is_modulo,
265         __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
266         (numeric_limits<T>::is_modulo, T floating): Use false.
267
268 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
269
270         * Makefile.am (all-multi): Fix multilib parallel build.
271
272 2002-09-22  Richard Henderson  <rth@redhat.com>
273
274         * include/std/std_limits.h (__glibcpp_f32_round_error,
275         __glibcpp_f64_round_error, __glibcpp_f80_round_error,
276         __glibcpp_f96_round_error, __glibcpp_f128_round_error,
277         __glibcpp_float_round_error, __glibcpp_double_round_error,
278         __glibcpp_long_double_round_error, __glibcpp_float_round_style,
279         __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
280         (numeric_limits<char>::epsilon, round_error): Use constant 0.
281         (numeric_limits<float>::round_error): Use constant 0.5.
282         (numeric_limits<float>::round_style): Use round_to_nearest.
283         (numeric_limits<double>, numeric_limits<long double>): Similarly.
284
285         * include/std/std_limits.h (__glibcpp_f32_is_iec559,
286         __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
287         __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
288         __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
289         __glibcpp_long_double_is_iec559): Remove.
290         (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
291         (numeric_limits<double>, numeric_limits<long double>): Similarly.
292
293         * include/std/std_limits.h (__glibcpp_integral_traps): New.
294         (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
295         __glibcpp_long_traps, __glibcpp_wchar_t_traps,
296         __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
297         __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
298         __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
299         __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
300         __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
301         __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
302         __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
303         __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
304         __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
305         __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
306         __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
307         (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
308         (numeric_limits<T>::is_modulo, T integral): Use true.
309         (numeric_limits<T>::is_bounded, T floating): Use true.
310
311 2002-09-18  Loren J. Rittle  <ljrittle@acm.org>
312
313         * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
314
315 2002-09-18  Richard Henderson  <rth@redhat.com>
316
317         * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
318
319 2002-09-16  Benjamin Kosnik  <bkoz@redhat.com>
320
321         * include/c_shadow: Remove.
322         * include/bits/generic_shadow.h: Remove.
323         * include/Makefile.am: Remove generic_shadow.h.
324         * acinclude.m4: Remove c_shadow references.
325         * aclocal.m4: Regenerate.
326         * configure: Regenerate.
327         * mkcshadow: Remove.
328         * mkinclosure: Remove.
329
330 2002-09-16  Loren J. Rittle  <ljrittle@acm.org>
331
332         libstdc++/7922
333         * include/ext/stl_rope.h (rope<>): Qualify dependent names
334         with `typename'.
335
336 2002-09-16  Richard Henderson  <rth@redhat.com>
337
338         * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
339         __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
340         __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
341         __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
342         __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
343         __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
344         __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
345         __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
346         __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
347         __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
348         __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
349         __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
350         __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
351         __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
352         __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
353         __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
354         __glibcpp_long_double_has_SNaN): Remove.
355         (__glibcpp_f128_is_iec559): True if IEEE.
356         (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
357         (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
358         (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
359         (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
360         (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
361         (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
362         (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
363         (std::numeric_limits<double>): Similarly.
364         (std::numeric_limits<long double>): Similarly.
365         * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
366         (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
367         (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
368
369         * testsuite/18_support/numeric_limits.cc (test_infinity): New.
370         (test_denorm_min, test_qnan, test_is_iec559): New.
371
372 2002-09-16  Phil Edwards  <pme@gcc.gnu.org>
373
374         * testsuite/abi_check.cc:  Pull shell fragments out into...
375         * config/abi/extract_symvers:  ...here.  New file.
376         * Makefile.am (check_abi):  Change to match.
377         (new-abi-baseline):  New target.
378         * Makefile.in:  Regenerated.
379
380 2002-09-16  Richard Henderson  <rth@redhat.com>
381
382         * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
383         __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
384         __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
385         __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
386         __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
387         __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
388         __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
389         __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
390         __glibcpp_long_double_has_denorm): Remove.
391         (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
392         __glibcpp_long_double_denorm_min): Remove.
393         (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
394         (std::numeric_limits<float>::denorm_min): Likewise.
395         (std::numeric_limits<double>): Similarly.
396         (std::numeric_limits<long double>): Similarly.
397         * src/limits.cc (__glibcpp_float_denorm_min,
398         __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
399
400 2002-09-13  Andy Felt  <afelt@uwsp.edu>
401
402         * docs/html/17_intro/howto.html:  Update link.
403
404 2002-09-13  Phil Edwards  <pme@gcc.gnu.org>
405
406         * docs/doxygen/run_doxygen:  Massage man page for Iterator_types.3.
407         * docs/html/faq/index.html:  Whitespace fixes.
408
409 2002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
410
411         * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
412         directory.
413         * libmath/Makefile.in: Regenerate.
414         * src/Makefile.am: Tweak comment.
415         * src/Makefile.in: Regenerate.
416         
417         * config/locale/gnu/c_locale.h: Remove warnings.
418         Inject __uselocale into __gnu_cxx.
419         * config/locale/generic/c_locale.h: Match.
420         
421 2002-09-11  Benjamin Kosnik  <bkoz@redhat.com>
422
423         * include/bits/locale_facets.tcc (__convert_from_v): Remove.
424         * config/locale/gnu/c_locale.h (__convert_from_v): Add.
425         * config/locale/generic/c_locale.h (__convert_from_v): Add.     
426
427 2002-09-11  Paolo Carlini  <pcarlini@unitus.it>
428
429         * include/bits/locale_facets.tcc (__convert_from_v):
430         Use __uselocale instead of setlocale for glibc 2.3+.
431
432 2002-09-10  Benjamin Kosnik  <bkoz@redhat.com>
433
434         * src/Makefile.am (sources): Edit.
435         (target_sources): New.
436         (target_sources_extra): New.
437         * src/Makefile.in: Regenerate.
438         * acinclude.m4: Set CCODECVT_CC. 
439         * aclocal.m4: Regenerate.
440         * configure: Regenerate.
441         * src/locale.cc: Move ctype definitions...
442         * src/ctype.cc: ...here. New file. 
443         * src/locale.cc: Move codecvt definitions...
444         * src/codecvt.cc: ...here.      
445         * config/generic/codecvt_members.cc: ...and here.       
446         * config/gnu/codecvt_members.cc: ...and here.           
447         * include/bits/codecvt.h: Tweak.
448         * include/bits/locale_facets: Tweak.
449
450         * src/bitset.cc: Correct license text.
451         * src/concept-inst.cc: Same.
452         * src/strstream.cc: Same.
453         * src/vterminate.cc: Same.      
454
455 2002-09-10  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
456
457         * include/bits/stl_vector.h (vector<>): Don't use a name with
458         different meanings before and after re-evaluation in the completed
459         scope. 
460         * include/bits/basic_string.h (basic_string<>): Likewise.
461         * include/bits/stl_bvector.h (vector<bool>): Likewise.
462         * include/bits/stl_deque.h (std): Likewise.
463         * include/bits/stl_list.h (list<>): Likewise.
464         * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
465
466 2002-09-10  Paolo Carlini  <pcarlini@unitus.it>
467
468         * include/bits/codecvt.h (class __codecvt_abstract_base):
469         Add __c_locale type _M_c_locale_codecvt member.
470         (class codecvt<char, char, mbstate_t>,
471         class codecvt<wchar_t, char, mbstate_t>): Add new
472         codecvt(__c_locale, size_t) constructor.
473         (codecvt_byname::codecvt_byname): Update.
474         * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
475         class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
476         constructor and ~codecvt() destructor; define
477         codecvt(__c_locale, size_t) constructor.
478         (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
479         (codecvt::do_in): Ditto for mbsrtowcs call.
480         * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
481         Tweak construction of codecvt facets.
482
483 2002-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
484
485         * include/bits/locale_facets.tcc (__convert_from_v):
486         Replace strdup with ISO malloc and strcpy.
487
488 2002-09-09  Benjamin Kosnik  <bkoz@redhat.com>
489
490         * docs/html/configopts.html: Change grouping. Note ABI impacts.
491         Update information for locale model defaults.
492         * docs/html/install.html: Update include directory
493         information. 
494         Update testing information. 
495         Update linux issues for named locales.
496         * docs/html/abi.txt: Fix typos.
497         Add more info.
498
499         * src/misc-inst.cc: Add missing instantiations.
500         
501         * testsuite/abi_check.cc: Make output results more verbose.
502         
503         * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
504
505 2002-09-07  Jakub Jelinek  <jakub@redhat.com>
506
507         * config/locale/generic/messages_members.cc: Add specialization for
508         messages<wchar_t>.
509         * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
510
511 2002-09-06  Benjamin Kosnik  <bkoz@redhat.com>
512
513         * include/bits/localefwd.h: Tweak formatting.
514         * docs/html/abi.txt: Add.
515
516 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
517
518         * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
519         sparc targets.
520         * config/cpu/sparc/atomicity.h: New file.
521         * config/cpu/sparc/sparc32/atomicity.h: Removed.
522         * config/cpu/sparc/sparc64/atomicity.h: Removed.
523
524 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
525
526         * config/os/gnu-linux/ctype_noninline.h
527         [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
528         (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
529         _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
530         and return __ctype_b.
531         (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
532         _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
533         initialize using __ctype_{b,tolower,toupper}.
534         (ctype<char>::ctype(const mask*, bool, size_t)): If
535         _GLIBCPP_C_LOCALE_GNU, initialize using
536         _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
537         switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
538
539 2002-09-05  Paolo Carlini  <pcarlini@unitus.it>
540             Roland McGrath  <roland@redhat.com>
541
542         PR libstdc++/7811
543         * src/locale.cc (locale::locale(__s)): Use getenv instead
544         of setenv for the environment locale.
545         * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
546
547 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
548
549         * config/abi/ia64-unknown-linux-gnu: Add.
550         * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
551         * config/abi/alphaev67-unknown-linux-gnu: Add.
552         * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
553
554 2002-09-05  Jonathan Wakely  <jw@kayari.org>
555
556         * docs/html/Makefile:  Use more portable shell wildcard.
557         * docs/html/makedoc.awk:  Nest elements correctly for XHTML conversion.
558         * docs/html/configopts.html, docs/html/documentation.html,
559         docs/html/explanations.html, docs/html/install.html,
560         docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
561         docs/html/17_intro/license.html, docs/html/18_support/howto.html,
562         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
563         docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
564         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
565         docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
566         docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
567         docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
568         docs/html/27_io/howto.html, docs/html/ext/howto.html,
569         docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Convert
570         to XHTML.
571         * docs/html/faq/index.txt:  Regenerate.
572
573 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
574
575         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
576         Switch to _M_c_locale_ctype around btowc call.
577         (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
578         Switch to _M_c_locale_ctype around mbsrtowcs call.
579         (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
580         wctob call.
581         (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
582         Switch to _M_c_locale_ctype around wcsrtombs call.
583
584 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
585
586         * config/locale/gnu/monetary_members.cc
587         (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
588         moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
589         __uselocale instead of setlocale for glibc 2.3.
590
591 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
592
593         * config/locale/generic/c++locale_internal.h: New header.
594         * config/locale/gnu/c++locale_internal.h: New header.
595         * config/locale/gnu/c_locale.cc: Include it.
596         * config/locale/gnu/collate_members.cc: Include it.
597         * config/locale/gnu/ctype_members.cc: Include it.
598         * config/locale/gnu/messages_members.cc: Include it.
599         * config/locale/gnu/monetary_members.cc: Include it.
600         * config/locale/gnu/numeric_members.cc: Include it.
601         * config/locale/gnu/time_members.cc: Include it.
602         (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
603         glibc.
604         (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
605         C locale.
606         * acinclude.m4: Include string.h when testing strcoll_l.
607         For glibc 2.3 provide __-prefixed prototypes.
608         (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
609         * aclocal.m4, configure: Rebuilt.
610
611 2002-09-05  Benjamin Kosnik  <bkoz@redhat.com>
612
613         * include/bits/locale_facets.h: Add declaration of specialization
614         here.
615         * config/locale/gnu/messages_members.cc: Add specialization for
616         messages<wchar_t>.
617         * config/locale/gnu/messages_members.h: Remove generic definition
618         of do_get.
619
620 2002-09-04  Richard Henderson  <rth@redhat.com>
621
622         * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
623         __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
624         __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
625         __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
626         __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
627         __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
628         __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
629         __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
630         __glibcpp_long_double_has_infinity): Remove.
631         (std::numeric_limits<float>, std::numeric_limits<double>,
632         std::numeric_limits<long double>): Use __builtin_huge_val
633         to implement has_infinity and infinity().
634         * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
635         __glibcpp_long_double_infinity): Remove.
636
637 2002-09-03  Richard Henderson  <rth@redhat.com>
638
639         * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
640         __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
641         __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
642         __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
643         __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
644         __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
645         __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
646         __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
647         __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
648         __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
649         __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
650         __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
651         __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
652         __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
653         __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
654         __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
655         __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
656         __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
657         __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
658         __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
659         __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
660         __glibcpp_float_digits10, __glibcpp_float_radix,
661         __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
662         __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
663         __glibcpp_float_max_exponent10, __glibcpp_double_min,
664         __glibcpp_double_max, __glibcpp_double_digits,
665         __glibcpp_double_digits10, __glibcpp_double_radix,
666         __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
667         __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
668         __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
669         __glibcpp_long_double_max, __glibcpp_long_double_digits,
670         __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
671         __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
672         __glibcpp_long_double_min_exponent10,
673         __glibcpp_long_double_max_exponent,
674         __glibcpp_long_double_max_exponent10): Remove macros.
675         (std::numeric_limits<float>, std::numeric_limits<double>,
676         std::numeric_limits<long double>): Use protected float.h macros.
677
678 2002-09-01  Phil Edwards  <pme@gcc.gnu.org>
679
680         * testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
681         Fix spelling in comment.
682         * testsuite/Makefile.in:  Regenerate.
683         * testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
684         than 'quote' and 'bslash'.
685
686 2002-08-31  Phil Edwards  <pme@gcc.gnu.org>
687
688         * acinclude.m4:  Minor comment tweaks.
689
690         * docs/html/makedoc.awk:  New file...
691         * docs/html/Makefile:  ...called from here...
692         * docs/html/documentation.html:  ...to help generate this.
693
694         * docs/html/21_strings/howto.html:  Prepare for new entry.
695         * include/bits/basic_string.h:  Initial basic_stirng hook for
696         doxygen.  Remove trailing whitespace.
697         * include/bits/char_traits.h:  Point to onlinedocs for new entry.
698         * include/bits/stringfwd.h:  Add doxygen hooks for string and
699         wstring typedefs.
700
701 2002-08-29  Richard Earnshaw  <rearnshaw@arm.com>
702
703         * config/cpu/arm/cpu_limits.h: New file.
704         * configure.target: Use config/cpu/arm for XScale and StrongARM
705         configurations.
706
707 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
708
709         * include/std/std_limits.h (__glibcpp_char_bits,
710         __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
711         __glibcpp_long_long_bits, __glibcpp_float_bits,
712         __glibcpp_double_bits, __glibcpp_long_double_bits): Remove.  Use
713         compiler predifined macros.
714         (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
715         __WCHAR_UNSIGNED__. 
716
717 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
718
719         * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
720         __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
721         __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
722         __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
723         __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
724         __glibcpp_f64_infinity_bytes,
725         __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
726         __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
727         __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
728         __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
729         __glibcpp_f80_infinity_bytes,
730         __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
731         __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
732         __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
733         __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
734         __glibcpp_f96_infinity_bytes,
735         __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
736         __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
737         __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
738         __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
739         __glibcpp_f128_infinity_bytes,
740         __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
741         __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
742         __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
743         __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
744         __glibcpp_float_infinity_bytes,
745         __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
746         __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
747         __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
748         __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
749         __glibcpp_double_infinity_bytes,
750         __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
751         __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
752         __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
753         __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
754         __glibcpp_long_double_infinity_bytes,
755         __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
756         __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
757         __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
758         __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
759         New macros.
760         (__glibcpp_word_bits, __glibcpp_word): Likewise.
761         (__glibcpp_byte): New typedef.
762         (__float_storage, __double_storage, __long_double_storage): New types.
763         (__glibcpp_float_infinity, __glibcpp_float_QNaN,
764         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
765         objects. Declare.
766         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
767         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
768         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
769         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
770         Likewise.
771         
772         * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
773         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
774         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
775         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
776         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
777         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
778         Likewise.
779         
780 2002-08-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
781
782         * include/std/std_limits.h: Indent conditional macro definitions.
783
784 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
785
786         * Makefile.am (check-abi):  Specify current directory.
787         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
788         abi_baseline_triplet in baseline_file.
789         * Makefile.in, aclocal.m4, configure:  Regenerate.
790         * configure.target:  Add abi_baseline_triplet with default.
791         * testsuite/abi_check.cc:  More error checking.
792
793 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
794
795         * config/linker-map.gnu:  Verbose comments, clean up spacing.
796         * include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
797         statements.
798         __allocator:  Change class declaration to struct.
799         * docs/html/17_intro/C++STYLE:  Fix typo.
800         * include/bits/stl_deque.h, include/bits/stl_list.h,
801         include/bits/stl_map.h, include/bits/stl_multimap.h,
802         include/bits/stl_vector.h:  Fix fallout from typo.
803
804 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
805
806         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
807         GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
808         variables.
809         * aclocal.m4: Regenerate.
810         * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
811         native compiling.
812         * testsuite/Makefile.in: Regenerate.
813         
814 2002-08-22  Loren J. Rittle <ljrittle@acm.org>
815
816         * testsuite/abi_check.cc: Enhance shell portability.
817         Support older binutils/readelf.
818         * config/abi/i386-unknown-freebsd4.6: Add.
819         * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
820
821 2002-08-22  Paolo Carlini  <pcarlini@unitus.it>
822
823         * docs/html/faq/index.html: Add Loren James Rittle and
824         Paolo Carlini to the list of v3 maintainers.
825         * docs/html/faq/index.txt: Ditto.
826         * docs/html/17_intro/RELEASE-NOTES: Ditto.
827
828 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
829             Phil Edwards  <pme@gcc.gnu.org>
830             Ulrich Drepper  <drepper@redhat.com>
831         
832         * Makefile.am (check-abi): New rule.
833         * Makefile.in: Regenerate.
834         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
835         * aclocal.m4: Regenerate.
836         * configure: Regenerate.
837         * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
838         (abi_check_SOURCES): Add.
839         * testsuite/Makefile.in: Regenerate.    
840         * testsuite/abi_check.cc: New file.
841         * config/abi: Add.
842         * config/abi/i686-pc-linux-gnu: Add.
843         * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
844         
845 2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
846
847         * configure.in (libtool_VERSION): Update to 5:1:0.
848         * configure: Regenerate.
849         
850 2002-08-19  Jonathan Wakely  <jw@kayari.org>
851
852         * docs/html/configopts.html, docs/html/documentation.html,
853         docs/html/install.html, docs/html/22_locale/codecvt.html,
854         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
855         docs/html/22_locale/locale.html,
856         docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
857
858 2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
859
860         * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
861         _M_buf_size_opt to zero when unbuffering.
862         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
863         Consistency checks for _M_buf_size_opt.
864
865         Revert PR libstdc++/7445
866         * src/locale.cc (locale::classic): Revert.
867         
868         * docs/html/17_intro/TODO: Add.
869         
870 2002-08-15  Phil Edwards  <pme@gcc.gnu.org>
871
872         * docs/html/documentation.html:  Update doxygen links for 3.2.
873
874 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
875
876         * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
877         type from void* to _Unwind_Ptr.
878         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
879         Do not cast landing_pad or base_of_encoded_value to (void *).
880         * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
881         Accept _URC_NO_REASON as a valid reason code.
882
883 2002-08-14  Jonathan Wakely  <jw@kayari.org>
884
885         * docs/html/22_locale/messages.html:  Use HTML entities for
886         punctuation.
887
888 2002-08-13  Jonathan Wakely  <jw@kayari.org>
889             Phil Edwards  <pme@gcc.gnu.org>
890
891         * docs/html/documentation.html:  Use HTML entities for punctuation.
892
893 2002-08-09  Phil Edwards  <pme@gcc.gnu.org>
894
895         * include/bits/deque.tcc, include/bits/list.tcc,
896         include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
897         include/bits/stl_list.h, include/bits/stl_map.h,
898         include/bits/stl_multimap.h, include/bits/stl_queue.h,
899         include/bits/stl_stack.h, include/bits/stl_vector.h,
900         include/bits/vector.tcc:  Re-indent contents of namespace std,
901         re-wrap comment lines as necessary.
902
903 2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
904             Benjamin Kosnik  <bkoz@redhat.com>
905         
906         * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
907         not snextc.
908         * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
909         
910 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
911
912         * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
913         * libsupc++/Makefile.in: Regenerate.
914
915 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
916
917         PR/7491
918         * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
919         Instantiate with new function objects. 
920         * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
921         Reformat.  Uglify.
922         * include/bits/gslice_array.h: Likewise.
923         * include/bits/indirect_array.h: Likewise.
924
925 2002-08-03  Gabriel Dos Reis  <gdr@nerim.net>
926
927         * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
928         testsuite/26_numerics/valarray_name_lookup.C
929
930         * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
931         object function surrogates.
932         * include/bits/valarray_meta.h (__shift_left): Fix typo.
933         (_BinFunClos<>): Remove.
934         (_BinFunBase<>): Likewise.
935         (_BinFunBase1<>):Likewise.
936         (_BinFunBase2<>): Likewise.
937         (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
938         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
939         (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
940         (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
941         * include/std/std_valarray.h: Dont #include <functional> anymore.
942         (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
943         _Shift_right<>): Remove.
944         (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
945         (_DEFINE_BINARY_OPERATOR): Tweak definition.
946         (_DEFINE_LOGICAL_OPERATOR): Remove.
947         * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
948
949 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
950
951         * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
952         (_UnFunClos<>): Same.
953         (_UnBase<>): Reformat.  Make first template-parameter non
954         template. 
955         (_UnClos<>): Likewise.
956         (_Expr<>): Reformate.  Adjust unary member operator return types. 
957         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
958         (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
959         * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
960         (valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
961         operator return types.  Reformat.
962         (_Bitwise_not): Remove.
963         (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
964         * testsuite/26_numerics/valarray_name_lookup.C: New test.
965
966 2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>
967
968         * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
969         (scan_is): Use this->is.
970         (scan_not): Likewise.
971
972 2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>
973
974         Revert PR libstdc++/6594
975         * src/strstream.cc (strstreambuf): Revert.
976         (strstreambuf::overflow): Same.
977         (strstreambuf::~strstreambuf): Same.    
978         * testsuite/backward/strstream_members.cc (test02): Add.
979         
980         * docs/html/abi.txt: Update. Spell check.
981
982         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
983
984         * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
985         * testsuite/Makefile.in: Regenerate.
986         * testsuite/testsuite_hooks.h: Use __throw_exception_again,
987         include functexcept.h so that -fno-exceptions will build.
988         
989 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
990
991         * include/bits/valarray_meta.h (__unary_plus, __negate,
992         __bitwise_not, __plus, __minus, __multiplies, __divides,
993         __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
994         __shift_left, __shift_right, __logical_and, __logical_or,
995         __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
996         __greater_equal, __greater, __atan2, __pow): New function object
997         classes. 
998         (__fun<>):  New function traits class.
999
1000 2002-08-01  Rick Danos  <rdanos@hotmail.com>
1001
1002         PR libstdc++/7461
1003         * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1004         * config/os/newlib/ctype_inline.h (is): Use static_cast.
1005
1006 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
1007
1008         * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1009         * libsupc++/Makefile.in: Regenerate.
1010         
1011 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
1012             Jakub Jelinek  <jakub@redhat.com>
1013         
1014         * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1015         GLIBCPP_3.1 to GLIBCPP_3.2.
1016
1017 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1018             Mark Mitchell  <mark@codesourcery.com>
1019
1020         PR libstdc++/7442
1021         * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1022         Change to __hwm_bit.
1023         (__class_type_info): And here.
1024
1025 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1026
1027         PR libstdc++/7442
1028         * libsupc++/cxxabi.h 
1029         (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1030         (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1031         (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1032         (__vmi_class_type_info::__base_info): Don't make const, of type
1033         __base_class_type_info, as per 2.9.5p6c
1034         (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1035         2.9.5p7.
1036         (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1037         2.9.5p7.
1038         (__pointer_to_member_type_info::__context_class): Change member to
1039         __context, as per 2.9.5p9.
1040         * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1041         __context.
1042         * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1043         __flags.
1044         * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1045         __base_type.
1046         * libsupc++/tinfo.cc (__do_dyncast): Same.
1047         * libsupc++/tinfo.cc (__do_upcast): Same.
1048
1049 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1050
1051         * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1052
1053 2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
1054
1055         * docs/html/22_locale/howto.html: Fix.
1056
1057 2002-07-31  Alex Kompel  <shurik@sequoiap.com>
1058
1059         PR libstdc++/7445
1060         * src/locale.cc (locale::classic): Move locks inside !_S_classic
1061         block.
1062
1063 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1064
1065         * docs/html/abi.txt: Update.
1066
1067 2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
1068             Gabriel Dos Reis  <gdr@nerim.net>
1069
1070         * include/bits/char_traits.h: Remove generic definitions.
1071         * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1072         eof, not -2.
1073         * include/bits/istream.tcc (istream::readsome): Don't check
1074         against eof, instead use constants.
1075         (istream::sync): Same.
1076         (istream::sentry::sentry): Use eq_int_type.
1077         (istream::get): Same.
1078         * include/bits/ostream.tcc: Change __pad to 
1079         __pad<_CharT, _Traits>::_S_pad. 
1080         * include/bits/locale_facets.h: Add __pad_traits generic and
1081         ostreambuf_iterator specialization.
1082         * include/bits/locale_facets.tcc: Change __pad into struct __pad
1083         with a _CharT and _Traits template parameter and _S_pad static
1084         member function.
1085         * src/locale-inst.cc: Update __pad instantiations.
1086         
1087         * include/std/std_fstream.h: Declare _M_underflow_common
1088         specializations.
1089         * src/fstream.cc: New. Add _M_underflow_common specializations.
1090         * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1091         (filebuf::_M_underflow_common(bool)): Remove generic version, as
1092         sys_ungetc and custom int_types don't get along.
1093         * include/std/std_streambuf.h: Add _M_pos.
1094         * src/Makefile.am (sources): Add fstream.cc.
1095         * src/Makefile.in: Regenerate.
1096
1097         * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1098         * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1099         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1100         * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1101         * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1102         * testsuite/27_io/filebuf.cc: ...here.
1103         * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1104         specialization for both.
1105         * testsuite/27_io/streambuf.cc: Add instantiation test,
1106         testsuite_hooks include.
1107         * testsuite/27_io/istream.cc: Same.
1108         * testsuite/27_io/ostream.cc: Same.     
1109         * testsuite/27_io/fstream.cc: Same.
1110         * testsuite/27_io/stringstream.cc: Same.
1111         * testsuite/27_io/filebuf.cc: Same.
1112         * testsuite/27_io/stringbuf.cc: Same.
1113         
1114 2002-07-29  Alan Modra  <amodra@bigpond.net.au>
1115
1116         * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1117         * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1118         * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1119         (__test_and_set): Remove.
1120         (_STWCX): Define and use.
1121
1122 2002-07-26  Phil Edwards  <pme@gcc.gnu.org>
1123
1124         * libsupc++/new (placement delete):  Remove unused parameter names.
1125
1126 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1127
1128         PR libstdc++/7216
1129         * include/std/std_istream.h (basic_iostream): Add typedefs for
1130         char_type, int_type, pos_type, off_type, and traits_type.
1131         * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1132         * testsuite/27_io/istream.cc: Same.
1133         * testsuite/27_io/ostream.cc: Same.
1134         * testsuite/27_io/filebuf.cc: Same.
1135         * testsuite/27_io/stringbuf.cc: Replace content, move to...
1136         * testsuite/27_io/stringbuf_members.cc: ...here.        
1137         * testsuite/27_io/streambuf.cc: Replace content, move to...
1138         * testsuite/27_io/streambuf_members.cc: ...here.        
1139         * testsuite/27_io/stringstream.cc: Replace content, move to...
1140         * testsuite/27_io/stringstream_members.cc: ...here.
1141         * testsuite/27_io/ios.cc: New file.
1142         * testsuite/27_io/fstream.cc: New file.
1143         * testsuite/27_io/ifstream.cc: New file.        
1144         * testsuite/27_io/ofstream.cc: New file.                
1145         * testsuite/27_io/istringstream.cc: New file.   
1146         * testsuite/27_io/ostringstream.cc: New file.   
1147         
1148 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1149
1150         PR libstdc++/7220
1151         * include/bits/istream.tcc (istream::ignore): Don't extract on
1152         zero.
1153         * testsuite/27_io/istream_unformatted.cc (test10): Add.
1154         
1155 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1156
1157         * testsuite/27_io/ios_base_type.cc: Move to...
1158         * testsuite/27_io/ios_base_types.cc: ...here.
1159         
1160 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1161
1162         PR libstdc++/7222
1163         * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1164         * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1165         
1166 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1167
1168         PR libstdc++/7230
1169         * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1170         * include/Makefile.am (backward_headers): Use strstream, not
1171         strstream.h.
1172         * include/Makefile.in: Regenerate.
1173         * include/backward/strstream: Revert.
1174         * include/backward/strstream.h: Remove.
1175         * src/strstream.cc: Revert.
1176         * testsuite/backward/strstream_members.cc: Change include.      
1177
1178 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1179
1180         PR libstdc++/7219
1181         * include/bits/ios_base.h (ios_base::streampos): Add.
1182         (ios_base::streamoff): Add.
1183         * testsuite/27_io/ios_base_type.cc: New.
1184         
1185 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1186
1187         PR libstdc++/7286
1188         * libsupc++/new: Add placement delete.
1189         * testsuite/18_support/new_delete_placement.cc: New.
1190
1191         * docs/html/abi.txt: Fix typos.
1192         
1193 2002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
1194
1195         * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1196         confusing usage of "latest."
1197         De-tangle contributor information from introductory notes.
1198         Move abi.txt link placement, activate.
1199         Re-organize.
1200         Move chapter info into old FAQ format. 
1201         * docs/html/organization.html: Removed, obsoleted by doxygen work.
1202         * docs/html/abi.txt: Add notes on testing ABI changes.
1203         
1204 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
1205
1206         * docs/html/abi.txt:  New file.
1207         * docs/html/23_containers/howto.html:  Tweak vector-overhead text.
1208         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1209         Import from upstream, R22.
1210
1211         * include/bits/char_traits.h, include/bits/stl_iterator.h,
1212         include/bits/stl_iterator_base_types.h, libsupc++/exception,
1213         libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
1214
1215         * include/bits/deque.tcc, include/bits/stl_alloc.h,
1216         include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
1217         of deprecated functions until 3.4.  (Same timeframe, different text.)
1218         * include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
1219         the other sequence classes received.
1220
1221 2002-07-18  Brendan Kehoe  <brendan@zen.org>
1222
1223         * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1224         _Nname to _Name.
1225         
1226 2002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
1227
1228         DR/123
1229         * include/bits/slice_array.h 
1230         (slice_array<T>::operator=(const T&)): Constify.
1231         * include/bits/gslice_array.h 
1232         (gslice_array<T>::operator=(const T&)):  Likewise.
1233         * include/bits/mask_array.h 
1234         (mask_array<T>::operator=(const T&)): Likewise.
1235         * include/bits/indirect_array.h
1236         (indirect_array<T>::operator=(const T&): Likewise.
1237
1238 2002-07-17  Phil Edwards  <pme@gcc.gnu.org>
1239
1240         * docs/doxygen/run_doxygen:  Remove template parameter names from
1241         "Compound List" summary page.  Reformat.
1242         * docs/html/documentation.html:  XHTML fixes.
1243
1244 2002-07-16  Andreas Schwab  <schwab@suse.de>
1245
1246         * libsupc++/new (set_new_handler): Declare to not throw any
1247         exceptions.
1248         * libsupc++/new_handler.cc (set_new_handler): Likewise.
1249
1250 2002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
1251
1252         * include/Makefile.am (bits_headers): Remove slice.h
1253         * include/Makefile.in: Regenerate.
1254         * include/bits/slice.h (slice): move to include/bits/slice_array.h
1255         * include/bits/slice.h Remove.
1256         * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1257         * include/bits/slice_array.h: Comply to official coding styles.
1258         * testsuite/26_numerics/slice.cc: New test.
1259
1260 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1261
1262         * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1263         print to match vendor <ctype.h>.
1264
1265 2002-07-15  Phil Edwards  <pme@gcc.gnu.org>
1266
1267         * docs/html/faq/index.html:  Fix download links.
1268         * docs/html/faq/index.txt:  Regenerate.
1269         * docs/html/17_intro/porting.html:  Regenerate from earlier changes.
1270
1271 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1272
1273         * configure.target (target_os switch): Allow for irix6*o32
1274         configurations.
1275
1276 2002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
1277
1278         * include/bits/valarray_meta.h (_UnFunBase): Take a second
1279         template parameter. Remove _M_func data member.
1280         (_UnFunClos): Take a third template parameter.
1281         (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1282         __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1283         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1284
1285 2002-07-08  Eric Christopher  <echristo@redhat.com>
1286
1287         * configure.target: Fix comment for mips atomicity. Add
1288         mips*-*-linux* target, enable atomic operations there.
1289         * config/cpu/mips/atomicity.h: Fix comments, remove
1290         #ifndef/#endif. Add push/pop mips2.
1291
1292 2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1293
1294         * include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
1295         member declarations to avoid compiler warnings and restore 3.1 ABI.
1296
1297 2002-07-08  Phil Edwards  <pme@gcc.gnu.org>
1298
1299         * docs/html/23_containers/howto.html:  Link to dk_std::vector paper
1300         and homepage.
1301
1302 2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
1303
1304         PR libstdc++/7186
1305         * include/bits/stl_deque.h (_Deque_iterator::operator-):
1306         Make non-member, as already happens for the comparison
1307         operators in accord with DR179 (Ready).
1308         * testsuite/23_containers/deque_operators.cc: Add test02.
1309
1310 2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1311             Jack Reeves  <jackw_reeves@hotmail.com>
1312
1313         * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1314         size_t, from int_type.
1315         (basic_streambuf::_M_buf_size_opt): Same.
1316         (basic_streambuf::_S_pback_sizex): Same.
1317         * include/bits/streambuf.tcc: Same.
1318         * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1319         eq_int_type.
1320         (basic_streambuf::uflow): Same.
1321         * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1322         to_char_type.
1323         * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1324         * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1325         eq_int_type.
1326         (basic_streambuf::xsputn): Same.
1327         (__copy_streambufs): Same.
1328
1329 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1330
1331         * include/std/std_memory.h: Fix formatting.
1332         * testsuite/20_util/auto_ptr_neg.cc: New.
1333         * testsuite/20_util/auto_ptr.cc: Tweaks.
1334         * testsuite/23_containers/map_operators.cc (test01): Split into..
1335         * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1336         * testsuite/23_containers/set_operators.cc: Move to...
1337         * testsuite/23_containers/set_operators_neg.cc: ...here.
1338         * testsuite/README: Add some more naming rules.
1339
1340 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
1341
1342         PR libstdc++/7057
1343         * include/ext/stl_hashtable.h: Fix.
1344         * testsuite/ext/hash_map.cc: New.
1345
1346 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
1347             Kenny Simpson  <theonetruekenny@yahoo.com>
1348             Phil Edwards  <pme@gcc.gnu.org>
1349
1350         PR libstdc++/3946
1351         * testsuite/20_util/auto_ptr.cc (test08):  New test.
1352         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
1353         (auto_ptr::operator auto_ptr_ref):  Fix typo.
1354         General reformatting and doxygenating of the whole file.
1355
1356 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1357
1358         PR libstdc++/7097
1359         * include/c/std_cwchar.h: Fix.
1360
1361 2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
1362
1363         PR libstdc++/6410
1364         * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1365         char* name parameter.
1366         * config/locale/gnu/monetary_members.cc: Use it.
1367         * config/locale/generic/monetary_members.cc: Same.
1368         * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1369
1370         * include/backward/strstream.h: Update date.
1371
1372 2002-07-02  Paolo Carlini  <pcarlini@unitus.it>
1373
1374         PR libstdc++/6642
1375         * include/bits/stl_iterator.h
1376         (__normal_iterator::operator-(const __normal_iterator&)):
1377         Make non-member, as already happens for the comparison
1378         operators in accord with DR179 (Ready).
1379         * testsuite/24_iterators/iterator.cc: Add test from the PR.
1380
1381 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
1382
1383         PR libstdc++/7173
1384         * acinclude.m4:  Simplify determination of gcc_version, and move
1385         up to GLIBCPP_CONFIGURE.
1386         * configure.in (release_VERSION):  Really remove.
1387         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
1388         * aclocal.m4, configure:  Regenerate.
1389
1390 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
1391
1392         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
1393         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1394         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1395         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
1396
1397 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
1398
1399         * include/backward/strstream: Remove namespace std. Transfer to...
1400         * include/backward/strstream.h: ...here. Qualify std names.
1401         * src/strstream.cc: Remove namespace std.
1402         * include/Makefile.am (backward_headers): Remove strstream.h.
1403         * include/Makefile.in: Regenerate.
1404         * config/linker-map.gnu: Export strstream bits.
1405
1406         * src/fstream-inst.cc: Tweak.
1407         * src/io-inst.cc: Same.
1408         * src/istream-inst.cc: Same.
1409         * src/misc-inst.cc: Same.
1410         * src/ostream-inst.cc: Same.
1411         * src/sstream-inst.cc: Same.
1412         * src/valarray-inst.cc: Same.
1413         * src/misc-inst.cc: Remove unused instantiations.
1414
1415 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
1416
1417         * configure.in (libtool_VERSION): Bump to 5:0:0.
1418         * configure: Regenerate.
1419
1420 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
1421
1422         PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1423         * include/std/std_queue.h:  Include deque.tcc, vector.tcc.
1424         * include/std/std_stack.h:  Include deque.tcc.
1425         * testsuite/23_containers/adaptors.cc:  New file.
1426
1427 2002-06-27  Phil Edwards  <pme@gcc.gnu.org>
1428
1429         * include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
1430         * docs/html/ext/howto.html:  Update allocator notes.
1431
1432 2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1433
1434         * configure.in (INTERFACE): Remove.
1435         (release_VERSION): Remove.
1436         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1437         (libstdcxx_interface): Change. Use gcc methods to determine version.
1438         * configure: Regenerate.
1439         * aclocal.m4: Regenerate.
1440
1441 2002-06-25  DJ Delorie  <dj@redhat.com>
1442
1443         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1444         GLIBCPP_TOPREL_CONFIGURE.
1445         * aclocal.m4: Likewise.
1446         * configure.in: Call it before AC_CANONICAL_SYSTEM.
1447         * configure: Regenerate.
1448
1449 2002-06-25  Jessica Han  <jessica@cup.hp.com>
1450
1451         * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1452         * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1453         _GLIBCPP_VTABLE_PADDING is defined.
1454
1455 2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
1456
1457         * include/bits/stl_alloc.h: Additional formatting.
1458
1459 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
1460
1461         * include/bits/stl_alloc.h:  Reformat as per C++STYLE.
1462
1463 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
1464
1465         * config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
1466         * config/os/*/bits/*:  Likewise.
1467         * configure.in:  Update.
1468         * configure:  Regenerate.
1469         * configure.target:  Update.
1470         * docs/html/17_intro/porting.texi:  Update.
1471
1472 2002-06-21  Phil Edwards  <pme@gcc.gnu.org>
1473
1474         * include/bits/stl_map.h, include/bits/stl_multimap.h,
1475         include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
1476         complete doxygenation.
1477         * include/bits/boost_concept_check.h:  Minor comment.
1478
1479 2002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
1480
1481         * include/c_compatibility: New.
1482         * include/c_compatibility/assert.h: New.
1483         * include/c_compatibility/ctype.h: New.
1484         * include/c_compatibility/errno.h: New.
1485         * include/c_compatibility/float.h: New.
1486         * include/c_compatibility/iso646.h: New.
1487         * include/c_compatibility/limits.h: New.
1488         * include/c_compatibility/locale.h: New.
1489         * include/c_compatibility/math.h: New.
1490         * include/c_compatibility/setjmp.h: New.
1491         * include/c_compatibility/signal.h: New.
1492         * include/c_compatibility/stdarg.h: New.
1493         * include/c_compatibility/stddef.h: New.
1494         * include/c_compatibility/stdio.h: New.
1495         * include/c_compatibility/stdlib.h: New.
1496         * include/c_compatibility/string.h: New.
1497         * include/c_compatibility/time.h: New.
1498         * include/c_compatibility/wchar.h: New.
1499         * include/c_compatibility/wctype.h: New.
1500
1501         * include/c/std_cerrno.h: Get out of the way... define errno.
1502         * include/c/std_cmath.h: Add abs, modf overloads.
1503         Undefine C99 isms. Still not sure how to deal with this sanely.
1504         * include/c/std_csetjmp.h: Tweak.
1505         * include/c/std_cwchar.h: Include cstddef for size_t.
1506
1507         * include/c_std/std_cmath.h: Remove extra function.
1508
1509         Pendantic std usage in testsuites.
1510         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1511         with std.
1512         * testsuite/17_intro/header_cwchar.cc: Tweak.
1513         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1514         std::setlocale.
1515         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1516         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1517         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1518         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1519         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1520         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1521         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1522         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1523         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1524         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1525         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1526         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1527         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1528         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1529         * testsuite/22_locale/num_get_members_char.cc: Same.
1530         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1531         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1532         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1533         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1534         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1535         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1536         * testsuite/22_locale/messages_members_char.cc (test03): Same.
1537         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1538         * testsuite/22_locale/collate_members_char.cc (test04): Same.
1539         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1540         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1541         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1542
1543 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
1544
1545         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1546         c_sources.
1547
1548 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
1549
1550         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1551         Use size_type instead of unsigned long.
1552
1553 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
1554
1555         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1556         wchar types.
1557         (_S_min_len): Ditto.
1558
1559 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
1560
1561         * include/Makefile.am: Add rules.
1562         * include/Makefile.in: Regenerate.
1563
1564         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1565         * aclocal.m4: Regenerate.
1566         * configure: Regenerate.
1567         * configure.target (c_model, c_compatibility): Add.
1568
1569         * libsupc++/Makefile.am (c_sources): New.
1570         (libsupc___la_SOURCES): Add c_sources.
1571         (LTCOMPILE): Remove INCLUDES.
1572         (GCC_INCLUDES): New.
1573         (C_COMPILE): New, like COMPILE but without INCLUDES.
1574         (cxa_demangle.o): Use C_COMPILE.
1575         (dyn-string.o): Use C_COMPILE.
1576
1577         * include/c/std_cstdarg.h: Define __need___va_list.
1578         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1579         need_NULL, need_offsetof.
1580
1581 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
1582
1583         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
1584         definitions in hpux11 cross-build because these functions do
1585         not exist on hpux11 (but some exist on hpux10); move defaults out
1586         into existing sections.
1587         * configure:  Regenerate.
1588
1589 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
1590
1591         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1592         * include/c/std_cwctype.h: Guard.
1593
1594         * libsupc++/eh_alloc.cc: Tweak include order.
1595         * libsupc++/pure.cc: Use cstdio.
1596         * libsupc++/new_op.cc: Remove malloc forward declaration, as
1597         cstdlib brings it in. Use std::malloc.
1598
1599         * src/Makefile.am (sources): Remove cmath.cc.
1600         * src/Makefile.in: Regenerate.
1601         * src/cmath.cc: Remove.
1602
1603 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
1604
1605         * configure.target:  Force mips to use the generic cpu routines.
1606
1607 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
1608
1609         * configure.host:  Delete file.
1610         * configure.target:  More documentation.  Factor out common parts of
1611         script into "intelligent" settings about defaults.  Remove redundancy.
1612
1613         * acinclude.m4:  Update comments.  Do not call configure.host.
1614         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
1615         libgcc_s.
1616         * configure.in:  Slight reformatting, more comments.  Factor out
1617         "config/" from all the directories.
1618         * docs/html/17_intro/porting.texi:  Update and expand.
1619         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
1620         from configure.host.
1621
1622         * aclocal.m4, configure, docs/html/17_intro/porting.html,
1623         testsuite/Makefile.in:  Regenerate.
1624
1625 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
1626
1627         * docs/doxygen/TODO:  Update.
1628         * docs/doxygen/tables.html:  Uncomment magical middle column.
1629         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
1630         * include/bits/stl_queue.h:  Doxygenate and reformat.
1631         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
1632         for deprecated names required by the standard.
1633
1634 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
1635
1636         * configure.in (target_alias): Fix.
1637         * configure: Regenerate.
1638         * aclocal.m4: Regenerate.
1639
1640 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
1641
1642         * include/Makefile.am:  Add new files.
1643         * include/Makefile.in:  Regenerate.
1644
1645         * include/bits/stl_deque.h, include/bits/stl_list.h,
1646         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
1647         * include/bits/deque.tcc, include/bits/list.tcc,
1648         include/bits/vector.tcc:  ...to here.  New files.
1649
1650         * include/ext/stl_hashtable.h:  Inclide correct full headers.
1651         * include/std/std_deque.h:  Include .tcc files for now.
1652         * include/std/std_list.h:  Likewise.
1653         * include/std/std_vector.h:  Likewise.
1654
1655 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
1656
1657         * Makefile.am: Add FLAGS_TO_PASS.
1658         * Makefile.in: Regenerated.
1659
1660 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
1661             Benjamin Kosnik  <bkoz@redhat.com>
1662
1663         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1664         under *-qnx6.[12]*.
1665         * configure.in: Add support for *-qnx6.[12]*.
1666         * configure: Regenerate.
1667
1668         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1669         New directories.
1670         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1671         ctype_noninline.h, os_defines.h: New files.
1672
1673 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
1674
1675         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1676         include all required headers for test against older POSIX standard.
1677         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1678         (ac_setrlimit): Likewise.
1679         * aclocal.m4: Regenerate.
1680         * configure: Regenerate.
1681         * testsuite/testsuite_hooks.cc: Reorder and include all
1682         required headers for use against older POSIX standard.
1683
1684 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
1685
1686         * testsuite/backwards/strstream_members.cc: New.
1687
1688 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1689
1690         * include/backwards/strstream: Format.
1691         * src/strstream.cc: Format.
1692
1693 2002-06-08  Andreas Schwab  <schwab@suse.de>
1694
1695         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1696         _M_buf_size and _M_buf_size_opt to the new buffer and size.
1697
1698 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1699
1700         * config/os/generic/bits/ctype_noninline.h: Tweak format.
1701
1702 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
1703
1704         * src/locale-inst.cc (__codecvt_abstract_base):
1705         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1706         * include/bits/istream.tcc (basic_istream): Ditto.
1707         (ws) Ditto.
1708         (operator>>) Ditto.
1709         * include/bits/ostream.tcc (basic_ostream): Ditto.
1710         (endl): Ditto.
1711         (ends): Ditto.
1712         (flush): Ditto.
1713         (operator<<): Ditto.
1714
1715 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
1716
1717         * mkcheck.in:  Link against local testsuite library.
1718         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
1719         implementation out...
1720         * testsuite/testsuite_hooks.cc:  ...to here.
1721
1722 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
1723
1724         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1725         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1726         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1727         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1728         * testsuite/Makefile.in: Likewise.
1729
1730 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
1731
1732         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1733         Call external symbol.
1734
1735 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1736
1737         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1738         Search correct multilib testsuite dir for libv3test.
1739
1740 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1741             Gaby Dos Reis  <gdr@codesourcery.com>
1742
1743         * include/bits/basic_string.tcc
1744         (basic_string::_S_construct(forward_iterator_tag):
1745         Fix typo in null pointer check.
1746         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1747
1748 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
1749
1750         * testsuite/22_locale/money_get_members_char.cc
1751         (test02): Add decimal point to long double constants.
1752         * testsuite/22_locale/money_get_members_wchar_t.cc
1753         (test02): Likewise.
1754         * testsuite/22_locale/money_put_members_char.cc
1755         (test02, test03, test06): Likewise.
1756         * testsuite/22_locale/money_put_members_wchar_t.cc:
1757         (test02, test03, test06): Likewise.
1758         * testsuite/22_locale/num_get_members_char.cc:
1759         (test02, test01): Likewise; suffix long long constants with LL.
1760         * testsuite/22_locale/num_get_members_wchar_t.cc:
1761         (test02, test01): Likewise.
1762         * testsuite/22_locale/num_put_members_char.cc:
1763         (test02, test01): Likewise.
1764         * testsuite/22_locale/num_put_members_wchar_t.cc:
1765         (test02, test01): Likewise.
1766
1767 2002-06-03  Marc Espie  <espie@openbsd.org>
1768
1769         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1770         assembly for old assemblers.
1771
1772 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1773
1774         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1775         Move/rename...
1776         (vector<bool>::swap(reference,reference)): ...to this.
1777
1778 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1779
1780         * docs/doxygen/TODO:  Update.
1781         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
1782         some class members are in 14882 order.
1783         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
1784
1785         * include/std/std_bitset.h:  Update comment.
1786         * src/bitset.cc:  Update comments, clean up spacing.
1787
1788         * src/Makefile.am (sources):  Alphabetize for convenience.
1789         * src/Makefile.in:  Regenerate.
1790
1791 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
1792
1793         * include/bits/stl_deque.h, include/bits/stl_list.h,
1794         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
1795         Reorder to match 14882.  Doxygen blocks for all public members.
1796
1797 2002-05-31  Marcus Meissner  <meissner@suse.de>
1798
1799         PR libstdc++/6886
1800         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
1801         * testsuite/23_containers/vector_bool.cc (test02):  New test.
1802
1803 2002-05-30  Marc Espie  <espie@openbsd.org>
1804
1805         * configure.in: Always check for sys/types.h
1806         * configure: Regenerate.
1807
1808 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1809
1810         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1811         Rebuild the wrapper file every time this proc is called.
1812
1813 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
1814
1815         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
1816         CXX/INCLUDES.
1817         * testsuite/Makefile.in:  Regenerate.
1818         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
1819         list_modifiers.cc and rename from 'T'.  Move code bodies...
1820         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
1821         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
1822         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1823         Add libv3test.a to link options.
1824
1825 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1826
1827         * src/misc-inst.cc: Define unnecessary algorithm
1828         instantiations. Break apart instantiations into groupings below.
1829         * src/fstream-inst.cc: New.
1830         * src/io-inst.cc: New.
1831         * src/istream-inst.cc: New.
1832         * src/ostream-inst.cc: New.
1833         * src/streambuf-inst.cc: New.
1834         * src/sstream-inst.cc: New.
1835         * src/Makefile.am (sources): Add files.
1836         * src/Makefile.in: Regenerate.
1837
1838         * acinclude.m4: Work around automake 1.4-p5 bug, change
1839         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1840
1841 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1842
1843         PR libstdc++/6795.
1844         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1845         (classic_table): Fix.
1846         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1847
1848 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1849
1850         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1851         _GLIBCPP_USE_WCHAR_T.
1852         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1853         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1854         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1855
1856 2002-05-26  Carlo Wood  <carlo@alinoe.com>
1857             Paolo Carlini  <pcarlini@unitus.it>
1858
1859         PR libstdc++/6811
1860         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1861         (__enc_traits::operator=): add missing return statement.
1862
1863 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
1864
1865         PR libstdc++/6282
1866         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
1867         (operator>>):  If nothing was extracted, don't fail in the
1868         zero-length case.
1869         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
1870
1871 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1872
1873         PR libstdc++/6701
1874         * testsuite/22_locale/ctype_narrow_char.cc: New.
1875         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1876         * testsuite/22_locale/ctype_widen_char.cc: New.
1877         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1878         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1879         * testsuite/22_locale/ctype_is_char.cc: ...this.
1880         * testsuite/22_locale/ctype_to_char.cc: ...and this.
1881         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1882         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1883         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1884
1885         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1886
1887 2002-05-24  Dale Peakall <dale@peakall.net>
1888
1889         PR libstdc++/6701
1890         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1891         * config/locale/generic/ctype_members.cc: Same.
1892
1893 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1894
1895         PR libstdc++/6750
1896         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1897         for empty string literal.
1898         (ostream::operator<<(const _CharT*)): Same.
1899         (ostream<char>::operator<<(const char*)): Same.
1900         (ostream<char>::operator<<(streambuf*)): Same.
1901         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1902         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1903
1904 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
1905
1906         * configure.in (release_VERSION): Update to 3.1.1.
1907         (libtool_VERSION): Update to 4:1:0.
1908         * configure: Regenerate.
1909
1910 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1911
1912         * include/bits/stl_pair.h:  Tweak comment markup.
1913
1914 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1915
1916         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
1917
1918 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1919
1920         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
1921
1922 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
1923
1924         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
1925         Doxygenate all public members.  Reorder to follow 14882.
1926         (vector::push_back(void)):  Remove previously-deprecated fn.
1927         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1928         Deprecate for removal in 3.3.
1929
1930 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
1931
1932         * docs/html/faq/index.html (5.4):  Recommend against -I options for
1933         finding the ext headers.
1934         * docs/html/faq/index.txt:  Regenerate.
1935
1936 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
1937
1938         * testsuite/23_containers/deque_operators.cc (test01):
1939         Fix minor typo in last commit.
1940
1941 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
1942
1943         PR libstdc++/6503
1944         * include/bits/stl_deque.h (_Deque_iterator::operator==,
1945         operator!=, operator<, operator>, operator>=, operator<=):
1946         Make non-member functions, to allow comparing const and
1947         non-const iterators in any order.
1948         * testsuite/23_containers/deque_operators.cc: New testfile.
1949
1950 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
1951
1952         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
1953         * docs/html/faq/index.txt:  Regenerate.
1954
1955 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1956
1957         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1958         * acinclude.m4: Likewise.
1959         * docs/html/Makefile: Likewise.
1960         * aclocal.m4: Regenerate.
1961         * configure: Regenerate.
1962         * Makefile.in: Regenerate.
1963
1964 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
1965
1966         libstdc++/6641
1967         * include/bits/c++config (__USE_MALLOC): Report case where
1968         the user improperly defined it on the command line.
1969
1970 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1971
1972         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1973         Retrieve current limits before setting.
1974
1975 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1976
1977         PR libstdc++/6518
1978         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1979         for null case.
1980         (ostream::operator<<(const _CharT*)): Same.
1981         (ostream<char>::operator<<(const char*)): Same.
1982         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1983
1984 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1985
1986         PR libstdc++/6594
1987         * src/strstream.cc (strstreambuf): Fix leak.
1988
1989 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
1990
1991         PR libstdc++/6648
1992         * include/bits/istream.tcc (istream::getline, ignore):
1993         Upon __idelim (__delim) call sbumpc() not snextc().
1994         * testsuite/27_io/narrow_stream_objects.cc:
1995         Add test08 and test09.
1996
1997 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1998
1999         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2000         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2001
2002         * docs/html/install.html: Fix.
2003
2004 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2005
2006         * include/bits/fstream.tcc
2007         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2008         try/catch blocks.
2009         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2010
2011         * docs/html/install.html: Tweak, add bits about required locales
2012         for the 22_locale tests when using the gnu model.
2013
2014         * testsuite/27_io/istream_sentry.cc: Tweak.
2015
2016 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2017
2018         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2019         Fix typo, use this->is() rather than manually (and perhaps
2020         incorrectly) inlining it.
2021         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2022         Likewise.
2023         * testsuite/22_locale/ctype_scan_char.cc: New file.
2024
2025 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
2026             Jakub Jelinek  <jakub@redhat.com>
2027
2028         * testsuite/22_locale/money_get_members_char.cc
2029         (test01, test02, test04): Use the de_DE@euro named locale
2030         instead of de_DE to allow for an uniform behaviour with
2031         both old and Euro-era localedata; tweak some tests.
2032         * testsuite/22_locale/money_get_members_wchar_t.cc
2033         (test01, test02, test04): Likewise.
2034         * testsuite/22_locale/money_put_members_char.cc
2035         (test01, test02, test04): Likewise.
2036         * testsuite/22_locale/money_put_members_wchar_t.cc
2037         (test01, test02, test04): Likewise.
2038
2039 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
2040
2041         * testsuite/22_locale/codecvt_members_char_char.cc
2042         (test03): Robustify wrt localedata.
2043         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2044         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2045         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2046         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2047         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2048         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2049         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2050         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2051         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2052         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2053         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2054         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2055         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2056         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2057         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2058         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2059         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2060         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2061         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2062         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2063         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2064         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2065
2066 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2067
2068         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2069         change.
2070
2071 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2072
2073         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2074         to 64 for hppa 64-bit port.
2075         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2076
2077 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2078
2079         * acinclude.m4 (enable_symvers): Quote $LD.
2080         * aclocal.m4: Regenerate.
2081         * configure: Likewise.
2082
2083 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
2084
2085         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2086         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2087         LD_LIBRARY_PATH.
2088
2089 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2090
2091         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2092         script entry, and set LD to it when configuring multilibs.
2093         * configure: Rebuilt.
2094
2095 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
2096
2097         * configure.in: Add support for WindISS.
2098         * configure: Regenerated.
2099         * configure.target: Add support for WindISS.
2100         * config/os/windiss/bits/ctype_base.h: New file.
2101         * config/os/windiss/bits/ctype_inline.h: Likewise.
2102         * config/os/windiss/bits/ctype_noninline.h: Likewise.
2103         * config/os/windiss/bits/os_defines.h: Likewise.
2104
2105 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
2106
2107         Test all the facets for the temporary "C" locale switch issue.
2108         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2109         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2110         * testsuite/22_locale/collate_members_char.cc: Add test04.
2111         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2112         * testsuite/22_locale/ctype_members_char.cc: Add test05.
2113         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2114         * testsuite/22_locale/messages_members_char.cc: Add test03.
2115         * testsuite/22_locale/money_get_members_char.cc: Add test08.
2116         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2117         * testsuite/22_locale/money_put_members_char.cc: Add test07.
2118         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2119         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2120         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2121         * testsuite/22_locale/num_get_members_char.cc: Add test06.
2122         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2123         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2124         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2125         * testsuite/22_locale/time_get_members_char.cc: Add test08.
2126         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2127         * testsuite/22_locale/time_put_members_char.cc: Add test04.
2128         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2129
2130         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2131         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2132
2133 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2134
2135         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2136         __EXTENSIONS__): Ensure they are always defined.
2137
2138 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
2139
2140         * docs/html/documentation.html:  Fix broken link.
2141
2142 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
2143             Paolo Carlini  <pcarlini@unitus.it>
2144
2145         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2146         testing for the locale_facets.tcc entry of the previous commit.
2147         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2148
2149 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
2150
2151         * config/locale/generic/c_locale.cc
2152         (__convert_to_v(float, double, long double)):
2153         Fix the temporary switch to the "C" locale, saving and
2154         restoring in the proper way the current locale.
2155         * config/locale/generic/time_members.cc
2156         (__timepunct<char, wchar_t>::_M_put): Likewise.
2157         * config/locale/gnu/messages_members.cc
2158         (messages<char>::do_get): Likewise.
2159         * config/locale/gnu/messages_members.h
2160         (messages<_CharT>::do_get): Likewise.
2161         * config/locale/gnu/time_members.cc
2162         (__timepunct<char, wchar_t>::_M_put): Likewise.
2163         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2164
2165 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2166
2167         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2168         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2169
2170         * Makefile.in, config.h.in, configure: Regenerate.
2171
2172 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
2173
2174         PR libstdc++/6549.
2175         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2176         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2177
2178 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2179
2180         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2181         Return __ctype + 1.
2182         (ctype:_M_table): Initialize to classic_table(), not __ctype.
2183
2184 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2185
2186         * configure.in: Update local install.html, configopts.html paths.
2187         * configure: Regenerate.
2188
2189 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2190
2191         * config/os/irix/irix5.2/bits/os_defines.h
2192         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2193
2194         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2195         char.
2196
2197 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
2198
2199         * docs/html/faq/index.html:  Update list in #4.1.
2200         * docs/html/faq/index.txt:  Regenerated.
2201
2202 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
2203
2204         * docs/html/17_intro/RELEASE-NOTES (New): Update.
2205
2206 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
2207
2208         * include/std/std_bitset.h:  Fix doxygen comments.
2209         * docs/html/documentation.html:  Minor tweaks for 3.1.
2210         * docs/html/27_io/howto.html:  Likewise.
2211         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
2212         * docs/html/faq/index.html:  Likewise.
2213         * docs/html/faq/index.txt:  Regenerated.
2214
2215 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2216
2217         PR libstdc++/6533
2218         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2219         (istreambuf_iterator::equal): Use it.
2220         (istreambuf_iterator::operator*): Use it.
2221
2222 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
2223
2224         PR libstdc++/6513
2225         * include/bits/stl_uninitialized.h
2226         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2227         Fix typo in 2001-07-17 commit: typedef _ValueType to
2228         iterator_traits<_ForwardIter> not <_InputIter>.
2229         * testsuite/23_containers/vector_ctor.cc: Add test04.
2230
2231 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2232
2233         PR libstdc++/6501
2234         * include/c_std/std_cctype.h: Include bits/c++config.h.
2235         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2236
2237 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2238
2239         * include/ext/stdio_filebuf.h: New file.
2240         * include/ext/enc_filebuf.h: New file.
2241         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2242         * config/io/basic_file_stdio.cc: Same.
2243         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2244         Remove _M_unbuf hacks.
2245         (filebuf::_M_destroy_internal_buffer): Same.
2246         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2247         (filebuf::fd): Remove.
2248         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2249         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2250         (filebuf::fd): Remove.
2251         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2252         filebufs.
2253         (ios_base::_S_ios_destroy): Same.
2254         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2255         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2256         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
2257
2258 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2259
2260         PR libstdc++/6511
2261         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2262
2263 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
2264
2265         PR libstdc++/5820
2266         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2267         Check for eof.
2268         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2269         (istreambuf_iterator::operator++): Invalidate on eof.
2270         (istreambuf_iterator::operator++(int)): Same.
2271         (istreambuf_iterator::operator*): Same.
2272
2273 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2274
2275         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2276         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2277         LD_LIBRARY64_PATH.
2278
2279 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
2280
2281         PR libstdc++/5820
2282         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2283         (__basic_file::sys_ungetc): Take int.
2284         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2285         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2286         Use sys_getc for unbuffered input.
2287         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2288
2289         * src/ios.cc (_M_grow_words): Adjust error checking.
2290         * testsuite/27_io/ios_base_storage.cc: Same.
2291
2292 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2293
2294         * include/ext/stl_hashtable.h: Import __iterator_category
2295
2296 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
2297             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2298
2299         * testsuite/ext/hash_set.cc: New testfile.
2300
2301 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
2302
2303         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2304         _G_USING_THUNKS.
2305         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2306         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2307
2308 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
2309
2310         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2311         Fix and tighten __throw_length_error check.
2312         * testsuite/21_strings/replace.cc (test05): New.
2313         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2314
2315 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
2316
2317         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2318         unconditional flush on lower-layer handle to here...
2319         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2320         ...from here.  Optimize remaining _M_file.sync() call pattern.
2321         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2322         (test05): Likewise.
2323
2324 2002-04-23  Jason Merrill  <jason@redhat.com>
2325
2326         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2327         output-only filebufs.
2328         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2329         Likewise.
2330         (basic_filebuf::_M_set_determinate): Likewise.
2331
2332         PR libstdc++/6414
2333         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2334         value properly in the trivial case.
2335         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2336         tellg() returns the right value after a read.
2337
2338 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
2339
2340         * config/cpu/mmix/bits/cpu_limits.h: New file.
2341         * configure.target (CPULIMITSH): Use it.
2342
2343 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
2344
2345         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2346         * docs/html/17_intro/porting.html: Rebuilt.
2347
2348 2002-04-20  Jason Merrill  <jason@redhat.com>
2349
2350         PR libstdc++/4150
2351         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2352         Move to filebuf.
2353         (basic_streambuf::_M_set_determinate): Likewise.
2354         (basic_streambuf::_M_is_indeterminate): Likewise.
2355         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2356         non-static data member.
2357         (basic_filebuf::_M_underflow_common): New non-static member function.
2358         (basic_filebuf::_M_underflow, _M_uflow): Call it.
2359         (basic_filebuf::sync): Avoid useless seeking.
2360         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2361         Set _M_filepos.
2362         (basic_filebuf::_M_set_determinate): Likewise.
2363         (basic_filebuf::_M_is_indeterminate): Likewise.
2364         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2365         back to _M_out_beg if necessary.
2366         (basic_filebuf::seekoff): Likewise.
2367         (basic_filebuf::_M_underflow_common): Generalization of old
2368         underflow().  Don't seek back to _M_in_beg.
2369         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2370         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2371         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2372         * config/os/mingw32/bits/os_defines.h: Likewise.
2373         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2374         ungetc test.
2375
2376 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
2377
2378         * include/bits/istream.tcc (istream::read): Fix.
2379         * testsuite/27_io/istream_unformatted.cc (main): Add.
2380
2381 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
2382
2383         PR libstdc++/6360
2384         * include/bits/istream.tcc (istream::ignore): Streamline, use
2385         delimiter as is.
2386         * include/bits/streambuf.tcc: Use this->gptr.
2387         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2388
2389 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
2390
2391         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2392         as type safety is important, especially on solaris.
2393         * include/bits/istream.tcc (istream::read): Clean.
2394         (istream::readsome): Same.
2395         * locale.cc: Wrap lines.
2396
2397         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2398         * testsuite/27_io/instantiations.cc (test): Add bool variable...
2399         * testsuite/21_strings/capacity.cc: Clean.
2400
2401 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
2402
2403         * docs/doxygen/doxygroups.cc:  New group on binary searching.
2404         * include/bits/stl_algo.h:  Document binary searches and merges.
2405         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
2406
2407 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
2408
2409         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
2410         * docs/doxygen/run_doxygen:  Bump required version.
2411         * docs/doxygen/user.cfg.in:  Revert accidental change.
2412         * docs/html/faq/index.html:  Reindent a block of links.
2413         (4.4):  New note on using dlsym.
2414         * docs/html/faq/index.txt:  Regenerated.
2415
2416 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
2417
2418         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
2419
2420 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
2421
2422         * config/linker-map.gnu (__malloc_alloc_template): Add.
2423         (__default_alloc_template): Same.
2424         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2425         template.
2426         (__default_alloc_template): Same.
2427
2428 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
2429
2430         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2431
2432 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
2433
2434         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2435         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2436         (__malloc_alloc_template): Conditionalize.
2437
2438         * include/bits/istream.tcc: Remove sputbackc calls.
2439
2440         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2441
2442 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
2443
2444         * testsuite/24_iterators/rel_ops.cc: New test.
2445
2446 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2447
2448         * include/bits/type_traits.h (__normal_iterator): Declare in
2449         __gnu_cxx.  Adjust use at global namespace.
2450         * include/bits/stl_iterator.h (__normal_iterator): Move definition
2451         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
2452         * include/bits/basic_string.h (basic_string): Adjust use of
2453         __normal_iterator.
2454         * include/bits/stl_vector.h (_Alloc>): Likewise.
2455         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2456         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2457
2458 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
2459
2460         PR libstdc++/4164
2461         Valgrind fixes.
2462         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2463         Call close.
2464         (__basic_file::close): Call fflush. Correct return if fclose ok.
2465         (__basic_file::is_open): Make const.
2466         Change __c_file_type to __c_file.
2467         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2468         (__basic_file::is_open): Make const.
2469         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2470         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2471         (filebuf::_M_unbuf): Add.
2472         (filebuf::_M_file): Change to non-pointer.
2473         (filebuf::_M_allocate_pback_buffer): Remove.
2474         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2475         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2476         Change initialization list for _M_file change.
2477         (filebuf::_M_allocate_pback_buffer): Remove.
2478         Change _M_file usage to reflect non-pointer data member.
2479
2480         * config/locale/generic/c_locale.cc
2481         (locale::facet::_S_create_c_locale): Add parameter.
2482         * config/locale/generic/collate_members.cc: Change
2483         _M_compare_helper to _M_compare.
2484         Change _M_transform_helper to _M_transform.
2485         * config/locale/generic/monetary_members.cc: Changeup data types.
2486         Add dtors.
2487         * config/locale/generic/numeric_members.cc: Add dtors.
2488         * config/locale/generic/time_members.cc: Add dtors.
2489         * config/locale/gnu/c_locale.cc: Add parameter.
2490         * config/locale/gnu/collate_members.cc:Change
2491         _M_compare_helper to _M_compare.
2492         Change _M_transform_helper to _M_transform.
2493         * config/locale/gnu/ctype_members.cc: Better error checking.
2494         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2495         * config/locale/gnu/messages_members.cc: Tweak comment.
2496         * config/locale/gnu/monetary_members.cc: Change data types.
2497         Add dtors.
2498         * config/locale/gnu/numeric_members.cc: Add dtors, better error
2499         checking.
2500         * config/locale/gnu/time_members.cc: Same.
2501         * config/locale/ieee_1003.1-2001/c_locale.cc
2502         (locale::facet::_S_create_c_locale): Add parameter.
2503         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2504         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2505         bogus ctor.
2506
2507         * include/bits/locale_facets.h (moneypunct): Use string literals.
2508         Don't define dtor.
2509         (numpunct): Same.
2510         (__timepunct): Same.
2511         (locale::_Impl::_M_facets): Change from vector to array.
2512         (locale::_Impl::_M_names): Change from array of strings to array
2513         of string literals.
2514         (locale::facet::_S_create_c_locale): Add parameter.
2515         (locale::locale::_S_num_facets): Move to...
2516         (locale::_Impl::_M_facets_size): Here.
2517         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2518         changes.
2519         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2520         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2521         (locale::_Impl::_Impl(string, size_t)): Change to
2522         (locale::_Impl::_Impl(const char*, size_t)): This.
2523
2524         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2525         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2526         (streambuf::_S_pback_size): This.
2527
2528         * src/globals.cc: Add pre-allocations for "C" facets.
2529         * src/locale-inst.cc: Remove vector instantiations.
2530         * src/locale.cc: Remove vector include. Fixups for _M_names,
2531         _M_facets changes.
2532         * src/localename.cc: Same.
2533
2534         * include/bits/stl_vector.h: Fix odd formatting.
2535
2536         * include/bits/basic_string.tcc: Tweak comment.
2537
2538         * libsupc++/new: Make sure parameters are uglified.
2539         * libsupc++/typeinfo: Same.
2540
2541         * testsuite/22_locale/num_get_members_char.cc: Fixup.
2542         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2543         * testsuite/27_io/filebuf_members.cc: Same.
2544
2545 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
2546
2547         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2548         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2549         does not define strtoll or strtoull, but does define strtol
2550         and strtoul which are the same since in 64 bit mode
2551         sizeof(long) == sizeof(long long).
2552
2553 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
2554
2555         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
2556         trailing spaces, indentation, and macro names.  Make exception
2557         messages more informative.
2558
2559 2002-04-11  Richard Henderson  <rth@redhat.com>
2560
2561         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2562         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2563         (basic_ostream<>::operator<<(long long)): Same.
2564
2565 2002-04-11  Richard Henderson  <rth@redhat.com>
2566
2567         * config/linker-map.gnu: Add __gxx_personality_sj0.
2568
2569 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
2570
2571         libstdc++/1072
2572         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2573         pointer to vector.
2574         Remove forward declaration of vector.
2575         Include vector.
2576         * include/bits/locale_facets.tcc: Remove vector include.
2577         (use_locale): Adjust.
2578         (has_locale): Adjust.
2579         * src/locale.cc: Adjust.
2580         * src/localename.cc: Same.
2581
2582 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
2583             Richard Henderson  <rth@redhat.com>
2584
2585         * include/bits/sstream.tcc: Clean up bit ops.
2586         * include/bits/fstream.tcc: Same.
2587
2588 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
2589
2590         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2591         (__num_base::_S_scale_oct): Remove.
2592         * src/locale.cc (__num_base::_S_scale_hex): Remove.
2593         (__num_base::_S_scale_oct): Remove.
2594
2595 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
2596
2597         libstdc++/6124
2598         * testsuite/23_containers/bitset_members.cc: New test.
2599         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2600         (_S_bit_count): Here.
2601         (_First_one::_S_first_one): Move...
2602         (_S_first_one): Here.
2603         Format.
2604         * src/bitset.cc: Adjust.
2605         * config/linker-map.gnu: Export.
2606
2607 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
2608
2609         libstdc++/5180
2610         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2611         * include/std/std_fstream.h: Clean.
2612         * include/bits/ostream.tcc: Remove extraneous variables.
2613         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2614         open modes and which modes.
2615         (stringbuf::seekpos): Same.
2616         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2617
2618 2002-04-05  Jonathan Wakely <jw@kayari.org>
2619
2620         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2621         random_shuffle, partition, stable_partition, sort, stable_sort,
2622         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
2623
2624 2002-04-05  David S. Miller  <davem@redhat.com>
2625
2626         * config/os/gnu-linux/bits/os_defines.h
2627         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2628
2629 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
2630
2631         libstdc++/3457
2632         via gawrilow@math.tu-berlin.de
2633         * acinclude.m4 (version_specific_libs): Fix combo usage with
2634         --with-gxx-include-dir.
2635         * aclocal.m4: Regenerate.
2636         * configure: Same.
2637
2638 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
2639
2640         As per DR 184, libstdc++/3139
2641         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2642         (numeric_limits<bool>::is_iec559): False.
2643         (numeric_limits<bool>::is_modulo): False.
2644
2645         * testsuite/27_io/ios_init.cc: Add instantiations.
2646
2647 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
2648
2649         libstdc++/5268
2650         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2651         * testsuite/27_io/ios_init.cc (tests04): Add test.
2652
2653         libstdc++/3983
2654         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2655         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2656         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2657         * include/bits/istream.tcc: Use _M_fctype, make consistent with
2658         ostream.
2659         * testsuite/27_io/ios_init.cc (tests03): Add test.
2660
2661 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
2662
2663         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
2664         * include/Makefile.in:  Regenerate.
2665
2666 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
2667             Nathan Myers  <ncm@cantrip.org>
2668             Philip Martin  <philip@codematters.co.uk>
2669
2670         * include/bits/basic_string.h
2671         (replace(i1, i2, _CharT* k1, _CharT* k2),
2672         replace(i2, i2, const _CharT* k1, const _CharT* k2),
2673         replace(i1, i2, iterator k1, iterator k2,
2674         replace(i1, i2, const_iterator k1, const_iterator k2):
2675         New specializations to optimize for the common cases of
2676         pointers and iterators.
2677         (replace(pos, n1, s, n2)): Tweak.
2678         * include/bits/basic_string.tcc: Tweak comments.
2679         * testsuite/21_strings/replace.cc (test04): New tests.
2680
2681 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2682
2683         libstdc++/5542
2684         * acinclude: More extensive checks for msgfmt, --enable-nls.
2685         * aclocal.m4: Regenerate.
2686         * configure: Regenerate.
2687
2688 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2689
2690         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
2691         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
2692         * docs/html/18_support/howto.html:  Document the demangler.
2693         * docs/html/17_intro/howto.html:  And link to it.
2694
2695         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
2696         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
2697
2698 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
2699
2700         * config/linker-map.gnu:  Export __verbose_terminate_handler.
2701         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
2702         Make new LTCOMPILE variable, use it in new special build rules.
2703         * libsupc++/Makefile.in:  Rebuild.
2704         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
2705         runtime __cxa_demangle.
2706
2707         * docs/html/install.html:  Update prereqs and instructions.
2708         * docs/html/19_diagnostics/howto.html:  Bring naming for
2709         verbose_terminate_handler into line with reality.
2710
2711 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
2712
2713         libstdc++/3129
2714         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2715         (basic_ios::_M_streambuf_state): Move.
2716         * include/bits/ios_base (ios_base): To here.
2717         * include/bits/ios_base.h (ios_base::_S_local_words): To
2718         _S_local_word_size.
2719         (ios_base::_M_word_array): To _M_local_word.
2720         (ios_base::_M_words_limit): To _M_word_size.
2721         (ios_base::_M_words): To _M_word.
2722         Comment.
2723         * include/bits/basic_ios.tcc: Adjust.
2724         * src/ios.cc (ios_base::_M_grow_words): Tweak.
2725         * testsuite/27_io/ios_base_storage.cc: Add tests.
2726
2727         libstdc++/5207
2728         Kenny Simpson <theonetruekenny@yahoo.com>
2729         * include/bits/ios_base.h: Fix.
2730
2731         Richard Henderson  <rth@redhat.com>
2732         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2733         last change.
2734
2735         * include/bits/basic_string.h: Tweak formatting.
2736
2737 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
2738
2739         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2740         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2741         By definition, sizeof(char) == 1.
2742         * include/bits/locale_facets.tcc (money_get::do_get,
2743         money_put::do_put): Ditto.
2744         * testsuite/21_strings/inserters_extractors.cc
2745         (test04): Ditto.
2746
2747 2002-03-30  Richard Henderson  <rth@redhat.com>
2748
2749         PR c++/3719
2750         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2751         data out of the exception struct before calling unexpectedHandler.
2752
2753 2002-03-28  Roger Sayle  <roger@eyesopen.com>
2754
2755         * include/c_std/std_cmath.h:  To prevent problems overloading
2756         g++ builtins, use the double variants from the global namespace
2757         before defining float and long double variants in std::.
2758
2759 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
2760
2761         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2762
2763 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
2764
2765         * testsuite/24_iterators/istream_iterator.cc
2766         (test02): New tests.
2767
2768 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2769             Paolo Carlini  <pcarlini@unitus.it>
2770
2771         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2772         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2773         fix i_lit_base e_lit_base arrays, making them independent
2774         from the endianness of the platform; tweak UCS4 to UCS-4BE.
2775
2776 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2777
2778         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2779         allocate at least a byte.
2780
2781         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2782         debugger-friendly.
2783         * testsuite/27_io/streambuf.cc (test07): Fix.
2784         (test06): Enable.
2785
2786 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
2787
2788         * docs/doxygen/Intro.3:  Date tweak.
2789         * docs/doxygen/TODO:  Update.
2790         * docs/doxygen/doxygroups.cc:  Point to tables.html.
2791         * docs/doxygen/mainpage.html:  Date tweak.
2792         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
2793         * docs/doxygen/tables.html:  Fill in the blanks.
2794
2795         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
2796         * include/bits/stl_algo.h:  Likewise; use expanded form.
2797         * include/bits/stl_alloc.h:  Likewise.
2798         * include/bits/stl_construct.h:  Likewise.
2799         * include/bits/stl_deque.h:  Likewise.
2800         * include/bits/stl_iterator_base_types.h:  Likewise.
2801         * include/bits/stl_list.h:  Likewise.
2802         * include/bits/stl_relops.h:  Likewise.
2803         * include/bits/stl_tempbuf.h:  Likewise.
2804         * include/bits/stl_vector.h:  Likewise.
2805         * include/std/std_memory.h:  Likewise.
2806
2807         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
2808         * include/bits/stl_list.h:  Likewise.
2809         * include/bits/stl_vector.h:  Likewise.
2810
2811 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2812
2813         * include/c/: Guard with _CPP_.
2814         * include/c_std/: Same.
2815         * include/Makefile.am: Fixup install, link routines for null
2816         c_base_headers_extra scenarios.
2817         * include/Makefile.in: Regerate.
2818
2819 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
2820             Richard Henderson  <rth@redhat.com>
2821
2822         * testsuite/22_locale/codecvt_members_unicode_char.cc
2823         (test01, test02): make sure that the i_lit_base array
2824         is sufficiently aligned.
2825
2826 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2827
2828         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2829         _ctype_.
2830
2831 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
2832
2833         * testsuite/22_locale/collate_byname.cc
2834         (test01): compare the result of collate::compare with
2835         that of collate::transform + string::compare, not with
2836         that of collate::transform + collate::compare; values
2837         returned by collate::compare are normalized, therefore
2838         test against +-1.
2839
2840 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2841             Jakub Jelinek  <jakub@redhat.com>
2842
2843         * config/locale/gnu/messages_members.h: Correct conditional.
2844         * config/locale/gnu/messages_members.cc: Same.
2845         * config/locale/gnu/time_members.cc: Same.
2846
2847 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2848             Paolo Carlini  <pcarlini@unitus.it>
2849
2850         * testsuite/22_locale/codecvt_members_unicode_char.cc
2851         (test01, test02): Fix i_lit_base arrays, making them
2852         independent from the endianness of the platform.
2853
2854 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2855
2856         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2857         signbit and __signbit directly.
2858         * aclocal.m4: Regenerate.
2859         * configure: Regenerate.
2860         * config.h.in: Regenerate.
2861         * libmath/Makefile.am: Simplify.
2862         * libmath/Makefile.in: Regenerate.
2863         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2864
2865         * include/Makefile.am: Clean up handling of extra "C" header files.
2866         Add hooks for "C" compatibility headers.
2867         * include/Makefile.in: Regenerate.
2868
2869         * include/c/*: Formatting tweaks, cleanups.
2870         * include/c_std/*: Same.
2871
2872 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2873
2874         * config/locale/gnu/messages_members.h: Add __uselocale bits.
2875         * config/locale/gnu/messages_members.cc: Same.
2876         * config/locale/gnu/time_members.cc: Same.
2877
2878 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2879
2880         * src/vterminate.cc: Format, -fno-exceptions cleanup.
2881
2882 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2883
2884         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2885         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2886         * aclocal.m4: Regenerate.
2887         * configure: Likewise.
2888
2889 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
2890             Ulrich Drepper  <drepper@redhat.com>
2891
2892         * src/locale-inst.cc (__convert_from_v): Add an additional
2893         __size parameter in the declarations.
2894         * include/bits/locale_facets.tcc
2895         (__convert_from_v): When available (that is,
2896         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2897         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2898         being defined or not, call and use __convert_from_v in the
2899         appropriate way.
2900         (num_put::_M_convert_int): Same here.
2901         (money_put::do_put(long double)): Same here.
2902
2903 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
2904
2905         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
2906         * docs/html/faq/index.txt:  Regenerate.
2907
2908 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
2909
2910         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2911         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2912         --enable-libunwind-exceptions is set.
2913         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2914         macro to check for libunwind.
2915         * configure: Regenerate.
2916         * src/Makefile.am (libstdc___la_LDFLAGS): Add
2917         LIBUNWIND_FLAG to libstdc link line.
2918         * src/Makefile.in: Regenerate.
2919
2920 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2921
2922         * docs/html/faq/index.html: Add OS X workaround.
2923         * docs/html/17_intro/TODO: Update.
2924
2925 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
2926
2927         * include/bits/locale_facets.tcc
2928         (money_put::do_put(long double)): Fix dimensioning of
2929         temporary buffers to avoid risk of overruns.
2930         (money_put::do_put(string)): Same for the buffer used to
2931         add the grouping chars.
2932         * testsuite/22_locale/money_put_members_char.cc: Add test06.
2933         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2934
2935         * include/bits/locale_facets.tcc
2936         (collate::do_transform): Simplify.
2937
2938 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
2939
2940         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
2941         * configure.in:  Add comments pointing the way for autoconf 2.5x.
2942         * aclocal.m4, config.h.in, configure:  Regenerate.
2943
2944 2002-03-18  Philipp Thomas  <pthomas@suse.de>
2945
2946         * include/backward/hash_map.h: hash, hashtable, hash_map and
2947         hash_multimap are in namespace __gnu_cxx.
2948         include/backward/hash_set.h: hash, hashtable, hash_set and
2949         hash_multiset are in namespace __gnu_cxx.
2950         include/backward/hashtable.h: hash and hashtable are in
2951         namespace __gnu_cxx.
2952         include/backward/rope.h: char_producer, sequence_buffer,
2953         rope, crope and wrope are in namespace __gnu_cxx.
2954         include/backward/slist.h: slist is in namespace __gnu_cxx.
2955         * testsuite/backward/header_hash_map_h.cc
2956         testsuite/backward/header_hash_set_h.cc
2957         testsuite/backward/header_hashtable_h.cc
2958         testsuite/backward/header_rope_h.cc
2959         testsuite/backward/header_slist_h.cc
2960         testsuite/backward/header_tempbuf_h.cc: New tests for
2961         checking that we're using the correct namespace.
2962
2963 2002-03-17  Jason Merrill  <jason@redhat.com>
2964
2965         PR c++/4381
2966         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2967         (check_exception_spec): Call it.  Take the thrown pointer.
2968         (__cxa_call_unexpected): Pass it.
2969         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
2970
2971 2002-03-15  Anthony Green  <green@redhat.com>
2972
2973         * configure.in: Remove useless is_mingw32.
2974         * configure: Rebuilt.
2975
2976 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
2977
2978         * testsuite/22_locale/collate_members_char.cc
2979         (test01): compare the result of collate::compare with
2980         that of collate::transform + string::compare, not with
2981         that of collate::transform + collate::compare.
2982         (test01): values returned by collate::compare are
2983         normalized, therefore test against +-1.
2984         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2985
2986 2002-03-12  Loren Rittle  <ljrittle@acm.org>
2987
2988         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2989         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2990
2991 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2992             Per Liboriussen  <liborius@stofanet.dk>
2993
2994         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2995         unsigned char.
2996         * config/os/gnu-linux/bits/ctype_inline.h: Same.
2997
2998         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2999
3000         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3001         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3002
3003         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3004         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3005
3006         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3007         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3008
3009         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3010
3011 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3012
3013         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3014         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3015         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3016         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3017         that memory limits are in place.
3018         (test03): Add tests.
3019
3020 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
3021
3022         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3023         * aclocal.m4: Regenerate.
3024         * config.h.in: Regenerate.
3025         * configure: Regenerate.
3026         * include/c_std/std_cwctype.h: Guard.
3027
3028 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
3029
3030         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3031         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3032         * aclocal.m4: Regenerate.
3033         * configure: Regenerate.
3034
3035 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
3036
3037         * include/bits/stl_bvector.h: Fix warning.
3038
3039 2002-03-11  Richard Henderson  <rth@redhat.com>
3040
3041         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
3042
3043 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
3044
3045         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3046         New function.  Build the list of tests to run in testsuite_files.
3047         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
3048
3049 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
3050
3051         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
3052         platforms with no weak support.
3053         * testsuite/27_io/ios_init.cc:  Likewise.
3054
3055 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
3056
3057         * include/bits/locale_facets.tcc (time_put::do_put):
3058         Consider sizeof(char_type) in allocating the buffer.
3059
3060         * include/bits/locale_facets.tcc (collate::do_tranform):
3061         Remove redundant variable.
3062
3063 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
3064             Paolo Carlini  <pcarlini@unitus.it>
3065
3066         * config/locale/generic/collate_members.cc
3067         (collate<char,wchar_t>::_M_compare_helper): normalize
3068         values returned by strcoll and wcscoll.
3069         * config/locale/gnu/collate_members.cc
3070         (collate<char,wchar_t>::_M_compare_helper): ditto
3071         for __strcoll_l and __wcscoll_l.
3072
3073 2002-03-10  Anthony Green  <green@redhat.com>
3074
3075         * configure.in: Support cross builds to mingw32 target.
3076         * configure: Rebuilt.
3077
3078 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
3079
3080         * include/bits/locale_facets.tcc (collate::do_transform):
3081         Rewrite to fix problems with long transformed strings.
3082
3083 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
3084
3085         * c_locale_generic.cc: Move to...
3086         * generic/c_locale.cc
3087         * c_locale_generic.h: Move to...
3088         * generic/c_locale.h
3089         * codecvt_specializations_generic.h: Move to...
3090         * generic/codecvt_specializations.h
3091         * collate_members_generic.cc: Move to...
3092         * generic/collate_members.cc
3093         * ctype_members_generic.cc: Move to...
3094         * generic/ctype_members.cc
3095         * messages_members_generic.cc: Move to...
3096         * generic/messages_members.cc
3097         * messages_members_generic.h: Move to...
3098         * generic/messages_members.h
3099         * moneypunct_members_generic.cc: Move to...
3100         * generic/monetary_members.cc
3101         * numpunct_members_generic.cc: Move to...
3102         * generic/numeric_members.cc
3103         * time_members_generic.cc: Move to...
3104         * generic/time_members.cc
3105         * c_locale_gnu.cc: Move to...
3106         * gnu/c_locale.cc
3107         * c_locale_gnu.h: Move to...
3108         * gnu/c_locale.h
3109         * collate_members_gnu.cc: Move to...
3110         * gnu/collate_members.cc
3111         * ctype_members_gnu.cc: Move to...
3112         * gnu/ctype_members.cc
3113         * messages_members_gnu.cc: Move to...
3114         * gnu/messages_members.cc
3115         * messages_members_gnu.h: Move to...
3116         * gnu/messages_members.h
3117         * moneypunct_members_gnu.cc: Move to...
3118         * gnu/monetary_members.cc
3119         * numpunct_members_gnu.cc: Move to...
3120         * gnu/numeric_members.cc
3121         * time_members_gnu.cc: Move to...
3122         * gnu/time_members.cc
3123         * c_locale_ieee_1003.1-200x.cc: Move to...
3124         * ieee_1003.1-2001/c_locale.cc
3125         * c_locale_ieee_1003.1-200x.h: Move to...
3126         * ieee_1003.1-2001/c_locale.h
3127         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3128         * ieee_1003.1-2001/codecvt_specializations.h
3129         * messages_members_ieee_1003.1-200x.cc: Move to...
3130         * ieee_1003.1-2001/messages_members.cc
3131         * messages_members_ieee_1003.1-200x.h: Move to...
3132         * ieee_1003.1-2001/messages_members.h
3133
3134         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3135         * aclocal.m4: Regenerate.
3136         * configure: Regenerate.
3137         * src/Makefile.am (sources): Change to monetary and numeric.
3138         * src/Makefile.in: Regenerate.
3139         * docs/html/configopts.html: Update to ieee_1003.1-2001.
3140
3141 2002-03-08  scott snyder  <snyder@fnal.gov>
3142
3143         libstdc++/5875
3144         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3145         Allow one more digit of precision.
3146         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3147         write a double and read back in the same value.
3148
3149 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
3150
3151         * include/std/std_limits.h: Move static const data members out of
3152         generic template, into base class __numeric_limits_base.
3153         * src/limits.cc: Add definitions.
3154         * config/linker-map.gnu: Add __numeric_limits_base.
3155         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3156
3157 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
3158
3159         * include/bits/stl_alloc.h: Add extern implicit allocator
3160         instantiations.
3161         * include/bits/basic_string.tcc: Tweak.
3162         * include/bits/locale_facets.tcc: Remove default args. Add
3163         has_facet, use_facet extern instantiations.
3164         * src/stl-inst.cc: Add explicit instantiation.
3165         * src/locale-inst.cc: Clean. Remove locale member template
3166         instantiations.
3167
3168         * testsuite/22_locale/operators.cc (test02): Enable.
3169
3170 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
3171             Stephen M. Webb  <stephen.webb@bregmasoft.com>
3172
3173         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3174         (_S_rb_tree_black): Make enum.
3175         Clean. Format.
3176         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3177         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3178         (__stl_threshold): _M_threshold, enum.
3179         * src/stl-inst.cc: Same.
3180         * config/linker-map.gnu: Remove.
3181
3182         * testsuite/23_containers/vector_bool.cc: New.
3183
3184 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
3185
3186         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
3187         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
3188         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
3189         referring to the collection as a whole.  New section on which macros
3190         can be redefined by the user.
3191         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
3192         * docs/html/20_util/howto.html:  Update link to SGI.
3193         * docs/html/faq/index.html:  Update snapshot versions.  New entry
3194         on why g++ (but not gcc) must currently predefine certain macros.
3195         * docs/html/faq/index.txt:  Regenerated.
3196
3197         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
3198         names in declaration.
3199         (basic_string::compare):  These are no longer optional.
3200         * include/bits/ostream.tcc:  Tweak closing brace placement.
3201         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
3202         * include/std/std_sstream.h:  Fix typo in comment.
3203         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
3204         * src/locale.cc:  Likewise.
3205
3206 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
3207
3208         PR libstdc++/5734
3209         * include/bits/stl_vector.h (vector::push_back()):  Guard with
3210         _GLIBCPP_DEPRECATED.
3211
3212 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
3213
3214         * include/bits/c++config:  Fix misplaced leading blanks on first line.
3215
3216 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
3217
3218         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3219         * README (libmath): Make clear.
3220
3221 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
3222
3223         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3224         script globbing in ld.
3225         * aclocal.m4: Rebuilt.
3226         * configure: Rebuilt.
3227
3228 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
3229
3230         * docs/html/17_intro/RELEASE-NOTES: Update.
3231         * README: Format subdirectories.
3232
3233 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
3234
3235         libstdc++/5816
3236         * include/bits/locale_facets.tcc
3237         (num_get::_M_extract_float): Fix the parsing of __dec, since
3238         the standard prescribes that if no grouping characters are
3239         seen, no grouping check is applied.
3240         * testsuite/22_locale/num_get_members_char.cc: Add test05
3241         distilled from the PR.
3242         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3243
3244 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3245
3246         * docs/html/17_intro/porting-howto.xml: Refer to
3247         http://www.oasis-open.org for docbookx.dtd.
3248         * docs/html/17_intro/porting-howto.html: Regenerated.
3249
3250 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
3251
3252         PR libstdc++/3955
3253         * include/std/std_sstream.h:  Remove trailing spaces.
3254         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
3255         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
3256
3257 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
3258
3259         * testsuite/22_locale/num_get_members_char.cc (test04):
3260         Use a named locale expecting grouping (de_DE).
3261         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3262         Ditto.
3263         * testsuite/27_io/ios_manip_basefield.cc (test01):
3264         Extend coverage, uniform treatment of hexs and octs.
3265
3266 2002-02-28  Richard Henderson  <rth@redhat.com>
3267
3268         * config/linker-map.gnu: Export operator new with unsigned long,
3269         and with std::nothrow_t.  Likewise operator delete.
3270
3271 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
3272
3273         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3274         Admit grouping for octals and hexadecimals too.
3275         * testsuite/22_locale/num_get_members_char.cc: Add test04.
3276         (test01): Tweak "." -> "," in void* test.
3277         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3278
3279         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3280         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3281
3282 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
3283
3284         * testsuite/27_io/ios_manip_basefield.cc (test01):
3285         Fix for 64 bit machines.
3286
3287 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
3288
3289         libstdc++/3983
3290         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3291         Adjust comment.
3292         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3293         (basic_ios::_M_fill_init): New.
3294         (basic_ios::fill()): Delay dealing with _M_fill.
3295         Adjust comment.
3296         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3297         (ios_base::_M_call_callbacks): Adjust.
3298         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3299
3300 2002-02-26  Loren Rittle  <ljrittle@acm.org>
3301
3302         * include/Makefile.am (thread_target_headers): Unconditionally
3303         stage and install gthr-posix.h.
3304         (${target_builddir}/gthr-posix.h): New rule cloned off
3305         ${target_builddir}/gthr-default.h.
3306         (${target_builddir}/gthr-default.h): Support chained inclusion
3307         of gthr support headers.
3308         * include/Makefile.in: Rebuilt.
3309
3310 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
3311
3312         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3313         Group all the integral types, not only decs.
3314         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3315         tests, add a few more.
3316
3317 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
3318
3319         * src/ios.cc (ios_base::~ios_base): Tweak.
3320         (ios_base::_M_call_callbacks): Deal with null __p.
3321         (ios_base::ios_base): Set _M_callbacks.
3322         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3323         * testsuite/27_io/ios_init.cc (test02): Fix.
3324
3325         * mkcheck.in (static_fail): Failed links go to output file.
3326
3327 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
3328
3329         * docs/html/faq/index.html:  Update.
3330         * docs/html/faq/index.txt:  Regenerate.
3331
3332 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
3333
3334         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
3335         * aclocal.m4:  Regenerate.
3336         * docs/html/configopts.html:  Document --enable-symvers.
3337         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
3338
3339 2002-02-22  Philipp Thomas  <pthomas@suse.de>
3340
3341         * include/backward/tempbuf.h: get_temporary_buffer and
3342         return_temporary_buffer are in namespace std, not in __gnu_cxx.
3343
3344 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
3345
3346         * configure.in (target_alias): Default to yes.
3347         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3348         libgcc to default case.
3349
3350 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
3351
3352         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
3353         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
3354         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
3355         * aclocal.m4:  Regenerate.
3356         * configure:  Regenerate.
3357         * config/linker-map.dummy:  New file.  Contains nothing useful.
3358
3359 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
3360
3361         * testsuite/22_locale/money_put_members_char.cc: Fix.
3362         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3363
3364         * testsuite/27_io/standard_manipulators.cc: New file.
3365
3366         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3367         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3368
3369 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
3370
3371         * config/os/mingw32/bits/ctype_noninline.h
3372         (ctype<char>::ctype): Remove default args from parm list.
3373         * config/os/djgpp/bits/ctype_noninline.h: Same.
3374
3375 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
3376
3377         * include/std/std_iomanip.h: Inline, tweaks.
3378         * config/linker-map.gnu: Remove hacks.
3379
3380         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3381         * testsuite/27_io/ios_init.cc: Same.
3382         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3383         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3384
3385 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
3386
3387         * config/linker-map.gnu: Export global vtable, typeinfo, guard
3388         variable, and thunk info as per CXXABI docs.
3389
3390 2002-02-19  Loren Rittle <ljrittle@acm.org>
3391
3392         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3393         * include/Makefile.in: Rebuilt.
3394
3395 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3396
3397         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3398           with size3 for the string collations of str5.
3399
3400 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
3401
3402         libstdc++/5708
3403         * include/bits/locale_facets.tcc (money_put::do_put):
3404         For the space field use __fill instead of ' ', uniformly.
3405         * testsuite/22_locale/money_put_members_char.cc:
3406         Add test05 distilled from PR.
3407         (test01-02-03): Trim some '*' to ' '.
3408         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3409
3410 2002-02-18  Loren Rittle <ljrittle@acm.org>
3411
3412         libstdc++/5697
3413         * include/Makefile.am (thread_builddir): Remove (map all
3414         existing uses to target_builddir).
3415         (thread_headers): Rename to...
3416         (thread_target_headers): ...this.
3417         (stamp-thread): Remove.
3418         (stamp-target): Correctly state the position as built.
3419         Update all dependencies to match the new reality.  Remove all
3420         dependency calculations on directories.
3421         * include/Makefile.in: Rebuilt.
3422
3423 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
3424
3425         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3426         * include/bits/fstream.tcc: Same.
3427         * include/bits/sstream.tcc: Same.
3428         * include/bits/ostream.tcc: Same.
3429         * include/bits/istream.tcc: Same.
3430         * include/bits/streambuf.tcc: Same.
3431         * include/bits/basic_ios.tcc: Same.
3432         * include/bits/basic_string.tcc: Same.
3433
3434 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3435
3436         * include/std/std_iosfwd.h: Don't guard typedefs with
3437         _GLIBCPP_USE_WCHAR_T
3438         * include/bits/stringfwd.h: Same.
3439
3440 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3441
3442         * src/locale.cc (moneypunct_byname): Remove definitions.
3443         * include/std/std_streambuf.h (streambuf::operator=): Return.
3444
3445 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3446
3447         Tune for size.
3448         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3449         explicit instantiation.
3450         (string::_Rep::_S_max_size): Same.
3451         * include/bits/basic_string.tcc: Add extern explicit
3452         instantiations for string, wstring.
3453         * include/bits/basic_ios.tcc: Add extern explicit instantiations
3454         for ios, wios.
3455         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3456         * include/bits/istream.tcc: Same, for istream, wistream.
3457         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3458         wiostream.
3459         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3460         istringstream, wistringstream, ostringstream, wostringstream,
3461         stringstream, wstringstream.
3462         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3463         wifstream, ofstream, wofstream, fstream, wfstream.
3464         * src/misc-inst.cc: Correct comments.
3465         Add iomanip instantiations for wide streams.
3466         * include/std/std_iomanip.h: Same.
3467         * include/bits/locale_facets.tcc: Same.
3468
3469         * include/std/std_streambuf.h: Correct
3470         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3471         * include/std/std_sstream.h: Same.
3472         * include/std/std_ostream.h: Same.
3473         * include/std/std_istream.h: Same.
3474         * include/std/std_fstream.h: Same.
3475
3476         * include/std/std_streambuf.h: Add definitions for private copy
3477         ctor and assignment operator.
3478         * include/std/std_istream.h: Remove declared but undefined copy
3479         ctor and assignment operator. This is taken care of in ios_base,
3480         so adding it in the derived class as well is superfluous.
3481         * include/std/std_ostream.h: Same.
3482
3483         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3484         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3485
3486 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
3487
3488         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3489         Add typeinfo bits. Smooth.
3490         * aclocal.m4: Regenerate.
3491         * configure: Same.
3492         * src/Makefile.in: Same.
3493
3494 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
3495
3496         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3497         which do not have a CAS instruction.
3498
3499 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
3500
3501         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
3502         * configure.in:  Call it.
3503         * config/linker-map.gnu:  New file, initial incomplete revision.
3504         * src/Makefile.am:  Optionally pass version script to the linker.
3505         * aclocal.m4:  Regenerate.
3506         * configure:  Regenerate.
3507         * src/Makefile.in:  Regenerate.
3508
3509 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
3510
3511         * src/localename.cc: Remove stdexcept include.
3512         * src/locale-inst.cc: Same.
3513         * src/locale.cc: Same.
3514         * src/functexcept.cc: Remove string includes.
3515         * include/std/std_bitset.h: Remove stdexcept include.
3516         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3517         * testsuite/23_containers/bitset_ctor.cc: Same.
3518
3519 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
3520
3521         * include/bits/stl_algo (__stl_threshold): Declare external.
3522         (__stl_chunk_size): Same.
3523         * include/bits/stl_bvector.h (__WORD_BIT): Same.
3524         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3525         (_S_rb_tree_black): Same.
3526         * src/stl-inst.cc (__stl_threshold): Define.
3527         (__stl_chunk_size): Same.
3528         (__WORD_BIT): Same.
3529         (_S_rb_tree_red): Same.
3530         (_S_rb_tree_black): Same.
3531
3532         * config/io/basic_file_libio.h (__basic_file): Add declarations.
3533         * include/bits/basic_file.h: Remove.
3534         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3535         Declare generic types, specialization.
3536         * config/io/basic_file_stdio.cc: Definitions.
3537         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3538         Declare generic types.
3539         * include/Makefile.am (bits_headers): Remove basic_file.h.
3540         (extra_target_headers): Change basic_file_model.h to basic_file.h.
3541         (stamp-target): Same.
3542
3543         * include/bits/stl_alloc.h: Tweaks.
3544         * include/bits/localefwd.h: Same.
3545
3546 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
3547
3548         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3549         * testsuite/22_locale/collate_members_char.cc (test03): New test.
3550         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3551
3552 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
3553
3554         * include/bits/stl_algo.h (transform (both signatures), generate_n):
3555         Use __typeof__ in concept checks.
3556
3557 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
3558
3559         * include/bits/stl_algo.h (__median, for_each, find, find_if,
3560         adjacent_find, count, count_if, search, search_n, swap_ranges,
3561         transform, replace, replace_if, replace_copy, replace_copy_if,
3562         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3563         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
3564
3565 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
3566
3567         * include/bits/locale_facets.h
3568         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3569         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3570         (__timepunct<_CharT>::_M_put_helper): Same.
3571         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3572
3573         * include/bits/fstream.tcc (filebuf::underflow): Remove
3574         __codecvt_type typedef.
3575         (filebuf::_M_convert_to_external): Same.
3576
3577 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
3578
3579         * docs/doxygen/TODO:  Update.
3580         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
3581         * docs/doxygen/mainpage.html:  Add TODO list link.
3582         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
3583         * docs/doxygen/tables.html:  New file, emoty structure only.
3584
3585         * include/bits/stl_iterator.h:  Doxygenate just about everything.
3586         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
3587         * include/bits/stl_iterator_base_types.h:  Add notes.
3588
3589 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
3590
3591         * include/bits/stl_map.h:  Tweak doxygen markup.
3592         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
3593         * include/bits/stl_vector.h:  Likewise.
3594
3595 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
3596
3597         libstdc++/5286
3598         libstdc++/3860
3599         * include/std/std_fstream.h (filebuf::__file_type): Change to
3600         __basic_file<char>.
3601         (filebuf::_M_convert_to_external): Declare.
3602         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3603         codecvt bits for wide streams.
3604         (filebuf::_M_really_overflow): Use it.
3605         (filebuf::underflow): Use codecvt.
3606         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3607         (codecvt<__enc_traits>::do_out): Deal with partial.
3608         (codecvt<__enc_traits>::do_encoding): Return something useful.
3609         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3610         wchar_t.
3611         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3612         Change expected encoding output.
3613         (test02): Same.
3614         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3615         (test02): Same.
3616
3617 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
3618             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
3619
3620         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3621         (basic_ios::widen): Same.
3622
3623 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
3624
3625         * testsuite/22_locale/money_get_members_char.cc:
3626         Add comment, tidy up.
3627         (test01): more "en_HK" tests (without showbase).
3628         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3629
3630 2002-02-06  Loren Rittle <ljrittle@acm.org>
3631
3632         * config/locale/c_locale_generic.cc: Do not trust
3633         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3634         set by configure.
3635
3636 2002-02-06  Loren Rittle <ljrittle@acm.org>
3637
3638         * acinclude.m4: Add C++ linkage check for strtof.
3639         * aclocal.m4: Rebuilt.
3640         * config.h.in: Rebuilt.
3641         * configure: Rebuilt.
3642         * config/locale/c_locale_generic.cc: Conditionally include
3643         <ieeefp.h>.  Improve handling and error checking of float
3644         and long double input for non-C99 configurations.
3645
3646 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
3647
3648         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3649         In case money_base::symbol deal properly with multi-char sign
3650         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3651         * testsuite/22_locale/money_get_members_char.cc: Add test07.
3652         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3653
3654 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
3655
3656         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3657         First construct a tentative returned string, then, only if the
3658         parsing succeeds, copy it into the string passed by reference.
3659         * testsuite/22_locale/money_get_members_char.cc: Add test06.
3660         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3661
3662 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
3663
3664         * docs/doxygen/TODO:  Impl-defined behavior now documented...
3665         * docs/html/17_intro/howto.html:  ...here.
3666         * docs/doxygen/mainpage.doxy:  Remove, rename...
3667         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
3668         * docs/doxygen/style.css:  Add small text.
3669         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
3670         * docs/doxygen/user.cfg.in:  Likewise.
3671
3672 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
3673
3674         * include/bits/stl_map.h:  Initial doxygen markup.
3675         * include/std/std_fstream.h:  Initial doxygen markup.
3676
3677 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
3678
3679         libstdc++/5579
3680         * include/bits/locale_facets.tcc (money_get::do_get(string)):
3681         Deal correctly with !(__io.flags() & ios_base::showbase)
3682         for case money_base::symbol.
3683         * testsuite/22_locale/money_get_members_char.cc: Add test05.
3684         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3685
3686 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
3687
3688         * testsuite/22_locale/operators.cc
3689         (gnu_collate::do_compare()): Add return statement to
3690         suppress "no return statement" warning.
3691
3692 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
3693
3694         * testsuite/27_io/ostream_manip.cc: Enable test02.
3695
3696 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
3697
3698         * docs/html/documentation.html:  Update for 3.0.96.
3699         * docs/html/faq/index.html:  Update for 3.0.96.
3700         * docs/html/faq/index.txt:  Regenerated.
3701         * docs/doxygen/TODO:  Update notes.
3702         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
3703
3704 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
3705
3706         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3707         Initialize all data members in copy ctor. Make ctors explicit.
3708         (__enc_traits::__enc_traits()): Default ctor does nothing.
3709         (__enc_traits::_M_init): Guard against multiple iconv_opens.
3710         * include/std/std_sstream.h (basic_stringbuf): Make data members
3711         protected.
3712         * include/std/std_fstream.h (basic_filebuf): Same.
3713         * include/std/std_streambuf.h: Tweak.
3714         * include/bits/streambuf.tcc: Same.
3715         * include/bits/sstream.tcc: Same.
3716         * include/bits/fstream.tcc: Same.
3717
3718 2002-01-31  Loren Rittle <ljrittle@acm.org>
3719
3720         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3721         allow NULL argument to be passed to setenv().
3722         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3723         * testsuite/22_locale/collate_members_char.cc: Likewise.
3724         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3725         * testsuite/22_locale/ctype_members_char.cc: Likewise.
3726         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3727         * testsuite/22_locale/messages_members_char.cc: Likewise.
3728         * testsuite/22_locale/money_get_members_char.cc: Likewise.
3729         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3730         * testsuite/22_locale/money_put_members_char.cc: Likewise.
3731         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3732         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3733         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3734         * testsuite/22_locale/num_get_members_char.cc: Likewise.
3735         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3736         * testsuite/22_locale/num_put_members_char.cc: Likewise.
3737         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3738         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3739         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3740         * testsuite/22_locale/time_get_members_char.cc: Likewise.
3741         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3742         * testsuite/22_locale/time_put_members_char.cc: Likewise.
3743         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3744
3745 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
3746
3747         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3748
3749         * ChangeLog-2001: Fix spelling errors...
3750         * docs/html/17_intro/RELEASE-NOTES: Update.
3751         * docs/html/17_intro/TODO: Update.
3752         * README (file): Update.
3753
3754 2002-01-30  Loren Rittle <ljrittle@acm.org>
3755
3756         * config/locale/c_locale_generic.cc: Check errno for ERANGE
3757         instead of non-zero to aid portability.
3758
3759 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3760
3761         * docs/html/22_locale/messages.html: Fix example code.
3762
3763 2002-01-30  Richard Henderson  <rth@redhat.com>
3764
3765         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3766         out from test03 and templatize.
3767         (test03): Use it.
3768
3769 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3770
3771         * config/locale/numpunct_members_gnu.cc
3772         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3773         Fix initialization of _M_grouping for locales which have
3774         _M_thousands_sep == '\0'(L'\0', respectively).
3775         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3776
3777 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
3778
3779         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3780         Better fix for 32/64 bit architectures, avoiding the
3781         implicit assumption that CHAR_BIT == 8.
3782
3783 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
3784
3785         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
3786         * Makefile.in:  Regenerate.
3787
3788         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
3789         * docs/doxygen/Intro.3:  Update.
3790         * docs/doxygen/TODO:  Update.
3791         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
3792         * docs/doxygen/mainpage.doxy:  Update.
3793         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
3794         regenerate comments and variables with 1.2.12.
3795         * docs/doxygen/maint.cfg.in:  Remove file.
3796
3797         * include/bits/stl_relops.h:  Doxygenate.
3798         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
3799
3800         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3801         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3802         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3803         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3804         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3805         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3806         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3807         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3808         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3809         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3810         include/ext/hash_set, include/ext/iterator, include/ext/memory,
3811         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3812         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3813         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3814         include/std/std_algorithm.h, include/std/std_bitset.h,
3815         include/std/std_complex.h, include/std/std_deque.h,
3816         include/std/std_fstream.h, include/std/std_functional.h,
3817         include/std/std_iomanip.h, include/std/std_ios.h,
3818         include/std/std_iosfwd.h, include/std/std_iostream.h,
3819         include/std/std_istream.h, include/std/std_iterator.h,
3820         include/std/std_limits.h, include/std/std_list.h,
3821         include/std/std_locale.h, include/std/std_map.h,
3822         include/std/std_memory.h, include/std/std_numeric.h,
3823         include/std/std_ostream.h, include/std/std_queue.h,
3824         include/std/std_set.h, include/std/std_sstream.h,
3825         include/std/std_stack.h, include/std/std_stdexcept.h,
3826         include/std/std_streambuf.h, include/std/std_string.h,
3827         include/std/std_utility.h, include/std/std_valarray.h,
3828         include/std/std_vector.h:  Add/correct @file doxygen hook.
3829
3830         * include/ext/memory:  Doxygenate most of rest of file.
3831         * libsupc++/exception:  Doxygen output formatting.
3832         * libsupc++/new:  Say which header it is.
3833
3834         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
3835         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
3836         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
3837         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
3838
3839 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3840             Charles Leggett <CGLeggett@lbl.gov>
3841
3842         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3843
3844 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
3845
3846         * testsuite/27_io/ostream_inserter_arith.cc (test03):
3847         Fix to deal correctly with both 32 bit and 64 bit architectures
3848
3849 2002-01-25  Loren Rittle <ljrittle@acm.org>
3850
3851         * testsuite/thread/pthread1.cc: Use one condition variable
3852         per predicate instead of tricky use of one condition variable.
3853
3854 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3855
3856         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3857         streams.
3858         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3859         * testsuite/27_io/filebuf.cc: Compile only.
3860         * testsuite/27_io/filebuf_members.cc: Move tests to here.
3861         * testsuite/27_io/filebuf_virtuals.cc: And here.
3862         Revert sungetc, sync changes for expected values.
3863         * testsuite/27_io/filebuf-*: Move to...
3864         * testsuite/27_io/filebuf_virtuals-*: ...here.
3865         * testsuite/27_io/istream.cc: Compile only, activate.
3866         * testsuite/27_io/ostream.cc: Same.
3867         * testsuite/27_io/iostream.cc: New.
3868         * testsuite/27_io/iostream_members.cc: New.
3869
3870 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
3871
3872         * testsuite/thread/pthread1.cc: Enable on cygwin.
3873         * testsuite/thread/pthread2.cc: Likewise.
3874         * testsuite/thread/pthread3.cc: Likewise.
3875         * testsuite/thread/pthread4.cc: Likewise.
3876         * testsuite/thread/pthread5.cc: Likewise.
3877         * testsuite/thread/pthread6.cc: Likewise.
3878
3879 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3880
3881         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3882
3883 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
3884
3885         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3886         const, tweak.
3887         (basic_ios::fill(char_type)): Use fill().
3888         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3889         (basic_ios::narrow): Same.
3890         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3891         if they are invalid.
3892         (basic_ios::init): Comment.
3893         * testsuite/27_io/ios_init.cc (test02): New.
3894
3895 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
3896
3897         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
3898         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
3899         * include/ext/memory:  Do not include stl_tempbuf.h.
3900         (temporary_buffer):  Add doxygen hook.
3901         (__get_temporary_buffer, get_temporary_buffer,
3902         return_temporary_buffer):  Move back to std:: header...
3903         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
3904         * include/ext/rope:  Do not include stl_tempbuf.h.
3905         * include/ext/stl_hashtable.h:  Likewise.
3906         * include/std/std_algorithm.h:  Likewise.
3907         * testsuite/20_util/temporary_buffer.cc:  New file.
3908
3909 2002-01-24  andrew@andypo.net
3910             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
3911
3912         libstdc++/5432
3913         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3914         * include/bits/localefwd.h: Likewise.
3915         Also use for std::locale::id::_S_highwater.
3916         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3917         * src/locale.cc: Support new usage of _Atomic_word.
3918         (std::locale::classic): Guard entire function against reentry.
3919         * src/localename.cc: Support new usage of _Atomic_word.
3920
3921 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
3922
3923         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3924         _GLIBCPP_HAVE_SETENV.
3925         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3926         * testsuite/22_locale/collate_members_char.cc (test02): Same.
3927         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3928         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3929         * testsuite/22_locale/messages_members_char.cc (test02): Same.
3930         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3931         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3932         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3933         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3934         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3935         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3936         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3937         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3938         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3939         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3940         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3941         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3942         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3943         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3944         * aclocal.m4: Regenerate.
3945         * configure: Regenerate.
3946         * config.h.in: Regenerate.
3947
3948 2002-01-23  Loren Rittle <ljrittle@acm.org>
3949
3950         * testsuite/thread/pthread1.cc: New test.
3951         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3952         * testsuite/thread/pthread3.cc: Likewise.
3953         * testsuite/thread/pthread4.cc: New test adapted from
3954         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3955         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3956         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3957
3958 2002-01-23  Richard Henderson  <rth@redhat.com>
3959
3960         PR libstdc++/5198
3961         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3962         CAS on the cpu variants that support it.  Add versions that use
3963         TAS and that disable interrupts.
3964         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3965
3966 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
3967
3968         * include/bits/locale_facets.tcc: Remove old comments.
3969
3970 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
3971
3972         * include/bits/locale_facets.tcc (__convert_to_v): Change template
3973         parameter to _Tv.
3974         (__convert_from_v): Same.
3975
3976 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3977
3978         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3979         prototype.
3980         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3981         __max_digits checks, adjust arguments.
3982         (num_get::do_get(*)): Changeup.
3983
3984 2002-01-23  Loren Rittle <ljrittle@acm.org>
3985
3986         * config/locale/c_locale_generic.cc: Fix typename usage.
3987
3988 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3989
3990         * config/locale/c_locale_generic.cc: Fix.
3991
3992 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
3993
3994         * docs/html/22_locale/messages.html: Remove angle brackets.
3995         * docs/html/17_intro/TODO: Add.
3996
3997 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
3998
3999         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4000         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4001         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4002         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4003
4004 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4005
4006         Audit for LANG independence.
4007         * include/bits/localefwd.h: Tweaks.
4008         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4009         Use __convert_to_v.
4010         (time_get::do_get_year): Same.
4011         (__convert_from_v): Add.
4012         (num_put::_M_convert_float): Use.
4013         (num_put::_M_convert_int): Same.
4014         (money_put::do_put): Same.
4015
4016         * src/locale-inst.cc: Add instantiations for __convert_from_v.
4017         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4018         * config/locale/time_members_generic.cc:
4019         * config/locale/messages_members_gnu.cc: Same.
4020         * config/locale/messages_members_gnu.h: Same.
4021
4022         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4023         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4024         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4025         * testsuite/22_locale/collate_members_char.cc (test02): New.
4026         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4027         * testsuite/22_locale/ctype_members_char.cc (test03): New.
4028         * testsuite/22_locale/messages_members_char.cc (test02): New.
4029         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4030         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4031         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4032         * testsuite/22_locale/money_get_members_char.cc (test04): New.
4033         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4034         * testsuite/22_locale/money_put_members_char.cc (test04): New.
4035         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4036         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4037         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4038         * testsuite/22_locale/time_put_members_char.cc (test03): New.
4039         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4040         * testsuite/22_locale/time_get_members_char.cc (test07): New.
4041         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4042         * testsuite/22_locale/num_get_members_char.cc (test03): New.
4043         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4044         * testsuite/22_locale/num_put_members_char.cc (test03): New.
4045
4046         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4047         locale issues.
4048         * testsuite/22_locale/time_get_members_char.cc: Same.
4049
4050 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4051
4052         libstdc++/5280
4053         * include/bits/localefwd.h: Tweak comments.
4054         * include/bits/locale_facets.h (__convert_to_v): Add.
4055         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4056         (num_get::do_get(float)): Same.
4057         (num_get::do_get(long double)): Same.
4058         (num_get::do_get(bool)): Same.
4059         (num_get::do_get(long)): Same.
4060         (num_get::do_get(long long)): Same.
4061         (num_get::do_get(unsigned int)): Same.
4062         (num_get::do_get(unsigned short)): Same.
4063         (num_get::do_get(unsigned long)): Same.
4064         (num_get::do_get(unsigned long long)): Same.
4065         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4066         * config/locale/c_locale_generic.cc: Same.
4067
4068 2002-01-22  Loren Rittle <ljrittle@acm.org>
4069
4070         * include/Makefile.am (c_base_builddir): Remove redundant slash.
4071         (std_builddir): Likewise.
4072         (std_headers_rename): Fix cut-n-paste typo.
4073         (install-data-local): Concat path per element instead of once to
4074         first element of list.
4075         * include/Makefile.in: Rebuilt.
4076
4077 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4078
4079         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4080         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4081         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4082
4083 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
4084
4085         * include/bits/locale_facets.h (ctype<char>::classic_table):
4086         Remove definition.
4087         (ctype<char>::_S_ctable): Remove.
4088         * config/os/gnu-linux/bits/ctype_noninline.h
4089         (ctype<char>::_S_table): Remove definition.
4090         (ctype<char>::classic_table): Define.
4091         (ctype<char>::ctype): Replace _S_ctable with classic_table().
4092         * config/os/aix/bits/ctype_noninline.h: Same.
4093         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4094         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4095         * config/os/djgpp/bits/ctype_noninline.h: Same.
4096         * config/os/generic/bits/ctype_noninline.h: Same.
4097         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4098         * config/os/hpux/bits/ctype_noninline.h: Same.
4099         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4100         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4101         * config/os/mingw32/bits/ctype_noninline.h: Same.
4102         * config/os/newlib/bits/ctype_noninline.h: Same.
4103         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4104         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4105         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4106
4107 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
4108
4109         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4110         of _pctype. Use to define _S_ctable.  Add definition for alternate
4111         ctor.  Initialise _M_ctable to _S_ctable in ctors.
4112         (do_toupper, do_tolower): Use inline code appropriate for C-locale
4113         rather than ::toupper, ::tolower.
4114
4115 2002-01-18  Loren Rittle <ljrittle@acm.org>
4116
4117         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4118         Add specialization for FreeBSD systems only to avoid losing test
4119         only due to extra precision unmentioned in system headers.
4120
4121 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
4122
4123         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4124
4125 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
4126
4127         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
4128         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4129
4130 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4131
4132         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4133
4134 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
4135
4136         * configure.target: Define OPT_LDFLAGS for AIX case.
4137
4138 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4139
4140         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4141         __glibcpp_double_has_quiet_NaN): Correct mispelling.
4142
4143 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
4144
4145         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4146
4147 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
4148
4149         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4150         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
4151         * aclocal.m4: Regenerate.
4152         * configure: Regenerate.
4153
4154 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4155
4156         * include/Makefile.am (c_base_headers_rename): New.
4157         (c_base_headers_extra): New.
4158         (stamp-c_base): Modify.
4159         (install-data-local): Use both.
4160         * include/Makefile.in: Regenerate.
4161         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4162         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4163         cstdio ctime cwctype]: Move to..
4164         * include/c/std_*: Here.
4165         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4166         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4167         cstdio ctime cwctype]: Move to..
4168         * include/c_std/std_*: Here.
4169
4170         Alexandre Oliva  <aoliva@redhat.com>
4171         * include/Makefile.am (.PRECIOUS): Add rule.
4172         * include/Makefile.in: Regenerate.
4173
4174 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4175             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4176
4177         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4178         Deuglify, should be current.
4179         (back_insert_iterator::_M_container): Deuglify, should be container.
4180         (front_insert_iterator::_M_container): Same.
4181         (insert_iterator::_M_container): Same.
4182         * testsuite/24_iterators/reverse_iterator.cc: Add check.
4183         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4184         * testsuite/24_iterators/front_insert_iterator.cc: Same.
4185         * testsuite/24_iterators/insert_iterator.cc: Same.
4186
4187 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4188
4189         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4190         static.
4191         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4192         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4193         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4194         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4195         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4196         * config/os/newlib/bits/ctype_noninline.h: Same.
4197         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4198         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4199         * config/os/hpux/bits/ctype_noninline.h: Same.
4200         * config/os/djgpp/bits/ctype_noninline.h: Same.
4201         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4202         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4203         * config/os/aix/bits/ctype_noninline.h: Same.
4204
4205         Testcase by Dietmar Kühl via Peter Schmid
4206         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4207         classic_table().
4208
4209 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4210
4211         * libmath/signbitl.c: Copyright years as list, not range.
4212         * libmath/Makefile.am: Same.
4213         * libmath/Makefie.in: Regenerate.
4214         * libmath/signbit.c: Same.
4215         * libmath/nan.c: Same.
4216         * libmath/copysignf.c: Same.
4217         * libmath/signbitf.c: Same.
4218         * testsuite/22_locale/money_get_members_char.cc: Same.
4219         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4220         * testsuite/22_locale/money_put_members_char.cc: Same.
4221         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4222         * testsuite/22_locale/time_get_members_char.cc: Same.
4223         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4224         * testsuite/22_locale/time_put_members_char.cc: Same.
4225         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4226         * testsuite/21_strings/nonmember.cc: Same.
4227         * testsuite/21_strings/compare.cc: Same.
4228         * testsuite/27_io/stringstream.cc: Same.
4229         * testsuite/27_io/stringbuf.cc: Same.
4230         * testsuite/27_io/filebuf.cc: Same.
4231         * testsuite/27_io/ios_manip_basefield.cc: Same.
4232         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4233         * include/bits/cpp_type_traits.h: Same.
4234         * include/bits/generic_shadow.h: Same.
4235         * include/bits/gslice_array.h: Same.
4236         * include/bits/gslice.h: Same.
4237         * include/bits/indirect_array.h: Same.
4238         * include/bits/slice_array.h: Same.
4239         * include/bits/sstream.tcc: Same.
4240         * include/bits/streambuf_iterator.h: Same.
4241         * include/bits/valarray_array.tcc: Same.
4242         * include/bits/valarray_meta.h: Same.
4243         * include/bits/valarray_array.h: Same.
4244         * config/os/mingw32/bits/ctype_noninline.h: Same.
4245         * config/os/mingw32/bits/ctype_base.h: Same.
4246         * config/os/hpux/bits/ctype_noninline.h: Same.
4247         * config/os/hpux/bits/ctype_base.h: Same.
4248         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4249         * config/os/gnu-linux/bits/ctype_base.h: Same.
4250         * config/os/generic/bits/ctype_noninline.h: Same.
4251         * config/os/generic/bits/ctype_base.h: Same.
4252
4253         * libsupc++/tinfo.h: Tweaks.
4254
4255 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
4256
4257         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4258         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4259         * testsuite/22_locale/ctype_members_char.cc: Tweak.
4260
4261 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
4262
4263         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4264         (num_put::do_put(void*)): Fix.
4265         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4266         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4267         * testsuite/22_locale/num_get_members_char.cc (test02): Add
4268         long double, void, bool types.
4269         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4270
4271 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
4272             Alexandre Oliva  <aoliva@redhat.com>
4273
4274         * libmath/Makefile.am (LINK): Add --tag CC.
4275         * libmath/Makefile.in: Regenerate.
4276
4277 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4278
4279         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4280         of character to attribute mapping table.
4281
4282 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
4283
4284         * testsuite/26_numerics/c99_classification_macros_c.cc
4285         Remove dg-error and dg-excess-errors comments.
4286
4287 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
4288
4289         * include/bits/locale_facets.tcc (time_put::put): Correct output
4290         iterator positions.
4291         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4292         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4293         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4294         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4295
4296 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4297
4298         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4299
4300 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
4301             Nathan Myers  <ncm@cantrip.org>
4302
4303         * include/bits/basic_string.h
4304         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4305         temporaries (i.e., call _M_replace_safe) when possible.
4306         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4307         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4308         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4309         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4310         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4311         * include/bits/basic_string.tcc
4312         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4313         replace(__pos, __n1, __s, __n2).
4314         * testsuite/21_strings/replace.cc (test03): New testcases.
4315
4316         * include/bits/basic_string.h (insert(__pos, __s, __n)):
4317         Adjust comparison wrt overflow.
4318
4319 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
4320
4321         * include/Makefile.am (std_headers_rename): New variable.
4322         (install-data-local): Use it.
4323         * include/Makefile.in: Regenerate.
4324
4325 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
4326
4327         * include/bits/locale_facets.tcc (money_put::do_put(string):
4328         Correct output iterator value.
4329         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4330         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4331
4332 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
4333
4334         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
4335         previous commit.
4336
4337 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
4338
4339         * include/Makefile.am (std_headers):  Update list with new names.
4340         (stamp-std):  Link to standardized name.
4341         * include/Makefile.in:  Regenerate.
4342
4343         * include/std/algorithm, include/std/bitset, include/std/complex,
4344         include/std/deque, include/std/fstream, include/std/functional,
4345         include/std/iomanip, include/std/ios, include/std/iosfwd,
4346         include/std/iostream, include/std/istream, include/std/iterator,
4347         include/std/limits, include/std/list, include/std/locale,
4348         include/std/map, include/std/memory, include/std/numeric,
4349         include/std/ostream, include/std/queue, include/std/set,
4350         include/std/sstream, include/std/stack, include/std/stdexcept,
4351         include/std/streambuf, include/std/string, include/std/utility,
4352         include/std/valarray, include/std/vector:  Rename to...
4353
4354         * include/std/std_algorithm.h, include/std/std_bitset.h,
4355         include/std/std_complex.h, include/std/std_deque.h,
4356         include/std/std_fstream.h, include/std/std_functional.h,
4357         include/std/std_iomanip.h, include/std/std_ios.h,
4358         include/std/std_iosfwd.h, include/std/std_iostream.h,
4359         include/std/std_istream.h, include/std/std_iterator.h,
4360         include/std/std_limits.h, include/std/std_list.h,
4361         include/std/std_locale.h, include/std/std_map.h,
4362         include/std/std_memory.h, include/std/std_numeric.h,
4363         include/std/std_ostream.h, include/std/std_queue.h,
4364         include/std/std_set.h, include/std/std_sstream.h,
4365         include/std/std_stack.h, include/std/std_stdexcept.h,
4366         include/std/std_streambuf.h, include/std/std_string.h,
4367         include/std/std_utility.h, include/std/std_valarray.h,
4368         include/std/std_vector.h:  ...this.
4369
4370 2002-01-11  Loren Rittle <ljrittle@acm.org>
4371
4372         * include/Makefile.am (extra_target_headers): New list of all
4373         target files built with ad hoc naming rules.
4374         (stamp-*): Handle LN_S failure in manner portable across make
4375         implementations.
4376         (install-data-local): Install header files from human-maintained
4377         file lists and directory components instead of non-robust find.
4378         * include/Makefile.in: Rebuilt.
4379
4380 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
4381
4382         * include/bits/locale_facets.tcc (money_get::do_get(string)):
4383         Check for zero-length negative sign before adding it to output
4384         string.
4385         (money_get::do_get(long double)): Return beg.
4386         * testsuite/22_locale/money_get_members_char.cc (test02): Add
4387         iterator checks.
4388         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4389
4390 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
4391
4392         libstdc++/5331
4393         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4394         for _M_extract_float and _M_extract_int
4395         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4396         (num_get<>::_M_extract_int): Likewise, all callers changed
4397         * testsuite/22_locale/num_get_members_char.cc: Testcase
4398
4399 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
4400
4401         * libsupc++/exception (bad_exception): Add comment.
4402         * libsupc++/new (bad_alloc): Same.
4403         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4404
4405 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
4406
4407         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4408         that the destructors should be removed from the descriptions
4409         in the standard: writing them explicitly allows the vtable
4410         heuristic to work. For additional information see:
4411         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4412         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4413         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4414         * libsupc++/exception (bad_exception::~bad_exception()):
4415         Reintroduce declaration.
4416         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4417         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4418         (bad_typeid::~bad_typeid()): Same.
4419         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4420         Reintroduce definition.
4421         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4422         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4423         (bad_typeid::~bad_typeid()): Same.
4424
4425 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
4426
4427         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4428         * include/Makefile.in: Regenerate.
4429
4430 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
4431
4432         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4433         definition.
4434
4435 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
4436
4437         libstdc++/2913
4438         libstdc++/4879
4439         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4440         return value of _M_file->sync().
4441         (filebuf::showmanyc): Check for is_open.
4442         * include/std/fstream (filebuf::sync): Tweak.
4443         * testsuite/27_io/filebuf.cc: Tweak.
4444
4445 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
4446             Brad Garcia  <garsh@attbi.com>
4447
4448         * testsuite/27_io/filebuf_members.cc: Add test.
4449
4450 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
4451             Craig Rodrigues  <rodrigc@mediaone.net>
4452
4453         libstdc++/5174
4454         * po/Makefile.am (mkinstalldirs): Add.
4455         * po/Makefile.in: Regenerate.
4456
4457 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
4458
4459         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4460         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
4461         compiler output.
4462         * testsuite/23_containers/map_operators.cc: Remove
4463         dg-excess-errors comment.
4464         * testsuite/23_containers/set_operators.cc: Likewise.
4465
4466 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
4467
4468         * include/bits/stl_function.h:  Remove two lines of comments;
4469         adjust copyright years.
4470
4471 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
4472
4473         * include/Makefile.am (std_headers): Remove cXXX from list.
4474         (c_base_srcdir): No bits subdirectory.
4475         (c_base_builddir): Same.
4476         (c_base_headers): Adjust names, add ciso646.
4477         (bits_headers): Remove std_xxx.h headers.
4478         * include/Makefile.in: Regenerate.
4479
4480         * include/ext/iterator: Adjust includes.
4481         * include/ext/ropeimpl.h: Same.
4482         * include/ext/stl_hash_fun.h: Same.
4483         * include/ext/algorithm: Same.
4484
4485         * include/backward/bvector.h: Adjust includes.
4486         * include/backward/vector.h: Same.
4487         * include/backward/strstream: Same.
4488         * include/backward/streambuf.h: Same.
4489         * include/backward/stack.h: Same.
4490         * include/backward/set.h: Same.
4491         * include/backward/queue.h: Same.
4492         * include/backward/multiset.h: Same.
4493         * include/backward/multimap.h: Same.
4494         * include/backward/map.h: Same.
4495         * include/backward/list.h: Same.
4496         * include/backward/iterator.h: Same.
4497         * include/backward/iostream.h: Same.
4498         * include/backward/iomanip.h: Same.
4499         * include/backward/fstream.h: Same.
4500         * include/backward/deque.h: Same.
4501         * include/backward/complex.h: Same.
4502
4503         * include/bits/std_algorithm.h: Move to...
4504         * include/std/algorithm: ...here.
4505         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4506         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4507         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4508         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4509         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4510         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4511         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4512         Same.
4513
4514         * include/c_std/bits/std_cassert.h: Move to...
4515         * include/c_std/cassert: Here.
4516         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4517         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4518         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4519         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4520         std_cwctype.h: Same.
4521         * include/c_std/cmath: Adjust cmath.tcc include.
4522         * include/c_std/cstdlib: Adjust includes.
4523         * include/c_std/cwchar: Same.
4524         * include/c_std/ctime: Same.
4525         * include/c_std/cstring: Same.
4526         * include/c_std/cstdio: Same.
4527         * include/c_std/bits: Remove directory.
4528
4529         * include/c/bits/std_cassert.h: Move to...
4530         * include/c/cassert: Here.
4531         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4532         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4533         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4534         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4535         std_cwctype.h: Same.
4536         * include/c/bits: Remove directory.
4537
4538         * include/std/cwctype: Remove.
4539         * include/std/cwchar: Remove.
4540         * include/std/ctime: Remove.
4541         * include/std/cstring: Remove.
4542         * include/std/cstdlib: Remove.
4543         * include/std/cstdio: Remove.
4544         * include/std/cstddef: Remove.
4545         * include/std/cstdarg: Remove.
4546         * include/std/csignal: Remove.
4547         * include/std/csetjmp: Remove.
4548         * include/std/cmath: Remove.
4549         * include/std/clocale: Remove.
4550         * include/std/climits: Remove.
4551         * include/std/ciso646: Remove.
4552         * include/std/cfloat: Remove.
4553         * include/std/cerrno: Remove.
4554         * include/std/cctype: Remove.
4555         * include/std/cassert: Remove.
4556
4557         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4558         files and subsituting <xxx>.
4559         * include/bits/valarray_array.h: Same.
4560         * include/bits/stl_uninitialized.h: Same.
4561         * include/bits/stl_alloc.h: Same.
4562         * include/bits/stl_algobase.h: Same.
4563         * include/bits/sstream.tcc: Same.
4564         * include/bits/pthread_allocimpl.h: Same.
4565         * include/bits/ostream.tcc: Same.
4566         * include/bits/localefwd.h: Same.
4567         * include/bits/locale_facets.tcc: Same.
4568         * include/bits/locale_facets.h: Same.
4569         * include/bits/istream.tcc: Same.
4570         * include/bits/char_traits.h: Same.
4571         * include/bits/boost_concept_check.h: Same.
4572         * include/bits/basic_file.h: Same.
4573         * include/std/bitset: Same.
4574         * include/std/complex: Same.
4575         * include/std/fstream: Same.
4576         * include/std/functional: Same.
4577         * include/std/ios: Same.
4578         * include/std/iostream: Same.
4579         * include/std/ostream: Same.
4580         * include/std/sstream: Same.
4581         * include/std/streambuf: Same.
4582         * include/std/string: Same.
4583         * include/std/iterator: Same.
4584         * include/std/valarray: Same.
4585
4586         * src/ios.cc: Adjust includes.
4587         * src/valarray-inst.cc: Same.
4588         * src/string-inst.cc: Same.
4589         * src/stl-inst.cc: Same.
4590         * src/stdexcept.cc: Same.
4591         * src/misc-inst.cc: Same.
4592         * src/localename.cc: Same.
4593         * src/locale-inst.cc: Same.
4594         * src/locale.cc: Same.
4595         * src/limits.cc: Same.
4596         * src/concept-inst.cc: Same.
4597         * src/complex_io.cc: Same.
4598         * src/codecvt.cc: Same.
4599         * src/bitset.cc: Same.
4600         * src/cmath.cc: Same.
4601
4602 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
4603
4604         * include/bits/stl_tree.h (rb_tree):  Move to...
4605         * include/ext/rb_tree:  ...here, new file.
4606         * include/Makefile.am (ext_headers):  Add new file.
4607         * include/Makefile.in:  Regenerate.
4608         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4609         return_temporary_buffer, struct temporary_buffer):  Move to...
4610         * include/ext/memory:  ...here.
4611         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
4612         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
4613         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
4614
4615 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
4616
4617         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
4618         * include/ext/numeric:  ...here, new file.
4619         * include/bits/stl_function.h (identity_element, unary_compose,
4620         binary_compose, compose1, compose2, identity, select1st,
4621         select2nd, project1st + helper, project2nd + helper,
4622         constant_void_fun + helper, constant_unary_fun + helper,
4623         costant_binary_fun + helper, constant0, constant1, constant2,
4624         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
4625         * include/ext/functional:  ...here, new file.
4626         * include/Makefile.am (ext_headers):  Add new files.
4627         * include/Makefile.in:  Regenerate.
4628         * testsuite/ext/headers.cc:  Include <ext/numeric> and
4629         <ext/functional>.
4630         * include/backward/algo.h:  Include <ext/numeric>, tweak.
4631         * include/backward/function.h:  Include <ext/functional>, tweak.
4632         * include/ext/ropeimpl.h:  Include <ext/numeric>.
4633
4634 2002-01-03  Jeffrey A Law  <law@redhat.com>
4635
4636         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4637         __strtoull declarations with __extension__.
4638
4639 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
4640
4641         * testsuite/lib/prune.exp: Correct regular expression for
4642         -ffunction-sections
4643
4644 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
4645
4646         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4647         Change concept checks, as with lower_bound and PR 2054.
4648         * testsuite/ext/concept_checks.cc:  Expand test to include those.
4649
4650 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
4651
4652         * include/bits/boost_concept_check.h:  Import some changes from
4653         upsteam (Boost) version.
4654
4655 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
4656
4657         * include/bits/stl_algobase.h (copy_n + helpers,
4658         lexicographical_compare_3way + helpers):  Move to...
4659         * include/ext/algorithm:  ...here.
4660         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4661         helpers):  Move to...
4662         * include/ext/memory:  ...here, new file.
4663         * include/Makefile.am (ext_headers):  Add new file.
4664         * include/Makefile.in:  Regenerate.
4665         * testsuite/ext/headers.cc:  Include <ext/memory>.
4666         * include/backward/algobase.h:  Include <ext/memory> and
4667         <ext/algorithm>, tweak.
4668         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
4669         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
4670
4671 2002-01-01  Roger Sayle <roger@eyesopen.com>
4672
4673         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4674         equivalent ___builtin__ versions.
4675
4676         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4677         are available in libstdc++ as the necessary stub implementations
4678         are provided by libmath/stubs.c.
4679
4680 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
4681
4682         * configure.in: Add support for NetBSD cross compiles.
4683         * configure: Regenerate.