1 2009-01-04 Richard Guenther <rguenther@suse.de>
4 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
5 integer type for storage, arithmetic and comparisons.
6 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
8 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
11 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
12 _Fwd_list_const_iterator::_M_next): Fix return type.
14 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
16 * Revert last commit, reopen and suspend libstdc++/38678.
18 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
21 * include/std/istream (basic_istream<>::_M_read): New.
22 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
23 (basic_istream<>::read, basic_istream<>::readsome): Use it.
24 * include/std/ostream (basic_ostream<>::_M_write_): New.
25 (basic_ostream<>::_M_write): Adjust.
26 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
27 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
28 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
29 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
30 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
32 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
34 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
37 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
39 * doc/doxygen/stdheader.cc: Add cstdlib.
40 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
42 2008-12-21 Andrew Pinski <pinskia@gmail.com>
45 * configure: Regenerate.
47 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
50 * include/tr1_impl/functional (function<>::target,
51 function<>::target_type): Provide only when __GXX_RTTI is defined.
52 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
53 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
56 2008-12-19 Ben Elliston <bje@au.ibm.com>
58 * acinclude.m4: Guard a variable test against an empty string.
59 * configure: Regenerate.
61 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
63 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
64 Add xfail on all targets except darwin.
65 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
67 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
68 for xfailing on all targets except linux.
70 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
72 * configure: Regenerate.
74 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
76 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
77 Don't xfail test on darwin8 or later.
79 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
81 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
82 Don't xfail excessive errors on darwin8 or later.
84 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
86 * include/c_global/cstdatomic: Remove assert include.
87 * include/debug/debug.h: Consolidate __replacement_assert...
88 * include/parallel/base.h: Consolidate __replacement_assert...
89 * include/bits/c++config: ...here.
90 * include/bits/atomic_0.h: Use it.
91 * include/bits/atomic_2.h: Same.
92 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
93 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
95 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
97 * src/atomic.cc: Revert last change.
98 * include/bits/atomic_2.h: Move cassert include to...
99 * include/c_global/cstdatomic: ...here.
100 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
101 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
103 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
105 * src/Makefile.am: Remove -x c++ for atomic build rules.
106 * src/Makefile.in: Regenerate.
107 * src/atomic.cc: Move mutex include before cstdatomic.
109 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
112 * testsuite/util/regression/trait/assoc/type_trait.hpp
113 (regression_test_type_traits): Add const to pair_type_rebind.
115 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
117 * src/atomic.cc: Correct guards to match mutex.cc.
119 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
120 Richard Henderson <rth@redhat.com>
122 * include/c_global/cstdatomic: Update to N2798.
123 (atomic): Remove explicit constructors as per DR 845.
124 * include/bits/atomic_0.h: New. Switchable implementation.
125 * include/bits/atomic_2.h: New. Lock-free implementation.
126 * include/c_compatibility/stdatomic.h: Use foward headers.
127 * include/bits/atomicfwd_cxx.h: New.
128 * include/bits/atomicfwd_c.h: New.
129 * src/atomic.cc: Adjust.
130 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
131 unconditionally use default/deleted syntax.
132 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
133 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
134 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
135 * include/Makefile.in: Regenerate.
136 * configure: Regenerate.
137 * config.h.in: Regenerate.
138 * config/abi/pre/gnu.ver: Adjust exports.
140 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
141 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
142 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
143 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
144 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
145 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
146 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
147 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
148 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
149 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
150 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
151 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
152 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
153 * testsuite/29_atomics/atomic_integral/requirements/
154 standard_layout.cc: New.
155 * testsuite/29_atomics/atomic_integral/operators/
156 integral_assignment.cc: New.
157 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
158 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
159 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
160 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
161 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
162 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
163 * testsuite/29_atomics/atomic_integral/operators/
164 integral_conversion.cc: New.
165 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
166 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
167 * testsuite/29_atomics/atomic_flag/requirements/
168 standard_layout.cc: Same.
169 * testsuite/29_atomics/atomic_flag/
170 atomic_global_fence_compatibility.cc: Kill.
171 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
172 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
173 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
174 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
175 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
176 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
177 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
178 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
179 * testsuite/29_atomics/atomic/cons/copy_neg.cc
180 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
181 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
182 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
183 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
184 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
185 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
186 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
187 * testsuite/util/testsuite_common_types.h: ...here.
188 (atomic_integrals_no_bool): New.
189 (atomic_integrals): New.
190 (has_increment_operators, has_decrement_operators)
191 (direct_list_initializable, single_value_constructible)
192 (standard_layout, has_bitwise_operators, integral_convertable)
193 (integral_assignable): Add.
195 2008-12-11 Jakub Jelinek <jakub@redhat.com>
198 * testsuite/26_numerics/headers/cmath/37582.cc: New.
200 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
202 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
204 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
205 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
206 * configure: Regenerate.
208 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
210 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
212 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
215 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
216 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
219 2008-12-05 Tom Tromey <tromey@redhat.com>
221 * include/tr1_impl/functional (_Mu): Fix typo.
223 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
226 * include/bits/locale_facets_nonio.tcc (money_get<>::
227 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
228 string&)): Fix, reject decimal point when frac_digits <= 0.
229 * testsuite/22_locale/money_get/get/char/38399.cc: New.
230 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
231 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
232 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
234 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
237 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
239 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
240 * testsuite/22_locale/locale/cons/7.cc: Likewise.
242 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
245 * config/locale/gnu/numeric_members.cc (numpunct<char>::
246 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
247 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
248 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
249 _M_initialize_moneypunct, moneypunct<char, false>::
250 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
251 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
252 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
253 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
254 * testsuite/22_locale/locale/cons/38368.cc: New.
256 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
258 PR libstdc++/38365 (cont)
259 * src/localename.cc (locale::locale(const locale&, const locale&,
260 category)): Revert last changes.
261 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
262 Fix here instead; rework.
264 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
267 * src/localename.cc (locale::locale(const locale&, const locale&,
269 * testsuite/22_locale/locale/cons/38365.cc: New.
271 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
274 * include/std/iostream: Correct URL.
275 * include/std/streambuf: Same.
276 * include/std/bitset: Same.
277 * include/std/iosfwd: Same.
278 * include/std/fstream: Same.
279 * include/std/istream: Same.
280 * include/std/ostream: Same.
281 * include/std/sstream: Same.
282 * include/bits/basic_ios.h: Same.
283 * include/bits/stl_map.h: Same.
284 * include/bits/stl_set.h: Same.
285 * include/bits/stl_multimap.h: Same.
286 * include/bits/ios_base.h: Same.
287 * include/bits/stl_multiset.h: Same.
288 * include/bits/char_traits.h: Same.
289 * include/bits/stl_relops.h: Same.
290 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
291 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
293 2008-11-26 Janis Johnson <janis187@us.ibm.com>
296 * testsuite/lib/libstdc++.exp: Include new timeout library files.
297 (libstdc++_init): Define tool_timeout.
298 (dg-test): Override DejaGnu proc.
299 (v3_target_compile): Set timeout value from new proc.
300 (v3_target_compile_as_c): Ditto.
302 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
304 PR libstdc++/38244 (cont, debug bits)
305 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
306 Remove, do not implement DR 778.
308 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
311 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
312 Remove, do not implement DR 778.
313 * doc/xml/manual/intro.xml: Remove entry for DR 778.
314 * testsuite/23_containers/bitset/cons/2.cc: Remove.
315 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
316 * testsuite/23_containers/bitset/cons/38244.cc: Add.
318 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
320 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
321 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
323 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
326 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
327 ios_base&, char_type, const void*)): Fix.
328 * testsuite/22_locale/num_put/put/char/38210.cc: New.
329 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
331 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
334 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
335 ios_base&, char_type, bool)): Fix.
336 * testsuite/22_locale/num_put/put/char/38196.cc: New.
337 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
339 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
341 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
342 * include/tr1_impl/cfenv: Likewise.
343 * include/tr1_impl/cstdint: Likewise.
345 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
348 * include/c_global/csignal: Do not use include_next.
349 * include/c_global/cstdlib: Likewise.
350 * include/c_global/cstdio: Likewise.
351 * include/c_global/cstdarg: Likewise.
352 * include/c_global/cctype: Likewise.
353 * include/c_global/cerrno: Likewise.
354 * include/c_global/cmath: Likewise.
355 * include/c_global/clocale: Likewise.
356 * include/c_global/climits: Likewise.
357 * include/c_global/cassert: Likewise.
358 * include/c_global/csetjmp: Likewise.
359 * include/c_global/cwchar: Likewise.
360 * include/c_global/cfloat: Likewise.
361 * include/c_global/cstdbool: Likewise.
362 * include/c_global/cstring: Likewise.
363 * include/c_global/cstddef: Likewise.
364 * include/c_global/cwctype: Likewise.
365 * include/tr1/cstdbool: Likewise.
366 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
367 * include/c_global/cinttypes: Do it here.
368 * include/tr1/cinttypes: Likewise.
369 * include/tr1_impl/cfenv: Do not include <fenv.h>.
370 * include/c_global/cfenv: Do it here.
371 * include/tr1/cfenv: Likewise.
372 * include/tr1_impl/cstdint: Do not include <stdint.h>.
373 * include/c_global/cstdint: Do it here.
374 * include/tr1/cstdint: Likewise.
375 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
376 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
377 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
379 * include/c_compatibility/math.h: Minor tweak, add comment.
381 2008-11-12 Steve Ellcey <sje@cup.hp.com>
383 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
384 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
386 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
388 PR libstdc++/37986 (cont)
389 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
391 (struct _Adaptor<_Engine*, _Distribution>): Add.
392 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
395 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
398 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
399 and remove_reference on _Engine.
400 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
403 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
405 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
407 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
409 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
410 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
413 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
415 * include/bits/forward_list.h: Support non-standard pointer types
416 (_Fwd_list_node_base): Add _Alloc template parameter.
417 (_Fwd_list_node<>): Likewise.
418 (_Fwd_list_iterator<>): Likewise.
419 (_Fwd_list_const_iterator<>): Likewise.
420 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
421 Use _Alloc<_Tp>::pointer.
422 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
423 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
424 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
425 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
426 (forward_list<>): Use __static_pointer_cast in place of static_cast,
427 and __const_pointer_cast in place of const_cast.
428 * include/bits/forward_list.tcc
429 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
430 of standard pointers, __static_pointer_cast in place of static_cast.
431 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
433 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
434 splice_after, remove, remove_if, merge): Likewise.
435 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
436 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
438 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
440 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
442 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
444 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
446 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
448 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
450 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
452 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
454 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
456 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
458 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
460 * testsuite/23_containers/forward_list/ext_pointer/requirements/
461 explicit_instantiation/1.cc: Likewise.
462 * testsuite/23_containers/forward_list/ext_pointer/requirements/
463 explicit_instantiation/3.cc: Likewise.
464 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
466 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
468 * include/ext/extptr_allocator.h: Minor tweaks.
469 * include/ext/pointer.h: Likewise.
470 * include/ext/cast.h: Likewise.
472 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
475 * config/locale/gnu/monetary_members.cc (moneypunct<>::
476 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
477 delete for __wcs_ps and __wcs_ns.
479 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
481 * include/ext/pointer.h: New, add experimental support for non-standard
482 pointer types in containers via the allocator::pointer typedef.
483 (Currently only supported/working with std::vector)
484 * include/ext/cast.h: New, add overload-able pointer casting functions
485 for use in containers supporting non-standard pointer types.
486 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
487 * include/Makefile.am: Update.
488 * include/precompiled/extc++.h: Likewise.
489 * include/Makefile.in: Regenerate.
490 * testsuite/ext/ext_pointer/1.cc: New.
491 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
492 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
493 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
494 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
495 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
496 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
498 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
500 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
502 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
504 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
507 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
511 * include/tr1_impl/functional (result_of,reference_wrapper): Update
512 to use C++0x features.
513 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
514 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
516 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
518 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
520 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
524 * include/tr1_impl/functional (result_of,reference_wrapper): Update
525 to use C++0x features.
526 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
527 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
529 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
531 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
533 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
535 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
536 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
537 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
538 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
540 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
542 PR libstdc++/37958 (cont again)
543 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
544 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
545 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
546 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
548 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
550 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
551 num_get<>::do_get(, unsigned short&),
552 num_get<>::do_get(, unsigned int&),
553 num_get<>::do_get(, unsigned long&),
554 num_get<>::do_get(, long long&),
555 num_get<>::do_get(, unsigned long long&),
556 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
557 num_put<>::do_put(, long long),
558 num_put<>::do_put(, unsigned long long)): Move inline...
559 * include/bits/locale_facets.h: ... here.
561 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
563 PR libstdc++/37958 (cont)
564 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
565 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
567 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
569 * include/bits/shared_ptr.h: Update comparisons to match WP.
570 (_Sp_counted_ptr): Make copy and assignment members deleted.
571 (_Sp_counted_deleter): Remove private copy and assignment members.
572 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
573 friend operator< with overloaded _M_less member functions to allow
574 comparison with either shared_count or weak_count.
575 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
576 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
577 for ownership-based ordering.
578 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
580 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
581 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
582 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
583 pointer specialization.
584 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
585 weak_ptr::operator>=): Remove operator< and delete all comparisons.
586 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
587 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
588 (operator==(shared_ptr,shared_ptr): Likewise.
589 (operator!=(shared_ptr,shared_ptr): Likewise.
590 (swap(shared_ptr,shared_ptr)): Fix parameter types.
591 (swap(weak_ptr,weak_ptr)): Add missing overload.
592 * testsuite/20_util/owner_less/cmp.cc: New.
593 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
594 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
595 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
596 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
597 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
599 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
602 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
603 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
604 * testsuite/22_locale/num_get/get/char/37958.cc: New.
605 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
607 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
611 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
613 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
614 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
615 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
616 Remove the old variadic constructor, and instead provide several
617 variadic constructors that avoid failing when attempting to
618 initialize a pointer from a null pointer constant.
619 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
620 initialization of pointers from the null pointer constant.
622 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
625 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
626 * include/bits/basic_string.h: Guard string conversions with
627 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
628 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
630 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
631 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
633 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
635 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
637 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
639 * testsuite/21_strings/basic_string/numeric_conversions/char/
641 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
643 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
645 * testsuite/21_strings/basic_string/numeric_conversions/char/
646 to_string.cc: Likewise.
647 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
650 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
652 * config/os/generic/error_constants.h (enum errc): Remove
654 * config/os/mingw32/error_constants.h (enum errc): Likewise.
655 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
658 2008-10-24 Jakub Jelinek <jakub@redhat.com>
660 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
661 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
663 (%/site.exp, check-DEJAGNU%): New targets.
664 (check-am): Run $(MAKE) check-DEJAGNU.
665 * testsuite/Makefile.in: Regenerated.
667 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
669 * config/os/generic/error_constants.h (errc): Use long type.
670 * config/os/mingw32/error_constants.h (errc): Likewise.
672 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
674 * include/std/system_error (is_error_code_enum): Specialize for errc.
675 (error_category::error_category): Defaulted and protected.
676 (error_category::~error_category): New, virtual.
677 (error_category::error_category(const error_category&),
678 error_category::operator=(const error_category&)): Deleted.
679 (get_system_category, get_posix_category): Remove (DR 890).
680 (system_category): External linkage (DR 890).
681 (posix_category): Remove.
682 (generic_category): Add. External linkage (DR 890).
683 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
684 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
685 error_code::assign, use generic_category.
686 (error_condition::error_condition,
687 error_condition::error_condition<>(_ErrorConditionEnum)): Use
689 (error_condition::clear,
690 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
691 error_code::assign, use generic_category.
692 (make_error_code, make_error_condition): Define in namespace std.
693 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
694 unique_lock<>::try_lock_until<>(duration),
695 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
696 * src/system_error.cc (system_error_category, generic_error_category):
698 (gnu_error_category): Remove.
699 (get_system_category, get_posix_category): Remove (DR 890).
700 (system_category, generic_category): Define.
701 * src/functexcept.cc (__throw_system_error): Use generic_category.
702 * config/abi/pre/gnu.ver: Export system_category and generic_category,
703 remove get_system_category and get_generic_category (DR 890).
704 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
705 enum class type. Fix spelling.
706 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
707 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
709 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
710 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
711 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
712 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
713 dg-error line numbers.
714 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
716 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
717 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
718 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
720 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
721 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
722 Remove using tests since errc is not a namespace.
723 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
724 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
725 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
727 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
729 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
731 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
733 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
734 (_Args&&...)): Add in C++0x mode.
735 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
736 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
739 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
740 Node_allocator for improved accuracy.
741 * testsuite/tr1/6_containers/unordered_multimap/capacity/
742 29134-multimap.cc: Adjust.
743 * testsuite/tr1/6_containers/unordered_multimap/capacity/
744 29134-map.cc: Likewise.
745 * testsuite/tr1/6_containers/unordered_multimap/capacity/
746 29134-multiset.cc: Adjust.
747 * testsuite/tr1/6_containers/unordered_multimap/capacity/
748 29134-set.cc: Likewise.
750 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
752 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
753 (_Args&&...)): Add in C++0x mode.
754 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
755 use _M_get_Node_allocator.
756 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
758 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
760 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
762 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
764 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
765 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
766 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
767 Remove the old variadic constructor, and instead provide several
768 variadic constructors that avoid failing when attempting to
769 initialize a pointer from a null pointer constant.
770 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
771 initialization of pointers from the null pointer constant.
773 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
775 * include/bits/forward_list.tcc (forward_list<>::
776 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
779 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
781 * include/bits/forward_list.h (forward_list<>::
782 forward_list(size_type)): Tweak, use _Base default constructor.
784 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
786 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
789 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
791 * include/bits/forward_list.h: Factor list construction to dispatch
793 * include/bits/forward_list.tcc: Likewise.
794 * testsuite/23_containers/forward_list/modifiers/2.cc:
796 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
798 * include/bits/forward_list.tcc (operator==): Use auto.
800 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
802 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
803 Move out of line, tweak to return _Fwd_list_node_base*.
804 (forward_list<>::insert_after(const_iterator, const _Tp&),
805 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
806 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
809 * include/bits/forward_list.h (forward_list<>): Consistently qualify
810 calls of base class functions with this->.
811 * include/bits/forward_list.tcc (forward_list<>): Likewise.
813 * include/bits/forward_list.h: Move some functions out of line...
814 * include/bits/forward_list.tcc: ... here.
816 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
818 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
820 * include/bits/forward_list.h: Remove pointless const qualifiers in
822 * include/bits/forward_list.tcc: Likewise.
824 * include/bits/forward_list.h (forward_list<>::pointer,
825 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
826 * testsuite/23_containers/forward_list/requirements/
827 explicit_instantiation/1.cc: New.
828 * testsuite/23_containers/forward_list/requirements/
829 explicit_instantiation/1.cc: Likewise.
831 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
833 * include/bits/forward_list.h (forward_list<>::max_size): Use
834 Node_allocator; minor cosmetic changes.
835 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
837 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
839 * include/std/forward_list: New.
840 * include/bits/forward_list.h: Likewise.
841 * include/bits/forward_list.tcc: Likewise.
842 * include/precompiled/stdc++.h: Modified to include forward_list.
843 * include/Makefile.am: Add forward_list, forward_list.h, and
845 * include/Makefile.in: Regenerate.
846 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
847 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
848 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
849 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
850 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
851 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
852 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
853 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
854 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
855 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
856 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
857 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
858 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
859 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
860 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
861 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
862 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
863 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
864 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
865 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
866 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
867 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
868 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
869 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
870 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
871 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
872 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
873 * testsuite/17_intro/headers/c++200x/all: Likewise.
875 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
877 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
879 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
880 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
881 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
882 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
883 Adjust dg-error line number.
884 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
886 * testsuite/23_containers/list/requirements/dr438/
887 constructor_1_neg.cc: Likewise.
888 * testsuite/23_containers/list/requirements/dr438/
889 constructor_2_neg.cc: Likewise.
891 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
893 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
894 for improved accuracy.
895 * include/bits/stl_list.h (list<>::max_size): Likewise.
896 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
897 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
898 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
899 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
900 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
902 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
904 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
907 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
909 * include/std/system_error (native_category): Remove.
910 (posix_category): Add.
911 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
912 Fix _M_cat initialization.
913 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
914 (error_condition::_M_cat, error_condtion::operator=
915 (_ErrorConditionEnum)): Implement resolution of DR 804.
916 (error_condition::error_condition(_ErrorConditionEnum, typename
917 enable_if<>:type*): Fix.
918 (error_condition::clear, error_condition::assign): Implement.
919 (operator==, operator!=): Fix uglification of parameters.
920 (make_error_code, make_error_condition): Define in namespace
922 (operator<<(basic_ostream<>&, const error_code&)): Define here.
923 * include/std/ostream (operator<<(basic_ostream<>&,
924 const error_code&)): Do not define here.
925 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
926 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
927 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
929 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
931 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
933 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
934 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
935 dg-error line numbers.
936 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
938 * testsuite/util/testsuite_error.h: Minor tweaks.
939 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
941 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
943 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
944 uninitialized duration.
946 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
948 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
949 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
950 _M_deallocate): Use _Tp_alloc_type::pointer.
952 2008-10-07 Jason Merrill <jason@redhat.com>
955 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
956 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
957 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
959 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
961 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
962 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
963 const __normal_iterator<>&), operator-(const move_iterator<>&,
964 const move_iterator<>&)): Use the auto -> return type syntax,
967 2008-10-06 Jason Merrill <jason@redhat.com>
969 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
971 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
973 * testsuite/20_util/reference_wrapper/invoke.cc: New.
974 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
975 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
977 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
979 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
980 !__FLT_HAS_INFINITY__ case.
982 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
984 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
986 * testsuite/20_util/tuple/swap.cc: New.
988 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
990 PR libstdc++/30085 (again)
991 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
992 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
993 unordered_map / unordered_multimap; add missing member functions.
994 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
995 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
996 * include/debug/safe_association.h: Remove.
997 * include/Makefile.am: Adjust.
998 * include/Makefile.in: Regenerate.
999 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1002 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
1004 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1005 void reset(U)): Add as deleted function, per DR 821 [Ready].
1006 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1007 member function declarations; minor formatting tweaks.
1008 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1009 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1012 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1014 * include/std/mutex (try_lock): Implement generic try_lock.
1015 * testsuite/30_threads/try_lock/1.cc: New.
1016 * testsuite/30_threads/try_lock/2.cc: Likewise.
1017 * testsuite/30_threads/try_lock/3.cc: Likewise.
1018 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1019 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1020 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1021 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1022 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1023 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1024 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1026 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1028 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1029 Steve Ellcey <sje@cup.hp.com>
1031 * configure: Regenerate for new libtool.
1032 * aclocal.m4: Ditto.
1033 * Makefile.in: Ditto.
1034 * src/Makefile.in: Ditto.
1035 * doc/Makefile.in: Ditto.
1036 * po/Makefile.in: Ditto.
1037 * libmath/Makefile.in: Ditto.
1038 * include/Makefile.in: Ditto.
1039 * libsupc++/Makefile.in: Ditto.
1040 * testsuite/Makefile.in: Ditto.
1042 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1044 * include/std/bitset: Adjust comment to reflect DR 853.
1045 * include/debug/bitset: Likewise.
1046 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1048 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1050 Implement DR 396 [Ready].
1051 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1052 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1053 char, char), bitset<>::to_string(_CharT, _CharT),
1054 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1055 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1056 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1057 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1058 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1059 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1060 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1061 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1062 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1063 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1064 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1065 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1067 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1069 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1070 * testsuite/25_algorithms/max/37547.cc: Likewise.
1071 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1073 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1075 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1076 typedef monotonic_clock to system_clock and instead declare new class.
1077 * src/chrono.cc: Conditionally define monotonic_clock::now().
1078 * include/std/condition_variable (wait_until): Throw exception if
1079 __gthread_cond_timedwait returns with error other than timed_out. Use
1080 system_clock as known clock type (__clock_t) and add overloads for known
1081 and unknown clocks. In the unknown case, sync to the known clock.
1082 Implement overload taking a predicate.
1083 (wait_for): Implement overload taking a predicate.
1084 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1085 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1087 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1089 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1090 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1091 * testsuite/30_threads/condition_variable/member/1.cc: New.
1092 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1094 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1097 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1098 when strtold is not available.
1099 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1101 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
1103 PR libstdc++/37391 continued.
1104 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1105 specify full path for source file links.
1106 * doc/html/ext/pb_ds/pq_examples.html: Same.
1108 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1110 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1111 by value parameters.
1112 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1114 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1116 PR libstdc++/32422, DR 23 [Ready in R60]
1117 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1118 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1119 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1120 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1121 DR 23 and deal correctly with broken exponents.
1122 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1123 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1124 char*, double&, ios_base::iostate&, const __c_locale&),
1125 __convert_to_v(const char*, long double&, ios_base::iostate&, const
1126 __c_locale&)): Likewise.
1127 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1128 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1129 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1130 ios_base::iostate&, string&): Change grouping check to set instead of
1131 OR failbit; do not check for eofbit here...
1132 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1133 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1134 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1135 iter_type, ios_base&, ios_base::iostate&, long double&),
1136 num_get<>::__do_get(iter_type, iter_type, ios_base&,
1137 ios_base::iostate&, double&)): ... do it here instead.
1138 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1139 ios_base::iostate&, bool&)): Implement DR 23.
1140 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1141 ios_base::iostate&, void*&)): Adjust.
1142 * doc/xml/manual/intro.xml: Add and entry for DR 23.
1143 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1145 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1147 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1148 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1149 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1150 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1151 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1152 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1153 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1154 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1155 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1156 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1158 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1161 * doc/html/ext/pb_ds/*.html: Fix external links.
1163 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1165 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1166 condition_variable, and thread output.
1168 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1170 * doc/html/ext/lwg-closed.html: Update to Revision R59.
1171 * doc/html/ext/lwg-active.html: Likewise.
1172 * doc/html/ext/lwg-defects.html: Likewise.
1173 * doc/xml/manual/intro.xml: Adjust.
1175 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
1177 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1178 consistently with the other overload for initializer_list.
1180 2008-09-19 Johannes Singler <singler@ira.uka.de>
1183 * include/parallel/base.h: Rename log2 to __log2.
1184 (__log2) Avoid infinite loop for n <= 0, return 0.
1185 * include/parallel/losertree.h: Rename log2 to __log2.
1186 * include/parallel/multiseq_selection.h: Likewise.
1187 * include/parallel/random_shuffle.h: Likewise.
1189 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1191 * include/bits/shared_ptr.h (__shared_count<>::
1192 __shared_count(_Ptr, _Deleter), __shared_count<>::
1193 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1194 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1195 Qualify new with ::.
1197 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
1200 * include/bits/stl_algo.h (min(initializer_list<>),
1201 min(initializer_list<>, Compare), max(initializer_list<>),
1202 max(initializer_list<>, Compare), minmax(initializer_list<>),
1203 minmax(initializer_list<>, Compare)): Fix return type.
1204 * include/bits/algorithmfwd.h: Adjust.
1205 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1206 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1208 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1210 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1212 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1214 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1216 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1218 * testsuite/25_algorithms/max/37547.cc: New.
1219 * testsuite/25_algorithms/min/37547.cc: Likewise.
1220 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1222 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
1224 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1226 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1228 * testsuite/25_algorithms/min/3.cc: Likewise.
1229 * testsuite/25_algorithms/min/4.cc: Likewise.
1230 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1232 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1234 * testsuite/25_algorithms/max/3.cc: Likewise.
1235 * testsuite/25_algorithms/max/4.cc: Likewise.
1236 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1238 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1240 * testsuite/25_algorithms/minmax/2.cc: Likewise.
1241 * testsuite/25_algorithms/minmax/3.cc: Likewise.
1243 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
1245 * include/bits/stl_algo.h (min(initializer_list<>),
1246 min(initializer_list<>, Compare), max(initializer_list<>),
1247 max(initializer_list<>, Compare), minmax(initializer_list<>),
1248 minmax(initializer_list<>, Compare)): Add in C++0x mode.
1249 * include/bits/algorithmfwd.h: Add.
1250 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1252 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
1254 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1256 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1257 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1258 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1260 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
1261 Benjamin Kosnik <bkoz@redhat.com>
1263 * include/std/thread: New.
1264 * include/Makefile.am: Update.
1265 * include/Makefile.in: Regenerate.
1266 * src/thread.cc: New.
1267 * src/Makefile.am: Update.
1268 * src/Makefile.in: Regenerate.
1269 * acinclude.m4: Add check for nanosleep.
1270 * configure.ac: Call it.
1271 * configure: Regenerate.
1272 * config.h.in: Likewise.
1273 * config/abi/pre/gnu.ver: Add exports.
1274 * doc/doxygen/user.cfg.in: Add thread header.
1275 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1276 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1277 * testsuite/30_threads/thread/cons/1.cc: New.
1278 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1279 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1280 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1281 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1282 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1283 * testsuite/30_threads/thread/member/1.cc: Likewise.
1284 * testsuite/30_threads/thread/member/2.cc: Likewise.
1285 * testsuite/30_threads/thread/member/3.cc: Likewise.
1286 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1287 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1288 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1289 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1290 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1291 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1292 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1293 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1294 Add thread, condition_variable and mutex.
1296 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1298 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1299 Remove specializations.
1300 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1301 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1302 use_facet<ctype<wchar_t>): Declare as extern template.
1303 * include/bits/locale_facets.h (use_facet<ctype<char> >,
1304 use_facet<ctype<wchar_t>): Do not declare as specializations.
1306 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1308 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1309 ctype<char>::_M_widen_init): Don't define here.
1310 * config/locale/gnu/ctype_members.cc: Likewise.
1311 * config/locale/generic/ctype_members.cc: Likewise.
1312 * src/ctype.cc: Define here.
1314 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1317 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1318 ctype<char>::_M_widen_init): Don't define inline.
1319 * config/locale/darwin/ctype_members.cc: ... define here.
1320 * config/locale/gnu/ctype_members.cc: ... likewise.
1321 * config/locale/generic/ctype_members.cc: ... likewise.
1322 * config/abi/pre/gnu.ver: Export.
1324 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
1326 * doc/xml/manual/abi.xml: Update for new releases.
1327 * doc/doxygen/user.cfg.in: Include C compatibility headers.
1328 * doc/html/*: Regenerate.
1330 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
1332 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1333 inclusion of <inttypes.h>.
1334 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1335 __STDC_CONSTANT_MACROS after <stdint.h>.
1336 * include/bits/postypes.h: Likewise.
1338 2008-09-09 Andreas Schwab <schwab@suse.de>
1340 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1341 not to redefine main.
1343 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1345 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1346 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1347 * include/tr1_impl/cinttypes: Use the latter.
1348 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1349 * configure: Regenerate.
1350 * config.h.in: Likewise.
1352 2008-09-05 Peter Dimov <pdimov@mmltd.net>
1354 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1356 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
1358 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1360 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1363 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1366 * include/Makefile.am: Update headers.
1367 * include/Makefile.in: Regenerate.
1368 * include/std/memory: Update headers.
1369 * include/tr1/memory: Likewise.
1370 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
1371 separate implementations for std and tr1.
1372 * include/bits/boost_sp_shared_count.h: Remove.
1373 * include/tr1/boost_sp_shared_count.h: Remove.
1374 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
1375 and boost_shared_ptr.h into one file.
1376 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
1377 and rvalue-reference support as per current WP.
1378 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
1379 and boost_shared_ptr.h into one file.
1380 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
1381 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
1382 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
1383 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
1384 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
1385 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
1386 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
1387 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
1388 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
1390 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1392 * doc/xml/manual/locale.xml: Fix typo.
1394 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
1396 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
1398 * configure: Regenerate.
1400 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
1402 * include/std/mutex (once_flag): Construct __gthread_once_t in a
1403 temporary variable before assigning to _M_once to avoid initialization
1406 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1408 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
1409 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
1411 * Makefile.in: Regenerate.
1412 * src/Makefile.in: Likewise.
1413 * doc/Makefile.in: Likewise.
1414 * po/Makefile.in: Likewise.
1415 * libmath/Makefile.in: Likewise.
1416 * include/Makefile.in: Likewise.
1417 * libsupc++/Makefile.in: Likewise.
1418 * testsuite/Makefile.in: Likewise.
1420 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1422 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
1423 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
1424 * configure: Regenerate.
1426 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1428 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
1429 * configure: Regenerate.
1431 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
1433 * include/std/condition_variable: Use new deleted ctors.
1434 * include/std/mutex: Likewise plus implement timed_mutex,
1435 recursive_timed_mutex and call_once.
1436 * src/condition_variable.cc: Implement wait(). Use gthread types.
1437 Remove _GTHREADS_HAS_COND checks in favor of global
1438 _GLIBCXX_HAS_GTHREADS.
1439 * src/mutex.cc (call_once): Implementation using TLS with mutex
1441 * config/abi/pre/gnu.ver: Add exported symbols.
1442 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
1443 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
1444 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
1445 dg-require-gthreads and dg-require-cstdint.
1446 * testsuite/30_threads/lock_guard/requirements/
1447 explicit_instantiation.cc: Likewise.
1448 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1449 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1450 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1451 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
1452 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1453 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1454 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1455 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1456 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1458 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
1459 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1460 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
1462 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1463 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1464 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1465 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1466 * testsuite/30_threads/unique_lock/requirements/
1467 explicit_instantiation.cc: Likewise.
1468 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
1469 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
1470 lines for deleted members.
1471 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1472 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1473 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1474 * testsuite/30_threads/call_once/once_flag.cc: New.
1475 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1476 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1477 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
1478 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1479 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1480 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1482 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1484 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
1485 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1486 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1487 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1488 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1489 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1490 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1491 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
1492 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1493 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1494 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1495 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1496 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1497 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1498 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1499 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1501 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1503 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1505 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1507 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
1508 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1510 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1511 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
1513 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
1515 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1516 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1517 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1518 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1519 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
1520 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1522 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1524 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1526 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1527 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1528 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1529 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1530 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1531 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1532 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1533 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1534 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1535 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1536 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1537 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1539 2008-09-01 Mark Mitchell <mark@codesourcery.com>
1541 * include/std/type_traits (__make_unsigned_selector<>): Consider
1542 enums of size smaller than short.
1543 (__make_signed_selector<>): Likewise.
1544 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1545 Adjust line numbers.
1546 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
1547 Adjust line numbers.
1548 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
1549 Ensure test_enum is the same size as short.
1550 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
1551 Ensure test_enum is the same size as short.
1553 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1555 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
1556 * configure: Regenerated.
1557 * Makefile.in: Regenerated.
1558 * src/Makefile.in: Regenerated.
1559 * doc/Makefile.in: Regenerated.
1560 * po/Makefile.in: Regenerated.
1561 * libmath/Makefile.in: Regenerated.
1562 * include/Makefile.in: Regenerated.
1563 * libsupc++/Makefile.in: Regenerated.
1564 * testsuite/Makefile.in: Regenerated.
1566 2008-08-29 Mark Mitchell <mark@codesourcery.com>
1568 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
1569 when testing on a simultor.
1571 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
1573 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1574 Rename to .../typedefs.cc.
1575 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1577 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1578 typedef.cc: Likewise.
1579 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1580 typedef.cc: Likewise.
1581 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1583 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1585 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1587 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1590 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
1592 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
1593 support used by c++0x thread library.
1594 * configure.ac: Test unconditionally.
1595 * configure: Regenerate.
1596 * config.h.in: Regenerate.
1598 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
1600 * doc/Makefile.am: Edit xml file list.
1601 * doc/Makefile.in: Regenerate.
1602 * configure: Regenerate.
1603 * doc/xml/manual/intro.xml: Edit, correct links, structure.
1604 * doc/xml/manual/configure.xml: Same.
1605 * doc/xml/manual/debug.xml: Same.
1606 * doc/xml/manual/test.xml: Same.
1607 * doc/xml/manual/build.xml: Remove.
1608 * doc/xml/manual/prerequisites.xml: Add.
1609 * doc/html/*: Regenerate.
1611 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
1613 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
1614 const_pointer typedefs.
1615 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1617 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1619 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1620 typedef.cc: Likewise.
1621 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1622 typedef.cc: Likewise.
1623 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1625 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1627 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1629 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1632 2008-08-27 Paul Brook <paul@codesourcery.com>
1634 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
1635 __get_object_from_ambiguous_exception.
1637 2008-08-26 Ben Elliston <bje@au.ibm.com>
1639 * src/mt_allocator.cc (__pool): Fix error in comment.
1641 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
1643 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
1644 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
1645 * configure.ac: Do not call the latter.
1646 * crossconfig.m4: Likewise.
1647 * libmath/mathconf.h: Adjust.
1648 * configure: Regenerate.
1649 * config.h.in: Likewise.
1651 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1653 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
1654 two test -r instead of an AC_TRY_RUN.
1655 * configure: Regenerate.
1656 * config.h.in: Likewise.
1658 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1660 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
1661 * doc/xml/manual/configure.xml: Likewise.
1663 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1665 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
1667 * configure: Regenerate.
1669 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1671 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
1672 GCC_TRY_COMPILE_OR_LINK.
1673 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
1674 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
1675 [no] by default, since it includes TRY_LINK checks. librt is also
1676 searched, if requested.
1677 * doc/xml/manual/configure.xml: Document the latter.
1678 * configure.ac: Move the above checks outside native-only.
1679 * configure: Regenerate.
1681 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1683 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
1684 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
1685 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
1686 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1687 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
1689 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
1691 Add (again) exception propagation support as per N2179. Feature is
1692 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
1693 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1694 copy_exception, rethrow_exception): New file, implement exception
1696 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1697 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1698 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1699 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1700 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1701 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1702 __gxx_dependent_exception_class, __get_object_from_ue,
1703 __get_object_from_ambiguous_exception): Add.
1704 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1705 (__is_gxx_exception_class): Handle dependent exceptions.
1706 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1707 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1708 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1709 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1710 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1711 __cxa_free_dependent_exception): Add.
1712 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1714 * libsupc++/exception: Conditionally include exception_ptr.h.
1715 * libsupc++/Makefile.am: Register new files.
1716 * libsupc++/Makefile.in: Regenerate.
1717 * config/abi/pre/gnu.ver: Add new symbols.
1718 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1719 core functionality of current_exception().
1720 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1721 core functionality of rethrow_exception().
1722 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1723 exception objects during exception propagation.
1725 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
1727 Revert again the N2179 patch.
1729 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
1731 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
1732 __cxa_free_dependent_exception.
1734 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1736 * include/bits/char_traits.h (char_traits<char16_t>::
1737 assign(char_type*, size_t, char_type), char_traits<char32_t>::
1738 assign(char_type*, size_t, char_type)): For now, just open-code.
1740 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1742 PR c++/33979 (partial)
1743 * include/bits/postypes.h (u16streampos, u32streampos): Add.
1744 * include/bits/char_traits.h (char_traits<char16_t>,
1745 char_traits<char32_t>): Add.
1746 * include/bits/stringfwd.h (u16string, u32string): Add.
1747 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
1748 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
1750 * testsuite/21_strings/char_traits/requirements/
1751 explicit_instantiation/short/1.cc: Likewise.
1752 * testsuite/21_strings/char_traits/requirements/
1753 explicit_instantiation/char32_t/1.cc: Likewise.
1754 * testsuite/21_strings/char_traits/requirements/
1755 explicit_instantiation/wchar_t/1.cc: Likewise.
1756 * testsuite/21_strings/char_traits/requirements/
1757 explicit_instantiation/char16_t/1.cc: Likewise.
1758 * testsuite/21_strings/char_traits/requirements/
1759 explicit_instantiation/char/1.cc: Likewise.
1760 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
1762 * testsuite/21_strings/basic_string/requirements/
1763 explicit_instantiation/char32_t/1.cc: Likewise.
1764 * testsuite/21_strings/basic_string/requirements/
1765 explicit_instantiation/wchar_t/1.cc: Likewise.
1766 * testsuite/21_strings/basic_string/requirements/
1767 explicit_instantiation/char16_t/1.cc: Likewise.
1768 * testsuite/21_strings/basic_string/requirements/
1769 explicit_instantiation/char/1.cc: Likewise.
1770 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
1771 * testsuite/ext/vstring/requirements/explicit_instantiation/
1772 char32_t/1.cc: Likewise.
1773 * testsuite/ext/vstring/requirements/explicit_instantiation/
1774 char16_t/1.cc: Likewise.
1776 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1779 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
1781 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1783 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1784 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1785 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1786 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1787 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
1788 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
1789 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
1790 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1791 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1792 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1793 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1794 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1795 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
1796 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
1797 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1798 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1799 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
1800 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
1801 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
1802 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
1803 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1804 * include/std/regex: Include <sstream>.
1805 * include/tr1/regex: Likewise.
1807 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1809 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
1811 * configure: Regenerate.
1813 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1816 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
1817 check the macros too.
1818 * configure: Regenerate.
1820 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
1822 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
1824 * configure.ac: Run unconditionally AC_LC_MESSAGES.
1825 * crossconfig.m4: Adjust.
1826 * configure: Regenerate.
1828 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
1830 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
1831 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
1832 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
1833 with -fno-exceptions as flags.
1834 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
1835 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
1836 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
1837 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
1839 * configure: Regenerate.
1841 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
1843 Re-instate last patch, amended to use __exchange_and_add_dispatch
1844 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
1846 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
1848 Revert the last patch.
1850 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
1852 Add exception propagation support as per N2179.
1853 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1854 copy_exception, rethrow_exception): New file, implement exception
1856 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1857 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1858 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1859 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1860 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1861 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1862 __gxx_dependent_exception_class, __get_object_from_ue,
1863 __get_object_from_ambiguous_exception): Add.
1864 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1865 (__is_gxx_exception_class): Handle dependent exceptions.
1866 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1867 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1868 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1869 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1870 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1871 __cxa_free_dependent_exception): Add.
1872 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1874 * libsupc++/exception: Conditionally include exception_ptr.h.
1875 * libsupc++/Makefile.am: Register new files.
1876 * libsupc++/Makefile.in: Regenerate.
1877 * config/abi/pre/gnu.ver: Add new symbols.
1878 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1879 core functionality of current_exception().
1880 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1881 core functionality of rethrow_exception().
1882 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1883 exception objects during exception propagation.
1885 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
1888 * include/bits/stl_pair.h: Fix documentation URL in comment.
1890 2008-08-12 Johannes Singler <singler@ira.uka.de>
1892 * include/paralle/losertree.h
1893 (LoserTreePointerBase<>::~LoserTreePointerBase):
1894 Replace delete by appropriate delete[].
1896 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
1898 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
1899 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
1900 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
1901 * configure: Regenerate.
1902 * config.h.in: Likewise.
1904 * acinclude.m4: Minor formatting fixes.
1906 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
1908 * include/tr1_impl/regex: Formatting fixes.
1909 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
1911 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
1914 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
1916 * config/locale/generic/c_locale.cc: Include <cstdio>.
1918 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
1920 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
1921 * configure: Regenerate.
1923 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
1925 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
1926 (_DEFINE_SPEC_BODY): Remove.
1927 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
1928 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
1929 __remove_pointer_helper): Add.
1930 (is_void, is_integral, is_floating_point, is_member_object_pointer,
1931 is_member_function_pointer, remove_pointer): Use the latter.
1932 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
1933 (_DEFINE_SPEC_HELPER): Remove.
1934 (__is_signed_helper, __is_unsigned_helper): Add.
1935 (is_signed, is_unsigned): Use the latter.
1937 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
1939 Revert fix for libstdc++/35637, thanks to other/36901.
1940 * include/tr1_impl/type_traits (__is_function_helper): New, uses
1942 (is_function): Forward to the latter.
1943 (__in_array): Remove.
1945 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
1947 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
1949 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
1951 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
1952 _IOS_BASE_SEEK_END at the end of the file.
1953 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
1955 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
1957 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
1960 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1962 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
1963 common values of EOF, SEEK_CUR, SEEK_END.
1964 * configure.ac: Use it.
1965 * include/bits/ios_base.h: Likewise.
1966 * include/bits/char_traits.h: Likewise.
1967 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
1968 * config/locale/generic/ctype_members.cc: Likewise.
1969 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
1970 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1971 * configure: Regenerate.
1972 * config.h.in: Likewise.
1974 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1976 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
1977 is actually a typedef to long or long long.
1978 * include/bits/postypes.h: If int64_t is actually a typedef for
1979 long or long long don't include <stdint.h> unnecessarily.
1980 * configure: Regenerate.
1981 * config.h.in: Likewise.
1983 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
1985 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
1986 Expect ambiguity together with the standard exception classes.
1987 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
1989 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
1991 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
1993 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
1995 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
1996 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
1997 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
1999 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2001 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2003 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2005 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2007 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2010 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2012 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2013 also define the __STDC_* macros.
2014 (streamoff): Adjust.
2016 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2017 not defined before defining.
2019 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2020 Chris Fairles <chris.fairles@gmail.com>
2022 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2023 search, but only in libposix4, never link librt.
2024 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2025 * configure: Regenerate.
2026 * configure.in: Likewise.
2027 * Makefile.in: Likewise.
2028 * src/Makefile.in: Likewise.
2029 * libsup++/Makefile.in: Likewise.
2030 * po/Makefile.in: Likewise.
2031 * doc/Makefile.in: Likewise.
2033 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2035 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2036 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2037 and 4 in WD. Other minor tweaks.
2038 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2039 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2040 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2041 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2043 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2045 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2046 (check_v3_target_parallel_mode): Robustify, just follow the
2047 structure of testsuite/Makefile.am.
2049 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2051 * include/debug/set.h: Minor formatting fixes.
2052 * include/debug/multiset.h: Likewise.
2053 * include/debug/safe_association.h: Likewise.
2054 * include/debug/vector: Likewise.
2055 * include/debug/map.h: Likewise.
2056 * include/debug/string: Likewise.
2057 * include/debug/multimap.h: Likewise.
2058 * include/bits/stl_list.h: Likewise.
2059 * include/bits/stl_map.h: Likewise.
2060 * include/bits/stl_set.h: Likewise.
2061 * include/bits/stl_multimap.h: Likewise.
2062 * include/bits/stl_vector.h: Likewise.
2063 * include/bits/stl_multiset.h: Likewise.
2064 * include/bits/stl_bvector.h: Likewise.
2066 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2068 * include/std/utility: Include <initializer_list>, per the current WP.
2070 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2071 don't use -std=gnu++0x unnecessarily.
2072 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2074 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2075 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2077 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
2080 * include/tr1_impl/boost_shared_ptr.h
2081 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2082 __enable_shared_from_this_helper.
2083 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2085 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2089 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2091 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2092 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2093 * src/Makefile.am: Use it.
2094 * configure: Regenerate.
2095 * configure.in: Likewise.
2096 * Makefile.in: Likewise.
2097 * src/Makefile.in: Likewise.
2098 * libsup++/Makefile.in: Likewise.
2099 * po/Makefile.in: Likewise.
2100 * doc/Makefile.in: Likewise.
2102 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2104 * include/std/condition_variable: Update to N2691 WD.
2105 * include/std/mutex: Likewise.
2106 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2107 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2108 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2109 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2111 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2113 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2114 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2115 * src/Makefile.am: Use it.
2116 * configure: Regenerate.
2117 * configure.in: Likewise.
2118 * Makefile.in: Likewise.
2119 * src/Makefile.in: Likewise.
2120 * libsup++/Makefile.in: Likewise.
2121 * po/Makefile.in: Likewise.
2122 * doc/Makefile.in: Likewise.
2124 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2126 * include/ext/sso_string_base.h
2127 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2128 const _Alloc&)): Remove.
2129 * include/ext/rc_string_base.h
2130 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2131 const _Alloc&)): Likewise.
2132 * include/ext/vstring.h
2133 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2134 const _Alloc&)): Adjust.
2136 2008-07-21 Jason Merrill <jason@redhat.com>
2138 Add initializer_list support as per N2679.
2139 * include/debug/unordered_map: Add initializer_list support.
2140 * include/debug/safe_association.h: Likewise.
2141 * include/debug/unordered_set: Likewise.
2142 * include/debug/vector: Likewise.
2143 * include/debug/deque: Likewise.
2144 * include/debug/map.h: Likewise.
2145 * include/debug/set.h: Likewise.
2146 * include/debug/string: Likewise.
2147 * include/debug/list: Likewise.
2148 * include/debug/multimap.h: Likewise.
2149 * include/tr1_impl/unordered_map: Likewise.
2150 * include/tr1_impl/hashtable: Likewise.
2151 * include/tr1_impl/unordered_set: Likewise.
2152 * include/tr1_impl/regex: Likewise.
2153 * include/std/valarray: Likewise.
2154 * include/std/unordered_map: Likewise.
2155 * include/std/unordered_set: Likewise.
2156 * include/bits/stl_list.h: Likewise.
2157 * include/bits/stl_map.h: Likewise.
2158 * include/bits/stl_set.h: Likewise.
2159 * include/bits/basic_string.h: Likewise.
2160 * include/bits/basic_string.tcc: Likewise.
2161 * include/bits/stl_multimap.h: Likewise.
2162 * include/bits/stl_vector.h: Likewise.
2163 * include/bits/stl_deque.h: Likewise.
2164 * include/bits/stl_multiset.h: Likewise.
2165 * include/bits/stl_bvector.h: Likewise.
2166 * include/ext/vstring.h: Likewise.
2167 * include/ext/rc_string_base.h: Likewise.
2168 * include/ext/sso_string_base.h: Likewise.
2169 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2170 * src/Makefile.in: Likewise.
2171 * config/abi/pre/gnu.ver: Add new w?string exports.
2172 * testsuite/21_strings/basic_string/init-list.cc: New test.
2173 * testsuite/23_containers/vector/init-list.cc: New test.
2174 * testsuite/23_containers/deque/init-list.cc: New test.
2175 * testsuite/23_containers/list/init-list.cc: New test.
2176 * testsuite/23_containers/map/init-list.cc: New test.
2177 * testsuite/23_containers/multimap/init-list.cc: New test.
2178 * testsuite/23_containers/set/init-list.cc: New test.
2179 * testsuite/23_containers/multiset/init-list.cc: New test.
2180 * testsuite/23_containers/unordered_map/init-list.cc: New test.
2181 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2182 * testsuite/23_containers/unordered_set/init-list.cc: New test.
2183 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2184 * testsuite/26_numerics/valarray/init-list.cc: New test.
2185 * testsuite/28_regex/init-list.cc: New test.
2186 * testsuite/ext/vstring/init-list.cc: New test.
2187 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2188 Update error lineno.
2189 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2190 Update error lineno.
2191 * testsuite/23_containers/vector/requirements/dr438/
2192 constructor_1_neg.cc: Update error lineno.
2193 * testsuite/23_containers/vector/requirements/dr438/
2194 constructor_2_neg.cc: Update error lineno.
2195 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2196 Update error lineno.
2197 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2198 Update error lineno.
2199 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2200 Update error lineno.
2201 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2202 Update error lineno.
2203 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2204 Update error lineno.
2205 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2206 Update error lineno.
2207 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2208 Update error lineno.
2209 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2210 Update error lineno.
2212 2008-07-21 Mark Mitchell <mark@codesourcery.com>
2214 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2215 * configure.host: Use it for arm*-*-linux-*eabi.
2217 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
2219 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2220 (assert_node_consistent): Avoid ambiguous else warning.
2222 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2224 * include/bits/c++config: In debug-mode (and parallel-mode) set
2225 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2226 templates only for basic_string (per libstdc++/21674).
2227 * include/bits/basic_string.tcc: Use extern templates when
2228 _GLIBCXX_EXTERN_TEMPLATE > 0.
2230 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
2231 Holger Hopp <holger.hopp@sap.com>
2233 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2234 * testsuite/util/testsuite_abi.cc (check_version): Add
2235 CXXABI_1.3.3 to known_versions.
2237 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2239 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2240 Enable only when _Tp != bool.
2242 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2244 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2246 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2247 variable warnings leading to spurious fails of the test.
2249 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2251 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2253 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2254 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2256 * include/tr1_impl/type_traits: Fix comment typo.
2258 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2260 * include/bits/unique_ptr.h: Remove stray character.
2262 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
2264 * doc/doxygen/user.cfg.in: Add complex, ratio,
2266 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2267 * doc/doxygen/doxygroups.cc: Add std::chrono.
2268 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2269 * libsupc++/initializer_list (initializer_list): Same.
2270 * include/std/ratio: Same.
2271 * include/std/chrono: Same.
2272 * include/std/complex: Disambiguate file markup.
2274 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
2276 * include/std/chrono: New, as per N2661.
2277 * src/chrono.cc: New.
2278 * include/Makefile.am: Update.
2279 * src/Makefile.am: Likewise.
2280 * include/Makefile.in: Regenerate.
2281 * src/Makefile.in: Likewise.
2282 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2283 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2284 * configure.ac: Use them.
2285 * configure: Regenerate.
2286 * config.h.in: Likewise.
2287 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2288 system_clock::is_monotonic.
2289 * testsuite/20_util/duration/cons/1.cc: New.
2290 * testsuite/20_util/duration/cons/2.cc: Likewise.
2291 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2292 * testsuite/20_util/duration/requirements/explicit_instantiation/
2293 explicit_instantiation.cc: Likewise.
2294 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2295 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2296 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2297 * testsuite/20_util/time_point/requirements/explicit_instantiation/
2298 explicit_instantiation.cc: Likewise.
2299 * testsuite/20_util/time_point/1.cc: Likewise.
2300 * testsuite/20_util/time_point/2.cc: Likewise.
2301 * testsuite/20_util/time_point/3.cc: Likewise.
2302 * testsuite/20_util/clocks/1.cc: Likewise.
2303 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2305 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2306 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2307 * doc/doxygen/user.cfg.in: Likewise.
2309 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
2312 * include/ext/rope (_Destroy_const): Add.
2313 (rope<>::copy): Call it.
2314 * testsuite/ext/rope/36832.cc: New.
2316 2008-07-15 Johannes Singler <singler@ira.uka.de>
2318 * include/parallel/find_selectors.h:
2319 Correct name for include guard #ifndef.
2320 * include/parallel/balanced_quicksort.h: Likewise.
2321 * include/parallel/unique_copy.h: Likewise.
2322 * include/parallel/multiway_mergesort.h: Likewise.
2323 * include/parallel/checkers.h: Likewise.
2324 * include/parallel/[various files]:
2325 Add/correct comment for #endif of include guard (at end of file)
2327 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
2329 * include/std/date_time: Remove, per N2549, in WP.
2330 * src/date_time.cc: Likewise.
2331 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2332 * include/Makefile.am: Remove date_time in std headers.
2333 * src/Makefile.am: Remove date_time.cc to source files.
2334 * include/Makefile.in: Regenerate.
2335 * src/Makefile.in: Likewise.
2336 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2337 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2338 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2339 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2340 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2341 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2342 * testsuite/31_date_time/system_time/requirements: Likewise.
2343 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2344 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2345 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2347 2008-07-10 Johannes Singler <singler@ira.uka.de>
2349 * include/parallel/balanced_quicksort.h:
2350 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2352 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
2355 * doc/xml/manual/allocator.xml: Fix links.
2356 * doc/html/*: Regenerate.
2358 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2360 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2361 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2362 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2363 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2365 * libsupc++/eh_arm.cc (__cxa_type_match): Use
2366 __is_gxx_forced_unwind_class to check for forced unwind.
2368 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
2371 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2372 null_metadata.hpp: Remove self-include.
2374 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2376 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
2377 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
2378 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
2380 2008-07-09 Johannes Singler <singler@ira.uka.de>
2383 * include/parallel/random_shuffle.h:
2384 (sequential_random_shuffle) Copy data back.
2385 * testsuite/25_algorithms/random_shuffle/1.cc:
2386 New. Generic random_shuffle functionality test.
2388 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
2390 * include/std/type_traits: Add common_type.
2391 * testsuite/20_util/common_type/requirements/
2392 explicit_instantiation.cc: New.
2393 * testsuite/20_util/common_type/requirements/
2394 typedefs-1.cc: Likewise.
2396 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
2398 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
2399 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
2400 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
2401 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2402 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2403 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2404 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2405 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2406 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2407 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2409 * include/std/type_traits: Fix comment typo.
2411 2008-07-06 Roger Sayle <roger@eyesopen.com>
2413 * include/std/system_error (is_error_code_enum): Use identifier
2414 _Tp instead of _T to avoid conflict with system macro on Darwin.
2415 (is_error_condition_enum): Likewise.
2417 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2419 * include/bits/postypes.h: Do not include <stdint.h>.
2421 * include/Makefile.am: Reorder.
2423 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2425 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
2427 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
2429 * include/std/ratio: Documentation for std::ratio class. Add conditions
2430 to ratio_less to prevent overflow.
2431 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
2432 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
2435 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
2437 * include/std/ratio: New, per N2661.
2438 * include/Makefile.am: Update.
2439 * include/Makefile.in: Regenerate.
2440 * testsuite/20_util/ratio/cons/cons1.cc: New.
2441 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2442 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2443 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2444 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2445 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2446 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2448 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
2451 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
2452 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2454 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2456 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2457 Improve check on long double limits.
2458 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2460 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2462 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2465 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2467 * libsupc++/Makefile.am: Add initializer_list to the headers.
2468 * libsupc++/Makefile.in: Regenerate.
2470 * libsupc++/initializer_list: Minor cosmetic changes.
2472 2008-07-02 Jason Merrill <jason@redhat.com>
2474 * libsupc++/initializer_list: Uglify and wrap in
2475 __GXX_EXPERIMENTAL_CXX0X__.
2476 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
2478 2008-07-02 Jason Merrill <jason@redhat.com>
2480 * libsupc++/initializer_list: New file.
2481 * include/bits/stl_map.h (insert(initializer_list)): New method.
2483 2008-06-30 Alfred E. Heggestad <aeh@db.org>
2485 * include/backward/backward_warning.h: Fix typo.
2487 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2489 * src/string_conversions.cc: Remove.
2490 * config/abi/pre/gnu.ver: Delete exports.
2491 * src/Makefile.am: Update.
2492 * include/ext/string_conversions.h: Add.
2493 * include/Makefile.am: Update.
2494 * include/bits/basic_string.h: Include string_conversions.h,
2495 define numeric conversion functions.
2496 * include/ext/vstring.h: Likewise.
2497 * src/Makefile.in: Regenerate.
2498 * include/Makefile.in: Regenerate.
2500 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2502 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
2503 * include/bits/algorithmfwd.h: Add.
2504 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
2506 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
2507 move_iterators/1.cc: New
2508 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2509 * testsuite/25_algorithms/copy_n/1.cc: New.
2510 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
2511 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
2512 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
2513 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
2514 * testsuite/25_algorithms/copy_n/requirements/
2515 explicit_instantiation/2.cc: Likewise.
2516 * testsuite/25_algorithms/partition_point/requirements/
2517 explicit_instantiation/pod.cc: Likewise.
2519 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2521 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
2522 * include/bits/algorithmfwd.h: Add.
2523 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2524 * testsuite/25_algorithms/partition_point/1.cc: New.
2525 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
2526 * testsuite/25_algorithms/partition_point/requirements/
2527 explicit_instantiation/2.cc: Likewise.
2528 * testsuite/25_algorithms/partition_point/requirements/
2529 explicit_instantiation/pod.cc: Likewise.
2531 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2534 * include/ext/pb_ds/detail/resize_policy/
2535 sample_resize_trigger.hpp: Remove spurious namespace end.
2537 2008-06-27 Mark Mitchell <mark@codesourcery.com>
2539 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
2541 (__aeabi_vec_delete): Likewise.
2542 (__aeabi_vec_delete3): Likewise.
2543 (__aeabi_vec_delete3_nodtor): Likewise.
2545 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2547 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
2548 * include/bits/algorithmfwd.h: Add.
2549 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2550 * testsuite/25_algorithms/is_partitioned/1.cc: New.
2551 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
2552 * testsuite/25_algorithms/is_partitioned/requirements/
2553 explicit_instantiation/2.cc: Likewise.
2554 * testsuite/25_algorithms/is_partitioned/requirements/
2555 explicit_instantiation/pod.cc: Likewise.
2557 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2559 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
2560 * testsuite/util/testsuite_character.h (pod_int): Add operator++
2562 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
2563 * testsuite/26_numerics/iota/1.cc: New.
2564 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2566 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2569 * include/ext/algorithm: Do not fiddle with the legacy headers.
2571 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
2573 * testsuite/26_numerics/accumulate/1.cc: Likewise.
2574 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
2575 * testsuite/26_numerics/inner_product/1.cc: Likewise.
2577 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2579 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
2580 * include/bits/algorithmfwd.h: Add.
2581 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2582 * testsuite/25_algorithms/partition_copy/1.cc: New.
2583 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
2584 * testsuite/25_algorithms/partition_copy/requirements/
2585 explicit_instantiation/2.cc: Likewise.
2586 * testsuite/25_algorithms/partition_copy/requirements/
2587 explicit_instantiation/pod.cc: Likewise.
2589 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
2591 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
2592 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
2593 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
2595 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
2596 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
2597 * testsuite/20_util/unique_ptr/specialized_algorithms/
2598 comparisons_array.cc: Likewise.
2599 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
2601 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
2604 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2606 * include/parallel/base.h (plus, multiplies): Use __typeof__,
2609 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2611 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
2613 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
2614 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
2616 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
2617 * testsuite/util/testsuite_common_types.h (struct assignable,
2618 struct default_constructible, struct copy_constructible,
2619 struct explicit_value_constructible): Use a tad of simulated
2620 concept checking techniques to avoid spurious warnings.
2621 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
2623 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2625 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2627 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
2628 any_of, none_of): Add in C++0x, per N2666.
2629 * include/bits/algorithmfwd.h: Update.
2630 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2631 * testsuite/25_algorithms/all_of/check_type.cc: New.
2632 * testsuite/25_algorithms/all_of/1.cc: Likewise.
2633 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2635 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2637 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
2638 * testsuite/25_algorithms/any_of/1.cc: Likewise.
2639 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2641 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2643 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
2644 * testsuite/25_algorithms/none_of/1.cc: Likewise.
2645 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2647 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2649 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
2650 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
2651 * testsuite/25_algorithms/find_if_not/requirements/
2652 explicit_instantiation/2.cc: Likewise.
2653 * testsuite/25_algorithms/find_if_not/requirements/
2654 explicit_instantiation/pod.cc: Likewise.
2655 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
2656 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
2657 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
2659 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
2661 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
2662 parallel algorithms.
2663 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
2664 * doc/xml/manual/test.xml: Remove empty para tags.
2666 * doc/html/*: Regenerate.
2668 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2670 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
2671 (copy_if): Add, per N2666.
2672 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2674 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2676 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2678 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2679 Chalathip Thumkanon <chalathip@gmail.com>
2682 * include/ext/pb_ds/exception.hpp (__throw_container_error,
2683 __throw_insert_error, __throw_join_error, __throw_resize_error):
2686 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2688 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
2690 * include/bits/algorithmfwd.h: Add.
2691 * doc/xml/manual/intro.xml: Add an entry for DR 809.
2692 * testsuite/25_algorithms/swap/dr809.cc: New.
2694 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2695 2.cc: Remove stray empty line.
2697 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2699 * include/bits/stl_move.h: Rename to move.h.
2700 * include/std/utility: Adjust.
2701 * include/ext/vstring_util.h: Likewise.
2702 * include/ext/throw_allocator.h: Likewise.
2703 * include/ext/pool_allocator.h: Likewise.
2704 * include/ext/bitmap_allocator.h: Likewise.
2705 * include/ext/new_allocator.h: Likewise.
2706 * include/ext/malloc_allocator.h: Likewise.
2707 * include/ext/array_allocator.h: Likewise.
2708 * include/ext/mt_allocator.h: Likewise.
2709 * include/bits/stl_algobase.h: Likewise.
2710 * include/bits/stl_heap.h: Likewise.
2711 * include/bits/stl_pair.h: Likewise.
2712 * include/bits/stl_iterator.h: Likewise.
2713 * testsuite/util/testsuite_allocator.h: Likewise.
2714 * testsuite/util/testsuite_iterators.h: Likewise.
2715 * include/Makefile.am: Likewise.
2716 * include/Makefile.in: Regenerate.
2718 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
2720 * include/bits/unique_ptr.h: New.
2721 * include/std/memory: Adjust.
2722 * include/Makefile.am: Add.
2723 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
2724 explicit_instantiation.cc: New.
2725 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
2726 * include/Makefile.in: Regenerate.
2728 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2730 * include/c_global/climits, include/tr1/climits: Add parentheses.
2732 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2734 * configure: Regenerate.
2736 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
2738 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
2740 * testsuite/24_iterators/operations/next.cc: New.
2741 * testsuite/24_iterators/operations/prev.cc: Likewise.
2743 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
2745 * src/string_conversions.cc (__to_xstring<>): New.
2746 (to_string, to_wstring): Use it.
2748 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
2750 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
2751 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
2752 * src/string_conversions.cc: Add.
2753 * src/Makefile.am: Update.
2754 * config/abi/pre/gnu.ver: Adjust exports.
2755 * src/Makefile.in: Regenerate.
2756 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2758 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2760 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2762 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2764 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2766 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2768 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2770 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
2772 * testsuite/21_strings/basic_string/numeric_conversions/char/
2773 to_string.cc: Likewise.
2774 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2776 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2778 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2780 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2782 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2784 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2786 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2788 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2789 stoull.cc: Likewise.
2790 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2791 to_wstring.cc: Likewise.
2793 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2795 * include/Makefile.am: Remove trailing white space, fix typo.
2796 (parallel_headers): Remove duplicate file, sort entries.
2797 * include/Makefile.in: Regenerate.
2799 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2801 * src/condition_variable.cc (~condition_variable): Drop unused
2804 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2806 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
2807 deque<>::push_front(_Args&&...)): Remove.
2808 (deque<>::push_back(value_type&&),
2809 deque<>::push_front(value_type&&)): Add.
2810 (deque<>::push_back(const value_type&),
2811 deque<>::push_front(const value_type&)): Add back.
2812 (deque<>::emplace_back(_Args&&...),
2813 deque<>::emplace_front(_Args&&...)): Declare...
2814 * include/bits/deque.tcc: ... and define.
2815 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
2816 list<>::push_front(_Args&&...)): Remove.
2817 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2818 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2820 (list<>::push_back(const value_type&),
2821 list<>::push_front(const value_type&)): Add back.
2822 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
2823 (vector<>::push_back(value_type&&)): Add.
2824 (vector<>::push_back(const value_type&)): Add back.
2825 (vector<>::emplace_back(_Args&&...)): Declare...
2826 * include/bits/vector.tcc: ... and define.
2827 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
2828 priority_queue<>::push(_Args&&...)): Remove.
2829 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
2830 priority_queue<>::push(value_type&&),
2831 priority_queue<>::emplace(_Args&&...)): Add.
2832 (queue<>::push(const value_type&),
2833 priority_queue<>::push(const value_type&)): Add back.
2834 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
2835 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
2836 (stack<>::push(const value_type&)): Add back.
2837 * include/debug/deque (deque<>::push_back(_Args&&...),
2838 deque<>::push_front(_Args&&...)): Remove.
2839 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
2840 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
2842 (deque<>::push_back(const value_type&),
2843 deque<>::push_front(const value_type&)): Add back.
2844 * include/debug/list (list<>::push_back(_Args&&...),
2845 list<>::push_front(_Args&&...)): Remove.
2846 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2847 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2849 (list<>::push_back(const value_type&),
2850 list<>::push_front(const value_type&)): Add back.
2851 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
2852 (vector<>::push_back(value_type&&),
2853 vector<>::emplace_back(_Args&&...)): Add.
2854 (vector<>::push_back(const value_type&)): Add back.
2855 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2856 Adjust dg-error line numbers.
2857 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2859 * testsuite/23_containers/deque/requirements/dr438/
2860 constructor_1_neg.cc: Likewise.
2861 * testsuite/23_containers/deque/requirements/dr438/
2862 constructor_2_neg.cc: Likewise.
2863 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2864 Adjust dg-error line numbers.
2865 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2867 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2869 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2871 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2872 Adjust dg-error line numbers.
2873 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2875 * testsuite/23_containers/vector/requirements/dr438/
2876 constructor_1_neg.cc: Likewise.
2877 * testsuite/23_containers/vector/requirements/dr438/
2878 constructor_2_neg.cc: Likewise.
2880 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2882 * include/tr1_impl/array (array<>::assign): Do not define in
2883 C++0x mode, per DR 776...
2884 (array<>::fill): ... define instead.
2885 * doc/xml/manual/intro.xml: Add an entry for DR 776.
2886 * testsuite/23_containers/array/requirements/fill.cc: New.
2888 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
2890 * include/std/complex (pow(const complex<>&, int)): Do not define in
2891 C++0x mode, per DR 844.
2892 * include/tr1/complex (pow(const complex<>&, int)): Remove.
2893 * doc/xml/manual/intro.xml: Add an entry for DR 844.
2894 * testsuite/26_numerics/complex/dr844.cc: New.
2895 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
2897 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
2899 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
2900 cend(size_type)): Add per DR 691.
2901 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
2903 * testsuite/23_containers/unordered_multimap/requirements/
2904 cliterators.cc: Likewise.
2905 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
2907 * testsuite/23_containers/unordered_multiset/requirements/
2908 cliterators.cc: Likewise.
2909 * doc/xml/manual/intro.xml: Add an entry for DR 691.
2911 2008-06-11 Matthias Klose <doko@ubuntu.com>
2913 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
2914 Remove empty directories.
2916 2008-06-07 Joseph Myers <joseph@codesourcery.com>
2918 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
2919 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
2920 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
2921 * configure: Regenerate.
2922 * config/os/solaris/solaris2.5: Remove directory.
2923 * config/os/solaris/solaris2.6: Remove directory.
2924 * config/os/windiss: Remove directory.
2926 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
2928 * doc/xml/manual/using.xml: Outline exception topics.
2930 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
2931 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2932 policy_access_fn_imps.hpp: Same.
2933 * include/ext/pb_ds/priority_queue.hpp: Same.
2934 * include/ext/throw_allocator.h: Same.
2936 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
2937 (sequence_tag): New tag. Doxygen markup fixes.
2939 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
2941 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
2942 comment typo, include paths, format.
2943 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
2944 * testsuite/performance/ext/pb_ds/
2945 hash_random_int_erase_mem_usage.cc: Same.
2946 * testsuite/performance/ext/pb_ds/
2947 random_int_subscript_find_timing.cc: Same.
2948 * testsuite/performance/ext/pb_ds/
2949 priority_queue_text_push_timing.cc: Same.
2950 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
2951 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
2952 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
2953 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
2954 * testsuite/performance/ext/pb_ds/
2955 priority_queue_random_int_push_timing.cc: Same.
2956 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
2957 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
2958 * testsuite/performance/ext/pb_ds/
2959 priority_queue_text_push_pop_timing.cc: Same.
2960 * testsuite/performance/ext/pb_ds/
2961 priority_queue_text_join_timing.cc: Same.
2962 * testsuite/performance/ext/pb_ds/
2963 priority_queue_random_int_push_pop_timing.cc: Same.
2964 * testsuite/performance/ext/pb_ds/
2965 random_int_subscript_insert_timing.cc: Same.
2966 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
2967 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
2968 * testsuite/performance/ext/pb_ds/
2969 priority_queue_text_pop_mem_usage.cc: Same.
2970 * testsuite/performance/ext/pb_ds/
2971 hash_zlob_random_int_find_timing.cc: Same.
2972 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
2973 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2974 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
2975 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2976 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
2977 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2978 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
2979 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2980 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2981 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
2982 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
2983 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
2984 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
2985 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
2986 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
2987 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2988 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
2989 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2990 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
2991 * testsuite/util/regression/basic_type.hpp: Same.
2992 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
2993 * testsuite/util/common_type/priority_queue/detail/
2994 ds_string_form.hpp: Same.
2995 * testsuite/util/common_type/assoc/string_form.hpp: Same.
2996 * testsuite/util/common_type/assoc/detail/
2997 resize_policy_string_form.hpp: Same.
2998 * testsuite/util/common_type/assoc/detail/
2999 trigger_policy_string_form.hpp: Same.
3000 * testsuite/util/common_type/assoc/detail/
3001 comb_hash_fn_string_form.hpp: Same.
3002 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3003 * testsuite/util/common_type/assoc/detail/
3004 size_policy_string_form.hpp: Same.
3005 * testsuite/util/common_type/assoc/detail/
3006 probe_fn_string_form.hpp: Same.
3007 * testsuite/util/common_type/assoc/detail/
3008 list_update_policy_string_form.hpp: Same.
3009 * testsuite/util/common_type/assoc/detail/
3010 store_hash_string_form.hpp: Same.
3011 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3012 * testsuite/util/io/prog_bar.cc: Same.
3014 * testsuite/util/regression/rand/io: Remove.
3015 * testsuite/util/regression/rand/io/priority_queue: Same.
3016 * testsuite/util/regression/rand/io/assoc: Same.
3017 * testsuite/util/regression/rand/io/priority_queue/
3018 xml_formatter.hpp: Consolidate this...
3019 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3020 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3021 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3023 * testsuite/util/regression/rand/priority_queue/
3024 container_rand_regression_test.hpp:To ...
3025 container_rand_regression_test.h: ... this.
3026 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3027 * testsuite/util/regression/rand/priority_queue/
3028 container_rand_regression_test.tcc: ... this.
3029 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3030 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3031 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3032 * testsuite/util/regression/rand/priority_queue/
3033 rand_regression_test.hpp: Adjust includes.
3035 * testsuite/util/regression/rand/assoc/
3036 container_rand_regression_test.hpp: To ...
3037 * testsuite/util/regression/rand/assoc/
3038 container_rand_regression_test.h: ... this.
3039 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3040 * testsuite/util/regression/rand/assoc/
3041 container_rand_regression_test.tcc: ...this.
3042 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3045 * testsuite/util/regression/priority_queue: Remove.
3046 * testsuite/util/regression/assoc: Remove.
3047 * testsuite/util/regression/priority_queue/
3048 common_type.hpp: Consolidate this...
3049 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3050 * testsuite/util/regression/common_type.hpp: ...here.
3052 * testsuite/util/rng: Remove.
3053 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3054 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3055 * testsuite/util/testsuite_rng.h: ...here.
3057 * testsuite/util/native_type/priority_queue: Remove.
3058 * testsuite/util/native_type/priority_queue/
3059 native_priority_queue.hpp: To...
3060 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3062 * testsuite/util/native_type/assoc: Remove.
3063 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3064 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3065 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3066 * testsuite/util/native_type/assoc/native_set.hpp: To...
3067 * testsuite/util/native_type/assoc/native_map.hpp: To...
3068 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3069 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3070 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3071 * testsuite/util/native_type/native_multimap.hpp: ...here.
3072 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3073 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3074 * testsuite/util/native_type/native_set.hpp: ...here.
3075 * testsuite/util/native_type/native_map.hpp: ...here.
3076 * testsuite/util/native_type/native_hash_set.hpp: ...here.
3077 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3078 * testsuite/util/native_type/native_hash_map.hpp: ...here.
3080 * testsuite/util/common_type/priority_queue/common_type.hpp:
3081 Make include guard distinct.
3082 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3084 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3086 * configure.ac: Do not check for gconv.h.
3087 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3088 gconf.h. For glibc and uClibc systems, define
3089 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3091 * configure, config.h.in: Regenerate.
3093 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3095 * testsuite/17_intro/headers/all.cc,
3096 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3097 testsuite/17_intro/headers/all_pedantic_errors.cc,
3098 testsuite/ext/headers.cc: Only include
3099 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3100 _GLIBCXX_HAVE_ICONV.
3102 2008-06-05 Johannes Singler <singler@ira.uka.de>
3104 * include/parallel/random_shuffle.h:
3105 (parallel_random_shuffle_drs) Get the actual number of
3106 threads after entering the parallel region. Indentation.
3107 * include/parallel/algo.h: (random_shuffle(begin, end))
3108 Add namespace qualification to avoid ambiguity.
3110 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
3112 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3113 to allocator_type, as per existing conventions.
3114 * include/ext/pb_ds/detail/binomial_heap_base_/
3115 binomial_heap_base_.hpp: Same.
3116 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3117 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3118 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3119 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3120 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3121 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3122 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3123 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3124 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3125 left_child_next_sibling_heap_.hpp: Same.
3126 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3127 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3128 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3129 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3130 * include/ext/pb_ds/detail/rc_binomial_heap_/
3131 rc_binomial_heap_.hpp: Same.
3132 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3133 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3134 * include/ext/pb_ds/list_update_policy.hpp: Same.
3135 * include/ext/pb_ds/exception.hpp: Same.
3136 * include/ext/pb_ds/tree_policy.hpp: Same.
3137 * include/ext/pb_ds/trie_policy.hpp: Same.
3138 * include/ext/pb_ds/priority_queue.hpp: Same.
3139 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3140 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3141 * testsuite/util/regression/rand/priority_queue/detail/
3142 defs_fn_imps.hpp: Same.
3143 * testsuite/util/regression/rand/priority_queue/detail/
3144 operator_fn_imps.hpp: Same.
3145 * testsuite/util/regression/rand/priority_queue/
3146 container_rand_regression_test.hpp: Same.
3147 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3148 * testsuite/util/regression/rand/assoc/detail/
3149 operator_fn_imps.hpp: Same.
3150 * testsuite/util/regression/rand/assoc/
3151 container_rand_regression_test.hpp: Same.
3152 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3153 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3154 * testsuite/util/common_type/assoc/detail/
3155 tree_supports_order_statistics.hpp: Same.
3156 * testsuite/util/common_type/assoc/detail/
3157 trie_supports_prefix_search.hpp: Same.
3158 * testsuite/util/common_type/assoc/detail/
3159 trie_supports_order_statistics.hpp: Same.
3161 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
3162 Daniel Jacobowitz <dan@codesourcery.com>
3164 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3166 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3167 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3169 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
3171 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3172 avoid a memory leak if the first __uninitialized_move_a throws.
3173 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3175 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3176 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3178 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
3179 Chris Jefferson <chris@bubblescope.net>
3182 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3183 (pop_heap): Slightly tweak.
3185 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
3187 * include/debug/bitset (bitset(const char*)): Implement DR 778
3190 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3191 deal with char16_t and char32_t.
3193 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
3195 * include/c_global/cmath (pow(float, int), pow(double, int),
3196 pow(long double, int)): Do not define in C++0x mode, per DR 550.
3197 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3199 * include/tr1/cmath (pow(double, double), pow(float, float),
3200 pow(long double, long double), pow(_Tp, _Up)): Define.
3201 * include/tr1/complex (pow): Do not bring in from namespace std.
3202 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3203 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3204 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3205 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3206 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3207 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3209 * doc/xml/manual/intro.xml: Add an entry for DR 550.
3210 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3211 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3213 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3215 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3216 * include/std/date_time: Likewise.
3217 * include/std/system_error: Likewise.
3218 * include/std/type_traits: Likewise; fix typo in macro name.
3219 * include/std/regex: Likewise.
3220 * include/std/random: Likewise.
3221 * include/std/unordered_map: Likewise.
3222 * include/std/condition_variable: Likewise.
3223 * include/std/unordered_set: Likewise.
3224 * include/std/mutex: Likewise.
3225 * include/std/array: Likewise.
3227 * include/c_std/cmath: Fix obsolete comment.
3228 * include/c_global/cmath: Likewise.
3230 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3232 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3233 complex<float>::real(float), complex<float>::imag(float),
3234 complex<double>::real(double), complex<double>::imag(double),
3235 complex<long double>::real(long double),
3236 complex<long double>::imag(long double)): Add per DR 387.
3237 (complex<>::real(), complex<>::imag(), complex<float>::real(),
3238 complex<float>::imag(), complex<double>::real(),
3239 complex<double>::imag(), complex<long double>::real(),
3240 complex<long double>::imag(long double)): Adjust in C++0x mode.
3241 (real(complex<>&), imag(complex<>&), real(const complex<>&),
3242 imag(const complex<>&)): Likewise.
3243 * testsuite/26_numerics/complex/dr387.cc: New.
3244 * doc/xml/manual/intro.xml: Add an entry for DR 387.
3246 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3248 * include/std/complex: Trivial stylistic changes, define inline
3249 members inline, consistently with the rest of the library.
3250 (pow(const _Tp&, const complex<>&)): Minor tweak.
3252 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3254 * src/atomic.cc (atomic_flag_test_and_set_explicit,
3255 atomic_flag_clear_explicit): Suppress unused parameter warnings.
3257 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3259 * include/std/tuple: Replace int -> size_t throughout per DR 775.
3260 * include/tr1_impl/array: Likewise.
3261 * include/tr1_impl/utility: Likewise.
3262 * doc/xml/manual/intro.xml: Add an entry for DR 775.
3264 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3266 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
3268 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3270 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
3271 * include/c_global/cmath (fpclassify): Likewise.
3273 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3275 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
3276 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
3277 * testsuite/23_containers/unordered_map/dr761.cc: New.
3278 * doc/xml/manual/intro.xml: Add an entry for DR 761.
3280 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3282 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
3284 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3286 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
3288 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
3289 * include/tr1/complex: ... here.
3290 * doc/xml/manual/intro.xml: Add an entry for DR 781.
3291 * testsuite/26_numerics/complex/dr781.cc: Add.
3292 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
3293 * configure: Regenerate.
3295 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3297 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
3298 (bitset<>::_M_copy_from_ptr): Add.
3299 (bitset<>::_M_copy_from_string): Forward to the latter.
3300 * doc/xml/manual/intro.xml: Add an entry for DR 778.
3301 * testsuite/23_containers/bitset/cons/2.cc: Add.
3303 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3305 * doc/html/ext/lwg-active.html: Update to Revision R56.
3306 * doc/html/ext/lwg-closed.html: Likewise.
3307 * doc/html/ext/lwg-defects.html: Likewise.
3309 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
3311 PR c++/33979 (partial)
3312 * include/tr1_impl/functional_hash.h (hash<char16_t>,
3313 hash<char32_t>): Add specializations.
3314 * include/tr1_impl/type_traits (is_integral<char16_t>,
3315 is_integral<char32_t>): Likewise.
3316 * include/std/limits (numeric_limits<char16_t>,
3317 numeric_limits<char32_t>): Likewise.
3318 * src/limits_c++0x.cc: Add.
3319 * src/Makefile.am: Update.
3320 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
3322 * testsuite/20_util/is_integral/value.cc: New.
3323 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
3324 * testsuite/20_util/is_integral/requirements/
3325 explicit_instantiation.cc: Likewise.
3326 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
3327 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
3329 * configure: Regenerate.
3330 * src/Makefile.in: Likewise.
3331 * config.h.in: Likewise.
3333 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
3335 * include/std/system_error: Align to current draft specifications.
3336 * src/system_error.cc: Same.
3337 * src/functexcept.cc: Adjust for corrected system_error construction.
3338 * include/std/ostream: Adjust error_code inserter.
3339 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
3340 * config/abi/pre/gnu.ver: Add new exports.
3342 * testsuite/util/testsuite_error.h: Consolidate error testing
3344 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
3345 testsuite_error, adjust line numbers and constructor calls.
3346 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
3347 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
3348 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
3349 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
3350 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
3351 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
3352 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3354 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
3355 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
3356 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
3357 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
3358 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
3359 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
3361 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
3363 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
3364 * configure: Regenerate.
3366 2008-05-15 Johannes Singler <singler@ira.uka.de>
3368 * xml/manual/parallel_mode.xml:
3369 General revision and documentation of new compile-time
3370 options for sorting.
3372 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3374 * include/std/mutex (mutex::try_lock): Eat errors.
3375 (mutex::unlock): Same.
3376 (recursive_mutex::try_lock): Eat errors.
3377 (recursive_mutex::unlock): Same.
3378 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
3379 -pthreads, adjust line numbers.
3380 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
3381 * testsuite/30_threads/mutex/cons/1.cc: Same.
3382 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
3383 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
3384 * testsuite/30_threads/mutex/lock/1.cc: Same.
3385 * testsuite/30_threads/mutex/unlock/1.cc: Same.
3386 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
3387 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
3388 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
3390 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3392 * include/std/sstream: Adjust braces.
3393 * include/bits/fstream.tcc: Same.
3394 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
3396 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3398 * doc/doxygen/user.cfg.in: Remove thread include.
3400 2008-05-13 David Daney <ddaney@avtrex.com>
3402 * config/cpu/mips/atomicity.h: Remove file.
3403 * config/cpu/mips: Remove directory.
3404 * configure.host: Remove host specific handling for mips*-*-*.
3406 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
3407 Paolo Carlini <paolo.carlini@oracle.com>
3409 * include/debug/vector (vector<>::_M_requires_reallocation): Just
3410 use this->capacity().
3411 (vector<>::capacity): Move non-pedantic / pedantic logic here.
3412 * testsuite/23_containers/vector/
3413 debug_mode_requires_reallocation-2.cc: New.
3415 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3416 Rename to debug_mode_requires_reallocation-1.cc
3418 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
3419 Paolo Carlini <paolo.carlini@oracle.com>
3421 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
3422 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3425 2008-05-07 Johannes Singler <singler@ira.uka.de>
3427 * include/parallel/quicksort.h:
3428 (parallel_sort_qs_conquer) Explicitly request number of threads
3429 in the parallel clause.
3430 (parallel_sort_qs) Remove setting the number of threads globally.
3432 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3434 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
3435 (recursive_mutex::recursive_mutex): Same.
3436 (once_flag::once_flag): Same.
3437 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
3438 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
3439 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
3440 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
3442 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3444 * include/std/condition_variable: New.
3445 * include/std/mutex: New.
3446 * src/condition_variable.cc: New.
3447 * src/mutex.cc: New.
3448 * include/bits/functexcept.h: Add __throw_system_error varients.
3449 * src/functexcept.cc: Same.
3450 * config/abi/pre/gnu.ver: Add exports.
3452 * doc/xml/manual/using.xml: Add new includes.
3453 * doc/doxygen/user.cfg.in: Doxygen support.
3454 * doc/doxygen/doxygroups.cc: Same.
3456 * include/Makefile.am: Add mutex, condition_variable.
3457 * include/Makefile.in: Regenerated.
3458 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
3459 * src/Makefile.in: Regenerated.
3461 * testsuite/30_threads: New.
3462 * testsuite/30_threads/lock_error: New.
3463 * testsuite/30_threads/mutex: New.
3464 * testsuite/30_threads/mutex/dest: New.
3465 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
3466 * testsuite/30_threads/mutex/native_handle: New.
3467 * testsuite/30_threads/mutex/native_handle/1.cc: New.
3468 * testsuite/30_threads/mutex/cons: New.
3469 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
3470 * testsuite/30_threads/mutex/cons/1.cc: New.
3471 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
3472 * testsuite/30_threads/mutex/requirements: New.
3473 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
3474 * testsuite/30_threads/mutex/try_lock: New.
3475 * testsuite/30_threads/mutex/try_lock/1.cc: New.
3476 * testsuite/30_threads/mutex/try_lock/2.cc: New.
3477 * testsuite/30_threads/mutex/lock: New.
3478 * testsuite/30_threads/mutex/lock/1.cc: New.
3479 * testsuite/30_threads/mutex/unlock: New.
3480 * testsuite/30_threads/mutex/unlock/1.cc: New.
3481 * testsuite/30_threads/recursive_mutex: New.
3482 * testsuite/30_threads/recursive_mutex/dest: New.
3483 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
3484 * testsuite/30_threads/recursive_mutex/native_handle: New.
3485 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
3486 * testsuite/30_threads/recursive_mutex/cons: New.
3487 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
3488 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
3489 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
3490 * testsuite/30_threads/recursive_mutex/requirements: New.
3491 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
3492 * testsuite/30_threads/lock_guard: New.
3493 * testsuite/30_threads/lock_guard/requirements: New.
3494 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
3495 * testsuite/30_threads/lock_guard/requirements/
3496 explicit_instantiation.cc: New.
3497 * testsuite/30_threads/headers: New.
3498 * testsuite/30_threads/headers/mutex: New.
3499 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
3500 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
3501 * testsuite/30_threads/headers/condition_variable: New.
3502 * testsuite/30_threads/headers/condition_variable/
3503 types_std_c++0x.cc: New.
3504 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
3505 * testsuite/30_threads/once_flag: New.
3506 * testsuite/30_threads/unique_lock: New.
3507 * testsuite/30_threads/unique_lock/requirements: New.
3508 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
3509 * testsuite/30_threads/unique_lock/requirements/
3510 explicit_instantiation.cc: New.
3511 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
3513 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3516 * include/bits/c++config: Namespace macros and setup only in C++.
3517 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
3519 2008-05-06 Johannes Singler <singler@ira.uka.de>
3521 * include/parallel/multiway_merge.h:
3522 (multiway_merge_*_unguarded):
3523 Pass sentinel directly, to allow correct determination.
3524 (multiway_merge_loser_tree_unguarded):
3525 Remove over-cautious assertion.
3526 (calls to multiway_merge_*_splitting):
3527 Parametrize with type that is correct in all cases.
3528 * include/parallel/losertree.h:
3529 (delete_min_insert (in many classes)):
3530 Correct and standardize assertions.
3532 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3534 * testsuite/util/testsuite_visualization.h: Move contents into...
3535 * testsuite/util/testsuite_performance.h: ...here.
3536 * testsuite/util/testsuite_common_types.h: Move
3537 performance-related test infrastructure into
3538 testsuite_performance.
3539 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
3540 * testsuite/performance/23_containers/find/map.cc: Same.
3541 * testsuite/performance/23_containers/create/map.cc: Same.
3542 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
3543 * testsuite/performance/23_containers/insert/sequence.cc: Same.
3544 * testsuite/performance/23_containers/insert/associative.cc: Same.
3545 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
3546 * testsuite/performance/23_containers/index/map.cc: Same.
3547 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
3548 * testsuite/performance/23_containers/create_sort/list.cc: Same.
3549 * testsuite/performance/23_containers/sort_search/list.cc: Same.
3550 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
3552 * testsuite/performance/23_containers/producer_consumer/associative.cc:
3555 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
3556 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3558 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3560 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
3561 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
3563 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
3565 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
3567 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3569 * include/Makefile.am (install-headers): Cope with empty
3571 * include/Makefile.in: Regenerate.
3573 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
3575 * include/bits/c++config: Remove space between '#' and 'undef' for
3576 _GLIBCXX_LONG_DOUBLE_COMPAT.
3578 2008-04-29 Joseph Myers <joseph@codesourcery.com>
3580 * Makefile.am (install-html, install-pdf): Add dummy targets.
3581 * Makefile.in: Regenerate.
3582 * doc/Makefile.am (install-html, install-pdf): Remove.
3583 * doc/Makefile.in: Regenerate.
3585 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3587 * include/bits/c++config: Move os_defines and cpu_defines after
3588 namespace definitions and base macros.
3590 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3593 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
3595 * configure: Regenerate.
3597 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3600 * include/std/unordered_map: Include debug/unordered_map if
3602 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
3603 * testsuite/23_containers/unordered_map/requirements/
3604 debug_container.cc: ...here.
3605 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
3606 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
3607 * testsuite/23_containers/unordered_set/requirements/
3608 debug_container.cc: ...here.
3609 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
3611 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3614 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
3615 * configure.ac: Re-order compiler macros.
3616 * configure: Regenerated.
3618 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3621 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
3622 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
3623 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
3624 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
3625 * configure: Regenerate.
3626 * include/Makefile.am (parallel_headers): Make conditional on
3628 * include/Makefile.in: Regenerate.
3630 2008-04-24 Paolo Carlini <pcarlini@suse.de>
3633 * include/debug/list (merge): Use _M_transfer_iter, consistently
3634 with the splice members.
3635 * testsuite/23_containers/list/operations/35969.cc: New.
3637 * testsuite/23_containers/list/operators: Rename to
3638 testsuite/23_containers/list/operations.
3640 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3642 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
3643 all used __sync builtins, in two sizes.
3644 * config.h.in: Regenerate.
3645 * configure: Regenerate.
3646 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
3647 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3648 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3649 * doc/xml/manual/concurrency.xm: Update docs.
3651 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
3653 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
3654 _GLIBCXX_BEGIN_EXTERN_C, etc.
3656 2008-04-23 Johannes Singler <singler@ira.uka.de>
3658 * include/parallel/quicksort.h: Reformat,
3659 (parallel_sort_qs): Do not pass number of elements.
3660 * include/parallel/balanced_quicksort.h: Reformat,
3661 (parallel_sort_qsb): Do not pass number of elements.
3662 * include/parallel/tags.h:
3663 Introduce new tags for compile-time choice.
3664 * include/parallel/merge.h:
3665 (parallel_merge_advance):Beautified.
3666 * include/parallel/algo.h: Reformatting (spaces for tabs)
3667 New sort and stable_sort variants, corresponding to the tags.
3668 * include/parallel/sort.h:
3669 New sort and stable_sort variants, corresponding to the tags.
3670 Changed determining the desired number of threads.
3672 2008-04-23 Johannes Singler <singler@ira.uka.de>
3674 * include/parallel/multiway_merge.h
3675 (multiway_merge_loser_tree):
3676 Leave checks to callers, add precondition instead.
3677 (multiway_merge_loser_tree_unguarded): Likewise.
3678 (multiway_merge_loser_tree_sentinel): Likewise.
3679 (sequential_multiway_merge): Added checks for total length 0.
3680 (parallel_multiway_merge): Skip empty sequences.
3681 (multiway_merge, all variants):
3682 Remove temporary variable, return directly.
3683 (stable_multiway_merge, all variants): Likewise.
3684 (multiway_merge_sentinels, all variants): Likewise.
3685 (stable_multiway_merge_sentinels, all variants): Likewise.
3686 * include/parallel/multiseq_selection.h
3687 (multiseq_partition): More detailed assertions.
3689 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3691 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
3692 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
3693 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
3694 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
3695 * configure: Regenerate.
3697 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3700 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
3701 Call 'mkdir -p' unconditionally, but ignore its return value.
3702 * include/Makefile.in: Regenerate.
3704 * include/Makefile.am: Fix most stamp rules to regenerate
3705 the links for all sources newer than the stamp file.
3706 * include/Makefile.in: Regenerate.
3707 * Makefile.in: Likewise.
3708 * src/Makefile.in: Likewise.
3709 * doc/Makefile.in: Likewise.
3710 * po/Makefile.in: Likewise.
3711 * libmath/Makefile.in: Likewise.
3712 * libsupc++/Makefile.in: Likewise.
3713 * testsuite/Makefile.in: Likewise.
3715 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
3718 * aclocal.m4: Regenerate.
3719 * configure: Regenerate.
3721 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
3724 * configure.ac: Use GCC_HEADER_STDINT.
3725 * src/atomic.cc: Include gstdint.h
3726 * configure: Regenerate.
3727 * Makefile.in: Likewise.
3728 * doc/Makefile.in: Likewise.
3729 * include/Makefile.in: Likewise.
3730 * libmath/Makefile.in: Likewise.
3731 * libsupc++/Makefile.in: Likewise.
3732 * po/Makefile.in: Likewise.
3733 * src/Makefile.in: Likewise.
3734 * testsuite/Makefile.in: Likewise.
3735 * aclocal.m4: Likewise.
3737 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3740 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
3741 -O0 when checking for atomic builtins.
3742 * configure: Regenerate.
3744 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3746 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
3748 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3750 * doc/html/*: Regenerate.
3752 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3754 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
3755 * doc/xml/authors.xml: Fix typos.
3756 * doc/xml/faq.xml: Likewise.
3757 * doc/xml/manual/abi.xml: Likewise.
3758 * doc/xml/manual/allocator.xml: Likewise.
3759 * doc/xml/manual/appendix_contributing.xml: Likewise.
3760 * doc/xml/manual/backwards_compatibility.xml: Likewise.
3761 * doc/xml/manual/build_hacking.xml: Likewise.
3762 * doc/xml/manual/codecvt.xml: Likewise.
3763 * doc/xml/manual/concurrency.xml: Likewise.
3764 * doc/xml/manual/ctype.xml: Likewise.
3765 * doc/xml/manual/debug_mode.xml: Likewise.
3766 * doc/xml/manual/diagnostics.xml: Likewise.
3767 * doc/xml/manual/evolution.xml: Likewise.
3768 * doc/xml/manual/extensions.xml: Likewise.
3769 * doc/xml/manual/locale.xml: Likewise.
3770 * doc/xml/manual/messages.xml: Likewise.
3771 * doc/xml/manual/parallel_mode.xml: Likewise.
3772 * doc/xml/manual/status_cxx200x.xml: Likewise.
3773 * doc/xml/manual/strings.xml: Likewise.
3774 * doc/xml/manual/support.xml: Likewise.
3775 * doc/xml/manual/test.xml: Likewise.
3776 * doc/xml/manual/using.xml: Likewise.
3778 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3779 Johannes Singler <singler@ira.uka.de>
3781 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
3782 insertors. Correct omp_set_num_threads example.
3784 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3786 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
3787 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
3788 * src/atomic.c: Format, doxygen markup, edits.
3790 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
3791 * src/Makefile.am (atomic.c): Add.
3792 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
3793 * configure.ac: Call it.
3794 * include/Makefile.in: Regenerate.
3795 * src/Makefile.in: Same.
3796 * Makefile.in: Same.
3797 * doc/Makefile.in: Same.
3798 * po/Makefile.in: Same.
3799 * libmath/Makefile.in: Same.
3800 * include/Makefile.in: Same.
3801 * testsuite/Makefile.in: Same.
3802 * libsupc++/Makefile.in: Same.
3803 * config.h.in: Same.
3806 * config/abi/pre/gnu.ver: Add atomics exports.
3808 * include/ext/typelist.h (apply_generator): New.
3809 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
3810 (_GLIBCXX_END_EXTERN_C): New.
3811 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
3813 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
3815 * testsuite/util/testsuite_common_types.h (integral_types): New
3817 (atomics, atomics_tl): Same.
3818 (assignable, default_constructible, copy_constructible,
3819 explicit_value_constructible): New.
3820 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
3821 * testsuite/29_atomics: New.
3822 * testsuite/29_atomics/atomic_address: Same.
3823 * testsuite/29_atomics/atomic_address/cons: Same.
3824 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
3825 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
3826 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
3827 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
3828 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
3829 * testsuite/29_atomics/atomic_flag: Same.
3830 * testsuite/29_atomics/atomic_flag/cons: Same.
3831 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
3832 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
3833 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
3834 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
3835 * testsuite/29_atomics/atomic_flag/requirements: Same.
3836 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
3838 * testsuite/29_atomics/atomic_flag/
3839 atomic_global_fence_compatibility.cc: Same.
3840 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
3841 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
3842 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
3843 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3844 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
3845 * testsuite/29_atomics/headers: Same.
3846 * testsuite/29_atomics/headers/cstdatomic: Same.
3847 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
3848 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
3849 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
3850 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
3851 * testsuite/29_atomics/headers/stdatomic.h: Same.
3852 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
3853 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
3854 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
3855 * testsuite/29_atomics/atomic: Same.
3856 * testsuite/29_atomics/atomic/cons: Same.
3857 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
3858 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
3859 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3860 * testsuite/29_atomics/atomic/cons/default.cc: Same.
3861 * testsuite/29_atomics/atomic/requirements: Same.
3862 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
3863 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
3866 2008-04-10 Lawrence Crowl <crowl@google.com>
3868 * include/c_global/cstdatomic: New.
3869 * include/c_compatibility/stdatomic.h: New.
3870 * src/atomic.c: New.
3872 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3874 * include/std/tuple: Consistency check for include guard, doxygen
3876 * include/std/date_time: Same.
3877 * include/std/type_traits: Same.
3878 * include/std/regex: Same.
3879 * include/std/array: Same.
3880 * include/std/system_error: Same, add error_code ctor.
3882 2008-04-07 Johannes Singler <singler@ira.uka.de>
3884 * include/parallel/multiway_merge.h: Moved decisions to
3885 compile-time instead of run-time.
3886 * include/parallel/losertree.h: Removed obsolete variants, added
3887 variant that uses pointers in the loser tree.
3888 * include/parallel/types.h: Remove obsolete settings options from enum.
3889 * include/parallel/features.h: Remove obsolete compile-time switches.
3890 * include/parallel/compiletime_settings.h: Remove obsolete variant
3891 that copies back *after* sorting.
3892 * include/parallel/tags.h: Add one new tag for compile-time switch.
3893 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
3894 * include/parallel/multiway_mergesort.h: Adapt to changes in
3895 multiway_merge.h. Factor out splitting variants. Remove obsolete
3896 variant that copies back *after* sorting.
3897 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
3898 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
3901 2008-03-29 Paolo Carlini <pcarlini@suse.de>
3904 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
3905 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
3906 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
3907 _Tp)): Fix signatures.
3908 * testsuite/25_algorithms/fill/35725.cc: New.
3909 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
3911 2008-03-29 Matthias Klose <doko@ubuntu.com>
3913 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
3914 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
3915 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
3916 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
3918 2008-03-27 Ian Lance Taylor <iant@google.com>
3920 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
3921 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
3922 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
3923 * aclocal.m4, configure: Rebuild.
3925 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
3927 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
3928 symbol_names typedefs.
3929 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
3930 for long double compatiblity symbols, simplify data structures used.
3932 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
3934 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
3936 * doc/doxygen/style.css: Delete.
3937 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
3939 (PREDEFINED): Update.
3940 (HTML_OUTPUT): Remove html_output_dir, use html.
3941 (HTML_STYLESHEET): Remove style.css.
3942 * doc/doxygen/tables.html: Remove style.css use.
3943 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
3944 * doc/doxygen/doxygroups.cc: Namespace edits.
3945 * doc/doxygen/Intro.3: Correct typo.
3947 * doc/xml/api.xml: Add gcc-4.3 links.
3948 * doc/html/api.html: Regenerate.
3950 * include/debug/debug.h: Document namepaces here.
3951 * include/parallel/base.h: Same.
3952 * include/ext/typelist.h: Same.
3953 * include/ext/pb_ds/tag_and_trait.hpp: Same.
3955 * include/tr1_impl/random: Adjust line break.
3956 * include/tr1_impl/unordered_map: Correct and or add markup.
3957 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
3958 * include/tr1_impl/functional_hash.h: Same.
3959 * include/tr1_impl/cmath: Same.
3960 * include/tr1_impl/functional: Same.
3961 * include/tr1_impl/unordered_set: Same.
3962 * include/tr1_impl/complex: Same.
3963 * include/tr1_impl/type_traits: Same.
3964 * include/tr1_impl/regex: Same.
3965 * include/tr1_impl/array: Same.
3966 * include/std/tuple: Same.
3967 * include/std/date_time: Same.
3968 * include/std/system_error: Same.
3969 * include/std/type_traits: Same.
3970 * include/ext/enc_filebuf.h: Same.
3971 * include/ext/throw_allocator.h: Same.
3972 * include/ext/pool_allocator.h: Same.
3973 * include/ext/bitmap_allocator.h: Same.
3974 * include/ext/concurrence.h: Same.
3975 * include/ext/codecvt_specializations.h: Same.
3976 * include/ext/stdio_sync_filebuf.h: Same.
3977 * include/ext/array_allocator.h: Same.
3978 * include/ext/mt_allocator.h: Same.
3979 * include/bits/locale_classes.h: Same.
3980 * include/bits/locale_facets.h: Same.
3981 * include/bits/codecvt.h: Same.
3982 * include/bits/char_traits.h: Same.
3983 * include/bits/allocator.h: Same.
3984 * include/bits/locale_facets_nonio.h: Same.
3985 * include/tr1/poly_laguerre.tcc: Same.
3986 * include/tr1/riemann_zeta.tcc: Same.
3987 * include/tr1/beta_function.tcc: Same.
3988 * include/tr1/tuple: Same.
3989 * include/tr1/exp_integral.tcc: Same.
3990 * include/tr1/gamma.tcc: Same.
3991 * include/tr1/hypergeometric.tcc: Same.
3992 * include/tr1/modified_bessel_func.tcc: Same.
3993 * include/tr1/legendre_function.tcc: Same.
3994 * include/tr1/type_traits: Same.
3995 * include/tr1/special_function_util.h: Same.
3996 * include/tr1/bessel_function.tcc: Same.
3997 * include/tr1/cmath: Same.
3998 * include/tr1/poly_hermite.tcc: Same.
3999 * include/tr1/ell_integral.tcc: Same.
4000 * config/abi/compatibility.h: Adjust file name.
4002 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4004 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4005 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4007 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4009 * doc/xml/faq.xml: Fix various links.
4010 * doc/xml/api.xml: Likewise.
4011 * doc/xml/manual/parallel_mode.xml: Likewise.
4012 * doc/html/faq.html: Regenerate.
4013 * doc/html/api.html: Likewise.
4014 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4016 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4018 * testsuite/util/testsuite_abi.cc: Add support for not counting
4019 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4022 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4025 * include/tr1_impl/type_traits (struct __in_array): Add back.
4026 (is_function): Use it.
4027 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4029 2008-03-20 Johannes Singler <singler@ira.uka.de>
4031 * include/parallel/set_operations.h (set_intersection): Remove.
4033 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4036 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4037 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4039 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4041 * configure.ac (libtool_VERSION): To 6:11:0.
4042 * configure: Regenerate.
4043 * aclocal.m4: Regenerate.
4045 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4047 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4049 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4050 * include/precompiled/stdc++.h: Likewise.
4052 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4054 * include/std/date_time: New file.
4055 * src/date_time.cc: New file.
4056 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4057 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4058 that matched new symbols.
4059 * include/Makefile.am: Add date_time in std headers.
4060 * src/Makefile.am: Add date_time.cc to source files.
4061 * include/Makefile.in: Regenerate.
4062 * src/Makefile.in: Likewise.
4064 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4066 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4067 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4068 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4069 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4070 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4071 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4072 * testsuite/31_date_time/system_time/requirements: Likewise.
4073 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4075 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4077 * config.h.in: Regenerate.
4079 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4081 * aclocal.m4: Regenerate.
4082 * configure: Likewise.
4083 * Makefile.in: Likewise.
4084 * doc/Makefile.in: Likewise.
4085 * include/Makefile.in: Likewise.
4086 * libmath/Makefile.in: Likewise.
4087 * libsupc++/Makefile.in: Likewise.
4088 * po/Makefile.in: Likewise.
4089 * src/Makefile.in: Likewise.
4090 * testsuite/Makefile.in: Likewise.
4092 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
4095 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4096 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4098 2008-03-13 Paolo Carlini <pcarlini@suse.de>
4101 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4102 * testsuite/25_algorithms/set_difference/35541.cc: New.
4104 2008-03-07 Jakub Jelinek <jakub@redhat.com>
4106 * config/abi/pre/gnu.ver: Move <system_error> related
4107 symbols to GLIBCXX_3.4.11 symbol version.
4108 * testsuite/util/testsuite_abi.cc (check_version): Allow
4111 2008-03-06 Chris Jefferson <chris@bubblescope.net>
4112 Paolo Carlini <pcarlini@suse.de>
4115 * include/tr1/tuple (operator==, operator<): Fix.
4116 * include/std/tuple (operator==, operator<): Likewise.
4117 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4118 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
4120 2008-03-04 Joseph Myers <joseph@codesourcery.com>
4122 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
4124 * configure: Regenerate.
4126 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
4128 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
4129 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
4130 Mark changed error message prelude, adding "in file included from",
4131 using dg-excess-errors.
4133 2008-03-01 Jakub Jelinek <jakub@redhat.com>
4135 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
4136 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4137 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4138 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
4139 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4141 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4142 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4144 2008-02-29 Jakub Jelinek <jakub@redhat.com>
4146 * config/abi/pre/gnu.ver: Remove
4147 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
4148 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
4149 * config/os/gnu-linux/ldbl-extra.ver: Export
4150 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
4151 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
4152 * src/hash.cc: Only define long double hash specialization if
4153 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
4154 * src/compatibility-ldbl.cc: Include "hash.cc".
4155 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
4156 (_ZNKSt4hashIeEclEe): New alias.
4157 * testsuite/util/testsuite_abi.cc (check_version): Support
4158 GLIBCXX_LDBL_3.4.10.
4160 2008-02-25 Jan Beulich <jbeulich@novell.com>
4162 * acinclude.m4: Also check for EIDRM and ETXTBSY.
4163 * configure: Re-generate.
4164 * config/os/generic/error_constants.h (namespace posix_error):
4165 Also wrap uses of EIDRM and ETXTBSY in conditionals.
4166 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
4169 2008-02-20 Jason Merrill <jason@redhat.com>
4171 * include/bits/c++config: Use 'inline namespace' instead of
4174 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
4176 * include/std/tuple: Fixes for moveable, non-copyable types.
4177 * testsuite/20_util/tuple/moveable2.cc: New.
4179 2008-02-18 Paolo Carlini <pcarlini@suse.de>
4181 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
4183 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
4185 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
4186 * include/tr1/exp_integral.tcc: Same.
4187 * include/tr1/gamma.tcc: Same.
4188 * include/tr1/hypergeometric.tcc: Same.
4190 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
4193 * include/parallel/settings.h (_Settings): Reconstruct Settings class
4194 here, uglify, remove anonymous namespace and static
4195 members. Convert to datum.
4196 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
4197 * src/parallel_settings.cc: New, definition for _Settings member
4199 * include/parallel/multiway_merge.h: Same.
4200 * include/parallel/for_each.h: Same.
4201 * include/parallel/workstealing.h: Same.
4202 * include/parallel/base.h: Same.
4203 * include/parallel/numeric
4204 * include/parallel/features.h: Same.
4205 * include/parallel/quicksort.h: Same.
4206 * include/parallel/equally_split.h: Same.
4207 * include/parallel/algorithmfwd.h: Same.
4208 * include/parallel/omp_loop_static.h: Same.
4209 * include/parallel/random_shuffle.h: Same.
4210 * include/parallel/balanced_quicksort.h: Same.
4211 * include/parallel/tags.h: Same.
4212 * include/parallel/multiway_mergesort.h: Same.
4213 * include/parallel/numericfwd.h: Same.
4214 * include/parallel/partition.h: Same.
4215 * include/parallel/partial_sum.h: Same.
4216 * include/parallel/find.h: Same.
4217 * include/parallel/algo.h: Same.
4218 * include/parallel/omp_loop.h: Same.
4219 * include/parallel/sort.h: Same.
4221 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
4222 * src/Makefile.in: Regenerate.
4224 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
4226 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4229 * include/parallel/types.h: Reinstate integer types typedefs.
4230 * include/parallel/multiseq_selection.h: Adjust.
4231 * include/parallel/compatibility.h: Likewise.
4232 * include/parallel/random_shuffle.h: Likewise.
4233 * include/parallel/random_number.h: Likewise.
4234 * include/parallel/base.h: Likewise.
4236 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4239 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
4240 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
4241 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
4243 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
4245 * include/parallel/random_number.h: Use TR1's mersenne_twister.
4246 (random_number::genrand_bits()): Remove.
4247 (random_number::set_seed): Remove.
4249 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4251 * include/parallel/types.h: Remove enum parallelism.
4253 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4255 * include/parallel/types.h: Move enum parallelism here. Use
4256 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
4258 * include/parallel/multiseq_selection.h: Adjust for cstdint.
4259 * include/parallel/compatibility.h: Same.
4260 * include/parallel/tags.h: Just compile-time tags.
4261 * include/parallel/base.h: Put namespace bits here.
4263 * src/Makefile.am (PARALLEL_FLAGS): Use it.
4264 * src/Makefile.in: Regenerate.
4266 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
4268 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
4270 * testsuite/config/default.exp: Load gcc dejapatches.exp.
4272 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4274 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
4277 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
4279 * config/os/generic/error_constants.h (posix_errno): Guard
4280 not_supported use of ENOTSUP.
4281 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
4283 * aclocal.m4: Regenerate.
4284 * configure: Rengerate.
4285 * config.h.in: Same.
4287 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
4289 * doc/doxygen/mainpage.html: Correct links.
4291 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4293 * doc/html/*: Populate with regenerated files.
4295 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4297 * doc/html/*: Remove all but contents of ext/pb_ds.
4298 * doc/html/index.html: New.
4299 * doc/html/README: New.
4301 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4303 * doc/doxygen/mainpage.html: Add in corrected links.
4304 * README: Edit, move most into...
4305 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
4306 (Documentation Style): Revise.
4307 * doc/xml/spine.xml: Edit file names.
4308 * doc/Makefile.am: Edit xml_sources.
4309 * doc/Makefile.in: Regenerate.
4311 2008-02-11 Paolo Carlini <pcarlini@suse.de>
4313 * configure: Regenerate with documented autoconf and automake
4314 versions (i.e., 2.59 and 1.9.6).
4315 * Makefile.in: Likewise.
4316 * src/Makefile.in: Likewise.
4317 * doc/Makefile.in: Likewise.
4318 * po/Makefile.in: Likewise.
4319 * libmath/Makefile.in: Likewise.
4320 * include/Makefile.in: Likewise.
4321 * libsupc++/Makefile.in: Likewise.
4322 * testsuite/Makefile.in: Likewise.
4323 * aclocal.m4: Likewise.
4325 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
4327 Convert documentation to DocBook.
4328 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
4329 (doc-doxygen-man): Changed to doc-man-doxygen.
4330 (doc-performance): Changed to doc-html-performance.
4331 (doc-xml-doxygen): New.
4332 (doc-xml-single): New.
4333 (doc-xml-validate): New.
4335 (doc-html-single): New.
4338 (doc-pdf-fop-xml): New.
4339 (doc-pdf-fop-fo): New.
4340 (doc-pdf-xmlto): New.
4341 (doc-pdf-xmlroff): New.
4342 (doc-pdf-prince): New.
4343 * doc/xml: New directory.
4344 * doc/xml/authors.xml: New.
4345 * doc/xml/images: New directory.
4346 * doc/xml/images/confdeps.png: Add.
4347 * doc/xml/images/confdeps.dot: Add.
4348 * doc/xml/faq.xml: New.
4349 * doc/xml/api.xml: New.
4350 * doc/xml/gnu: New directory.
4351 * doc/xml/gnu/gpl-3.0.xml: New.
4352 * doc/xml/gnu/fdl-1.2.xml: New.
4353 * doc/xml/gnu/gpl-2.0.xml: New.
4354 * doc/xml/manual: New directory.
4355 * doc/xml/manual/mt_allocator.xml: New.
4356 * doc/xml/manual/allocator.xml: New.
4357 * doc/xml/manual/ctype.xml: New.
4358 * doc/xml/manual/numerics.xml: New.
4359 * doc/xml/manual/codecvt.xml: New.
4360 * doc/xml/manual/concurrency.xml: New.
4361 * doc/xml/manual/backwards_compatibility.xml: New.
4362 * doc/xml/manual/intro.xml: New.
4363 * doc/xml/manual/shared_ptr.xml: New.
4364 * doc/xml/manual/abi.xml: New.
4365 * doc/xml/manual/status_cxxtr1.xml: New.
4366 * doc/xml/manual/auto_ptr.xml: New.
4367 * doc/xml/manual/build.xml: New.
4368 * doc/xml/manual/internals.xml: New.
4369 * doc/xml/manual/parallel_mode.xml: New.
4370 * doc/xml/manual/status_cxx1998.xml: New.
4371 * doc/xml/manual/containers.xml: New.
4372 * doc/xml/manual/io.xml: New.
4373 * doc/xml/manual/appendix_porting.xml: New.
4374 * doc/xml/manual/utilities.xml: New.
4375 * doc/xml/manual/bitmap_allocator.xml: New.
4376 * doc/xml/manual/support.xml: New.
4377 * doc/xml/manual/configure.xml: New.
4378 * doc/xml/manual/build_hacking.xml: New.
4379 * doc/xml/manual/evolution.xml: New.
4380 * doc/xml/manual/using.xml: New.
4381 * doc/xml/manual/debug.xml: New.
4382 * doc/xml/manual/localization.xml: New.
4383 * doc/xml/manual/strings.xml: New.
4384 * doc/xml/manual/debug_mode.xml: New.
4385 * doc/xml/manual/locale.xml: New.
4386 * doc/xml/manual/extensions.xml: New.
4387 * doc/xml/manual/appendix_contributing.xml: New.
4388 * doc/xml/manual/messages.xml: New.
4389 * doc/xml/manual/diagnostics.xml: New.
4390 * doc/xml/manual/appendix_free.xml: New.
4391 * doc/xml/manual/algorithms.xml: New.
4392 * doc/xml/manual/iterators.xml: New.
4393 * doc/xml/manual/spine.xml: New.
4394 * doc/xml/manual/test.xml: New.
4395 * doc/xml/manual/status_cxx200x.xml: New.
4396 * doc/xml/spine.xml: New.
4398 * doc/xml/book.txml: New. Template file.
4399 * doc/xml/chapter.txml: Same.
4400 * doc/xml/class.txml: Same.
4402 * doc/doxygen/guide.html: Removed, integrated into other docs.
4403 * doc/doxygen/user.cfg.in: Clean up XML generation.
4404 * doc/doxygen/run_doxygen: Move to..
4405 * scripts/run_doxygen: ...here.
4407 * configure: Regenerate.
4408 * Makefile.in: Regenerate.
4409 * src/Makefile.in: Regenerate.
4410 * doc/Makefile.in: Regenerate.
4411 * po/Makefile.in: Regenerate.
4412 * libmath/Makefile.in: Regenerate.
4413 * include/Makefile.in: Regenerate.
4414 * libsupc++/Makefile.in: Regenerate.
4415 * testsuite/Makefile.in: Regenerate.
4416 * aclocal.m4: Regenerate.
4418 2008-02-10 Paolo Carlini <pcarlini@suse.de>
4421 * include/std/istream (basic_istream<>::basic_istream()): Call
4423 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
4424 do it here, per 27.6.1.5.1/1.
4425 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
4427 * testsuite/27_io/basic_iostream/cons/16251.C: New.
4429 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
4431 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4433 * include/backward/auto_ptr.h: Fix comment typos.
4434 * include/bits/algorithmfwd.h: Likewise.
4435 * include/bits/basic_ios.h: Likewise.
4436 * include/bits/c++config: Likewise.
4437 * include/bits/char_traits.h: Likewise.
4438 * include/bits/codecvt.h: Likewise.
4439 * include/bits/gslice.h: Likewise.
4440 * include/bits/ios_base.h: Likewise.
4441 * include/bits/locale_facets.h: Likewise.
4442 * include/bits/locale_facets_nonio.tcc: Likewise.
4443 * include/bits/postypes.h: Likewise.
4444 * include/bits/sstream.tcc: Likewise.
4445 * include/bits/stl_algo.h: Likewise.
4446 * include/bits/stl_deque.h: Likewise.
4447 * include/bits/stl_iterator.h: Likewise.
4448 * include/bits/stl_iterator_base_types.h Likewise.
4449 * include/bits/stl_list.h: Likewise.
4450 * include/bits/stl_map.h: Likewise.
4451 * include/bits/stl_multimap.h: Likewise.
4452 * include/bits/stl_multiset.h: Likewise.
4453 * include/bits/stl_set.h: Likewise.
4454 * include/bits/stl_vector.h: Likewise.
4455 * include/bits/valarray_array.h: Likewise.
4456 * include/debug/safe_base.h: Likewise.
4457 * include/ext/bitmap_allocator.h: Likewise.
4458 * include/ext/codecvt_specializations.h Likewise.
4459 * include/ext/mt_allocator.h: Likewise.
4460 * include/ext/rc_string_base.h: Likewise.
4461 * include/ext/rope: Likewise.
4462 * include/parallel/checkers.h: Likewise.
4463 * include/parallel/find.h: Likewise.
4464 * include/parallel/multiseq_selection.h: Likewise.
4465 * include/parallel/partition.h: Likewise.
4466 * include/parallel/settings.h: Likewise.
4467 * include/std/bitset: Likewise.
4468 * include/std/complex: Likewise.
4469 * include/std/fstream: Likewise.
4470 * include/std/istream: Likewise.
4471 * include/std/limits: Likewise.
4472 * include/std/ostream: Likewise.
4473 * include/std/stdexcept: Likewise.
4474 * include/std/streambuf: Likewise.
4475 * include/tr1/bessel_function.tcc: Likewise.
4476 * include/tr1/cmath: Likewise.
4477 * include/tr1/ell_integral.tcc: Likewise.
4478 * include/tr1/hypergeometric.tcc: Likewise.
4479 * include/tr1/legendre_function.tcc: Likewise.
4480 * include/tr1_impl/random: Likewise.
4481 * include/tr1_impl/regex: Likewise.
4483 2008-01-31 Paolo Carlini <pcarlini@suse.de>
4485 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
4486 Avoid -Wall warnings.
4487 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
4489 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4491 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
4492 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
4493 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
4494 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
4496 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
4498 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
4500 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
4501 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
4503 * testsuite/tr1/6_containers/array/comparison_operators/
4504 less_or_equal.cc: Likewise.
4505 * testsuite/tr1/6_containers/array/comparison_operators/
4506 greater_or_equal.cc: Likewise.
4507 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
4509 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
4511 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
4513 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
4515 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
4516 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
4518 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
4519 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
4520 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
4521 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
4523 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
4524 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
4525 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
4526 * testsuite/thread/guard.cc: Likewise.
4527 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
4528 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
4529 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
4530 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
4531 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
4532 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
4533 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
4536 2008-01-26 David Edelsohn <edelsohn@gnu.org>
4539 * config/os/aix/os_defines.h: Define __COMPATMATH__.
4541 2008-01-24 David Edelsohn <edelsohn@gnu.org>
4543 * configure: Regenerate.
4545 2008-01-21 Matthias Klose <doko@ubuntu.com>
4547 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
4549 2008-01-19 Paolo Carlini <pcarlini@suse.de>
4551 * configure: Regenerate.
4552 * Makefile.in: Likewise.
4553 * src/Makefile.in: Likewise.
4554 * doc/Makefile.in: Likewise.
4555 * po/Makefile.in: Likewise.
4556 * libmath/Makefile.in: Likewise.
4557 * include/Makefile.in: Likewise.
4558 * libsupc++/Makefile.in: Likewise.
4559 * testsuite/Makefile.in: Likewise.
4560 * aclocal.m4: Likewise.
4562 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
4566 * testsuite/Makefile.am: Move doc-performance to...
4567 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
4568 * doc/Makefile.am: Consolidate documentation creation here.
4569 (doc-doxygen-html): New.
4570 (doc-doxygen-man): New.
4571 (doc-performance): New.
4572 * doc/Makefile.in: New.
4573 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
4574 * doc/doxygen/guide.html: Edit for unified html configuration.
4575 * doc/doxygen/mainpage.html: Same.
4576 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
4578 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
4580 * include/tr1_impl/random: Remove maint from doxygen markup.
4581 * include/tr1_impl/functional: Same.
4582 * include/std/tuple: Same.
4583 * include/std/streambuf: Same.
4584 * include/std/bitset: Same.
4585 * include/std/limits: Same.
4586 * include/std/fstream: Same.
4587 * include/std/istream: Same.
4588 * include/std/sstream: Same.
4589 * include/ext/pool_allocator.h: Same.
4590 * include/ext/rc_string_base.h: Same.
4591 * include/bits/basic_ios.h: Same.
4592 * include/bits/stl_list.h: Same.
4593 * include/bits/stl_map.h: Same.
4594 * include/bits/locale_classes.h: Same.
4595 * include/bits/stl_set.h: Same.
4596 * include/bits/stl_iterator_base_types.h: Same.
4597 * include/bits/basic_string.h: Same.
4598 * include/bits/stl_multimap.h: Same.
4599 * include/bits/stl_vector.h: Same.
4600 * include/bits/ios_base.h: Same.
4601 * include/bits/stl_deque.h: Same.
4602 * include/bits/postypes.h: Same.
4603 * include/bits/stl_multiset.h: Same.
4604 * include/bits/stl_algo.h: Same.
4605 * include/bits/stl_iterator.h: Same.
4606 * include/bits/stl_tempbuf.h: Same.
4607 * include/bits/stl_construct.h: Same.
4608 * include/bits/stl_relops.h: Same.
4609 * include/tr1/tuple: Same.
4610 * include/backward/auto_ptr.h: Same.
4612 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4613 Fixups for line number changes.
4614 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4615 * testsuite/23_containers/vector/requirements/dr438/
4616 constructor_1_neg.cc: Same.
4617 * testsuite/23_containers/vector/requirements/dr438/
4618 constructor_2_neg.cc: Same.
4619 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4620 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4621 * testsuite/23_containers/deque/requirements/dr438/
4622 constructor_1_neg.cc: Same.
4623 * testsuite/23_containers/deque/requirements/dr438/
4624 constructor_2_neg.cc: Same.
4625 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4626 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4627 * testsuite/23_containers/list/requirements/dr438/
4628 constructor_1_neg.cc: Same.
4629 * testsuite/23_containers/list/requirements/dr438/
4630 constructor_2_neg.cc: Same.
4631 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
4633 * aclocal.m4: Regenerate.
4634 * config.h.in: Regenerate.
4635 * configure: Regenerate.
4636 * Makefile.in: Regenerate.
4637 * src/Makefile.in: Regenerate.
4638 * po/Makefile.in: Regenerate.
4639 * libmath/Makefile.in: Regenerate.
4640 * include/Makefile.in: Regenerate.
4641 * libsupc++/Makefile.in: Regenerate.
4642 * testsuite/Makefile.in: Regenerate.
4644 * scripts/make_graphs.py: Correct paths for new layout.
4646 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
4648 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
4649 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
4650 * configure: Regenerate.
4651 * aclocal.m4: Regenerate.
4653 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4655 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
4656 * include/parallel/numeric: Likewise.
4657 * include/parallel/balanced_quicksort.h: Likewise.
4658 * include/parallel/unique_copy.h: Likewise.
4659 * include/parallel/algobase.h: Likewise.
4660 * include/parallel/algo.h: Likewise.
4662 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
4664 * crossconfig.m4: Add missing header checks, C99 TR1 check,
4665 and sigsetjmp check.
4667 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4669 * include/parallel/tree.h: Remove.
4670 * include/Makefile.am: Update.
4671 * include/Makefile.in: Rebuild.
4673 * src/Makefile.am: Remove spurious trailing backslash.
4674 * src/Makefile.in: Rebuild.
4675 * po/Makefile.in: Likewise.
4676 * libmath/Makefile.in: Likewise.
4677 * testsuite/Makefile.in: Likewise.
4678 * libsupc++/Makefile.in: Likewise.
4679 * aclocal.m4: Likewise.
4680 * Makefile.in: Likewise.
4681 * configure: Likewise.
4683 2008-01-12 Paolo Carlini <pcarlini@suse.de>
4686 * include/debug/functions.h (__check_sorted_set,
4687 __check_sorted_set_aux): Add.
4688 (__check_sorted): Check StrictWeakOrdering.
4689 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
4690 __glibcxx_check_strict_weak_ordering_pred): Remove.
4691 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
4692 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
4693 * include/debug/debug.h (__glibcxx_requires_sorted_set,
4694 __glibcxx_requires_sorted_set_pred): Add.
4695 * include/bits/stl_algo.h (merge, includes, set_union,
4696 set_intersection, set_difference, set_symmetric_difference):
4697 Adjust, use __glibcxx_requires_sorted_set* instead.
4698 * testsuite/25_algorithms/set_intersection/34730.cc: New.
4700 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4702 * include/parallel/multiway_merge.h: Reformat to 80 columns;
4703 adjust some inline specifiers; other minor style fixes.
4704 * include/parallel/losertree.h: Likewise.
4705 * include/parallel/list_partition.h: Likewise.
4706 * include/parallel/multiseq_selection.h: Likewise.
4707 * include/parallel/workstealing.h: Likewise.
4708 * include/parallel/base.h: Likewise.
4709 * include/parallel/par_loop.h: Likewise.
4710 * include/parallel/numeric: Likewise.
4711 * include/parallel/quicksort.h: Likewise.
4712 * include/parallel/algorithmfwd.h: Likewise.
4713 * include/parallel/for_each_selectors.h: Likewise.
4714 * include/parallel/omp_loop_static.h: Likewise.
4715 * include/parallel/random_shuffle.h: Likewise.
4716 * include/parallel/balanced_quicksort.h: Likewise.
4717 * include/parallel/set_operations.h: Likewise.
4718 * include/parallel/tree.h: Likewise.
4719 * include/parallel/merge.h: Likewise.
4720 * include/parallel/unique_copy.h: Likewise.
4721 * include/parallel/settings.h: Likewise.
4722 * include/parallel/multiway_mergesort.h: Likewise.
4723 * include/parallel/numericfwd.h: Likewise.
4724 * include/parallel/search.h: Likewise.
4725 * include/parallel/partition.h: Likewise.
4726 * include/parallel/compatibility.h: Likewise.
4727 * include/parallel/partial_sum.h: Likewise.
4728 * include/parallel/find.h: Likewise.
4729 * include/parallel/algo.h: Likewise.
4730 * include/parallel/queue.h: Likewise.
4731 * include/parallel/omp_loop.h: Likewise.
4732 * include/parallel/sort.h: Likewise.
4733 * include/parallel/random_number.h: Likewise.
4735 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
4737 * docs/html/17_intro/api.html: Fix markup for rope.h.
4739 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4741 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
4743 * include/parallel/find_selectors.h: Likewise.
4744 * include/parallel/losertree.h: Likewise.
4745 * include/parallel/list_partition.h: Likewise.
4746 * include/parallel/for_each.h: Likewise.
4747 * include/parallel/multiseq_selection.h: Likewise.
4748 * include/parallel/algorithmfwd.h: Likewise.
4749 * include/parallel/for_each_selectors.h: Likewise.
4750 * include/parallel/balanced_quicksort.h: Likewise.
4751 * include/parallel/merge.h: Likewise.
4752 * include/parallel/algobase.h: Likewise.
4753 * include/parallel/find.h: Likewise.
4754 * include/parallel/algo.h: Likewise.
4755 * include/parallel/checkers.h: Likewise.
4757 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
4759 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
4760 of __detail::_Map_base<>.
4762 2008-01-08 Paolo Carlini <pcarlini@suse.de>
4764 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
4765 not include <cassert>.
4766 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4768 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
4770 2008-01-08 Jakub Jelinek <jakub@redhat.com>
4772 * configure.ac (--enable-linux-futex): Add new configure option.
4773 (HAVE_LINUX_FUTEX): New AC_DEFINE.
4774 * Makefile.in: Rebuilt.
4775 * aclocal.m4: Rebuilt.
4776 * configure: Rebuilt.
4777 * config.h.in: Rebuilt.
4778 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4779 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4780 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4781 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4782 * libsupc++/guard.cc: Include climits and syscall.h.
4783 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
4785 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
4786 (__guard_test_bit): New static inline.
4787 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
4788 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
4790 2008-01-07 Paolo Carlini <pcarlini@suse.de>
4793 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
4794 use dynamic_cast when run-time type identification is disabled; do
4795 not mark inline; only declare, define...
4796 * include/bits/locale_classes.tcc: ... here.
4798 2008-01-06 Ted Phelps <phelps@gnusto.com>
4801 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
4802 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
4804 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4807 * include/parallel/multiway_merge.h (multiway_merge_bubble,
4808 parallel_multiway_merge): Together with ::operator new use
4810 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
4811 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
4812 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
4813 sequential_random_shuffle): Likewise.
4814 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
4816 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
4817 parallel_sort_mwms): Likewise.
4818 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
4820 * testsuite/25_algorithms/sort/34095.cc: New.
4822 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4824 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
4826 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4829 * include/parallel/algobase.h (lexicographical_compare_switch(...,
4830 random_access_iterator_tag, random_access_iterator_tag)): Careful
4831 with undereferenceable iterators.
4832 * testsuite/25_algorithms/sort/34636.cc: New.