1 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3 * include/tr1/type_traits: Implemenet is_polymorphic.
4 (is_empty): Minor tweaks.
5 * testsuite/testsuite_tr1.h: Add test types.
6 * testsuite/tr1/4_metaprogramming/type_properties/
7 is_polymorphic/is_polymorphic.cc: New.
8 * testsuite/tr1/4_metaprogramming/type_properties/
9 is_polymorphic/typedefs.cc: Likewise.
10 * testsuite/tr1/4_metaprogramming/composite_type_traits/
11 is_union_or_class/is_union_or_class.cc: Add tests.
13 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
15 * include/tr1/functional (_Has_result_type): Cleanup.
16 (_Result_of_impl): Handle member data pointers correctly.
17 (reference_wrapper): Support invocation.
18 Move repetition code into new file include/tr1/repeat.h.
19 * include/tr1/functional_iterate.h (reference_wrapper): Support
20 invocation. Cleanup long lines.
21 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
23 * include/tr1/repeat.h: Code repetition header.
24 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
25 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
26 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
27 New test of reference_wrapper invocation.
28 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
29 New test of reference_wrapper typedefs and base classes.
30 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
33 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
35 * include/tr1/function (result_of): New class template.
36 * include/tr1/functional/iterator.h: Implementation of TR1
38 * testsuite/tr1/3_function_objects/result_of.cc: New test
40 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
42 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
44 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
46 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
47 cons/auto_ptr_neg.cc: Correct line numbers.
49 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
51 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
53 * include/tr1/memory: Replace checked_deleter with (unchecked)
54 _Sp_deleter as GCC warns about delete on incomplete types anyway.
56 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
58 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
60 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
63 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
64 'Q' constraint, not 'm'.
66 2005-02-26 Earl Chew <earl_chew@agilent.com>
67 Christopher Jefferson <chris@bubblescope.net>
69 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
70 memory if _M_key_compare throws.
72 2005-02-25 Paolo Carlini <pcarlini@suse.de>
74 * include/tr1/type_traits: Add the trivial is_union and is_class;
75 add the __is_union_or_class extension.
76 (is_enum, is_empty): Use the latter.
77 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
78 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
80 * testsuite/tr1/4_metaprogramming/composite_type_traits/
81 is_union_or_class/is_union_or_class.cc: New.
82 * testsuite/tr1/4_metaprogramming/composite_type_traits/
83 is_union_or_class/typedefs.cc: Likewise.
85 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
87 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
88 wchar_t use with _GLIBCXX_USE_WCHAR_T.
90 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
92 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
93 _GLIBCXX_USE_C99_COMPLEX.
96 * configure: Regenerate.
99 2005-02-24 Paolo Carlini <pcarlini@suse.de>
101 * include/tr1/functional (mem_fn): Avoid _T, badname on
104 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
106 * include/tr1/functional (function): New class template.
107 (mem_fn): New function template.
108 Implementations of TR1 function and mem_fn facilities.
109 * include/tr1/functional_iterate.h: Implementations of TR1
110 function and mem_fn facilities.
111 * testsuite/tr1/3_function_objects/function/1.cc: New
112 test of std::tr1::function.
113 * testsuite/tr1/3_function_objects/function/2.cc: New
114 test of std::tr1::function.
115 * testsuite/tr1/3_function_objects/function/3.cc: New
116 test of std::tr1::function.
117 * testsuite/tr1/3_function_objects/function/4.cc: New
118 test of std::tr1::function.
119 * testsuite/tr1/3_function_objects/function/5.cc: New
120 test of std::tr1::function.
121 * testsuite/tr1/3_function_objects/function/6.cc: New
122 test of std::tr1::function.
123 * testsuite/tr1/3_function_objects/function/7.cc: New
124 test of std::tr1::function.
125 * testsuite/tr1/3_function_objects/function/8.cc: New
126 test of std::tr1::function.
127 * testsuite/tr1/3_function_objects/function/9.cc: New
128 test of std::tr1::function.
129 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
132 2005-02-23 Paolo Carlini <pcarlini@suse.de>
134 * include/tr1/type_traits: Implement is_convertible.
135 * testsuite/tr1/4_metaprogramming/relationships_between_types/
136 is_convertible/is_convertible.cc: New.
137 * testsuite/tr1/4_metaprogramming/relationships_between_types/
138 is_convertible/typedefs.cc: Likewise.
139 * testsuite/testsuite_tr1.h: Add class DerivedType.
141 * include/tr1/type_traits (is_function): Don't mistake references
142 to function types for function types.
143 * testsuite/tr1/4_metaprogramming/primary_type_categories/
144 is_function/is_function.cc: Add testcase.
146 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
148 * scripts/check_performance: Tweaks.
150 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
151 output file with extension that clean rules can find.
153 2005-02-22 Richard Henderson <rth@redhat.com>
156 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
157 decrement of uncaughtExceptions for rethrow.
159 2005-02-22 Paolo Carlini <pcarlini@suse.de>
161 * include/tr1/functional: Fix License to GPL with exception.
162 * include/tr1/hashtable: Likewise.
163 * include/tr1/tuple: Likewise.
164 * include/tr1/type_traits: Likewise.
165 * include/tr1/type_traits_fwd.h: Likewise.
166 * include/tr1/unordered_map: Likewise.
167 * include/tr1/unordered_set: Likewise.
168 * include/tr1/utility: Likewise.
170 2005-02-22 Paolo Carlini <pcarlini@suse.de>
172 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
173 auto_ptr_neg.cc: Add missing dg-do compile directive.
174 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
175 auto_ptr_rvalue_neg.cc: Likewise.
176 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
177 shared_ptr_neg.cc: Likewise.
178 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
179 auto_ptr_neg.cc: Likewise.
180 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
181 reset_neg.cc: Likewise.
182 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
183 swap_neg.cc: Likewise.
185 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
187 * include/Makefile.am, include/Makefile.in: Fix accidental extra
188 change from previous commit.
190 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
192 * include/tr1/memory: New file.
193 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
194 * testsuite/tr1/2_general_utilities/memory/
195 enable_shared_from_this/not_shared.cc: New test.
196 * testsuite/tr1/2_general_utilities/memory/
197 enable_shared_from_this/not_shared2.cc: New test.
198 * testsuite/tr1/2_general_utilities/memory/
199 enable_shared_from_this/not_shared3.cc: New test.
200 * testsuite/tr1/2_general_utilities/memory/
201 enable_shared_from_this/shared.cc: New test.
202 * testsuite/tr1/2_general_utilities/memory/
203 enable_shared_from_this/still_shared.cc: New test.
204 * testsuite/tr1/2_general_utilities/memory/
205 shared_ptr/assign/assign.cc: New test.
206 * testsuite/tr1/2_general_utilities/memory/
207 shared_ptr/assign/auto_ptr.cc: New test.
208 * testsuite/tr1/2_general_utilities/memory/
209 shared_ptr/assign/auto_ptr_neg.cc: New test.
210 * testsuite/tr1/2_general_utilities/memory/
211 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
212 * testsuite/tr1/2_general_utilities/memory/
213 shared_ptr/assign/shared_ptr.cc: New test.
214 * testsuite/tr1/2_general_utilities/memory/
215 shared_ptr/assign/shared_ptr_neg.cc: New test.
216 * testsuite/tr1/2_general_utilities/memory/
217 shared_ptr/comparison/cmp.cc: New test.
218 * testsuite/tr1/2_general_utilities/memory/
219 shared_ptr/cons/auto_ptr.cc: New test.
220 * testsuite/tr1/2_general_utilities/memory/
221 shared_ptr/cons/auto_ptr_neg.cc: New test.
222 * testsuite/tr1/2_general_utilities/memory/
223 shared_ptr/cons/copy.cc: New test.
224 * testsuite/tr1/2_general_utilities/memory/
225 shared_ptr/cons/default.cc: New test.
226 * testsuite/tr1/2_general_utilities/memory/
227 shared_ptr/cons/pointer.cc: New test.
228 * testsuite/tr1/2_general_utilities/memory/
229 shared_ptr/cons/weak_ptr.cc: New test.
230 * testsuite/tr1/2_general_utilities/memory/
231 shared_ptr/cons/weak_ptr_expired.cc: New test.
232 * testsuite/tr1/2_general_utilities/memory/
233 shared_ptr/dest/dest.cc: New test.
234 * testsuite/tr1/2_general_utilities/memory/
235 shared_ptr/misc/io.cc: New test.
236 * testsuite/tr1/2_general_utilities/memory/
237 shared_ptr/misc/swap.cc: New test.
238 * testsuite/tr1/2_general_utilities/memory/
239 shared_ptr/modifiers/reset.cc: New test.
240 * testsuite/tr1/2_general_utilities/memory/
241 shared_ptr/modifiers/reset_neg.cc: New test.
242 * testsuite/tr1/2_general_utilities/memory/
243 shared_ptr/modifiers/swap.cc: New test.
244 * testsuite/tr1/2_general_utilities/memory/
245 shared_ptr/modifiers/swap_neg.cc: New test.
246 * testsuite/tr1/2_general_utilities/memory/
247 shared_ptr/observers/bool_conv.cc: New test.
248 * testsuite/tr1/2_general_utilities/memory/
249 shared_ptr/observers/get.cc: New test.
250 * testsuite/tr1/2_general_utilities/memory/
251 shared_ptr/observers/unique.cc: New test.
252 * testsuite/tr1/2_general_utilities/memory/
253 shared_ptr/observers/use_count.cc: New test.
255 2005-02-21 Paolo Carlini <pcarlini@suse.de>
257 * include/tr1/type_traits (is_member_function_pointer):
258 Remove ugly workaround for c++/19076.
260 2005-02-21 Paolo Carlini <pcarlini@suse.de>
262 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
263 check for this == &_S_empty_rep, it's always false, here.
265 2005-02-19 Matt Austern <austern@gmail.com>
267 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
268 hash<T>::operator() a const member function for T a fundamental type
269 * include/tr1/hashtable (extract1st::operator()): Declare const.
270 (hash_code_base): Declare all member functions const
271 (hashtable::find): fix call to this->bucket_count()
272 (hashtable::count): Likewise.
273 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
274 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
275 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
276 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
277 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
279 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
282 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
283 _GLIBCXX_USE_WCHAR_T.
285 2005-02-18 Richard Henderson <rth@redhat.com>
288 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
289 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
290 uncaughtExceptions here instead of ...
291 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
292 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
293 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
294 (__cxa_get_exception_ptr): New.
295 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
297 2005-02-18 Matt Austern <austern@apple.com>
299 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
300 test case to use assignment instead of ==
301 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
302 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
303 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
304 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
306 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
308 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
309 on Solaris 2.6 and below.
310 * testsuite/thread/pthread2.cc: Likewise.
311 * testsuite/thread/pthread3.cc: Likewise.
312 * testsuite/thread/pthread4.cc: Likewise.
313 * testsuite/thread/pthread5.cc: Likewise.
314 * testsuite/thread/pthread6.cc: Likewise.
315 * testsuite/thread/pthread7-rope.cc: Likewise.
317 2005-02-17 Matt Austern <austern@apple.com>
319 * include/tr1/functional (hash): New function object.
320 * include/tr1/hashtable: New file.
321 * include/tr1/unordered_set: New file.
322 * include/tr1/unordered_map: New file.
323 * include/Makefile.am: Add three new TR1 headers.
324 * include/Makefile.in: Likewise.
325 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
326 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
327 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
328 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
329 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
330 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
331 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
332 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
333 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
334 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
336 2005-02-16 Paolo Carlini <pcarlini@suse.de>
338 * testsuite/23_containers/set/modifiers/16728.cc:
339 Remove redundant include <testsuite_performance.h>.
341 2005-02-16 Paolo Carlini <pcarlini@suse.de>
344 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
345 at line #66 to not access str_lit01 beyond its end.
346 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
348 2005-02-15 Paolo Carlini <pcarlini@suse.de>
349 Jon Grimm <jgrimm2@us.ibm.com>
352 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
353 Fix the logic setting _M_narrow_ok: first check whether the
354 transformation is trivial with a dflt == 0, then deal with the
355 special case of zero.
356 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
358 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
359 Tweak consistently to use memcmp; minor formatting fixes.
361 2005-02-15 Jakub Jelinek <jakub@redhat.com>
364 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
366 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
368 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
369 Paolo Carlini <pcarlini@suse.de>
372 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
373 for integer overloads.
375 * testsuite/26_numerics/cmath/powi.cc: New.
377 2005-02-11 Janis Johnson <janis187@us.ibm.com>
379 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
380 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
381 * testsuite/26_numerics/complex/pow.cc: Ditto.
383 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
384 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
385 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
386 * testsuite/26_numerics/complex/pow.cc: Ditto.
388 2005-02-09 Mike Stump <mrs@apple.com>
390 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
392 2005-02-09 Janis Johnson <janis187@us.ibm.com>
394 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
396 2005-02-08 Mark Mitchell <mark@codesourcery.com>
398 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
400 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
402 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
403 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
406 2005-02-02 Brad Spencer <spencer@infointeractive.com>
408 * debug.html: Fix broken tags.
409 * documentation.html: Same.
411 2005-02-02 Andreas Jaeger <aj@suse.de>
413 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
415 * testsuite/Makefile.am: Likewise.
416 * testsuite/Makefile.in: Likewise.
418 2005-02-01 Paolo Carlini <pcarlini@suse.de>
420 * include/bits/cpp_type_traits.h: Rename _M_type fields to
421 __value, except for __enable_if, _M_type -> __type, consistently
422 with the other traits.
423 * include/bits/stl_algobase.h: Tweak consistently.
424 * include/bits/stl_tree.h: Likewise.
425 * include/bits/valarray_array.h: Likewise.
426 * include/c_std/std_cmath.h: Likewise.
427 * include/debug/safe_iterator.h: Likewise.
428 * include/std/std_complex.h: Likewise.
430 2005-01-31 Brad Spencer <spencer@infointeractive.com>
432 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
433 * configure: Regenerated.
435 2005-01-31 Mark Mitchell <mark@codesourcery.com>
437 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
439 (numeric_limits<double>::has_denorm): Likewise.
440 (numeric_limits<long double>::has_denorm): Likewise.
442 2005-01-31 Paolo Carlini <pcarlini@suse.de>
443 Gabriel Dos Reis <gdr@integrable-solutions.net>
445 * include/bits/cpp_type_traits.h: Add types to the structs thus
446 making type_traits.h redundant; exploit new __truth_type and
448 * include/bits/type_traits.h: Remove.
449 * include/Makefile.am: Update.
450 * include/Makefile.in: Regenerate.
451 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
452 * include/bits/basic_string.h (replace(iterator, iterator,
453 _InputIterator, _InputIterator), _S_construct(_InIterator,
454 _InIterator, const _Alloc&)): Use __is_integer instead.
455 * include/bits/stl_bvector.h (vector(_InputIterator,
456 _InputIterator, const allocator_type&), assign(_InputIterator,
457 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
459 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
460 _ForwardIterator)): Use __is_scalar.
461 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
462 const allocator_type&), assign(_InputIterator, _InputIterator),
463 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
464 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
465 insert(iterator, _InputIterator, _InputIterator)): Likewise.
466 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
467 _ForwardIterator)): Use __is_scalar.
468 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
469 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
470 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
471 _Size, const _Tp&)): Likewise.
472 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
473 const allocator_type&), assign(_InputIterator, _InputIterator),
474 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
475 * include/debug/debug.h (__valid_range(const _InputIterator&,
476 const _InputIterator&)): Use __is_integer.
477 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
478 * include/std/std_string.h: Include cpp_type_traits.h instead.
480 2005-01-30 Paolo Carlini <pcarlini@suse.de>
483 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
484 LC_NUMERIC, and only when actually != "C".
486 2005-01-28 Paolo Carlini <pcarlini@suse.de>
488 * include/tr1/type_traits (is_function): Minor consistency tweaks.
490 2005-01-28 Geoffrey Keating <geoffk@apple.com>
492 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
493 for the compiler. Don't set cxxflags.
494 (v3_target_compile): Search for libv3test.a relative to $objdir.
495 (lsearch_all_inline): New.
496 (lsearch_all_inline_not): New.
497 (v3-list-tests): Rewrite to not need generated files.
498 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
499 (IGNORE_THREAD): New.
500 (TESTS_TO_IGNORE): New.
501 (site.exp): Set tests_to_ignore, cxxflags.
502 * aclocal.m4: Regenerate.
503 * Makefile.in: Regenerate.
504 * libmath/Makefile.in: Likewise.
505 * libsupc++/Makefile.in: Likewise.
506 * po/Makefile.in: Likewise.
507 * src/Makefile.in: Likewise.
508 * testsuite/Makefile.in: Likewise.
510 2005-01-28 Paolo Carlini <pcarlini@suse.de>
512 * include/tr1/type_traits: Implement is_empty.
513 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
515 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
516 typedefs.cc: Likewise.
518 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
520 2005-01-28 Paolo Carlini <pcarlini@suse.de>
522 * include/tr1/type_traits: Implement is_abstract, by exploiting the
523 resolution of DR core/337.
524 * testsuite/testsuite_tr1.h: Add AbstractClass.
525 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
527 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
528 typedefs.cc: Likewise.
530 * include/tr1/type_traits (is_function): Rewrite, use the conversion
531 F& -> F* instead, thus avoiding problems with abstract classes.
532 * testsuite/tr1/4_metaprogramming/primary_type_categories/
533 is_function/is_function.cc: Add a test for tricky AbstractClass.
535 2005-01-26 Paolo Carlini <pcarlini@suse.de>
537 * include/ext/mt_allocator.h
538 (struct __per_type_pool_policy<,, false>::_S_get_pool,
539 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
540 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
541 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
542 reduce to 64 the multiplier for _M_max_bytes (safer wrt
543 _Binmap_type being a short); trivial reformattings.
544 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
546 2005-01-26 Paolo Carlini <pcarlini@suse.de>
548 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
549 to the final test for enable_c99, thus robustifying it; remove
550 duplicate final test on ac_99_math.
551 * configure: Regenerate.
553 * include/std/std_complex.h: Remove usages of the dead
554 _GLIBCXX_BUGGY_COMPLEX macro.
556 * testsuite/26_numerics/cmath/19322.cc: Protect with
557 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
558 since only C99 math facilities are involved.
559 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
562 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
564 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
565 instead of generic. Change autoconf report to "darwin or freebsd".
566 * configure: Regenerate.
567 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
568 (ctype<wchar_t>::do_scan_is): Likewise.
569 (ctype<wchar_t>::do_scan_not): Likewise.
571 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
573 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
574 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
575 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
576 * config.h.in: Regenerate.
577 * configure: Regenerate.
578 * include/std/std_complex.h: Protect complex builtins with
579 _GLIBCXX_USE_C99_COMPLEX_MATH.
581 2005-01-24 Paolo Carlini <pcarlini@suse.de>
583 * include/tr1/type_traits: Implement is_signed and is_unsigned.
584 * testsuite/tr1/4_metaprogramming/type_properties/
585 is_signed/is_signed.cc: New.
586 * testsuite/tr1/4_metaprogramming/type_properties/
587 is_signed/typedefs.cc: Likewise.
588 * testsuite/tr1/4_metaprogramming/type_properties/
589 is_unsigned/is_unsigned.cc: Likewise.
590 * testsuite/tr1/4_metaprogramming/type_properties/
591 is_unsigned/typedefs.cc: Likewise.
593 2005-01-23 Paolo Carlini <pcarlini@suse.de>
595 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
597 2005-01-23 Paolo Carlini <pcarlini@suse.de>
599 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
600 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
601 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
602 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
603 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
604 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
605 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
606 * testsuite/27_io/basic_ostream/flush/wchar_t/
607 exceptions_badbit_throw.cc: Likewise.
608 * testsuite/27_io/basic_ostream/inserters_arithmetic/
609 wchar_t/2.cc: Likewise.
610 * testsuite/27_io/basic_ostream/inserters_arithmetic/
611 wchar_t/3.cc: Likewise.
612 * testsuite/27_io/basic_ostream/inserters_arithmetic/
613 wchar_t/4.cc: Likewise.
614 * testsuite/27_io/basic_ostream/inserters_arithmetic/
615 wchar_t/4402.cc: Likewise.
616 * testsuite/27_io/basic_ostream/inserters_arithmetic/
617 wchar_t/5.cc: Likewise.
618 * testsuite/27_io/basic_ostream/inserters_arithmetic/
619 wchar_t/6.cc: Likewise.
620 * testsuite/27_io/basic_ostream/inserters_arithmetic/
621 wchar_t/9555-oa.cc: Likewise.
622 * testsuite/27_io/basic_ostream/inserters_arithmetic/
623 wchar_t/exceptions_badbit_throw.cc: Likewise.
624 * testsuite/27_io/basic_ostream/inserters_arithmetic/
625 wchar_t/exceptions_failbit_throw.cc: Likewise.
626 * testsuite/27_io/basic_ostream/inserters_character/
627 wchar_t/1.cc: Likewise.
628 * testsuite/27_io/basic_ostream/inserters_character/
629 wchar_t/2.cc: Likewise.
630 * testsuite/27_io/basic_ostream/inserters_character/
631 wchar_t/3.cc: Likewise.
632 * testsuite/27_io/basic_ostream/inserters_character/
633 wchar_t/4.cc: Likewise.
634 * testsuite/27_io/basic_ostream/inserters_character/
635 wchar_t/5.cc: Likewise.
636 * testsuite/27_io/basic_ostream/inserters_character/
637 wchar_t/6.cc: Likewise.
638 * testsuite/27_io/basic_ostream/inserters_character/
639 wchar_t/9555-oc.cc: Likewise.
640 * testsuite/27_io/basic_ostream/inserters_other/
641 wchar_t/1.cc: Likewise.
642 * testsuite/27_io/basic_ostream/inserters_other/
643 wchar_t/2.cc: Likewise.
644 * testsuite/27_io/basic_ostream/inserters_other/
645 wchar_t/3.cc: Likewise.
646 * testsuite/27_io/basic_ostream/inserters_other/
647 wchar_t/4.cc: Likewise.
648 * testsuite/27_io/basic_ostream/inserters_other/
649 wchar_t/5.cc: Likewise.
650 * testsuite/27_io/basic_ostream/inserters_other/
651 wchar_t/9318-out.cc: Likewise.
652 * testsuite/27_io/basic_ostream/inserters_other/
653 wchar_t/9424-out.cc: Likewise.
654 * testsuite/27_io/basic_ostream/inserters_other/
655 wchar_t/9555-oo.cc: Likewise.
656 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
657 error_failbit.cc: Likewise.
658 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
659 exceptions_badbit_throw.cc: Likewise.
660 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
661 exceptions_failbit_throw.cc: Likewise.
662 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
663 exceptions_null.cc: Likewise.
664 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
665 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
666 * testsuite/27_io/basic_ostream/seekp/char/
667 exceptions_badbit_throw.cc: Likewise.
668 * testsuite/27_io/basic_ostream/seekp/wchar_t/
669 2346-fstream.cc: Likewise.
670 * testsuite/27_io/basic_ostream/seekp/wchar_t/
671 2346-sstream.cc: Likewise.
672 * testsuite/27_io/basic_ostream/seekp/wchar_t/
673 exceptions_badbit_throw.cc: Likewise.
674 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
675 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
676 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
677 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
678 * testsuite/27_io/basic_ostream/tellp/wchar_t/
679 exceptions_badbit_throw.cc: Likewise.
680 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
682 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
683 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
684 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
685 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
686 * testsuite/data/wostream_seeks-1.tst: Likewise.
688 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
689 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
690 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
691 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
692 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
693 * testsuite/27_io/basic_ostream/flush/char/
694 exceptions_badbit_throw.cc: Likewise.
695 * testsuite/27_io/basic_ostream/inserters_arithmetic/
697 * testsuite/27_io/basic_ostream/inserters_arithmetic/
699 * testsuite/27_io/basic_ostream/inserters_arithmetic/
701 * testsuite/27_io/basic_ostream/inserters_arithmetic/
702 char/4402.cc: Likewise.
703 * testsuite/27_io/basic_ostream/inserters_arithmetic/
705 * testsuite/27_io/basic_ostream/inserters_arithmetic/
707 * testsuite/27_io/basic_ostream/inserters_character/
709 * testsuite/27_io/basic_ostream/inserters_other/char/
711 * testsuite/27_io/basic_ostream/inserters_other/char/
713 * testsuite/27_io/basic_ostream/inserters_other/char/
714 error_failbit.cc: Likewise.
715 * testsuite/27_io/basic_ostream/inserters_other/char/
716 exceptions_badbit_throw.cc: Likewise.
717 * testsuite/27_io/basic_ostream/inserters_other/char/
718 exceptions_failbit_throw.cc: Likewise.
719 * testsuite/27_io/basic_ostream/inserters_other/char/
720 exceptions_null.cc: Likewise.
721 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
722 * testsuite/27_io/basic_ostream/seekp/char/
723 exceptions_badbit_throw.cc: Likewise.
724 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
725 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
727 2005-01-23 Paolo Carlini <pcarlini@suse.de>
729 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
732 2005-01-23 Paolo Carlini <pcarlini@suse.de>
733 Andreas Jaeger <aj@suse.de>
736 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
738 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
740 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
741 lseek on fifo to succeed. Thus, check for consistent report.
743 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
746 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
748 (_List_const_iterator): Likewise.
749 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
750 (_Rb_tree_const_iterator): Likewise.
752 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
753 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
755 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
757 * testsuite/Makefile.am (check-compile): New.
758 * testsuite/Makefile.in: Regenerate.
759 * scripts/check_compile_time: New.
760 * scripts/check_performance: Tweaks.
762 2005-01-19 Paolo Carlini <pcarlini@suse.de>
765 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
766 Fix typo in the return type.
767 * testsuite/tr1/6_containers/utility/19535.cc: New.
769 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
771 * include/ext/array_allocator.h (array_allocator<>::allocate):
772 Avoid __used. Use __array_used instead.
773 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
775 2005-01-18 David Edelsohn <edelsohn@gnu.org>
777 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
778 (_XOPEN_SOURCE_EXTENDED): Delete.
780 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
782 * testsuite/testsuite_performance.h (time_counter::start):
784 (clear_counters): Inline.
785 (start_counters): Inline.
786 (stop_counters): Inline.
787 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
788 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
790 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
792 2005-01-17 Paolo Carlini <pcarlini@suse.de>
795 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
796 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
797 Obtain amortized constant complexity if t is inserted right after
798 p - not before p - as per Table 69.
799 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
801 * testsuite/23_containers/multiset/insert/2.cc: New.
802 * testsuite/23_containers/set/insert/1.cc: Likewise.
804 * testsuite/performance/23_containers/set_create_from_sorted.cc:
807 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
809 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
811 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
812 * testsuite/ext/rope/4.cc: Add.
814 2005-01-16 Lorenz Minder <lminder@gmx.net>
815 Paolo Carlini <pcarlini@suse.de>
818 * include/c_std/std_cmath.h: Define the C99 classification facilities
819 directly inside namespace std:.
820 * testsuite/26_numerics/cmath/19322.cc: New.
822 2005-01-15 David Edelsohn <edelsohn@gnu.org>
824 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
826 2005-01-14 Paolo Carlini <pcarlini@suse.de>
829 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
830 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
831 respectively) with hint (end()).
832 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
834 2005-01-13 Geoffrey Keating <geoffk@apple.com>
836 * configure.host (darwin): On darwin8 or later, no need to build
837 libstdc++ with -flat_namespace.
839 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
841 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
843 2005-01-13 Paolo Carlini <pcarlini@suse.de>
845 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
846 Re-enable commented-out test for double type.
848 2005-01-11 Paolo Carlini <pcarlini@suse.de>
849 Benjamin Kosnik <bkoz@redhat.com>
851 * src/istream.cc (basic_istream<char>::ignore(streamsize),
852 basic_istream<char>::ignore(streamsize, int_type),
853 basic_istream<wchar_t>::ignore(streamsize),
854 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
855 more than numeric_limits<streamsize>::max() chars are skipped,
856 set _M_gcount = max().
857 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
858 int_type)): Likewise; keep simple, don't forward.
860 2005-01-11 Paolo Carlini <pcarlini@suse.de>
862 * src/istream.cc (basic_istream<char>::ignore(streamsize),
863 basic_istream<char>::ignore(streamsize, int_type),
864 basic_istream<wchar_t>::ignore(streamsize),
865 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
866 2005-01-05 change: actually, the previous behavior is conforming
867 and consistent with that of get(char_type*, streamsize, char_type),
868 albeit slightly different from that of 3.3/3.4 in a corner case
869 due to the use of snextc.
870 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
871 int_type)): Likewise.
872 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
873 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
875 2005-01-11 Paolo Carlini <pcarlini@suse.de>
877 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
878 * testsuite/tr1/4_metaprogramming/other_transformations/
879 aligned_storage/aligned_storage.cc: New.
880 * testsuite/tr1/4_metaprogramming/other_transformations/
881 aligned_storage/typedefs.cc: Likewise.
882 * testsuite/tr1/4_metaprogramming/type_properties/
883 alignment_of/alignment_of.cc: Likewise.
884 * testsuite/tr1/4_metaprogramming/type_properties/
885 alignment_of/typedefs.cc: Likewise.
887 2005-01-10 Paolo Carlini <pcarlini@suse.de>
889 * Makefile.in: Regenerate.
890 * libmath/Makefile.in: Likewise.
891 * libsupc++/Makefile.in: Likewise.
892 * po/Makefile.in: Likewise.
893 * src/Makefile.in: Likewise.
894 * testsuite/Makefile.in: Likewise.
896 2005-01-10 Paolo Carlini <pcarlini@suse.de>
898 * include/bits/stl_algobase.h (lexicographical_compare):
901 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
903 * acinclude.m4: Remove CCODECVT_H.
904 * configure: Regenerate.
905 * include/Makefile.am (host_headers_extra): Move to...
906 (ext_headers): ...here.
907 * include/Makefile.in: Regenerate.
908 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
910 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
911 * include/ext/codecvt_specializations.h: ...here. Remove
912 _GLIBCXX_USE___ENC_TRAITS.
913 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
914 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
916 * config/locale/generic/codecvt_specializations.h: Remove.
917 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
918 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
920 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
922 * include/bits/fstream.tcc: Remove unnecessary qualifications for
923 uglified data members of basic_filebuf, including _M_buf,
924 _M_buf_size, _M_mode, _M_pback_init.
925 * include/std/std_fstream.h: Same.
927 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
929 * testsuite/testsuite_hooks.h:
930 (copy_constructor::mark_call): Use __throw_runtime_error.
931 (assignment_operator::mark_call): Same.
932 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
933 (locale_data): Remove, just use runtime_error directly.
934 (environment_variable): Same.
936 (run_tests_wrapped_locale): Use __throw_runtime_error.
937 (run_tests_wrapped_env): Same.
938 (semaphore::semaphore): Same.
939 (semaphore::signal): Same.
940 (semaphore::wait): Same.
941 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
942 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
943 (create_symbols): Use __throw_runtime_error.
944 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
946 2005-01-05 Mark Mitchell <mark@codesourcery.com>
948 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
951 2005-01-05 Paolo Carlini <pcarlini@suse.de>
953 * src/istream.cc (basic_istream<char>::ignore(streamsize),
954 basic_istream<char>::ignore(streamsize, int_type),
955 basic_istream<wchar_t>::ignore(streamsize),
956 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
957 first check _M_gcount vs __n.
958 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
959 int_type)): Likewise.
960 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
961 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
963 2005-01-03 Mark Mitchell <mark@codesourcery.com>
965 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
966 instead of just throw.
968 * testsuite/testsuite_hooks.cc: Update coypright and follow style
970 * testsuite/testsuite_hooks.h: Likewise.
971 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
972 semaphores, not sleep.
973 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
974 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
975 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
976 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
978 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
979 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
980 * testsuite/27_io/objects/char/7.cc: Likewise.
981 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
982 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
983 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
985 * configure.ac: Check for sys/ipc.h and sys/sem.h.
986 * config.h.in: Regenerated.
987 * configure: Likewise.
988 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
990 (sys/types.h): Include.
991 (sys/ipc.h): Likewise.
992 (sys/sem.h): Likewise.
993 (__gnu_test::semun): New type.
994 (__gnu_test::semaphore::sempaphore): New function.
995 (__gnu_test::semaphore::~semaphore): Likewise.
996 (__gnu_test::semaphore::wait): Likewise.
997 (__gnu_test::semaphore::signal): Likewise.
998 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
999 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1000 semaphores, not sleep.
1001 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1002 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1003 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1004 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1006 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1007 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1008 * testsuite/27_io/objects/char/7.cc: Likewise.
1009 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1010 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1011 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1013 2005-01-03 Paolo Carlini <pcarlini@suse.de>
1015 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1016 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
1017 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
1018 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
1019 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1020 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
1022 2005-01-02 Paolo Carlini <pcarlini@suse.de>
1024 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1025 basic_istream<char>::ignore(streamsize, int_type),
1026 basic_istream<wchar_t>::ignore(streamsize),
1027 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
1028 _M_gcount overflows.
1029 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1030 int_type)): Likewise; use snextc in the main loop, consistently
1031 with the specializations above.
1033 2005-01-02 Chris Jefferson <chris@bubblescope.net>
1035 * include/bits/stl_algobase.h (mismatch): Correct concept check.
1037 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1039 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
1040 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
1041 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
1043 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1045 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
1046 null-terminate array1 at the outset.
1047 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: