1 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3 * include/std/std_fstream.h (basic_fstream<>::open,
4 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
5 resolution of DR 409 [Ready], call clear() on success.
6 * docs/html/ext/howto.html: Add an entry for DR 409.
7 * docs/html/faq/index.html (4_4): Clarify the new behavior.
8 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
9 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
11 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
13 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
14 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
15 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
16 testsuite/22_locale/collate/hash/wchar_t/2.cc,
17 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
18 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
19 testsuite/22_locale/collate/transform/wchar_t/2.cc,
20 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
21 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
22 XFAIL on *-*-hpux11.23.
24 2005-03-04 Paolo Carlini <pcarlini@suse.de>
26 * include/tr1/type_traits: Add is_base_of.
27 * testsuite/tr1/4_metaprogramming/relationships_between_types/
28 is_base_of/is_base_of.cc: New.
29 * testsuite/tr1/4_metaprogramming/relationships_between_types/
30 is_base_of/typedefs.cc: Likewise.
32 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
34 * include/tr1/functional: Convert relative path.
36 * docs/doxygen/user.cfg.in: Add tr1 includes.
38 2005-03-03 Paolo Carlini <pcarlini@suse.de>
40 * include/tr1/type_traits: Implemenet is_polymorphic.
41 (is_empty): Minor tweaks.
42 * testsuite/testsuite_tr1.h: Add test types.
43 * testsuite/tr1/4_metaprogramming/type_properties/
44 is_polymorphic/is_polymorphic.cc: New.
45 * testsuite/tr1/4_metaprogramming/type_properties/
46 is_polymorphic/typedefs.cc: Likewise.
47 * testsuite/tr1/4_metaprogramming/composite_type_traits/
48 is_union_or_class/is_union_or_class.cc: Add tests.
50 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
52 * include/tr1/functional (_Has_result_type): Cleanup.
53 (_Result_of_impl): Handle member data pointers correctly.
54 (reference_wrapper): Support invocation.
55 Move repetition code into new file include/tr1/repeat.h.
56 * include/tr1/functional_iterate.h (reference_wrapper): Support
57 invocation. Cleanup long lines.
58 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
60 * include/tr1/repeat.h: Code repetition header.
61 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
62 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
63 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
64 New test of reference_wrapper invocation.
65 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
66 New test of reference_wrapper typedefs and base classes.
67 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
70 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
72 * include/tr1/function (result_of): New class template.
73 * include/tr1/functional/iterator.h: Implementation of TR1
75 * testsuite/tr1/3_function_objects/result_of.cc: New test
77 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
79 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
81 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
83 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
84 cons/auto_ptr_neg.cc: Correct line numbers.
86 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
88 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
90 * include/tr1/memory: Replace checked_deleter with (unchecked)
91 _Sp_deleter as GCC warns about delete on incomplete types anyway.
93 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
95 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
97 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
100 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
101 'Q' constraint, not 'm'.
103 2005-02-26 Earl Chew <earl_chew@agilent.com>
104 Christopher Jefferson <chris@bubblescope.net>
106 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
107 memory if _M_key_compare throws.
109 2005-02-25 Paolo Carlini <pcarlini@suse.de>
111 * include/tr1/type_traits: Add the trivial is_union and is_class;
112 add the __is_union_or_class extension.
113 (is_enum, is_empty): Use the latter.
114 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
115 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
117 * testsuite/tr1/4_metaprogramming/composite_type_traits/
118 is_union_or_class/is_union_or_class.cc: New.
119 * testsuite/tr1/4_metaprogramming/composite_type_traits/
120 is_union_or_class/typedefs.cc: Likewise.
122 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
124 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
125 wchar_t use with _GLIBCXX_USE_WCHAR_T.
127 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
129 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
130 _GLIBCXX_USE_C99_COMPLEX.
131 * acinclude.m4: Same.
133 * configure: Regenerate.
136 2005-02-24 Paolo Carlini <pcarlini@suse.de>
138 * include/tr1/functional (mem_fn): Avoid _T, badname on
141 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
143 * include/tr1/functional (function): New class template.
144 (mem_fn): New function template.
145 Implementations of TR1 function and mem_fn facilities.
146 * include/tr1/functional_iterate.h: Implementations of TR1
147 function and mem_fn facilities.
148 * testsuite/tr1/3_function_objects/function/1.cc: New
149 test of std::tr1::function.
150 * testsuite/tr1/3_function_objects/function/2.cc: New
151 test of std::tr1::function.
152 * testsuite/tr1/3_function_objects/function/3.cc: New
153 test of std::tr1::function.
154 * testsuite/tr1/3_function_objects/function/4.cc: New
155 test of std::tr1::function.
156 * testsuite/tr1/3_function_objects/function/5.cc: New
157 test of std::tr1::function.
158 * testsuite/tr1/3_function_objects/function/6.cc: New
159 test of std::tr1::function.
160 * testsuite/tr1/3_function_objects/function/7.cc: New
161 test of std::tr1::function.
162 * testsuite/tr1/3_function_objects/function/8.cc: New
163 test of std::tr1::function.
164 * testsuite/tr1/3_function_objects/function/9.cc: New
165 test of std::tr1::function.
166 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
169 2005-02-23 Paolo Carlini <pcarlini@suse.de>
171 * include/tr1/type_traits: Implement is_convertible.
172 * testsuite/tr1/4_metaprogramming/relationships_between_types/
173 is_convertible/is_convertible.cc: New.
174 * testsuite/tr1/4_metaprogramming/relationships_between_types/
175 is_convertible/typedefs.cc: Likewise.
176 * testsuite/testsuite_tr1.h: Add class DerivedType.
178 * include/tr1/type_traits (is_function): Don't mistake references
179 to function types for function types.
180 * testsuite/tr1/4_metaprogramming/primary_type_categories/
181 is_function/is_function.cc: Add testcase.
183 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
185 * scripts/check_performance: Tweaks.
187 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
188 output file with extension that clean rules can find.
190 2005-02-22 Richard Henderson <rth@redhat.com>
193 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
194 decrement of uncaughtExceptions for rethrow.
196 2005-02-22 Paolo Carlini <pcarlini@suse.de>
198 * include/tr1/functional: Fix License to GPL with exception.
199 * include/tr1/hashtable: Likewise.
200 * include/tr1/tuple: Likewise.
201 * include/tr1/type_traits: Likewise.
202 * include/tr1/type_traits_fwd.h: Likewise.
203 * include/tr1/unordered_map: Likewise.
204 * include/tr1/unordered_set: Likewise.
205 * include/tr1/utility: Likewise.
207 2005-02-22 Paolo Carlini <pcarlini@suse.de>
209 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
210 auto_ptr_neg.cc: Add missing dg-do compile directive.
211 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
212 auto_ptr_rvalue_neg.cc: Likewise.
213 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
214 shared_ptr_neg.cc: Likewise.
215 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
216 auto_ptr_neg.cc: Likewise.
217 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
218 reset_neg.cc: Likewise.
219 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
220 swap_neg.cc: Likewise.
222 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
224 * include/Makefile.am, include/Makefile.in: Fix accidental extra
225 change from previous commit.
227 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
229 * include/tr1/memory: New file.
230 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
231 * testsuite/tr1/2_general_utilities/memory/
232 enable_shared_from_this/not_shared.cc: New test.
233 * testsuite/tr1/2_general_utilities/memory/
234 enable_shared_from_this/not_shared2.cc: New test.
235 * testsuite/tr1/2_general_utilities/memory/
236 enable_shared_from_this/not_shared3.cc: New test.
237 * testsuite/tr1/2_general_utilities/memory/
238 enable_shared_from_this/shared.cc: New test.
239 * testsuite/tr1/2_general_utilities/memory/
240 enable_shared_from_this/still_shared.cc: New test.
241 * testsuite/tr1/2_general_utilities/memory/
242 shared_ptr/assign/assign.cc: New test.
243 * testsuite/tr1/2_general_utilities/memory/
244 shared_ptr/assign/auto_ptr.cc: New test.
245 * testsuite/tr1/2_general_utilities/memory/
246 shared_ptr/assign/auto_ptr_neg.cc: New test.
247 * testsuite/tr1/2_general_utilities/memory/
248 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
249 * testsuite/tr1/2_general_utilities/memory/
250 shared_ptr/assign/shared_ptr.cc: New test.
251 * testsuite/tr1/2_general_utilities/memory/
252 shared_ptr/assign/shared_ptr_neg.cc: New test.
253 * testsuite/tr1/2_general_utilities/memory/
254 shared_ptr/comparison/cmp.cc: New test.
255 * testsuite/tr1/2_general_utilities/memory/
256 shared_ptr/cons/auto_ptr.cc: New test.
257 * testsuite/tr1/2_general_utilities/memory/
258 shared_ptr/cons/auto_ptr_neg.cc: New test.
259 * testsuite/tr1/2_general_utilities/memory/
260 shared_ptr/cons/copy.cc: New test.
261 * testsuite/tr1/2_general_utilities/memory/
262 shared_ptr/cons/default.cc: New test.
263 * testsuite/tr1/2_general_utilities/memory/
264 shared_ptr/cons/pointer.cc: New test.
265 * testsuite/tr1/2_general_utilities/memory/
266 shared_ptr/cons/weak_ptr.cc: New test.
267 * testsuite/tr1/2_general_utilities/memory/
268 shared_ptr/cons/weak_ptr_expired.cc: New test.
269 * testsuite/tr1/2_general_utilities/memory/
270 shared_ptr/dest/dest.cc: New test.
271 * testsuite/tr1/2_general_utilities/memory/
272 shared_ptr/misc/io.cc: New test.
273 * testsuite/tr1/2_general_utilities/memory/
274 shared_ptr/misc/swap.cc: New test.
275 * testsuite/tr1/2_general_utilities/memory/
276 shared_ptr/modifiers/reset.cc: New test.
277 * testsuite/tr1/2_general_utilities/memory/
278 shared_ptr/modifiers/reset_neg.cc: New test.
279 * testsuite/tr1/2_general_utilities/memory/
280 shared_ptr/modifiers/swap.cc: New test.
281 * testsuite/tr1/2_general_utilities/memory/
282 shared_ptr/modifiers/swap_neg.cc: New test.
283 * testsuite/tr1/2_general_utilities/memory/
284 shared_ptr/observers/bool_conv.cc: New test.
285 * testsuite/tr1/2_general_utilities/memory/
286 shared_ptr/observers/get.cc: New test.
287 * testsuite/tr1/2_general_utilities/memory/
288 shared_ptr/observers/unique.cc: New test.
289 * testsuite/tr1/2_general_utilities/memory/
290 shared_ptr/observers/use_count.cc: New test.
292 2005-02-21 Paolo Carlini <pcarlini@suse.de>
294 * include/tr1/type_traits (is_member_function_pointer):
295 Remove ugly workaround for c++/19076.
297 2005-02-21 Paolo Carlini <pcarlini@suse.de>
299 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
300 check for this == &_S_empty_rep, it's always false, here.
302 2005-02-19 Matt Austern <austern@gmail.com>
304 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
305 hash<T>::operator() a const member function for T a fundamental type
306 * include/tr1/hashtable (extract1st::operator()): Declare const.
307 (hash_code_base): Declare all member functions const
308 (hashtable::find): fix call to this->bucket_count()
309 (hashtable::count): Likewise.
310 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
311 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
312 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
313 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
314 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
316 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
319 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
320 _GLIBCXX_USE_WCHAR_T.
322 2005-02-18 Richard Henderson <rth@redhat.com>
325 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
326 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
327 uncaughtExceptions here instead of ...
328 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
329 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
330 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
331 (__cxa_get_exception_ptr): New.
332 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
334 2005-02-18 Matt Austern <austern@apple.com>
336 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
337 test case to use assignment instead of ==
338 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
339 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
340 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
341 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
343 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
345 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
346 on Solaris 2.6 and below.
347 * testsuite/thread/pthread2.cc: Likewise.
348 * testsuite/thread/pthread3.cc: Likewise.
349 * testsuite/thread/pthread4.cc: Likewise.
350 * testsuite/thread/pthread5.cc: Likewise.
351 * testsuite/thread/pthread6.cc: Likewise.
352 * testsuite/thread/pthread7-rope.cc: Likewise.
354 2005-02-17 Matt Austern <austern@apple.com>
356 * include/tr1/functional (hash): New function object.
357 * include/tr1/hashtable: New file.
358 * include/tr1/unordered_set: New file.
359 * include/tr1/unordered_map: New file.
360 * include/Makefile.am: Add three new TR1 headers.
361 * include/Makefile.in: Likewise.
362 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
363 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
364 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
365 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
366 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
367 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
368 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
369 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
370 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
371 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
373 2005-02-16 Paolo Carlini <pcarlini@suse.de>
375 * testsuite/23_containers/set/modifiers/16728.cc:
376 Remove redundant include <testsuite_performance.h>.
378 2005-02-16 Paolo Carlini <pcarlini@suse.de>
381 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
382 at line #66 to not access str_lit01 beyond its end.
383 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
385 2005-02-15 Paolo Carlini <pcarlini@suse.de>
386 Jon Grimm <jgrimm2@us.ibm.com>
389 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
390 Fix the logic setting _M_narrow_ok: first check whether the
391 transformation is trivial with a dflt == 0, then deal with the
392 special case of zero.
393 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
395 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
396 Tweak consistently to use memcmp; minor formatting fixes.
398 2005-02-15 Jakub Jelinek <jakub@redhat.com>
401 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
403 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
405 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
406 Paolo Carlini <pcarlini@suse.de>
409 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
410 for integer overloads.
412 * testsuite/26_numerics/cmath/powi.cc: New.
414 2005-02-11 Janis Johnson <janis187@us.ibm.com>
416 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
417 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
418 * testsuite/26_numerics/complex/pow.cc: Ditto.
420 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
421 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
422 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
423 * testsuite/26_numerics/complex/pow.cc: Ditto.
425 2005-02-09 Mike Stump <mrs@apple.com>
427 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
429 2005-02-09 Janis Johnson <janis187@us.ibm.com>
431 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
433 2005-02-08 Mark Mitchell <mark@codesourcery.com>
435 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
437 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
439 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
440 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
443 2005-02-02 Brad Spencer <spencer@infointeractive.com>
445 * debug.html: Fix broken tags.
446 * documentation.html: Same.
448 2005-02-02 Andreas Jaeger <aj@suse.de>
450 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
452 * testsuite/Makefile.am: Likewise.
453 * testsuite/Makefile.in: Likewise.
455 2005-02-01 Paolo Carlini <pcarlini@suse.de>
457 * include/bits/cpp_type_traits.h: Rename _M_type fields to
458 __value, except for __enable_if, _M_type -> __type, consistently
459 with the other traits.
460 * include/bits/stl_algobase.h: Tweak consistently.
461 * include/bits/stl_tree.h: Likewise.
462 * include/bits/valarray_array.h: Likewise.
463 * include/c_std/std_cmath.h: Likewise.
464 * include/debug/safe_iterator.h: Likewise.
465 * include/std/std_complex.h: Likewise.
467 2005-01-31 Brad Spencer <spencer@infointeractive.com>
469 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
470 * configure: Regenerated.
472 2005-01-31 Mark Mitchell <mark@codesourcery.com>
474 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
476 (numeric_limits<double>::has_denorm): Likewise.
477 (numeric_limits<long double>::has_denorm): Likewise.
479 2005-01-31 Paolo Carlini <pcarlini@suse.de>
480 Gabriel Dos Reis <gdr@integrable-solutions.net>
482 * include/bits/cpp_type_traits.h: Add types to the structs thus
483 making type_traits.h redundant; exploit new __truth_type and
485 * include/bits/type_traits.h: Remove.
486 * include/Makefile.am: Update.
487 * include/Makefile.in: Regenerate.
488 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
489 * include/bits/basic_string.h (replace(iterator, iterator,
490 _InputIterator, _InputIterator), _S_construct(_InIterator,
491 _InIterator, const _Alloc&)): Use __is_integer instead.
492 * include/bits/stl_bvector.h (vector(_InputIterator,
493 _InputIterator, const allocator_type&), assign(_InputIterator,
494 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
496 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
497 _ForwardIterator)): Use __is_scalar.
498 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
499 const allocator_type&), assign(_InputIterator, _InputIterator),
500 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
501 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
502 insert(iterator, _InputIterator, _InputIterator)): Likewise.
503 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
504 _ForwardIterator)): Use __is_scalar.
505 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
506 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
507 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
508 _Size, const _Tp&)): Likewise.
509 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
510 const allocator_type&), assign(_InputIterator, _InputIterator),
511 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
512 * include/debug/debug.h (__valid_range(const _InputIterator&,
513 const _InputIterator&)): Use __is_integer.
514 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
515 * include/std/std_string.h: Include cpp_type_traits.h instead.
517 2005-01-30 Paolo Carlini <pcarlini@suse.de>
520 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
521 LC_NUMERIC, and only when actually != "C".
523 2005-01-28 Paolo Carlini <pcarlini@suse.de>
525 * include/tr1/type_traits (is_function): Minor consistency tweaks.
527 2005-01-28 Geoffrey Keating <geoffk@apple.com>
529 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
530 for the compiler. Don't set cxxflags.
531 (v3_target_compile): Search for libv3test.a relative to $objdir.
532 (lsearch_all_inline): New.
533 (lsearch_all_inline_not): New.
534 (v3-list-tests): Rewrite to not need generated files.
535 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
536 (IGNORE_THREAD): New.
537 (TESTS_TO_IGNORE): New.
538 (site.exp): Set tests_to_ignore, cxxflags.
539 * aclocal.m4: Regenerate.
540 * Makefile.in: Regenerate.
541 * libmath/Makefile.in: Likewise.
542 * libsupc++/Makefile.in: Likewise.
543 * po/Makefile.in: Likewise.
544 * src/Makefile.in: Likewise.
545 * testsuite/Makefile.in: Likewise.
547 2005-01-28 Paolo Carlini <pcarlini@suse.de>
549 * include/tr1/type_traits: Implement is_empty.
550 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
552 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
553 typedefs.cc: Likewise.
555 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
557 2005-01-28 Paolo Carlini <pcarlini@suse.de>
559 * include/tr1/type_traits: Implement is_abstract, by exploiting the
560 resolution of DR core/337.
561 * testsuite/testsuite_tr1.h: Add AbstractClass.
562 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
564 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
565 typedefs.cc: Likewise.
567 * include/tr1/type_traits (is_function): Rewrite, use the conversion
568 F& -> F* instead, thus avoiding problems with abstract classes.
569 * testsuite/tr1/4_metaprogramming/primary_type_categories/
570 is_function/is_function.cc: Add a test for tricky AbstractClass.
572 2005-01-26 Paolo Carlini <pcarlini@suse.de>
574 * include/ext/mt_allocator.h
575 (struct __per_type_pool_policy<,, false>::_S_get_pool,
576 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
577 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
578 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
579 reduce to 64 the multiplier for _M_max_bytes (safer wrt
580 _Binmap_type being a short); trivial reformattings.
581 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
583 2005-01-26 Paolo Carlini <pcarlini@suse.de>
585 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
586 to the final test for enable_c99, thus robustifying it; remove
587 duplicate final test on ac_99_math.
588 * configure: Regenerate.
590 * include/std/std_complex.h: Remove usages of the dead
591 _GLIBCXX_BUGGY_COMPLEX macro.
593 * testsuite/26_numerics/cmath/19322.cc: Protect with
594 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
595 since only C99 math facilities are involved.
596 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
599 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
601 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
602 instead of generic. Change autoconf report to "darwin or freebsd".
603 * configure: Regenerate.
604 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
605 (ctype<wchar_t>::do_scan_is): Likewise.
606 (ctype<wchar_t>::do_scan_not): Likewise.
608 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
610 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
611 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
612 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
613 * config.h.in: Regenerate.
614 * configure: Regenerate.
615 * include/std/std_complex.h: Protect complex builtins with
616 _GLIBCXX_USE_C99_COMPLEX_MATH.
618 2005-01-24 Paolo Carlini <pcarlini@suse.de>
620 * include/tr1/type_traits: Implement is_signed and is_unsigned.
621 * testsuite/tr1/4_metaprogramming/type_properties/
622 is_signed/is_signed.cc: New.
623 * testsuite/tr1/4_metaprogramming/type_properties/
624 is_signed/typedefs.cc: Likewise.
625 * testsuite/tr1/4_metaprogramming/type_properties/
626 is_unsigned/is_unsigned.cc: Likewise.
627 * testsuite/tr1/4_metaprogramming/type_properties/
628 is_unsigned/typedefs.cc: Likewise.
630 2005-01-23 Paolo Carlini <pcarlini@suse.de>
632 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
634 2005-01-23 Paolo Carlini <pcarlini@suse.de>
636 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
637 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
638 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
639 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
640 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
641 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
642 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
643 * testsuite/27_io/basic_ostream/flush/wchar_t/
644 exceptions_badbit_throw.cc: Likewise.
645 * testsuite/27_io/basic_ostream/inserters_arithmetic/
646 wchar_t/2.cc: Likewise.
647 * testsuite/27_io/basic_ostream/inserters_arithmetic/
648 wchar_t/3.cc: Likewise.
649 * testsuite/27_io/basic_ostream/inserters_arithmetic/
650 wchar_t/4.cc: Likewise.
651 * testsuite/27_io/basic_ostream/inserters_arithmetic/
652 wchar_t/4402.cc: Likewise.
653 * testsuite/27_io/basic_ostream/inserters_arithmetic/
654 wchar_t/5.cc: Likewise.
655 * testsuite/27_io/basic_ostream/inserters_arithmetic/
656 wchar_t/6.cc: Likewise.
657 * testsuite/27_io/basic_ostream/inserters_arithmetic/
658 wchar_t/9555-oa.cc: Likewise.
659 * testsuite/27_io/basic_ostream/inserters_arithmetic/
660 wchar_t/exceptions_badbit_throw.cc: Likewise.
661 * testsuite/27_io/basic_ostream/inserters_arithmetic/
662 wchar_t/exceptions_failbit_throw.cc: Likewise.
663 * testsuite/27_io/basic_ostream/inserters_character/
664 wchar_t/1.cc: Likewise.
665 * testsuite/27_io/basic_ostream/inserters_character/
666 wchar_t/2.cc: Likewise.
667 * testsuite/27_io/basic_ostream/inserters_character/
668 wchar_t/3.cc: Likewise.
669 * testsuite/27_io/basic_ostream/inserters_character/
670 wchar_t/4.cc: Likewise.
671 * testsuite/27_io/basic_ostream/inserters_character/
672 wchar_t/5.cc: Likewise.
673 * testsuite/27_io/basic_ostream/inserters_character/
674 wchar_t/6.cc: Likewise.
675 * testsuite/27_io/basic_ostream/inserters_character/
676 wchar_t/9555-oc.cc: Likewise.
677 * testsuite/27_io/basic_ostream/inserters_other/
678 wchar_t/1.cc: Likewise.
679 * testsuite/27_io/basic_ostream/inserters_other/
680 wchar_t/2.cc: Likewise.
681 * testsuite/27_io/basic_ostream/inserters_other/
682 wchar_t/3.cc: Likewise.
683 * testsuite/27_io/basic_ostream/inserters_other/
684 wchar_t/4.cc: Likewise.
685 * testsuite/27_io/basic_ostream/inserters_other/
686 wchar_t/5.cc: Likewise.
687 * testsuite/27_io/basic_ostream/inserters_other/
688 wchar_t/9318-out.cc: Likewise.
689 * testsuite/27_io/basic_ostream/inserters_other/
690 wchar_t/9424-out.cc: Likewise.
691 * testsuite/27_io/basic_ostream/inserters_other/
692 wchar_t/9555-oo.cc: Likewise.
693 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
694 error_failbit.cc: Likewise.
695 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
696 exceptions_badbit_throw.cc: Likewise.
697 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
698 exceptions_failbit_throw.cc: Likewise.
699 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
700 exceptions_null.cc: Likewise.
701 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
702 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
703 * testsuite/27_io/basic_ostream/seekp/char/
704 exceptions_badbit_throw.cc: Likewise.
705 * testsuite/27_io/basic_ostream/seekp/wchar_t/
706 2346-fstream.cc: Likewise.
707 * testsuite/27_io/basic_ostream/seekp/wchar_t/
708 2346-sstream.cc: Likewise.
709 * testsuite/27_io/basic_ostream/seekp/wchar_t/
710 exceptions_badbit_throw.cc: Likewise.
711 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
712 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
713 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
714 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
715 * testsuite/27_io/basic_ostream/tellp/wchar_t/
716 exceptions_badbit_throw.cc: Likewise.
717 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
719 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
720 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
721 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
722 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
723 * testsuite/data/wostream_seeks-1.tst: Likewise.
725 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
726 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
727 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
728 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
729 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
730 * testsuite/27_io/basic_ostream/flush/char/
731 exceptions_badbit_throw.cc: Likewise.
732 * testsuite/27_io/basic_ostream/inserters_arithmetic/
734 * testsuite/27_io/basic_ostream/inserters_arithmetic/
736 * testsuite/27_io/basic_ostream/inserters_arithmetic/
738 * testsuite/27_io/basic_ostream/inserters_arithmetic/
739 char/4402.cc: Likewise.
740 * testsuite/27_io/basic_ostream/inserters_arithmetic/
742 * testsuite/27_io/basic_ostream/inserters_arithmetic/
744 * testsuite/27_io/basic_ostream/inserters_character/
746 * testsuite/27_io/basic_ostream/inserters_other/char/
748 * testsuite/27_io/basic_ostream/inserters_other/char/
750 * testsuite/27_io/basic_ostream/inserters_other/char/
751 error_failbit.cc: Likewise.
752 * testsuite/27_io/basic_ostream/inserters_other/char/
753 exceptions_badbit_throw.cc: Likewise.
754 * testsuite/27_io/basic_ostream/inserters_other/char/
755 exceptions_failbit_throw.cc: Likewise.
756 * testsuite/27_io/basic_ostream/inserters_other/char/
757 exceptions_null.cc: Likewise.
758 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
759 * testsuite/27_io/basic_ostream/seekp/char/
760 exceptions_badbit_throw.cc: Likewise.
761 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
762 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
764 2005-01-23 Paolo Carlini <pcarlini@suse.de>
766 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
769 2005-01-23 Paolo Carlini <pcarlini@suse.de>
770 Andreas Jaeger <aj@suse.de>
773 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
775 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
777 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
778 lseek on fifo to succeed. Thus, check for consistent report.
780 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
783 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
785 (_List_const_iterator): Likewise.
786 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
787 (_Rb_tree_const_iterator): Likewise.
789 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
790 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
792 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
794 * testsuite/Makefile.am (check-compile): New.
795 * testsuite/Makefile.in: Regenerate.
796 * scripts/check_compile_time: New.
797 * scripts/check_performance: Tweaks.
799 2005-01-19 Paolo Carlini <pcarlini@suse.de>
802 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
803 Fix typo in the return type.
804 * testsuite/tr1/6_containers/utility/19535.cc: New.
806 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
808 * include/ext/array_allocator.h (array_allocator<>::allocate):
809 Avoid __used. Use __array_used instead.
810 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
812 2005-01-18 David Edelsohn <edelsohn@gnu.org>
814 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
815 (_XOPEN_SOURCE_EXTENDED): Delete.
817 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
819 * testsuite/testsuite_performance.h (time_counter::start):
821 (clear_counters): Inline.
822 (start_counters): Inline.
823 (stop_counters): Inline.
824 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
825 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
827 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
829 2005-01-17 Paolo Carlini <pcarlini@suse.de>
832 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
833 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
834 Obtain amortized constant complexity if t is inserted right after
835 p - not before p - as per Table 69.
836 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
838 * testsuite/23_containers/multiset/insert/2.cc: New.
839 * testsuite/23_containers/set/insert/1.cc: Likewise.
841 * testsuite/performance/23_containers/set_create_from_sorted.cc:
844 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
846 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
848 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
849 * testsuite/ext/rope/4.cc: Add.
851 2005-01-16 Lorenz Minder <lminder@gmx.net>
852 Paolo Carlini <pcarlini@suse.de>
855 * include/c_std/std_cmath.h: Define the C99 classification facilities
856 directly inside namespace std:.
857 * testsuite/26_numerics/cmath/19322.cc: New.
859 2005-01-15 David Edelsohn <edelsohn@gnu.org>
861 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
863 2005-01-14 Paolo Carlini <pcarlini@suse.de>
866 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
867 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
868 respectively) with hint (end()).
869 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
871 2005-01-13 Geoffrey Keating <geoffk@apple.com>
873 * configure.host (darwin): On darwin8 or later, no need to build
874 libstdc++ with -flat_namespace.
876 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
878 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
880 2005-01-13 Paolo Carlini <pcarlini@suse.de>
882 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
883 Re-enable commented-out test for double type.
885 2005-01-11 Paolo Carlini <pcarlini@suse.de>
886 Benjamin Kosnik <bkoz@redhat.com>
888 * src/istream.cc (basic_istream<char>::ignore(streamsize),
889 basic_istream<char>::ignore(streamsize, int_type),
890 basic_istream<wchar_t>::ignore(streamsize),
891 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
892 more than numeric_limits<streamsize>::max() chars are skipped,
893 set _M_gcount = max().
894 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
895 int_type)): Likewise; keep simple, don't forward.
897 2005-01-11 Paolo Carlini <pcarlini@suse.de>
899 * src/istream.cc (basic_istream<char>::ignore(streamsize),
900 basic_istream<char>::ignore(streamsize, int_type),
901 basic_istream<wchar_t>::ignore(streamsize),
902 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
903 2005-01-05 change: actually, the previous behavior is conforming
904 and consistent with that of get(char_type*, streamsize, char_type),
905 albeit slightly different from that of 3.3/3.4 in a corner case
906 due to the use of snextc.
907 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
908 int_type)): Likewise.
909 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
910 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
912 2005-01-11 Paolo Carlini <pcarlini@suse.de>
914 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
915 * testsuite/tr1/4_metaprogramming/other_transformations/
916 aligned_storage/aligned_storage.cc: New.
917 * testsuite/tr1/4_metaprogramming/other_transformations/
918 aligned_storage/typedefs.cc: Likewise.
919 * testsuite/tr1/4_metaprogramming/type_properties/
920 alignment_of/alignment_of.cc: Likewise.
921 * testsuite/tr1/4_metaprogramming/type_properties/
922 alignment_of/typedefs.cc: Likewise.
924 2005-01-10 Paolo Carlini <pcarlini@suse.de>
926 * Makefile.in: Regenerate.
927 * libmath/Makefile.in: Likewise.
928 * libsupc++/Makefile.in: Likewise.
929 * po/Makefile.in: Likewise.
930 * src/Makefile.in: Likewise.
931 * testsuite/Makefile.in: Likewise.
933 2005-01-10 Paolo Carlini <pcarlini@suse.de>
935 * include/bits/stl_algobase.h (lexicographical_compare):
938 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
940 * acinclude.m4: Remove CCODECVT_H.
941 * configure: Regenerate.
942 * include/Makefile.am (host_headers_extra): Move to...
943 (ext_headers): ...here.
944 * include/Makefile.in: Regenerate.
945 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
947 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
948 * include/ext/codecvt_specializations.h: ...here. Remove
949 _GLIBCXX_USE___ENC_TRAITS.
950 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
951 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
953 * config/locale/generic/codecvt_specializations.h: Remove.
954 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
955 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
957 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
959 * include/bits/fstream.tcc: Remove unnecessary qualifications for
960 uglified data members of basic_filebuf, including _M_buf,
961 _M_buf_size, _M_mode, _M_pback_init.
962 * include/std/std_fstream.h: Same.
964 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
966 * testsuite/testsuite_hooks.h:
967 (copy_constructor::mark_call): Use __throw_runtime_error.
968 (assignment_operator::mark_call): Same.
969 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
970 (locale_data): Remove, just use runtime_error directly.
971 (environment_variable): Same.
973 (run_tests_wrapped_locale): Use __throw_runtime_error.
974 (run_tests_wrapped_env): Same.
975 (semaphore::semaphore): Same.
976 (semaphore::signal): Same.
977 (semaphore::wait): Same.
978 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
979 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
980 (create_symbols): Use __throw_runtime_error.
981 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
983 2005-01-05 Mark Mitchell <mark@codesourcery.com>
985 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
988 2005-01-05 Paolo Carlini <pcarlini@suse.de>
990 * src/istream.cc (basic_istream<char>::ignore(streamsize),
991 basic_istream<char>::ignore(streamsize, int_type),
992 basic_istream<wchar_t>::ignore(streamsize),
993 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
994 first check _M_gcount vs __n.
995 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
996 int_type)): Likewise.
997 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
998 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
1000 2005-01-03 Mark Mitchell <mark@codesourcery.com>
1002 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
1003 instead of just throw.
1005 * testsuite/testsuite_hooks.cc: Update coypright and follow style
1007 * testsuite/testsuite_hooks.h: Likewise.
1008 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1009 semaphores, not sleep.
1010 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1011 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1012 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1013 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1015 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1016 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1017 * testsuite/27_io/objects/char/7.cc: Likewise.
1018 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1019 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1020 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1022 * configure.ac: Check for sys/ipc.h and sys/sem.h.
1023 * config.h.in: Regenerated.
1024 * configure: Likewise.
1025 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
1027 (sys/types.h): Include.
1028 (sys/ipc.h): Likewise.
1029 (sys/sem.h): Likewise.
1030 (__gnu_test::semun): New type.
1031 (__gnu_test::semaphore::sempaphore): New function.
1032 (__gnu_test::semaphore::~semaphore): Likewise.
1033 (__gnu_test::semaphore::wait): Likewise.
1034 (__gnu_test::semaphore::signal): Likewise.
1035 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
1036 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1037 semaphores, not sleep.
1038 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1039 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1040 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1041 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1043 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1044 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1045 * testsuite/27_io/objects/char/7.cc: Likewise.
1046 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1047 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1048 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1050 2005-01-03 Paolo Carlini <pcarlini@suse.de>
1052 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1053 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
1054 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
1055 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
1056 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1057 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
1059 2005-01-02 Paolo Carlini <pcarlini@suse.de>
1061 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1062 basic_istream<char>::ignore(streamsize, int_type),
1063 basic_istream<wchar_t>::ignore(streamsize),
1064 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
1065 _M_gcount overflows.
1066 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1067 int_type)): Likewise; use snextc in the main loop, consistently
1068 with the specializations above.
1070 2005-01-02 Chris Jefferson <chris@bubblescope.net>
1072 * include/bits/stl_algobase.h (mismatch): Correct concept check.
1074 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1076 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
1077 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
1078 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
1080 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1082 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
1083 null-terminate array1 at the outset.
1084 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: