1 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
4 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
5 _Fwd_list_const_iterator::_M_next): Fix return type.
7 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
9 * Revert last commit, reopen and suspend libstdc++/38678.
11 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
14 * include/std/istream (basic_istream<>::_M_read): New.
15 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
16 (basic_istream<>::read, basic_istream<>::readsome): Use it.
17 * include/std/ostream (basic_ostream<>::_M_write_): New.
18 (basic_ostream<>::_M_write): Adjust.
19 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
20 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
21 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
22 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
23 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
25 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
27 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
30 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
32 * doc/doxygen/stdheader.cc: Add cstdlib.
33 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
35 2008-12-21 Andrew Pinski <pinskia@gmail.com>
38 * configure: Regenerate.
40 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
43 * include/tr1_impl/functional (function<>::target,
44 function<>::target_type): Provide only when __GXX_RTTI is defined.
45 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
46 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
49 2008-12-19 Ben Elliston <bje@au.ibm.com>
51 * acinclude.m4: Guard a variable test against an empty string.
52 * configure: Regenerate.
54 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
56 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
57 Add xfail on all targets except darwin.
58 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
60 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
61 for xfailing on all targets except linux.
63 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
65 * configure: Regenerate.
67 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
69 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
70 Don't xfail test on darwin8 or later.
72 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
74 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
75 Don't xfail excessive errors on darwin8 or later.
77 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
79 * include/c_global/cstdatomic: Remove assert include.
80 * include/debug/debug.h: Consolidate __replacement_assert...
81 * include/parallel/base.h: Consolidate __replacement_assert...
82 * include/bits/c++config: ...here.
83 * include/bits/atomic_0.h: Use it.
84 * include/bits/atomic_2.h: Same.
85 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
86 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
88 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
90 * src/atomic.cc: Revert last change.
91 * include/bits/atomic_2.h: Move cassert include to...
92 * include/c_global/cstdatomic: ...here.
93 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
94 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
96 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
98 * src/Makefile.am: Remove -x c++ for atomic build rules.
99 * src/Makefile.in: Regenerate.
100 * src/atomic.cc: Move mutex include before cstdatomic.
102 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
105 * testsuite/util/regression/trait/assoc/type_trait.hpp
106 (regression_test_type_traits): Add const to pair_type_rebind.
108 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
110 * src/atomic.cc: Correct guards to match mutex.cc.
112 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
113 Richard Henderson <rth@redhat.com>
115 * include/c_global/cstdatomic: Update to N2798.
116 (atomic): Remove explicit constructors as per DR 845.
117 * include/bits/atomic_0.h: New. Switchable implementation.
118 * include/bits/atomic_2.h: New. Lock-free implementation.
119 * include/c_compatibility/stdatomic.h: Use foward headers.
120 * include/bits/atomicfwd_cxx.h: New.
121 * include/bits/atomicfwd_c.h: New.
122 * src/atomic.cc: Adjust.
123 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
124 unconditionally use default/deleted syntax.
125 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
126 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
127 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
128 * include/Makefile.in: Regenerate.
129 * configure: Regenerate.
130 * config.h.in: Regenerate.
131 * config/abi/pre/gnu.ver: Adjust exports.
133 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
134 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
135 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
136 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
137 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
138 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
139 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
140 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
141 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
142 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
143 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
144 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
145 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
146 * testsuite/29_atomics/atomic_integral/requirements/
147 standard_layout.cc: New.
148 * testsuite/29_atomics/atomic_integral/operators/
149 integral_assignment.cc: New.
150 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
151 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
152 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
153 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
154 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
155 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
156 * testsuite/29_atomics/atomic_integral/operators/
157 integral_conversion.cc: New.
158 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
159 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
160 * testsuite/29_atomics/atomic_flag/requirements/
161 standard_layout.cc: Same.
162 * testsuite/29_atomics/atomic_flag/
163 atomic_global_fence_compatibility.cc: Kill.
164 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
165 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
166 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
167 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
168 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
169 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
170 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
171 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
172 * testsuite/29_atomics/atomic/cons/copy_neg.cc
173 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
174 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
175 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
176 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
177 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
178 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
179 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
180 * testsuite/util/testsuite_common_types.h: ...here.
181 (atomic_integrals_no_bool): New.
182 (atomic_integrals): New.
183 (has_increment_operators, has_decrement_operators)
184 (direct_list_initializable, single_value_constructible)
185 (standard_layout, has_bitwise_operators, integral_convertable)
186 (integral_assignable): Add.
188 2008-12-11 Jakub Jelinek <jakub@redhat.com>
191 * testsuite/26_numerics/headers/cmath/37582.cc: New.
193 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
195 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
197 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
198 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
199 * configure: Regenerate.
201 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
203 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
205 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
208 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
209 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
212 2008-12-05 Tom Tromey <tromey@redhat.com>
214 * include/tr1_impl/functional (_Mu): Fix typo.
216 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
219 * include/bits/locale_facets_nonio.tcc (money_get<>::
220 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
221 string&)): Fix, reject decimal point when frac_digits <= 0.
222 * testsuite/22_locale/money_get/get/char/38399.cc: New.
223 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
224 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
225 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
227 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
230 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
232 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
233 * testsuite/22_locale/locale/cons/7.cc: Likewise.
235 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
238 * config/locale/gnu/numeric_members.cc (numpunct<char>::
239 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
240 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
241 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
242 _M_initialize_moneypunct, moneypunct<char, false>::
243 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
244 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
245 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
246 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
247 * testsuite/22_locale/locale/cons/38368.cc: New.
249 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
251 PR libstdc++/38365 (cont)
252 * src/localename.cc (locale::locale(const locale&, const locale&,
253 category)): Revert last changes.
254 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
255 Fix here instead; rework.
257 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
260 * src/localename.cc (locale::locale(const locale&, const locale&,
262 * testsuite/22_locale/locale/cons/38365.cc: New.
264 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
267 * include/std/iostream: Correct URL.
268 * include/std/streambuf: Same.
269 * include/std/bitset: Same.
270 * include/std/iosfwd: Same.
271 * include/std/fstream: Same.
272 * include/std/istream: Same.
273 * include/std/ostream: Same.
274 * include/std/sstream: Same.
275 * include/bits/basic_ios.h: Same.
276 * include/bits/stl_map.h: Same.
277 * include/bits/stl_set.h: Same.
278 * include/bits/stl_multimap.h: Same.
279 * include/bits/ios_base.h: Same.
280 * include/bits/stl_multiset.h: Same.
281 * include/bits/char_traits.h: Same.
282 * include/bits/stl_relops.h: Same.
283 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
284 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
286 2008-11-26 Janis Johnson <janis187@us.ibm.com>
289 * testsuite/lib/libstdc++.exp: Include new timeout library files.
290 (libstdc++_init): Define tool_timeout.
291 (dg-test): Override DejaGnu proc.
292 (v3_target_compile): Set timeout value from new proc.
293 (v3_target_compile_as_c): Ditto.
295 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
297 PR libstdc++/38244 (cont, debug bits)
298 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
299 Remove, do not implement DR 778.
301 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
304 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
305 Remove, do not implement DR 778.
306 * doc/xml/manual/intro.xml: Remove entry for DR 778.
307 * testsuite/23_containers/bitset/cons/2.cc: Remove.
308 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
309 * testsuite/23_containers/bitset/cons/38244.cc: Add.
311 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
313 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
314 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
316 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
319 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
320 ios_base&, char_type, const void*)): Fix.
321 * testsuite/22_locale/num_put/put/char/38210.cc: New.
322 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
324 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
327 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
328 ios_base&, char_type, bool)): Fix.
329 * testsuite/22_locale/num_put/put/char/38196.cc: New.
330 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
332 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
334 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
335 * include/tr1_impl/cfenv: Likewise.
336 * include/tr1_impl/cstdint: Likewise.
338 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
341 * include/c_global/csignal: Do not use include_next.
342 * include/c_global/cstdlib: Likewise.
343 * include/c_global/cstdio: Likewise.
344 * include/c_global/cstdarg: Likewise.
345 * include/c_global/cctype: Likewise.
346 * include/c_global/cerrno: Likewise.
347 * include/c_global/cmath: Likewise.
348 * include/c_global/clocale: Likewise.
349 * include/c_global/climits: Likewise.
350 * include/c_global/cassert: Likewise.
351 * include/c_global/csetjmp: Likewise.
352 * include/c_global/cwchar: Likewise.
353 * include/c_global/cfloat: Likewise.
354 * include/c_global/cstdbool: Likewise.
355 * include/c_global/cstring: Likewise.
356 * include/c_global/cstddef: Likewise.
357 * include/c_global/cwctype: Likewise.
358 * include/tr1/cstdbool: Likewise.
359 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
360 * include/c_global/cinttypes: Do it here.
361 * include/tr1/cinttypes: Likewise.
362 * include/tr1_impl/cfenv: Do not include <fenv.h>.
363 * include/c_global/cfenv: Do it here.
364 * include/tr1/cfenv: Likewise.
365 * include/tr1_impl/cstdint: Do not include <stdint.h>.
366 * include/c_global/cstdint: Do it here.
367 * include/tr1/cstdint: Likewise.
368 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
369 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
370 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
372 * include/c_compatibility/math.h: Minor tweak, add comment.
374 2008-11-12 Steve Ellcey <sje@cup.hp.com>
376 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
377 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
379 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
381 PR libstdc++/37986 (cont)
382 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
384 (struct _Adaptor<_Engine*, _Distribution>): Add.
385 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
388 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
391 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
392 and remove_reference on _Engine.
393 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
396 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
398 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
400 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
402 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
403 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
406 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
408 * include/bits/forward_list.h: Support non-standard pointer types
409 (_Fwd_list_node_base): Add _Alloc template parameter.
410 (_Fwd_list_node<>): Likewise.
411 (_Fwd_list_iterator<>): Likewise.
412 (_Fwd_list_const_iterator<>): Likewise.
413 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
414 Use _Alloc<_Tp>::pointer.
415 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
416 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
417 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
418 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
419 (forward_list<>): Use __static_pointer_cast in place of static_cast,
420 and __const_pointer_cast in place of const_cast.
421 * include/bits/forward_list.tcc
422 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
423 of standard pointers, __static_pointer_cast in place of static_cast.
424 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
426 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
427 splice_after, remove, remove_if, merge): Likewise.
428 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
429 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
431 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
433 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
435 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
437 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
439 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
441 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
443 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
445 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
447 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
449 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
451 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
453 * testsuite/23_containers/forward_list/ext_pointer/requirements/
454 explicit_instantiation/1.cc: Likewise.
455 * testsuite/23_containers/forward_list/ext_pointer/requirements/
456 explicit_instantiation/3.cc: Likewise.
457 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
459 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
461 * include/ext/extptr_allocator.h: Minor tweaks.
462 * include/ext/pointer.h: Likewise.
463 * include/ext/cast.h: Likewise.
465 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
468 * config/locale/gnu/monetary_members.cc (moneypunct<>::
469 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
470 delete for __wcs_ps and __wcs_ns.
472 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
474 * include/ext/pointer.h: New, add experimental support for non-standard
475 pointer types in containers via the allocator::pointer typedef.
476 (Currently only supported/working with std::vector)
477 * include/ext/cast.h: New, add overload-able pointer casting functions
478 for use in containers supporting non-standard pointer types.
479 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
480 * include/Makefile.am: Update.
481 * include/precompiled/extc++.h: Likewise.
482 * include/Makefile.in: Regenerate.
483 * testsuite/ext/ext_pointer/1.cc: New.
484 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
485 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
486 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
487 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
488 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
489 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
491 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
493 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
495 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
497 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
500 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
504 * include/tr1_impl/functional (result_of,reference_wrapper): Update
505 to use C++0x features.
506 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
507 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
509 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
511 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
513 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
517 * include/tr1_impl/functional (result_of,reference_wrapper): Update
518 to use C++0x features.
519 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
520 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
522 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
524 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
526 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
528 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
529 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
530 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
531 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
533 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
535 PR libstdc++/37958 (cont again)
536 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
537 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
538 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
539 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
541 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
543 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
544 num_get<>::do_get(, unsigned short&),
545 num_get<>::do_get(, unsigned int&),
546 num_get<>::do_get(, unsigned long&),
547 num_get<>::do_get(, long long&),
548 num_get<>::do_get(, unsigned long long&),
549 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
550 num_put<>::do_put(, long long),
551 num_put<>::do_put(, unsigned long long)): Move inline...
552 * include/bits/locale_facets.h: ... here.
554 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
556 PR libstdc++/37958 (cont)
557 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
558 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
560 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
562 * include/bits/shared_ptr.h: Update comparisons to match WP.
563 (_Sp_counted_ptr): Make copy and assignment members deleted.
564 (_Sp_counted_deleter): Remove private copy and assignment members.
565 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
566 friend operator< with overloaded _M_less member functions to allow
567 comparison with either shared_count or weak_count.
568 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
569 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
570 for ownership-based ordering.
571 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
573 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
574 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
575 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
576 pointer specialization.
577 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
578 weak_ptr::operator>=): Remove operator< and delete all comparisons.
579 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
580 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
581 (operator==(shared_ptr,shared_ptr): Likewise.
582 (operator!=(shared_ptr,shared_ptr): Likewise.
583 (swap(shared_ptr,shared_ptr)): Fix parameter types.
584 (swap(weak_ptr,weak_ptr)): Add missing overload.
585 * testsuite/20_util/owner_less/cmp.cc: New.
586 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
587 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
588 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
589 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
590 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
592 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
595 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
596 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
597 * testsuite/22_locale/num_get/get/char/37958.cc: New.
598 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
600 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
604 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
606 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
607 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
608 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
609 Remove the old variadic constructor, and instead provide several
610 variadic constructors that avoid failing when attempting to
611 initialize a pointer from a null pointer constant.
612 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
613 initialization of pointers from the null pointer constant.
615 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
618 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
619 * include/bits/basic_string.h: Guard string conversions with
620 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
621 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
623 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
624 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
626 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
628 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
630 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
632 * testsuite/21_strings/basic_string/numeric_conversions/char/
634 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
636 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
638 * testsuite/21_strings/basic_string/numeric_conversions/char/
639 to_string.cc: Likewise.
640 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
643 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
645 * config/os/generic/error_constants.h (enum errc): Remove
647 * config/os/mingw32/error_constants.h (enum errc): Likewise.
648 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
651 2008-10-24 Jakub Jelinek <jakub@redhat.com>
653 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
654 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
656 (%/site.exp, check-DEJAGNU%): New targets.
657 (check-am): Run $(MAKE) check-DEJAGNU.
658 * testsuite/Makefile.in: Regenerated.
660 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
662 * config/os/generic/error_constants.h (errc): Use long type.
663 * config/os/mingw32/error_constants.h (errc): Likewise.
665 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
667 * include/std/system_error (is_error_code_enum): Specialize for errc.
668 (error_category::error_category): Defaulted and protected.
669 (error_category::~error_category): New, virtual.
670 (error_category::error_category(const error_category&),
671 error_category::operator=(const error_category&)): Deleted.
672 (get_system_category, get_posix_category): Remove (DR 890).
673 (system_category): External linkage (DR 890).
674 (posix_category): Remove.
675 (generic_category): Add. External linkage (DR 890).
676 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
677 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
678 error_code::assign, use generic_category.
679 (error_condition::error_condition,
680 error_condition::error_condition<>(_ErrorConditionEnum)): Use
682 (error_condition::clear,
683 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
684 error_code::assign, use generic_category.
685 (make_error_code, make_error_condition): Define in namespace std.
686 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
687 unique_lock<>::try_lock_until<>(duration),
688 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
689 * src/system_error.cc (system_error_category, generic_error_category):
691 (gnu_error_category): Remove.
692 (get_system_category, get_posix_category): Remove (DR 890).
693 (system_category, generic_category): Define.
694 * src/functexcept.cc (__throw_system_error): Use generic_category.
695 * config/abi/pre/gnu.ver: Export system_category and generic_category,
696 remove get_system_category and get_generic_category (DR 890).
697 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
698 enum class type. Fix spelling.
699 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
700 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
702 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
703 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
704 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
705 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
706 dg-error line numbers.
707 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
709 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
710 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
711 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
713 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
714 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
715 Remove using tests since errc is not a namespace.
716 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
717 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
718 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
720 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
722 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
724 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
726 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
727 (_Args&&...)): Add in C++0x mode.
728 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
729 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
732 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
733 Node_allocator for improved accuracy.
734 * testsuite/tr1/6_containers/unordered_multimap/capacity/
735 29134-multimap.cc: Adjust.
736 * testsuite/tr1/6_containers/unordered_multimap/capacity/
737 29134-map.cc: Likewise.
738 * testsuite/tr1/6_containers/unordered_multimap/capacity/
739 29134-multiset.cc: Adjust.
740 * testsuite/tr1/6_containers/unordered_multimap/capacity/
741 29134-set.cc: Likewise.
743 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
745 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
746 (_Args&&...)): Add in C++0x mode.
747 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
748 use _M_get_Node_allocator.
749 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
751 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
753 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
755 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
757 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
758 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
759 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
760 Remove the old variadic constructor, and instead provide several
761 variadic constructors that avoid failing when attempting to
762 initialize a pointer from a null pointer constant.
763 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
764 initialization of pointers from the null pointer constant.
766 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
768 * include/bits/forward_list.tcc (forward_list<>::
769 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
772 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
774 * include/bits/forward_list.h (forward_list<>::
775 forward_list(size_type)): Tweak, use _Base default constructor.
777 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
779 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
782 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
784 * include/bits/forward_list.h: Factor list construction to dispatch
786 * include/bits/forward_list.tcc: Likewise.
787 * testsuite/23_containers/forward_list/modifiers/2.cc:
789 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
791 * include/bits/forward_list.tcc (operator==): Use auto.
793 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
795 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
796 Move out of line, tweak to return _Fwd_list_node_base*.
797 (forward_list<>::insert_after(const_iterator, const _Tp&),
798 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
799 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
802 * include/bits/forward_list.h (forward_list<>): Consistently qualify
803 calls of base class functions with this->.
804 * include/bits/forward_list.tcc (forward_list<>): Likewise.
806 * include/bits/forward_list.h: Move some functions out of line...
807 * include/bits/forward_list.tcc: ... here.
809 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
811 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
813 * include/bits/forward_list.h: Remove pointless const qualifiers in
815 * include/bits/forward_list.tcc: Likewise.
817 * include/bits/forward_list.h (forward_list<>::pointer,
818 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
819 * testsuite/23_containers/forward_list/requirements/
820 explicit_instantiation/1.cc: New.
821 * testsuite/23_containers/forward_list/requirements/
822 explicit_instantiation/1.cc: Likewise.
824 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
826 * include/bits/forward_list.h (forward_list<>::max_size): Use
827 Node_allocator; minor cosmetic changes.
828 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
830 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
832 * include/std/forward_list: New.
833 * include/bits/forward_list.h: Likewise.
834 * include/bits/forward_list.tcc: Likewise.
835 * include/precompiled/stdc++.h: Modified to include forward_list.
836 * include/Makefile.am: Add forward_list, forward_list.h, and
838 * include/Makefile.in: Regenerate.
839 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
840 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
841 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
842 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
843 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
844 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
845 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
846 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
847 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
848 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
849 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
850 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
851 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
852 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
853 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
854 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
855 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
856 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
857 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
858 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
859 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
860 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
861 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
862 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
863 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
864 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
865 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
866 * testsuite/17_intro/headers/c++200x/all: Likewise.
868 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
870 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
872 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
873 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
874 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
875 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
876 Adjust dg-error line number.
877 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
879 * testsuite/23_containers/list/requirements/dr438/
880 constructor_1_neg.cc: Likewise.
881 * testsuite/23_containers/list/requirements/dr438/
882 constructor_2_neg.cc: Likewise.
884 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
886 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
887 for improved accuracy.
888 * include/bits/stl_list.h (list<>::max_size): Likewise.
889 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
890 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
891 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
892 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
893 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
895 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
897 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
900 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
902 * include/std/system_error (native_category): Remove.
903 (posix_category): Add.
904 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
905 Fix _M_cat initialization.
906 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
907 (error_condition::_M_cat, error_condtion::operator=
908 (_ErrorConditionEnum)): Implement resolution of DR 804.
909 (error_condition::error_condition(_ErrorConditionEnum, typename
910 enable_if<>:type*): Fix.
911 (error_condition::clear, error_condition::assign): Implement.
912 (operator==, operator!=): Fix uglification of parameters.
913 (make_error_code, make_error_condition): Define in namespace
915 (operator<<(basic_ostream<>&, const error_code&)): Define here.
916 * include/std/ostream (operator<<(basic_ostream<>&,
917 const error_code&)): Do not define here.
918 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
919 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
920 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
922 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
924 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
926 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
927 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
928 dg-error line numbers.
929 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
931 * testsuite/util/testsuite_error.h: Minor tweaks.
932 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
934 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
936 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
937 uninitialized duration.
939 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
941 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
942 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
943 _M_deallocate): Use _Tp_alloc_type::pointer.
945 2008-10-07 Jason Merrill <jason@redhat.com>
948 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
949 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
950 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
952 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
954 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
955 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
956 const __normal_iterator<>&), operator-(const move_iterator<>&,
957 const move_iterator<>&)): Use the auto -> return type syntax,
960 2008-10-06 Jason Merrill <jason@redhat.com>
962 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
964 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
966 * testsuite/20_util/reference_wrapper/invoke.cc: New.
967 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
968 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
970 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
972 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
973 !__FLT_HAS_INFINITY__ case.
975 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
977 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
979 * testsuite/20_util/tuple/swap.cc: New.
981 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
983 PR libstdc++/30085 (again)
984 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
985 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
986 unordered_map / unordered_multimap; add missing member functions.
987 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
988 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
989 * include/debug/safe_association.h: Remove.
990 * include/Makefile.am: Adjust.
991 * include/Makefile.in: Regenerate.
992 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
995 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
997 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
998 void reset(U)): Add as deleted function, per DR 821 [Ready].
999 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1000 member function declarations; minor formatting tweaks.
1001 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1002 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1005 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1007 * include/std/mutex (try_lock): Implement generic try_lock.
1008 * testsuite/30_threads/try_lock/1.cc: New.
1009 * testsuite/30_threads/try_lock/2.cc: Likewise.
1010 * testsuite/30_threads/try_lock/3.cc: Likewise.
1011 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1012 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1013 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1014 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1015 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1016 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1017 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1019 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1021 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1022 Steve Ellcey <sje@cup.hp.com>
1024 * configure: Regenerate for new libtool.
1025 * aclocal.m4: Ditto.
1026 * Makefile.in: Ditto.
1027 * src/Makefile.in: Ditto.
1028 * doc/Makefile.in: Ditto.
1029 * po/Makefile.in: Ditto.
1030 * libmath/Makefile.in: Ditto.
1031 * include/Makefile.in: Ditto.
1032 * libsupc++/Makefile.in: Ditto.
1033 * testsuite/Makefile.in: Ditto.
1035 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1037 * include/std/bitset: Adjust comment to reflect DR 853.
1038 * include/debug/bitset: Likewise.
1039 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1041 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1043 Implement DR 396 [Ready].
1044 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1045 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1046 char, char), bitset<>::to_string(_CharT, _CharT),
1047 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1048 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1049 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1050 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1051 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1052 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1053 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1054 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1055 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1056 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1057 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1058 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1060 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1062 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1063 * testsuite/25_algorithms/max/37547.cc: Likewise.
1064 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1066 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1068 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1069 typedef monotonic_clock to system_clock and instead declare new class.
1070 * src/chrono.cc: Conditionally define monotonic_clock::now().
1071 * include/std/condition_variable (wait_until): Throw exception if
1072 __gthread_cond_timedwait returns with error other than timed_out. Use
1073 system_clock as known clock type (__clock_t) and add overloads for known
1074 and unknown clocks. In the unknown case, sync to the known clock.
1075 Implement overload taking a predicate.
1076 (wait_for): Implement overload taking a predicate.
1077 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1078 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1080 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1082 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1083 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1084 * testsuite/30_threads/condition_variable/member/1.cc: New.
1085 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1087 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1090 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1091 when strtold is not available.
1092 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1094 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
1096 PR libstdc++/37391 continued.
1097 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1098 specify full path for source file links.
1099 * doc/html/ext/pb_ds/pq_examples.html: Same.
1101 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1103 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1104 by value parameters.
1105 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1107 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1109 PR libstdc++/32422, DR 23 [Ready in R60]
1110 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1111 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1112 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1113 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1114 DR 23 and deal correctly with broken exponents.
1115 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1116 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1117 char*, double&, ios_base::iostate&, const __c_locale&),
1118 __convert_to_v(const char*, long double&, ios_base::iostate&, const
1119 __c_locale&)): Likewise.
1120 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1121 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1122 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1123 ios_base::iostate&, string&): Change grouping check to set instead of
1124 OR failbit; do not check for eofbit here...
1125 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1126 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1127 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1128 iter_type, ios_base&, ios_base::iostate&, long double&),
1129 num_get<>::__do_get(iter_type, iter_type, ios_base&,
1130 ios_base::iostate&, double&)): ... do it here instead.
1131 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1132 ios_base::iostate&, bool&)): Implement DR 23.
1133 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1134 ios_base::iostate&, void*&)): Adjust.
1135 * doc/xml/manual/intro.xml: Add and entry for DR 23.
1136 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1138 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1140 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1141 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1142 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1143 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1144 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1145 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1146 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1147 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1148 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1149 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1151 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1154 * doc/html/ext/pb_ds/*.html: Fix external links.
1156 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1158 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1159 condition_variable, and thread output.
1161 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1163 * doc/html/ext/lwg-closed.html: Update to Revision R59.
1164 * doc/html/ext/lwg-active.html: Likewise.
1165 * doc/html/ext/lwg-defects.html: Likewise.
1166 * doc/xml/manual/intro.xml: Adjust.
1168 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
1170 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1171 consistently with the other overload for initializer_list.
1173 2008-09-19 Johannes Singler <singler@ira.uka.de>
1176 * include/parallel/base.h: Rename log2 to __log2.
1177 (__log2) Avoid infinite loop for n <= 0, return 0.
1178 * include/parallel/losertree.h: Rename log2 to __log2.
1179 * include/parallel/multiseq_selection.h: Likewise.
1180 * include/parallel/random_shuffle.h: Likewise.
1182 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1184 * include/bits/shared_ptr.h (__shared_count<>::
1185 __shared_count(_Ptr, _Deleter), __shared_count<>::
1186 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1187 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1188 Qualify new with ::.
1190 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
1193 * include/bits/stl_algo.h (min(initializer_list<>),
1194 min(initializer_list<>, Compare), max(initializer_list<>),
1195 max(initializer_list<>, Compare), minmax(initializer_list<>),
1196 minmax(initializer_list<>, Compare)): Fix return type.
1197 * include/bits/algorithmfwd.h: Adjust.
1198 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1199 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1201 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1203 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1205 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1207 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1209 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1211 * testsuite/25_algorithms/max/37547.cc: New.
1212 * testsuite/25_algorithms/min/37547.cc: Likewise.
1213 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1215 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
1217 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1219 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1221 * testsuite/25_algorithms/min/3.cc: Likewise.
1222 * testsuite/25_algorithms/min/4.cc: Likewise.
1223 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1225 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1227 * testsuite/25_algorithms/max/3.cc: Likewise.
1228 * testsuite/25_algorithms/max/4.cc: Likewise.
1229 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1231 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1233 * testsuite/25_algorithms/minmax/2.cc: Likewise.
1234 * testsuite/25_algorithms/minmax/3.cc: Likewise.
1236 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
1238 * include/bits/stl_algo.h (min(initializer_list<>),
1239 min(initializer_list<>, Compare), max(initializer_list<>),
1240 max(initializer_list<>, Compare), minmax(initializer_list<>),
1241 minmax(initializer_list<>, Compare)): Add in C++0x mode.
1242 * include/bits/algorithmfwd.h: Add.
1243 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1245 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
1247 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1249 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1250 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1251 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1253 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
1254 Benjamin Kosnik <bkoz@redhat.com>
1256 * include/std/thread: New.
1257 * include/Makefile.am: Update.
1258 * include/Makefile.in: Regenerate.
1259 * src/thread.cc: New.
1260 * src/Makefile.am: Update.
1261 * src/Makefile.in: Regenerate.
1262 * acinclude.m4: Add check for nanosleep.
1263 * configure.ac: Call it.
1264 * configure: Regenerate.
1265 * config.h.in: Likewise.
1266 * config/abi/pre/gnu.ver: Add exports.
1267 * doc/doxygen/user.cfg.in: Add thread header.
1268 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1269 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1270 * testsuite/30_threads/thread/cons/1.cc: New.
1271 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1272 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1273 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1274 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1275 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1276 * testsuite/30_threads/thread/member/1.cc: Likewise.
1277 * testsuite/30_threads/thread/member/2.cc: Likewise.
1278 * testsuite/30_threads/thread/member/3.cc: Likewise.
1279 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1280 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1281 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1282 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1283 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1284 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1285 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1286 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1287 Add thread, condition_variable and mutex.
1289 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1291 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1292 Remove specializations.
1293 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1294 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1295 use_facet<ctype<wchar_t>): Declare as extern template.
1296 * include/bits/locale_facets.h (use_facet<ctype<char> >,
1297 use_facet<ctype<wchar_t>): Do not declare as specializations.
1299 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1301 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1302 ctype<char>::_M_widen_init): Don't define here.
1303 * config/locale/gnu/ctype_members.cc: Likewise.
1304 * config/locale/generic/ctype_members.cc: Likewise.
1305 * src/ctype.cc: Define here.
1307 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1310 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1311 ctype<char>::_M_widen_init): Don't define inline.
1312 * config/locale/darwin/ctype_members.cc: ... define here.
1313 * config/locale/gnu/ctype_members.cc: ... likewise.
1314 * config/locale/generic/ctype_members.cc: ... likewise.
1315 * config/abi/pre/gnu.ver: Export.
1317 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
1319 * doc/xml/manual/abi.xml: Update for new releases.
1320 * doc/doxygen/user.cfg.in: Include C compatibility headers.
1321 * doc/html/*: Regenerate.
1323 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
1325 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1326 inclusion of <inttypes.h>.
1327 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1328 __STDC_CONSTANT_MACROS after <stdint.h>.
1329 * include/bits/postypes.h: Likewise.
1331 2008-09-09 Andreas Schwab <schwab@suse.de>
1333 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1334 not to redefine main.
1336 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1338 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1339 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1340 * include/tr1_impl/cinttypes: Use the latter.
1341 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1342 * configure: Regenerate.
1343 * config.h.in: Likewise.
1345 2008-09-05 Peter Dimov <pdimov@mmltd.net>
1347 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1349 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
1351 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1353 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1356 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1359 * include/Makefile.am: Update headers.
1360 * include/Makefile.in: Regenerate.
1361 * include/std/memory: Update headers.
1362 * include/tr1/memory: Likewise.
1363 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
1364 separate implementations for std and tr1.
1365 * include/bits/boost_sp_shared_count.h: Remove.
1366 * include/tr1/boost_sp_shared_count.h: Remove.
1367 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
1368 and boost_shared_ptr.h into one file.
1369 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
1370 and rvalue-reference support as per current WP.
1371 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
1372 and boost_shared_ptr.h into one file.
1373 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
1374 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
1375 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
1376 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
1377 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
1378 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
1379 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
1380 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
1381 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
1383 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1385 * doc/xml/manual/locale.xml: Fix typo.
1387 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
1389 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
1391 * configure: Regenerate.
1393 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
1395 * include/std/mutex (once_flag): Construct __gthread_once_t in a
1396 temporary variable before assigning to _M_once to avoid initialization
1399 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1401 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
1402 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
1404 * Makefile.in: Regenerate.
1405 * src/Makefile.in: Likewise.
1406 * doc/Makefile.in: Likewise.
1407 * po/Makefile.in: Likewise.
1408 * libmath/Makefile.in: Likewise.
1409 * include/Makefile.in: Likewise.
1410 * libsupc++/Makefile.in: Likewise.
1411 * testsuite/Makefile.in: Likewise.
1413 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1415 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
1416 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
1417 * configure: Regenerate.
1419 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1421 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
1422 * configure: Regenerate.
1424 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
1426 * include/std/condition_variable: Use new deleted ctors.
1427 * include/std/mutex: Likewise plus implement timed_mutex,
1428 recursive_timed_mutex and call_once.
1429 * src/condition_variable.cc: Implement wait(). Use gthread types.
1430 Remove _GTHREADS_HAS_COND checks in favor of global
1431 _GLIBCXX_HAS_GTHREADS.
1432 * src/mutex.cc (call_once): Implementation using TLS with mutex
1434 * config/abi/pre/gnu.ver: Add exported symbols.
1435 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
1436 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
1437 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
1438 dg-require-gthreads and dg-require-cstdint.
1439 * testsuite/30_threads/lock_guard/requirements/
1440 explicit_instantiation.cc: Likewise.
1441 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1442 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1443 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1444 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
1445 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1446 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1447 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1448 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1449 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1451 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
1452 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1453 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
1455 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1456 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1457 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1458 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1459 * testsuite/30_threads/unique_lock/requirements/
1460 explicit_instantiation.cc: Likewise.
1461 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
1462 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
1463 lines for deleted members.
1464 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1465 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1466 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1467 * testsuite/30_threads/call_once/once_flag.cc: New.
1468 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1469 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1470 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
1471 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1472 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1473 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1475 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1477 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
1478 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1479 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1480 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1481 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1482 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1483 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1484 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
1485 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1486 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1487 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1488 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1489 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1490 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1491 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1492 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1494 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1496 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1498 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1500 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
1501 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1503 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1504 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
1506 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
1508 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1509 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1510 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1511 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1512 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
1513 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1515 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1517 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1519 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1520 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1521 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1522 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1523 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1524 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1525 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1526 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1527 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1528 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1529 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1530 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1532 2008-09-01 Mark Mitchell <mark@codesourcery.com>
1534 * include/std/type_traits (__make_unsigned_selector<>): Consider
1535 enums of size smaller than short.
1536 (__make_signed_selector<>): Likewise.
1537 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1538 Adjust line numbers.
1539 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
1540 Adjust line numbers.
1541 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
1542 Ensure test_enum is the same size as short.
1543 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
1544 Ensure test_enum is the same size as short.
1546 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1548 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
1549 * configure: Regenerated.
1550 * Makefile.in: Regenerated.
1551 * src/Makefile.in: Regenerated.
1552 * doc/Makefile.in: Regenerated.
1553 * po/Makefile.in: Regenerated.
1554 * libmath/Makefile.in: Regenerated.
1555 * include/Makefile.in: Regenerated.
1556 * libsupc++/Makefile.in: Regenerated.
1557 * testsuite/Makefile.in: Regenerated.
1559 2008-08-29 Mark Mitchell <mark@codesourcery.com>
1561 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
1562 when testing on a simultor.
1564 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
1566 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1567 Rename to .../typedefs.cc.
1568 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1570 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1571 typedef.cc: Likewise.
1572 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1573 typedef.cc: Likewise.
1574 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1576 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1578 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1580 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1583 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
1585 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
1586 support used by c++0x thread library.
1587 * configure.ac: Test unconditionally.
1588 * configure: Regenerate.
1589 * config.h.in: Regenerate.
1591 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
1593 * doc/Makefile.am: Edit xml file list.
1594 * doc/Makefile.in: Regenerate.
1595 * configure: Regenerate.
1596 * doc/xml/manual/intro.xml: Edit, correct links, structure.
1597 * doc/xml/manual/configure.xml: Same.
1598 * doc/xml/manual/debug.xml: Same.
1599 * doc/xml/manual/test.xml: Same.
1600 * doc/xml/manual/build.xml: Remove.
1601 * doc/xml/manual/prerequisites.xml: Add.
1602 * doc/html/*: Regenerate.
1604 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
1606 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
1607 const_pointer typedefs.
1608 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1610 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1612 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1613 typedef.cc: Likewise.
1614 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1615 typedef.cc: Likewise.
1616 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1618 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1620 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1622 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1625 2008-08-27 Paul Brook <paul@codesourcery.com>
1627 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
1628 __get_object_from_ambiguous_exception.
1630 2008-08-26 Ben Elliston <bje@au.ibm.com>
1632 * src/mt_allocator.cc (__pool): Fix error in comment.
1634 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
1636 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
1637 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
1638 * configure.ac: Do not call the latter.
1639 * crossconfig.m4: Likewise.
1640 * libmath/mathconf.h: Adjust.
1641 * configure: Regenerate.
1642 * config.h.in: Likewise.
1644 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1646 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
1647 two test -r instead of an AC_TRY_RUN.
1648 * configure: Regenerate.
1649 * config.h.in: Likewise.
1651 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1653 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
1654 * doc/xml/manual/configure.xml: Likewise.
1656 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1658 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
1660 * configure: Regenerate.
1662 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1664 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
1665 GCC_TRY_COMPILE_OR_LINK.
1666 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
1667 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
1668 [no] by default, since it includes TRY_LINK checks. librt is also
1669 searched, if requested.
1670 * doc/xml/manual/configure.xml: Document the latter.
1671 * configure.ac: Move the above checks outside native-only.
1672 * configure: Regenerate.
1674 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1676 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
1677 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
1678 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
1679 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1680 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
1682 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
1684 Add (again) exception propagation support as per N2179. Feature is
1685 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
1686 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1687 copy_exception, rethrow_exception): New file, implement exception
1689 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1690 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1691 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1692 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1693 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1694 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1695 __gxx_dependent_exception_class, __get_object_from_ue,
1696 __get_object_from_ambiguous_exception): Add.
1697 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1698 (__is_gxx_exception_class): Handle dependent exceptions.
1699 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1700 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1701 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1702 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1703 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1704 __cxa_free_dependent_exception): Add.
1705 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1707 * libsupc++/exception: Conditionally include exception_ptr.h.
1708 * libsupc++/Makefile.am: Register new files.
1709 * libsupc++/Makefile.in: Regenerate.
1710 * config/abi/pre/gnu.ver: Add new symbols.
1711 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1712 core functionality of current_exception().
1713 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1714 core functionality of rethrow_exception().
1715 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1716 exception objects during exception propagation.
1718 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
1720 Revert again the N2179 patch.
1722 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
1724 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
1725 __cxa_free_dependent_exception.
1727 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1729 * include/bits/char_traits.h (char_traits<char16_t>::
1730 assign(char_type*, size_t, char_type), char_traits<char32_t>::
1731 assign(char_type*, size_t, char_type)): For now, just open-code.
1733 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1735 PR c++/33979 (partial)
1736 * include/bits/postypes.h (u16streampos, u32streampos): Add.
1737 * include/bits/char_traits.h (char_traits<char16_t>,
1738 char_traits<char32_t>): Add.
1739 * include/bits/stringfwd.h (u16string, u32string): Add.
1740 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
1741 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
1743 * testsuite/21_strings/char_traits/requirements/
1744 explicit_instantiation/short/1.cc: Likewise.
1745 * testsuite/21_strings/char_traits/requirements/
1746 explicit_instantiation/char32_t/1.cc: Likewise.
1747 * testsuite/21_strings/char_traits/requirements/
1748 explicit_instantiation/wchar_t/1.cc: Likewise.
1749 * testsuite/21_strings/char_traits/requirements/
1750 explicit_instantiation/char16_t/1.cc: Likewise.
1751 * testsuite/21_strings/char_traits/requirements/
1752 explicit_instantiation/char/1.cc: Likewise.
1753 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
1755 * testsuite/21_strings/basic_string/requirements/
1756 explicit_instantiation/char32_t/1.cc: Likewise.
1757 * testsuite/21_strings/basic_string/requirements/
1758 explicit_instantiation/wchar_t/1.cc: Likewise.
1759 * testsuite/21_strings/basic_string/requirements/
1760 explicit_instantiation/char16_t/1.cc: Likewise.
1761 * testsuite/21_strings/basic_string/requirements/
1762 explicit_instantiation/char/1.cc: Likewise.
1763 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
1764 * testsuite/ext/vstring/requirements/explicit_instantiation/
1765 char32_t/1.cc: Likewise.
1766 * testsuite/ext/vstring/requirements/explicit_instantiation/
1767 char16_t/1.cc: Likewise.
1769 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1772 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
1774 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1776 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1777 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1778 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1779 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1780 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
1781 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
1782 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
1783 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1784 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1785 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1786 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1787 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1788 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
1789 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
1790 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1791 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1792 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
1793 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
1794 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
1795 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
1796 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1797 * include/std/regex: Include <sstream>.
1798 * include/tr1/regex: Likewise.
1800 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1802 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
1804 * configure: Regenerate.
1806 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1809 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
1810 check the macros too.
1811 * configure: Regenerate.
1813 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
1815 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
1817 * configure.ac: Run unconditionally AC_LC_MESSAGES.
1818 * crossconfig.m4: Adjust.
1819 * configure: Regenerate.
1821 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
1823 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
1824 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
1825 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
1826 with -fno-exceptions as flags.
1827 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
1828 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
1829 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
1830 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
1832 * configure: Regenerate.
1834 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
1836 Re-instate last patch, amended to use __exchange_and_add_dispatch
1837 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
1839 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
1841 Revert the last patch.
1843 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
1845 Add exception propagation support as per N2179.
1846 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1847 copy_exception, rethrow_exception): New file, implement exception
1849 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1850 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1851 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1852 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1853 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1854 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1855 __gxx_dependent_exception_class, __get_object_from_ue,
1856 __get_object_from_ambiguous_exception): Add.
1857 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1858 (__is_gxx_exception_class): Handle dependent exceptions.
1859 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1860 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1861 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1862 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1863 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1864 __cxa_free_dependent_exception): Add.
1865 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1867 * libsupc++/exception: Conditionally include exception_ptr.h.
1868 * libsupc++/Makefile.am: Register new files.
1869 * libsupc++/Makefile.in: Regenerate.
1870 * config/abi/pre/gnu.ver: Add new symbols.
1871 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1872 core functionality of current_exception().
1873 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1874 core functionality of rethrow_exception().
1875 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1876 exception objects during exception propagation.
1878 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
1881 * include/bits/stl_pair.h: Fix documentation URL in comment.
1883 2008-08-12 Johannes Singler <singler@ira.uka.de>
1885 * include/paralle/losertree.h
1886 (LoserTreePointerBase<>::~LoserTreePointerBase):
1887 Replace delete by appropriate delete[].
1889 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
1891 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
1892 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
1893 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
1894 * configure: Regenerate.
1895 * config.h.in: Likewise.
1897 * acinclude.m4: Minor formatting fixes.
1899 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
1901 * include/tr1_impl/regex: Formatting fixes.
1902 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
1904 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
1907 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
1909 * config/locale/generic/c_locale.cc: Include <cstdio>.
1911 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
1913 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
1914 * configure: Regenerate.
1916 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
1918 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
1919 (_DEFINE_SPEC_BODY): Remove.
1920 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
1921 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
1922 __remove_pointer_helper): Add.
1923 (is_void, is_integral, is_floating_point, is_member_object_pointer,
1924 is_member_function_pointer, remove_pointer): Use the latter.
1925 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
1926 (_DEFINE_SPEC_HELPER): Remove.
1927 (__is_signed_helper, __is_unsigned_helper): Add.
1928 (is_signed, is_unsigned): Use the latter.
1930 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
1932 Revert fix for libstdc++/35637, thanks to other/36901.
1933 * include/tr1_impl/type_traits (__is_function_helper): New, uses
1935 (is_function): Forward to the latter.
1936 (__in_array): Remove.
1938 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
1940 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
1942 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
1944 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
1945 _IOS_BASE_SEEK_END at the end of the file.
1946 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
1948 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
1950 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
1953 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1955 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
1956 common values of EOF, SEEK_CUR, SEEK_END.
1957 * configure.ac: Use it.
1958 * include/bits/ios_base.h: Likewise.
1959 * include/bits/char_traits.h: Likewise.
1960 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
1961 * config/locale/generic/ctype_members.cc: Likewise.
1962 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
1963 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1964 * configure: Regenerate.
1965 * config.h.in: Likewise.
1967 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1969 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
1970 is actually a typedef to long or long long.
1971 * include/bits/postypes.h: If int64_t is actually a typedef for
1972 long or long long don't include <stdint.h> unnecessarily.
1973 * configure: Regenerate.
1974 * config.h.in: Likewise.
1976 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
1978 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
1979 Expect ambiguity together with the standard exception classes.
1980 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
1982 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
1984 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
1986 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
1988 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
1989 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
1990 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
1992 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
1994 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
1996 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
1998 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2000 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2003 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2005 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2006 also define the __STDC_* macros.
2007 (streamoff): Adjust.
2009 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2010 not defined before defining.
2012 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2013 Chris Fairles <chris.fairles@gmail.com>
2015 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2016 search, but only in libposix4, never link librt.
2017 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2018 * configure: Regenerate.
2019 * configure.in: Likewise.
2020 * Makefile.in: Likewise.
2021 * src/Makefile.in: Likewise.
2022 * libsup++/Makefile.in: Likewise.
2023 * po/Makefile.in: Likewise.
2024 * doc/Makefile.in: Likewise.
2026 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2028 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2029 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2030 and 4 in WD. Other minor tweaks.
2031 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2032 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2033 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2034 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2036 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2038 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2039 (check_v3_target_parallel_mode): Robustify, just follow the
2040 structure of testsuite/Makefile.am.
2042 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2044 * include/debug/set.h: Minor formatting fixes.
2045 * include/debug/multiset.h: Likewise.
2046 * include/debug/safe_association.h: Likewise.
2047 * include/debug/vector: Likewise.
2048 * include/debug/map.h: Likewise.
2049 * include/debug/string: Likewise.
2050 * include/debug/multimap.h: Likewise.
2051 * include/bits/stl_list.h: Likewise.
2052 * include/bits/stl_map.h: Likewise.
2053 * include/bits/stl_set.h: Likewise.
2054 * include/bits/stl_multimap.h: Likewise.
2055 * include/bits/stl_vector.h: Likewise.
2056 * include/bits/stl_multiset.h: Likewise.
2057 * include/bits/stl_bvector.h: Likewise.
2059 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2061 * include/std/utility: Include <initializer_list>, per the current WP.
2063 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2064 don't use -std=gnu++0x unnecessarily.
2065 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2067 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2068 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2070 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
2073 * include/tr1_impl/boost_shared_ptr.h
2074 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2075 __enable_shared_from_this_helper.
2076 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2078 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2082 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2084 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2085 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2086 * src/Makefile.am: Use it.
2087 * configure: Regenerate.
2088 * configure.in: Likewise.
2089 * Makefile.in: Likewise.
2090 * src/Makefile.in: Likewise.
2091 * libsup++/Makefile.in: Likewise.
2092 * po/Makefile.in: Likewise.
2093 * doc/Makefile.in: Likewise.
2095 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2097 * include/std/condition_variable: Update to N2691 WD.
2098 * include/std/mutex: Likewise.
2099 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2100 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2101 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2102 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2104 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2106 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2107 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2108 * src/Makefile.am: Use it.
2109 * configure: Regenerate.
2110 * configure.in: Likewise.
2111 * Makefile.in: Likewise.
2112 * src/Makefile.in: Likewise.
2113 * libsup++/Makefile.in: Likewise.
2114 * po/Makefile.in: Likewise.
2115 * doc/Makefile.in: Likewise.
2117 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2119 * include/ext/sso_string_base.h
2120 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2121 const _Alloc&)): Remove.
2122 * include/ext/rc_string_base.h
2123 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2124 const _Alloc&)): Likewise.
2125 * include/ext/vstring.h
2126 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2127 const _Alloc&)): Adjust.
2129 2008-07-21 Jason Merrill <jason@redhat.com>
2131 Add initializer_list support as per N2679.
2132 * include/debug/unordered_map: Add initializer_list support.
2133 * include/debug/safe_association.h: Likewise.
2134 * include/debug/unordered_set: Likewise.
2135 * include/debug/vector: Likewise.
2136 * include/debug/deque: Likewise.
2137 * include/debug/map.h: Likewise.
2138 * include/debug/set.h: Likewise.
2139 * include/debug/string: Likewise.
2140 * include/debug/list: Likewise.
2141 * include/debug/multimap.h: Likewise.
2142 * include/tr1_impl/unordered_map: Likewise.
2143 * include/tr1_impl/hashtable: Likewise.
2144 * include/tr1_impl/unordered_set: Likewise.
2145 * include/tr1_impl/regex: Likewise.
2146 * include/std/valarray: Likewise.
2147 * include/std/unordered_map: Likewise.
2148 * include/std/unordered_set: Likewise.
2149 * include/bits/stl_list.h: Likewise.
2150 * include/bits/stl_map.h: Likewise.
2151 * include/bits/stl_set.h: Likewise.
2152 * include/bits/basic_string.h: Likewise.
2153 * include/bits/basic_string.tcc: Likewise.
2154 * include/bits/stl_multimap.h: Likewise.
2155 * include/bits/stl_vector.h: Likewise.
2156 * include/bits/stl_deque.h: Likewise.
2157 * include/bits/stl_multiset.h: Likewise.
2158 * include/bits/stl_bvector.h: Likewise.
2159 * include/ext/vstring.h: Likewise.
2160 * include/ext/rc_string_base.h: Likewise.
2161 * include/ext/sso_string_base.h: Likewise.
2162 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2163 * src/Makefile.in: Likewise.
2164 * config/abi/pre/gnu.ver: Add new w?string exports.
2165 * testsuite/21_strings/basic_string/init-list.cc: New test.
2166 * testsuite/23_containers/vector/init-list.cc: New test.
2167 * testsuite/23_containers/deque/init-list.cc: New test.
2168 * testsuite/23_containers/list/init-list.cc: New test.
2169 * testsuite/23_containers/map/init-list.cc: New test.
2170 * testsuite/23_containers/multimap/init-list.cc: New test.
2171 * testsuite/23_containers/set/init-list.cc: New test.
2172 * testsuite/23_containers/multiset/init-list.cc: New test.
2173 * testsuite/23_containers/unordered_map/init-list.cc: New test.
2174 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2175 * testsuite/23_containers/unordered_set/init-list.cc: New test.
2176 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2177 * testsuite/26_numerics/valarray/init-list.cc: New test.
2178 * testsuite/28_regex/init-list.cc: New test.
2179 * testsuite/ext/vstring/init-list.cc: New test.
2180 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2181 Update error lineno.
2182 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2183 Update error lineno.
2184 * testsuite/23_containers/vector/requirements/dr438/
2185 constructor_1_neg.cc: Update error lineno.
2186 * testsuite/23_containers/vector/requirements/dr438/
2187 constructor_2_neg.cc: Update error lineno.
2188 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2189 Update error lineno.
2190 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2191 Update error lineno.
2192 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2193 Update error lineno.
2194 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2195 Update error lineno.
2196 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2197 Update error lineno.
2198 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2199 Update error lineno.
2200 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2201 Update error lineno.
2202 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2203 Update error lineno.
2205 2008-07-21 Mark Mitchell <mark@codesourcery.com>
2207 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2208 * configure.host: Use it for arm*-*-linux-*eabi.
2210 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
2212 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2213 (assert_node_consistent): Avoid ambiguous else warning.
2215 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2217 * include/bits/c++config: In debug-mode (and parallel-mode) set
2218 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2219 templates only for basic_string (per libstdc++/21674).
2220 * include/bits/basic_string.tcc: Use extern templates when
2221 _GLIBCXX_EXTERN_TEMPLATE > 0.
2223 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
2224 Holger Hopp <holger.hopp@sap.com>
2226 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2227 * testsuite/util/testsuite_abi.cc (check_version): Add
2228 CXXABI_1.3.3 to known_versions.
2230 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2232 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2233 Enable only when _Tp != bool.
2235 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2237 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2239 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2240 variable warnings leading to spurious fails of the test.
2242 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2244 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2246 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2247 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2249 * include/tr1_impl/type_traits: Fix comment typo.
2251 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2253 * include/bits/unique_ptr.h: Remove stray character.
2255 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
2257 * doc/doxygen/user.cfg.in: Add complex, ratio,
2259 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2260 * doc/doxygen/doxygroups.cc: Add std::chrono.
2261 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2262 * libsupc++/initializer_list (initializer_list): Same.
2263 * include/std/ratio: Same.
2264 * include/std/chrono: Same.
2265 * include/std/complex: Disambiguate file markup.
2267 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
2269 * include/std/chrono: New, as per N2661.
2270 * src/chrono.cc: New.
2271 * include/Makefile.am: Update.
2272 * src/Makefile.am: Likewise.
2273 * include/Makefile.in: Regenerate.
2274 * src/Makefile.in: Likewise.
2275 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2276 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2277 * configure.ac: Use them.
2278 * configure: Regenerate.
2279 * config.h.in: Likewise.
2280 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2281 system_clock::is_monotonic.
2282 * testsuite/20_util/duration/cons/1.cc: New.
2283 * testsuite/20_util/duration/cons/2.cc: Likewise.
2284 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2285 * testsuite/20_util/duration/requirements/explicit_instantiation/
2286 explicit_instantiation.cc: Likewise.
2287 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2288 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2289 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2290 * testsuite/20_util/time_point/requirements/explicit_instantiation/
2291 explicit_instantiation.cc: Likewise.
2292 * testsuite/20_util/time_point/1.cc: Likewise.
2293 * testsuite/20_util/time_point/2.cc: Likewise.
2294 * testsuite/20_util/time_point/3.cc: Likewise.
2295 * testsuite/20_util/clocks/1.cc: Likewise.
2296 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2298 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2299 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2300 * doc/doxygen/user.cfg.in: Likewise.
2302 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
2305 * include/ext/rope (_Destroy_const): Add.
2306 (rope<>::copy): Call it.
2307 * testsuite/ext/rope/36832.cc: New.
2309 2008-07-15 Johannes Singler <singler@ira.uka.de>
2311 * include/parallel/find_selectors.h:
2312 Correct name for include guard #ifndef.
2313 * include/parallel/balanced_quicksort.h: Likewise.
2314 * include/parallel/unique_copy.h: Likewise.
2315 * include/parallel/multiway_mergesort.h: Likewise.
2316 * include/parallel/checkers.h: Likewise.
2317 * include/parallel/[various files]:
2318 Add/correct comment for #endif of include guard (at end of file)
2320 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
2322 * include/std/date_time: Remove, per N2549, in WP.
2323 * src/date_time.cc: Likewise.
2324 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2325 * include/Makefile.am: Remove date_time in std headers.
2326 * src/Makefile.am: Remove date_time.cc to source files.
2327 * include/Makefile.in: Regenerate.
2328 * src/Makefile.in: Likewise.
2329 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2330 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2331 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2332 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2333 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2334 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2335 * testsuite/31_date_time/system_time/requirements: Likewise.
2336 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2337 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2338 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2340 2008-07-10 Johannes Singler <singler@ira.uka.de>
2342 * include/parallel/balanced_quicksort.h:
2343 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2345 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
2348 * doc/xml/manual/allocator.xml: Fix links.
2349 * doc/html/*: Regenerate.
2351 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2353 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2354 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2355 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2356 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2358 * libsupc++/eh_arm.cc (__cxa_type_match): Use
2359 __is_gxx_forced_unwind_class to check for forced unwind.
2361 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
2364 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2365 null_metadata.hpp: Remove self-include.
2367 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2369 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
2370 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
2371 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
2373 2008-07-09 Johannes Singler <singler@ira.uka.de>
2376 * include/parallel/random_shuffle.h:
2377 (sequential_random_shuffle) Copy data back.
2378 * testsuite/25_algorithms/random_shuffle/1.cc:
2379 New. Generic random_shuffle functionality test.
2381 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
2383 * include/std/type_traits: Add common_type.
2384 * testsuite/20_util/common_type/requirements/
2385 explicit_instantiation.cc: New.
2386 * testsuite/20_util/common_type/requirements/
2387 typedefs-1.cc: Likewise.
2389 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
2391 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
2392 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
2393 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
2394 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2395 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2396 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2397 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2398 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2399 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2400 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2402 * include/std/type_traits: Fix comment typo.
2404 2008-07-06 Roger Sayle <roger@eyesopen.com>
2406 * include/std/system_error (is_error_code_enum): Use identifier
2407 _Tp instead of _T to avoid conflict with system macro on Darwin.
2408 (is_error_condition_enum): Likewise.
2410 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2412 * include/bits/postypes.h: Do not include <stdint.h>.
2414 * include/Makefile.am: Reorder.
2416 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2418 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
2420 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
2422 * include/std/ratio: Documentation for std::ratio class. Add conditions
2423 to ratio_less to prevent overflow.
2424 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
2425 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
2428 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
2430 * include/std/ratio: New, per N2661.
2431 * include/Makefile.am: Update.
2432 * include/Makefile.in: Regenerate.
2433 * testsuite/20_util/ratio/cons/cons1.cc: New.
2434 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2435 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2436 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2437 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2438 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2439 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2441 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
2444 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
2445 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2447 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2449 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2450 Improve check on long double limits.
2451 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2453 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2455 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2458 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2460 * libsupc++/Makefile.am: Add initializer_list to the headers.
2461 * libsupc++/Makefile.in: Regenerate.
2463 * libsupc++/initializer_list: Minor cosmetic changes.
2465 2008-07-02 Jason Merrill <jason@redhat.com>
2467 * libsupc++/initializer_list: Uglify and wrap in
2468 __GXX_EXPERIMENTAL_CXX0X__.
2469 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
2471 2008-07-02 Jason Merrill <jason@redhat.com>
2473 * libsupc++/initializer_list: New file.
2474 * include/bits/stl_map.h (insert(initializer_list)): New method.
2476 2008-06-30 Alfred E. Heggestad <aeh@db.org>
2478 * include/backward/backward_warning.h: Fix typo.
2480 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2482 * src/string_conversions.cc: Remove.
2483 * config/abi/pre/gnu.ver: Delete exports.
2484 * src/Makefile.am: Update.
2485 * include/ext/string_conversions.h: Add.
2486 * include/Makefile.am: Update.
2487 * include/bits/basic_string.h: Include string_conversions.h,
2488 define numeric conversion functions.
2489 * include/ext/vstring.h: Likewise.
2490 * src/Makefile.in: Regenerate.
2491 * include/Makefile.in: Regenerate.
2493 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2495 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
2496 * include/bits/algorithmfwd.h: Add.
2497 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
2499 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
2500 move_iterators/1.cc: New
2501 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2502 * testsuite/25_algorithms/copy_n/1.cc: New.
2503 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
2504 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
2505 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
2506 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
2507 * testsuite/25_algorithms/copy_n/requirements/
2508 explicit_instantiation/2.cc: Likewise.
2509 * testsuite/25_algorithms/partition_point/requirements/
2510 explicit_instantiation/pod.cc: Likewise.
2512 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2514 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
2515 * include/bits/algorithmfwd.h: Add.
2516 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2517 * testsuite/25_algorithms/partition_point/1.cc: New.
2518 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
2519 * testsuite/25_algorithms/partition_point/requirements/
2520 explicit_instantiation/2.cc: Likewise.
2521 * testsuite/25_algorithms/partition_point/requirements/
2522 explicit_instantiation/pod.cc: Likewise.
2524 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2527 * include/ext/pb_ds/detail/resize_policy/
2528 sample_resize_trigger.hpp: Remove spurious namespace end.
2530 2008-06-27 Mark Mitchell <mark@codesourcery.com>
2532 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
2534 (__aeabi_vec_delete): Likewise.
2535 (__aeabi_vec_delete3): Likewise.
2536 (__aeabi_vec_delete3_nodtor): Likewise.
2538 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2540 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
2541 * include/bits/algorithmfwd.h: Add.
2542 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2543 * testsuite/25_algorithms/is_partitioned/1.cc: New.
2544 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
2545 * testsuite/25_algorithms/is_partitioned/requirements/
2546 explicit_instantiation/2.cc: Likewise.
2547 * testsuite/25_algorithms/is_partitioned/requirements/
2548 explicit_instantiation/pod.cc: Likewise.
2550 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2552 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
2553 * testsuite/util/testsuite_character.h (pod_int): Add operator++
2555 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
2556 * testsuite/26_numerics/iota/1.cc: New.
2557 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2559 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2562 * include/ext/algorithm: Do not fiddle with the legacy headers.
2564 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
2566 * testsuite/26_numerics/accumulate/1.cc: Likewise.
2567 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
2568 * testsuite/26_numerics/inner_product/1.cc: Likewise.
2570 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2572 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
2573 * include/bits/algorithmfwd.h: Add.
2574 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2575 * testsuite/25_algorithms/partition_copy/1.cc: New.
2576 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
2577 * testsuite/25_algorithms/partition_copy/requirements/
2578 explicit_instantiation/2.cc: Likewise.
2579 * testsuite/25_algorithms/partition_copy/requirements/
2580 explicit_instantiation/pod.cc: Likewise.
2582 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
2584 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
2585 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
2586 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
2588 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
2589 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
2590 * testsuite/20_util/unique_ptr/specialized_algorithms/
2591 comparisons_array.cc: Likewise.
2592 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
2594 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
2597 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2599 * include/parallel/base.h (plus, multiplies): Use __typeof__,
2602 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2604 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
2606 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
2607 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
2609 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
2610 * testsuite/util/testsuite_common_types.h (struct assignable,
2611 struct default_constructible, struct copy_constructible,
2612 struct explicit_value_constructible): Use a tad of simulated
2613 concept checking techniques to avoid spurious warnings.
2614 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
2616 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2618 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2620 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
2621 any_of, none_of): Add in C++0x, per N2666.
2622 * include/bits/algorithmfwd.h: Update.
2623 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2624 * testsuite/25_algorithms/all_of/check_type.cc: New.
2625 * testsuite/25_algorithms/all_of/1.cc: Likewise.
2626 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2628 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2630 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
2631 * testsuite/25_algorithms/any_of/1.cc: Likewise.
2632 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2634 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2636 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
2637 * testsuite/25_algorithms/none_of/1.cc: Likewise.
2638 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2640 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2642 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
2643 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
2644 * testsuite/25_algorithms/find_if_not/requirements/
2645 explicit_instantiation/2.cc: Likewise.
2646 * testsuite/25_algorithms/find_if_not/requirements/
2647 explicit_instantiation/pod.cc: Likewise.
2648 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
2649 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
2650 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
2652 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
2654 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
2655 parallel algorithms.
2656 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
2657 * doc/xml/manual/test.xml: Remove empty para tags.
2659 * doc/html/*: Regenerate.
2661 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2663 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
2664 (copy_if): Add, per N2666.
2665 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2667 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2669 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2671 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2672 Chalathip Thumkanon <chalathip@gmail.com>
2675 * include/ext/pb_ds/exception.hpp (__throw_container_error,
2676 __throw_insert_error, __throw_join_error, __throw_resize_error):
2679 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2681 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
2683 * include/bits/algorithmfwd.h: Add.
2684 * doc/xml/manual/intro.xml: Add an entry for DR 809.
2685 * testsuite/25_algorithms/swap/dr809.cc: New.
2687 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2688 2.cc: Remove stray empty line.
2690 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2692 * include/bits/stl_move.h: Rename to move.h.
2693 * include/std/utility: Adjust.
2694 * include/ext/vstring_util.h: Likewise.
2695 * include/ext/throw_allocator.h: Likewise.
2696 * include/ext/pool_allocator.h: Likewise.
2697 * include/ext/bitmap_allocator.h: Likewise.
2698 * include/ext/new_allocator.h: Likewise.
2699 * include/ext/malloc_allocator.h: Likewise.
2700 * include/ext/array_allocator.h: Likewise.
2701 * include/ext/mt_allocator.h: Likewise.
2702 * include/bits/stl_algobase.h: Likewise.
2703 * include/bits/stl_heap.h: Likewise.
2704 * include/bits/stl_pair.h: Likewise.
2705 * include/bits/stl_iterator.h: Likewise.
2706 * testsuite/util/testsuite_allocator.h: Likewise.
2707 * testsuite/util/testsuite_iterators.h: Likewise.
2708 * include/Makefile.am: Likewise.
2709 * include/Makefile.in: Regenerate.
2711 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
2713 * include/bits/unique_ptr.h: New.
2714 * include/std/memory: Adjust.
2715 * include/Makefile.am: Add.
2716 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
2717 explicit_instantiation.cc: New.
2718 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
2719 * include/Makefile.in: Regenerate.
2721 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2723 * include/c_global/climits, include/tr1/climits: Add parentheses.
2725 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2727 * configure: Regenerate.
2729 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
2731 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
2733 * testsuite/24_iterators/operations/next.cc: New.
2734 * testsuite/24_iterators/operations/prev.cc: Likewise.
2736 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
2738 * src/string_conversions.cc (__to_xstring<>): New.
2739 (to_string, to_wstring): Use it.
2741 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
2743 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
2744 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
2745 * src/string_conversions.cc: Add.
2746 * src/Makefile.am: Update.
2747 * config/abi/pre/gnu.ver: Adjust exports.
2748 * src/Makefile.in: Regenerate.
2749 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2751 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2753 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2755 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2757 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2759 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2761 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2763 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
2765 * testsuite/21_strings/basic_string/numeric_conversions/char/
2766 to_string.cc: Likewise.
2767 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2769 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2771 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2773 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2775 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2777 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2779 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2781 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2782 stoull.cc: Likewise.
2783 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2784 to_wstring.cc: Likewise.
2786 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2788 * include/Makefile.am: Remove trailing white space, fix typo.
2789 (parallel_headers): Remove duplicate file, sort entries.
2790 * include/Makefile.in: Regenerate.
2792 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2794 * src/condition_variable.cc (~condition_variable): Drop unused
2797 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2799 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
2800 deque<>::push_front(_Args&&...)): Remove.
2801 (deque<>::push_back(value_type&&),
2802 deque<>::push_front(value_type&&)): Add.
2803 (deque<>::push_back(const value_type&),
2804 deque<>::push_front(const value_type&)): Add back.
2805 (deque<>::emplace_back(_Args&&...),
2806 deque<>::emplace_front(_Args&&...)): Declare...
2807 * include/bits/deque.tcc: ... and define.
2808 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
2809 list<>::push_front(_Args&&...)): Remove.
2810 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2811 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2813 (list<>::push_back(const value_type&),
2814 list<>::push_front(const value_type&)): Add back.
2815 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
2816 (vector<>::push_back(value_type&&)): Add.
2817 (vector<>::push_back(const value_type&)): Add back.
2818 (vector<>::emplace_back(_Args&&...)): Declare...
2819 * include/bits/vector.tcc: ... and define.
2820 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
2821 priority_queue<>::push(_Args&&...)): Remove.
2822 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
2823 priority_queue<>::push(value_type&&),
2824 priority_queue<>::emplace(_Args&&...)): Add.
2825 (queue<>::push(const value_type&),
2826 priority_queue<>::push(const value_type&)): Add back.
2827 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
2828 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
2829 (stack<>::push(const value_type&)): Add back.
2830 * include/debug/deque (deque<>::push_back(_Args&&...),
2831 deque<>::push_front(_Args&&...)): Remove.
2832 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
2833 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
2835 (deque<>::push_back(const value_type&),
2836 deque<>::push_front(const value_type&)): Add back.
2837 * include/debug/list (list<>::push_back(_Args&&...),
2838 list<>::push_front(_Args&&...)): Remove.
2839 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2840 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2842 (list<>::push_back(const value_type&),
2843 list<>::push_front(const value_type&)): Add back.
2844 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
2845 (vector<>::push_back(value_type&&),
2846 vector<>::emplace_back(_Args&&...)): Add.
2847 (vector<>::push_back(const value_type&)): Add back.
2848 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2849 Adjust dg-error line numbers.
2850 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2852 * testsuite/23_containers/deque/requirements/dr438/
2853 constructor_1_neg.cc: Likewise.
2854 * testsuite/23_containers/deque/requirements/dr438/
2855 constructor_2_neg.cc: Likewise.
2856 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2857 Adjust dg-error line numbers.
2858 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2860 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2862 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2864 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2865 Adjust dg-error line numbers.
2866 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2868 * testsuite/23_containers/vector/requirements/dr438/
2869 constructor_1_neg.cc: Likewise.
2870 * testsuite/23_containers/vector/requirements/dr438/
2871 constructor_2_neg.cc: Likewise.
2873 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2875 * include/tr1_impl/array (array<>::assign): Do not define in
2876 C++0x mode, per DR 776...
2877 (array<>::fill): ... define instead.
2878 * doc/xml/manual/intro.xml: Add an entry for DR 776.
2879 * testsuite/23_containers/array/requirements/fill.cc: New.
2881 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
2883 * include/std/complex (pow(const complex<>&, int)): Do not define in
2884 C++0x mode, per DR 844.
2885 * include/tr1/complex (pow(const complex<>&, int)): Remove.
2886 * doc/xml/manual/intro.xml: Add an entry for DR 844.
2887 * testsuite/26_numerics/complex/dr844.cc: New.
2888 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
2890 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
2892 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
2893 cend(size_type)): Add per DR 691.
2894 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
2896 * testsuite/23_containers/unordered_multimap/requirements/
2897 cliterators.cc: Likewise.
2898 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
2900 * testsuite/23_containers/unordered_multiset/requirements/
2901 cliterators.cc: Likewise.
2902 * doc/xml/manual/intro.xml: Add an entry for DR 691.
2904 2008-06-11 Matthias Klose <doko@ubuntu.com>
2906 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
2907 Remove empty directories.
2909 2008-06-07 Joseph Myers <joseph@codesourcery.com>
2911 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
2912 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
2913 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
2914 * configure: Regenerate.
2915 * config/os/solaris/solaris2.5: Remove directory.
2916 * config/os/solaris/solaris2.6: Remove directory.
2917 * config/os/windiss: Remove directory.
2919 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
2921 * doc/xml/manual/using.xml: Outline exception topics.
2923 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
2924 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2925 policy_access_fn_imps.hpp: Same.
2926 * include/ext/pb_ds/priority_queue.hpp: Same.
2927 * include/ext/throw_allocator.h: Same.
2929 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
2930 (sequence_tag): New tag. Doxygen markup fixes.
2932 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
2934 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
2935 comment typo, include paths, format.
2936 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
2937 * testsuite/performance/ext/pb_ds/
2938 hash_random_int_erase_mem_usage.cc: Same.
2939 * testsuite/performance/ext/pb_ds/
2940 random_int_subscript_find_timing.cc: Same.
2941 * testsuite/performance/ext/pb_ds/
2942 priority_queue_text_push_timing.cc: Same.
2943 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
2944 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
2945 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
2946 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
2947 * testsuite/performance/ext/pb_ds/
2948 priority_queue_random_int_push_timing.cc: Same.
2949 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
2950 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
2951 * testsuite/performance/ext/pb_ds/
2952 priority_queue_text_push_pop_timing.cc: Same.
2953 * testsuite/performance/ext/pb_ds/
2954 priority_queue_text_join_timing.cc: Same.
2955 * testsuite/performance/ext/pb_ds/
2956 priority_queue_random_int_push_pop_timing.cc: Same.
2957 * testsuite/performance/ext/pb_ds/
2958 random_int_subscript_insert_timing.cc: Same.
2959 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
2960 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
2961 * testsuite/performance/ext/pb_ds/
2962 priority_queue_text_pop_mem_usage.cc: Same.
2963 * testsuite/performance/ext/pb_ds/
2964 hash_zlob_random_int_find_timing.cc: Same.
2965 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
2966 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2967 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
2968 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2969 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
2970 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2971 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
2972 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2973 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2974 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
2975 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
2976 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
2977 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
2978 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
2979 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
2980 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2981 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
2982 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2983 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
2984 * testsuite/util/regression/basic_type.hpp: Same.
2985 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
2986 * testsuite/util/common_type/priority_queue/detail/
2987 ds_string_form.hpp: Same.
2988 * testsuite/util/common_type/assoc/string_form.hpp: Same.
2989 * testsuite/util/common_type/assoc/detail/
2990 resize_policy_string_form.hpp: Same.
2991 * testsuite/util/common_type/assoc/detail/
2992 trigger_policy_string_form.hpp: Same.
2993 * testsuite/util/common_type/assoc/detail/
2994 comb_hash_fn_string_form.hpp: Same.
2995 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
2996 * testsuite/util/common_type/assoc/detail/
2997 size_policy_string_form.hpp: Same.
2998 * testsuite/util/common_type/assoc/detail/
2999 probe_fn_string_form.hpp: Same.
3000 * testsuite/util/common_type/assoc/detail/
3001 list_update_policy_string_form.hpp: Same.
3002 * testsuite/util/common_type/assoc/detail/
3003 store_hash_string_form.hpp: Same.
3004 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3005 * testsuite/util/io/prog_bar.cc: Same.
3007 * testsuite/util/regression/rand/io: Remove.
3008 * testsuite/util/regression/rand/io/priority_queue: Same.
3009 * testsuite/util/regression/rand/io/assoc: Same.
3010 * testsuite/util/regression/rand/io/priority_queue/
3011 xml_formatter.hpp: Consolidate this...
3012 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3013 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3014 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3016 * testsuite/util/regression/rand/priority_queue/
3017 container_rand_regression_test.hpp:To ...
3018 container_rand_regression_test.h: ... this.
3019 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3020 * testsuite/util/regression/rand/priority_queue/
3021 container_rand_regression_test.tcc: ... this.
3022 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3023 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3024 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3025 * testsuite/util/regression/rand/priority_queue/
3026 rand_regression_test.hpp: Adjust includes.
3028 * testsuite/util/regression/rand/assoc/
3029 container_rand_regression_test.hpp: To ...
3030 * testsuite/util/regression/rand/assoc/
3031 container_rand_regression_test.h: ... this.
3032 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3033 * testsuite/util/regression/rand/assoc/
3034 container_rand_regression_test.tcc: ...this.
3035 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3038 * testsuite/util/regression/priority_queue: Remove.
3039 * testsuite/util/regression/assoc: Remove.
3040 * testsuite/util/regression/priority_queue/
3041 common_type.hpp: Consolidate this...
3042 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3043 * testsuite/util/regression/common_type.hpp: ...here.
3045 * testsuite/util/rng: Remove.
3046 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3047 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3048 * testsuite/util/testsuite_rng.h: ...here.
3050 * testsuite/util/native_type/priority_queue: Remove.
3051 * testsuite/util/native_type/priority_queue/
3052 native_priority_queue.hpp: To...
3053 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3055 * testsuite/util/native_type/assoc: Remove.
3056 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3057 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3058 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3059 * testsuite/util/native_type/assoc/native_set.hpp: To...
3060 * testsuite/util/native_type/assoc/native_map.hpp: To...
3061 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3062 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3063 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3064 * testsuite/util/native_type/native_multimap.hpp: ...here.
3065 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3066 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3067 * testsuite/util/native_type/native_set.hpp: ...here.
3068 * testsuite/util/native_type/native_map.hpp: ...here.
3069 * testsuite/util/native_type/native_hash_set.hpp: ...here.
3070 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3071 * testsuite/util/native_type/native_hash_map.hpp: ...here.
3073 * testsuite/util/common_type/priority_queue/common_type.hpp:
3074 Make include guard distinct.
3075 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3077 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3079 * configure.ac: Do not check for gconv.h.
3080 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3081 gconf.h. For glibc and uClibc systems, define
3082 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3084 * configure, config.h.in: Regenerate.
3086 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3088 * testsuite/17_intro/headers/all.cc,
3089 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3090 testsuite/17_intro/headers/all_pedantic_errors.cc,
3091 testsuite/ext/headers.cc: Only include
3092 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3093 _GLIBCXX_HAVE_ICONV.
3095 2008-06-05 Johannes Singler <singler@ira.uka.de>
3097 * include/parallel/random_shuffle.h:
3098 (parallel_random_shuffle_drs) Get the actual number of
3099 threads after entering the parallel region. Indentation.
3100 * include/parallel/algo.h: (random_shuffle(begin, end))
3101 Add namespace qualification to avoid ambiguity.
3103 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
3105 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3106 to allocator_type, as per existing conventions.
3107 * include/ext/pb_ds/detail/binomial_heap_base_/
3108 binomial_heap_base_.hpp: Same.
3109 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3110 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3111 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3112 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3113 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3114 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3115 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3116 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3117 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3118 left_child_next_sibling_heap_.hpp: Same.
3119 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3120 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3121 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3122 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3123 * include/ext/pb_ds/detail/rc_binomial_heap_/
3124 rc_binomial_heap_.hpp: Same.
3125 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3126 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3127 * include/ext/pb_ds/list_update_policy.hpp: Same.
3128 * include/ext/pb_ds/exception.hpp: Same.
3129 * include/ext/pb_ds/tree_policy.hpp: Same.
3130 * include/ext/pb_ds/trie_policy.hpp: Same.
3131 * include/ext/pb_ds/priority_queue.hpp: Same.
3132 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3133 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3134 * testsuite/util/regression/rand/priority_queue/detail/
3135 defs_fn_imps.hpp: Same.
3136 * testsuite/util/regression/rand/priority_queue/detail/
3137 operator_fn_imps.hpp: Same.
3138 * testsuite/util/regression/rand/priority_queue/
3139 container_rand_regression_test.hpp: Same.
3140 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3141 * testsuite/util/regression/rand/assoc/detail/
3142 operator_fn_imps.hpp: Same.
3143 * testsuite/util/regression/rand/assoc/
3144 container_rand_regression_test.hpp: Same.
3145 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3146 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3147 * testsuite/util/common_type/assoc/detail/
3148 tree_supports_order_statistics.hpp: Same.
3149 * testsuite/util/common_type/assoc/detail/
3150 trie_supports_prefix_search.hpp: Same.
3151 * testsuite/util/common_type/assoc/detail/
3152 trie_supports_order_statistics.hpp: Same.
3154 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
3155 Daniel Jacobowitz <dan@codesourcery.com>
3157 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3159 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3160 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3162 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
3164 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3165 avoid a memory leak if the first __uninitialized_move_a throws.
3166 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3168 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3169 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3171 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
3172 Chris Jefferson <chris@bubblescope.net>
3175 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3176 (pop_heap): Slightly tweak.
3178 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
3180 * include/debug/bitset (bitset(const char*)): Implement DR 778
3183 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3184 deal with char16_t and char32_t.
3186 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
3188 * include/c_global/cmath (pow(float, int), pow(double, int),
3189 pow(long double, int)): Do not define in C++0x mode, per DR 550.
3190 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3192 * include/tr1/cmath (pow(double, double), pow(float, float),
3193 pow(long double, long double), pow(_Tp, _Up)): Define.
3194 * include/tr1/complex (pow): Do not bring in from namespace std.
3195 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3196 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3197 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3198 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3199 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3200 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3202 * doc/xml/manual/intro.xml: Add an entry for DR 550.
3203 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3204 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3206 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3208 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3209 * include/std/date_time: Likewise.
3210 * include/std/system_error: Likewise.
3211 * include/std/type_traits: Likewise; fix typo in macro name.
3212 * include/std/regex: Likewise.
3213 * include/std/random: Likewise.
3214 * include/std/unordered_map: Likewise.
3215 * include/std/condition_variable: Likewise.
3216 * include/std/unordered_set: Likewise.
3217 * include/std/mutex: Likewise.
3218 * include/std/array: Likewise.
3220 * include/c_std/cmath: Fix obsolete comment.
3221 * include/c_global/cmath: Likewise.
3223 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3225 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3226 complex<float>::real(float), complex<float>::imag(float),
3227 complex<double>::real(double), complex<double>::imag(double),
3228 complex<long double>::real(long double),
3229 complex<long double>::imag(long double)): Add per DR 387.
3230 (complex<>::real(), complex<>::imag(), complex<float>::real(),
3231 complex<float>::imag(), complex<double>::real(),
3232 complex<double>::imag(), complex<long double>::real(),
3233 complex<long double>::imag(long double)): Adjust in C++0x mode.
3234 (real(complex<>&), imag(complex<>&), real(const complex<>&),
3235 imag(const complex<>&)): Likewise.
3236 * testsuite/26_numerics/complex/dr387.cc: New.
3237 * doc/xml/manual/intro.xml: Add an entry for DR 387.
3239 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3241 * include/std/complex: Trivial stylistic changes, define inline
3242 members inline, consistently with the rest of the library.
3243 (pow(const _Tp&, const complex<>&)): Minor tweak.
3245 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3247 * src/atomic.cc (atomic_flag_test_and_set_explicit,
3248 atomic_flag_clear_explicit): Suppress unused parameter warnings.
3250 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3252 * include/std/tuple: Replace int -> size_t throughout per DR 775.
3253 * include/tr1_impl/array: Likewise.
3254 * include/tr1_impl/utility: Likewise.
3255 * doc/xml/manual/intro.xml: Add an entry for DR 775.
3257 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3259 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
3261 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3263 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
3264 * include/c_global/cmath (fpclassify): Likewise.
3266 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3268 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
3269 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
3270 * testsuite/23_containers/unordered_map/dr761.cc: New.
3271 * doc/xml/manual/intro.xml: Add an entry for DR 761.
3273 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3275 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
3277 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3279 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
3281 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
3282 * include/tr1/complex: ... here.
3283 * doc/xml/manual/intro.xml: Add an entry for DR 781.
3284 * testsuite/26_numerics/complex/dr781.cc: Add.
3285 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
3286 * configure: Regenerate.
3288 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3290 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
3291 (bitset<>::_M_copy_from_ptr): Add.
3292 (bitset<>::_M_copy_from_string): Forward to the latter.
3293 * doc/xml/manual/intro.xml: Add an entry for DR 778.
3294 * testsuite/23_containers/bitset/cons/2.cc: Add.
3296 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3298 * doc/html/ext/lwg-active.html: Update to Revision R56.
3299 * doc/html/ext/lwg-closed.html: Likewise.
3300 * doc/html/ext/lwg-defects.html: Likewise.
3302 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
3304 PR c++/33979 (partial)
3305 * include/tr1_impl/functional_hash.h (hash<char16_t>,
3306 hash<char32_t>): Add specializations.
3307 * include/tr1_impl/type_traits (is_integral<char16_t>,
3308 is_integral<char32_t>): Likewise.
3309 * include/std/limits (numeric_limits<char16_t>,
3310 numeric_limits<char32_t>): Likewise.
3311 * src/limits_c++0x.cc: Add.
3312 * src/Makefile.am: Update.
3313 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
3315 * testsuite/20_util/is_integral/value.cc: New.
3316 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
3317 * testsuite/20_util/is_integral/requirements/
3318 explicit_instantiation.cc: Likewise.
3319 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
3320 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
3322 * configure: Regenerate.
3323 * src/Makefile.in: Likewise.
3324 * config.h.in: Likewise.
3326 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
3328 * include/std/system_error: Align to current draft specifications.
3329 * src/system_error.cc: Same.
3330 * src/functexcept.cc: Adjust for corrected system_error construction.
3331 * include/std/ostream: Adjust error_code inserter.
3332 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
3333 * config/abi/pre/gnu.ver: Add new exports.
3335 * testsuite/util/testsuite_error.h: Consolidate error testing
3337 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
3338 testsuite_error, adjust line numbers and constructor calls.
3339 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
3340 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
3341 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
3342 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
3343 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
3344 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
3345 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3347 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
3348 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
3349 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
3350 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
3351 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
3352 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
3354 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
3356 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
3357 * configure: Regenerate.
3359 2008-05-15 Johannes Singler <singler@ira.uka.de>
3361 * xml/manual/parallel_mode.xml:
3362 General revision and documentation of new compile-time
3363 options for sorting.
3365 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3367 * include/std/mutex (mutex::try_lock): Eat errors.
3368 (mutex::unlock): Same.
3369 (recursive_mutex::try_lock): Eat errors.
3370 (recursive_mutex::unlock): Same.
3371 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
3372 -pthreads, adjust line numbers.
3373 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
3374 * testsuite/30_threads/mutex/cons/1.cc: Same.
3375 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
3376 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
3377 * testsuite/30_threads/mutex/lock/1.cc: Same.
3378 * testsuite/30_threads/mutex/unlock/1.cc: Same.
3379 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
3380 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
3381 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
3383 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3385 * include/std/sstream: Adjust braces.
3386 * include/bits/fstream.tcc: Same.
3387 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
3389 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3391 * doc/doxygen/user.cfg.in: Remove thread include.
3393 2008-05-13 David Daney <ddaney@avtrex.com>
3395 * config/cpu/mips/atomicity.h: Remove file.
3396 * config/cpu/mips: Remove directory.
3397 * configure.host: Remove host specific handling for mips*-*-*.
3399 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
3400 Paolo Carlini <paolo.carlini@oracle.com>
3402 * include/debug/vector (vector<>::_M_requires_reallocation): Just
3403 use this->capacity().
3404 (vector<>::capacity): Move non-pedantic / pedantic logic here.
3405 * testsuite/23_containers/vector/
3406 debug_mode_requires_reallocation-2.cc: New.
3408 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3409 Rename to debug_mode_requires_reallocation-1.cc
3411 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
3412 Paolo Carlini <paolo.carlini@oracle.com>
3414 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
3415 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3418 2008-05-07 Johannes Singler <singler@ira.uka.de>
3420 * include/parallel/quicksort.h:
3421 (parallel_sort_qs_conquer) Explicitly request number of threads
3422 in the parallel clause.
3423 (parallel_sort_qs) Remove setting the number of threads globally.
3425 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3427 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
3428 (recursive_mutex::recursive_mutex): Same.
3429 (once_flag::once_flag): Same.
3430 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
3431 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
3432 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
3433 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
3435 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3437 * include/std/condition_variable: New.
3438 * include/std/mutex: New.
3439 * src/condition_variable.cc: New.
3440 * src/mutex.cc: New.
3441 * include/bits/functexcept.h: Add __throw_system_error varients.
3442 * src/functexcept.cc: Same.
3443 * config/abi/pre/gnu.ver: Add exports.
3445 * doc/xml/manual/using.xml: Add new includes.
3446 * doc/doxygen/user.cfg.in: Doxygen support.
3447 * doc/doxygen/doxygroups.cc: Same.
3449 * include/Makefile.am: Add mutex, condition_variable.
3450 * include/Makefile.in: Regenerated.
3451 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
3452 * src/Makefile.in: Regenerated.
3454 * testsuite/30_threads: New.
3455 * testsuite/30_threads/lock_error: New.
3456 * testsuite/30_threads/mutex: New.
3457 * testsuite/30_threads/mutex/dest: New.
3458 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
3459 * testsuite/30_threads/mutex/native_handle: New.
3460 * testsuite/30_threads/mutex/native_handle/1.cc: New.
3461 * testsuite/30_threads/mutex/cons: New.
3462 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
3463 * testsuite/30_threads/mutex/cons/1.cc: New.
3464 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
3465 * testsuite/30_threads/mutex/requirements: New.
3466 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
3467 * testsuite/30_threads/mutex/try_lock: New.
3468 * testsuite/30_threads/mutex/try_lock/1.cc: New.
3469 * testsuite/30_threads/mutex/try_lock/2.cc: New.
3470 * testsuite/30_threads/mutex/lock: New.
3471 * testsuite/30_threads/mutex/lock/1.cc: New.
3472 * testsuite/30_threads/mutex/unlock: New.
3473 * testsuite/30_threads/mutex/unlock/1.cc: New.
3474 * testsuite/30_threads/recursive_mutex: New.
3475 * testsuite/30_threads/recursive_mutex/dest: New.
3476 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
3477 * testsuite/30_threads/recursive_mutex/native_handle: New.
3478 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
3479 * testsuite/30_threads/recursive_mutex/cons: New.
3480 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
3481 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
3482 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
3483 * testsuite/30_threads/recursive_mutex/requirements: New.
3484 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
3485 * testsuite/30_threads/lock_guard: New.
3486 * testsuite/30_threads/lock_guard/requirements: New.
3487 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
3488 * testsuite/30_threads/lock_guard/requirements/
3489 explicit_instantiation.cc: New.
3490 * testsuite/30_threads/headers: New.
3491 * testsuite/30_threads/headers/mutex: New.
3492 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
3493 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
3494 * testsuite/30_threads/headers/condition_variable: New.
3495 * testsuite/30_threads/headers/condition_variable/
3496 types_std_c++0x.cc: New.
3497 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
3498 * testsuite/30_threads/once_flag: New.
3499 * testsuite/30_threads/unique_lock: New.
3500 * testsuite/30_threads/unique_lock/requirements: New.
3501 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
3502 * testsuite/30_threads/unique_lock/requirements/
3503 explicit_instantiation.cc: New.
3504 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
3506 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3509 * include/bits/c++config: Namespace macros and setup only in C++.
3510 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
3512 2008-05-06 Johannes Singler <singler@ira.uka.de>
3514 * include/parallel/multiway_merge.h:
3515 (multiway_merge_*_unguarded):
3516 Pass sentinel directly, to allow correct determination.
3517 (multiway_merge_loser_tree_unguarded):
3518 Remove over-cautious assertion.
3519 (calls to multiway_merge_*_splitting):
3520 Parametrize with type that is correct in all cases.
3521 * include/parallel/losertree.h:
3522 (delete_min_insert (in many classes)):
3523 Correct and standardize assertions.
3525 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3527 * testsuite/util/testsuite_visualization.h: Move contents into...
3528 * testsuite/util/testsuite_performance.h: ...here.
3529 * testsuite/util/testsuite_common_types.h: Move
3530 performance-related test infrastructure into
3531 testsuite_performance.
3532 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
3533 * testsuite/performance/23_containers/find/map.cc: Same.
3534 * testsuite/performance/23_containers/create/map.cc: Same.
3535 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
3536 * testsuite/performance/23_containers/insert/sequence.cc: Same.
3537 * testsuite/performance/23_containers/insert/associative.cc: Same.
3538 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
3539 * testsuite/performance/23_containers/index/map.cc: Same.
3540 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
3541 * testsuite/performance/23_containers/create_sort/list.cc: Same.
3542 * testsuite/performance/23_containers/sort_search/list.cc: Same.
3543 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
3545 * testsuite/performance/23_containers/producer_consumer/associative.cc:
3548 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
3549 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3551 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3553 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
3554 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
3556 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
3558 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
3560 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3562 * include/Makefile.am (install-headers): Cope with empty
3564 * include/Makefile.in: Regenerate.
3566 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
3568 * include/bits/c++config: Remove space between '#' and 'undef' for
3569 _GLIBCXX_LONG_DOUBLE_COMPAT.
3571 2008-04-29 Joseph Myers <joseph@codesourcery.com>
3573 * Makefile.am (install-html, install-pdf): Add dummy targets.
3574 * Makefile.in: Regenerate.
3575 * doc/Makefile.am (install-html, install-pdf): Remove.
3576 * doc/Makefile.in: Regenerate.
3578 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3580 * include/bits/c++config: Move os_defines and cpu_defines after
3581 namespace definitions and base macros.
3583 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3586 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
3588 * configure: Regenerate.
3590 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3593 * include/std/unordered_map: Include debug/unordered_map if
3595 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
3596 * testsuite/23_containers/unordered_map/requirements/
3597 debug_container.cc: ...here.
3598 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
3599 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
3600 * testsuite/23_containers/unordered_set/requirements/
3601 debug_container.cc: ...here.
3602 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
3604 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3607 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
3608 * configure.ac: Re-order compiler macros.
3609 * configure: Regenerated.
3611 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3614 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
3615 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
3616 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
3617 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
3618 * configure: Regenerate.
3619 * include/Makefile.am (parallel_headers): Make conditional on
3621 * include/Makefile.in: Regenerate.
3623 2008-04-24 Paolo Carlini <pcarlini@suse.de>
3626 * include/debug/list (merge): Use _M_transfer_iter, consistently
3627 with the splice members.
3628 * testsuite/23_containers/list/operations/35969.cc: New.
3630 * testsuite/23_containers/list/operators: Rename to
3631 testsuite/23_containers/list/operations.
3633 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3635 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
3636 all used __sync builtins, in two sizes.
3637 * config.h.in: Regenerate.
3638 * configure: Regenerate.
3639 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
3640 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3641 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3642 * doc/xml/manual/concurrency.xm: Update docs.
3644 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
3646 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
3647 _GLIBCXX_BEGIN_EXTERN_C, etc.
3649 2008-04-23 Johannes Singler <singler@ira.uka.de>
3651 * include/parallel/quicksort.h: Reformat,
3652 (parallel_sort_qs): Do not pass number of elements.
3653 * include/parallel/balanced_quicksort.h: Reformat,
3654 (parallel_sort_qsb): Do not pass number of elements.
3655 * include/parallel/tags.h:
3656 Introduce new tags for compile-time choice.
3657 * include/parallel/merge.h:
3658 (parallel_merge_advance):Beautified.
3659 * include/parallel/algo.h: Reformatting (spaces for tabs)
3660 New sort and stable_sort variants, corresponding to the tags.
3661 * include/parallel/sort.h:
3662 New sort and stable_sort variants, corresponding to the tags.
3663 Changed determining the desired number of threads.
3665 2008-04-23 Johannes Singler <singler@ira.uka.de>
3667 * include/parallel/multiway_merge.h
3668 (multiway_merge_loser_tree):
3669 Leave checks to callers, add precondition instead.
3670 (multiway_merge_loser_tree_unguarded): Likewise.
3671 (multiway_merge_loser_tree_sentinel): Likewise.
3672 (sequential_multiway_merge): Added checks for total length 0.
3673 (parallel_multiway_merge): Skip empty sequences.
3674 (multiway_merge, all variants):
3675 Remove temporary variable, return directly.
3676 (stable_multiway_merge, all variants): Likewise.
3677 (multiway_merge_sentinels, all variants): Likewise.
3678 (stable_multiway_merge_sentinels, all variants): Likewise.
3679 * include/parallel/multiseq_selection.h
3680 (multiseq_partition): More detailed assertions.
3682 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3684 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
3685 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
3686 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
3687 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
3688 * configure: Regenerate.
3690 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3693 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
3694 Call 'mkdir -p' unconditionally, but ignore its return value.
3695 * include/Makefile.in: Regenerate.
3697 * include/Makefile.am: Fix most stamp rules to regenerate
3698 the links for all sources newer than the stamp file.
3699 * include/Makefile.in: Regenerate.
3700 * Makefile.in: Likewise.
3701 * src/Makefile.in: Likewise.
3702 * doc/Makefile.in: Likewise.
3703 * po/Makefile.in: Likewise.
3704 * libmath/Makefile.in: Likewise.
3705 * libsupc++/Makefile.in: Likewise.
3706 * testsuite/Makefile.in: Likewise.
3708 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
3711 * aclocal.m4: Regenerate.
3712 * configure: Regenerate.
3714 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
3717 * configure.ac: Use GCC_HEADER_STDINT.
3718 * src/atomic.cc: Include gstdint.h
3719 * configure: Regenerate.
3720 * Makefile.in: Likewise.
3721 * doc/Makefile.in: Likewise.
3722 * include/Makefile.in: Likewise.
3723 * libmath/Makefile.in: Likewise.
3724 * libsupc++/Makefile.in: Likewise.
3725 * po/Makefile.in: Likewise.
3726 * src/Makefile.in: Likewise.
3727 * testsuite/Makefile.in: Likewise.
3728 * aclocal.m4: Likewise.
3730 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3733 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
3734 -O0 when checking for atomic builtins.
3735 * configure: Regenerate.
3737 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3739 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
3741 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3743 * doc/html/*: Regenerate.
3745 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3747 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
3748 * doc/xml/authors.xml: Fix typos.
3749 * doc/xml/faq.xml: Likewise.
3750 * doc/xml/manual/abi.xml: Likewise.
3751 * doc/xml/manual/allocator.xml: Likewise.
3752 * doc/xml/manual/appendix_contributing.xml: Likewise.
3753 * doc/xml/manual/backwards_compatibility.xml: Likewise.
3754 * doc/xml/manual/build_hacking.xml: Likewise.
3755 * doc/xml/manual/codecvt.xml: Likewise.
3756 * doc/xml/manual/concurrency.xml: Likewise.
3757 * doc/xml/manual/ctype.xml: Likewise.
3758 * doc/xml/manual/debug_mode.xml: Likewise.
3759 * doc/xml/manual/diagnostics.xml: Likewise.
3760 * doc/xml/manual/evolution.xml: Likewise.
3761 * doc/xml/manual/extensions.xml: Likewise.
3762 * doc/xml/manual/locale.xml: Likewise.
3763 * doc/xml/manual/messages.xml: Likewise.
3764 * doc/xml/manual/parallel_mode.xml: Likewise.
3765 * doc/xml/manual/status_cxx200x.xml: Likewise.
3766 * doc/xml/manual/strings.xml: Likewise.
3767 * doc/xml/manual/support.xml: Likewise.
3768 * doc/xml/manual/test.xml: Likewise.
3769 * doc/xml/manual/using.xml: Likewise.
3771 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3772 Johannes Singler <singler@ira.uka.de>
3774 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
3775 insertors. Correct omp_set_num_threads example.
3777 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3779 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
3780 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
3781 * src/atomic.c: Format, doxygen markup, edits.
3783 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
3784 * src/Makefile.am (atomic.c): Add.
3785 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
3786 * configure.ac: Call it.
3787 * include/Makefile.in: Regenerate.
3788 * src/Makefile.in: Same.
3789 * Makefile.in: Same.
3790 * doc/Makefile.in: Same.
3791 * po/Makefile.in: Same.
3792 * libmath/Makefile.in: Same.
3793 * include/Makefile.in: Same.
3794 * testsuite/Makefile.in: Same.
3795 * libsupc++/Makefile.in: Same.
3796 * config.h.in: Same.
3799 * config/abi/pre/gnu.ver: Add atomics exports.
3801 * include/ext/typelist.h (apply_generator): New.
3802 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
3803 (_GLIBCXX_END_EXTERN_C): New.
3804 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
3806 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
3808 * testsuite/util/testsuite_common_types.h (integral_types): New
3810 (atomics, atomics_tl): Same.
3811 (assignable, default_constructible, copy_constructible,
3812 explicit_value_constructible): New.
3813 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
3814 * testsuite/29_atomics: New.
3815 * testsuite/29_atomics/atomic_address: Same.
3816 * testsuite/29_atomics/atomic_address/cons: Same.
3817 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
3818 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
3819 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
3820 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
3821 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
3822 * testsuite/29_atomics/atomic_flag: Same.
3823 * testsuite/29_atomics/atomic_flag/cons: Same.
3824 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
3825 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
3826 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
3827 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
3828 * testsuite/29_atomics/atomic_flag/requirements: Same.
3829 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
3831 * testsuite/29_atomics/atomic_flag/
3832 atomic_global_fence_compatibility.cc: Same.
3833 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
3834 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
3835 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
3836 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3837 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
3838 * testsuite/29_atomics/headers: Same.
3839 * testsuite/29_atomics/headers/cstdatomic: Same.
3840 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
3841 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
3842 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
3843 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
3844 * testsuite/29_atomics/headers/stdatomic.h: Same.
3845 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
3846 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
3847 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
3848 * testsuite/29_atomics/atomic: Same.
3849 * testsuite/29_atomics/atomic/cons: Same.
3850 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
3851 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
3852 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3853 * testsuite/29_atomics/atomic/cons/default.cc: Same.
3854 * testsuite/29_atomics/atomic/requirements: Same.
3855 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
3856 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
3859 2008-04-10 Lawrence Crowl <crowl@google.com>
3861 * include/c_global/cstdatomic: New.
3862 * include/c_compatibility/stdatomic.h: New.
3863 * src/atomic.c: New.
3865 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3867 * include/std/tuple: Consistency check for include guard, doxygen
3869 * include/std/date_time: Same.
3870 * include/std/type_traits: Same.
3871 * include/std/regex: Same.
3872 * include/std/array: Same.
3873 * include/std/system_error: Same, add error_code ctor.
3875 2008-04-07 Johannes Singler <singler@ira.uka.de>
3877 * include/parallel/multiway_merge.h: Moved decisions to
3878 compile-time instead of run-time.
3879 * include/parallel/losertree.h: Removed obsolete variants, added
3880 variant that uses pointers in the loser tree.
3881 * include/parallel/types.h: Remove obsolete settings options from enum.
3882 * include/parallel/features.h: Remove obsolete compile-time switches.
3883 * include/parallel/compiletime_settings.h: Remove obsolete variant
3884 that copies back *after* sorting.
3885 * include/parallel/tags.h: Add one new tag for compile-time switch.
3886 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
3887 * include/parallel/multiway_mergesort.h: Adapt to changes in
3888 multiway_merge.h. Factor out splitting variants. Remove obsolete
3889 variant that copies back *after* sorting.
3890 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
3891 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
3894 2008-03-29 Paolo Carlini <pcarlini@suse.de>
3897 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
3898 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
3899 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
3900 _Tp)): Fix signatures.
3901 * testsuite/25_algorithms/fill/35725.cc: New.
3902 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
3904 2008-03-29 Matthias Klose <doko@ubuntu.com>
3906 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
3907 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
3908 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
3909 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
3911 2008-03-27 Ian Lance Taylor <iant@google.com>
3913 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
3914 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
3915 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
3916 * aclocal.m4, configure: Rebuild.
3918 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
3920 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
3921 symbol_names typedefs.
3922 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
3923 for long double compatiblity symbols, simplify data structures used.
3925 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
3927 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
3929 * doc/doxygen/style.css: Delete.
3930 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
3932 (PREDEFINED): Update.
3933 (HTML_OUTPUT): Remove html_output_dir, use html.
3934 (HTML_STYLESHEET): Remove style.css.
3935 * doc/doxygen/tables.html: Remove style.css use.
3936 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
3937 * doc/doxygen/doxygroups.cc: Namespace edits.
3938 * doc/doxygen/Intro.3: Correct typo.
3940 * doc/xml/api.xml: Add gcc-4.3 links.
3941 * doc/html/api.html: Regenerate.
3943 * include/debug/debug.h: Document namepaces here.
3944 * include/parallel/base.h: Same.
3945 * include/ext/typelist.h: Same.
3946 * include/ext/pb_ds/tag_and_trait.hpp: Same.
3948 * include/tr1_impl/random: Adjust line break.
3949 * include/tr1_impl/unordered_map: Correct and or add markup.
3950 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
3951 * include/tr1_impl/functional_hash.h: Same.
3952 * include/tr1_impl/cmath: Same.
3953 * include/tr1_impl/functional: Same.
3954 * include/tr1_impl/unordered_set: Same.
3955 * include/tr1_impl/complex: Same.
3956 * include/tr1_impl/type_traits: Same.
3957 * include/tr1_impl/regex: Same.
3958 * include/tr1_impl/array: Same.
3959 * include/std/tuple: Same.
3960 * include/std/date_time: Same.
3961 * include/std/system_error: Same.
3962 * include/std/type_traits: Same.
3963 * include/ext/enc_filebuf.h: Same.
3964 * include/ext/throw_allocator.h: Same.
3965 * include/ext/pool_allocator.h: Same.
3966 * include/ext/bitmap_allocator.h: Same.
3967 * include/ext/concurrence.h: Same.
3968 * include/ext/codecvt_specializations.h: Same.
3969 * include/ext/stdio_sync_filebuf.h: Same.
3970 * include/ext/array_allocator.h: Same.
3971 * include/ext/mt_allocator.h: Same.
3972 * include/bits/locale_classes.h: Same.
3973 * include/bits/locale_facets.h: Same.
3974 * include/bits/codecvt.h: Same.
3975 * include/bits/char_traits.h: Same.
3976 * include/bits/allocator.h: Same.
3977 * include/bits/locale_facets_nonio.h: Same.
3978 * include/tr1/poly_laguerre.tcc: Same.
3979 * include/tr1/riemann_zeta.tcc: Same.
3980 * include/tr1/beta_function.tcc: Same.
3981 * include/tr1/tuple: Same.
3982 * include/tr1/exp_integral.tcc: Same.
3983 * include/tr1/gamma.tcc: Same.
3984 * include/tr1/hypergeometric.tcc: Same.
3985 * include/tr1/modified_bessel_func.tcc: Same.
3986 * include/tr1/legendre_function.tcc: Same.
3987 * include/tr1/type_traits: Same.
3988 * include/tr1/special_function_util.h: Same.
3989 * include/tr1/bessel_function.tcc: Same.
3990 * include/tr1/cmath: Same.
3991 * include/tr1/poly_hermite.tcc: Same.
3992 * include/tr1/ell_integral.tcc: Same.
3993 * config/abi/compatibility.h: Adjust file name.
3995 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
3997 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
3998 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4000 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4002 * doc/xml/faq.xml: Fix various links.
4003 * doc/xml/api.xml: Likewise.
4004 * doc/xml/manual/parallel_mode.xml: Likewise.
4005 * doc/html/faq.html: Regenerate.
4006 * doc/html/api.html: Likewise.
4007 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4009 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4011 * testsuite/util/testsuite_abi.cc: Add support for not counting
4012 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4015 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4018 * include/tr1_impl/type_traits (struct __in_array): Add back.
4019 (is_function): Use it.
4020 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4022 2008-03-20 Johannes Singler <singler@ira.uka.de>
4024 * include/parallel/set_operations.h (set_intersection): Remove.
4026 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4029 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4030 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4032 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4034 * configure.ac (libtool_VERSION): To 6:11:0.
4035 * configure: Regenerate.
4036 * aclocal.m4: Regenerate.
4038 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4040 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4042 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4043 * include/precompiled/stdc++.h: Likewise.
4045 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4047 * include/std/date_time: New file.
4048 * src/date_time.cc: New file.
4049 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4050 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4051 that matched new symbols.
4052 * include/Makefile.am: Add date_time in std headers.
4053 * src/Makefile.am: Add date_time.cc to source files.
4054 * include/Makefile.in: Regenerate.
4055 * src/Makefile.in: Likewise.
4057 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4059 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4060 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4061 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4062 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4063 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4064 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4065 * testsuite/31_date_time/system_time/requirements: Likewise.
4066 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4068 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4070 * config.h.in: Regenerate.
4072 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4074 * aclocal.m4: Regenerate.
4075 * configure: Likewise.
4076 * Makefile.in: Likewise.
4077 * doc/Makefile.in: Likewise.
4078 * include/Makefile.in: Likewise.
4079 * libmath/Makefile.in: Likewise.
4080 * libsupc++/Makefile.in: Likewise.
4081 * po/Makefile.in: Likewise.
4082 * src/Makefile.in: Likewise.
4083 * testsuite/Makefile.in: Likewise.
4085 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
4088 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4089 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4091 2008-03-13 Paolo Carlini <pcarlini@suse.de>
4094 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4095 * testsuite/25_algorithms/set_difference/35541.cc: New.
4097 2008-03-07 Jakub Jelinek <jakub@redhat.com>
4099 * config/abi/pre/gnu.ver: Move <system_error> related
4100 symbols to GLIBCXX_3.4.11 symbol version.
4101 * testsuite/util/testsuite_abi.cc (check_version): Allow
4104 2008-03-06 Chris Jefferson <chris@bubblescope.net>
4105 Paolo Carlini <pcarlini@suse.de>
4108 * include/tr1/tuple (operator==, operator<): Fix.
4109 * include/std/tuple (operator==, operator<): Likewise.
4110 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4111 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
4113 2008-03-04 Joseph Myers <joseph@codesourcery.com>
4115 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
4117 * configure: Regenerate.
4119 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
4121 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
4122 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
4123 Mark changed error message prelude, adding "in file included from",
4124 using dg-excess-errors.
4126 2008-03-01 Jakub Jelinek <jakub@redhat.com>
4128 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
4129 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4130 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4131 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
4132 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4134 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4135 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4137 2008-02-29 Jakub Jelinek <jakub@redhat.com>
4139 * config/abi/pre/gnu.ver: Remove
4140 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
4141 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
4142 * config/os/gnu-linux/ldbl-extra.ver: Export
4143 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
4144 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
4145 * src/hash.cc: Only define long double hash specialization if
4146 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
4147 * src/compatibility-ldbl.cc: Include "hash.cc".
4148 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
4149 (_ZNKSt4hashIeEclEe): New alias.
4150 * testsuite/util/testsuite_abi.cc (check_version): Support
4151 GLIBCXX_LDBL_3.4.10.
4153 2008-02-25 Jan Beulich <jbeulich@novell.com>
4155 * acinclude.m4: Also check for EIDRM and ETXTBSY.
4156 * configure: Re-generate.
4157 * config/os/generic/error_constants.h (namespace posix_error):
4158 Also wrap uses of EIDRM and ETXTBSY in conditionals.
4159 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
4162 2008-02-20 Jason Merrill <jason@redhat.com>
4164 * include/bits/c++config: Use 'inline namespace' instead of
4167 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
4169 * include/std/tuple: Fixes for moveable, non-copyable types.
4170 * testsuite/20_util/tuple/moveable2.cc: New.
4172 2008-02-18 Paolo Carlini <pcarlini@suse.de>
4174 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
4176 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
4178 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
4179 * include/tr1/exp_integral.tcc: Same.
4180 * include/tr1/gamma.tcc: Same.
4181 * include/tr1/hypergeometric.tcc: Same.
4183 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
4186 * include/parallel/settings.h (_Settings): Reconstruct Settings class
4187 here, uglify, remove anonymous namespace and static
4188 members. Convert to datum.
4189 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
4190 * src/parallel_settings.cc: New, definition for _Settings member
4192 * include/parallel/multiway_merge.h: Same.
4193 * include/parallel/for_each.h: Same.
4194 * include/parallel/workstealing.h: Same.
4195 * include/parallel/base.h: Same.
4196 * include/parallel/numeric
4197 * include/parallel/features.h: Same.
4198 * include/parallel/quicksort.h: Same.
4199 * include/parallel/equally_split.h: Same.
4200 * include/parallel/algorithmfwd.h: Same.
4201 * include/parallel/omp_loop_static.h: Same.
4202 * include/parallel/random_shuffle.h: Same.
4203 * include/parallel/balanced_quicksort.h: Same.
4204 * include/parallel/tags.h: Same.
4205 * include/parallel/multiway_mergesort.h: Same.
4206 * include/parallel/numericfwd.h: Same.
4207 * include/parallel/partition.h: Same.
4208 * include/parallel/partial_sum.h: Same.
4209 * include/parallel/find.h: Same.
4210 * include/parallel/algo.h: Same.
4211 * include/parallel/omp_loop.h: Same.
4212 * include/parallel/sort.h: Same.
4214 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
4215 * src/Makefile.in: Regenerate.
4217 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
4219 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4222 * include/parallel/types.h: Reinstate integer types typedefs.
4223 * include/parallel/multiseq_selection.h: Adjust.
4224 * include/parallel/compatibility.h: Likewise.
4225 * include/parallel/random_shuffle.h: Likewise.
4226 * include/parallel/random_number.h: Likewise.
4227 * include/parallel/base.h: Likewise.
4229 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4232 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
4233 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
4234 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
4236 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
4238 * include/parallel/random_number.h: Use TR1's mersenne_twister.
4239 (random_number::genrand_bits()): Remove.
4240 (random_number::set_seed): Remove.
4242 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4244 * include/parallel/types.h: Remove enum parallelism.
4246 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4248 * include/parallel/types.h: Move enum parallelism here. Use
4249 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
4251 * include/parallel/multiseq_selection.h: Adjust for cstdint.
4252 * include/parallel/compatibility.h: Same.
4253 * include/parallel/tags.h: Just compile-time tags.
4254 * include/parallel/base.h: Put namespace bits here.
4256 * src/Makefile.am (PARALLEL_FLAGS): Use it.
4257 * src/Makefile.in: Regenerate.
4259 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
4261 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
4263 * testsuite/config/default.exp: Load gcc dejapatches.exp.
4265 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4267 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
4270 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
4272 * config/os/generic/error_constants.h (posix_errno): Guard
4273 not_supported use of ENOTSUP.
4274 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
4276 * aclocal.m4: Regenerate.
4277 * configure: Rengerate.
4278 * config.h.in: Same.
4280 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
4282 * doc/doxygen/mainpage.html: Correct links.
4284 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4286 * doc/html/*: Populate with regenerated files.
4288 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4290 * doc/html/*: Remove all but contents of ext/pb_ds.
4291 * doc/html/index.html: New.
4292 * doc/html/README: New.
4294 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4296 * doc/doxygen/mainpage.html: Add in corrected links.
4297 * README: Edit, move most into...
4298 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
4299 (Documentation Style): Revise.
4300 * doc/xml/spine.xml: Edit file names.
4301 * doc/Makefile.am: Edit xml_sources.
4302 * doc/Makefile.in: Regenerate.
4304 2008-02-11 Paolo Carlini <pcarlini@suse.de>
4306 * configure: Regenerate with documented autoconf and automake
4307 versions (i.e., 2.59 and 1.9.6).
4308 * Makefile.in: Likewise.
4309 * src/Makefile.in: Likewise.
4310 * doc/Makefile.in: Likewise.
4311 * po/Makefile.in: Likewise.
4312 * libmath/Makefile.in: Likewise.
4313 * include/Makefile.in: Likewise.
4314 * libsupc++/Makefile.in: Likewise.
4315 * testsuite/Makefile.in: Likewise.
4316 * aclocal.m4: Likewise.
4318 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
4320 Convert documentation to DocBook.
4321 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
4322 (doc-doxygen-man): Changed to doc-man-doxygen.
4323 (doc-performance): Changed to doc-html-performance.
4324 (doc-xml-doxygen): New.
4325 (doc-xml-single): New.
4326 (doc-xml-validate): New.
4328 (doc-html-single): New.
4331 (doc-pdf-fop-xml): New.
4332 (doc-pdf-fop-fo): New.
4333 (doc-pdf-xmlto): New.
4334 (doc-pdf-xmlroff): New.
4335 (doc-pdf-prince): New.
4336 * doc/xml: New directory.
4337 * doc/xml/authors.xml: New.
4338 * doc/xml/images: New directory.
4339 * doc/xml/images/confdeps.png: Add.
4340 * doc/xml/images/confdeps.dot: Add.
4341 * doc/xml/faq.xml: New.
4342 * doc/xml/api.xml: New.
4343 * doc/xml/gnu: New directory.
4344 * doc/xml/gnu/gpl-3.0.xml: New.
4345 * doc/xml/gnu/fdl-1.2.xml: New.
4346 * doc/xml/gnu/gpl-2.0.xml: New.
4347 * doc/xml/manual: New directory.
4348 * doc/xml/manual/mt_allocator.xml: New.
4349 * doc/xml/manual/allocator.xml: New.
4350 * doc/xml/manual/ctype.xml: New.
4351 * doc/xml/manual/numerics.xml: New.
4352 * doc/xml/manual/codecvt.xml: New.
4353 * doc/xml/manual/concurrency.xml: New.
4354 * doc/xml/manual/backwards_compatibility.xml: New.
4355 * doc/xml/manual/intro.xml: New.
4356 * doc/xml/manual/shared_ptr.xml: New.
4357 * doc/xml/manual/abi.xml: New.
4358 * doc/xml/manual/status_cxxtr1.xml: New.
4359 * doc/xml/manual/auto_ptr.xml: New.
4360 * doc/xml/manual/build.xml: New.
4361 * doc/xml/manual/internals.xml: New.
4362 * doc/xml/manual/parallel_mode.xml: New.
4363 * doc/xml/manual/status_cxx1998.xml: New.
4364 * doc/xml/manual/containers.xml: New.
4365 * doc/xml/manual/io.xml: New.
4366 * doc/xml/manual/appendix_porting.xml: New.
4367 * doc/xml/manual/utilities.xml: New.
4368 * doc/xml/manual/bitmap_allocator.xml: New.
4369 * doc/xml/manual/support.xml: New.
4370 * doc/xml/manual/configure.xml: New.
4371 * doc/xml/manual/build_hacking.xml: New.
4372 * doc/xml/manual/evolution.xml: New.
4373 * doc/xml/manual/using.xml: New.
4374 * doc/xml/manual/debug.xml: New.
4375 * doc/xml/manual/localization.xml: New.
4376 * doc/xml/manual/strings.xml: New.
4377 * doc/xml/manual/debug_mode.xml: New.
4378 * doc/xml/manual/locale.xml: New.
4379 * doc/xml/manual/extensions.xml: New.
4380 * doc/xml/manual/appendix_contributing.xml: New.
4381 * doc/xml/manual/messages.xml: New.
4382 * doc/xml/manual/diagnostics.xml: New.
4383 * doc/xml/manual/appendix_free.xml: New.
4384 * doc/xml/manual/algorithms.xml: New.
4385 * doc/xml/manual/iterators.xml: New.
4386 * doc/xml/manual/spine.xml: New.
4387 * doc/xml/manual/test.xml: New.
4388 * doc/xml/manual/status_cxx200x.xml: New.
4389 * doc/xml/spine.xml: New.
4391 * doc/xml/book.txml: New. Template file.
4392 * doc/xml/chapter.txml: Same.
4393 * doc/xml/class.txml: Same.
4395 * doc/doxygen/guide.html: Removed, integrated into other docs.
4396 * doc/doxygen/user.cfg.in: Clean up XML generation.
4397 * doc/doxygen/run_doxygen: Move to..
4398 * scripts/run_doxygen: ...here.
4400 * configure: Regenerate.
4401 * Makefile.in: Regenerate.
4402 * src/Makefile.in: Regenerate.
4403 * doc/Makefile.in: Regenerate.
4404 * po/Makefile.in: Regenerate.
4405 * libmath/Makefile.in: Regenerate.
4406 * include/Makefile.in: Regenerate.
4407 * libsupc++/Makefile.in: Regenerate.
4408 * testsuite/Makefile.in: Regenerate.
4409 * aclocal.m4: Regenerate.
4411 2008-02-10 Paolo Carlini <pcarlini@suse.de>
4414 * include/std/istream (basic_istream<>::basic_istream()): Call
4416 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
4417 do it here, per 27.6.1.5.1/1.
4418 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
4420 * testsuite/27_io/basic_iostream/cons/16251.C: New.
4422 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
4424 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4426 * include/backward/auto_ptr.h: Fix comment typos.
4427 * include/bits/algorithmfwd.h: Likewise.
4428 * include/bits/basic_ios.h: Likewise.
4429 * include/bits/c++config: Likewise.
4430 * include/bits/char_traits.h: Likewise.
4431 * include/bits/codecvt.h: Likewise.
4432 * include/bits/gslice.h: Likewise.
4433 * include/bits/ios_base.h: Likewise.
4434 * include/bits/locale_facets.h: Likewise.
4435 * include/bits/locale_facets_nonio.tcc: Likewise.
4436 * include/bits/postypes.h: Likewise.
4437 * include/bits/sstream.tcc: Likewise.
4438 * include/bits/stl_algo.h: Likewise.
4439 * include/bits/stl_deque.h: Likewise.
4440 * include/bits/stl_iterator.h: Likewise.
4441 * include/bits/stl_iterator_base_types.h Likewise.
4442 * include/bits/stl_list.h: Likewise.
4443 * include/bits/stl_map.h: Likewise.
4444 * include/bits/stl_multimap.h: Likewise.
4445 * include/bits/stl_multiset.h: Likewise.
4446 * include/bits/stl_set.h: Likewise.
4447 * include/bits/stl_vector.h: Likewise.
4448 * include/bits/valarray_array.h: Likewise.
4449 * include/debug/safe_base.h: Likewise.
4450 * include/ext/bitmap_allocator.h: Likewise.
4451 * include/ext/codecvt_specializations.h Likewise.
4452 * include/ext/mt_allocator.h: Likewise.
4453 * include/ext/rc_string_base.h: Likewise.
4454 * include/ext/rope: Likewise.
4455 * include/parallel/checkers.h: Likewise.
4456 * include/parallel/find.h: Likewise.
4457 * include/parallel/multiseq_selection.h: Likewise.
4458 * include/parallel/partition.h: Likewise.
4459 * include/parallel/settings.h: Likewise.
4460 * include/std/bitset: Likewise.
4461 * include/std/complex: Likewise.
4462 * include/std/fstream: Likewise.
4463 * include/std/istream: Likewise.
4464 * include/std/limits: Likewise.
4465 * include/std/ostream: Likewise.
4466 * include/std/stdexcept: Likewise.
4467 * include/std/streambuf: Likewise.
4468 * include/tr1/bessel_function.tcc: Likewise.
4469 * include/tr1/cmath: Likewise.
4470 * include/tr1/ell_integral.tcc: Likewise.
4471 * include/tr1/hypergeometric.tcc: Likewise.
4472 * include/tr1/legendre_function.tcc: Likewise.
4473 * include/tr1_impl/random: Likewise.
4474 * include/tr1_impl/regex: Likewise.
4476 2008-01-31 Paolo Carlini <pcarlini@suse.de>
4478 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
4479 Avoid -Wall warnings.
4480 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
4482 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4484 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
4485 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
4486 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
4487 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
4489 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
4491 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
4493 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
4494 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
4496 * testsuite/tr1/6_containers/array/comparison_operators/
4497 less_or_equal.cc: Likewise.
4498 * testsuite/tr1/6_containers/array/comparison_operators/
4499 greater_or_equal.cc: Likewise.
4500 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
4502 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
4504 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
4506 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
4508 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
4509 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
4511 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
4512 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
4513 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
4514 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
4516 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
4517 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
4518 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
4519 * testsuite/thread/guard.cc: Likewise.
4520 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
4521 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
4522 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
4523 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
4524 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
4525 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
4526 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
4529 2008-01-26 David Edelsohn <edelsohn@gnu.org>
4532 * config/os/aix/os_defines.h: Define __COMPATMATH__.
4534 2008-01-24 David Edelsohn <edelsohn@gnu.org>
4536 * configure: Regenerate.
4538 2008-01-21 Matthias Klose <doko@ubuntu.com>
4540 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
4542 2008-01-19 Paolo Carlini <pcarlini@suse.de>
4544 * configure: Regenerate.
4545 * Makefile.in: Likewise.
4546 * src/Makefile.in: Likewise.
4547 * doc/Makefile.in: Likewise.
4548 * po/Makefile.in: Likewise.
4549 * libmath/Makefile.in: Likewise.
4550 * include/Makefile.in: Likewise.
4551 * libsupc++/Makefile.in: Likewise.
4552 * testsuite/Makefile.in: Likewise.
4553 * aclocal.m4: Likewise.
4555 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
4559 * testsuite/Makefile.am: Move doc-performance to...
4560 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
4561 * doc/Makefile.am: Consolidate documentation creation here.
4562 (doc-doxygen-html): New.
4563 (doc-doxygen-man): New.
4564 (doc-performance): New.
4565 * doc/Makefile.in: New.
4566 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
4567 * doc/doxygen/guide.html: Edit for unified html configuration.
4568 * doc/doxygen/mainpage.html: Same.
4569 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
4571 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
4573 * include/tr1_impl/random: Remove maint from doxygen markup.
4574 * include/tr1_impl/functional: Same.
4575 * include/std/tuple: Same.
4576 * include/std/streambuf: Same.
4577 * include/std/bitset: Same.
4578 * include/std/limits: Same.
4579 * include/std/fstream: Same.
4580 * include/std/istream: Same.
4581 * include/std/sstream: Same.
4582 * include/ext/pool_allocator.h: Same.
4583 * include/ext/rc_string_base.h: Same.
4584 * include/bits/basic_ios.h: Same.
4585 * include/bits/stl_list.h: Same.
4586 * include/bits/stl_map.h: Same.
4587 * include/bits/locale_classes.h: Same.
4588 * include/bits/stl_set.h: Same.
4589 * include/bits/stl_iterator_base_types.h: Same.
4590 * include/bits/basic_string.h: Same.
4591 * include/bits/stl_multimap.h: Same.
4592 * include/bits/stl_vector.h: Same.
4593 * include/bits/ios_base.h: Same.
4594 * include/bits/stl_deque.h: Same.
4595 * include/bits/postypes.h: Same.
4596 * include/bits/stl_multiset.h: Same.
4597 * include/bits/stl_algo.h: Same.
4598 * include/bits/stl_iterator.h: Same.
4599 * include/bits/stl_tempbuf.h: Same.
4600 * include/bits/stl_construct.h: Same.
4601 * include/bits/stl_relops.h: Same.
4602 * include/tr1/tuple: Same.
4603 * include/backward/auto_ptr.h: Same.
4605 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4606 Fixups for line number changes.
4607 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4608 * testsuite/23_containers/vector/requirements/dr438/
4609 constructor_1_neg.cc: Same.
4610 * testsuite/23_containers/vector/requirements/dr438/
4611 constructor_2_neg.cc: Same.
4612 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4613 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4614 * testsuite/23_containers/deque/requirements/dr438/
4615 constructor_1_neg.cc: Same.
4616 * testsuite/23_containers/deque/requirements/dr438/
4617 constructor_2_neg.cc: Same.
4618 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4619 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4620 * testsuite/23_containers/list/requirements/dr438/
4621 constructor_1_neg.cc: Same.
4622 * testsuite/23_containers/list/requirements/dr438/
4623 constructor_2_neg.cc: Same.
4624 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
4626 * aclocal.m4: Regenerate.
4627 * config.h.in: Regenerate.
4628 * configure: Regenerate.
4629 * Makefile.in: Regenerate.
4630 * src/Makefile.in: Regenerate.
4631 * po/Makefile.in: Regenerate.
4632 * libmath/Makefile.in: Regenerate.
4633 * include/Makefile.in: Regenerate.
4634 * libsupc++/Makefile.in: Regenerate.
4635 * testsuite/Makefile.in: Regenerate.
4637 * scripts/make_graphs.py: Correct paths for new layout.
4639 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
4641 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
4642 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
4643 * configure: Regenerate.
4644 * aclocal.m4: Regenerate.
4646 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4648 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
4649 * include/parallel/numeric: Likewise.
4650 * include/parallel/balanced_quicksort.h: Likewise.
4651 * include/parallel/unique_copy.h: Likewise.
4652 * include/parallel/algobase.h: Likewise.
4653 * include/parallel/algo.h: Likewise.
4655 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
4657 * crossconfig.m4: Add missing header checks, C99 TR1 check,
4658 and sigsetjmp check.
4660 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4662 * include/parallel/tree.h: Remove.
4663 * include/Makefile.am: Update.
4664 * include/Makefile.in: Rebuild.
4666 * src/Makefile.am: Remove spurious trailing backslash.
4667 * src/Makefile.in: Rebuild.
4668 * po/Makefile.in: Likewise.
4669 * libmath/Makefile.in: Likewise.
4670 * testsuite/Makefile.in: Likewise.
4671 * libsupc++/Makefile.in: Likewise.
4672 * aclocal.m4: Likewise.
4673 * Makefile.in: Likewise.
4674 * configure: Likewise.
4676 2008-01-12 Paolo Carlini <pcarlini@suse.de>
4679 * include/debug/functions.h (__check_sorted_set,
4680 __check_sorted_set_aux): Add.
4681 (__check_sorted): Check StrictWeakOrdering.
4682 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
4683 __glibcxx_check_strict_weak_ordering_pred): Remove.
4684 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
4685 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
4686 * include/debug/debug.h (__glibcxx_requires_sorted_set,
4687 __glibcxx_requires_sorted_set_pred): Add.
4688 * include/bits/stl_algo.h (merge, includes, set_union,
4689 set_intersection, set_difference, set_symmetric_difference):
4690 Adjust, use __glibcxx_requires_sorted_set* instead.
4691 * testsuite/25_algorithms/set_intersection/34730.cc: New.
4693 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4695 * include/parallel/multiway_merge.h: Reformat to 80 columns;
4696 adjust some inline specifiers; other minor style fixes.
4697 * include/parallel/losertree.h: Likewise.
4698 * include/parallel/list_partition.h: Likewise.
4699 * include/parallel/multiseq_selection.h: Likewise.
4700 * include/parallel/workstealing.h: Likewise.
4701 * include/parallel/base.h: Likewise.
4702 * include/parallel/par_loop.h: Likewise.
4703 * include/parallel/numeric: Likewise.
4704 * include/parallel/quicksort.h: Likewise.
4705 * include/parallel/algorithmfwd.h: Likewise.
4706 * include/parallel/for_each_selectors.h: Likewise.
4707 * include/parallel/omp_loop_static.h: Likewise.
4708 * include/parallel/random_shuffle.h: Likewise.
4709 * include/parallel/balanced_quicksort.h: Likewise.
4710 * include/parallel/set_operations.h: Likewise.
4711 * include/parallel/tree.h: Likewise.
4712 * include/parallel/merge.h: Likewise.
4713 * include/parallel/unique_copy.h: Likewise.
4714 * include/parallel/settings.h: Likewise.
4715 * include/parallel/multiway_mergesort.h: Likewise.
4716 * include/parallel/numericfwd.h: Likewise.
4717 * include/parallel/search.h: Likewise.
4718 * include/parallel/partition.h: Likewise.
4719 * include/parallel/compatibility.h: Likewise.
4720 * include/parallel/partial_sum.h: Likewise.
4721 * include/parallel/find.h: Likewise.
4722 * include/parallel/algo.h: Likewise.
4723 * include/parallel/queue.h: Likewise.
4724 * include/parallel/omp_loop.h: Likewise.
4725 * include/parallel/sort.h: Likewise.
4726 * include/parallel/random_number.h: Likewise.
4728 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
4730 * docs/html/17_intro/api.html: Fix markup for rope.h.
4732 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4734 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
4736 * include/parallel/find_selectors.h: Likewise.
4737 * include/parallel/losertree.h: Likewise.
4738 * include/parallel/list_partition.h: Likewise.
4739 * include/parallel/for_each.h: Likewise.
4740 * include/parallel/multiseq_selection.h: Likewise.
4741 * include/parallel/algorithmfwd.h: Likewise.
4742 * include/parallel/for_each_selectors.h: Likewise.
4743 * include/parallel/balanced_quicksort.h: Likewise.
4744 * include/parallel/merge.h: Likewise.
4745 * include/parallel/algobase.h: Likewise.
4746 * include/parallel/find.h: Likewise.
4747 * include/parallel/algo.h: Likewise.
4748 * include/parallel/checkers.h: Likewise.
4750 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
4752 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
4753 of __detail::_Map_base<>.
4755 2008-01-08 Paolo Carlini <pcarlini@suse.de>
4757 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
4758 not include <cassert>.
4759 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4761 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
4763 2008-01-08 Jakub Jelinek <jakub@redhat.com>
4765 * configure.ac (--enable-linux-futex): Add new configure option.
4766 (HAVE_LINUX_FUTEX): New AC_DEFINE.
4767 * Makefile.in: Rebuilt.
4768 * aclocal.m4: Rebuilt.
4769 * configure: Rebuilt.
4770 * config.h.in: Rebuilt.
4771 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4772 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4773 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4774 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4775 * libsupc++/guard.cc: Include climits and syscall.h.
4776 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
4778 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
4779 (__guard_test_bit): New static inline.
4780 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
4781 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
4783 2008-01-07 Paolo Carlini <pcarlini@suse.de>
4786 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
4787 use dynamic_cast when run-time type identification is disabled; do
4788 not mark inline; only declare, define...
4789 * include/bits/locale_classes.tcc: ... here.
4791 2008-01-06 Ted Phelps <phelps@gnusto.com>
4794 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
4795 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
4797 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4800 * include/parallel/multiway_merge.h (multiway_merge_bubble,
4801 parallel_multiway_merge): Together with ::operator new use
4803 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
4804 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
4805 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
4806 sequential_random_shuffle): Likewise.
4807 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
4809 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
4810 parallel_sort_mwms): Likewise.
4811 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
4813 * testsuite/25_algorithms/sort/34095.cc: New.
4815 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4817 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
4819 2008-01-01 Paolo Carlini <pcarlini@suse.de>
4822 * include/parallel/algobase.h (lexicographical_compare_switch(...,
4823 random_access_iterator_tag, random_access_iterator_tag)): Careful
4824 with undereferenceable iterators.
4825 * testsuite/25_algorithms/sort/34636.cc: New.