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