OSDN Git Service

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