OSDN Git Service

PR libstdc++/20091
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2005-02-22  Richard Henderson  <rth@redhat.com>
2
3         PR libstdc++/20091
4         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
5         decrement of uncaughtExceptions for rethrow.
6
7 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
8
9         * include/tr1/functional: Fix License to GPL with exception.
10         * include/tr1/hashtable: Likewise.
11         * include/tr1/tuple: Likewise.
12         * include/tr1/type_traits: Likewise.
13         * include/tr1/type_traits_fwd.h: Likewise.
14         * include/tr1/unordered_map: Likewise.
15         * include/tr1/unordered_set: Likewise.
16         * include/tr1/utility: Likewise.
17
18 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
19
20         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
21         auto_ptr_neg.cc: Add missing dg-do compile directive.
22         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
23         auto_ptr_rvalue_neg.cc: Likewise.
24         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
25         shared_ptr_neg.cc: Likewise.
26         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
27         auto_ptr_neg.cc: Likewise.
28         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
29         reset_neg.cc: Likewise.
30         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
31         swap_neg.cc: Likewise.
32
33 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
34
35         * include/Makefile.am, include/Makefile.in: Fix accidental extra
36         change from previous commit.
37
38 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
39
40         * include/tr1/memory: New file.
41         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
42         * testsuite/tr1/2_general_utilities/memory/
43         enable_shared_from_this/not_shared.cc: New test.
44         * testsuite/tr1/2_general_utilities/memory/
45         enable_shared_from_this/not_shared2.cc: New test.
46         * testsuite/tr1/2_general_utilities/memory/
47         enable_shared_from_this/not_shared3.cc: New test.
48         * testsuite/tr1/2_general_utilities/memory/
49         enable_shared_from_this/shared.cc: New test.
50         * testsuite/tr1/2_general_utilities/memory/
51         enable_shared_from_this/still_shared.cc: New test.
52         * testsuite/tr1/2_general_utilities/memory/
53         shared_ptr/assign/assign.cc: New test.
54         * testsuite/tr1/2_general_utilities/memory/
55         shared_ptr/assign/auto_ptr.cc: New test.
56         * testsuite/tr1/2_general_utilities/memory/
57         shared_ptr/assign/auto_ptr_neg.cc: New test.
58         * testsuite/tr1/2_general_utilities/memory/
59         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
60         * testsuite/tr1/2_general_utilities/memory/
61         shared_ptr/assign/shared_ptr.cc: New test.
62         * testsuite/tr1/2_general_utilities/memory/
63         shared_ptr/assign/shared_ptr_neg.cc: New test.
64         * testsuite/tr1/2_general_utilities/memory/
65         shared_ptr/comparison/cmp.cc: New test.
66         * testsuite/tr1/2_general_utilities/memory/
67         shared_ptr/cons/auto_ptr.cc: New test.
68         * testsuite/tr1/2_general_utilities/memory/
69         shared_ptr/cons/auto_ptr_neg.cc: New test.
70         * testsuite/tr1/2_general_utilities/memory/
71         shared_ptr/cons/copy.cc: New test.
72         * testsuite/tr1/2_general_utilities/memory/
73         shared_ptr/cons/default.cc: New test.
74         * testsuite/tr1/2_general_utilities/memory/
75         shared_ptr/cons/pointer.cc: New test.
76         * testsuite/tr1/2_general_utilities/memory/
77         shared_ptr/cons/weak_ptr.cc: New test.
78         * testsuite/tr1/2_general_utilities/memory/
79         shared_ptr/cons/weak_ptr_expired.cc: New test.
80         * testsuite/tr1/2_general_utilities/memory/
81         shared_ptr/dest/dest.cc: New test.
82         * testsuite/tr1/2_general_utilities/memory/
83         shared_ptr/misc/io.cc: New test.
84         * testsuite/tr1/2_general_utilities/memory/
85         shared_ptr/misc/swap.cc: New test.
86         * testsuite/tr1/2_general_utilities/memory/
87         shared_ptr/modifiers/reset.cc: New test.
88         * testsuite/tr1/2_general_utilities/memory/
89         shared_ptr/modifiers/reset_neg.cc: New test.
90         * testsuite/tr1/2_general_utilities/memory/
91         shared_ptr/modifiers/swap.cc: New test.
92         * testsuite/tr1/2_general_utilities/memory/
93         shared_ptr/modifiers/swap_neg.cc: New test.
94         * testsuite/tr1/2_general_utilities/memory/
95         shared_ptr/observers/bool_conv.cc: New test.
96         * testsuite/tr1/2_general_utilities/memory/
97         shared_ptr/observers/get.cc: New test.
98         * testsuite/tr1/2_general_utilities/memory/
99         shared_ptr/observers/unique.cc: New test.
100         * testsuite/tr1/2_general_utilities/memory/
101         shared_ptr/observers/use_count.cc: New test.
102
103 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
104
105         * include/tr1/type_traits (is_member_function_pointer):
106         Remove ugly workaround for c++/19076.
107
108 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
109
110         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
111         check for this == &_S_empty_rep, it's always false, here.
112
113 2005-02-19  Matt Austern  <austern@gmail.com>
114
115         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
116         hash<T>::operator() a const member function for T a fundamental type
117         * include/tr1/hashtable (extract1st::operator()): Declare const.
118         (hash_code_base): Declare all member functions const
119         (hashtable::find): fix call to this->bucket_count()
120         (hashtable::count): Likewise.
121         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
122         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
123         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
124         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
125         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
126         
127 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
128
129         PR libstdc++/20071
130         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
131         _GLIBCXX_USE_WCHAR_T.
132
133 2005-02-18  Richard Henderson  <rth@redhat.com>
134
135         PR libstdc++/10606
136         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
137         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
138         uncaughtExceptions here instead of ...
139         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
140         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
141         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
142         (__cxa_get_exception_ptr): New.
143         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
144
145 2005-02-18  Matt Austern  <austern@apple.com>
146
147         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
148         test case to use assignment instead of ==
149         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
150         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
151         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
152         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
153         
154 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
155
156         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
157         on Solaris 2.6 and below.
158         * testsuite/thread/pthread2.cc: Likewise.
159         * testsuite/thread/pthread3.cc: Likewise.
160         * testsuite/thread/pthread4.cc: Likewise.
161         * testsuite/thread/pthread5.cc: Likewise.
162         * testsuite/thread/pthread6.cc: Likewise.
163         * testsuite/thread/pthread7-rope.cc: Likewise.
164
165 2005-02-17  Matt Austern  <austern@apple.com>
166
167         * include/tr1/functional (hash): New function object.
168         * include/tr1/hashtable: New file.
169         * include/tr1/unordered_set: New file.
170         * include/tr1/unordered_map: New file.
171         * include/Makefile.am: Add three new TR1 headers.
172         * include/Makefile.in: Likewise.
173         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
174         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
175         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
176         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
177         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
178         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
179         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
180         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
181         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
182         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
183         
184 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
185
186         * testsuite/23_containers/set/modifiers/16728.cc:
187         Remove redundant include <testsuite_performance.h>.
188
189 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
190
191         PR libstdc++/19829
192         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
193         at line #66 to not access str_lit01 beyond its end.
194         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
195
196 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
197             Jon Grimm  <jgrimm2@us.ibm.com>
198         
199         PR libstdc++/19955
200         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
201         Fix the logic setting _M_narrow_ok: first check whether the
202         transformation is trivial with a dflt == 0, then deal with the
203         special case of zero.
204         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
205
206         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
207         Tweak consistently to use memcmp; minor formatting fixes.
208
209 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
210
211         PR libstdc++/19946
212         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
213         demangler change.
214         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
215
216 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
217             Paolo Carlini  <pcarlini@suse.de>
218
219         PR libstdc++/11706
220         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
221         for integer overloads.
222
223         * testsuite/26_numerics/cmath/powi.cc: New.
224
225 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
226
227         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
228         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
229         * testsuite/26_numerics/complex/pow.cc: Ditto.
230
231         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
232         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
233         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
234         * testsuite/26_numerics/complex/pow.cc: Ditto.
235
236 2005-02-09  Mike Stump  <mrs@apple.com>
237
238         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
239
240 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
241
242         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
243
244 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
245
246         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
247
248 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
249
250         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
251         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
252         src static.
253
254 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
255
256         * debug.html: Fix broken tags.
257         * documentation.html: Same.
258
259 2005-02-02  Andreas Jaeger  <aj@suse.de>
260
261         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
262         from 2005-01-28.
263         * testsuite/Makefile.am: Likewise.
264         * testsuite/Makefile.in: Likewise.
265
266 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
267
268         * include/bits/cpp_type_traits.h: Rename _M_type fields to
269         __value, except for __enable_if, _M_type -> __type, consistently
270         with the other traits.
271         * include/bits/stl_algobase.h: Tweak consistently.
272         * include/bits/stl_tree.h: Likewise.
273         * include/bits/valarray_array.h: Likewise.
274         * include/c_std/std_cmath.h: Likewise.
275         * include/debug/safe_iterator.h: Likewise.
276         * include/std/std_complex.h: Likewise.
277
278 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
279
280         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
281         * configure: Regenerated.       
282
283 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
284
285         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
286         Add required cast.
287         (numeric_limits<double>::has_denorm): Likewise.
288         (numeric_limits<long double>::has_denorm): Likewise.
289
290 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
291             Gabriel Dos Reis  <gdr@integrable-solutions.net>
292
293         * include/bits/cpp_type_traits.h: Add types to the structs thus
294         making type_traits.h redundant; exploit new __truth_type and
295         __traitor helpers.
296         * include/bits/type_traits.h: Remove.
297         * include/Makefile.am: Update.
298         * include/Makefile.in: Regenerate.
299         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
300         * include/bits/basic_string.h (replace(iterator, iterator,
301         _InputIterator, _InputIterator), _S_construct(_InIterator,
302         _InIterator, const _Alloc&)): Use __is_integer instead.
303         * include/bits/stl_bvector.h (vector(_InputIterator,
304         _InputIterator, const allocator_type&), assign(_InputIterator,
305         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
306         Likewise.
307         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
308         _ForwardIterator)): Use __is_scalar.
309         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
310         const allocator_type&), assign(_InputIterator, _InputIterator),
311         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
312         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
313         insert(iterator, _InputIterator, _InputIterator)): Likewise.
314         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
315         _ForwardIterator)): Use __is_scalar.
316         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
317         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
318         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
319         _Size, const _Tp&)): Likewise.
320         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
321         const allocator_type&), assign(_InputIterator, _InputIterator),
322         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
323         * include/debug/debug.h (__valid_range(const _InputIterator&,
324         const _InputIterator&)): Use __is_integer.
325         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
326         * include/std/std_string.h: Include cpp_type_traits.h instead.
327
328 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
329
330         PR libstdc++/19642
331         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
332         LC_NUMERIC, and only when actually != "C".
333
334 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
335
336         * include/tr1/type_traits (is_function): Minor consistency tweaks.
337
338 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
339
340         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
341         for the compiler.  Don't set cxxflags.
342         (v3_target_compile): Search for libv3test.a relative to $objdir.
343         (lsearch_all_inline): New.
344         (lsearch_all_inline_not): New.
345         (v3-list-tests): Rewrite to not need generated files.
346         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
347         (IGNORE_THREAD): New.
348         (TESTS_TO_IGNORE): New.
349         (site.exp): Set tests_to_ignore, cxxflags.
350         * aclocal.m4: Regenerate.
351         * Makefile.in: Regenerate.
352         * libmath/Makefile.in: Likewise.
353         * libsupc++/Makefile.in: Likewise.
354         * po/Makefile.in: Likewise.
355         * src/Makefile.in: Likewise.
356         * testsuite/Makefile.in: Likewise.
357
358 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
359
360         * include/tr1/type_traits: Implement is_empty.
361         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
362         is_empty.cc: New.
363         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
364         typedefs.cc: Likewise.
365
366         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
367
368 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
369
370         * include/tr1/type_traits: Implement is_abstract, by exploiting the
371         resolution of DR core/337.
372         * testsuite/testsuite_tr1.h: Add AbstractClass.
373         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
374         is_abstract.cc: New.
375         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
376         typedefs.cc: Likewise.
377         
378         * include/tr1/type_traits (is_function): Rewrite, use the conversion
379         F& -> F* instead, thus avoiding problems with abstract classes.
380         * testsuite/tr1/4_metaprogramming/primary_type_categories/
381         is_function/is_function.cc: Add a test for tricky AbstractClass.
382
383 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
384
385         * include/ext/mt_allocator.h
386         (struct __per_type_pool_policy<,, false>::_S_get_pool,
387         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
388         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
389         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
390         reduce to 64 the multiplier for _M_max_bytes (safer wrt
391         _Binmap_type being a short); trivial reformattings.
392         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
393
394 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
395
396         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
397         to the final test for enable_c99, thus robustifying it; remove
398         duplicate final test on ac_99_math.
399         * configure: Regenerate.
400
401         * include/std/std_complex.h: Remove usages of the dead
402         _GLIBCXX_BUGGY_COMPLEX macro.
403
404         * testsuite/26_numerics/cmath/19322.cc: Protect with
405         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
406         since only C99 math facilities are involved.
407         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
408         Likewise.
409
410 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
411
412         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
413         instead of generic.  Change autoconf report to "darwin or freebsd".
414         * configure: Regenerate.
415         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
416         (ctype<wchar_t>::do_scan_is): Likewise.
417         (ctype<wchar_t>::do_scan_not): Likewise.
418
419 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
420
421         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
422         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
423         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
424         * config.h.in: Regenerate.
425         * configure: Regenerate.
426         * include/std/std_complex.h: Protect complex builtins with
427         _GLIBCXX_USE_C99_COMPLEX_MATH.
428
429 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
430
431         * include/tr1/type_traits: Implement is_signed and is_unsigned.
432         * testsuite/tr1/4_metaprogramming/type_properties/
433         is_signed/is_signed.cc: New.
434         * testsuite/tr1/4_metaprogramming/type_properties/
435         is_signed/typedefs.cc: Likewise.
436         * testsuite/tr1/4_metaprogramming/type_properties/
437         is_unsigned/is_unsigned.cc: Likewise.
438         * testsuite/tr1/4_metaprogramming/type_properties/
439         is_unsigned/typedefs.cc: Likewise.
440
441 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
442
443         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
444
445 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
446
447         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
448         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
449         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
450         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
451         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
452         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
453         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
454         * testsuite/27_io/basic_ostream/flush/wchar_t/
455         exceptions_badbit_throw.cc: Likewise.
456         * testsuite/27_io/basic_ostream/inserters_arithmetic/
457         wchar_t/2.cc: Likewise.
458         * testsuite/27_io/basic_ostream/inserters_arithmetic/
459         wchar_t/3.cc: Likewise.
460         * testsuite/27_io/basic_ostream/inserters_arithmetic/
461         wchar_t/4.cc: Likewise.
462         * testsuite/27_io/basic_ostream/inserters_arithmetic/
463         wchar_t/4402.cc: Likewise.
464         * testsuite/27_io/basic_ostream/inserters_arithmetic/
465         wchar_t/5.cc: Likewise.
466         * testsuite/27_io/basic_ostream/inserters_arithmetic/
467         wchar_t/6.cc: Likewise.
468         * testsuite/27_io/basic_ostream/inserters_arithmetic/
469         wchar_t/9555-oa.cc: Likewise.
470         * testsuite/27_io/basic_ostream/inserters_arithmetic/
471         wchar_t/exceptions_badbit_throw.cc: Likewise.
472         * testsuite/27_io/basic_ostream/inserters_arithmetic/
473         wchar_t/exceptions_failbit_throw.cc: Likewise.
474         * testsuite/27_io/basic_ostream/inserters_character/
475         wchar_t/1.cc: Likewise.
476         * testsuite/27_io/basic_ostream/inserters_character/
477         wchar_t/2.cc: Likewise.
478         * testsuite/27_io/basic_ostream/inserters_character/
479         wchar_t/3.cc: Likewise.
480         * testsuite/27_io/basic_ostream/inserters_character/
481         wchar_t/4.cc: Likewise.
482         * testsuite/27_io/basic_ostream/inserters_character/
483         wchar_t/5.cc: Likewise.
484         * testsuite/27_io/basic_ostream/inserters_character/
485         wchar_t/6.cc: Likewise.
486         * testsuite/27_io/basic_ostream/inserters_character/
487         wchar_t/9555-oc.cc: Likewise.
488         * testsuite/27_io/basic_ostream/inserters_other/
489         wchar_t/1.cc: Likewise.
490         * testsuite/27_io/basic_ostream/inserters_other/
491         wchar_t/2.cc: Likewise.
492         * testsuite/27_io/basic_ostream/inserters_other/
493         wchar_t/3.cc: Likewise.
494         * testsuite/27_io/basic_ostream/inserters_other/
495         wchar_t/4.cc: Likewise.
496         * testsuite/27_io/basic_ostream/inserters_other/
497         wchar_t/5.cc: Likewise.
498         * testsuite/27_io/basic_ostream/inserters_other/
499         wchar_t/9318-out.cc: Likewise.
500         * testsuite/27_io/basic_ostream/inserters_other/
501         wchar_t/9424-out.cc: Likewise.
502         * testsuite/27_io/basic_ostream/inserters_other/
503         wchar_t/9555-oo.cc: Likewise.
504         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
505         error_failbit.cc: Likewise.
506         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
507         exceptions_badbit_throw.cc: Likewise.
508         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
509         exceptions_failbit_throw.cc: Likewise.
510         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
511         exceptions_null.cc: Likewise.
512         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
513         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
514         * testsuite/27_io/basic_ostream/seekp/char/
515         exceptions_badbit_throw.cc: Likewise.
516         * testsuite/27_io/basic_ostream/seekp/wchar_t/
517         2346-fstream.cc: Likewise.
518         * testsuite/27_io/basic_ostream/seekp/wchar_t/
519         2346-sstream.cc: Likewise.
520         * testsuite/27_io/basic_ostream/seekp/wchar_t/
521         exceptions_badbit_throw.cc: Likewise.
522         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
523         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
524         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
525         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
526         * testsuite/27_io/basic_ostream/tellp/wchar_t/
527         exceptions_badbit_throw.cc: Likewise.
528         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
529
530         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
531         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
532         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
533         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
534         * testsuite/data/wostream_seeks-1.tst: Likewise.
535
536         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
537         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
538         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. 
539         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
540         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
541         * testsuite/27_io/basic_ostream/flush/char/
542         exceptions_badbit_throw.cc: Likewise.
543         * testsuite/27_io/basic_ostream/inserters_arithmetic/
544         char/2.cc: Likewise.
545         * testsuite/27_io/basic_ostream/inserters_arithmetic/
546         char/3.cc: Likewise.
547         * testsuite/27_io/basic_ostream/inserters_arithmetic/
548         char/4.cc: Likewise.
549         * testsuite/27_io/basic_ostream/inserters_arithmetic/
550         char/4402.cc: Likewise.
551         * testsuite/27_io/basic_ostream/inserters_arithmetic/
552         char/5.cc: Likewise.
553         * testsuite/27_io/basic_ostream/inserters_arithmetic/
554         char/6.cc: Likewise.
555         * testsuite/27_io/basic_ostream/inserters_character/
556         char/4.cc: Likewise.
557         * testsuite/27_io/basic_ostream/inserters_other/char/
558         2.cc: Likewise.
559         * testsuite/27_io/basic_ostream/inserters_other/char/
560         5.cc: Likewise.
561         * testsuite/27_io/basic_ostream/inserters_other/char/
562         error_failbit.cc: Likewise.
563         * testsuite/27_io/basic_ostream/inserters_other/char/
564         exceptions_badbit_throw.cc: Likewise.
565         * testsuite/27_io/basic_ostream/inserters_other/char/
566         exceptions_failbit_throw.cc: Likewise.
567         * testsuite/27_io/basic_ostream/inserters_other/char/
568         exceptions_null.cc: Likewise.
569         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
570         * testsuite/27_io/basic_ostream/seekp/char/
571         exceptions_badbit_throw.cc: Likewise.
572         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
573         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
574
575 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
576
577         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
578         of aligned.
579
580 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
581             Andreas Jaeger  <aj@suse.de>
582
583         PR libstdc++/19343
584         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
585
586 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
587
588         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
589         lseek on fifo to succeed.  Thus, check for consistent report.
590
591 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
592
593         PR libstdc++/19510
594         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
595         in constructor.
596         (_List_const_iterator): Likewise.
597         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
598         (_Rb_tree_const_iterator): Likewise.
599
600         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
601         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
602
603 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
604
605         * testsuite/Makefile.am (check-compile): New.
606         * testsuite/Makefile.in: Regenerate.    
607         * scripts/check_compile_time: New.
608         * scripts/check_performance: Tweaks.
609
610 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
611
612         PR libstdc++/19535
613         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
614         Fix typo in the return type.
615         * testsuite/tr1/6_containers/utility/19535.cc: New.
616
617 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
618
619         * include/ext/array_allocator.h (array_allocator<>::allocate):
620         Avoid __used.  Use __array_used instead.
621         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
622
623 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
624
625         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
626         (_XOPEN_SOURCE_EXTENDED): Delete.
627
628 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
629
630         * testsuite/testsuite_performance.h (time_counter::start):
631         Clear. Tweaks.
632         (clear_counters): Inline.
633         (start_counters): Inline.
634         (stop_counters): Inline.
635         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
636         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
637         return, add return.
638         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
639         
640 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
641
642         PR libstdc++/19433
643         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
644         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
645         Obtain amortized constant complexity if t is inserted right after
646         p - not before p - as per Table 69.
647         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
648         
649         * testsuite/23_containers/multiset/insert/2.cc: New.
650         * testsuite/23_containers/set/insert/1.cc: Likewise.
651         
652         * testsuite/performance/23_containers/set_create_from_sorted.cc:
653         Simplify.
654
655         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
656
657 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
658
659         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
660         * testsuite/ext/rope/4.cc: Add.
661
662 2005-01-16  Lorenz Minder  <lminder@gmx.net>
663             Paolo Carlini  <pcarlini@suse.de>
664
665         PR libstdc++/19322
666         * include/c_std/std_cmath.h: Define the C99 classification facilities
667         directly inside namespace std:.
668         * testsuite/26_numerics/cmath/19322.cc: New.
669
670 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
671
672         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
673
674 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
675
676         PR libstdc++/19422
677         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
678         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
679         respectively) with hint (end()).
680         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
681
682 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
683
684         * configure.host (darwin): On darwin8 or later, no need to build
685         libstdc++ with -flat_namespace.
686
687 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
688
689         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
690
691 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
692
693         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
694         Re-enable commented-out test for double type.
695
696 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
697             Benjamin Kosnik  <bkoz@redhat.com>
698
699         * src/istream.cc (basic_istream<char>::ignore(streamsize),
700         basic_istream<char>::ignore(streamsize, int_type),
701         basic_istream<wchar_t>::ignore(streamsize),
702         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
703         more than numeric_limits<streamsize>::max() chars are skipped,
704         set _M_gcount = max().
705         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
706         int_type)): Likewise; keep simple, don't forward.
707
708 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
709
710         * src/istream.cc (basic_istream<char>::ignore(streamsize),
711         basic_istream<char>::ignore(streamsize, int_type),
712         basic_istream<wchar_t>::ignore(streamsize),
713         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
714         2005-01-05 change: actually, the previous behavior is conforming
715         and consistent with that of get(char_type*, streamsize, char_type),
716         albeit slightly different from that of 3.3/3.4 in a corner case
717         due to the use of snextc.
718         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
719         int_type)): Likewise.
720         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
721         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
722
723 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
724
725         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
726         * testsuite/tr1/4_metaprogramming/other_transformations/
727         aligned_storage/aligned_storage.cc: New.
728         * testsuite/tr1/4_metaprogramming/other_transformations/
729         aligned_storage/typedefs.cc: Likewise.
730         * testsuite/tr1/4_metaprogramming/type_properties/
731         alignment_of/alignment_of.cc: Likewise.
732         * testsuite/tr1/4_metaprogramming/type_properties/
733         alignment_of/typedefs.cc: Likewise.
734
735 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
736
737         * Makefile.in: Regenerate.
738         * libmath/Makefile.in: Likewise.
739         * libsupc++/Makefile.in: Likewise.
740         * po/Makefile.in: Likewise.
741         * src/Makefile.in: Likewise.
742         * testsuite/Makefile.in: Likewise.
743
744 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
745
746         * include/bits/stl_algobase.h (lexicographical_compare):
747         Fix concept check.
748
749 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
750
751         * acinclude.m4: Remove CCODECVT_H.
752         * configure: Regenerate.
753         * include/Makefile.am (host_headers_extra): Move to...
754         (ext_headers): ...here.
755         * include/Makefile.in: Regenerate.
756         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
757         enc_traits to...
758         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
759         * include/ext/codecvt_specializations.h: ...here. Remove
760         _GLIBCXX_USE___ENC_TRAITS. 
761         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
762         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
763         namespace.
764         * config/locale/generic/codecvt_specializations.h: Remove.
765         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
766         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
767
768 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
769
770         * include/bits/fstream.tcc: Remove unnecessary qualifications for
771         uglified data members of basic_filebuf, including _M_buf,
772         _M_buf_size, _M_mode, _M_pback_init.
773         * include/std/std_fstream.h: Same.
774         
775 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
776
777         * testsuite/testsuite_hooks.h: 
778         (copy_constructor::mark_call):  Use __throw_runtime_error.
779         (assignment_operator::mark_call): Same.
780         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
781         (locale_data): Remove, just use runtime_error directly.
782         (environment_variable): Same.
783         (not_found): Same.
784         (run_tests_wrapped_locale): Use __throw_runtime_error.
785         (run_tests_wrapped_env): Same.
786         (semaphore::semaphore): Same.
787         (semaphore::signal): Same.
788         (semaphore::wait): Same.
789         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
790         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
791         (create_symbols): Use __throw_runtime_error.
792         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
793
794 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
795
796         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
797         process.
798         
799 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
800
801         * src/istream.cc (basic_istream<char>::ignore(streamsize),
802         basic_istream<char>::ignore(streamsize, int_type),
803         basic_istream<wchar_t>::ignore(streamsize),
804         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
805         first check _M_gcount vs __n.   
806         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
807         int_type)): Likewise.
808         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
809         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
810
811 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
812
813         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
814         instead of just throw.
815
816         * testsuite/testsuite_hooks.cc: Update coypright and follow style
817         guidelines.
818         * testsuite/testsuite_hooks.h: Likewise.
819         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
820         semaphores, not sleep.
821         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
822         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
823         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
824         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
825         Likewise.
826         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
827         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
828         * testsuite/27_io/objects/char/7.cc: Likewise.
829         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
830         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
831         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
832
833         * configure.ac: Check for sys/ipc.h and sys/sem.h. 
834         * config.h.in: Regenerated.
835         * configure: Likewise.
836         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
837         define.
838         (sys/types.h): Include.
839         (sys/ipc.h): Likewise.
840         (sys/sem.h): Likewise.
841         (__gnu_test::semun): New type.
842         (__gnu_test::semaphore::sempaphore): New function.
843         (__gnu_test::semaphore::~semaphore): Likewise.
844         (__gnu_test::semaphore::wait): Likewise.
845         (__gnu_test::semaphore::signal): Likewise.
846         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
847         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
848         semaphores, not sleep.
849         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
850         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
851         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
852         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
853         Likewise.
854         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
855         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
856         * testsuite/27_io/objects/char/7.cc: Likewise.
857         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
858         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
859         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
860
861 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
862
863         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
864         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
865         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
866         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
867         * src/istream.cc (basic_istream<char>::ignore(streamsize),
868         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
869
870 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
871
872         * src/istream.cc (basic_istream<char>::ignore(streamsize),
873         basic_istream<char>::ignore(streamsize, int_type),
874         basic_istream<wchar_t>::ignore(streamsize),
875         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
876         _M_gcount overflows.    
877         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
878         int_type)): Likewise; use snextc in the main loop, consistently
879         with the specializations above.
880
881 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
882
883         * include/bits/stl_algobase.h (mismatch): Correct concept check.
884
885 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
886
887         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
888         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
889         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
890
891 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
892
893         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
894         null-terminate array1 at the outset.
895         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
896         Likewise.