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