OSDN Git Service

PR libfortran/40812 Large file support for MinGW
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog-2004
1 2004-12-31  Paolo Carlini  <pcarlini@suse.de>
2
3         * include/tr1/type_traits (is_member_function_pointer): Provide a
4         workaround for c++/19076, correct for functions with up to 15
5         arguments.
6         * testsuite/tr1/4_metaprogramming/composite_type_traits/
7         is_member_pointer/is_member_pointer.cc: Uncomment "XFAILed" tests;
8         add a test for variadic functions.
9         * testsuite/tr1/4_metaprogramming/composite_type_traits/
10         is_scalar/is_scalar.cc: Uncomment "XFAILed" tests.
11         * testsuite/tr1/4_metaprogramming/primary_type_categories/
12         is_enum/is_enum.cc: Likewise.
13         * testsuite/tr1/4_metaprogramming/primary_type_categories/
14         is_member_function_pointer/is_member_function_pointer.cc: Likewise;
15         add a test for variadic functions.
16         * testsuite/tr1/4_metaprogramming/primary_type_categories/
17         is_member_object_pointer/is_member_object_pointer.cc: Likewise.
18         * testsuite/tr1/4_metaprogramming/type_properties/
19         has_nothrow_assign/has_nothrow_assign.cc: Uncomment "XFAILed" tests.
20         * testsuite/tr1/4_metaprogramming/type_properties/
21         has_nothrow_constructor/has_nothrow_constructor.cc: Likewise.
22         * testsuite/tr1/4_metaprogramming/type_properties/
23         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
24         * testsuite/tr1/4_metaprogramming/type_properties/
25         has_trivial_assign/has_trivial_assign.cc: Likewise.
26         * testsuite/tr1/4_metaprogramming/type_properties/
27         has_trivial_constructor/has_trivial_constructor.cc: Likewise.
28         * testsuite/tr1/4_metaprogramming/type_properties/
29         has_trivial_copy/has_trivial_copy.cc: Likewise.
30         * testsuite/tr1/4_metaprogramming/type_properties/
31         has_trivial_destructor/has_trivial_destructor.cc: Likewise.
32         * testsuite/tr1/4_metaprogramming/type_properties/
33         is_pod/is_pod.cc: Likewise.
34
35 2004-12-30  Paolo Carlini  <pcarlini@suse.de>
36
37         * include/tr1/type_traits: Add has_trivial_copy, has_trivial_assign,
38         has_nothrow_copy, has_nothrow_assign.
39         * testsuite/testsuite_tr1.h: Add test_copy_property and
40         test_assign_property.
41         * testsuite/tr1/4_metaprogramming/type_properties/
42         has_nothrow_assign/has_nothrow_assign.cc: New.
43         * testsuite/tr1/4_metaprogramming/type_properties/
44         has_nothrow_assign/typedefs.cc: Likewise.
45         * testsuite/tr1/4_metaprogramming/type_properties/
46         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
47         * testsuite/tr1/4_metaprogramming/type_properties/
48         has_nothrow_copy/typedefs.cc: Likewise.
49         * testsuite/tr1/4_metaprogramming/type_properties/
50         has_trivial_assign/has_trivial_assign.cc: Likewise.
51         * testsuite/tr1/4_metaprogramming/type_properties/
52         has_trivial_assign/typedefs.cc: Likewise.
53         * testsuite/tr1/4_metaprogramming/type_properties/
54         has_trivial_copy/has_trivial_copy.cc: Likewise.
55         * testsuite/tr1/4_metaprogramming/type_properties/
56         has_trivial_copy/typedefs.cc: Likewise.
57
58 2004-12-29  Jonathan Wakely  <redi@gcc.gnu.org>
59
60         * include/bits/vector.tcc (erase(iterator, iterator),
61         operator=, _M_assign_aux(_ForwardIterator, _ForwardIterator,
62         forward_iterator_tag)): Qualify all calls to std::copy().
63
64 2004-12-29  Paolo Carlini  <pcarlini@suse.de>
65
66         Minimal fixes for -fno-exceptions.
67         * src/bitmap_allocator.cc (free_list::_M_get): Use
68         __throw_exception_again, instead of plain throw.
69         * testsuite/testsuite_abi.cc (get_symbol, examine_symbol,
70         create_symbols): Likewise.
71         * testsuite/testsuite_hooks.cc (verify_demangle,
72         run_tests_wrapped_locale, run_tests_wrapped_env): Likewise.
73         (try_named_locale): Wrap the whole catch in __EXCEPTIONS.
74
75 2004-12-29  Paolo Carlini  <pcarlini@suse.de>
76
77         * include/tr1/type_traits: Add has_nothrow_constructor.
78         * testsuite/tr1/4_metaprogramming/type_properties/
79         has_nothrow_constructor/has_nothrow_constructor.cc: New.
80         * testsuite/tr1/4_metaprogramming/type_properties/
81         has_nothrow_constructor/typedefs.cc: Likewise.
82
83 2004-12-28  David Edelsohn  <edelsohn@gnu.org>
84
85         * configure.host (aix4*|aix5*): Add atomic_word_dir.
86         * config/os/aix/atomic_word.h: New file.
87
88 2004-12-27  Jason Merrill  <jason@redhat.com>
89
90         Add memory barriers to the double-checked locking used for static
91         initialization.
92         * libsupc++/guard.cc (__test_and_acquire): Define default.
93         (_GLIBCXX_GUARD_TEST_AND_ACQUIRE, __set_and_release) 
94         (_GLIBCXX_GUARD_SET_AND_RELEASE): Likewise.
95         (recursion_push, recursion_pop): New abstraction functions.
96         (__cxa_guard_acquire): Use _GLIBCXX_GUARD_TEST_AND_ACQUIRE.
97         (__cxa_guard_release): Use _GLIBCXX_GUARD_SET_AND_RELEASE.
98         * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST): Rename
99         from _GLIBCXX_GUARD_ACQUIRE and reverse sense.
100         (_GLIBCXX_GUARD_SET): Rename from _GLIBCXX_GUARD_RELEASE.
101         * config/cpu/arm/cxxabi_tweaks.h: Likewise.
102         * config/cpu/alpha/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER) 
103         (_GLIBCXX_WRITE_MEM_BARRIER): Define.
104         * config/cpu/powerpc/atomic_word.h: Likewise.
105         * config/cpu/sparc/atomic_word.h: Likewise.
106         * config/cpu/generic/atomic_word.h: Define them, commented out.
107         * include/bits/atomicity.h: Define defaults.
108         * config/cpu/ia64/atomic_word.h (__test_and_acquire)
109         (__set_and_release): New inlines.
110         (_GLIBCXX_GUARD_TEST_AND_ACQUIRE): Define.
111         (_GLIBCXX_GUARD_SET_AND_RELEASE): Define.
112
113         * libsupc++/guard.cc (acquire_1): Use __builtin_trap instead of
114         abort();
115
116 2004-12-27  Paolo Carlini  <pcarlini@suse.de>
117
118         * include/tr1/type_traits: Rework the _DEFINE_SPEC* macros.
119
120 2004-12-26  Paolo Carlini  <pcarlini@suse.de>
121
122         * include/tr1/type_traits (__is_enum_helper): Slightly simplify,
123         make __convert non template.
124
125 2004-12-26  Paolo Carlini  <pcarlini@suse.de>
126
127         * include/tr1/type_traits: Implement is_pod, has_trivial_constructor,
128         and has_trivial_destructor.
129         * testsuite/tr1/4_metaprogramming/type_properties/
130         has_trivial_constructor/has_trivial_constructor.cc: New.
131         * testsuite/tr1/4_metaprogramming/type_properties/
132         has_trivial_constructor/typedefs.cc: Likewise.
133         * testsuite/tr1/4_metaprogramming/type_properties/
134         has_trivial_destructor/has_trivial_destructor.cc: Likewise.
135         * testsuite/tr1/4_metaprogramming/type_properties/
136         has_trivial_destructor/typedefs.cc: Likewise.
137         * testsuite/tr1/4_metaprogramming/type_properties/
138         is_pod/is_pod.cc: Likewise.
139         * testsuite/tr1/4_metaprogramming/type_properties/
140         is_pod/typedefs.cc: Likewise.
141
142 2004-12-25  Paolo Carlini  <pcarlini@suse.de>
143
144         * include/tr1/type_traits (is_enum): Minor tweak.
145
146 2004-12-25  Paolo Carlini  <pcarlini@suse.de>
147
148         * include/tr1/type_traits: Implement is_enum (usual caveats about
149         the nasty consequences of c++/19076...).
150         * testsuite/testsuite_tr1.h: Add ConvType.
151         * testsuite/tr1/4_metaprogramming/composite_type_traits/
152         is_scalar/is_scalar.cc: New.
153         * testsuite/tr1/4_metaprogramming/composite_type_traits/
154         is_scalar/typedefs.cc: Likewise.
155         * testsuite/tr1/4_metaprogramming/primary_type_categories/
156         is_enum/is_enum.cc: Likewise.
157         * testsuite/tr1/4_metaprogramming/primary_type_categories/
158         is_enum/typedefs.cc: Likewise.
159
160 2004-12-24  Paolo Carlini  <pcarlini@suse.de>
161
162         * include/tr1/type_traits: Add missing undef.
163
164 2004-12-24  Paolo Carlini  <pcarlini@suse.de>
165
166         * include/tr1/type_traits: Implement is_member_object_pointer,
167         is_member_function_pointer. N.B. Due to c++/19076, the latter
168         doesn't really work at the moment (a rather ugly work around
169         will be provided in case the front-end bug doesn't get fixed
170         soon); generalize and extend the _DEFINE_SPEC macros.
171         * testsuite/tr1/4_metaprogramming/composite_type_traits/
172         is_member_pointer/is_member_pointer.cc: New.
173         * testsuite/tr1/4_metaprogramming/composite_type_traits/
174         is_member_pointer/typedefs.cc: Likewise.
175         * testsuite/tr1/4_metaprogramming/primary_type_categories/
176         is_member_function_pointer/is_member_function_pointer.cc: Likewise.
177         * testsuite/tr1/4_metaprogramming/primary_type_categories/
178         is_member_function_pointer/typedefs.cc: Likewise.
179         * testsuite/tr1/4_metaprogramming/primary_type_categories/
180         is_member_object_pointer/is_member_object_pointer.cc: Likewise.
181         * testsuite/tr1/4_metaprogramming/primary_type_categories/
182         is_member_object_pointer/typedefs.cc: Likewise.
183
184 2004-12-22  Paolo Carlini  <pcarlini@suse.de>
185
186         * include/tr1/type_traits_fwd.h: New, forward declarations.
187         * include/tr1/type_traits: Clean-up.
188         * include/Makefile.am: Add.
189         * include/Makefile.in: Regenerate.
190
191 2004-12-20  Paolo Carlini  <pcarlini@suse.de>
192
193         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: New.
194         * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise.
195         * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise.
196         * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise.
197         * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
198         * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise.
199         * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise.
200         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise.
201         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise.
202         * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise.
203         * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise.
204         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
205         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
206         * testsuite/27_io/basic_istream/seekg/wchar_t/
207         exceptions_badbit_throw.cc: Likewise.
208         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
209         * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
210         * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise.
211         * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
212         * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise.
213         * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise.
214         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
215         * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise.
216         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
217         * testsuite/27_io/basic_istream/tellg/wchar_t/
218         exceptions_badbit_throw.cc: Likewise.
219         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
220         * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
221         * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
222
223         * testsuite/data/wistream_extractor_other-1.tst: New.
224         * testsuite/data/wistream_extractor_other-1.txt: Likewise.
225         * testsuite/data/wistream_extractor_other-2.tst: Likewise.
226         * testsuite/data/wistream_seeks-1.tst: Likewise.
227         * testsuite/data/wistream_seeks-1.txt: Likewise.
228         * testsuite/data/wistream_unformatted-1.tst: Likewise.
229         * testsuite/data/wistream_unformatted-1.txt: Likewise.
230
231         * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
232         Use wistream_extractor_other-1.txt.
233
234         * testsuite/27_io/basic_istream/peek/char/6414.cc: Minor clean-up.
235         * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
236         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
237         * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
238
239 2004-12-19  Paolo Carlini  <pcarlini@suse.de>
240
241         * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: New.
242         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
243         01.cc: Likewise.
244         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
245         02.cc: Likewise.
246         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
247         03.cc: Likewise.
248         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
249         06.cc: Likewise.
250         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
251         07.cc: Likewise.
252         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
253         08.cc: Likewise.
254         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
255         09.cc: Likewise.
256         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
257         10.cc: Likewise.
258         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
259         11.cc: Likewise.
260         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
261         12.cc: Likewise.
262         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
263         13.cc: Likewise.
264         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
265         9555-ia.cc: Likewise.
266         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
267         exceptions_badbit_throw.cc: Likewise.
268         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
269         exceptions_failbit.cc: Likewise.
270         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
271         exceptions_failbit_throw.cc: Likewise.
272         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
273         1.cc: Likewise.
274         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
275         11095-i.cc: Likewise.
276         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
277         2.cc: Likewise.
278         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
279         3.cc: Likewise.
280         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
281         9555-ic.cc: Likewise.
282         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
283         1.cc: Likewise.
284         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
285         2.cc: Likewise.
286         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
287         3.cc: Likewise.
288         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
289         9318-in.cc: Likewise.
290         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
291         9424-in.cc: Likewise.
292         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
293         9555-io.cc: Likewise.
294         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
295         error_failbit.cc: Likewise.
296         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
297         exceptions_badbit_throw.cc: Likewise.
298         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
299         exceptions_failbit_throw.cc: Likewise.
300         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
301         exceptions_null.cc: Likewise.
302
303         * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Minor
304         tweaks.
305
306         * testsuite/testsuite_io.h (struct fail_buf): Fix type of
307         dummy return values.
308
309 2004-12-19  Dhruv Matani  <dhruvbird@gmx.net>
310         
311         * include/ext/bitmap_allocator.h: Make doxygen style comments for
312         internal functions and classes.
313
314 2004-12-19  Dhruv Matani  <dhruvbird@gmx.net>
315         
316         * docs/html/20_util/allocator.html: Correct link.
317         * docs/html/ext/ballocator_doc.txt: Remove.
318         * docs/html/ext/ballocator_doc.html: Add.
319
320 2004-12-16  Danny Smith  <dannysmith@users.sourceforge.net>
321
322         PR target/18997
323         * config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK):
324         Define to 0 for __CYGWIN__.
325
326 2004-12-16  Paolo Carlini  <pcarlini@suse.de>
327
328         * include/tr1/type_traits: Implement add_const, add_volatile,
329         and add_cv.
330         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
331         add_const.cc: New.
332         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
333         add_cv.cc: Likewise.
334         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
335         add_volatile.cc: Likewise.
336
337 2004-12-16  Paolo Carlini  <pcarlini@suse.de>
338
339         * include/tr1/type_traits: Implement is_function.
340         (struct __sfinae_types, struct __is_function_helper): New.
341         * testsuite/tr1/4_metaprogramming/composite_type_traits/
342         is_object/is_object.cc: New.
343         * testsuite/tr1/4_metaprogramming/composite_type_traits/
344         is_object/typedefs.cc: Likewise.
345         * testsuite/tr1/4_metaprogramming/primary_type_categories/
346         is_function/is_function.cc: Likewise.
347         * testsuite/tr1/4_metaprogramming/primary_type_categories/
348         is_function/typedefs.cc: Likewise.
349
350 2004-12-13  Paolo Carlini  <pcarlini@suse.de>
351
352         * include/tr1/type_traits (extent): Minor tweak (i.e., public).
353
354 2004-12-12  Paolo Carlini  <pcarlini@suse.de>
355
356         * include/tr1/type_traits: Minor tweak.
357         * testsuite/tr1/4_metaprogramming/type_properties/extent/
358         typedefs.cc: Fix date.
359
360 2004-12-12  Paolo Carlini  <pcarlini@suse.de>
361
362         * include/tr1/type_traits: Implement extent.
363         * testsuite/tr1/4_metaprogramming/type_properties/extent/
364         extent.cc: New.
365         * testsuite/tr1/4_metaprogramming/type_properties/extent/
366         typedefs.cc: Likewise.
367
368 2004-12-12  Paolo Carlini  <pcarlini@suse.de>
369
370         * include/tr1/type_traits: Implement is_pointer, remove_pointer,
371         and add_pointer; reformat. 
372         (_DEFINE_PRIMARY_SPEC_HELPER, _DEFINE_PRIMARY_SPEC): Generalize
373         and rename to _DEFINE_SPEC_HELPER and _DEFINE_SPEC; update uses.
374         * testsuite/tr1/4_metaprogramming/pointer_modifications/
375         add_pointer.cc: New.
376         * testsuite/tr1/4_metaprogramming/pointer_modifications/
377         remove_pointer.cc: Likewise.
378         * testsuite/tr1/4_metaprogramming/primary_type_categories/
379         is_pointer/is_pointer.cc: Likewise.
380         * testsuite/tr1/4_metaprogramming/primary_type_categories/
381         is_pointer/typedefs.cc: Likewise.
382
383         * testsuite/tr1/4_metaprogramming/primary_type_categories/
384         is_reference/is_reference.cc: Slightly tweak consistently.
385
386 2004-12-11  Paolo Carlini  <pcarlini@suse.de>
387
388         * include/tr1/type_traits: Implement rank.
389         * testsuite/testsuite_tr1.h (test_property): Generalize to any
390         value_type.
391         (test_category, test_relationship): Slightly tweak consistently.
392         * testsuite/tr1/4_metaprogramming/type_properties/rank/
393         rank.cc: New.
394         * testsuite/tr1/4_metaprogramming/type_properties/rank/
395         typedefs.cc: Likewise.
396
397         * testsuite/tr1/4_metaprogramming/composite_type_traits/
398         is_compound/is_compound.cc: New.
399         * testsuite/tr1/4_metaprogramming/composite_type_traits/
400         is_compound/typedefs.cc: Likewise.
401
402         * testsuite/tr1/4_metaprogramming/composite_type_traits/
403         is_arithmetic/is_arithmetic.cc: Tweak consistently with the
404         testsuite_tr1.h changes.
405         * testsuite/tr1/4_metaprogramming/composite_type_traits/
406         is_fundamental/is_fundamental.cc: Likewise.
407         * testsuite/tr1/4_metaprogramming/primary_type_categories/
408         is_array/is_array.cc: Likewise.
409         * testsuite/tr1/4_metaprogramming/primary_type_categories/
410         is_floating_point/is_floating_point.cc: Likewise.
411         * testsuite/tr1/4_metaprogramming/primary_type_categories/
412         is_integral/is_integral.cc: Likewise.
413         * testsuite/tr1/4_metaprogramming/primary_type_categories/
414         is_reference/is_reference.cc: Likewise.
415         * testsuite/tr1/4_metaprogramming/primary_type_categories/
416         is_void/is_void.cc: Likewise.
417         * testsuite/tr1/4_metaprogramming/relationships_between_types/
418         is_same/is_same.cc: Likewise.
419         * testsuite/tr1/4_metaprogramming/type_properties/is_const/
420         is_const.cc: Likewise.
421         * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
422         is_volatile.cc: Likewise.
423
424 2004-12-10  Paolo Carlini  <pcarlini@suse.de>
425
426         * include/tr1/type_traits: Implement remove_const, remove_volatile,
427         and remove_cv.
428         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
429         remove_const.cc: New.
430         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
431         remove_cv.cc: Likewise.
432         * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
433         remove_volatile.cc: Likewise.
434
435         * testsuite/tr1/4_metaprogramming/primary_type_categories/
436         is_array/is_array.cc: Slightly tweak consistently, remove typedefs,
437         add a few tests.
438
439 2004-12-09  Paolo Carlini  <pcarlini@suse.de>
440
441         * include/tr1/type_traits: Implement remove_extent and
442         remove_all_extents.
443         * testsuite/tr1/4_metaprogramming/array_modifications/
444         remove_all_extents.cc: New.
445         * testsuite/tr1/4_metaprogramming/array_modifications/
446         remove_extent.cc: Likewise.
447
448 2004-12-08  Paolo Carlini  <pcarlini@suse.de>
449
450         * include/tr1/type_traits: Implement is_same, add_reference and
451         remove_reference.
452         * testsuite/testsuite_tr1.h (test_relationship): New.
453         * testsuite/tr1/4_metaprogramming/reference_modifications/
454         add_reference.cc: New.
455         * testsuite/tr1/4_metaprogramming/reference_modifications/
456         remove_reference.cc: Likewise.
457         * testsuite/tr1/4_metaprogramming/relationships_between_types/
458         is_same/is_same.cc: Likewise.
459         * testsuite/tr1/4_metaprogramming/relationships_between_types/
460         is_same/typedefs.cc: Likewise.
461
462         * testsuite/tr1/4_metaprogramming/type_properties/is_const/
463         is_const.cc: Minor tweaks.
464         * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
465         is_volatile.cc: Likewise.
466
467 2004-12-08  David Edelsohn  <edelsohn@gnu.org>
468
469         * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and
470         PICFLAG.
471         * Makefile.in: Regenerated.
472
473 2004-12-07  Paolo Carlini  <pcarlini@suse.de>
474
475         * include/tr1/type_traits: Implement is_const and is_volatile.
476         * testsuite/testsuite_tr1.h (test_property): New.
477         * testsuite/tr1/4_metaprogramming/type_properties/
478         is_const/is_const.c: New.
479         * testsuite/tr1/4_metaprogramming/type_properties/
480         is_const/typedefs.cc: Likewise.
481         * testsuite/tr1/4_metaprogramming/type_properties/
482         is_volatile/is_volatile.cc: Likewise.
483         * testsuite/tr1/4_metaprogramming/type_properties/
484         is_volatile/typedefs.cc: Likewise.
485         * testsuite/tr1/4_metaprogramming/composite_type_traits/
486         is_arithmetic/is_arithmetic.cc: Slightly tweak to use ClassType
487         from testsuite_tr1.h.
488         * testsuite/tr1/4_metaprogramming/composite_type_traits/
489         is_fundamental/is_fundamental.cc: Likewise.
490         * testsuite/tr1/4_metaprogramming/primary_type_categories/
491         is_array/is_array.cc: Likewise.
492         * testsuite/tr1/4_metaprogramming/primary_type_categories/
493         is_floating_point/is_floating_point.cc: Likewise.
494         * testsuite/tr1/4_metaprogramming/primary_type_categories/
495         is_integral/is_integral.cc: Likewise.
496         * testsuite/tr1/4_metaprogramming/primary_type_categories/
497         is_reference/is_reference.cc: Likewise.
498         * testsuite/tr1/4_metaprogramming/primary_type_categories/
499         is_void/is_void.cc: Likewise.
500
501 2004-12-06  Paolo Carlini  <pcarlini@suse.de>
502
503         * include/tr1/type_traits: Implement is_reference.
504         * testsuite/tr1/4_metaprogramming/primary_type_categories/
505         is_reference/is_reference.cc: New.
506         * testsuite/tr1/4_metaprogramming/primary_type_categories/
507         is_reference/typedefs.cc: Likewise.
508
509 2004-12-05  Paolo Carlini  <pcarlini@suse.de>
510
511         PR libstdc++/18837
512         * testsuite/testsuite_performance.h: Fix mallinfo macros for
513         hpux.
514
515 2004-12-04  Richard Henderson  <rth@redhat.com>
516
517         * testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha.
518
519 2004-12-04  Richard Henderson  <rth@redhat.com>
520
521         * include/ext/malloc_allocator.h: Include cstdlib.
522
523 2004-12-04  Paolo Carlini  <pcarlini@suse.de>
524
525         * include/tr1/type_traits: New.
526         * include/Makefile.am: Add.
527         * include/Makefile.in: Regenerate.
528         * testsuite/testsuite_tr1.h: New.
529         * testsuite/tr1/4_metaprogramming/composite_type_traits/
530         is_arithmetic/is_arithmetic.cc: New.
531         * testsuite/tr1/4_metaprogramming/composite_type_traits/
532         is_arithmetic/typedefs.cc: Likewise.
533         * testsuite/tr1/4_metaprogramming/composite_type_traits/
534         is_fundamental/is_fundamental.cc: Likewise.
535         * testsuite/tr1/4_metaprogramming/composite_type_traits/
536         is_fundamental/typedefs.cc: Likewise.
537         * testsuite/tr1/4_metaprogramming/helper_classes/
538         true_false_type.cc: Likewise.
539         * testsuite/tr1/4_metaprogramming/helper_classes/
540         true_false_type_typedefs.cc: Likewise.
541         * testsuite/tr1/4_metaprogramming/helper_classes/
542         typedefs.cc: Likewise.
543         * testsuite/tr1/4_metaprogramming/primary_type_categories/
544         is_array/is_array.cc: Likewise.
545         * testsuite/tr1/4_metaprogramming/primary_type_categories/
546         is_array/typedefs.cc: Likewise.
547         * testsuite/tr1/4_metaprogramming/primary_type_categories/
548         is_floating_point/is_floating_point.cc: Likewise.
549         * testsuite/tr1/4_metaprogramming/primary_type_categories/
550         is_floating_point/typedefs.cc: Likewise.
551         * testsuite/tr1/4_metaprogramming/primary_type_categories/
552         is_integral/is_integral.cc: Likewise.
553         * testsuite/tr1/4_metaprogramming/primary_type_categories/
554         is_integral/typedefs.cc: Likewise.
555         * testsuite/tr1/4_metaprogramming/primary_type_categories/
556         is_void/is_void.cc: Likewise.
557         * testsuite/tr1/4_metaprogramming/primary_type_categories/
558         is_void/typedefs.cc: Likewise.
559
560 2004-12-02  Paolo Carlini  <pcarlini@suse.de>
561
562         * testsuite/testsuite_io.h (class sync_buf): New, templatized
563         version of sync_streambuf; add typedefs for streambuf/wstreambuf.
564         (class fail_buf): Likewise, for fail_streambuf.
565         (class fail_num_get): Templatize and add char/wchar_t typedefs.
566         (class fail_num_put): Likewise.
567         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
568         exceptions_badbit_throw.cc: Use the latter.
569         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
570         exceptions_failbit_throw.cc: Likewise.
571         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
572         exceptions_badbit_throw.cc: Likewise.
573         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
574         exceptions_failbit_throw.cc: Likewise.
575
576 2004-12-01  Paolo Carlini  <pcarlini@suse.de>
577
578         * testsuite/27_io/basic_istream/get/wchar_t/1.cc: New.
579         * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
580         * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise.
581         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
582         * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
583         * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
584         * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise.
585         * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise.
586
587 2004-11-29  Paolo Carlini  <pcarlini@suse.de>
588
589         * testsuite/21_strings/basic_string/capacity/char/18654.cc: Use
590         better names.
591         * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same.
592
593 2004-11-29  Paolo Carlini  <pcarlini@suse.de>
594
595         PR libstdc++/18654
596         * include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
597         do not round to pagesize.
598         * testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
599         * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.
600
601 2004-11-27  Paolo Carlini  <pcarlini@suse.de>
602
603         PR libstdc++/18690
604         * include/tr1/utility (get(pair), get(const pair)): Change
605         occurrences of _I to _Int.
606
607 2004-11-27  Paolo Carlini  <pcarlini@suse.de>
608
609         * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo.
610         * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise.
611
612         * testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY.
613         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
614         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise.
615         * testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise.
616
617 2004-11-26  Paolo Carlini  <pcarlini@suse.de>
618
619         DR 243. get and getline when sentry reports failure [WP]
620         * include/bits/istream.tcc (istream<>::get, istream<>::getline):
621         Store a null character only if the array has a non-zero size.
622         * src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
623         Likewise.
624         * testsuite/27_io/basic_istream/get/char/3.cc: New.
625         * testsuite/27_io/basic_istream/getline/char/6.cc: New.
626         * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
627         * docs/html/ext/howto.html: Add an entry for DR 243.
628
629         * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
630         * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
631         * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
632         * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
633         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
634
635 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
636
637         * configure: Regenerate for libtool change.
638
639 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
640
641         * Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
642         * include/Makefile.in: Likewise.
643         * libmath/Makefile.in: Likewise.
644         * libsupc++/Makefile.in: Likewise.
645         * po/Makefile.in: Likewise.
646         * src/Makefile.in: Likewise.
647         * testsuite/Makefile.in: Likewise.
648
649 2004-11-24  Jonathan Wakely  <redi@kayari.org>
650
651         * docs/html/ext/howto.html: Fix incorrect link.
652         * docs/html/documentation.html: Regenerate.
653
654 2004-11-24  Nathan Myers  <ncm@cantrip.org>
655
656         * include/bits/streambuf_iterator.h
657         (istreambuf_iterator<>::operator++(), operator++(int)): Don't
658         check unnecessarily the return value of _M_sbuf->sbumpc().
659
660 2004-11-24  Benjamin Kosnik  <bkoz@redhat.com>
661
662         * include/Makefile.am (tr1_headers): Add utility, functional.
663         * include/Makefile.in: Regenerate.
664
665 2004-11-24  Chris Jefferson  <chris@bubblescope.net>
666
667         * include/tr1/tuple(operator!=): Change operator 
668         definition to match (draft) technical report.
669         (operator>): Same.
670         (operator<=): Same.
671         (operator>=): Same.
672         (ref): Move to include/tr1/functional.
673         (cref): Same.
674         (tuple_size<pair>): Move to include/tr1/utility.
675         (tuple_element<,pair>): Same.
676         * include/tr1/functional: New.
677         * include/tr1/utility: New.
678         * testsuite/tr1/6_container/utility/pair.cc: New.
679
680 2004-11-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
681
682         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
683         (do_out, do_unshift, do_in): Remove redundant typedef.
684
685 2004-11-23  Chris Jefferson  <chris@bubblescope.net>
686
687         * testsuite/testsuite_iterators.h: New.
688         * testsuite/25_algorithms/search_n/iterator.cc: New.
689         * testsuite/performance/25_algorithms/search_n.cc: New.
690
691 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
692
693         * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.
694
695 2004-11-23  Benjamin Kosnik  <bkoz@redhat.com>
696
697         * docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
698         * docs/doxygen/run_doxygen: Renames for std::tr1.
699         * docs/doxygen/user.cfg.in: Add cxxabi.h.
700         * include/bits/*.tcc: Add file markup.
701         * include/bits/allocator.h: Add link to allocator.html.
702         * include/bits/atomicity.h: Add file markup.
703         * include/bits/concurrence.h: Same.
704         * include/bits/functexcept.h: Same.
705         * include/ext*: Adjust file markup, remove GCC3 bits.
706         * include/std/*: Adjust file markup, remove bits about renamed files.
707         * libsupc++/cxxabi.h: Add file markup.
708         * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
709
710 2004-11-22  Benjamin Kosnik  <bkoz@redhat.com>
711
712         * include/bits/locale_facets.h (isspace, isprint, isupper,
713         islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
714         toupper, tolower): Add doxygen markup.
715         (codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
716         time_get_byname, time_put_byname, moneypunct_byname,
717         messages_byname): Same.
718         * include/std/std_fstream.h: Remove superfluous markup.
719         * include/std/std_sstream.h: Same.
720         * include/std/std_streambuf.h: Same.
721         * include/ext/enc_filebuf.h: Adjust markup.
722         * include/ext/stdio_filebuf.h: Same.
723         * include/ext/stdio_sync_filebuf.h: Same.
724         * include/bits/codecvt.h: Same.
725         * config/os/gnu-linux/ctype_base.h: Same.
726         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
727         * include/tr1/array: Add markup.
728         * include/tr1/tuple: Same.
729         
730         * docs/doxygen/run_doxygen: Print arguments.
731
732         * docs/doxygen/user.cfg.in: Tweaks.
733
734 2004-11-19  Jonathan Wakely  <redi@gcc.gnu.org>
735
736         * include/bits/basic_string.h, include/bits/locale_classes.h,
737         include/bits/valarray_after.h, include/bits/valarray_before.h,
738         include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
739         include/std/std_functional.h, include/std/std_memory.h,
740         include/std/std_numeric.h: Doxygen fixes.
741
742 2004-11-19  Paolo Carlini  <pcarlini@suse.de>
743
744         * testsuite/22_locale/time_get/get_date/char/1.cc: In the checks
745         use, more correctly (and consistently with other testcases) the
746         return value of the facet (the iterator arguments are by value).
747         * testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise.
748         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
749         * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise.
750         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
751         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
752         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
753         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
754         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
755         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
756         * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
757         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
758
759 2004-11-19  Jonathan Wakely  <redi@gcc.gnu.org>
760
761         * Makefile.am (doxygen, doxygen-maint, doxygen-man): Remove extra '$'
762         from host_alias variable.
763         * Makefile.in: Regenerate.
764
765 2004-11-19  Chris Jefferson  <chris@bubblescope.net>
766
767         * include/bits/stl_list.h (list::back, list::back const):
768         Don't decrement temporary.
769
770 2004-11-19  Paolo Carlini  <pcarlini@suse.de>
771
772         * include/bits/stl_deque.h (deque::front, deque::front const,
773         deque::back, deque::back const): Slightly tweak for stylistic
774         consistency.
775
776 2004-11-18  Paolo Carlini  <pcarlini@suse.de>
777
778         * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY.
779         * testsuite/ext/array_allocator/1.cc: Likewise.
780         * testsuite/ext/array_allocator/2.cc: Likewise.
781         * testsuite/ext/array_allocator/3.cc: Likewise.
782         * testsuite/ext/enc_filebuf/char/13598.cc: Likewise.
783
784 2004-11-18  Paolo Carlini  <pcarlini@suse.de>
785
786         * include/bits/locale_facets.tcc (num_get<>::do_get(void*&)):
787         If the failbit is set, don't set it again.
788         (money_get<>::_M_extract): Minor stylistic tweak: consistently
789         with the other functions, take care of eofbit at the end.
790
791 2004-11-18  Paolo Carlini  <pcarlini@suse.de>
792
793         DR 434. bitset::to_string() hard to use [Ready]
794         * include/std/std_bitset.h (to_string): Add three overloads, taking
795         fewer template arguments.
796         * docs/html/ext/howto.html: Add an entry for DR 434.
797         * testsuite/23_containers/bitset/to_string/1.cc: New.
798
799 2004-11-17  Paolo Carlini  <pcarlini@suse.de>
800
801         * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&,
802         _CharT)): Remove temporary kludge for libstdc++/15002.
803         * include/std/std_streambuf.h (class basic_streambuf): Declare
804         getline(basic_istream<>&, basic_string<>&, _CharT) as friend.
805         * include/bits/basic_string.h (getline(basic_istream<>&,
806         basic_string<>&, _CharT)): Declare optimized specializations for
807         char and wchar_t, using protected members of basic_streambuf.
808         * src/istream.cc: Define the latter.
809
810 2004-11-16  Jonathan Wakely  <redi@gcc.gnu.org>
811
812         * docs/html/19_diagnostics/howto.html: Document change from
813         _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.
814
815 2004-11-16  Matthias Klose  <doko@debian.org>
816
817         * docs/doxygen/user.cfg.in: Set HAVE_DOT to NO.
818
819 2004-11-16  Matthias Klose  <doko@debian.org>
820
821         * Makefile.am (doxygen, doxygen-maint, doxygen-man): Use host_alias
822         instead of build_alias.
823         * docs/doxygen/run_doxygen: Likewise.
824         * docs/doxygen/user.cfg.in: Likewise.
825         * Makefile.in: Regenerate.
826
827 2004-11-15  Paolo Carlini  <pcarlini@suse.de>
828
829         * include/bits/streambuf.tcc (__copy_streambufs): Provide
830         a generic version of the function, not using the protected
831         members of basic_streambuf.
832         * include/std/std_streambuf.h (__copy_streambufs): Declare
833         optimized specializations for char and wchar_t.
834         * src/streambuf.cc: New file, define the latter.
835         * src/Makefile.am: Add.
836         * src/Makefile.in: Regenerate.
837
838 2004-11-15  Matthias Klose  <doko@debian.org>
839
840         * docs/doxygen/run_doxygen: Add --build_alias option,
841         substitute it in docs/doxygen/user.cfg.in.
842         * docs/doxygen/user.cfg.in: Use build_alias.
843         * Makefile.am: Pass --build_alias to run_doxygen
844         * Makefile.in: Regenerate.
845
846 2004-11-15  Benjamin Kosnik  <bkoz@redhat.com>
847
848         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
849
850 2004-11-15  Paolo Carlini  <pcarlini@suse.de>
851
852         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33.
853
854 2004-11-14  Paolo Carlini  <pcarlini@suse.de>
855
856         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
857         Slightly tweak for clarity (also leads to measurably better code).
858
859 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
860
861         PR other/14264
862         * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
863
864 2004-11-09  Paolo Carlini  <pcarlini@suse.de>
865
866         * include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
867         time_get<>::do_get_monthname): Absolutely avoid dereferencing
868         end iterators.
869
870         * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
871         Minor tweak.    
872
873 2004-11-08  Benjamin Kosnik  <bkoz@redhat.com>
874             Doug Gregor  <dgregor@cs.indiana.edu>
875
876         PR libstdc++/17664
877         * src/debug.cc : Just use one mutex.
878
879 2004-11-08  Benjamin Kosnik  <bkoz@redhat.com>
880
881         * configure.ac (libtool_VERSION): To 6:4:0.
882         * configure: Regenerate.
883
884         * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4.
885
886         * docs/doxygen/user.cfg.in: Add more extension files.
887
888 2004-11-08  Paolo Carlini  <pcarlini@suse.de>
889
890         * include/bits/streambuf_iterator.h (class istreambuf_iterator):
891         Consistently use _M_c to cache the current char, i.e., not only
892         when operator++(int) is involved; change _M_c to mutable.
893         (_M_get()): Always save the return value of _M_sbuf->sgetc() into
894         _M_c.
895         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
896         (long standing) typo.
897         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
898         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
899         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
900
901 2004-11-08  Paolo Carlini  <pcarlini@suse.de>
902
903         * include/bits/istream.tcc (getline(char_type*, streamsize,
904         char_type), ignore(streamsize), ignore(streamsize, int_type)):
905         Restore a generic version of the functions, not using the
906         protected members of basic_streambuf.
907         * include/std/std_istream.h (getline(char_type*, streamsize,
908         char_type), ignore(streamsize), ignore(streamsize, int_type)):
909         Declare optimized specializations for char and wchar_t.
910         * src/istream.cc: New file, define the latter.
911         * src/Makefile.am: Add.
912         * src/Makefile.in: Regenerate.
913
914 2004-11-07  Paolo Carlini  <pcarlini@suse.de>
915
916         * testsuite/performance/27_io/ifstream_getline-2.cc: New.
917
918 2004-11-05  Benjamin Kosnik  <bkoz@redhat.com>
919
920         PR libstdc++/17218
921         PR libstdc++/17223
922         * docs/doxygen/filter: Remove.
923         * docs/doxygen/filter.sed: Remove.
924         * docs/doxygen/mainpage.html: Add link to functions.
925         * docs/doxygen/run_doxygen: Changes due to new source filtering.
926         * docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
927         * include/bits/allocator.h: Tweaks for doxygen.
928         * include/bits/char_traits.h: Same.
929         * include/bits/codecvt.h: Same.
930         * include/bits/concurrence.h: Same.
931         * include/bits/locale_facets.h: Same.
932         * include/ext/array_allocator.h: Same.
933         * include/ext/debug_allocator.h: Same.
934         * include/ext/malloc_allocator.h: Same.
935         * include/ext/mt_allocator.h: Same.
936         * include/ext/new_allocator.h: Same.
937         * include/ext/pool_allocator.h: Same.
938         * include/ext/stdio_sync_filebuf.h: Same.
939         * include/std/std_memory.h: Same.
940         * include/tr1/array: Same.
941         * include/tr1/tuple: Same.
942         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
943         * config/os/gnu-linux/ctype_base.h: Same.
944
945 2004-11-04  Paolo Carlini  <pcarlini@suse.de>
946
947         * include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
948         Evaluate __beg == __end the exact strict minimum number of times.
949
950 2004-11-03  Jonathan Wakely  <redi@gcc.gnu.org>
951
952         * include/bits/stl_numeric.h (partial_sum, adjacent_difference):
953         Avoid dereferencing two times __first in the prologue.
954  
955 2004-11-03  Paolo Carlini  <pcarlini@suse.de>
956
957         * include/bits/stl_numeric.h: Trivial formatting fixes.
958
959 2004-11-03  Benjamin Kosnik  <bkoz@redhat.com>
960
961         * include/bits/c++config: Spacing.
962         * libsupc++/del_op.cc: Include c++config.h.
963         * libsupc++/del_opnt.cc: Same.
964         * libsupc++/del_opv.cc: Same.
965         * libsupc++/del_opvnt.cc: Same.
966         * libsupc++/new_op.cc: Same.
967         * libsupc++/new_opnt.cc: Same.
968         * libsupc++/new_opv.cc: Same.
969         * libsupc++/new_opvnt.cc: Same.
970
971 2004-11-03  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
972
973         * config/os/bsd/darwin/os_defines.h
974         (_GLIBCXX_WEAK_DEFINITION): Define.
975         * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define.
976         * libsupc++/del_op.cc (operator delete(void *)): Use
977         _GLIBCXX_WEAK_DEFINITION.
978         * libsupc++/del_opnt.cc
979         (operator delete(void *, const std::nothrow_t&)): Same.
980         * libsupc++/del_opv.cc (operator delete[](void *)): Same.
981         * libsupc++/del_opvnt.cc
982         (operator delete[](void *, const std::nothrow_t&)): Same.
983         * libsupc++/new_op.cc (operator new(std::size_t)): Same.
984         * libsupc++/new_opnt.cc
985         (operator new(std::size_t, const std::nothrow_t&)): Same
986         * libsupc++/new_opv.cc (operator new[](std::size_t)): Same.
987         * libsupc++/new_opvnt.cc
988         (operator new[](std::size_t, const std::nothrow_t&)): Same.
989
990 2004-11-02  Paolo Carlini  <pcarlini@suse.de>
991
992         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int):
993         Evaluate *__beg the exact strict minimum number of times; likewise
994         for __beg != __end; slightly simplify main parsing loop.
995
996 2004-11-02  Benjamin Kosnik  <bkoz@redhat.com>
997             Lothar Werzinger  <lothar@xcerla.com>
998         
999         PR libstdc++/17664
1000         * src/debug.cc: Include concurrence, use mutexes.
1001         (_Safe_iterator_base::_M_attach): Here. 
1002         (_Safe_iterator_base::_M_detach): Here. 
1003         
1004 2004-11-02  Benjamin Kosnik  <bkoz@redhat.com>
1005
1006         PR libstdc++/17922
1007         * include/bits/ios_base.h : Add enum values.
1008         * testsuite/testsuite_hooks.h (bitmask_operators): Add function.
1009         * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
1010         * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
1011         * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
1012         * testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
1013         * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
1014         * testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
1015         * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.
1016
1017         * config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
1018         * src/ios.cc: Same.
1019
1020         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
1021         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1022
1023 2004-11-01  Momchil Velikov  <velco@fadata.bg>
1024
1025         PR libstdc++/18185
1026         * libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled
1027         exceptions.
1028         * testsuite/thread/18185.cc: New.
1029         
1030 2004-11-01  Chris Jefferson  <chris@bubblescope.net>
1031
1032         PR libstdc++/18159
1033         * include/tr1/tuple (get(pair)): Change occurrences of _I to _Int.
1034         (get(const pair)): Likewise.
1035
1036 2004-11-01  Paolo Carlini  <pcarlini@suse.de>
1037
1038         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
1039         Evaluate *__beg the exact strict minimum number of times; likewise
1040         for __beg != __end; in the main parsing loop, call ++__beg in two
1041         places only. The former is also a correctness issue, because,
1042         according to the standard (22.2.2.1.2, Stage 2), 'in' shall be
1043         dereferenced only one time for each increment.
1044
1045 2004-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1046
1047         PR c++/16728
1048         * testsuite/23_containers/set/modifiers/16728.cc: New.
1049
1050 2004-10-30  Paolo Carlini  <pcarlini@suse.de>
1051
1052         * include/ext/bitmap_allocator.h (allocate(size_type)): Minor tweak.
1053
1054         * testsuite/ext/bitmap_allocator/check_delete.cc: New.
1055         * testsuite/ext/bitmap_allocator/check_new.cc: Likewise.
1056
1057 2004-10-29  Geoffrey Keating  <geoffk@apple.com>
1058
1059         * configure.host (darwin*): Set os_include_dir to a separate directory
1060         for Darwin.
1061         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind,
1062         'darwin'.
1063         * config/locale/darwin/ctype_members.cc: New.
1064         * config/os/bsd/darwin/ctype_base.h: New.
1065         * config/os/bsd/darwin/ctype_inline.h: New.
1066         * config/os/bsd/darwin/ctype_noninline.h: New.
1067         * config/os/bsd/darwin/os_defines.h: New.
1068
1069         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Only xfail
1070         on Linux.
1071
1072 2004-10-29  Chris Jefferson  <chris@bubblescope.net>
1073
1074         * include/bit/stl_algo.h (find_first_of(,,,,pred)):
1075         Remove invalid EqualOpConcept.
1076         * testsuite/25_algorithms/find_first_of/concept_check_1.cc: New.
1077
1078 2004-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1079
1080         * testsuite/testsuite_allocator.h (check_delete): New.
1081         (check_new): Simplify.
1082         * testsuite/ext/array_allocator/check_delete.cc: New.
1083         * testsuite/ext/array_allocator/check_new.cc: Simplify.
1084         * testsuite/ext/debug_allocator/check_delete.cc: New.
1085         * testsuite/ext/debug_allocator/check_new.cc: Simplify.
1086         * testsuite/ext/malloc_allocator/check_delete.cc: New.
1087         * testsuite/ext/malloc_allocator/check_new.cc: Simplify.
1088         * testsuite/ext/mt_allocator/check_delete.cc: New.
1089         * testsuite/ext/mt_allocator/check_new.cc: Simplify.
1090         * testsuite/ext/new_allocator/check_delete.cc: New.
1091         * testsuite/ext/new_allocator/check_new.cc: Simplify.
1092         * testsuite/ext/pool_allocator/check_delete.cc: New.
1093         * testsuite/ext/pool_allocator/check_new.cc: Simplify.
1094
1095 2004-10-28  Chris Jefferson  <chris@bubblescope.net>
1096
1097         PR libstdc++/18159
1098         * include/tr1/tuple: Fix, change formatting.
1099
1100 2004-10-28  Benjamin Kosnik  <bkoz@redhat.com>
1101
1102         * include/ext/mt_allocator.h (__common_pool_policy): Add template
1103         template parameter for pool class type.
1104         (__per_type_pool_policy): Same.
1105         (__mt_allocator): Don't inherit policy. Qualify policy_type calls.
1106         * testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix.
1107         * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same.
1108         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
1109         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1110         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1111         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1112         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
1113         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1114         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1115         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1116         * testsuite/ext/mt_allocator/instantiate.cc: Same.
1117         * testsuite/ext/mt_allocator/tune-1.cc: Same.
1118         * testsuite/ext/mt_allocator/tune-2.cc: Same.
1119         * testsuite/ext/mt_allocator/tune-3.cc: Same.
1120         * testsuite/ext/mt_allocator/tune-4.cc: Same.
1121
1122 2004-10-28  Paolo Carlini  <pcarlini@suse.de>
1123
1124         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
1125         Cache *__beg in __c when parsing exponent sign too.
1126         (num_get<>::do_get(..., bool&)): Cache *__beg.
1127         (money_get<>::_M_extract)): Likewise, in money_base::value.
1128
1129 2004-10-27  Paolo Carlini  <pcarlini@suse.de>
1130
1131         * include/bits/basic_string.h (assign(const basic_string&)):
1132         Move out of line...
1133         * include/bits/basic_string.tcc: ... here.
1134
1135 2004-10-27  Paolo Carlini  <pcarlini@suse.de>
1136
1137         * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
1138         Move out of line...
1139         * include/bits/basic_string.tcc: ... here.
1140
1141 2004-10-26  Paolo Carlini  <pcarlini@suse.de>
1142
1143         * include/bits/basic_string.h (append(const basic_string&),
1144         append(size_type, _CharT)): Move out of line...
1145         * include/bits/basic_string.tcc: ... here.
1146
1147 2004-10-26  Paolo Carlini  <pcarlini@suse.de>
1148
1149         * include/bits/basic_string.h (erase(size_type, size_type),
1150         erase(iterator), erase(iterator, iterator)): Call _M_mutate
1151         instead of _M_replace_safe, equivalent when the fourth argument
1152         is zero and simpler.
1153
1154 2004-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1155
1156         * include/ext/array_allocator.h (array::allocate): Check for valid
1157         array object, use its size member function directly.
1158         * testsuite/ext/array_allocator/3.cc: New.
1159         * docs/html/20_util/allocator.html: Add docs.
1160         
1161 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
1162
1163         * configure.host (darwin*): Build libstdc++ single module
1164         and flat namespace.
1165         * libsupc++/new_op.cc (new): Make weak.
1166         * libsupc++/new_opnt.cc (new): Make weak.
1167         * libsupc++/new_opv.cc (new): Make weak.
1168         * libsupc++/new_opvnt.cc (new): Make weak.
1169         * libsupc++/delete_op.cc (delete): Make weak.
1170         * libsupc++/delete_opnt.cc (delete): Make weak.
1171         * libsupc++/delete_opv.cc (delete): Make weak.
1172         * libsupc++/delete_opvnt.cc (delete): Make weak.
1173
1174 2004-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1175
1176         * testsuite/Makefile.am (GLIBCXX_INCLUDES): Add.
1177         (AUTOMAKE_OPTIONS): Add nostdinc.
1178         * testsuite/Makefile.in: Regenerate.
1179         * scripts/testsuite_flags.in (build-includes): Remove redundant
1180         search for libsupc++.
1181         * fragment.am: Clean.
1182         
1183 2004-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1184
1185         * include/Makefile.am (tr1_headers): Add tuple.
1186         * include/Makefile.in: Regenerate.
1187
1188 2004-10-25  Chris Jefferson  <chris@bubblescope.net>
1189
1190         * include/tr1/tuple: Implementation of tuple from library TR.
1191         * testsuite/tr1/6_containers/tuple/tuple_element.cc: New.
1192         * testsuite/tr1/6_containers/tuple/tuple_size.cc: New.
1193         * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
1194         New.
1195         * testsuite/tr1/6_containers/tuple/cons/assignment.cc: New.
1196         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New.
1197         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: New.
1198         * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: 
1199         New.
1200         * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New.
1201         * testsuite/tr1/6_containers/tuple/element_access/get.cc: New.
1202
1203 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
1204         
1205         * include/bits/basic_string.h (_Rep::_M_is_safe): Move to
1206         basic_string as _M_disjunct, adjust to take only __s.
1207         * include/bits/basic_string.tcc: Adjust consistently callers. 
1208
1209 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
1210
1211         * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
1212         Adjust bit missing from the previous commit.
1213
1214 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
1215
1216         PR other/18138
1217         * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc.
1218
1219 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
1220
1221         * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
1222         _M_move, _M_copy, _M_assign): New, use througout.
1223         (operator+=(_CharT)): Define in terms of push_back.
1224         (append(const basic_string&)): Define here, inline, and simplify,
1225         don't use the full _M_replace_safe.
1226         (append(size_type, _CharT)): Likewise, don't use _M_replace_aux.
1227         (push_back): Likewise.
1228         (assign(const basic_string&)): Define here, inline.
1229         * include/bits/basic_string.tcc (append(const _CharT* s, size_type):
1230         Fix: when s points inside the _Rep, upon reallocation (reserve) we
1231         were copying from deallocated memory.
1232         (append(const basic_string&, size_type, size_type)): Simplify,
1233         don't use _M_replace_safe.
1234         (replace(size_type, size_type, const _CharT*, size_type)): Slightly
1235         tweak.
1236         (reserve): Likewise.
1237         * testsuite/21_strings/basic_string/append/char/2.cc: New.
1238         * testsuite/21_strings/basic_string/append/char/3.cc: Likewise.
1239         * testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise.
1240         * testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise.
1241
1242         * testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk.
1243         * testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise.
1244
1245 2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>
1246
1247         * testsuite/ext/mt_allocator/deallocate_global-2.c:
1248         s/value_t/value_type/. s/traits_t/traits_type/.
1249         s/policy_t/policy_type/. s/allocator_t/allocator_type/.
1250         s/string_t/string_type/. s/list_t/list_type/.
1251         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1252         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1253         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1254         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1255         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1256         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1257         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1258
1259 2004-10-21  Benjamin Kosnik  <bkoz@redhat.com>
1260
1261         * include/tr1/array (array): Make safe for zero-sized arrays.
1262         (array::end): Return one past the end.
1263         (array::at): Use __throw_out_of_range, include functexcept.h.
1264         (operator==): Implement.
1265         (operator!=): Same.
1266         (operator<): Same.
1267         (operator>): Same.
1268         (operator>=): Same.
1269         (operator<=): Same.
1270         * testsuite/tr1/6_containers/array/capacity/(empty.cc,
1271         max_size.cc, size.cc): New.
1272         * testsuite/tr1/6_containers/array/comparison_operators/(equal.cc,
1273         greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc,
1274         not_equal): New.
1275         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc: 
1276         New.
1277         * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc: 
1278         New.
1279         * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New.
1280         * testsuite/tr1/6_containers/array/requirements/(contiguous.cc,
1281         instantiate, typedefs, zero_size_arrays): New.
1282
1283 2004-10-21  Paolo Carlini  <pcarlini@suse.de>
1284             Benjamin Kosnik  <bkoz@redhat.com>
1285
1286         * include/bits/basic_string.h (_M_set_length_and_sharable): New.
1287         * include/bits/basic_string.tcc (_S_construct, assign(const _CharT*,
1288         size_type), _M_mutate, _M_clone): Use it.
1289         (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here.
1290
1291 2004-10-21  Paolo Carlini  <pcarlini@suse.de>
1292             Dhruv Matani  <dhruvbird@gmx.net>
1293             Nathan Myers  <ncm@cantrip.org>
1294
1295         * include/bits/vector.tcc (_M_insert_aux, _M_fill_insert,
1296         _M_range_insert): Check at the outset that we are not trying
1297         to exceed max_size, then deal properly with __len overflows.
1298         * testsuite/23_containers/vector/modifiers/insert/1.cc: New.
1299         
1300         * testsuite/testsuite_allocator.h: Remove redundant include.
1301
1302 2004-10-20  Paolo Carlini  <pcarlini@suse.de>
1303
1304         * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc
1305         when n > max_size().
1306         * include/ext/malloc_allocator.h (allocate): Likewise.
1307         * include/ext/mt_allocator.h (allocate): Likewise.
1308         * include/ext/new_allocator.h (allocate): Likewise.
1309         * include/ext/array_allocator.h: Use __throw_bad_alloc().
1310         * include/ext/pool_allocator.h: Use __builtin_expect.
1311         * testsuite/ext/array_allocator/check_allocate_max_size.cc: New.
1312         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise.
1313         * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise.
1314         * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise.
1315         * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise.
1316         * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise.
1317         * testsuite/testsuite_allocator.h (check_allocate_max_size): New test.
1318
1319 2004-10-19  Paolo Carlini  <pcarlini@suse.de>
1320
1321         * testsuite/performance/20_util/allocator/list_sort_search.cc:
1322         Include <ext/new_allocator.h>.
1323         * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
1324
1325 2004-10-18  Paolo Carlini  <pcarlini@suse.de>
1326
1327         * include/bits/basic_string.tcc (_M_mutate): Do not reallocate
1328         unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
1329         == capacity() (== 0): is ok to just leave everything unchanged.
1330
1331         * include/bits/basic_string.h: Minor formatting fixes.
1332         * include/bits/basic_string.tcc: Likewise.
1333
1334 2004-10-17  Benjamin Kosnik  <bkoz@redhat.com>
1335
1336         * include/ext/mt_allocator.h (__pool::_M_get_align): New.
1337         (__mt_alloc::allocate): Use it.
1338         * src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
1339         (__pool::_M_reserve_block): Simplify block allocation.
1340         
1341 2004-10-17  Dhruv Matani  <dhruvbird@gmx.net>
1342             Paolo Carlini  <pcarlini@suse.de>
1343                 
1344         * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this
1345         makes the code 64-bit correct and also fixes (together with using at
1346         the beginning a bitmap 2 * size_t bytes wide) alignment issues: now
1347         8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES.
1348         Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor.
1349         * src/bitmap_allocator.cc: Change to size_t.
1350         * config/linker-map.gnu: Adjust.
1351
1352 2004-10-16  Benjamin Kosnik  <bkoz@redhat.com>
1353
1354         * include/tr1/array: Don't use layout_type.
1355
1356 2004-10-16  Sashan Govender  <sashang@gmail.com>
1357
1358         * include/tr1/array (array::end const): Fix casting from iterator
1359         to const_iterator.
1360         
1361 2004-10-15  Paolo Carlini  <pcarlini@suse.de>
1362
1363         * include/ext/bitmap_allocator.h: Qualify ::operator delete.
1364         * src/bitmap_allocator.cc: Likewise.
1365         * src/mt_allocator.cc: Use ::operator delete, not delete,
1366         consistently with ::operator new.
1367
1368         * include/ext/bitmap_allocator.h (deallocate): Check for null
1369         pointer.
1370         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
1371         * testsuite/testsuite_allocator.h (check_deallocate_null): Add test.
1372
1373 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
1374
1375         * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
1376         null pointer.
1377         * include/ext/pool_allocator.h (debug_allocator::deallocate):
1378         Check pointer value.
1379         * include/ext/debug_allocator.h (debug_allocator::deallocate):
1380         Throw exceptions, don't abort.
1381         * include/ext/array_allocator.h
1382         (array_allocator_base::deallocate): Remove unused parameters.
1383         * testsuite/testsuite_allocator.h (check_deallocate_null): New.
1384         * testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
1385         * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
1386         * testsuite/ext/array_allocator/check_deallocate_null.cc: New.
1387         * testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
1388         * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
1389         * testsuite/ext/new_allocator/check_deallocate_null.cc: New.
1390         * testsuite/ext/pool_allocator/check_deallocate_null.cc: New.
1391
1392         * testsuite/testsuite_allocator.h (check_new): Add instance argument.
1393         * testsuite/ext/array_allocator/check_new.cc: New.
1394         
1395 2004-10-14  Paolo Carlini  <pcarlini@suse.de>
1396
1397         * include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
1398         Rename __unused to __M_unused.
1399
1400 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
1401
1402         * testsuite/ext/headers.cc: Add includes, compile only.
1403         * testsuite/ext/hash_map.cc: Move to...
1404         * testsuite/ext/hash_map/1.cc: ...here.
1405         * testsuite/ext/14648.cc: Move to...
1406         * testsuite/ext/hash_map/14648.cc: ...here.
1407         * testsuite/ext/hash_map/instantiate.cc: Add.
1408         * testsuite/ext/hash_set.cc: Move to...
1409         * testsuite/ext/hash_set/1.cc: ...here.
1410         * testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
1411         * testsuite/ext/hash_set/instantiate.cc: ...here.
1412         * testsuite/ext/hash_check_construct_destroy.cc: Move to...
1413         * testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
1414         * testsuite/ext/slist_check_construct_destroy.cc: Move to...
1415         * testsuite/ext/slist/check_construct_destroy.cc: ...here.
1416         * testsuite/ext/slist_explicit_instantiation.cc: Move to...
1417         * testsuite/ext/slist/instantiate.cc: ...here.
1418         
1419 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
1420
1421         * include/ext/mt_allocator.h: Tweaks.
1422         * src/mt_allocator.cc: Same.
1423
1424 2004-10-14  Dhruv Matani  <dhruvbird@gmx.net>
1425
1426         * ext/bitmap_allocator.h: Clean-up add/remove functions.
1427         * src/bitmap_allocator.cc: New file. Contains the out-of-line
1428         function definitions, static initialization of variables, and
1429         explicit instantiations needed for the allocator.
1430         * src/Makefile.am: Add.
1431         * src/Makefile.in: Regenerate.
1432         * config/linker.map.gnu: Add the necessary symbols.
1433
1434 2004-10-13  Paolo Carlini  <pcarlini@suse.de>
1435
1436         * include/bits/basic_string.tcc (_S_create): Use consistently
1437         the exponential policy, simplify.
1438         * testsuite/performance/21_strings/string_append_2.cc: New.
1439
1440         * include/ext/array_allocator.h (allocate): Fix bad_alloc check.
1441         * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
1442         that case sizeof(_Rep) == 24).
1443
1444 2004-10-12  Paolo Carlini  <pcarlini@suse.de>
1445
1446         PR libstdc++/17948
1447         * include/bits/stl_tree.h (erase(iterator, iterator)): Revert
1448         wrong commit of 2004-10-07.
1449         
1450 2004-10-12  Scott Snyder  <snyder@fnal.gov>
1451
1452         PR libstdc++/17948
1453         * testsuite/23_containers/set/modifiers/17948.cc: New.
1454
1455 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
1456
1457         * include/bits/stl_deque.h: Correct for over-long lines.
1458
1459 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
1460
1461         PR libstdc++/17937
1462         * include/ext/mt_allocator.h (__pool::_M_destroy): New.
1463         * src/mt_allocator.cc (__pool::~__pool): Change definitions to
1464         _M_destroy.
1465         * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT.
1466         * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove.
1467         * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT.
1468         * configure: Regenerate.
1469         * config/linker-map.gnu: Tweak exports.
1470         * docs/html/ext/mt_allocator.html: Update docs.
1471         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix.
1472         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix.       
1473         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix.
1474         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix.
1475         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix.
1476         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix.
1477         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix.
1478         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix.
1479
1480 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
1481
1482         PR libstdc++/16614 continued.
1483         * include/ext/mt_allocator.h
1484         (__per_type_pool_policy::_S_get_pool): Use saner defaults based on
1485         specific type characteristics.
1486         (__pool_base): Add constructor that takes a _Tune argument.
1487         (__pool): Same.
1488         * testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
1489         * testsuite/ext/mt_allocator/tune-4.cc: Same.
1490         * testsuite/ext/mt_allocator/tune-3.cc: Same.
1491
1492 2004-10-11  Joachim Kuebart  <kuebart@mathematik.uni-ulm.de>
1493             Paolo Carlini  <pcarlini@suse.de>
1494
1495         * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
1496         Deal properly with exceptions thrown by ::operator new(size_t).
1497         * testsuite/ext/pool_allocator/allocate_chunk.cc: New.
1498
1499         * include/ext/pool_allocator.h: Include <cstdlib>.
1500
1501 2004-10-10  Benjamin Kosnik  <bkoz@redhat.com>
1502
1503         * include/bits/functexcept.h: Add guards.
1504
1505         * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test.
1506         * configure: Regenerate.
1507         
1508 2004-10-10  Paolo Carlini  <pcarlini@suse.de>
1509
1510         * config/locale/gnu/monetary_members.cc (_S_construct_pattern):
1511         Give __ret a default value, thus avoiding spurious warnings.
1512
1513         * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either
1514         words or linux.words, otherwise exit.
1515         * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak.
1516
1517 2004-10-09  Paolo Carlini  <pcarlini@suse.de>
1518
1519         * include/std/std_memory.h (__get_temporary_buffer): Don't use
1520         INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
1521         platforms too.
1522         * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
1523         line numbers.
1524
1525 2004-10-08  Benjamin Kosnik  <bkoz@redhat.com>
1526
1527         * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
1528         * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
1529         * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
1530         * configure: Regenerate.
1531         * src/mt_allocator.cc (__pool::~__pool): Make conditional on
1532         _GLIBCXX_USE___CXA_ATEXIT macro.
1533         * docs/html/ext/mt_allocator.html: Add note about deallocation.
1534         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
1535         with _GLIBCXX_USE___CXA_ATEXIT.
1536         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1537         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1538         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1539         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
1540         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1541         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1542         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1543         
1544 2004-10-07  Phil Edwards  <phil@codesourcery.com>
1545
1546         * testsuite/lib/libstdc++.exp:  Update list of undefined functions.
1547
1548 2004-10-07  Paolo Carlini  <pcarlini@suse.de>
1549
1550         * include/bits/list.tcc (operator=): Avoid iterator postincrement.
1551         * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise.
1552
1553 2004-10-07  Benjamin Kosnik  <bkoz@redhat.com>
1554
1555         * include/tr1: New.
1556         * include/tr1/array: New.
1557         * include/Makefile.am (tr1_headers): New.
1558         (stamp-tr1): New.
1559         (install-headers): New.
1560         (allstamped): Add stamp-tr1.
1561
1562         * include/ext/array_allocator.h: New.
1563         * include/Makefile.am: Add.
1564         * include/Makefile.in: Regenerate.
1565         * testsuite/ext/array_allocator/1.cc: New.
1566         * testsuite/ext/array_allocator/2.cc: New.
1567
1568 2004-10-07  Richard Earnshaw  <rearnsha@arm.com>
1569
1570         * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
1571
1572 2004-10-07  Roger Sayle  <roger@eyesopen.com>
1573
1574         PR libstdc++/17850
1575         * configure.ac: Newlib does not provide strtold.
1576         * configure: Regenerate.
1577
1578 2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
1579
1580         * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
1581         (GLIBCXX_CONFIGURE_TESTSUITE): Use it.
1582         * configure: Regenerated.
1583         * testsuite/Makefile.am (CLEANFILES): Add TEST for
1584         check-performance executables.
1585         (stamp_thread): New.
1586         (all-local): Use it.
1587         * testsuite/Makefile.in: Regenerate.
1588         * scripts/create_testsuite_files: Filter thread tests.
1589
1590         * testsuite/thread/pthread1.cc: Remove macro conditionals: this
1591         file will only be run by thread enabled configurations.
1592         * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
1593         * testsuite/thread/pthread6.cc: Same.
1594         * testsuite/thread/pthread5.cc: Same.
1595         * testsuite/thread/pthread4.cc: Same.
1596         * testsuite/thread/pthread3.cc: Same.
1597         * testsuite/thread/pthread2.cc: Same.
1598
1599         * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
1600         * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
1601         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
1602         * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
1603         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here. 
1604         * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
1605         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
1606         * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
1607         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.
1608
1609 2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
1610             Paolo Carlini  <pcarlini@suse.de>
1611
1612         PR libstdc++/17780
1613         * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert
1614         to old locking order.
1615
1616 2004-10-06  Paolo Carlini  <pcarlini@suse.de>
1617
1618         * include/std/std_sstream.h (_M_sync): When the caller is
1619         setbuf, don't trust _M_string.capacity() to be the size of
1620         the buffer area, use _M_string.size() in this case.
1621         * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
1622         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
1623
1624         * include/bits/sstream.tcc (overflow): Avoid calling string::assign
1625         unnecessarily when the current _M_string is empty.
1626
1627 2004-10-06  Paolo Carlini  <pcarlini@suse.de>
1628
1629         * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
1630         Avoid iterator postincrement.
1631         (__rotate): Likewise.
1632
1633         * include/bits/stl_algo.h: Minor formatting tweaks.
1634
1635 2004-10-06  Christopher Jefferson <caj@cs.york.ac.uk>
1636
1637         * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
1638         Avoid iterator postincrement; fix swapping middle element with
1639         itself on odd-length inputs.
1640
1641 2004-10-05  Benjamin Kosnik  <bkoz@redhat.com>
1642
1643         PR libstdc++/17780
1644         * include/ext/mt_allocator.h (__pool_base::_Tune): Add default
1645         options as compile-time constant enums.
1646         (__pool_base::_Tune::is_default): New.
1647         (__pool_base::_Block_address): New.
1648         (__pool_base): Rearrange data members.
1649         (__pool::_M_reserve_memory): To _M_reserve_block.
1650         (__pool::_M_reclaim_memory): To _M_reclaim_block.       
1651         (__pool::_Bin_record): Add _Block_address data member.
1652         (__pool<false>): Add _M_thread_freelist_initial.
1653         (__pool::~__pool): Declare.     
1654         (__common_pool_policy): Move static data member to...
1655         (__common_pool_policy::_S_get_pool): ...here, make static local.
1656         (__per_type_pool_policy): Move static data member to...
1657         (__per_type_pool_policy::_S_get_pool): ...here, make static local.
1658         (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
1659         Remove static member definitions. Use define for __default_policy.
1660         * src/mt_allocator.cc: Same.
1661         * config/linker-map.gnu: Don't export _S_get_pool. Renames.
1662         * testsuite/ext/new_allocator: New.
1663         * testsuite/ext/new_allocator/instantiate.cc: New.
1664         * testsuite/ext/new_allocator/check_new.cc: New.
1665         * testsuite/ext/new_allocator/deallocate_global.cc: New.
1666         * testsuite/ext/new_allocator/deallocate_local.cc: New.
1667         * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
1668         template arguments.
1669         * testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
1670         * testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
1671         * testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
1672         * testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
1673         * testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
1674         * testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
1675         * testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
1676         * testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
1677         * testsuite/ext/mt_allocator/deallocate.cc: New.
1678         * testsuite/ext/malloc_allocator/deallocate.cc: New.    
1679         * testsuite/ext/malloc_allocator/deallocate_global.cc: New.
1680         * testsuite/ext/malloc_allocator/deallocate_local.cc: New.
1681         
1682 2004-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
1683
1684         * configure.host (abi_baseline_pair): Define for s390-*-linux* and
1685         s390x-*-linux*.
1686         * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
1687         * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
1688
1689 2004-10-05  Christopher Jefferson  <caj@cs.york.ac.uk>
1690
1691         * include/bits/stl_algobase.h (iter_swap): delegate to swap via
1692         __iter_swap when iterator's value_types are equal.
1693         (struct __iter_swap): New.
1694
1695 2004-10-04  Benjamin Kosnik  <bkoz@redhat.com>
1696
1697         * configure.ac (libtool_VERSION): To 6:3:0.
1698         * configure: Regnerate.
1699         * testsuite/testsuite_abi.cc (check_version): Add 3.4.3.
1700
1701 2004-10-04  Roger Sayle  <roger@eyesopen.com>
1702             Eric Botcazou  <ebotcazou@libertysurf.fr>
1703
1704         PR libstdc++/17505
1705         * config/linker-map.gnu: Synchronize the current list of stub
1706         functions from libmath.
1707
1708 2004-10-03  Roger Sayle  <roger@eyesopen.com>
1709
1710         * config/locale/generic/c_locale.cc (__convert_to_v): Use
1711         _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
1712         Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
1713         to check for presence of strtold.
1714
1715 2004-10-03  Paolo Carlini  <pcarlini@suse.de>
1716
1717         * include/bits/stl_list.h: Trivial formatting fixes.
1718         * include/bits/stl_tree.h: Likewise.
1719
1720 2004-10-03  Paolo Carlini  <pcarlini@suse.de>
1721
1722         * include/bits/sstream.tcc (seekpos): In case of success, just
1723         return __sp.
1724
1725 2004-10-01  Paolo Carlini  <pcarlini@suse.de>
1726
1727         * include/bits/sstream.tcc (pbackfail): Implement correctly
1728         27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not
1729         write in the buffer.
1730         * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New.
1731         * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
1732         * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
1733         * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
1734         * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently.
1735
1736 2004-10-01  Paolo Carlini  <pcarlini@suse.de>
1737
1738         * include/bits/sstream.tcc (seekpos): Minor rearrangement of two
1739         conditionals consistently with seekoff.
1740         * include/std/std_sstream.h (setbuf): Avoid a string temporary.
1741         (_M_sync): Simplify a bit, clean-up comment.
1742
1743 2004-09-30  Paolo Carlini  <pcarlini@suse.de>
1744
1745         PR libstdc++/10975 (DR 453)
1746         * include/bits/sstream.tcc (seekoff): Don't fail if __beg == 0
1747         and __off == 0.
1748         * docs/html/ext/howto.html: Add an entry for DR 453.
1749         * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: New.
1750         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise.
1751         * testsuite/27_io/basic_istream/tellg/char/1.cc: Tweak consistently.
1752         * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise.
1753         * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise.
1754         * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: Fix and
1755         move to...
1756         * testsuite/27_io/basic_istream/seekp/char/2346-fstream.cc: ... here.
1757         * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: Fix and
1758         move to...
1759         * testsuite/27_io/basic_istream/seekp/char/2346-sstream.cc: ... here.
1760
1761 2004-09-29  Paolo Carlini  <pcarlini@suse.de>
1762
1763         * include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)):
1764         Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1.
1765         (str()): Slightly tweak, protect from pptr() == 0.
1766         (_M_update_egptr()): Likewise.
1767         * include/bits/sstream.tcc (ssekoff, seekpos): In order to check
1768         for an empty buffer use __beg instead of _M_string.capacity().
1769         * testsuite/27_io/basic_stringbuf/cons/char/1.cc: New.
1770         * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
1771
1772         * testsuite/27_io/basic_filebuf/cons/char/1.cc: New.
1773         * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
1774         * testsuite/27_io/basic_streambuf/cons/char/1.cc: Update.
1775         * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.
1776
1777 2004-09-29  Paolo Carlini  <pcarlini@suse.de>
1778             Benjamin Kosnik  <bkoz@redhat.com>
1779         
1780         * testsuite/testsuite_io.h (class constraint_buf): New, extended
1781         and templatized version of constraint_filebuf; add typedefs for
1782         streambuf/stringbuf/filebuf and wchar_t counterparts.
1783
1784 2004-09-28  Paolo Carlini  <pcarlini@suse.de>
1785
1786         PR libstdc++/16612
1787         * include/bits/basic_string.h (_M_dispose, _M_refcopy,
1788         basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined,
1789         don't deal with _S_empty_rep.
1790         * include/bits/basic_string.tcc (_S_construct, _M_destroy,
1791         _M_leak_hard, _M_mutate): Likewise.
1792         * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New.
1793         * acconfig.h: Add corresponding undef.  
1794         * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING.
1795         * docs/html/configopts.html: Document --enable-fully-dynamic-string.
1796         * configure: Regenerate.
1797         * config.h.in: Likewise.
1798
1799 2004-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1800             Paolo Carlini  <pcarlini@suse.de>
1801
1802         * testsuite/21_strings/basic_string/operations/char/1.cc: New.
1803         * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New.
1804         * testsuite/21_strings/basic_string/element_access/char/empty.cc: New.
1805         * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc: 
1806         New.
1807
1808 2004-09-28  Paolo Carlini  <pcarlini@suse.de>
1809
1810         * README: Remove obsolete entry about include/c_shadow.
1811
1812 2004-09-24  H.J. Lu  <hongjiu.lu@intel.com>
1813
1814         PR libstdc++/17469
1815         * testsuite/lib/libstdc++.exp: Don't use global ld_library_path.
1816
1817 2004-09-24  Paolo Carlini  <pcarlini@suse.de>
1818
1819         * src/localename.cc (locale::locale(const char*)): Minor tweaks:
1820         rename a variable, move an assignment.
1821         (locale::_Impl::_Impl(const char*, size_t)): Likewise, minor tweak.
1822
1823 2004-09-24  Paul Brook  <paul@codesourcery.com>
1824
1825         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more arm
1826         simulator targets.
1827         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1828         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto.
1829         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto.
1830         * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto.
1831         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto.
1832         * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto.
1833
1834 2004-09-23  Zack Weinberg  <zack@codesourcery.com>
1835
1836         * testsuite/20_util/memory/auto_ptr/assign_neg.cc
1837         * testsuite/23_containers/map/operators/1_neg.cc
1838         * testsuite/23_containers/set/operators/1_neg.cc:
1839         Update locations and/or regexps of dg-error markers.
1840
1841 2004-09-23  P.J. Darcy  <darcypj@us.ibm.com>
1842
1843         * include/Makefile.am (thread_host_headers): Add gthr-tpf.h.
1844         Add rule to build ${host_builddir}/gthr-tpf.h.
1845         * include/Makefile.in: Regenerate.
1846
1847 2004-09-23  Paolo Carlini  <pcarlini@suse.de>
1848             Magnus Fromreide  <magfr@lysator.liu.se>
1849
1850         * include/bits/boost_concept_check.h (struct _SequenceConcept):
1851         Remove wrong requirement, i.e., not present in Table 67.
1852
1853 2004-09-21  Paolo Carlini  <pcarlini@suse.de>
1854
1855         PR libstdc++/12882 (cont)
1856         * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too.
1857         * configure: Regenerate.
1858         * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When
1859         _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non
1860         trivial showmanyc for large files too.
1861
1862 2004-09-17  Jonathan Wakely  <redi@gcc.gnu.org>
1863
1864         * include/bits/stl_algo.h (remove): Remove too restrictive
1865         concept-check.
1866
1867 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
1868
1869         * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional,
1870         as per Nathan's original suggestion.
1871
1872 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
1873
1874         * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean
1875         up a bit.
1876         * testsuite/ext/mt_allocator/tune-2.cc: Likewise.
1877         * testsuite/ext/mt_allocator/tune-3.cc: Likewise.
1878         * testsuite/ext/mt_allocator/tune-4.cc: Likewise.
1879
1880 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
1881             Andrea Arcangeli  <andrea@suse.de>
1882
1883         * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't
1884         call unnecessarily sync, that is fflush: the library, since 3.4.0
1885         does not use buffered fread/fwrite.
1886         * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise.
1887
1888 2004-09-15  Mark Mitchell  <mark@codesourcery.com>
1889
1890         * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type):
1891         Define.
1892         * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type):
1893         Define.
1894         * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type.
1895         (__cxa_vec_new): Use it.
1896         (__cxa_vec_new2): Likewise.
1897         (__cxa_vec_new3): Likewise.
1898         (__cxa_vec_cdtor): Likewise.
1899         (__cxa_vec_cctor): Likeiwse.
1900         (__cxa_vec_dtor): Likewise.
1901         (__cxa_vec_cleanup): Likewise.
1902         (__cxa_vec_delete2): Likewise.
1903         (__cxa_vec_delete3): Likewise.
1904         * libsupc++/vec.cc (__cxa_vec_new): Likewise.
1905         (__cxa_vec_new2): Likewise.
1906         (__cxa_vec_new3): Likewise.
1907         (__cxa_vec_cdtor): Likewise.
1908         (__cxa_vec_cctor): Likeiwse.
1909         (__cxa_vec_dtor): Likewise.
1910         (__cxa_vec_cleanup): Likewise.
1911         (__cxa_vec_delete2): Likewise.
1912         (__cxa_vec_delete3): Likewise.
1913         (__aeabi_vec_ctor_nocookie_nodtor): New function.
1914         (__aeabi_vec_ctor_cookie_nodtor): Likewise.
1915         (__aeabi_vec_cctor_nocookie_nodtor): Likewise.
1916         (__aeabi_vec_new_cookie_noctor): Likewise.
1917         (__aeabi_vec_new_nocookie): Likewise.
1918         (__aeabi_vec_new_cookie_nodtor): Likewise.
1919         (__aeabi_vec_new_cookie): Likewise.
1920         (__aeabi_vec_dtor): Likewise.
1921         (__aeabi_vec_dtor_cookie): Likewise.
1922         (__aeabi_vec_delete): Likewise.
1923         (__aeabi_vec_delete3): Likewise.
1924         (__aeabi_vec_delete3_nodtor): Likewise.
1925         (__aeabi_atexit): Likewise.
1926
1927 2004-09-14  Nathan Myers  <ncm@cantrip.org>
1928
1929         * include/bits/fstream.tcc (xsgetn): Slightly tweak the recent fix
1930         for 11722: copy can replace move; the common case is __avail == 0.
1931
1932 2004-09-14  Paolo Carlini  <pcarlini@suse.de>
1933
1934         * include/bits/cpp_type_traits.h: Rename __is_trivially_copyable
1935         to __is_scalar, more clear and consistent with "tr1" naming.
1936         * include/bits/stl_algobase.h: Update consistently throughout.
1937
1938 2004-09-13  Paolo Carlini  <pcarlini@suse.de>
1939
1940         PR libstdc++/11722
1941         * include/std/std_fstream.h (xsgetn): Declare only.
1942         * include/bits/fstream.tcc (xsgetn): Define, optimize for the
1943         always_noconv() case: when __n > __buflen, copy the available
1944         buffer and issue a direct read.
1945         * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New.
1946
1947         * include/bits/fstream.tcc (xsputn): Minor tweak, reorder a
1948         conditional.
1949
1950 2004-09-13  Hans-Peter Nilsson  <hp@bitrange.com>
1951
1952         * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call
1953         libstdc++_maybe_build_wrapper instead of using local code.
1954
1955 2004-09-08  Benjamin Kosnik  <bkoz@redhat.com>
1956
1957         * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports.
1958
1959 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1960
1961         * crossconfig.m4: Add NetWare as a target.
1962         * configure: Regenerate.
1963
1964 2004-09-02  Mark Mitchell  <mark@codesourcery.com>
1965
1966         * libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already
1967         defined.
1968
1969 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
1970             Simon Richter  <Simon.Richter@hogyros.de>
1971
1972         PR libstdc++/16715
1973         * include/bits/istream.tcc: Add extern template for iostream
1974         char and wchar_t instantiations.
1975
1976 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
1977             Leland Wang  <llwang@infor.org>
1978
1979         PR libstdc++/17259
1980         * include/ext/ropeimpl.h (rope::_S_compare): Use
1981         _Rope_constants::_S_leaf.
1982
1983 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
1984
1985         PR libstdc++/16848
1986         * include/Makefile.am (ext_headers): Remove demangle.h.
1987         * include/Makefile.in: Regenerate.
1988         * include/ext/demangle.h: Remove.
1989
1990 2004-09-01  Benjamin Kosnik  <bkoz@redhat.com>
1991
1992         PR libstdc++/16614
1993         * include/ext/mt_allocator.h (__mt_base): Not type dependent,
1994         split into..
1995         (__pool): New, specialize.
1996         (__common_pool): New, static bits here.
1997         (__per_type_pool): New, and here.
1998         (__mt_alloc_base): New.
1999         (__mt_alloc): Add template parameter, inherit from it.
2000         * src/allocator.cc: Split this...
2001         * src/allocator-inst.cc: And this...
2002         * src/pool_allocator.cc: ...into this.
2003         * src/mt_allocator.cc: ... and this. Add definitions for
2004         __mt_base.
2005         * src/Makefile.am (sources): Split allocator.cc to
2006         pool_allocator.cc and mt_allocator.cc.
2007         * src/Makefile.in: Regenerate.
2008         * config/linker-map.gnu: Add symbols.
2009         * docs/html/ext/mt_allocator.html: Document new design.
2010         * testsuite/ext/mt_allocator/tune-1.cc: New.
2011         * testsuite/ext/mt_allocator/tune-2.cc: New.
2012         * testsuite/ext/mt_allocator/tune-3.cc: New.
2013         * testsuite/ext/mt_allocator/tune-4.cc: New.
2014
2015         * testsuite/testsuite_allocator.h (__gnu_test::check_new): New.
2016         * testsuite/ext/allocators.cc: Use check_new, split into...
2017         * testsuite/ext/mt_allocator/check_new.cc: this.
2018         * testsuite/ext/pool_allocator/check_new.cc: this.
2019         * testsuite/ext/malloc_allocator/check_new.cc: this.
2020         * testsuite/ext/debug_allocator/check_new.cc: this.
2021         * testsuite/ext/mt_allocator/instantiate.cc: this.
2022         * testsuite/ext/pool_allocator/instantiate.cc: this.
2023         * testsuite/ext/malloc_allocator/instantiate.cc: this.
2024         * testsuite/ext/debug_allocator/instantiate.cc: this.
2025
2026 2004-08-30  Phil Edwards  <phil@codesourcery.com>
2027
2028         * docs/html/install.html:  Update locales list (from Paolo).
2029         Remove other redundant information and point to the GCC install
2030         documentation.
2031
2032 2004-08-30  Benjamin Kosnik  <bkoz@redhat.com>
2033
2034         * include/ext/pool_allocator.h: Rename __pool_base to
2035         __pool_alloc_base.
2036         * src/allocator.cc: Same.
2037         * config/linker-map.gnu: Same.
2038
2039 2004-08-30  Paolo Carlini  <pcarlini@suse.de>
2040             Kenneth C. Schalk  <ken@xorian.net>
2041
2042         PR libstdc++/17215
2043         * config/io/basic_file_stdio.cc (__basic_file<char>::close()):
2044         Check the return value of fclose/sync, loop on EINTR.
2045         (__basic_file<char>::sys_open): Likewise, for sync.
2046
2047 2004-08-29  Paolo Carlini  <pcarlini@suse.de>
2048
2049         * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format,
2050         case 'S'): Allow for at least one leap-second (as per C99, 7.23.1
2051         and 7.23.3.5), two if !_GLIBCXX_USE_C99.
2052         * testsuite/22_locale/time_get/get_time/char/4.cc: New.
2053         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
2054
2055 2004-08-27  Jason Merrill  <jason@redhat.com>
2056
2057         PR c++/13684
2058         * libsupc++/guard.cc (static_mutex): Internal class implementing a
2059         recursive mutex which controls initialization of local statics.
2060         (__gnu_cxx::recursive_init): New exception class.
2061         (__cxa_guard_acquire): Deal with locking and recursion detection.
2062         (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise.
2063
2064 2004-08-27  Matthias Klose  <doko@debian.org>
2065
2066         * configure.host: For mips*-*-linux* update cpu_include_dir
2067         after atomicity_dir is set.
2068
2069 2004-08-27  Matthias Klose  <doko@debian.org>
2070
2071         * config/abi/arm-linux-gnu/baseline_symbols.txt: New.
2072         * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2073         * configure.host: Set abi_baseline_pair for arm*-*-linux* and
2074         mips*-*-linux*.
2075
2076 2004-08-27  Paolo Carlini  <pcarlini@suse.de>
2077
2078         * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New.
2079         * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
2080         * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
2081         * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
2082         * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
2083
2084         * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor
2085         formatting fixes.
2086         * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise.
2087         * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
2088         * testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
2089         * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
2090
2091 2004-08-25  Paolo Carlini  <pcarlini@suse.de>
2092
2093         PR libstdc++/17038 (partial)
2094         * include/bits/locale_facets.tcc (time_put<>::do_put): Increase
2095         __maxlen to 128.
2096         * include/bits/locale_facets.h (class __timepunct): Add FIXME
2097         comment about _M_put.
2098         * config/locale/generic/time_members.cc (_M_put): Always null
2099         terminate __s.
2100         * config/locale/gnu/time_members.cc (_M_put): Likewise.
2101         * testsuite/22_locale/time_put/put/char/17038.cc: New.
2102         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.
2103
2104 2004-08-24  Paolo Carlini  <pcarlini@suse.de>
2105
2106         * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New.
2107         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
2108         * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
2109         * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
2110         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
2111         * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
2112
2113         * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess
2114         newlines.
2115         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
2116
2117 2004-08-22  Matthias Klose  <doko@debian.org>
2118
2119         * config/abi/m68k-linux-gnu/baseline_symbols.txt: New.
2120         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2121
2122 2004-08-23  Paolo Carlini  <pcarlini@suse.de>
2123
2124         * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.
2125         * aclocal.m4: Regenerate with automake-1.9.1.
2126         * configure: Regenerate.
2127         * Makefile.in: Likewise.
2128         * include/Makefile.in: Likewise.
2129         * libmath/Makefile.in: Likewise.
2130         * libsupc++/Makefile.in: Likewise.
2131         * po/Makefile.in: Likewise.
2132         * src/Makefile.in: Likewise.
2133         * testsuite/Makefile.in: Likewise.
2134
2135 2004-08-22  Paolo Carlini  <pcarlini@suse.de>
2136
2137         * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
2138         to a signed type, long according to the resolution of DR 359.
2139         * testsuite/22_locale/num_put/put/char/9.cc: New.
2140         * testsuite/22_locale/num_put/put/wchar_t/9.cc: New.
2141
2142         * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
2143         Simplify a bit: no need to clear showpos.
2144
2145 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
2146
2147         * include/bits/char_traits.h (struct _Char_traits_match): Remove,
2148         unused.
2149
2150 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
2151
2152         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper
2153         wchar_t type for the fill argument; minor formatting tweaks.
2154         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
2155         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2156         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2157         * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise.
2158         * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise.
2159         * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise.
2160
2161 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
2162
2163         * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal
2164         with _M_word != _M_local_word two times, redundantly.
2165
2166 2004-08-20  Jason Merrill  <jason@redhat.com>
2167
2168         * include/Makefile.am (${host_builddir}/gthr.h): Don't add
2169         _GLIBCXX_ to #pragma lines.
2170         * include/Makefile.in: Update.
2171
2172 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
2173
2174         PR libstdc++/7219 (continued)
2175         * include/bits/ios_base.h (class ios_base): Expose Annex D.6
2176         typedefs by default.
2177         * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED.
2178         * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error
2179         line number.
2180         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2181
2182 2004-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2183
2184         * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
2185         barrier to locking asm.
2186
2187 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
2188
2189         * include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
2190         actually the warning is a front-end bug (c++/17120).
2191
2192 2004-08-20  Matthias Klose  <doko@debian.org>
2193
2194         * config/abi/s390-linux-gnu/baseline_symbols.txt: New.
2195
2196 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
2197
2198         * include/c_std/cmath.tcc (__cmath_power): Suppress assignment
2199         used as truth value warning.
2200
2201 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
2202
2203         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit
2204         baseline.
2205
2206 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
2207
2208         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it.
2209
2210 2004-08-19  Benjamin Kosnik  <bkoz@redhat.com>
2211
2212         * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check
2213         timezone.
2214         * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same.
2215
2216 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
2217
2218         * testsuite/performance/20_util/allocator/insert.cc: For std::map
2219         instantiate the allocator for a correct pair type.
2220         * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
2221         * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
2222         * testsuite/performance/20_util/allocator/producer_consumer.cc:
2223         Likewise.
2224
2225         * testsuite/performance/20_util/allocator/list_sort_search.cc: Very
2226         minor formatting fixes.
2227         * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
2228
2229 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
2230
2231         * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the
2232         results.
2233         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2234         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2235         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2236         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
2237         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2238         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2239         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2240
2241 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
2242
2243         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2244
2245 2004-08-18  Matthias Klose  <doko@debian.org>
2246
2247         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2248         * config/abi/i386-linux-gnu/baseline_symbols.txt: New.
2249         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New.
2250
2251 2004-08-17  Paolo Carlini  <pcarlini@suse.de>
2252
2253         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2254
2255 2004-08-17  Paolo Carlini  <pcarlini@suse.de>
2256
2257         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2258
2259 2004-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2260
2261         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2262
2263 2004-08-16  Paolo Carlini  <pcarlini@suse.de>
2264
2265         * include/bits/indirect_array.h: Trivial formatting fixes.
2266         * include/bits/valarray_after.h: Likewise.
2267         * include/bits/valarray_array.h: Likewise.
2268         * src/valarray-inst.cc: Likewise.
2269
2270 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
2271
2272         * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
2273         * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
2274         * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
2275
2276         * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
2277         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
2278         * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
2279         * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
2280         * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
2281
2282 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
2283
2284         * include/bits/deque.tcc: Trivial formatting fixes.
2285
2286 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
2287
2288         * include/bits/deque.tcc: Trivial formatting fixes.
2289
2290         * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
2291         Remove unneded typedef.
2292
2293         * include/bits/locale_facets.tcc: Very minor tweaks.
2294
2295         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
2296         type for the fill argument.
2297         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
2298         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2299         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2300         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2301         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
2302         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2303         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2304         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2305
2306 2004-08-13  Paolo Carlini  <pcarlini@suse.de>
2307
2308         * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
2309         memmove is not needed, memcpy suffices.
2310
2311 2004-08-13  Paolo Carlini  <pcarlini@suse.de>
2312
2313         * include/std/std_fstream.h (class basic_ifstream,
2314         class basic_ofstream, class basic_fstream): Add const overloads
2315         of is_open, as per DR 365 [WP].
2316         * docs/html/ext/howto.html: Add an entry for DR 365.
2317
2318 2004-08-12  Paolo Carlini  <pcarlini@suse.de>
2319
2320         * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
2321
2322 2004-08-12  Paolo Carlini  <pcarlini@suse.de>
2323
2324         PR libstdc++/16956
2325         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
2326         to the returned value, reorganize a bit.
2327         * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
2328         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
2329
2330         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
2331         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
2332         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
2333         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
2334
2335 2004-08-12  Paul Brook  <paul@codesourcery.com>
2336
2337         * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
2338         _GLIBCXX_CXA_VEC_CTOR_RETURN.
2339         * config/cpu/generic/cxxabi_tweaks.h: Ditto.
2340         * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
2341         __cxa_vec_ctor_return.
2342         * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
2343         Use _GLIBCXX_CXA_VEC_CTOR_RETURN.
2344
2345 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
2346
2347         * Makefile.in, aclocal.m4, configure, include/Makefile.in,
2348         libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
2349         src/Makefile.in, testsuite/Makefile.in: Regenerate
2350
2351 2004-08-12  Jan Beulich  <jbeulich@novell.com>
2352
2353         * config/locale/generic/ctype_members.cc
2354         (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
2355         initializer for return value, as that is invalid for enumerated types.
2356         * config/locale/gnu/ctype_members.cc
2357         (ctype<wchar_t>::_M_convert_to_wmask): Likewise.
2358
2359 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
2360
2361         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
2362
2363 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
2364
2365         * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
2366         variable.
2367         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
2368         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
2369         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
2370         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
2371         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
2372         * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
2373         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
2374         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
2375         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
2376         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
2377         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
2378         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
2379         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
2380         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
2381         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
2382         * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
2383         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
2384         * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
2385         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
2386         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
2387         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
2388
2389 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
2390             Petur Runolfsson  <peturr02@ru.is>
2391
2392         PR libstdc++/16959
2393         * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
2394         standard streams are constructed.
2395         * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
2396
2397 2004-08-09  Paolo Carlini  <pcarlini@suse.de>
2398
2399         * include/bits/stl_bvector.h: Trivial formatting fixes.
2400
2401 2004-08-09  Paolo Carlini  <pcarlini@suse.de>
2402
2403         * src/ios.cc (ios_base::_M_grow_words): Uglify the names.
2404
2405 2004-08-07  Jonathan Wakely  <redi@gcc.gnu.org>
2406             Paolo Carlini  <pcarlini@suse.de>
2407
2408         * src/debug.cc (_Error_formatter::_M_print_string): In order
2409         to print individual words from __string, _M_format_word can't
2410         be called since may be just sprintf, thus ignoring completely
2411         __n: instead, use memmove and append '\0' by hand.
2412
2413 2004-08-07  Paolo Carlini  <pcarlini@suse.de>
2414
2415         * config/locale/generic/c_locale.h (__convert_from_v): Don't
2416         use a default for __prec, assume __prec >= 0 and simplify.
2417         * config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
2418         * include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
2419         Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
2420
2421 2004-08-04  Phil Edwards  <phil@codesourcery.com>
2422
2423         * docs/html/configopts.html:  Emphasize that options change.
2424         * docs/html/17_intro/configury.html:  Update links.
2425
2426 2004-08-03  Paolo Carlini  <pcarlini@suse.de>
2427
2428         * include/bits/list.tcc: Trivial formatting fixes.
2429
2430 2004-08-03  Mark Mitchell  <mark@codesourcery.com>
2431
2432         * libsupc++/new_op.cc: Update comments.
2433         * libsupc++/del_op.cc: Likewise.
2434
2435 2004-08-02  Mark Mitchell  <mark@codesourcery.com>
2436
2437         * libsupc++/cxxabi.h: Make all declarations have default
2438         visibility.
2439         * libsupc++/exception: Likewise.
2440         * libsupc++/new: Likewise.
2441         * libsupc++/typeinfo: Likewise.
2442         * libsupc++/unwind-cxx.h: Likewise.
2443         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
2444         the __cxxabiv1 namespace.
2445         (__cxa_free_exception): Likewise.
2446         * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
2447         (__cxa_bad_typeid): Likewise.
2448         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
2449         (__cxa_end_catch): Likewise.
2450         * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
2451         (__cxa_get_globals): Likewise.
2452         * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
2453         (__cxa_rethrow): Likewise.
2454         * libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
2455         * libsupc++/eh_type.cc: Include <cxxabi.h>.
2456
2457         * Makefile.am (hosted_source): Add libmath and testsuite.
2458         (SUBDIRS): Remove them.
2459         * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
2460         on arm*-*-symbianelf*.
2461         * crossconfig.m4: Add arm*-*-symbianelf* support.
2462         * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
2463         when freestanding.  Do not bring names into std:: namespace with
2464         "using" when freestanding.  Declare required functions and macros
2465         when freestanding.
2466         * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
2467         when freestanding.
2468         * libsupc++/del_op.cc: Declare "free" only when freestanding.
2469         * libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
2470         (malloc): Declare when freestanding.
2471         (free): Likewise.
2472         (memset): Likewise.
2473         (__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
2474         for memset.
2475         (__cxa_free_exception): Likewise for free.
2476         * libsupc++/new_op.cc: Declare "malloc" when freestanding.
2477         * libsupc++/pure.cc (writestr): Define to nothing when
2478         freestanding.
2479         * libsupc++/vterminate.cc: Do not define anything when
2480         freestanding.
2481         * Makefile.in: Regenerated.
2482         * aclocal.m4: Likewise.
2483         * configure: Likewise.
2484         * include/Makefile.in: Likewise.
2485         * libmath/Makefile.in: Likewise.
2486         * libsupc++/Makefile.in: Likewise.
2487         * po/Makefile.in: Likewise.
2488         * src/Makefile.in: Likewise.
2489         * testsuite/Makefile.in: Likewise.
2490
2491 2004-08-01  Matt Austern  <austern@apple.com>
2492
2493         PR libstdc++/16844
2494         * include/bits/stl_list.h (_M_create_node): Remove unused
2495         zero-argument version.
2496         * include/ext/slist (_M_create_node): Pass two arguments to
2497         allocator's construct() member function.
2498         * testsuite/23_containers/deque/explicit_instantiation.cc: New.
2499         * testsuite/23_containers/list/explicit_instantiation.cc: New.
2500         * testsuite/23_containers/vector/explicit_instantiation.cc: New.
2501         * testsuite/23_containers/map/explicit_instantiation.cc: New.
2502         * testsuite/23_containers/set/explicit_instantiation.cc: New.
2503         * testsuite/23_containers/multimap/explicit_instantiation.cc: New.
2504         * testsuite/23_containers/multiset/explicit_instantiation.cc: New.
2505         * testsuite/ext/hash_set_explicit_instantiation.cc: New.
2506         * testsuite/ext/slist_explicit_instantiation.cc: New.
2507
2508 2004-07-30  Paolo Carlini  <pcarlini@suse.de>
2509
2510         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
2511         num_get<>::_M_extract_int): In the main parsing loop delay the
2512         life of __q to the actual use point.
2513
2514 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
2515
2516         PR libstdc++/14220
2517         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2518         Don't clip the precision passed down to __convert_from_v:
2519         22.2.2.2.2 nowhere says so.
2520         * testsuite/22_locale/num_put/put/char/14220.cc: New.
2521         * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
2522
2523 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
2524
2525         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
2526
2527 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
2528             Petur Runolfsson  <peturr02@ru.is>
2529
2530         PR libstdc++/12658 (continued)
2531         * src/locale_init.cc (locale::locale, locale::global): Use
2532         a single locale_mutex instead of two separate mutexes.
2533
2534 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
2535
2536         PR libstdc++/16813
2537         * include/debug/map.h (insert(_InputIterator, _InputIterator)):
2538         Fix typo.
2539         * testsuite/23_containers/map/insert/16813.cc: New.
2540
2541 2004-07-29  Phil Edwards  <phil@codesourcery.com>
2542
2543         * docs/html/faq/index.html:  Update version references.  Make
2544         clear that code from SGI has diverged greatly.  Remove references
2545         to library snapshots and what's-new sections.
2546         * docs/html/faq/index.txt:  Regenerate.
2547
2548 2004-07-28  Matt Austern  <austern@apple.com>
2549
2550         * include/bits/stl_construct.h (_Destroy): New three-argument
2551         overload that takes an allocator argument.  Another inline
2552         three-argument overload that takes std::allocator and dispatches
2553         to the two-argument version.
2554         * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
2555         Change return type to void to match uninitialized_fill_n.
2556         (__uninitialized_copy_a_): New function.  Like uninitialized_copy
2557         except that it takes an allocator and uses it for construct and
2558         destroy.  If the allocator is std::allocator, dispatches to
2559         uninitialized_copy.
2560         (__uninitialized_fill_a): Likewise.
2561         (__uninitialized_fill_n_a): Likewise.
2562         (__uninitialized_copy_copy): Give it an allocator argument.
2563         (__uninitialized_fill_copy): Likewise.
2564         (__uninitialized_copy_fill): Likewise.
2565         * include/bits/deque.tcc: Use new forms defined in stl_construct.h
2566         and stl_uninitialized.h.  Replace use of single-argument _Construct
2567         and _Destroy with use of allocator's construct and destroy methods.
2568         * include/bits/list.tcc: Likewise.
2569         * include/bits/stl_deque.h: Likewise.
2570         * include/bits/stl_list.h: Likewise.
2571         * include/bits/stl_tree.h: Likewise.
2572         * include/bits/stl_vector.h: Likewise.
2573         * include/bits/vector.tcc: Likewise.
2574         * include/ext/hashtable.h: Use rebind so that allocator_type
2575         has correct type for a container's allocator.  Replace use of
2576         single-argument _Construct and _Destroy with use of allocator's
2577         construct and destroy methods.
2578         * include/ext/memory (__uninitialized_copy_n_a): New function.
2579         Like uninitialized_copy_n except that it takes an extra parameter,
2580         an allocator, and uses it for construct and destroy operations.
2581         * include/ext/rope: Use new forms defined in stl_construct.h,
2582         stl_uninitialized.h, and ext/memory.  Replace use of single-argument
2583         _Construct and _Destroy with allocator construct and destroy methods.
2584         * include/ext/ropeimpl.h: Likewise.
2585         * include/ext/slist.h: Likewise.
2586         * testsuite/testsuite_allocator.h (check_construct_destroy): New.
2587         * testsuite/testsuite_allocator.cc (check_construct_destroy): New.
2588         * testsuite/23_containers/deque/check_construct_destroy.cc: New.
2589         * testsuite/23_containers/list/check_construct_destroy.cc: New.
2590         * testsuite/23_containers/set/check_construct_destroy.cc: New.
2591         * testsuite/23_containers/vector/check_construct_destroy.cc: New.
2592         * testsuite/ext/hash_check_construct_destroy.cc: New.
2593         * testsuite/ext/slist_check_construct_destroy.cc: New.
2594
2595 2004-07-28  Alexandre Oliva  <aoliva@redhat.com>
2596
2597         2003-10-01  Eric Christopher  <echristo@redhat.com>
2598         * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
2599         constraint.
2600         2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
2601         * config/cpu/sh/atomicity.h: New.  Use movli and movco on SH4a.
2602
2603 2004-07-23  Benjamin Kosnik  <bkoz@redhat.com>
2604
2605         PR libstdc++/16678
2606         * include/bits/locale_facets.tcc: Fix for -Werror.
2607
2608 2004-07-23  Jonathan Wakely  <redi@gcc.gnu.org>
2609
2610         * docs/html/debug.html: Say debug mode only available since 3.4.0.
2611
2612 2004-07-21  Benjamin Kosnik  <bkoz@redhat.com>
2613
2614         * docs/doxygen/mainpage.html: Clarify links.
2615         * docs/doxygen/stdheader.cc: Add files.
2616         * docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
2617         * docs/doxygen/user.cfg.in: New options, wrap.
2618
2619 2004-07-20  Danny Smith  <dannysmith@users.sourceforge.net>
2620
2621         * include/c_std/std_cwchar.h (wcsstr): Correct signature.
2622
2623 2004-07-19  Benjamin Kosnik  <bkoz@redhat.com>
2624
2625         PR libstdc++/15488
2626         * testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
2627
2628 2004-07-17  Richard Sandiford  <rsandifo@redhat.com>
2629
2630         PR bootstrap/16469
2631         * scripts/create_testsuite_files: Pass -print to find.
2632
2633 2004-07-15  Paolo Carlini  <pcarlini@suse.de>
2634
2635         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
2636         * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
2637
2638 2004-07-15  Jakub Jelinek  <jakub@redhat.com>
2639
2640         PR libstdc++/14697
2641         * acinclude.m4 (glibcxx_shared_libgcc): Correct
2642         glibcxx_shared_libgcc test for multilibs.
2643         * configure: Rebuilt.
2644
2645 2004-07-14  Paolo Carlini  <pcarlini@suse.de>
2646
2647         PR libstdc++/16505
2648         * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
2649         the signature to return void, as per 20.4.4.3.
2650         * include/bits/stl_vector.h (vector::vector(size_type,
2651         const value_type&, const allocator_type&), vector::vector(size_type),
2652         vector::_M_initialize_dispatch): Adjust callers.
2653         * include/bits/vector.tcc (vector<>::_M_fill_assign,
2654         vector<>::_M_fill_insert): Likewise.
2655         * testsuite/20_util/memory/16505.cc: New.
2656
2657 2004-07-14  Paolo Carlini  <pcarlini@suse.de>
2658
2659         * testsuite/22_locale/locale/cons/12658_thread-1.cc,
2660         12658_thread-2.cc: Use __gnu_test::try_named_locale.
2661
2662 2004-07-13  Benjamin Kosnik  <bkoz@redhat.com>
2663
2664         * docs/html/ext/mt_allocator.html: Add docs for _Tune.
2665         * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public.
2666         (__mt_alloc::_S_set_options): Same.
2667         Add to comments.
2668
2669 2004-07-13  Benjamin Kosnik  <bkoz@redhat.com>
2670
2671         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults
2672         for linux.
2673         * configure: Regenerated.
2674
2675 2004-07-13  Paolo Carlini  <pcarlini@suse.de>
2676
2677         * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename
2678         to 12658_thread-1.cc and xfail.
2679         * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much
2680         simpler version of 12658_thread-1.cc, still failing on 3_3 and
2681         not failing on 3_4/mainline - both on single processor and
2682         multiprocessor machines.
2683
2684 2004-07-12  Benjamin Kosnik  <bkoz@redhat.com>
2685
2686         * docs/html/abi.html: Remove non-public qualification.
2687
2688         * include/bits/concurrence.h: Tweak comments.
2689
2690 2004-07-11  Paolo Carlini  <pcarlini@suse.de>
2691
2692         Add wchar_t counterparts of the basic_streambbuf<char> tests.
2693         * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New.
2694         * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc:
2695         Likewise.
2696         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise.
2697         * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc,
2698         3599.cc: Likewise.
2699         * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
2700         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2701         * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
2702         * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
2703         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc:
2704         Likewise.
2705         * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
2706
2707         * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor
2708         tweaks.
2709         * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc:
2710         Likewise.
2711         * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
2712         * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
2713
2714 2004-07-11  Phil Edwards  <phil@codesourcery.com>
2715
2716         * acinclude.m4:  Cosmetic shell syntax fixes.
2717         * configure.ac:  Bring comment inline with reality.
2718         * configure.host:  Both of the above.  Move 'arm' case to right
2719         place in host_cpu switch.
2720         * aclocal.m4, configure:  Regenerate.
2721
2722 2004-07-09  Paolo Carlini  <pcarlini@suse.de>
2723
2724         Add wchar_t counterparts of the basic_stringbuf<char> tests.
2725         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
2726         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
2727         * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
2728         3599.cc, 9988.cc: Likewise.
2729         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
2730         Likewise.
2731         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
2732         Likewise.
2733         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
2734         Likewise.
2735         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
2736         Likewise.
2737         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
2738         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
2739         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
2740         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
2741         Likewise.
2742         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
2743         9404-1.cc: Likewise.
2744         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
2745         9404-2.cc: Likewise.
2746         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
2747         3955.cc: Likewise.
2748         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
2749         * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
2750
2751 2004-07-08  Paolo Carlini  <pcarlini@suse.de>
2752
2753         * include/bits/gslice.h: Trivial formatting fixes.
2754         * include/bits/gslice_array.h: Likewise.
2755         * include/bits/indirect_array.h: Likewise.
2756         * include/bits/mask_array.h: Likewise.
2757         * include/bits/slice_array.h: Likewise.
2758         * include/bits/valarray_after.h: Likewise.
2759         * include/bits/valarray_array.h: Likewise.
2760         * include/bits/valarray_before.h: Likewise.
2761         * include/std/std_valarray.h: Likewise.
2762
2763 2004-07-08  Benjamin Kosnik  <bkoz@redhat.com>
2764
2765         PR c++/16169
2766         * include/bits/basic_string.h (basic_string::operator=): Revert.
2767
2768 2004-07-07  Benjamin Kosnik  <bkoz@redhat.com>
2769
2770         * configure.ac (libtool_VERSION): To 6:2:0.
2771         * configure: Regenerated.
2772
2773         * testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
2774
2775 2004-07-07  Aaron W. LaFramboise  <aaronraolete36@aaronwl.com>
2776
2777         PR libstdc++/16411
2778         * config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
2779
2780 2004-07-07  Benjamin Kosnik  <bkoz@redhat.com>
2781
2782         * docs/html/abi.html: Updates for 3.4.1 release. Add summary of
2783         -Weffc++ issues.
2784
2785 2004-07-07  Paolo Carlini  <pcarlini@suse.de>
2786
2787         PR libstdc++/16401
2788         * include/bits/sstream.tcc (overflow): When reallocating _M_string
2789         use an exponential grow policy.
2790         * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
2791         * testsuite/performance/27_io/stringbuf_overflow.cc: New.
2792
2793 2004-07-06  Anssi Hannula  <anssi.hannula@mbnet.fi>
2794
2795         PR libstdc++/15928
2796         * crossconfig.m4: Add in bits for djgpp.
2797         * configure: Regenerate.
2798
2799 2004-07-05  Jonathan Wakely  <redi@gcc.gnu.org>
2800
2801         * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in
2802         instantiation of set and multiset (functor param given as int).
2803
2804 2004-07-04  Paolo Carlini  <pcarlini@suse.de>
2805
2806         * include/bits/basic_string.h: Trivial formatting fixes and/or
2807         const-ification of some variables.
2808         * include/bits/deque.tcc: Likewise.
2809         * include/bits/stl_algobase.h: Likewise.
2810         * include/bits/stl_bvector.h: Likewise.
2811         * include/bits/stl_construct.h: Likewise.
2812         * include/bits/stl_deque.h: Likewise.
2813         * include/bits/stl_pair.h: Likewise.
2814         * include/bits/stl_vector.h: Likewise.
2815         * include/bits/vector.tcc: Likewise.
2816
2817 2004-07-04  Paolo Carlini  <pcarlini@suse.de>
2818
2819         * testsuite/25_algorithms/copy/1.cc: Add instantiations for
2820         systems with no COMDAT or weak support.
2821         * testsuite/25_algorithms/copy/2.cc: Likewise.
2822         * testsuite/25_algorithms/copy/3.cc: Likewise.
2823         * testsuite/25_algorithms/copy/4.cc: Likewise.
2824
2825 2004-07-03  Paul Brook  <paul@codesourcery.com>
2826
2827         * configure.ac: Set ABI_TWEAKS_SRCDIR.
2828         * configure.host: Set abi_tweaks_dir.  Check for atomicity.h when
2829         setting atomicity_dir.  Override type_cpu for arm based targets.
2830         * include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
2831         * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
2832         * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
2833         * libsupc++/vec.cc: Ditto.
2834         * config/cpu/arm/cxxabi_tweaks.h: New file.
2835         * config/cpu/generic/cxxabi_tweaks.h: New file.
2836         * */Makefile.in: Regenerate.
2837         * configure: Regenerate.
2838
2839 2004-07-02  Paolo Carlini  <pcarlini@suse.de>
2840
2841         * include/bits/type_traits.h (_Is_normal_iterator): Move...
2842         * include/bits/cpp_type_traits.h: ... here, renamed to
2843         __is_normal_iterator and consistent with the other traits.
2844         * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
2845         to the struct __copy_normal and three specializations.
2846         (__copy_backward_output_normal_iterator,
2847         __copy_backward_input_normal_iterator): Likewise, convert to
2848         the struct __copy_backward_normal and three specializations.
2849         (copy, copy_backward): Use the latter.
2850         (__copy_aux, __copy_backward_aux): Very minor tweaks.
2851
2852 2004-07-01  Paolo Carlini  <pcarlini@suse.de>
2853
2854         * include/bits/stl_algobase.h (__copy_trivial): Remove.
2855         (__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
2856         __is_trivially_copyable, __are_same and __copy::copy.
2857         (__copy): Rewrite as a class template and two specializations.
2858         (__copy_ni2): Simplify, just call __copy_aux.
2859
2860         * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
2861         check.
2862         * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
2863         for destination value type != source value type.
2864
2865 2004-07-01  Benjamin Kosnik  <bkoz@redhat.com>
2866             Per Bothner  <per@bothner.com>
2867             Mohan Embar  <gnustuff@thisiscool.com>
2868
2869         PR libstdc++/16248
2870         * include/bits/concurrence.h (__glibcxx_mutex_type): New.
2871         (__glibcxx_mutex): Encapsulate mutex init function into type for
2872         threaded configurations without __GTHREAD_MUTEX_INIT.
2873         (lock::lock): Make device member a reference.
2874         (lock::~lock): Same.
2875         * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
2876         to mutex_type.
2877         * src/allocator.cc: Same.
2878
2879 2004-06-30  Brad Spencer  <spencer@infointeractive.com>
2880
2881         * include/ext/mt_allocator.h: Handle allocations at static
2882         initialization that happen before _S_options is (automatically)
2883         constructed; set _S_init even if _M_force_new is true.
2884
2885 2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
2886
2887         * config/linker-map.gnu: Revert new exports.
2888
2889 2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
2890             Stuart Anderson  <anderson@netsweng.com>
2891
2892         * config/linker-map.gnu: Add destructor exports for abstract base
2893         classes to conform to LSB.
2894
2895 2004-06-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2896             Paolo Carlini  <pcarlini@suse.de>
2897
2898         * include/bits/cpp_type_traits.h: Add __is_pointer and
2899         __is_trivially_copyable.
2900         * include/bits/stl_algobase.h (fill, fill_n): Slightly
2901         tweak to use the latter.
2902         (__copy_backward_dispatch): Remove.
2903         (__copy_backward_aux): Rewrite to use __is_pointer and
2904         __is_trivially_copyable and __copy_backward::copy_b.
2905         (__copy_backward): Rewrite as a class template and two
2906         specializations.
2907
2908 2004-06-30  Paolo Carlini  <pcarlini@suse.de>
2909
2910         * testsuite/25_algorithms/copy.cc: Move to...
2911         * testsuite/25_algorithms/copy/1.cc: ... here, extend.
2912         * testsuite/25_algorithms/copy/2.cc: New.
2913         * testsuite/25_algorithms/copy/3.cc: New.
2914         * testsuite/25_algorithms/copy/4.cc: New.
2915
2916 2004-06-29  Paul Brook  <paul@codesourcery.com>
2917
2918         * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
2919         element size in the cookie.
2920
2921 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
2922
2923         * include/bits/cpp_type_traits.h: Move the additions to
2924         namespace __gnu_internal outside of namespace std; trivial
2925         formatting fixes.
2926
2927 2004-06-28  Benjamin Kosnik  <bkoz@redhat.com>
2928
2929         * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
2930         Revert -Weffc++ changes that defined copy ctory and or assignment
2931         operator.
2932         * libsupc++/tinfo.cc (__upcast_result): Same.
2933
2934 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
2935
2936         * src/localename.cc (locale::_Impl::_Impl): Slightly improve
2937         the algorithm used to name the categories.
2938
2939 2004-06-28  Paolo Bonzini  <bonzini@gnu.org>
2940
2941         * include/Makefile.am: Give a .gch extension to
2942         the PCH files, not only to the directory.
2943         * include/Makefile.in: Regenerate.
2944
2945 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
2946
2947         * config/locale/gnu/monetary_members.cc
2948         (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
2949         assignments of _M_decimal_point and _M_thousands_sep.
2950
2951 2004-06-27  Paolo Carlini  <pcarlini@suse.de>
2952
2953         * docs/html/17_intro/contribute.html: Update some links.
2954         * docs/html/17_intro/porting-howto.html: Likewise.
2955         * docs/html/17_intro/porting-howto.xml: Likewise.
2956         * docs/html/18_support/howto.html: Likewise.
2957         * docs/html/21_strings/howto.html: Likewise.
2958         * docs/html/27_io/howto.html: Likewise.
2959         * docs/html/configopts.html: Likewise.
2960         * docs/html/ext/howto.html: Likewise.
2961         * docs/html/faq/index.html: Likewise.
2962         * docs/html/install.html: Don't mention 2.x compilers.
2963
2964 2004-06-27  Paolo Carlini  <pcarlini@suse.de>
2965
2966         * include/ext/rope: Trivial formatting fixes.
2967         * include/ext/ropeimpl.h: Likewise.
2968
2969 2004-06-26  Paolo Carlini  <pcarlini@suse.de>
2970
2971         PR libstdc++/16210
2972         * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
2973         availability of strto(u)ll, not used anymore in the iostreams.
2974         * configure: Regenerate.
2975
2976 2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
2977
2978         PR libstdc++/16182
2979         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
2980         AC_DEFINE_UNQUOTED.
2981         * configure: Regenerate.
2982
2983 2004-06-25  Paul Brook  <paul@codesourcery.com>
2984
2985         * libsupc++/cxxabi.h: Define __ARM_EABI__
2986         (__guard): Use it.
2987         * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
2988
2989 2004-06-25  Paul Brook  <paul@codesourcery.com>
2990
2991         * include/bits/concurrence.h: Still create mutex object when
2992         single-threaded.
2993
2994 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
2995
2996         * include/bits/stl_algobase.h (fill, fill_n): Revert last
2997         change: actually we need to copy construct an object of type
2998         _Tp, not of type iterator_traits<>::value_type, therefore the
2999         code is ok.
3000
3001 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
3002
3003         * include/bits/stl_algobase.h (fill, fill_n): Tighten the
3004         dispatch: use iterator_traits<>::value_type, not _Tp.
3005
3006 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
3007
3008         * testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
3009         * testsuite/25_algorithms/fill/2.cc: Likewise.
3010
3011 2004-06-25  Dan Nicolaescu  <dann@ics.uci.edu>
3012             Paolo Carlini  <pcarlini@suse.de>
3013
3014         * include/bits/stl_algobase.h (__fill, __fill_n): New helpers
3015         for fill and fill_n, respectively: when copying is cheap, use a
3016         temporary to avoid a memory read in each iteration.
3017
3018 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
3019
3020         * testsuite/25_algorithms/fill/1.cc: New.
3021         * testsuite/25_algorithms/fill/2.cc: Likewise.
3022
3023 2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
3024
3025         * include/debug/formatter.h (__gnu_debug::_Error_formatter):
3026         Remove copy constructor and assignment operator.
3027
3028 2004-06-24  Benjamin Kosnik  <bkoz@redhat.com>
3029
3030         * include/bits/concurrence.h (__gnu_cxx::lock): New.
3031         * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
3032         (__pool_base::_M_get_mutex): New.
3033         * include/bits/allocator.h: Tweak.
3034         * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
3035         * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
3036         * include/bits/stl_threads.h: Remove.
3037         * include/Makefile.am: Also here.
3038         * include/Makefile.in: Regenerate.
3039
3040         * src/locale_init.cc: Use __gnu_cxx::lock.
3041
3042         * src/allocator.cc: Move all instantiations...
3043         * src/allocator-inst.cc: ...here.
3044
3045 2004-06-23  Andrew Pinski  <apinski@apple.com>
3046
3047         * linkage.m4: Remove check for libmx.
3048         * configure: Regenerate.
3049
3050 2004-06-23  Paolo Carlini  <pcarlini@suse.de>
3051
3052         PR libstdc++/16154
3053         * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
3054         Don't require the _DefaultConstructibleConcept.
3055         (struct _ForwardIteratorConcept): Require it here.
3056
3057 2004-06-22  Alexandre Oliva  <aoliva@redhat.com>
3058
3059         * include/bits/istream.tcc (getline): Make sure arguments passed
3060         to min/max have the same type.
3061         * include/bits/locale_facets.tcc (__verify_grouping): Likewise.
3062         * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
3063
3064 2004-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3065
3066         * docs/html/abi.html: Update links.
3067
3068 2004-06-22  Paolo Carlini  <pcarlini@suse.de>
3069
3070         * testsuite/26_numerics/complex_inserters_extractors.cc,
3071         complex_value.cc, buggy_complex.cc: Move to...
3072         * testsuite/26_numerics/complex/: ... here.
3073         * testsuite/26_numerics/c99_classification_macros_c++.cc,
3074         c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
3075         fabs_inline.cc: Move to...
3076         * testsuite/26_numerics/cmath/: ... here.
3077         * testsuite/26_numerics/binary_closure.cc, slice.cc,
3078         slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
3079         valarray_name_lookup.cc, valarray_operators.cc,
3080         valarray_subset_assignment.cc: Move to...
3081         * testsuite/26_numerics/valarray/: ... here (new dir).
3082         * testsuite/26_numerics/sum_diff.cc: Move to...
3083         * testsuite/26_numerics/numeric/: ... here (new dir).
3084
3085 2004-06-22  Paolo Carlini  <pcarlini@suse.de>
3086
3087         * include/std/std_istream.h (ignore(streamsize __n = 1,
3088         int_type __delim = traits_type::eof())): Split into...
3089         (ignore(), ignore(streamsize __n), ignore(streamsize __n,
3090         int_type __delim)): The first two can be much more simpler
3091         and efficient than the fully general case; also, the last
3092         two can take advantage of the same mechanism already used
3093         for getline.
3094         * include/bits/istream.tcc (ignore(streamsize __n = 1,
3095         int_type __delim = traits_type::eof()): Remove.
3096         (ignore(), ignore(streamsize __n), ignore(streamsize __n,
3097         int_type __delim)): New.
3098
3099 2004-06-21  Loren J. Rittle  <ljrittle@acm.org>
3100
3101         * config/linker-map.gnu: Use wildcards for
3102         __basic_file::sys_open(FILE*, _Ios_Openmode).
3103
3104 2004-06-20  Paolo Carlini  <pcarlini@suse.de>
3105
3106         * testsuite/27_io/basic_istream/ignore/char/3.cc: New.
3107
3108 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
3109
3110         * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
3111         the alignment requested.
3112         (__mt_alloc<>::_Tune::_Tune): Tweak consistently.
3113         (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
3114         (__mt_alloc<>::deallocate): Likewise.
3115
3116 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
3117
3118         PR libstdc++/16020
3119         * include/debug/safe_base.h
3120         (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
3121         _Safe_sequence_base::operator=): Provide definitions.
3122         * testsuite/23_containers/bitset/cons/16020.cc: New.
3123
3124 2004-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3125
3126         * include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
3127         (__pool_base): Remove unused template parameter.  Add
3128         protected. Move lock data into __pool_base::_Lock. Remove static
3129         on member functions.
3130         (__pool_base::_M_get_free_list): New.
3131         (__pool_alloc): Move _S_force new here.
3132         * src/allocator.cc: Move out of line __pool_base definitions here.
3133         * config/linker-map.gnu: Export bits from __pool_base.
3134
3135 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
3136
3137         * config/locale/gnu/numeric_members.cc
3138         (numpunct<wchar_t>::_M_initialize_numpunct): Clean up
3139         assignments of _M_decimal_point and _M_thousands_sep.
3140         * config/locale/gnu/time_members.cc
3141         (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
3142         and reformat assignments of date and time fields.
3143
3144 2004-06-16  Paolo Carlini  <pcarlini@suse.de>
3145
3146         * include/ext/rope (rope(_CharT, const allocator_type&)): Fix
3147         to use _Data_allocate.
3148         * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
3149         (rope<>::_S_substring): Likewise.
3150         (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
3151         (rope<>::c_str()): Likewise.
3152         (rope<>::replace_with_c_str()): Likewise.
3153
3154         * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
3155         Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
3156         not _RopeRep.
3157         (_Rope_iterator_base<>::_S_setcache): Likewise.
3158         (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
3159         (rope<>::_S_substring): Likewise.
3160         (rope<>::_S_dump): Likewise.
3161         (rope<>::_S_fetch_ptr): Likewise.
3162         (rope<>::_S_compare): Likewise.
3163         (rope<>::replace_with_c_str()): Likewise.
3164
3165         * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
3166         * testsuite/ext/rope/2.cc: New.
3167
3168 2004-06-16  Paolo Carlini  <pcarlini@suse.de>
3169             Matt Austern  <austern@apple.com>
3170
3171         * testsuite/ext/rope/3.cc: New.
3172
3173 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
3174
3175         * acinclude.m4: Remove useless multilib configury.
3176         * Makefile.am: Remove useless multilib rules.
3177         * aclocal.m4: Regenerate.
3178         * Makefile.in: Regenerate.
3179         * configure: Regenerate.
3180
3181 2004-06-15  Paolo Carlini  <pcarlini@suse.de>
3182
3183         * include/ext/hashtable.h: Trivial formatting fixes.
3184         * include/ext/rb_tree: Likewise.
3185
3186 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
3187
3188         * include/ext/hash_map: Trivial formatting fixes.
3189         * include/ext/hash_set: Likewise.
3190         * include/ext/memory: Likewise.
3191         * include/ext/numeric: Likewise.
3192
3193 2004-06-14  Benjamin Kosnik  <bkoz@redhat.com>
3194
3195         * Makefile.in: Regenerate with automake 1.8.5.
3196         * aclocal.m4: Same.
3197         * include/Makefile.in: Same.
3198         * libmath/Makefile.in: Same.
3199         * libsupc++/Makefile.in: Same.
3200         * po/Makefile.in: Same.
3201         * src/Makefile.in: Same.
3202         * testsuite/Makefile.in: Same.
3203
3204 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
3205
3206         * include/ext/slist: Trivial formatting fixes.
3207
3208 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
3209
3210         * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
3211         Don't use the 'magic number' 10 in the computation of __minlen;
3212         never access __name past __minlen; in the loop over __i3, don't
3213         decrease __nmatches and increase __i3 at once, only either of
3214         the two; tidy.
3215
3216 2004-06-13  Paolo Carlini  <pcarlini@suse.de>
3217
3218         * include/bits/locale_facets.tcc (time_get<>::do_get_time,
3219         time_get<>::do_get_date): Use only once _M_extract_via_format,
3220         instead of going through "%X"/"%x" and calling it two times
3221         (+ using widen).
3222
3223 2004-06-12  Paolo Carlini  <pcarlini@suse.de>
3224
3225         * include/ext/algorithm: Trivial formatting fixes.
3226         * include/ext/functional: Likewise.
3227         * include/ext/hash_fun.h: Likewise.
3228         * include/ext/iterator: Likewise.
3229
3230 2004-06-12  Paolo Carlini  <pcarlini@suse.de>
3231
3232         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
3233         size_type)): Reimplement using std::search.
3234         * src/string-inst.cc: Instantiate std::search for char/wchar_t.
3235
3236 2004-06-12  Dhruv Matani  <dhruvbird@gmx.net>
3237
3238         * testsuite/performance/21_strings/string_find.cc: New.
3239
3240 2004-06-10  Aaron W. LaFramboise  <aaronraolete36@aaronwl.com>
3241
3242         * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
3243
3244 2004-06-10  Jan van Dijk  <jan@etpmod.phys.tue.nl>
3245
3246         * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
3247         this function return a value.
3248
3249 2004-06-09  Paolo Carlini  <pcarlini@suse.de>
3250
3251         PR libstdc++/15775
3252         * include/bits/stl_deque.h: Consistently with stl_set.h, define
3253         pointer as allocator's pointer, likewise for reference,
3254         const_pointer, and const_reference.
3255         * include/bits/stl_list.h: Likewise.
3256         * include/bits/stl_map.h: Likewise.
3257         * include/bits/stl_multimap.h: Likewise.
3258         * include/bits/stl_vector.h: Likewise.
3259
3260 2004-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3261
3262         * crossconfig.m4: Remove signbit, signbitf, signbitl.
3263         * linkage.m4: Comment LIBMATHOBJS, tweak others.  AC_DEFINES for
3264         builtin math functions instead of AC_DEFINE_UNQUOTED.
3265         * configure: Regenerate.
3266
3267 2004-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3268
3269         * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
3270         * docs/doxygen/mainpage.html: Remove links.