1 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
2 Uros Bizjak <ubizjak@gmail.com>
5 * config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
6 * config/os/gnu-linux/ldbl-extra.ver: Tweak.
8 2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
9 Rainer Emrich <r.emrich@de.tecosim.com>
12 * crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
13 GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
14 * configure: Regenerate.
16 2009-01-18 Jonathan Wakely <jwakely.gcc@gmail.com>
18 * include/std/thread (__thread_data_base::__run): Make non-const.
19 * testsuite/30_threads/thread/cons/5.cc: New.
21 2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
23 * src/Makefile.am (sources): Add math_stubs_float.cc.
24 * src/Makefile.in: Regenerate.
25 * src/math_stubs_float.cc: New, from libmath/stubs.c.
27 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
29 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
30 * src/Makefile.in: Regenerate.
31 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
33 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
36 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
38 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
41 * Makefile.am (hosted_source): Remove libmath directory.
42 * Makefile.in: Regenerate.
43 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
44 (AC_REPLACE_MATHFUNCS): Remove.
45 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
46 in GLIBCXX_CHECK_C99_TR1.
47 * acinclude.m4: Remove libmath, need_math.
48 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
49 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
51 * configure: Regenerate.
52 * fragment.am: Fix comment.
53 * config.h.in: Regenerate.
54 * src/Makefile.in: Regenerate.
55 * src/Makefile.am: Remove libmath references.
56 * doc/Makefile.in: Regenerate.
57 * po/Makefile.in: Regenerate.
58 * include/Makefile.in: Regenerate.
59 * libsupc++/Makefile.in: Regenerate.
60 * testsuite/Makefile.in: Regenerate.
62 * src/compatibility.cc: Also export long double versions of "C" math
63 library if hppa-linux.
64 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
65 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
68 * libmath/signbit.c: Same.
69 * libmath/stubs.c: Same.
70 * libmath/Makefile.in: Same.
71 * libmath/copysignf.c: Same.
72 * libmath/mathconf.h: Same.
73 * libmath/signbitf.c: Same.
74 * libmath/Makefile.am: Same.
75 * libmath/signbitl.c: Same.
77 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
78 Paolo Carlini <paolo.carlini@oracle.com>
80 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
81 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
82 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
83 * configure.ac: Adjust.
84 * doc/xml/manual/configure.xml: Update.
85 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
86 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
87 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
88 * configure: Regenerate.
89 * config.h.in: Likewise.
91 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
92 thread::joinable, thread::swap, this_thread::get_id,
93 this_thread::yield): Define inline...
94 * include/std/thread: ... here.
95 * config/abi/pre/gnu.ver: Adjust.
97 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
99 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
100 Add dg-timeout-factor 2.0.
101 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
102 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
103 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
104 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
105 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
106 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
108 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
110 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
111 field from readelf output.
113 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
116 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
117 * configure: Regenerate.
119 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
121 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
123 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
125 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
127 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
128 constructor for _M_pattern.
129 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
130 string.cc: Test construction from different basic_string type.
131 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
134 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
135 Jonathan Larmour <jifl@eCosCentric.com>
138 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
140 (__gnu_cxx::__exchange_and_add): Use it.
141 * src/atomic.cc (get_atomic_mutex): New.
142 * src/debug.cc (get_safe_base_mutex): New.
143 * src/locale.cc (get_locale_cache_mutex): New.
144 * src/mt_allocator.cc (get_freelist): New.
145 (get_freelist_mutex): New.
146 * src/pool_allocator.cc (get_palloc_mutex): New.
147 * include/std/mutex (__once_functor_lock): To
148 (__get_once_functor_lock): ...this.
149 * src/mutex.cc (__once_mutex): Don't export, use
150 (get_once_mutex): ...this.
151 * config/abi/pre/gnu.ver: Adjust exports.
153 2009-01-07 Jakub Jelinek <jakub@redhat.com>
156 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
157 referenceCount field again.
158 (__cxxabiv1::__cxa_refcounted_exception): New struct.
159 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
160 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
162 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
163 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
164 instead of __cxa_exception.
165 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
166 __cxxabiv1::__cxa_throw): Likewise.
167 * libsupc++/eh_ptr.cc (std::rethrow_exception,
168 std::__exception_ptr::exception_ptr::_M_addref,
169 std::__exception_ptr::exception_ptr::_M_release,
170 __gxx_dependent_exception_cleanup): Likewise.
171 * testsuite/18_support/exception/38732.cc: New test.
174 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
175 * src/compatibility.cc: Don't use .symver directives if
176 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
177 * config.h.in: Regenerated.
178 * configure: Likewise.
180 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
183 * include/bits/stl_pair.h: Document C++03 pair vs swap.
185 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
187 * src/locale_init.cc (locale::_S_initialize_once): Move construction
189 (locale::classic): Here.
191 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
193 * include/tr1_impl/regex: Fix bad return statements and typos.
195 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
197 * include/tr1_impl/regex: Remove unimplemented function definitions.
198 * testsuite/28_regex/init-list.cc: Compile only.
199 * testsuite/tr1/7_regular_expressions/regex/cons/char/
200 c_string_extended.cc: Same.
201 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
202 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
204 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
207 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
208 * configure: Regenerate.
210 2009-01-05 Ben Elliston <bje@au.ibm.com>
212 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
213 * configure: Regenerate.
215 2009-01-05 Ben Elliston <bje@au.ibm.com>
217 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
218 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
219 * configure: Regenerate.
221 2009-01-04 Richard Guenther <rguenther@suse.de>
224 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
225 integer type for storage, arithmetic and comparisons.
226 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
228 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
231 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
232 _Fwd_list_const_iterator::_M_next): Fix return type.
234 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
236 * Revert last commit, reopen and suspend libstdc++/38678.
238 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
241 * include/std/istream (basic_istream<>::_M_read): New.
242 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
243 (basic_istream<>::read, basic_istream<>::readsome): Use it.
244 * include/std/ostream (basic_ostream<>::_M_write_): New.
245 (basic_ostream<>::_M_write): Adjust.
246 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
247 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
248 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
249 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
250 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
252 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
254 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
257 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
259 * doc/doxygen/stdheader.cc: Add cstdlib.
260 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
262 2008-12-21 Andrew Pinski <pinskia@gmail.com>
265 * configure: Regenerate.
267 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
270 * include/tr1_impl/functional (function<>::target,
271 function<>::target_type): Provide only when __GXX_RTTI is defined.
272 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
273 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
276 2008-12-19 Ben Elliston <bje@au.ibm.com>
278 * acinclude.m4: Guard a variable test against an empty string.
279 * configure: Regenerate.
281 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
283 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
284 Add xfail on all targets except darwin.
285 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
287 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
288 for xfailing on all targets except linux.
290 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
292 * configure: Regenerate.
294 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
296 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
297 Don't xfail test on darwin8 or later.
299 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
301 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
302 Don't xfail excessive errors on darwin8 or later.
304 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
306 * include/c_global/cstdatomic: Remove assert include.
307 * include/debug/debug.h: Consolidate __replacement_assert...
308 * include/parallel/base.h: Consolidate __replacement_assert...
309 * include/bits/c++config: ...here.
310 * include/bits/atomic_0.h: Use it.
311 * include/bits/atomic_2.h: Same.
312 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
313 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
315 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
317 * src/atomic.cc: Revert last change.
318 * include/bits/atomic_2.h: Move cassert include to...
319 * include/c_global/cstdatomic: ...here.
320 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
321 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
323 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
325 * src/Makefile.am: Remove -x c++ for atomic build rules.
326 * src/Makefile.in: Regenerate.
327 * src/atomic.cc: Move mutex include before cstdatomic.
329 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
332 * testsuite/util/regression/trait/assoc/type_trait.hpp
333 (regression_test_type_traits): Add const to pair_type_rebind.
335 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
337 * src/atomic.cc: Correct guards to match mutex.cc.
339 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
340 Richard Henderson <rth@redhat.com>
342 * include/c_global/cstdatomic: Update to N2798.
343 (atomic): Remove explicit constructors as per DR 845.
344 * include/bits/atomic_0.h: New. Switchable implementation.
345 * include/bits/atomic_2.h: New. Lock-free implementation.
346 * include/c_compatibility/stdatomic.h: Use foward headers.
347 * include/bits/atomicfwd_cxx.h: New.
348 * include/bits/atomicfwd_c.h: New.
349 * src/atomic.cc: Adjust.
350 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
351 unconditionally use default/deleted syntax.
352 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
353 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
354 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
355 * include/Makefile.in: Regenerate.
356 * configure: Regenerate.
357 * config.h.in: Regenerate.
358 * config/abi/pre/gnu.ver: Adjust exports.
360 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
361 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
362 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
363 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
364 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
365 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
366 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
367 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
368 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
369 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
370 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
371 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
372 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
373 * testsuite/29_atomics/atomic_integral/requirements/
374 standard_layout.cc: New.
375 * testsuite/29_atomics/atomic_integral/operators/
376 integral_assignment.cc: New.
377 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
378 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
379 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
380 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
381 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
382 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
383 * testsuite/29_atomics/atomic_integral/operators/
384 integral_conversion.cc: New.
385 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
386 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
387 * testsuite/29_atomics/atomic_flag/requirements/
388 standard_layout.cc: Same.
389 * testsuite/29_atomics/atomic_flag/
390 atomic_global_fence_compatibility.cc: Kill.
391 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
392 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
393 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
394 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
395 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
396 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
397 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
398 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
399 * testsuite/29_atomics/atomic/cons/copy_neg.cc
400 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
401 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
402 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
403 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
404 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
405 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
406 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
407 * testsuite/util/testsuite_common_types.h: ...here.
408 (atomic_integrals_no_bool): New.
409 (atomic_integrals): New.
410 (has_increment_operators, has_decrement_operators)
411 (direct_list_initializable, single_value_constructible)
412 (standard_layout, has_bitwise_operators, integral_convertable)
413 (integral_assignable): Add.
415 2008-12-11 Jakub Jelinek <jakub@redhat.com>
418 * testsuite/26_numerics/headers/cmath/37582.cc: New.
420 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
422 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
424 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
425 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
426 * configure: Regenerate.
428 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
430 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
432 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
435 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
436 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
439 2008-12-05 Tom Tromey <tromey@redhat.com>
441 * include/tr1_impl/functional (_Mu): Fix typo.
443 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
446 * include/bits/locale_facets_nonio.tcc (money_get<>::
447 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
448 string&)): Fix, reject decimal point when frac_digits <= 0.
449 * testsuite/22_locale/money_get/get/char/38399.cc: New.
450 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
451 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
452 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
454 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
457 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
459 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
460 * testsuite/22_locale/locale/cons/7.cc: Likewise.
462 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
465 * config/locale/gnu/numeric_members.cc (numpunct<char>::
466 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
467 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
468 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
469 _M_initialize_moneypunct, moneypunct<char, false>::
470 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
471 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
472 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
473 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
474 * testsuite/22_locale/locale/cons/38368.cc: New.
476 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
478 PR libstdc++/38365 (cont)
479 * src/localename.cc (locale::locale(const locale&, const locale&,
480 category)): Revert last changes.
481 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
482 Fix here instead; rework.
484 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
487 * src/localename.cc (locale::locale(const locale&, const locale&,
489 * testsuite/22_locale/locale/cons/38365.cc: New.
491 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
494 * include/std/iostream: Correct URL.
495 * include/std/streambuf: Same.
496 * include/std/bitset: Same.
497 * include/std/iosfwd: Same.
498 * include/std/fstream: Same.
499 * include/std/istream: Same.
500 * include/std/ostream: Same.
501 * include/std/sstream: Same.
502 * include/bits/basic_ios.h: Same.
503 * include/bits/stl_map.h: Same.
504 * include/bits/stl_set.h: Same.
505 * include/bits/stl_multimap.h: Same.
506 * include/bits/ios_base.h: Same.
507 * include/bits/stl_multiset.h: Same.
508 * include/bits/char_traits.h: Same.
509 * include/bits/stl_relops.h: Same.
510 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
511 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
513 2008-11-26 Janis Johnson <janis187@us.ibm.com>
516 * testsuite/lib/libstdc++.exp: Include new timeout library files.
517 (libstdc++_init): Define tool_timeout.
518 (dg-test): Override DejaGnu proc.
519 (v3_target_compile): Set timeout value from new proc.
520 (v3_target_compile_as_c): Ditto.
522 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
524 PR libstdc++/38244 (cont, debug bits)
525 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
526 Remove, do not implement DR 778.
528 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
531 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
532 Remove, do not implement DR 778.
533 * doc/xml/manual/intro.xml: Remove entry for DR 778.
534 * testsuite/23_containers/bitset/cons/2.cc: Remove.
535 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
536 * testsuite/23_containers/bitset/cons/38244.cc: Add.
538 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
540 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
541 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
543 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
546 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
547 ios_base&, char_type, const void*)): Fix.
548 * testsuite/22_locale/num_put/put/char/38210.cc: New.
549 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
551 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
554 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
555 ios_base&, char_type, bool)): Fix.
556 * testsuite/22_locale/num_put/put/char/38196.cc: New.
557 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
559 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
561 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
562 * include/tr1_impl/cfenv: Likewise.
563 * include/tr1_impl/cstdint: Likewise.
565 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
568 * include/c_global/csignal: Do not use include_next.
569 * include/c_global/cstdlib: Likewise.
570 * include/c_global/cstdio: Likewise.
571 * include/c_global/cstdarg: Likewise.
572 * include/c_global/cctype: Likewise.
573 * include/c_global/cerrno: Likewise.
574 * include/c_global/cmath: Likewise.
575 * include/c_global/clocale: Likewise.
576 * include/c_global/climits: Likewise.
577 * include/c_global/cassert: Likewise.
578 * include/c_global/csetjmp: Likewise.
579 * include/c_global/cwchar: Likewise.
580 * include/c_global/cfloat: Likewise.
581 * include/c_global/cstdbool: Likewise.
582 * include/c_global/cstring: Likewise.
583 * include/c_global/cstddef: Likewise.
584 * include/c_global/cwctype: Likewise.
585 * include/tr1/cstdbool: Likewise.
586 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
587 * include/c_global/cinttypes: Do it here.
588 * include/tr1/cinttypes: Likewise.
589 * include/tr1_impl/cfenv: Do not include <fenv.h>.
590 * include/c_global/cfenv: Do it here.
591 * include/tr1/cfenv: Likewise.
592 * include/tr1_impl/cstdint: Do not include <stdint.h>.
593 * include/c_global/cstdint: Do it here.
594 * include/tr1/cstdint: Likewise.
595 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
596 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
597 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
599 * include/c_compatibility/math.h: Minor tweak, add comment.
601 2008-11-12 Steve Ellcey <sje@cup.hp.com>
603 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
604 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
606 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
608 PR libstdc++/37986 (cont)
609 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
611 (struct _Adaptor<_Engine*, _Distribution>): Add.
612 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
615 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
618 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
619 and remove_reference on _Engine.
620 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
623 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
625 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
627 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
629 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
630 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
633 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
635 * include/bits/forward_list.h: Support non-standard pointer types
636 (_Fwd_list_node_base): Add _Alloc template parameter.
637 (_Fwd_list_node<>): Likewise.
638 (_Fwd_list_iterator<>): Likewise.
639 (_Fwd_list_const_iterator<>): Likewise.
640 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
641 Use _Alloc<_Tp>::pointer.
642 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
643 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
644 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
645 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
646 (forward_list<>): Use __static_pointer_cast in place of static_cast,
647 and __const_pointer_cast in place of const_cast.
648 * include/bits/forward_list.tcc
649 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
650 of standard pointers, __static_pointer_cast in place of static_cast.
651 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
653 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
654 splice_after, remove, remove_if, merge): Likewise.
655 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
656 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
658 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
660 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
662 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
664 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
666 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
668 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
670 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
672 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
674 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
676 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
678 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
680 * testsuite/23_containers/forward_list/ext_pointer/requirements/
681 explicit_instantiation/1.cc: Likewise.
682 * testsuite/23_containers/forward_list/ext_pointer/requirements/
683 explicit_instantiation/3.cc: Likewise.
684 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
686 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
688 * include/ext/extptr_allocator.h: Minor tweaks.
689 * include/ext/pointer.h: Likewise.
690 * include/ext/cast.h: Likewise.
692 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
695 * config/locale/gnu/monetary_members.cc (moneypunct<>::
696 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
697 delete for __wcs_ps and __wcs_ns.
699 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
701 * include/ext/pointer.h: New, add experimental support for non-standard
702 pointer types in containers via the allocator::pointer typedef.
703 (Currently only supported/working with std::vector)
704 * include/ext/cast.h: New, add overload-able pointer casting functions
705 for use in containers supporting non-standard pointer types.
706 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
707 * include/Makefile.am: Update.
708 * include/precompiled/extc++.h: Likewise.
709 * include/Makefile.in: Regenerate.
710 * testsuite/ext/ext_pointer/1.cc: New.
711 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
712 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
713 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
714 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
715 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
716 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
718 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
720 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
722 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
724 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
727 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
731 * include/tr1_impl/functional (result_of,reference_wrapper): Update
732 to use C++0x features.
733 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
734 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
736 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
738 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
740 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
744 * include/tr1_impl/functional (result_of,reference_wrapper): Update
745 to use C++0x features.
746 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
747 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
749 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
751 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
753 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
755 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
756 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
757 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
758 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
760 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
762 PR libstdc++/37958 (cont again)
763 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
764 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
765 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
766 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
768 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
770 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
771 num_get<>::do_get(, unsigned short&),
772 num_get<>::do_get(, unsigned int&),
773 num_get<>::do_get(, unsigned long&),
774 num_get<>::do_get(, long long&),
775 num_get<>::do_get(, unsigned long long&),
776 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
777 num_put<>::do_put(, long long),
778 num_put<>::do_put(, unsigned long long)): Move inline...
779 * include/bits/locale_facets.h: ... here.
781 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
783 PR libstdc++/37958 (cont)
784 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
785 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
787 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
789 * include/bits/shared_ptr.h: Update comparisons to match WP.
790 (_Sp_counted_ptr): Make copy and assignment members deleted.
791 (_Sp_counted_deleter): Remove private copy and assignment members.
792 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
793 friend operator< with overloaded _M_less member functions to allow
794 comparison with either shared_count or weak_count.
795 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
796 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
797 for ownership-based ordering.
798 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
800 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
801 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
802 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
803 pointer specialization.
804 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
805 weak_ptr::operator>=): Remove operator< and delete all comparisons.
806 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
807 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
808 (operator==(shared_ptr,shared_ptr): Likewise.
809 (operator!=(shared_ptr,shared_ptr): Likewise.
810 (swap(shared_ptr,shared_ptr)): Fix parameter types.
811 (swap(weak_ptr,weak_ptr)): Add missing overload.
812 * testsuite/20_util/owner_less/cmp.cc: New.
813 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
814 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
815 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
816 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
817 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
819 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
822 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
823 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
824 * testsuite/22_locale/num_get/get/char/37958.cc: New.
825 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
827 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
831 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
833 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
834 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
835 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
836 Remove the old variadic constructor, and instead provide several
837 variadic constructors that avoid failing when attempting to
838 initialize a pointer from a null pointer constant.
839 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
840 initialization of pointers from the null pointer constant.
842 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
845 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
846 * include/bits/basic_string.h: Guard string conversions with
847 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
848 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
850 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
851 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
853 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
855 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
857 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
859 * testsuite/21_strings/basic_string/numeric_conversions/char/
861 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
863 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
865 * testsuite/21_strings/basic_string/numeric_conversions/char/
866 to_string.cc: Likewise.
867 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
870 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
872 * config/os/generic/error_constants.h (enum errc): Remove
874 * config/os/mingw32/error_constants.h (enum errc): Likewise.
875 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
878 2008-10-24 Jakub Jelinek <jakub@redhat.com>
880 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
881 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
883 (%/site.exp, check-DEJAGNU%): New targets.
884 (check-am): Run $(MAKE) check-DEJAGNU.
885 * testsuite/Makefile.in: Regenerated.
887 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
889 * config/os/generic/error_constants.h (errc): Use long type.
890 * config/os/mingw32/error_constants.h (errc): Likewise.
892 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
894 * include/std/system_error (is_error_code_enum): Specialize for errc.
895 (error_category::error_category): Defaulted and protected.
896 (error_category::~error_category): New, virtual.
897 (error_category::error_category(const error_category&),
898 error_category::operator=(const error_category&)): Deleted.
899 (get_system_category, get_posix_category): Remove (DR 890).
900 (system_category): External linkage (DR 890).
901 (posix_category): Remove.
902 (generic_category): Add. External linkage (DR 890).
903 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
904 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
905 error_code::assign, use generic_category.
906 (error_condition::error_condition,
907 error_condition::error_condition<>(_ErrorConditionEnum)): Use
909 (error_condition::clear,
910 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
911 error_code::assign, use generic_category.
912 (make_error_code, make_error_condition): Define in namespace std.
913 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
914 unique_lock<>::try_lock_until<>(duration),
915 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
916 * src/system_error.cc (system_error_category, generic_error_category):
918 (gnu_error_category): Remove.
919 (get_system_category, get_posix_category): Remove (DR 890).
920 (system_category, generic_category): Define.
921 * src/functexcept.cc (__throw_system_error): Use generic_category.
922 * config/abi/pre/gnu.ver: Export system_category and generic_category,
923 remove get_system_category and get_generic_category (DR 890).
924 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
925 enum class type. Fix spelling.
926 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
927 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
929 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
930 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
931 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
932 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
933 dg-error line numbers.
934 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
936 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
937 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
938 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
940 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
941 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
942 Remove using tests since errc is not a namespace.
943 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
944 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
945 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
947 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
949 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
951 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
953 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
954 (_Args&&...)): Add in C++0x mode.
955 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
956 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
959 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
960 Node_allocator for improved accuracy.
961 * testsuite/tr1/6_containers/unordered_multimap/capacity/
962 29134-multimap.cc: Adjust.
963 * testsuite/tr1/6_containers/unordered_multimap/capacity/
964 29134-map.cc: Likewise.
965 * testsuite/tr1/6_containers/unordered_multimap/capacity/
966 29134-multiset.cc: Adjust.
967 * testsuite/tr1/6_containers/unordered_multimap/capacity/
968 29134-set.cc: Likewise.
970 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
972 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
973 (_Args&&...)): Add in C++0x mode.
974 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
975 use _M_get_Node_allocator.
976 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
978 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
980 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
982 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
984 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
985 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
986 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
987 Remove the old variadic constructor, and instead provide several
988 variadic constructors that avoid failing when attempting to
989 initialize a pointer from a null pointer constant.
990 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
991 initialization of pointers from the null pointer constant.
993 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
995 * include/bits/forward_list.tcc (forward_list<>::
996 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
999 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1001 * include/bits/forward_list.h (forward_list<>::
1002 forward_list(size_type)): Tweak, use _Base default constructor.
1004 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
1006 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
1009 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
1011 * include/bits/forward_list.h: Factor list construction to dispatch
1013 * include/bits/forward_list.tcc: Likewise.
1014 * testsuite/23_containers/forward_list/modifiers/2.cc:
1016 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1018 * include/bits/forward_list.tcc (operator==): Use auto.
1020 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1022 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
1023 Move out of line, tweak to return _Fwd_list_node_base*.
1024 (forward_list<>::insert_after(const_iterator, const _Tp&),
1025 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
1026 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
1029 * include/bits/forward_list.h (forward_list<>): Consistently qualify
1030 calls of base class functions with this->.
1031 * include/bits/forward_list.tcc (forward_list<>): Likewise.
1033 * include/bits/forward_list.h: Move some functions out of line...
1034 * include/bits/forward_list.tcc: ... here.
1036 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
1038 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1040 * include/bits/forward_list.h: Remove pointless const qualifiers in
1042 * include/bits/forward_list.tcc: Likewise.
1044 * include/bits/forward_list.h (forward_list<>::pointer,
1045 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
1046 * testsuite/23_containers/forward_list/requirements/
1047 explicit_instantiation/1.cc: New.
1048 * testsuite/23_containers/forward_list/requirements/
1049 explicit_instantiation/1.cc: Likewise.
1051 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1053 * include/bits/forward_list.h (forward_list<>::max_size): Use
1054 Node_allocator; minor cosmetic changes.
1055 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1057 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
1059 * include/std/forward_list: New.
1060 * include/bits/forward_list.h: Likewise.
1061 * include/bits/forward_list.tcc: Likewise.
1062 * include/precompiled/stdc++.h: Modified to include forward_list.
1063 * include/Makefile.am: Add forward_list, forward_list.h, and
1065 * include/Makefile.in: Regenerate.
1066 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
1067 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1068 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
1069 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
1070 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
1071 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
1072 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
1073 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
1074 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
1075 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
1076 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
1077 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
1078 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
1079 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
1080 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
1081 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
1082 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
1083 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
1084 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
1085 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
1086 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
1087 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
1088 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
1089 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
1090 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
1091 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
1092 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
1093 * testsuite/17_intro/headers/c++200x/all: Likewise.
1095 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1097 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
1099 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
1100 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
1101 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
1102 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1103 Adjust dg-error line number.
1104 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1106 * testsuite/23_containers/list/requirements/dr438/
1107 constructor_1_neg.cc: Likewise.
1108 * testsuite/23_containers/list/requirements/dr438/
1109 constructor_2_neg.cc: Likewise.
1111 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1113 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
1114 for improved accuracy.
1115 * include/bits/stl_list.h (list<>::max_size): Likewise.
1116 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
1117 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1118 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1119 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1120 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1122 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1124 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
1127 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1129 * include/std/system_error (native_category): Remove.
1130 (posix_category): Add.
1131 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
1132 Fix _M_cat initialization.
1133 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
1134 (error_condition::_M_cat, error_condtion::operator=
1135 (_ErrorConditionEnum)): Implement resolution of DR 804.
1136 (error_condition::error_condition(_ErrorConditionEnum, typename
1137 enable_if<>:type*): Fix.
1138 (error_condition::clear, error_condition::assign): Implement.
1139 (operator==, operator!=): Fix uglification of parameters.
1140 (make_error_code, make_error_condition): Define in namespace
1142 (operator<<(basic_ostream<>&, const error_code&)): Define here.
1143 * include/std/ostream (operator<<(basic_ostream<>&,
1144 const error_code&)): Do not define here.
1145 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
1146 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
1147 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
1149 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
1151 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1153 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
1154 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1155 dg-error line numbers.
1156 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
1158 * testsuite/util/testsuite_error.h: Minor tweaks.
1159 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
1161 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
1163 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
1164 uninitialized duration.
1166 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
1168 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
1169 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
1170 _M_deallocate): Use _Tp_alloc_type::pointer.
1172 2008-10-07 Jason Merrill <jason@redhat.com>
1175 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
1176 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
1177 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
1179 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
1181 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
1182 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
1183 const __normal_iterator<>&), operator-(const move_iterator<>&,
1184 const move_iterator<>&)): Use the auto -> return type syntax,
1187 2008-10-06 Jason Merrill <jason@redhat.com>
1189 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
1191 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
1193 * testsuite/20_util/reference_wrapper/invoke.cc: New.
1194 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1195 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
1197 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1199 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
1200 !__FLT_HAS_INFINITY__ case.
1202 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
1204 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
1206 * testsuite/20_util/tuple/swap.cc: New.
1208 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1210 PR libstdc++/30085 (again)
1211 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
1212 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
1213 unordered_map / unordered_multimap; add missing member functions.
1214 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
1215 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
1216 * include/debug/safe_association.h: Remove.
1217 * include/Makefile.am: Adjust.
1218 * include/Makefile.in: Regenerate.
1219 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1222 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
1224 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1225 void reset(U)): Add as deleted function, per DR 821 [Ready].
1226 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1227 member function declarations; minor formatting tweaks.
1228 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1229 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1232 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1234 * include/std/mutex (try_lock): Implement generic try_lock.
1235 * testsuite/30_threads/try_lock/1.cc: New.
1236 * testsuite/30_threads/try_lock/2.cc: Likewise.
1237 * testsuite/30_threads/try_lock/3.cc: Likewise.
1238 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1239 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1240 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1241 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1242 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1243 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1244 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1246 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1248 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1249 Steve Ellcey <sje@cup.hp.com>
1251 * configure: Regenerate for new libtool.
1252 * aclocal.m4: Ditto.
1253 * Makefile.in: Ditto.
1254 * src/Makefile.in: Ditto.
1255 * doc/Makefile.in: Ditto.
1256 * po/Makefile.in: Ditto.
1257 * libmath/Makefile.in: Ditto.
1258 * include/Makefile.in: Ditto.
1259 * libsupc++/Makefile.in: Ditto.
1260 * testsuite/Makefile.in: Ditto.
1262 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1264 * include/std/bitset: Adjust comment to reflect DR 853.
1265 * include/debug/bitset: Likewise.
1266 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1268 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1270 Implement DR 396 [Ready].
1271 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1272 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1273 char, char), bitset<>::to_string(_CharT, _CharT),
1274 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1275 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1276 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1277 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1278 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1279 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1280 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1281 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1282 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1283 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1284 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1285 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1287 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1289 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1290 * testsuite/25_algorithms/max/37547.cc: Likewise.
1291 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1293 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1295 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1296 typedef monotonic_clock to system_clock and instead declare new class.
1297 * src/chrono.cc: Conditionally define monotonic_clock::now().
1298 * include/std/condition_variable (wait_until): Throw exception if
1299 __gthread_cond_timedwait returns with error other than timed_out. Use
1300 system_clock as known clock type (__clock_t) and add overloads for known
1301 and unknown clocks. In the unknown case, sync to the known clock.
1302 Implement overload taking a predicate.
1303 (wait_for): Implement overload taking a predicate.
1304 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1305 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1307 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1309 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1310 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1311 * testsuite/30_threads/condition_variable/member/1.cc: New.
1312 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1314 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1317 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1318 when strtold is not available.
1319 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1321 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
1323 PR libstdc++/37391 continued.
1324 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1325 specify full path for source file links.
1326 * doc/html/ext/pb_ds/pq_examples.html: Same.
1328 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1330 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1331 by value parameters.
1332 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1334 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1336 PR libstdc++/32422, DR 23 [Ready in R60]
1337 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1338 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1339 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1340 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1341 DR 23 and deal correctly with broken exponents.
1342 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1343 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1344 char*, double&, ios_base::iostate&, const __c_locale&),
1345 __convert_to_v(const char*, long double&, ios_base::iostate&, const
1346 __c_locale&)): Likewise.
1347 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1348 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1349 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1350 ios_base::iostate&, string&): Change grouping check to set instead of
1351 OR failbit; do not check for eofbit here...
1352 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1353 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1354 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1355 iter_type, ios_base&, ios_base::iostate&, long double&),
1356 num_get<>::__do_get(iter_type, iter_type, ios_base&,
1357 ios_base::iostate&, double&)): ... do it here instead.
1358 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1359 ios_base::iostate&, bool&)): Implement DR 23.
1360 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1361 ios_base::iostate&, void*&)): Adjust.
1362 * doc/xml/manual/intro.xml: Add and entry for DR 23.
1363 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1365 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1367 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1368 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1369 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1370 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1371 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1372 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1373 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1374 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1375 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1376 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1378 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1381 * doc/html/ext/pb_ds/*.html: Fix external links.
1383 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1385 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1386 condition_variable, and thread output.
1388 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1390 * doc/html/ext/lwg-closed.html: Update to Revision R59.
1391 * doc/html/ext/lwg-active.html: Likewise.
1392 * doc/html/ext/lwg-defects.html: Likewise.
1393 * doc/xml/manual/intro.xml: Adjust.
1395 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
1397 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1398 consistently with the other overload for initializer_list.
1400 2008-09-19 Johannes Singler <singler@ira.uka.de>
1403 * include/parallel/base.h: Rename log2 to __log2.
1404 (__log2) Avoid infinite loop for n <= 0, return 0.
1405 * include/parallel/losertree.h: Rename log2 to __log2.
1406 * include/parallel/multiseq_selection.h: Likewise.
1407 * include/parallel/random_shuffle.h: Likewise.
1409 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1411 * include/bits/shared_ptr.h (__shared_count<>::
1412 __shared_count(_Ptr, _Deleter), __shared_count<>::
1413 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1414 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1415 Qualify new with ::.
1417 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
1420 * include/bits/stl_algo.h (min(initializer_list<>),
1421 min(initializer_list<>, Compare), max(initializer_list<>),
1422 max(initializer_list<>, Compare), minmax(initializer_list<>),
1423 minmax(initializer_list<>, Compare)): Fix return type.
1424 * include/bits/algorithmfwd.h: Adjust.
1425 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1426 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1428 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1430 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1432 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1434 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1436 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1438 * testsuite/25_algorithms/max/37547.cc: New.
1439 * testsuite/25_algorithms/min/37547.cc: Likewise.
1440 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1442 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
1444 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1446 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1448 * testsuite/25_algorithms/min/3.cc: Likewise.
1449 * testsuite/25_algorithms/min/4.cc: Likewise.
1450 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1452 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1454 * testsuite/25_algorithms/max/3.cc: Likewise.
1455 * testsuite/25_algorithms/max/4.cc: Likewise.
1456 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1458 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1460 * testsuite/25_algorithms/minmax/2.cc: Likewise.
1461 * testsuite/25_algorithms/minmax/3.cc: Likewise.
1463 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
1465 * include/bits/stl_algo.h (min(initializer_list<>),
1466 min(initializer_list<>, Compare), max(initializer_list<>),
1467 max(initializer_list<>, Compare), minmax(initializer_list<>),
1468 minmax(initializer_list<>, Compare)): Add in C++0x mode.
1469 * include/bits/algorithmfwd.h: Add.
1470 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1472 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
1474 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1476 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1477 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1478 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1480 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
1481 Benjamin Kosnik <bkoz@redhat.com>
1483 * include/std/thread: New.
1484 * include/Makefile.am: Update.
1485 * include/Makefile.in: Regenerate.
1486 * src/thread.cc: New.
1487 * src/Makefile.am: Update.
1488 * src/Makefile.in: Regenerate.
1489 * acinclude.m4: Add check for nanosleep.
1490 * configure.ac: Call it.
1491 * configure: Regenerate.
1492 * config.h.in: Likewise.
1493 * config/abi/pre/gnu.ver: Add exports.
1494 * doc/doxygen/user.cfg.in: Add thread header.
1495 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1496 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1497 * testsuite/30_threads/thread/cons/1.cc: New.
1498 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1499 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1500 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1501 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1502 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1503 * testsuite/30_threads/thread/member/1.cc: Likewise.
1504 * testsuite/30_threads/thread/member/2.cc: Likewise.
1505 * testsuite/30_threads/thread/member/3.cc: Likewise.
1506 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1507 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1508 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1509 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1510 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1511 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1512 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1513 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1514 Add thread, condition_variable and mutex.
1516 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1518 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1519 Remove specializations.
1520 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1521 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1522 use_facet<ctype<wchar_t>): Declare as extern template.
1523 * include/bits/locale_facets.h (use_facet<ctype<char> >,
1524 use_facet<ctype<wchar_t>): Do not declare as specializations.
1526 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1528 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1529 ctype<char>::_M_widen_init): Don't define here.
1530 * config/locale/gnu/ctype_members.cc: Likewise.
1531 * config/locale/generic/ctype_members.cc: Likewise.
1532 * src/ctype.cc: Define here.
1534 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1537 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1538 ctype<char>::_M_widen_init): Don't define inline.
1539 * config/locale/darwin/ctype_members.cc: ... define here.
1540 * config/locale/gnu/ctype_members.cc: ... likewise.
1541 * config/locale/generic/ctype_members.cc: ... likewise.
1542 * config/abi/pre/gnu.ver: Export.
1544 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
1546 * doc/xml/manual/abi.xml: Update for new releases.
1547 * doc/doxygen/user.cfg.in: Include C compatibility headers.
1548 * doc/html/*: Regenerate.
1550 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
1552 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1553 inclusion of <inttypes.h>.
1554 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1555 __STDC_CONSTANT_MACROS after <stdint.h>.
1556 * include/bits/postypes.h: Likewise.
1558 2008-09-09 Andreas Schwab <schwab@suse.de>
1560 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1561 not to redefine main.
1563 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1565 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1566 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1567 * include/tr1_impl/cinttypes: Use the latter.
1568 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1569 * configure: Regenerate.
1570 * config.h.in: Likewise.
1572 2008-09-05 Peter Dimov <pdimov@mmltd.net>
1574 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1576 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
1578 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1580 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1583 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1586 * include/Makefile.am: Update headers.
1587 * include/Makefile.in: Regenerate.
1588 * include/std/memory: Update headers.
1589 * include/tr1/memory: Likewise.
1590 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
1591 separate implementations for std and tr1.
1592 * include/bits/boost_sp_shared_count.h: Remove.
1593 * include/tr1/boost_sp_shared_count.h: Remove.
1594 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
1595 and boost_shared_ptr.h into one file.
1596 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
1597 and rvalue-reference support as per current WP.
1598 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
1599 and boost_shared_ptr.h into one file.
1600 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
1601 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
1602 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
1603 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
1604 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
1605 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
1606 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
1607 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
1608 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
1610 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1612 * doc/xml/manual/locale.xml: Fix typo.
1614 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
1616 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
1618 * configure: Regenerate.
1620 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
1622 * include/std/mutex (once_flag): Construct __gthread_once_t in a
1623 temporary variable before assigning to _M_once to avoid initialization
1626 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1628 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
1629 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
1631 * Makefile.in: Regenerate.
1632 * src/Makefile.in: Likewise.
1633 * doc/Makefile.in: Likewise.
1634 * po/Makefile.in: Likewise.
1635 * libmath/Makefile.in: Likewise.
1636 * include/Makefile.in: Likewise.
1637 * libsupc++/Makefile.in: Likewise.
1638 * testsuite/Makefile.in: Likewise.
1640 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1642 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
1643 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
1644 * configure: Regenerate.
1646 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1648 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
1649 * configure: Regenerate.
1651 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
1653 * include/std/condition_variable: Use new deleted ctors.
1654 * include/std/mutex: Likewise plus implement timed_mutex,
1655 recursive_timed_mutex and call_once.
1656 * src/condition_variable.cc: Implement wait(). Use gthread types.
1657 Remove _GTHREADS_HAS_COND checks in favor of global
1658 _GLIBCXX_HAS_GTHREADS.
1659 * src/mutex.cc (call_once): Implementation using TLS with mutex
1661 * config/abi/pre/gnu.ver: Add exported symbols.
1662 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
1663 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
1664 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
1665 dg-require-gthreads and dg-require-cstdint.
1666 * testsuite/30_threads/lock_guard/requirements/
1667 explicit_instantiation.cc: Likewise.
1668 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1669 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1670 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1671 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
1672 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1673 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1674 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1675 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1676 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1678 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
1679 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1680 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
1682 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1683 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1684 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1685 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1686 * testsuite/30_threads/unique_lock/requirements/
1687 explicit_instantiation.cc: Likewise.
1688 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
1689 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
1690 lines for deleted members.
1691 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1692 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1693 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1694 * testsuite/30_threads/call_once/once_flag.cc: New.
1695 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1696 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1697 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
1698 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1699 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1700 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1702 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1704 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
1705 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1706 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1707 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1708 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1709 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1710 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1711 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
1712 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1713 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1714 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1715 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1716 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1717 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1718 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1719 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1721 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1723 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1725 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1727 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
1728 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1730 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1731 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
1733 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
1735 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1736 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1737 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1738 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1739 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
1740 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1742 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1744 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1746 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1747 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1748 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1749 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1750 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1751 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1752 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1753 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1754 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1755 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1756 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1757 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1759 2008-09-01 Mark Mitchell <mark@codesourcery.com>
1761 * include/std/type_traits (__make_unsigned_selector<>): Consider
1762 enums of size smaller than short.
1763 (__make_signed_selector<>): Likewise.
1764 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1765 Adjust line numbers.
1766 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
1767 Adjust line numbers.
1768 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
1769 Ensure test_enum is the same size as short.
1770 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
1771 Ensure test_enum is the same size as short.
1773 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1775 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
1776 * configure: Regenerated.
1777 * Makefile.in: Regenerated.
1778 * src/Makefile.in: Regenerated.
1779 * doc/Makefile.in: Regenerated.
1780 * po/Makefile.in: Regenerated.
1781 * libmath/Makefile.in: Regenerated.
1782 * include/Makefile.in: Regenerated.
1783 * libsupc++/Makefile.in: Regenerated.
1784 * testsuite/Makefile.in: Regenerated.
1786 2008-08-29 Mark Mitchell <mark@codesourcery.com>
1788 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
1789 when testing on a simultor.
1791 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
1793 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1794 Rename to .../typedefs.cc.
1795 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1797 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1798 typedef.cc: Likewise.
1799 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1800 typedef.cc: Likewise.
1801 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1803 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1805 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1807 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1810 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
1812 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
1813 support used by c++0x thread library.
1814 * configure.ac: Test unconditionally.
1815 * configure: Regenerate.
1816 * config.h.in: Regenerate.
1818 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
1820 * doc/Makefile.am: Edit xml file list.
1821 * doc/Makefile.in: Regenerate.
1822 * configure: Regenerate.
1823 * doc/xml/manual/intro.xml: Edit, correct links, structure.
1824 * doc/xml/manual/configure.xml: Same.
1825 * doc/xml/manual/debug.xml: Same.
1826 * doc/xml/manual/test.xml: Same.
1827 * doc/xml/manual/build.xml: Remove.
1828 * doc/xml/manual/prerequisites.xml: Add.
1829 * doc/html/*: Regenerate.
1831 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
1833 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
1834 const_pointer typedefs.
1835 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1837 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1839 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1840 typedef.cc: Likewise.
1841 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1842 typedef.cc: Likewise.
1843 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1845 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1847 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1849 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1852 2008-08-27 Paul Brook <paul@codesourcery.com>
1854 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
1855 __get_object_from_ambiguous_exception.
1857 2008-08-26 Ben Elliston <bje@au.ibm.com>
1859 * src/mt_allocator.cc (__pool): Fix error in comment.
1861 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
1863 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
1864 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
1865 * configure.ac: Do not call the latter.
1866 * crossconfig.m4: Likewise.
1867 * libmath/mathconf.h: Adjust.
1868 * configure: Regenerate.
1869 * config.h.in: Likewise.
1871 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1873 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
1874 two test -r instead of an AC_TRY_RUN.
1875 * configure: Regenerate.
1876 * config.h.in: Likewise.
1878 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1880 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
1881 * doc/xml/manual/configure.xml: Likewise.
1883 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1885 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
1887 * configure: Regenerate.
1889 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1891 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
1892 GCC_TRY_COMPILE_OR_LINK.
1893 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
1894 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
1895 [no] by default, since it includes TRY_LINK checks. librt is also
1896 searched, if requested.
1897 * doc/xml/manual/configure.xml: Document the latter.
1898 * configure.ac: Move the above checks outside native-only.
1899 * configure: Regenerate.
1901 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1903 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
1904 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
1905 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
1906 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1907 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
1909 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
1911 Add (again) exception propagation support as per N2179. Feature is
1912 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
1913 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1914 copy_exception, rethrow_exception): New file, implement exception
1916 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1917 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1918 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1919 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1920 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1921 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1922 __gxx_dependent_exception_class, __get_object_from_ue,
1923 __get_object_from_ambiguous_exception): Add.
1924 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1925 (__is_gxx_exception_class): Handle dependent exceptions.
1926 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1927 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1928 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1929 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1930 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1931 __cxa_free_dependent_exception): Add.
1932 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1934 * libsupc++/exception: Conditionally include exception_ptr.h.
1935 * libsupc++/Makefile.am: Register new files.
1936 * libsupc++/Makefile.in: Regenerate.
1937 * config/abi/pre/gnu.ver: Add new symbols.
1938 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1939 core functionality of current_exception().
1940 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1941 core functionality of rethrow_exception().
1942 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1943 exception objects during exception propagation.
1945 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
1947 Revert again the N2179 patch.
1949 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
1951 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
1952 __cxa_free_dependent_exception.
1954 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1956 * include/bits/char_traits.h (char_traits<char16_t>::
1957 assign(char_type*, size_t, char_type), char_traits<char32_t>::
1958 assign(char_type*, size_t, char_type)): For now, just open-code.
1960 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1962 PR c++/33979 (partial)
1963 * include/bits/postypes.h (u16streampos, u32streampos): Add.
1964 * include/bits/char_traits.h (char_traits<char16_t>,
1965 char_traits<char32_t>): Add.
1966 * include/bits/stringfwd.h (u16string, u32string): Add.
1967 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
1968 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
1970 * testsuite/21_strings/char_traits/requirements/
1971 explicit_instantiation/short/1.cc: Likewise.
1972 * testsuite/21_strings/char_traits/requirements/
1973 explicit_instantiation/char32_t/1.cc: Likewise.
1974 * testsuite/21_strings/char_traits/requirements/
1975 explicit_instantiation/wchar_t/1.cc: Likewise.
1976 * testsuite/21_strings/char_traits/requirements/
1977 explicit_instantiation/char16_t/1.cc: Likewise.
1978 * testsuite/21_strings/char_traits/requirements/
1979 explicit_instantiation/char/1.cc: Likewise.
1980 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
1982 * testsuite/21_strings/basic_string/requirements/
1983 explicit_instantiation/char32_t/1.cc: Likewise.
1984 * testsuite/21_strings/basic_string/requirements/
1985 explicit_instantiation/wchar_t/1.cc: Likewise.
1986 * testsuite/21_strings/basic_string/requirements/
1987 explicit_instantiation/char16_t/1.cc: Likewise.
1988 * testsuite/21_strings/basic_string/requirements/
1989 explicit_instantiation/char/1.cc: Likewise.
1990 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
1991 * testsuite/ext/vstring/requirements/explicit_instantiation/
1992 char32_t/1.cc: Likewise.
1993 * testsuite/ext/vstring/requirements/explicit_instantiation/
1994 char16_t/1.cc: Likewise.
1996 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1999 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
2001 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
2003 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
2004 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
2005 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
2006 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
2007 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
2008 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
2009 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
2010 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
2011 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
2012 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
2013 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
2014 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
2015 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
2016 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
2017 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
2018 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
2019 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
2020 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
2021 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
2022 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
2023 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2024 * include/std/regex: Include <sstream>.
2025 * include/tr1/regex: Likewise.
2027 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2029 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
2031 * configure: Regenerate.
2033 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2036 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
2037 check the macros too.
2038 * configure: Regenerate.
2040 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2042 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
2044 * configure.ac: Run unconditionally AC_LC_MESSAGES.
2045 * crossconfig.m4: Adjust.
2046 * configure: Regenerate.
2048 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2050 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
2051 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
2052 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
2053 with -fno-exceptions as flags.
2054 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
2055 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
2056 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
2057 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
2059 * configure: Regenerate.
2061 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2063 Re-instate last patch, amended to use __exchange_and_add_dispatch
2064 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
2066 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2068 Revert the last patch.
2070 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
2072 Add exception propagation support as per N2179.
2073 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2074 copy_exception, rethrow_exception): New file, implement exception
2076 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2077 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2078 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2079 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2080 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2081 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2082 __gxx_dependent_exception_class, __get_object_from_ue,
2083 __get_object_from_ambiguous_exception): Add.
2084 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2085 (__is_gxx_exception_class): Handle dependent exceptions.
2086 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2087 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2088 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2089 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2090 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2091 __cxa_free_dependent_exception): Add.
2092 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2094 * libsupc++/exception: Conditionally include exception_ptr.h.
2095 * libsupc++/Makefile.am: Register new files.
2096 * libsupc++/Makefile.in: Regenerate.
2097 * config/abi/pre/gnu.ver: Add new symbols.
2098 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2099 core functionality of current_exception().
2100 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2101 core functionality of rethrow_exception().
2102 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2103 exception objects during exception propagation.
2105 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2108 * include/bits/stl_pair.h: Fix documentation URL in comment.
2110 2008-08-12 Johannes Singler <singler@ira.uka.de>
2112 * include/paralle/losertree.h
2113 (LoserTreePointerBase<>::~LoserTreePointerBase):
2114 Replace delete by appropriate delete[].
2116 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2118 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
2119 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
2120 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
2121 * configure: Regenerate.
2122 * config.h.in: Likewise.
2124 * acinclude.m4: Minor formatting fixes.
2126 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
2128 * include/tr1_impl/regex: Formatting fixes.
2129 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
2131 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
2134 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2136 * config/locale/generic/c_locale.cc: Include <cstdio>.
2138 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2140 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
2141 * configure: Regenerate.
2143 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
2145 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
2146 (_DEFINE_SPEC_BODY): Remove.
2147 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
2148 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
2149 __remove_pointer_helper): Add.
2150 (is_void, is_integral, is_floating_point, is_member_object_pointer,
2151 is_member_function_pointer, remove_pointer): Use the latter.
2152 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
2153 (_DEFINE_SPEC_HELPER): Remove.
2154 (__is_signed_helper, __is_unsigned_helper): Add.
2155 (is_signed, is_unsigned): Use the latter.
2157 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2159 Revert fix for libstdc++/35637, thanks to other/36901.
2160 * include/tr1_impl/type_traits (__is_function_helper): New, uses
2162 (is_function): Forward to the latter.
2163 (__in_array): Remove.
2165 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2167 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
2169 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
2171 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
2172 _IOS_BASE_SEEK_END at the end of the file.
2173 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
2175 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
2177 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
2180 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2182 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
2183 common values of EOF, SEEK_CUR, SEEK_END.
2184 * configure.ac: Use it.
2185 * include/bits/ios_base.h: Likewise.
2186 * include/bits/char_traits.h: Likewise.
2187 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
2188 * config/locale/generic/ctype_members.cc: Likewise.
2189 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
2190 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2191 * configure: Regenerate.
2192 * config.h.in: Likewise.
2194 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2196 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
2197 is actually a typedef to long or long long.
2198 * include/bits/postypes.h: If int64_t is actually a typedef for
2199 long or long long don't include <stdint.h> unnecessarily.
2200 * configure: Regenerate.
2201 * config.h.in: Likewise.
2203 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
2205 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
2206 Expect ambiguity together with the standard exception classes.
2207 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
2209 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
2211 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
2213 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2215 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
2216 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
2217 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
2219 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2221 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2223 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2225 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2227 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2230 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2232 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2233 also define the __STDC_* macros.
2234 (streamoff): Adjust.
2236 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2237 not defined before defining.
2239 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2240 Chris Fairles <chris.fairles@gmail.com>
2242 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2243 search, but only in libposix4, never link librt.
2244 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2245 * configure: Regenerate.
2246 * configure.in: Likewise.
2247 * Makefile.in: Likewise.
2248 * src/Makefile.in: Likewise.
2249 * libsup++/Makefile.in: Likewise.
2250 * po/Makefile.in: Likewise.
2251 * doc/Makefile.in: Likewise.
2253 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2255 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2256 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2257 and 4 in WD. Other minor tweaks.
2258 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2259 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2260 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2261 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2263 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2265 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2266 (check_v3_target_parallel_mode): Robustify, just follow the
2267 structure of testsuite/Makefile.am.
2269 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2271 * include/debug/set.h: Minor formatting fixes.
2272 * include/debug/multiset.h: Likewise.
2273 * include/debug/safe_association.h: Likewise.
2274 * include/debug/vector: Likewise.
2275 * include/debug/map.h: Likewise.
2276 * include/debug/string: Likewise.
2277 * include/debug/multimap.h: Likewise.
2278 * include/bits/stl_list.h: Likewise.
2279 * include/bits/stl_map.h: Likewise.
2280 * include/bits/stl_set.h: Likewise.
2281 * include/bits/stl_multimap.h: Likewise.
2282 * include/bits/stl_vector.h: Likewise.
2283 * include/bits/stl_multiset.h: Likewise.
2284 * include/bits/stl_bvector.h: Likewise.
2286 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2288 * include/std/utility: Include <initializer_list>, per the current WP.
2290 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2291 don't use -std=gnu++0x unnecessarily.
2292 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2294 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2295 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2297 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
2300 * include/tr1_impl/boost_shared_ptr.h
2301 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2302 __enable_shared_from_this_helper.
2303 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2305 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2309 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2311 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2312 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2313 * src/Makefile.am: Use it.
2314 * configure: Regenerate.
2315 * configure.in: Likewise.
2316 * Makefile.in: Likewise.
2317 * src/Makefile.in: Likewise.
2318 * libsup++/Makefile.in: Likewise.
2319 * po/Makefile.in: Likewise.
2320 * doc/Makefile.in: Likewise.
2322 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2324 * include/std/condition_variable: Update to N2691 WD.
2325 * include/std/mutex: Likewise.
2326 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2327 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2328 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2329 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2331 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2333 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2334 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2335 * src/Makefile.am: Use it.
2336 * configure: Regenerate.
2337 * configure.in: Likewise.
2338 * Makefile.in: Likewise.
2339 * src/Makefile.in: Likewise.
2340 * libsup++/Makefile.in: Likewise.
2341 * po/Makefile.in: Likewise.
2342 * doc/Makefile.in: Likewise.
2344 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2346 * include/ext/sso_string_base.h
2347 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2348 const _Alloc&)): Remove.
2349 * include/ext/rc_string_base.h
2350 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2351 const _Alloc&)): Likewise.
2352 * include/ext/vstring.h
2353 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2354 const _Alloc&)): Adjust.
2356 2008-07-21 Jason Merrill <jason@redhat.com>
2358 Add initializer_list support as per N2679.
2359 * include/debug/unordered_map: Add initializer_list support.
2360 * include/debug/safe_association.h: Likewise.
2361 * include/debug/unordered_set: Likewise.
2362 * include/debug/vector: Likewise.
2363 * include/debug/deque: Likewise.
2364 * include/debug/map.h: Likewise.
2365 * include/debug/set.h: Likewise.
2366 * include/debug/string: Likewise.
2367 * include/debug/list: Likewise.
2368 * include/debug/multimap.h: Likewise.
2369 * include/tr1_impl/unordered_map: Likewise.
2370 * include/tr1_impl/hashtable: Likewise.
2371 * include/tr1_impl/unordered_set: Likewise.
2372 * include/tr1_impl/regex: Likewise.
2373 * include/std/valarray: Likewise.
2374 * include/std/unordered_map: Likewise.
2375 * include/std/unordered_set: Likewise.
2376 * include/bits/stl_list.h: Likewise.
2377 * include/bits/stl_map.h: Likewise.
2378 * include/bits/stl_set.h: Likewise.
2379 * include/bits/basic_string.h: Likewise.
2380 * include/bits/basic_string.tcc: Likewise.
2381 * include/bits/stl_multimap.h: Likewise.
2382 * include/bits/stl_vector.h: Likewise.
2383 * include/bits/stl_deque.h: Likewise.
2384 * include/bits/stl_multiset.h: Likewise.
2385 * include/bits/stl_bvector.h: Likewise.
2386 * include/ext/vstring.h: Likewise.
2387 * include/ext/rc_string_base.h: Likewise.
2388 * include/ext/sso_string_base.h: Likewise.
2389 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2390 * src/Makefile.in: Likewise.
2391 * config/abi/pre/gnu.ver: Add new w?string exports.
2392 * testsuite/21_strings/basic_string/init-list.cc: New test.
2393 * testsuite/23_containers/vector/init-list.cc: New test.
2394 * testsuite/23_containers/deque/init-list.cc: New test.
2395 * testsuite/23_containers/list/init-list.cc: New test.
2396 * testsuite/23_containers/map/init-list.cc: New test.
2397 * testsuite/23_containers/multimap/init-list.cc: New test.
2398 * testsuite/23_containers/set/init-list.cc: New test.
2399 * testsuite/23_containers/multiset/init-list.cc: New test.
2400 * testsuite/23_containers/unordered_map/init-list.cc: New test.
2401 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2402 * testsuite/23_containers/unordered_set/init-list.cc: New test.
2403 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2404 * testsuite/26_numerics/valarray/init-list.cc: New test.
2405 * testsuite/28_regex/init-list.cc: New test.
2406 * testsuite/ext/vstring/init-list.cc: New test.
2407 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2408 Update error lineno.
2409 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2410 Update error lineno.
2411 * testsuite/23_containers/vector/requirements/dr438/
2412 constructor_1_neg.cc: Update error lineno.
2413 * testsuite/23_containers/vector/requirements/dr438/
2414 constructor_2_neg.cc: Update error lineno.
2415 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2416 Update error lineno.
2417 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2418 Update error lineno.
2419 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2420 Update error lineno.
2421 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2422 Update error lineno.
2423 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2424 Update error lineno.
2425 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2426 Update error lineno.
2427 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2428 Update error lineno.
2429 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2430 Update error lineno.
2432 2008-07-21 Mark Mitchell <mark@codesourcery.com>
2434 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2435 * configure.host: Use it for arm*-*-linux-*eabi.
2437 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
2439 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2440 (assert_node_consistent): Avoid ambiguous else warning.
2442 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2444 * include/bits/c++config: In debug-mode (and parallel-mode) set
2445 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2446 templates only for basic_string (per libstdc++/21674).
2447 * include/bits/basic_string.tcc: Use extern templates when
2448 _GLIBCXX_EXTERN_TEMPLATE > 0.
2450 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
2451 Holger Hopp <holger.hopp@sap.com>
2453 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2454 * testsuite/util/testsuite_abi.cc (check_version): Add
2455 CXXABI_1.3.3 to known_versions.
2457 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2459 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2460 Enable only when _Tp != bool.
2462 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2464 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2466 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2467 variable warnings leading to spurious fails of the test.
2469 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2471 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2473 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2474 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2476 * include/tr1_impl/type_traits: Fix comment typo.
2478 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2480 * include/bits/unique_ptr.h: Remove stray character.
2482 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
2484 * doc/doxygen/user.cfg.in: Add complex, ratio,
2486 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2487 * doc/doxygen/doxygroups.cc: Add std::chrono.
2488 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2489 * libsupc++/initializer_list (initializer_list): Same.
2490 * include/std/ratio: Same.
2491 * include/std/chrono: Same.
2492 * include/std/complex: Disambiguate file markup.
2494 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
2496 * include/std/chrono: New, as per N2661.
2497 * src/chrono.cc: New.
2498 * include/Makefile.am: Update.
2499 * src/Makefile.am: Likewise.
2500 * include/Makefile.in: Regenerate.
2501 * src/Makefile.in: Likewise.
2502 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2503 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2504 * configure.ac: Use them.
2505 * configure: Regenerate.
2506 * config.h.in: Likewise.
2507 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2508 system_clock::is_monotonic.
2509 * testsuite/20_util/duration/cons/1.cc: New.
2510 * testsuite/20_util/duration/cons/2.cc: Likewise.
2511 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2512 * testsuite/20_util/duration/requirements/explicit_instantiation/
2513 explicit_instantiation.cc: Likewise.
2514 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2515 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2516 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2517 * testsuite/20_util/time_point/requirements/explicit_instantiation/
2518 explicit_instantiation.cc: Likewise.
2519 * testsuite/20_util/time_point/1.cc: Likewise.
2520 * testsuite/20_util/time_point/2.cc: Likewise.
2521 * testsuite/20_util/time_point/3.cc: Likewise.
2522 * testsuite/20_util/clocks/1.cc: Likewise.
2523 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2525 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2526 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2527 * doc/doxygen/user.cfg.in: Likewise.
2529 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
2532 * include/ext/rope (_Destroy_const): Add.
2533 (rope<>::copy): Call it.
2534 * testsuite/ext/rope/36832.cc: New.
2536 2008-07-15 Johannes Singler <singler@ira.uka.de>
2538 * include/parallel/find_selectors.h:
2539 Correct name for include guard #ifndef.
2540 * include/parallel/balanced_quicksort.h: Likewise.
2541 * include/parallel/unique_copy.h: Likewise.
2542 * include/parallel/multiway_mergesort.h: Likewise.
2543 * include/parallel/checkers.h: Likewise.
2544 * include/parallel/[various files]:
2545 Add/correct comment for #endif of include guard (at end of file)
2547 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
2549 * include/std/date_time: Remove, per N2549, in WP.
2550 * src/date_time.cc: Likewise.
2551 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2552 * include/Makefile.am: Remove date_time in std headers.
2553 * src/Makefile.am: Remove date_time.cc to source files.
2554 * include/Makefile.in: Regenerate.
2555 * src/Makefile.in: Likewise.
2556 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2557 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2558 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2559 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2560 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2561 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2562 * testsuite/31_date_time/system_time/requirements: Likewise.
2563 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2564 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2565 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2567 2008-07-10 Johannes Singler <singler@ira.uka.de>
2569 * include/parallel/balanced_quicksort.h:
2570 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2572 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
2575 * doc/xml/manual/allocator.xml: Fix links.
2576 * doc/html/*: Regenerate.
2578 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2580 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2581 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2582 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2583 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2585 * libsupc++/eh_arm.cc (__cxa_type_match): Use
2586 __is_gxx_forced_unwind_class to check for forced unwind.
2588 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
2591 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2592 null_metadata.hpp: Remove self-include.
2594 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2596 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
2597 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
2598 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
2600 2008-07-09 Johannes Singler <singler@ira.uka.de>
2603 * include/parallel/random_shuffle.h:
2604 (sequential_random_shuffle) Copy data back.
2605 * testsuite/25_algorithms/random_shuffle/1.cc:
2606 New. Generic random_shuffle functionality test.
2608 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
2610 * include/std/type_traits: Add common_type.
2611 * testsuite/20_util/common_type/requirements/
2612 explicit_instantiation.cc: New.
2613 * testsuite/20_util/common_type/requirements/
2614 typedefs-1.cc: Likewise.
2616 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
2618 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
2619 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
2620 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
2621 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2622 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2623 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2624 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2625 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2626 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2627 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2629 * include/std/type_traits: Fix comment typo.
2631 2008-07-06 Roger Sayle <roger@eyesopen.com>
2633 * include/std/system_error (is_error_code_enum): Use identifier
2634 _Tp instead of _T to avoid conflict with system macro on Darwin.
2635 (is_error_condition_enum): Likewise.
2637 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2639 * include/bits/postypes.h: Do not include <stdint.h>.
2641 * include/Makefile.am: Reorder.
2643 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2645 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
2647 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
2649 * include/std/ratio: Documentation for std::ratio class. Add conditions
2650 to ratio_less to prevent overflow.
2651 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
2652 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
2655 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
2657 * include/std/ratio: New, per N2661.
2658 * include/Makefile.am: Update.
2659 * include/Makefile.in: Regenerate.
2660 * testsuite/20_util/ratio/cons/cons1.cc: New.
2661 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2662 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2663 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2664 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2665 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2666 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2668 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
2671 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
2672 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2674 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2676 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2677 Improve check on long double limits.
2678 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2680 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2682 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2685 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2687 * libsupc++/Makefile.am: Add initializer_list to the headers.
2688 * libsupc++/Makefile.in: Regenerate.
2690 * libsupc++/initializer_list: Minor cosmetic changes.
2692 2008-07-02 Jason Merrill <jason@redhat.com>
2694 * libsupc++/initializer_list: Uglify and wrap in
2695 __GXX_EXPERIMENTAL_CXX0X__.
2696 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
2698 2008-07-02 Jason Merrill <jason@redhat.com>
2700 * libsupc++/initializer_list: New file.
2701 * include/bits/stl_map.h (insert(initializer_list)): New method.
2703 2008-06-30 Alfred E. Heggestad <aeh@db.org>
2705 * include/backward/backward_warning.h: Fix typo.
2707 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2709 * src/string_conversions.cc: Remove.
2710 * config/abi/pre/gnu.ver: Delete exports.
2711 * src/Makefile.am: Update.
2712 * include/ext/string_conversions.h: Add.
2713 * include/Makefile.am: Update.
2714 * include/bits/basic_string.h: Include string_conversions.h,
2715 define numeric conversion functions.
2716 * include/ext/vstring.h: Likewise.
2717 * src/Makefile.in: Regenerate.
2718 * include/Makefile.in: Regenerate.
2720 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2722 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
2723 * include/bits/algorithmfwd.h: Add.
2724 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
2726 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
2727 move_iterators/1.cc: New
2728 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2729 * testsuite/25_algorithms/copy_n/1.cc: New.
2730 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
2731 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
2732 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
2733 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
2734 * testsuite/25_algorithms/copy_n/requirements/
2735 explicit_instantiation/2.cc: Likewise.
2736 * testsuite/25_algorithms/partition_point/requirements/
2737 explicit_instantiation/pod.cc: Likewise.
2739 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2741 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
2742 * include/bits/algorithmfwd.h: Add.
2743 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2744 * testsuite/25_algorithms/partition_point/1.cc: New.
2745 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
2746 * testsuite/25_algorithms/partition_point/requirements/
2747 explicit_instantiation/2.cc: Likewise.
2748 * testsuite/25_algorithms/partition_point/requirements/
2749 explicit_instantiation/pod.cc: Likewise.
2751 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2754 * include/ext/pb_ds/detail/resize_policy/
2755 sample_resize_trigger.hpp: Remove spurious namespace end.
2757 2008-06-27 Mark Mitchell <mark@codesourcery.com>
2759 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
2761 (__aeabi_vec_delete): Likewise.
2762 (__aeabi_vec_delete3): Likewise.
2763 (__aeabi_vec_delete3_nodtor): Likewise.
2765 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2767 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
2768 * include/bits/algorithmfwd.h: Add.
2769 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2770 * testsuite/25_algorithms/is_partitioned/1.cc: New.
2771 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
2772 * testsuite/25_algorithms/is_partitioned/requirements/
2773 explicit_instantiation/2.cc: Likewise.
2774 * testsuite/25_algorithms/is_partitioned/requirements/
2775 explicit_instantiation/pod.cc: Likewise.
2777 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2779 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
2780 * testsuite/util/testsuite_character.h (pod_int): Add operator++
2782 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
2783 * testsuite/26_numerics/iota/1.cc: New.
2784 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2786 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2789 * include/ext/algorithm: Do not fiddle with the legacy headers.
2791 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
2793 * testsuite/26_numerics/accumulate/1.cc: Likewise.
2794 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
2795 * testsuite/26_numerics/inner_product/1.cc: Likewise.
2797 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2799 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
2800 * include/bits/algorithmfwd.h: Add.
2801 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2802 * testsuite/25_algorithms/partition_copy/1.cc: New.
2803 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
2804 * testsuite/25_algorithms/partition_copy/requirements/
2805 explicit_instantiation/2.cc: Likewise.
2806 * testsuite/25_algorithms/partition_copy/requirements/
2807 explicit_instantiation/pod.cc: Likewise.
2809 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
2811 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
2812 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
2813 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
2815 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
2816 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
2817 * testsuite/20_util/unique_ptr/specialized_algorithms/
2818 comparisons_array.cc: Likewise.
2819 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
2821 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
2824 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2826 * include/parallel/base.h (plus, multiplies): Use __typeof__,
2829 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2831 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
2833 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
2834 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
2836 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
2837 * testsuite/util/testsuite_common_types.h (struct assignable,
2838 struct default_constructible, struct copy_constructible,
2839 struct explicit_value_constructible): Use a tad of simulated
2840 concept checking techniques to avoid spurious warnings.
2841 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
2843 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2845 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2847 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
2848 any_of, none_of): Add in C++0x, per N2666.
2849 * include/bits/algorithmfwd.h: Update.
2850 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2851 * testsuite/25_algorithms/all_of/check_type.cc: New.
2852 * testsuite/25_algorithms/all_of/1.cc: Likewise.
2853 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2855 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2857 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
2858 * testsuite/25_algorithms/any_of/1.cc: Likewise.
2859 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2861 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2863 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
2864 * testsuite/25_algorithms/none_of/1.cc: Likewise.
2865 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2867 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2869 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
2870 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
2871 * testsuite/25_algorithms/find_if_not/requirements/
2872 explicit_instantiation/2.cc: Likewise.
2873 * testsuite/25_algorithms/find_if_not/requirements/
2874 explicit_instantiation/pod.cc: Likewise.
2875 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
2876 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
2877 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
2879 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
2881 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
2882 parallel algorithms.
2883 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
2884 * doc/xml/manual/test.xml: Remove empty para tags.
2886 * doc/html/*: Regenerate.
2888 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2890 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
2891 (copy_if): Add, per N2666.
2892 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2894 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2896 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2898 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2899 Chalathip Thumkanon <chalathip@gmail.com>
2902 * include/ext/pb_ds/exception.hpp (__throw_container_error,
2903 __throw_insert_error, __throw_join_error, __throw_resize_error):
2906 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2908 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
2910 * include/bits/algorithmfwd.h: Add.
2911 * doc/xml/manual/intro.xml: Add an entry for DR 809.
2912 * testsuite/25_algorithms/swap/dr809.cc: New.
2914 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2915 2.cc: Remove stray empty line.
2917 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2919 * include/bits/stl_move.h: Rename to move.h.
2920 * include/std/utility: Adjust.
2921 * include/ext/vstring_util.h: Likewise.
2922 * include/ext/throw_allocator.h: Likewise.
2923 * include/ext/pool_allocator.h: Likewise.
2924 * include/ext/bitmap_allocator.h: Likewise.
2925 * include/ext/new_allocator.h: Likewise.
2926 * include/ext/malloc_allocator.h: Likewise.
2927 * include/ext/array_allocator.h: Likewise.
2928 * include/ext/mt_allocator.h: Likewise.
2929 * include/bits/stl_algobase.h: Likewise.
2930 * include/bits/stl_heap.h: Likewise.
2931 * include/bits/stl_pair.h: Likewise.
2932 * include/bits/stl_iterator.h: Likewise.
2933 * testsuite/util/testsuite_allocator.h: Likewise.
2934 * testsuite/util/testsuite_iterators.h: Likewise.
2935 * include/Makefile.am: Likewise.
2936 * include/Makefile.in: Regenerate.
2938 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
2940 * include/bits/unique_ptr.h: New.
2941 * include/std/memory: Adjust.
2942 * include/Makefile.am: Add.
2943 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
2944 explicit_instantiation.cc: New.
2945 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
2946 * include/Makefile.in: Regenerate.
2948 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2950 * include/c_global/climits, include/tr1/climits: Add parentheses.
2952 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2954 * configure: Regenerate.
2956 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
2958 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
2960 * testsuite/24_iterators/operations/next.cc: New.
2961 * testsuite/24_iterators/operations/prev.cc: Likewise.
2963 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
2965 * src/string_conversions.cc (__to_xstring<>): New.
2966 (to_string, to_wstring): Use it.
2968 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
2970 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
2971 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
2972 * src/string_conversions.cc: Add.
2973 * src/Makefile.am: Update.
2974 * config/abi/pre/gnu.ver: Adjust exports.
2975 * src/Makefile.in: Regenerate.
2976 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2978 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2980 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2982 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2984 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2986 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2988 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2990 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
2992 * testsuite/21_strings/basic_string/numeric_conversions/char/
2993 to_string.cc: Likewise.
2994 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2996 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2998 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3000 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3002 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3004 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3006 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3008 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3009 stoull.cc: Likewise.
3010 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
3011 to_wstring.cc: Likewise.
3013 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3015 * include/Makefile.am: Remove trailing white space, fix typo.
3016 (parallel_headers): Remove duplicate file, sort entries.
3017 * include/Makefile.in: Regenerate.
3019 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3021 * src/condition_variable.cc (~condition_variable): Drop unused
3024 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3026 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
3027 deque<>::push_front(_Args&&...)): Remove.
3028 (deque<>::push_back(value_type&&),
3029 deque<>::push_front(value_type&&)): Add.
3030 (deque<>::push_back(const value_type&),
3031 deque<>::push_front(const value_type&)): Add back.
3032 (deque<>::emplace_back(_Args&&...),
3033 deque<>::emplace_front(_Args&&...)): Declare...
3034 * include/bits/deque.tcc: ... and define.
3035 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
3036 list<>::push_front(_Args&&...)): Remove.
3037 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3038 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3040 (list<>::push_back(const value_type&),
3041 list<>::push_front(const value_type&)): Add back.
3042 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
3043 (vector<>::push_back(value_type&&)): Add.
3044 (vector<>::push_back(const value_type&)): Add back.
3045 (vector<>::emplace_back(_Args&&...)): Declare...
3046 * include/bits/vector.tcc: ... and define.
3047 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
3048 priority_queue<>::push(_Args&&...)): Remove.
3049 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
3050 priority_queue<>::push(value_type&&),
3051 priority_queue<>::emplace(_Args&&...)): Add.
3052 (queue<>::push(const value_type&),
3053 priority_queue<>::push(const value_type&)): Add back.
3054 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
3055 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
3056 (stack<>::push(const value_type&)): Add back.
3057 * include/debug/deque (deque<>::push_back(_Args&&...),
3058 deque<>::push_front(_Args&&...)): Remove.
3059 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
3060 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
3062 (deque<>::push_back(const value_type&),
3063 deque<>::push_front(const value_type&)): Add back.
3064 * include/debug/list (list<>::push_back(_Args&&...),
3065 list<>::push_front(_Args&&...)): Remove.
3066 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3067 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3069 (list<>::push_back(const value_type&),
3070 list<>::push_front(const value_type&)): Add back.
3071 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
3072 (vector<>::push_back(value_type&&),
3073 vector<>::emplace_back(_Args&&...)): Add.
3074 (vector<>::push_back(const value_type&)): Add back.
3075 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3076 Adjust dg-error line numbers.
3077 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3079 * testsuite/23_containers/deque/requirements/dr438/
3080 constructor_1_neg.cc: Likewise.
3081 * testsuite/23_containers/deque/requirements/dr438/
3082 constructor_2_neg.cc: Likewise.
3083 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3084 Adjust dg-error line numbers.
3085 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3087 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3089 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3091 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3092 Adjust dg-error line numbers.
3093 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3095 * testsuite/23_containers/vector/requirements/dr438/
3096 constructor_1_neg.cc: Likewise.
3097 * testsuite/23_containers/vector/requirements/dr438/
3098 constructor_2_neg.cc: Likewise.
3100 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3102 * include/tr1_impl/array (array<>::assign): Do not define in
3103 C++0x mode, per DR 776...
3104 (array<>::fill): ... define instead.
3105 * doc/xml/manual/intro.xml: Add an entry for DR 776.
3106 * testsuite/23_containers/array/requirements/fill.cc: New.
3108 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
3110 * include/std/complex (pow(const complex<>&, int)): Do not define in
3111 C++0x mode, per DR 844.
3112 * include/tr1/complex (pow(const complex<>&, int)): Remove.
3113 * doc/xml/manual/intro.xml: Add an entry for DR 844.
3114 * testsuite/26_numerics/complex/dr844.cc: New.
3115 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
3117 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
3119 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
3120 cend(size_type)): Add per DR 691.
3121 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
3123 * testsuite/23_containers/unordered_multimap/requirements/
3124 cliterators.cc: Likewise.
3125 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
3127 * testsuite/23_containers/unordered_multiset/requirements/
3128 cliterators.cc: Likewise.
3129 * doc/xml/manual/intro.xml: Add an entry for DR 691.
3131 2008-06-11 Matthias Klose <doko@ubuntu.com>
3133 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
3134 Remove empty directories.
3136 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3138 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
3139 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
3140 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
3141 * configure: Regenerate.
3142 * config/os/solaris/solaris2.5: Remove directory.
3143 * config/os/solaris/solaris2.6: Remove directory.
3144 * config/os/windiss: Remove directory.
3146 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
3148 * doc/xml/manual/using.xml: Outline exception topics.
3150 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
3151 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3152 policy_access_fn_imps.hpp: Same.
3153 * include/ext/pb_ds/priority_queue.hpp: Same.
3154 * include/ext/throw_allocator.h: Same.
3156 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
3157 (sequence_tag): New tag. Doxygen markup fixes.
3159 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
3161 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
3162 comment typo, include paths, format.
3163 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3164 * testsuite/performance/ext/pb_ds/
3165 hash_random_int_erase_mem_usage.cc: Same.
3166 * testsuite/performance/ext/pb_ds/
3167 random_int_subscript_find_timing.cc: Same.
3168 * testsuite/performance/ext/pb_ds/
3169 priority_queue_text_push_timing.cc: Same.
3170 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3171 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3172 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
3173 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
3174 * testsuite/performance/ext/pb_ds/
3175 priority_queue_random_int_push_timing.cc: Same.
3176 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
3177 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3178 * testsuite/performance/ext/pb_ds/
3179 priority_queue_text_push_pop_timing.cc: Same.
3180 * testsuite/performance/ext/pb_ds/
3181 priority_queue_text_join_timing.cc: Same.
3182 * testsuite/performance/ext/pb_ds/
3183 priority_queue_random_int_push_pop_timing.cc: Same.
3184 * testsuite/performance/ext/pb_ds/
3185 random_int_subscript_insert_timing.cc: Same.
3186 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3187 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
3188 * testsuite/performance/ext/pb_ds/
3189 priority_queue_text_pop_mem_usage.cc: Same.
3190 * testsuite/performance/ext/pb_ds/
3191 hash_zlob_random_int_find_timing.cc: Same.
3192 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3193 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3194 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3195 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3196 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3197 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3198 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3199 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3200 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3201 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3202 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3203 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3204 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3205 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3206 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3207 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3208 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3209 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3210 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3211 * testsuite/util/regression/basic_type.hpp: Same.
3212 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3213 * testsuite/util/common_type/priority_queue/detail/
3214 ds_string_form.hpp: Same.
3215 * testsuite/util/common_type/assoc/string_form.hpp: Same.
3216 * testsuite/util/common_type/assoc/detail/
3217 resize_policy_string_form.hpp: Same.
3218 * testsuite/util/common_type/assoc/detail/
3219 trigger_policy_string_form.hpp: Same.
3220 * testsuite/util/common_type/assoc/detail/
3221 comb_hash_fn_string_form.hpp: Same.
3222 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3223 * testsuite/util/common_type/assoc/detail/
3224 size_policy_string_form.hpp: Same.
3225 * testsuite/util/common_type/assoc/detail/
3226 probe_fn_string_form.hpp: Same.
3227 * testsuite/util/common_type/assoc/detail/
3228 list_update_policy_string_form.hpp: Same.
3229 * testsuite/util/common_type/assoc/detail/
3230 store_hash_string_form.hpp: Same.
3231 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3232 * testsuite/util/io/prog_bar.cc: Same.
3234 * testsuite/util/regression/rand/io: Remove.
3235 * testsuite/util/regression/rand/io/priority_queue: Same.
3236 * testsuite/util/regression/rand/io/assoc: Same.
3237 * testsuite/util/regression/rand/io/priority_queue/
3238 xml_formatter.hpp: Consolidate this...
3239 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3240 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3241 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3243 * testsuite/util/regression/rand/priority_queue/
3244 container_rand_regression_test.hpp:To ...
3245 container_rand_regression_test.h: ... this.
3246 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3247 * testsuite/util/regression/rand/priority_queue/
3248 container_rand_regression_test.tcc: ... this.
3249 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3250 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3251 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3252 * testsuite/util/regression/rand/priority_queue/
3253 rand_regression_test.hpp: Adjust includes.
3255 * testsuite/util/regression/rand/assoc/
3256 container_rand_regression_test.hpp: To ...
3257 * testsuite/util/regression/rand/assoc/
3258 container_rand_regression_test.h: ... this.
3259 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3260 * testsuite/util/regression/rand/assoc/
3261 container_rand_regression_test.tcc: ...this.
3262 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3265 * testsuite/util/regression/priority_queue: Remove.
3266 * testsuite/util/regression/assoc: Remove.
3267 * testsuite/util/regression/priority_queue/
3268 common_type.hpp: Consolidate this...
3269 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3270 * testsuite/util/regression/common_type.hpp: ...here.
3272 * testsuite/util/rng: Remove.
3273 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3274 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3275 * testsuite/util/testsuite_rng.h: ...here.
3277 * testsuite/util/native_type/priority_queue: Remove.
3278 * testsuite/util/native_type/priority_queue/
3279 native_priority_queue.hpp: To...
3280 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3282 * testsuite/util/native_type/assoc: Remove.
3283 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3284 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3285 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3286 * testsuite/util/native_type/assoc/native_set.hpp: To...
3287 * testsuite/util/native_type/assoc/native_map.hpp: To...
3288 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3289 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3290 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3291 * testsuite/util/native_type/native_multimap.hpp: ...here.
3292 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3293 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3294 * testsuite/util/native_type/native_set.hpp: ...here.
3295 * testsuite/util/native_type/native_map.hpp: ...here.
3296 * testsuite/util/native_type/native_hash_set.hpp: ...here.
3297 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3298 * testsuite/util/native_type/native_hash_map.hpp: ...here.
3300 * testsuite/util/common_type/priority_queue/common_type.hpp:
3301 Make include guard distinct.
3302 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3304 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3306 * configure.ac: Do not check for gconv.h.
3307 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3308 gconf.h. For glibc and uClibc systems, define
3309 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3311 * configure, config.h.in: Regenerate.
3313 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3315 * testsuite/17_intro/headers/all.cc,
3316 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3317 testsuite/17_intro/headers/all_pedantic_errors.cc,
3318 testsuite/ext/headers.cc: Only include
3319 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3320 _GLIBCXX_HAVE_ICONV.
3322 2008-06-05 Johannes Singler <singler@ira.uka.de>
3324 * include/parallel/random_shuffle.h:
3325 (parallel_random_shuffle_drs) Get the actual number of
3326 threads after entering the parallel region. Indentation.
3327 * include/parallel/algo.h: (random_shuffle(begin, end))
3328 Add namespace qualification to avoid ambiguity.
3330 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
3332 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3333 to allocator_type, as per existing conventions.
3334 * include/ext/pb_ds/detail/binomial_heap_base_/
3335 binomial_heap_base_.hpp: Same.
3336 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3337 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3338 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3339 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3340 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3341 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3342 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3343 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3344 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3345 left_child_next_sibling_heap_.hpp: Same.
3346 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3347 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3348 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3349 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3350 * include/ext/pb_ds/detail/rc_binomial_heap_/
3351 rc_binomial_heap_.hpp: Same.
3352 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3353 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3354 * include/ext/pb_ds/list_update_policy.hpp: Same.
3355 * include/ext/pb_ds/exception.hpp: Same.
3356 * include/ext/pb_ds/tree_policy.hpp: Same.
3357 * include/ext/pb_ds/trie_policy.hpp: Same.
3358 * include/ext/pb_ds/priority_queue.hpp: Same.
3359 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3360 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3361 * testsuite/util/regression/rand/priority_queue/detail/
3362 defs_fn_imps.hpp: Same.
3363 * testsuite/util/regression/rand/priority_queue/detail/
3364 operator_fn_imps.hpp: Same.
3365 * testsuite/util/regression/rand/priority_queue/
3366 container_rand_regression_test.hpp: Same.
3367 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3368 * testsuite/util/regression/rand/assoc/detail/
3369 operator_fn_imps.hpp: Same.
3370 * testsuite/util/regression/rand/assoc/
3371 container_rand_regression_test.hpp: Same.
3372 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3373 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3374 * testsuite/util/common_type/assoc/detail/
3375 tree_supports_order_statistics.hpp: Same.
3376 * testsuite/util/common_type/assoc/detail/
3377 trie_supports_prefix_search.hpp: Same.
3378 * testsuite/util/common_type/assoc/detail/
3379 trie_supports_order_statistics.hpp: Same.
3381 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
3382 Daniel Jacobowitz <dan@codesourcery.com>
3384 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3386 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3387 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3389 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
3391 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3392 avoid a memory leak if the first __uninitialized_move_a throws.
3393 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3395 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3396 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3398 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
3399 Chris Jefferson <chris@bubblescope.net>
3402 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3403 (pop_heap): Slightly tweak.
3405 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
3407 * include/debug/bitset (bitset(const char*)): Implement DR 778
3410 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3411 deal with char16_t and char32_t.
3413 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
3415 * include/c_global/cmath (pow(float, int), pow(double, int),
3416 pow(long double, int)): Do not define in C++0x mode, per DR 550.
3417 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3419 * include/tr1/cmath (pow(double, double), pow(float, float),
3420 pow(long double, long double), pow(_Tp, _Up)): Define.
3421 * include/tr1/complex (pow): Do not bring in from namespace std.
3422 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3423 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3424 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3425 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3426 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3427 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3429 * doc/xml/manual/intro.xml: Add an entry for DR 550.
3430 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3431 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3433 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3435 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3436 * include/std/date_time: Likewise.
3437 * include/std/system_error: Likewise.
3438 * include/std/type_traits: Likewise; fix typo in macro name.
3439 * include/std/regex: Likewise.
3440 * include/std/random: Likewise.
3441 * include/std/unordered_map: Likewise.
3442 * include/std/condition_variable: Likewise.
3443 * include/std/unordered_set: Likewise.
3444 * include/std/mutex: Likewise.
3445 * include/std/array: Likewise.
3447 * include/c_std/cmath: Fix obsolete comment.
3448 * include/c_global/cmath: Likewise.
3450 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3452 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3453 complex<float>::real(float), complex<float>::imag(float),
3454 complex<double>::real(double), complex<double>::imag(double),
3455 complex<long double>::real(long double),
3456 complex<long double>::imag(long double)): Add per DR 387.
3457 (complex<>::real(), complex<>::imag(), complex<float>::real(),
3458 complex<float>::imag(), complex<double>::real(),
3459 complex<double>::imag(), complex<long double>::real(),
3460 complex<long double>::imag(long double)): Adjust in C++0x mode.
3461 (real(complex<>&), imag(complex<>&), real(const complex<>&),
3462 imag(const complex<>&)): Likewise.
3463 * testsuite/26_numerics/complex/dr387.cc: New.
3464 * doc/xml/manual/intro.xml: Add an entry for DR 387.
3466 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3468 * include/std/complex: Trivial stylistic changes, define inline
3469 members inline, consistently with the rest of the library.
3470 (pow(const _Tp&, const complex<>&)): Minor tweak.
3472 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3474 * src/atomic.cc (atomic_flag_test_and_set_explicit,
3475 atomic_flag_clear_explicit): Suppress unused parameter warnings.
3477 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3479 * include/std/tuple: Replace int -> size_t throughout per DR 775.
3480 * include/tr1_impl/array: Likewise.
3481 * include/tr1_impl/utility: Likewise.
3482 * doc/xml/manual/intro.xml: Add an entry for DR 775.
3484 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3486 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
3488 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3490 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
3491 * include/c_global/cmath (fpclassify): Likewise.
3493 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3495 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
3496 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
3497 * testsuite/23_containers/unordered_map/dr761.cc: New.
3498 * doc/xml/manual/intro.xml: Add an entry for DR 761.
3500 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3502 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
3504 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3506 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
3508 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
3509 * include/tr1/complex: ... here.
3510 * doc/xml/manual/intro.xml: Add an entry for DR 781.
3511 * testsuite/26_numerics/complex/dr781.cc: Add.
3512 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
3513 * configure: Regenerate.
3515 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3517 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
3518 (bitset<>::_M_copy_from_ptr): Add.
3519 (bitset<>::_M_copy_from_string): Forward to the latter.
3520 * doc/xml/manual/intro.xml: Add an entry for DR 778.
3521 * testsuite/23_containers/bitset/cons/2.cc: Add.
3523 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3525 * doc/html/ext/lwg-active.html: Update to Revision R56.
3526 * doc/html/ext/lwg-closed.html: Likewise.
3527 * doc/html/ext/lwg-defects.html: Likewise.
3529 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
3531 PR c++/33979 (partial)
3532 * include/tr1_impl/functional_hash.h (hash<char16_t>,
3533 hash<char32_t>): Add specializations.
3534 * include/tr1_impl/type_traits (is_integral<char16_t>,
3535 is_integral<char32_t>): Likewise.
3536 * include/std/limits (numeric_limits<char16_t>,
3537 numeric_limits<char32_t>): Likewise.
3538 * src/limits_c++0x.cc: Add.
3539 * src/Makefile.am: Update.
3540 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
3542 * testsuite/20_util/is_integral/value.cc: New.
3543 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
3544 * testsuite/20_util/is_integral/requirements/
3545 explicit_instantiation.cc: Likewise.
3546 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
3547 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
3549 * configure: Regenerate.
3550 * src/Makefile.in: Likewise.
3551 * config.h.in: Likewise.
3553 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
3555 * include/std/system_error: Align to current draft specifications.
3556 * src/system_error.cc: Same.
3557 * src/functexcept.cc: Adjust for corrected system_error construction.
3558 * include/std/ostream: Adjust error_code inserter.
3559 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
3560 * config/abi/pre/gnu.ver: Add new exports.
3562 * testsuite/util/testsuite_error.h: Consolidate error testing
3564 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
3565 testsuite_error, adjust line numbers and constructor calls.
3566 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
3567 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
3568 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
3569 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
3570 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
3571 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
3572 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3574 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
3575 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
3576 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
3577 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
3578 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
3579 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
3581 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
3583 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
3584 * configure: Regenerate.
3586 2008-05-15 Johannes Singler <singler@ira.uka.de>
3588 * xml/manual/parallel_mode.xml:
3589 General revision and documentation of new compile-time
3590 options for sorting.
3592 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3594 * include/std/mutex (mutex::try_lock): Eat errors.
3595 (mutex::unlock): Same.
3596 (recursive_mutex::try_lock): Eat errors.
3597 (recursive_mutex::unlock): Same.
3598 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
3599 -pthreads, adjust line numbers.
3600 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
3601 * testsuite/30_threads/mutex/cons/1.cc: Same.
3602 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
3603 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
3604 * testsuite/30_threads/mutex/lock/1.cc: Same.
3605 * testsuite/30_threads/mutex/unlock/1.cc: Same.
3606 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
3607 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
3608 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
3610 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3612 * include/std/sstream: Adjust braces.
3613 * include/bits/fstream.tcc: Same.
3614 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
3616 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3618 * doc/doxygen/user.cfg.in: Remove thread include.
3620 2008-05-13 David Daney <ddaney@avtrex.com>
3622 * config/cpu/mips/atomicity.h: Remove file.
3623 * config/cpu/mips: Remove directory.
3624 * configure.host: Remove host specific handling for mips*-*-*.
3626 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
3627 Paolo Carlini <paolo.carlini@oracle.com>
3629 * include/debug/vector (vector<>::_M_requires_reallocation): Just
3630 use this->capacity().
3631 (vector<>::capacity): Move non-pedantic / pedantic logic here.
3632 * testsuite/23_containers/vector/
3633 debug_mode_requires_reallocation-2.cc: New.
3635 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3636 Rename to debug_mode_requires_reallocation-1.cc
3638 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
3639 Paolo Carlini <paolo.carlini@oracle.com>
3641 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
3642 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3645 2008-05-07 Johannes Singler <singler@ira.uka.de>
3647 * include/parallel/quicksort.h:
3648 (parallel_sort_qs_conquer) Explicitly request number of threads
3649 in the parallel clause.
3650 (parallel_sort_qs) Remove setting the number of threads globally.
3652 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3654 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
3655 (recursive_mutex::recursive_mutex): Same.
3656 (once_flag::once_flag): Same.
3657 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
3658 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
3659 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
3660 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
3662 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3664 * include/std/condition_variable: New.
3665 * include/std/mutex: New.
3666 * src/condition_variable.cc: New.
3667 * src/mutex.cc: New.
3668 * include/bits/functexcept.h: Add __throw_system_error varients.
3669 * src/functexcept.cc: Same.
3670 * config/abi/pre/gnu.ver: Add exports.
3672 * doc/xml/manual/using.xml: Add new includes.
3673 * doc/doxygen/user.cfg.in: Doxygen support.
3674 * doc/doxygen/doxygroups.cc: Same.
3676 * include/Makefile.am: Add mutex, condition_variable.
3677 * include/Makefile.in: Regenerated.
3678 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
3679 * src/Makefile.in: Regenerated.
3681 * testsuite/30_threads: New.
3682 * testsuite/30_threads/lock_error: New.
3683 * testsuite/30_threads/mutex: New.
3684 * testsuite/30_threads/mutex/dest: New.
3685 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
3686 * testsuite/30_threads/mutex/native_handle: New.
3687 * testsuite/30_threads/mutex/native_handle/1.cc: New.
3688 * testsuite/30_threads/mutex/cons: New.
3689 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
3690 * testsuite/30_threads/mutex/cons/1.cc: New.
3691 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
3692 * testsuite/30_threads/mutex/requirements: New.
3693 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
3694 * testsuite/30_threads/mutex/try_lock: New.
3695 * testsuite/30_threads/mutex/try_lock/1.cc: New.
3696 * testsuite/30_threads/mutex/try_lock/2.cc: New.
3697 * testsuite/30_threads/mutex/lock: New.
3698 * testsuite/30_threads/mutex/lock/1.cc: New.
3699 * testsuite/30_threads/mutex/unlock: New.
3700 * testsuite/30_threads/mutex/unlock/1.cc: New.
3701 * testsuite/30_threads/recursive_mutex: New.
3702 * testsuite/30_threads/recursive_mutex/dest: New.
3703 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
3704 * testsuite/30_threads/recursive_mutex/native_handle: New.
3705 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
3706 * testsuite/30_threads/recursive_mutex/cons: New.
3707 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
3708 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
3709 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
3710 * testsuite/30_threads/recursive_mutex/requirements: New.
3711 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
3712 * testsuite/30_threads/lock_guard: New.
3713 * testsuite/30_threads/lock_guard/requirements: New.
3714 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
3715 * testsuite/30_threads/lock_guard/requirements/
3716 explicit_instantiation.cc: New.
3717 * testsuite/30_threads/headers: New.
3718 * testsuite/30_threads/headers/mutex: New.
3719 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
3720 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
3721 * testsuite/30_threads/headers/condition_variable: New.
3722 * testsuite/30_threads/headers/condition_variable/
3723 types_std_c++0x.cc: New.
3724 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
3725 * testsuite/30_threads/once_flag: New.
3726 * testsuite/30_threads/unique_lock: New.
3727 * testsuite/30_threads/unique_lock/requirements: New.
3728 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
3729 * testsuite/30_threads/unique_lock/requirements/
3730 explicit_instantiation.cc: New.
3731 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
3733 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3736 * include/bits/c++config: Namespace macros and setup only in C++.
3737 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
3739 2008-05-06 Johannes Singler <singler@ira.uka.de>
3741 * include/parallel/multiway_merge.h:
3742 (multiway_merge_*_unguarded):
3743 Pass sentinel directly, to allow correct determination.
3744 (multiway_merge_loser_tree_unguarded):
3745 Remove over-cautious assertion.
3746 (calls to multiway_merge_*_splitting):
3747 Parametrize with type that is correct in all cases.
3748 * include/parallel/losertree.h:
3749 (delete_min_insert (in many classes)):
3750 Correct and standardize assertions.
3752 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3754 * testsuite/util/testsuite_visualization.h: Move contents into...
3755 * testsuite/util/testsuite_performance.h: ...here.
3756 * testsuite/util/testsuite_common_types.h: Move
3757 performance-related test infrastructure into
3758 testsuite_performance.
3759 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
3760 * testsuite/performance/23_containers/find/map.cc: Same.
3761 * testsuite/performance/23_containers/create/map.cc: Same.
3762 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
3763 * testsuite/performance/23_containers/insert/sequence.cc: Same.
3764 * testsuite/performance/23_containers/insert/associative.cc: Same.
3765 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
3766 * testsuite/performance/23_containers/index/map.cc: Same.
3767 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
3768 * testsuite/performance/23_containers/create_sort/list.cc: Same.
3769 * testsuite/performance/23_containers/sort_search/list.cc: Same.
3770 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
3772 * testsuite/performance/23_containers/producer_consumer/associative.cc:
3775 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
3776 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3778 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3780 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
3781 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
3783 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
3785 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
3787 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3789 * include/Makefile.am (install-headers): Cope with empty
3791 * include/Makefile.in: Regenerate.
3793 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
3795 * include/bits/c++config: Remove space between '#' and 'undef' for
3796 _GLIBCXX_LONG_DOUBLE_COMPAT.
3798 2008-04-29 Joseph Myers <joseph@codesourcery.com>
3800 * Makefile.am (install-html, install-pdf): Add dummy targets.
3801 * Makefile.in: Regenerate.
3802 * doc/Makefile.am (install-html, install-pdf): Remove.
3803 * doc/Makefile.in: Regenerate.
3805 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3807 * include/bits/c++config: Move os_defines and cpu_defines after
3808 namespace definitions and base macros.
3810 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3813 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
3815 * configure: Regenerate.
3817 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3820 * include/std/unordered_map: Include debug/unordered_map if
3822 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
3823 * testsuite/23_containers/unordered_map/requirements/
3824 debug_container.cc: ...here.
3825 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
3826 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
3827 * testsuite/23_containers/unordered_set/requirements/
3828 debug_container.cc: ...here.
3829 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
3831 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3834 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
3835 * configure.ac: Re-order compiler macros.
3836 * configure: Regenerated.
3838 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3841 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
3842 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
3843 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
3844 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
3845 * configure: Regenerate.
3846 * include/Makefile.am (parallel_headers): Make conditional on
3848 * include/Makefile.in: Regenerate.
3850 2008-04-24 Paolo Carlini <pcarlini@suse.de>
3853 * include/debug/list (merge): Use _M_transfer_iter, consistently
3854 with the splice members.
3855 * testsuite/23_containers/list/operations/35969.cc: New.
3857 * testsuite/23_containers/list/operators: Rename to
3858 testsuite/23_containers/list/operations.
3860 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3862 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
3863 all used __sync builtins, in two sizes.
3864 * config.h.in: Regenerate.
3865 * configure: Regenerate.
3866 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
3867 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3868 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3869 * doc/xml/manual/concurrency.xm: Update docs.
3871 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
3873 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
3874 _GLIBCXX_BEGIN_EXTERN_C, etc.
3876 2008-04-23 Johannes Singler <singler@ira.uka.de>
3878 * include/parallel/quicksort.h: Reformat,
3879 (parallel_sort_qs): Do not pass number of elements.
3880 * include/parallel/balanced_quicksort.h: Reformat,
3881 (parallel_sort_qsb): Do not pass number of elements.
3882 * include/parallel/tags.h:
3883 Introduce new tags for compile-time choice.
3884 * include/parallel/merge.h:
3885 (parallel_merge_advance):Beautified.
3886 * include/parallel/algo.h: Reformatting (spaces for tabs)
3887 New sort and stable_sort variants, corresponding to the tags.
3888 * include/parallel/sort.h:
3889 New sort and stable_sort variants, corresponding to the tags.
3890 Changed determining the desired number of threads.
3892 2008-04-23 Johannes Singler <singler@ira.uka.de>
3894 * include/parallel/multiway_merge.h
3895 (multiway_merge_loser_tree):
3896 Leave checks to callers, add precondition instead.
3897 (multiway_merge_loser_tree_unguarded): Likewise.
3898 (multiway_merge_loser_tree_sentinel): Likewise.
3899 (sequential_multiway_merge): Added checks for total length 0.
3900 (parallel_multiway_merge): Skip empty sequences.
3901 (multiway_merge, all variants):
3902 Remove temporary variable, return directly.
3903 (stable_multiway_merge, all variants): Likewise.
3904 (multiway_merge_sentinels, all variants): Likewise.
3905 (stable_multiway_merge_sentinels, all variants): Likewise.
3906 * include/parallel/multiseq_selection.h
3907 (multiseq_partition): More detailed assertions.
3909 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3911 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
3912 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
3913 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
3914 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
3915 * configure: Regenerate.
3917 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3920 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
3921 Call 'mkdir -p' unconditionally, but ignore its return value.
3922 * include/Makefile.in: Regenerate.
3924 * include/Makefile.am: Fix most stamp rules to regenerate
3925 the links for all sources newer than the stamp file.
3926 * include/Makefile.in: Regenerate.
3927 * Makefile.in: Likewise.
3928 * src/Makefile.in: Likewise.
3929 * doc/Makefile.in: Likewise.
3930 * po/Makefile.in: Likewise.
3931 * libmath/Makefile.in: Likewise.
3932 * libsupc++/Makefile.in: Likewise.
3933 * testsuite/Makefile.in: Likewise.
3935 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
3938 * aclocal.m4: Regenerate.
3939 * configure: Regenerate.
3941 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
3944 * configure.ac: Use GCC_HEADER_STDINT.
3945 * src/atomic.cc: Include gstdint.h
3946 * configure: Regenerate.
3947 * Makefile.in: Likewise.
3948 * doc/Makefile.in: Likewise.
3949 * include/Makefile.in: Likewise.
3950 * libmath/Makefile.in: Likewise.
3951 * libsupc++/Makefile.in: Likewise.
3952 * po/Makefile.in: Likewise.
3953 * src/Makefile.in: Likewise.
3954 * testsuite/Makefile.in: Likewise.
3955 * aclocal.m4: Likewise.
3957 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3960 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
3961 -O0 when checking for atomic builtins.
3962 * configure: Regenerate.
3964 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3966 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
3968 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3970 * doc/html/*: Regenerate.
3972 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3974 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
3975 * doc/xml/authors.xml: Fix typos.
3976 * doc/xml/faq.xml: Likewise.
3977 * doc/xml/manual/abi.xml: Likewise.
3978 * doc/xml/manual/allocator.xml: Likewise.
3979 * doc/xml/manual/appendix_contributing.xml: Likewise.
3980 * doc/xml/manual/backwards_compatibility.xml: Likewise.
3981 * doc/xml/manual/build_hacking.xml: Likewise.
3982 * doc/xml/manual/codecvt.xml: Likewise.
3983 * doc/xml/manual/concurrency.xml: Likewise.
3984 * doc/xml/manual/ctype.xml: Likewise.
3985 * doc/xml/manual/debug_mode.xml: Likewise.
3986 * doc/xml/manual/diagnostics.xml: Likewise.
3987 * doc/xml/manual/evolution.xml: Likewise.
3988 * doc/xml/manual/extensions.xml: Likewise.
3989 * doc/xml/manual/locale.xml: Likewise.
3990 * doc/xml/manual/messages.xml: Likewise.
3991 * doc/xml/manual/parallel_mode.xml: Likewise.
3992 * doc/xml/manual/status_cxx200x.xml: Likewise.
3993 * doc/xml/manual/strings.xml: Likewise.
3994 * doc/xml/manual/support.xml: Likewise.
3995 * doc/xml/manual/test.xml: Likewise.
3996 * doc/xml/manual/using.xml: Likewise.
3998 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3999 Johannes Singler <singler@ira.uka.de>
4001 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
4002 insertors. Correct omp_set_num_threads example.
4004 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4006 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
4007 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
4008 * src/atomic.c: Format, doxygen markup, edits.
4010 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
4011 * src/Makefile.am (atomic.c): Add.
4012 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
4013 * configure.ac: Call it.
4014 * include/Makefile.in: Regenerate.
4015 * src/Makefile.in: Same.
4016 * Makefile.in: Same.
4017 * doc/Makefile.in: Same.
4018 * po/Makefile.in: Same.
4019 * libmath/Makefile.in: Same.
4020 * include/Makefile.in: Same.
4021 * testsuite/Makefile.in: Same.
4022 * libsupc++/Makefile.in: Same.
4023 * config.h.in: Same.
4026 * config/abi/pre/gnu.ver: Add atomics exports.
4028 * include/ext/typelist.h (apply_generator): New.
4029 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
4030 (_GLIBCXX_END_EXTERN_C): New.
4031 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
4033 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
4035 * testsuite/util/testsuite_common_types.h (integral_types): New
4037 (atomics, atomics_tl): Same.
4038 (assignable, default_constructible, copy_constructible,
4039 explicit_value_constructible): New.
4040 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
4041 * testsuite/29_atomics: New.
4042 * testsuite/29_atomics/atomic_address: Same.
4043 * testsuite/29_atomics/atomic_address/cons: Same.
4044 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
4045 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
4046 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
4047 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
4048 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
4049 * testsuite/29_atomics/atomic_flag: Same.
4050 * testsuite/29_atomics/atomic_flag/cons: Same.
4051 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
4052 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
4053 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
4054 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
4055 * testsuite/29_atomics/atomic_flag/requirements: Same.
4056 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
4058 * testsuite/29_atomics/atomic_flag/
4059 atomic_global_fence_compatibility.cc: Same.
4060 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
4061 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
4062 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
4063 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4064 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
4065 * testsuite/29_atomics/headers: Same.
4066 * testsuite/29_atomics/headers/cstdatomic: Same.
4067 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
4068 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
4069 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
4070 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
4071 * testsuite/29_atomics/headers/stdatomic.h: Same.
4072 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
4073 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
4074 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
4075 * testsuite/29_atomics/atomic: Same.
4076 * testsuite/29_atomics/atomic/cons: Same.
4077 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
4078 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
4079 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4080 * testsuite/29_atomics/atomic/cons/default.cc: Same.
4081 * testsuite/29_atomics/atomic/requirements: Same.
4082 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
4083 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
4086 2008-04-10 Lawrence Crowl <crowl@google.com>
4088 * include/c_global/cstdatomic: New.
4089 * include/c_compatibility/stdatomic.h: New.
4090 * src/atomic.c: New.
4092 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4094 * include/std/tuple: Consistency check for include guard, doxygen
4096 * include/std/date_time: Same.
4097 * include/std/type_traits: Same.
4098 * include/std/regex: Same.
4099 * include/std/array: Same.
4100 * include/std/system_error: Same, add error_code ctor.
4102 2008-04-07 Johannes Singler <singler@ira.uka.de>
4104 * include/parallel/multiway_merge.h: Moved decisions to
4105 compile-time instead of run-time.
4106 * include/parallel/losertree.h: Removed obsolete variants, added
4107 variant that uses pointers in the loser tree.
4108 * include/parallel/types.h: Remove obsolete settings options from enum.
4109 * include/parallel/features.h: Remove obsolete compile-time switches.
4110 * include/parallel/compiletime_settings.h: Remove obsolete variant
4111 that copies back *after* sorting.
4112 * include/parallel/tags.h: Add one new tag for compile-time switch.
4113 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
4114 * include/parallel/multiway_mergesort.h: Adapt to changes in
4115 multiway_merge.h. Factor out splitting variants. Remove obsolete
4116 variant that copies back *after* sorting.
4117 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
4118 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
4121 2008-03-29 Paolo Carlini <pcarlini@suse.de>
4124 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
4125 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
4126 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
4127 _Tp)): Fix signatures.
4128 * testsuite/25_algorithms/fill/35725.cc: New.
4129 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
4131 2008-03-29 Matthias Klose <doko@ubuntu.com>
4133 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
4134 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
4135 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
4136 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
4138 2008-03-27 Ian Lance Taylor <iant@google.com>
4140 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
4141 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
4142 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
4143 * aclocal.m4, configure: Rebuild.
4145 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
4147 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
4148 symbol_names typedefs.
4149 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
4150 for long double compatiblity symbols, simplify data structures used.
4152 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
4154 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
4156 * doc/doxygen/style.css: Delete.
4157 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
4159 (PREDEFINED): Update.
4160 (HTML_OUTPUT): Remove html_output_dir, use html.
4161 (HTML_STYLESHEET): Remove style.css.
4162 * doc/doxygen/tables.html: Remove style.css use.
4163 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
4164 * doc/doxygen/doxygroups.cc: Namespace edits.
4165 * doc/doxygen/Intro.3: Correct typo.
4167 * doc/xml/api.xml: Add gcc-4.3 links.
4168 * doc/html/api.html: Regenerate.
4170 * include/debug/debug.h: Document namepaces here.
4171 * include/parallel/base.h: Same.
4172 * include/ext/typelist.h: Same.
4173 * include/ext/pb_ds/tag_and_trait.hpp: Same.
4175 * include/tr1_impl/random: Adjust line break.
4176 * include/tr1_impl/unordered_map: Correct and or add markup.
4177 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
4178 * include/tr1_impl/functional_hash.h: Same.
4179 * include/tr1_impl/cmath: Same.
4180 * include/tr1_impl/functional: Same.
4181 * include/tr1_impl/unordered_set: Same.
4182 * include/tr1_impl/complex: Same.
4183 * include/tr1_impl/type_traits: Same.
4184 * include/tr1_impl/regex: Same.
4185 * include/tr1_impl/array: Same.
4186 * include/std/tuple: Same.
4187 * include/std/date_time: Same.
4188 * include/std/system_error: Same.
4189 * include/std/type_traits: Same.
4190 * include/ext/enc_filebuf.h: Same.
4191 * include/ext/throw_allocator.h: Same.
4192 * include/ext/pool_allocator.h: Same.
4193 * include/ext/bitmap_allocator.h: Same.
4194 * include/ext/concurrence.h: Same.
4195 * include/ext/codecvt_specializations.h: Same.
4196 * include/ext/stdio_sync_filebuf.h: Same.
4197 * include/ext/array_allocator.h: Same.
4198 * include/ext/mt_allocator.h: Same.
4199 * include/bits/locale_classes.h: Same.
4200 * include/bits/locale_facets.h: Same.
4201 * include/bits/codecvt.h: Same.
4202 * include/bits/char_traits.h: Same.
4203 * include/bits/allocator.h: Same.
4204 * include/bits/locale_facets_nonio.h: Same.
4205 * include/tr1/poly_laguerre.tcc: Same.
4206 * include/tr1/riemann_zeta.tcc: Same.
4207 * include/tr1/beta_function.tcc: Same.
4208 * include/tr1/tuple: Same.
4209 * include/tr1/exp_integral.tcc: Same.
4210 * include/tr1/gamma.tcc: Same.
4211 * include/tr1/hypergeometric.tcc: Same.
4212 * include/tr1/modified_bessel_func.tcc: Same.
4213 * include/tr1/legendre_function.tcc: Same.
4214 * include/tr1/type_traits: Same.
4215 * include/tr1/special_function_util.h: Same.
4216 * include/tr1/bessel_function.tcc: Same.
4217 * include/tr1/cmath: Same.
4218 * include/tr1/poly_hermite.tcc: Same.
4219 * include/tr1/ell_integral.tcc: Same.
4220 * config/abi/compatibility.h: Adjust file name.
4222 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4224 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4225 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4227 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4229 * doc/xml/faq.xml: Fix various links.
4230 * doc/xml/api.xml: Likewise.
4231 * doc/xml/manual/parallel_mode.xml: Likewise.
4232 * doc/html/faq.html: Regenerate.
4233 * doc/html/api.html: Likewise.
4234 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4236 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4238 * testsuite/util/testsuite_abi.cc: Add support for not counting
4239 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4242 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4245 * include/tr1_impl/type_traits (struct __in_array): Add back.
4246 (is_function): Use it.
4247 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4249 2008-03-20 Johannes Singler <singler@ira.uka.de>
4251 * include/parallel/set_operations.h (set_intersection): Remove.
4253 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4256 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4257 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4259 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4261 * configure.ac (libtool_VERSION): To 6:11:0.
4262 * configure: Regenerate.
4263 * aclocal.m4: Regenerate.
4265 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4267 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4269 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4270 * include/precompiled/stdc++.h: Likewise.
4272 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4274 * include/std/date_time: New file.
4275 * src/date_time.cc: New file.
4276 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4277 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4278 that matched new symbols.
4279 * include/Makefile.am: Add date_time in std headers.
4280 * src/Makefile.am: Add date_time.cc to source files.
4281 * include/Makefile.in: Regenerate.
4282 * src/Makefile.in: Likewise.
4284 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4286 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4287 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4288 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4289 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4290 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4291 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4292 * testsuite/31_date_time/system_time/requirements: Likewise.
4293 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4295 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4297 * config.h.in: Regenerate.
4299 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4301 * aclocal.m4: Regenerate.
4302 * configure: Likewise.
4303 * Makefile.in: Likewise.
4304 * doc/Makefile.in: Likewise.
4305 * include/Makefile.in: Likewise.
4306 * libmath/Makefile.in: Likewise.
4307 * libsupc++/Makefile.in: Likewise.
4308 * po/Makefile.in: Likewise.
4309 * src/Makefile.in: Likewise.
4310 * testsuite/Makefile.in: Likewise.
4312 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
4315 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4316 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4318 2008-03-13 Paolo Carlini <pcarlini@suse.de>
4321 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4322 * testsuite/25_algorithms/set_difference/35541.cc: New.
4324 2008-03-07 Jakub Jelinek <jakub@redhat.com>
4326 * config/abi/pre/gnu.ver: Move <system_error> related
4327 symbols to GLIBCXX_3.4.11 symbol version.
4328 * testsuite/util/testsuite_abi.cc (check_version): Allow
4331 2008-03-06 Chris Jefferson <chris@bubblescope.net>
4332 Paolo Carlini <pcarlini@suse.de>
4335 * include/tr1/tuple (operator==, operator<): Fix.
4336 * include/std/tuple (operator==, operator<): Likewise.
4337 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4338 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
4340 2008-03-04 Joseph Myers <joseph@codesourcery.com>
4342 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
4344 * configure: Regenerate.
4346 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
4348 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
4349 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
4350 Mark changed error message prelude, adding "in file included from",
4351 using dg-excess-errors.
4353 2008-03-01 Jakub Jelinek <jakub@redhat.com>
4355 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
4356 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4357 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4358 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
4359 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4361 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4362 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4364 2008-02-29 Jakub Jelinek <jakub@redhat.com>
4366 * config/abi/pre/gnu.ver: Remove
4367 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
4368 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
4369 * config/os/gnu-linux/ldbl-extra.ver: Export
4370 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
4371 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
4372 * src/hash.cc: Only define long double hash specialization if
4373 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
4374 * src/compatibility-ldbl.cc: Include "hash.cc".
4375 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
4376 (_ZNKSt4hashIeEclEe): New alias.
4377 * testsuite/util/testsuite_abi.cc (check_version): Support
4378 GLIBCXX_LDBL_3.4.10.
4380 2008-02-25 Jan Beulich <jbeulich@novell.com>
4382 * acinclude.m4: Also check for EIDRM and ETXTBSY.
4383 * configure: Re-generate.
4384 * config/os/generic/error_constants.h (namespace posix_error):
4385 Also wrap uses of EIDRM and ETXTBSY in conditionals.
4386 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
4389 2008-02-20 Jason Merrill <jason@redhat.com>
4391 * include/bits/c++config: Use 'inline namespace' instead of
4394 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
4396 * include/std/tuple: Fixes for moveable, non-copyable types.
4397 * testsuite/20_util/tuple/moveable2.cc: New.
4399 2008-02-18 Paolo Carlini <pcarlini@suse.de>
4401 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
4403 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
4405 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
4406 * include/tr1/exp_integral.tcc: Same.
4407 * include/tr1/gamma.tcc: Same.
4408 * include/tr1/hypergeometric.tcc: Same.
4410 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
4413 * include/parallel/settings.h (_Settings): Reconstruct Settings class
4414 here, uglify, remove anonymous namespace and static
4415 members. Convert to datum.
4416 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
4417 * src/parallel_settings.cc: New, definition for _Settings member
4419 * include/parallel/multiway_merge.h: Same.
4420 * include/parallel/for_each.h: Same.
4421 * include/parallel/workstealing.h: Same.
4422 * include/parallel/base.h: Same.
4423 * include/parallel/numeric
4424 * include/parallel/features.h: Same.
4425 * include/parallel/quicksort.h: Same.
4426 * include/parallel/equally_split.h: Same.
4427 * include/parallel/algorithmfwd.h: Same.
4428 * include/parallel/omp_loop_static.h: Same.
4429 * include/parallel/random_shuffle.h: Same.
4430 * include/parallel/balanced_quicksort.h: Same.
4431 * include/parallel/tags.h: Same.
4432 * include/parallel/multiway_mergesort.h: Same.
4433 * include/parallel/numericfwd.h: Same.
4434 * include/parallel/partition.h: Same.
4435 * include/parallel/partial_sum.h: Same.
4436 * include/parallel/find.h: Same.
4437 * include/parallel/algo.h: Same.
4438 * include/parallel/omp_loop.h: Same.
4439 * include/parallel/sort.h: Same.
4441 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
4442 * src/Makefile.in: Regenerate.
4444 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
4446 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4449 * include/parallel/types.h: Reinstate integer types typedefs.
4450 * include/parallel/multiseq_selection.h: Adjust.
4451 * include/parallel/compatibility.h: Likewise.
4452 * include/parallel/random_shuffle.h: Likewise.
4453 * include/parallel/random_number.h: Likewise.
4454 * include/parallel/base.h: Likewise.
4456 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4459 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
4460 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
4461 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
4463 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
4465 * include/parallel/random_number.h: Use TR1's mersenne_twister.
4466 (random_number::genrand_bits()): Remove.
4467 (random_number::set_seed): Remove.
4469 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4471 * include/parallel/types.h: Remove enum parallelism.
4473 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4475 * include/parallel/types.h: Move enum parallelism here. Use
4476 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
4478 * include/parallel/multiseq_selection.h: Adjust for cstdint.
4479 * include/parallel/compatibility.h: Same.
4480 * include/parallel/tags.h: Just compile-time tags.
4481 * include/parallel/base.h: Put namespace bits here.
4483 * src/Makefile.am (PARALLEL_FLAGS): Use it.
4484 * src/Makefile.in: Regenerate.
4486 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
4488 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
4490 * testsuite/config/default.exp: Load gcc dejapatches.exp.
4492 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4494 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
4497 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
4499 * config/os/generic/error_constants.h (posix_errno): Guard
4500 not_supported use of ENOTSUP.
4501 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
4503 * aclocal.m4: Regenerate.
4504 * configure: Rengerate.
4505 * config.h.in: Same.
4507 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
4509 * doc/doxygen/mainpage.html: Correct links.
4511 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4513 * doc/html/*: Populate with regenerated files.
4515 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4517 * doc/html/*: Remove all but contents of ext/pb_ds.
4518 * doc/html/index.html: New.
4519 * doc/html/README: New.
4521 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4523 * doc/doxygen/mainpage.html: Add in corrected links.
4524 * README: Edit, move most into...
4525 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
4526 (Documentation Style): Revise.
4527 * doc/xml/spine.xml: Edit file names.
4528 * doc/Makefile.am: Edit xml_sources.
4529 * doc/Makefile.in: Regenerate.
4531 2008-02-11 Paolo Carlini <pcarlini@suse.de>
4533 * configure: Regenerate with documented autoconf and automake
4534 versions (i.e., 2.59 and 1.9.6).
4535 * Makefile.in: Likewise.
4536 * src/Makefile.in: Likewise.
4537 * doc/Makefile.in: Likewise.
4538 * po/Makefile.in: Likewise.
4539 * libmath/Makefile.in: Likewise.
4540 * include/Makefile.in: Likewise.
4541 * libsupc++/Makefile.in: Likewise.
4542 * testsuite/Makefile.in: Likewise.
4543 * aclocal.m4: Likewise.
4545 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
4547 Convert documentation to DocBook.
4548 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
4549 (doc-doxygen-man): Changed to doc-man-doxygen.
4550 (doc-performance): Changed to doc-html-performance.
4551 (doc-xml-doxygen): New.
4552 (doc-xml-single): New.
4553 (doc-xml-validate): New.
4555 (doc-html-single): New.
4558 (doc-pdf-fop-xml): New.
4559 (doc-pdf-fop-fo): New.
4560 (doc-pdf-xmlto): New.
4561 (doc-pdf-xmlroff): New.
4562 (doc-pdf-prince): New.
4563 * doc/xml: New directory.
4564 * doc/xml/authors.xml: New.
4565 * doc/xml/images: New directory.
4566 * doc/xml/images/confdeps.png: Add.
4567 * doc/xml/images/confdeps.dot: Add.
4568 * doc/xml/faq.xml: New.
4569 * doc/xml/api.xml: New.
4570 * doc/xml/gnu: New directory.
4571 * doc/xml/gnu/gpl-3.0.xml: New.
4572 * doc/xml/gnu/fdl-1.2.xml: New.
4573 * doc/xml/gnu/gpl-2.0.xml: New.
4574 * doc/xml/manual: New directory.
4575 * doc/xml/manual/mt_allocator.xml: New.
4576 * doc/xml/manual/allocator.xml: New.
4577 * doc/xml/manual/ctype.xml: New.
4578 * doc/xml/manual/numerics.xml: New.
4579 * doc/xml/manual/codecvt.xml: New.
4580 * doc/xml/manual/concurrency.xml: New.
4581 * doc/xml/manual/backwards_compatibility.xml: New.
4582 * doc/xml/manual/intro.xml: New.
4583 * doc/xml/manual/shared_ptr.xml: New.
4584 * doc/xml/manual/abi.xml: New.
4585 * doc/xml/manual/status_cxxtr1.xml: New.
4586 * doc/xml/manual/auto_ptr.xml: New.
4587 * doc/xml/manual/build.xml: New.
4588 * doc/xml/manual/internals.xml: New.
4589 * doc/xml/manual/parallel_mode.xml: New.
4590 * doc/xml/manual/status_cxx1998.xml: New.
4591 * doc/xml/manual/containers.xml: New.
4592 * doc/xml/manual/io.xml: New.
4593 * doc/xml/manual/appendix_porting.xml: New.
4594 * doc/xml/manual/utilities.xml: New.
4595 * doc/xml/manual/bitmap_allocator.xml: New.
4596 * doc/xml/manual/support.xml: New.
4597 * doc/xml/manual/configure.xml: New.
4598 * doc/xml/manual/build_hacking.xml: New.
4599 * doc/xml/manual/evolution.xml: New.
4600 * doc/xml/manual/using.xml: New.
4601 * doc/xml/manual/debug.xml: New.
4602 * doc/xml/manual/localization.xml: New.
4603 * doc/xml/manual/strings.xml: New.
4604 * doc/xml/manual/debug_mode.xml: New.
4605 * doc/xml/manual/locale.xml: New.
4606 * doc/xml/manual/extensions.xml: New.
4607 * doc/xml/manual/appendix_contributing.xml: New.
4608 * doc/xml/manual/messages.xml: New.
4609 * doc/xml/manual/diagnostics.xml: New.
4610 * doc/xml/manual/appendix_free.xml: New.
4611 * doc/xml/manual/algorithms.xml: New.
4612 * doc/xml/manual/iterators.xml: New.
4613 * doc/xml/manual/spine.xml: New.
4614 * doc/xml/manual/test.xml: New.
4615 * doc/xml/manual/status_cxx200x.xml: New.
4616 * doc/xml/spine.xml: New.
4618 * doc/xml/book.txml: New. Template file.
4619 * doc/xml/chapter.txml: Same.
4620 * doc/xml/class.txml: Same.
4622 * doc/doxygen/guide.html: Removed, integrated into other docs.
4623 * doc/doxygen/user.cfg.in: Clean up XML generation.
4624 * doc/doxygen/run_doxygen: Move to..
4625 * scripts/run_doxygen: ...here.
4627 * configure: Regenerate.
4628 * Makefile.in: Regenerate.
4629 * src/Makefile.in: Regenerate.
4630 * doc/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.
4636 * aclocal.m4: Regenerate.
4638 2008-02-10 Paolo Carlini <pcarlini@suse.de>
4641 * include/std/istream (basic_istream<>::basic_istream()): Call
4643 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
4644 do it here, per 27.6.1.5.1/1.
4645 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
4647 * testsuite/27_io/basic_iostream/cons/16251.C: New.
4649 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
4651 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4653 * include/backward/auto_ptr.h: Fix comment typos.
4654 * include/bits/algorithmfwd.h: Likewise.
4655 * include/bits/basic_ios.h: Likewise.
4656 * include/bits/c++config: Likewise.
4657 * include/bits/char_traits.h: Likewise.
4658 * include/bits/codecvt.h: Likewise.
4659 * include/bits/gslice.h: Likewise.
4660 * include/bits/ios_base.h: Likewise.
4661 * include/bits/locale_facets.h: Likewise.
4662 * include/bits/locale_facets_nonio.tcc: Likewise.
4663 * include/bits/postypes.h: Likewise.
4664 * include/bits/sstream.tcc: Likewise.
4665 * include/bits/stl_algo.h: Likewise.
4666 * include/bits/stl_deque.h: Likewise.
4667 * include/bits/stl_iterator.h: Likewise.
4668 * include/bits/stl_iterator_base_types.h Likewise.
4669 * include/bits/stl_list.h: Likewise.
4670 * include/bits/stl_map.h: Likewise.
4671 * include/bits/stl_multimap.h: Likewise.
4672 * include/bits/stl_multiset.h: Likewise.
4673 * include/bits/stl_set.h: Likewise.
4674 * include/bits/stl_vector.h: Likewise.
4675 * include/bits/valarray_array.h: Likewise.
4676 * include/debug/safe_base.h: Likewise.
4677 * include/ext/bitmap_allocator.h: Likewise.
4678 * include/ext/codecvt_specializations.h Likewise.
4679 * include/ext/mt_allocator.h: Likewise.
4680 * include/ext/rc_string_base.h: Likewise.
4681 * include/ext/rope: Likewise.
4682 * include/parallel/checkers.h: Likewise.
4683 * include/parallel/find.h: Likewise.
4684 * include/parallel/multiseq_selection.h: Likewise.
4685 * include/parallel/partition.h: Likewise.
4686 * include/parallel/settings.h: Likewise.
4687 * include/std/bitset: Likewise.
4688 * include/std/complex: Likewise.
4689 * include/std/fstream: Likewise.
4690 * include/std/istream: Likewise.
4691 * include/std/limits: Likewise.
4692 * include/std/ostream: Likewise.
4693 * include/std/stdexcept: Likewise.
4694 * include/std/streambuf: Likewise.
4695 * include/tr1/bessel_function.tcc: Likewise.
4696 * include/tr1/cmath: Likewise.
4697 * include/tr1/ell_integral.tcc: Likewise.
4698 * include/tr1/hypergeometric.tcc: Likewise.
4699 * include/tr1/legendre_function.tcc: Likewise.
4700 * include/tr1_impl/random: Likewise.
4701 * include/tr1_impl/regex: Likewise.
4703 2008-01-31 Paolo Carlini <pcarlini@suse.de>
4705 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
4706 Avoid -Wall warnings.
4707 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
4709 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4711 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
4712 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
4713 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
4714 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
4716 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
4718 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
4720 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
4721 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
4723 * testsuite/tr1/6_containers/array/comparison_operators/
4724 less_or_equal.cc: Likewise.
4725 * testsuite/tr1/6_containers/array/comparison_operators/
4726 greater_or_equal.cc: Likewise.
4727 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
4729 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
4731 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
4733 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
4735 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
4736 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
4738 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
4739 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
4740 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
4741 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
4743 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
4744 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
4745 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
4746 * testsuite/thread/guard.cc: Likewise.
4747 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
4748 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
4749 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
4750 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
4751 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
4752 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
4753 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
4756 2008-01-26 David Edelsohn <edelsohn@gnu.org>
4759 * config/os/aix/os_defines.h: Define __COMPATMATH__.
4761 2008-01-24 David Edelsohn <edelsohn@gnu.org>
4763 * configure: Regenerate.
4765 2008-01-21 Matthias Klose <doko@ubuntu.com>
4767 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
4769 2008-01-19 Paolo Carlini <pcarlini@suse.de>
4771 * configure: Regenerate.
4772 * Makefile.in: Likewise.
4773 * src/Makefile.in: Likewise.
4774 * doc/Makefile.in: Likewise.
4775 * po/Makefile.in: Likewise.
4776 * libmath/Makefile.in: Likewise.
4777 * include/Makefile.in: Likewise.
4778 * libsupc++/Makefile.in: Likewise.
4779 * testsuite/Makefile.in: Likewise.
4780 * aclocal.m4: Likewise.
4782 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
4786 * testsuite/Makefile.am: Move doc-performance to...
4787 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
4788 * doc/Makefile.am: Consolidate documentation creation here.
4789 (doc-doxygen-html): New.
4790 (doc-doxygen-man): New.
4791 (doc-performance): New.
4792 * doc/Makefile.in: New.
4793 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
4794 * doc/doxygen/guide.html: Edit for unified html configuration.
4795 * doc/doxygen/mainpage.html: Same.
4796 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
4798 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
4800 * include/tr1_impl/random: Remove maint from doxygen markup.
4801 * include/tr1_impl/functional: Same.
4802 * include/std/tuple: Same.
4803 * include/std/streambuf: Same.
4804 * include/std/bitset: Same.
4805 * include/std/limits: Same.
4806 * include/std/fstream: Same.
4807 * include/std/istream: Same.
4808 * include/std/sstream: Same.
4809 * include/ext/pool_allocator.h: Same.
4810 * include/ext/rc_string_base.h: Same.
4811 * include/bits/basic_ios.h: Same.
4812 * include/bits/stl_list.h: Same.
4813 * include/bits/stl_map.h: Same.
4814 * include/bits/locale_classes.h: Same.
4815 * include/bits/stl_set.h: Same.
4816 * include/bits/stl_iterator_base_types.h: Same.
4817 * include/bits/basic_string.h: Same.
4818 * include/bits/stl_multimap.h: Same.
4819 * include/bits/stl_vector.h: Same.
4820 * include/bits/ios_base.h: Same.
4821 * include/bits/stl_deque.h: Same.
4822 * include/bits/postypes.h: Same.
4823 * include/bits/stl_multiset.h: Same.
4824 * include/bits/stl_algo.h: Same.
4825 * include/bits/stl_iterator.h: Same.
4826 * include/bits/stl_tempbuf.h: Same.
4827 * include/bits/stl_construct.h: Same.
4828 * include/bits/stl_relops.h: Same.
4829 * include/tr1/tuple: Same.
4830 * include/backward/auto_ptr.h: Same.
4832 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4833 Fixups for line number changes.
4834 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4835 * testsuite/23_containers/vector/requirements/dr438/
4836 constructor_1_neg.cc: Same.
4837 * testsuite/23_containers/vector/requirements/dr438/
4838 constructor_2_neg.cc: Same.
4839 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4840 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4841 * testsuite/23_containers/deque/requirements/dr438/
4842 constructor_1_neg.cc: Same.
4843 * testsuite/23_containers/deque/requirements/dr438/
4844 constructor_2_neg.cc: Same.
4845 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4846 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4847 * testsuite/23_containers/list/requirements/dr438/
4848 constructor_1_neg.cc: Same.
4849 * testsuite/23_containers/list/requirements/dr438/
4850 constructor_2_neg.cc: Same.
4851 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
4853 * aclocal.m4: Regenerate.
4854 * config.h.in: Regenerate.
4855 * configure: Regenerate.
4856 * Makefile.in: Regenerate.
4857 * src/Makefile.in: Regenerate.
4858 * po/Makefile.in: Regenerate.
4859 * libmath/Makefile.in: Regenerate.
4860 * include/Makefile.in: Regenerate.
4861 * libsupc++/Makefile.in: Regenerate.
4862 * testsuite/Makefile.in: Regenerate.
4864 * scripts/make_graphs.py: Correct paths for new layout.
4866 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
4868 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
4869 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
4870 * configure: Regenerate.
4871 * aclocal.m4: Regenerate.
4873 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4875 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
4876 * include/parallel/numeric: Likewise.
4877 * include/parallel/balanced_quicksort.h: Likewise.
4878 * include/parallel/unique_copy.h: Likewise.
4879 * include/parallel/algobase.h: Likewise.
4880 * include/parallel/algo.h: Likewise.
4882 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
4884 * crossconfig.m4: Add missing header checks, C99 TR1 check,
4885 and sigsetjmp check.
4887 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4889 * include/parallel/tree.h: Remove.
4890 * include/Makefile.am: Update.
4891 * include/Makefile.in: Rebuild.
4893 * src/Makefile.am: Remove spurious trailing backslash.
4894 * src/Makefile.in: Rebuild.
4895 * po/Makefile.in: Likewise.
4896 * libmath/Makefile.in: Likewise.
4897 * testsuite/Makefile.in: Likewise.
4898 * libsupc++/Makefile.in: Likewise.
4899 * aclocal.m4: Likewise.
4900 * Makefile.in: Likewise.
4901 * configure: Likewise.
4903 2008-01-12 Paolo Carlini <pcarlini@suse.de>
4906 * include/debug/functions.h (__check_sorted_set,
4907 __check_sorted_set_aux): Add.
4908 (__check_sorted): Check StrictWeakOrdering.
4909 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
4910 __glibcxx_check_strict_weak_ordering_pred): Remove.
4911 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
4912 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
4913 * include/debug/debug.h (__glibcxx_requires_sorted_set,
4914 __glibcxx_requires_sorted_set_pred): Add.
4915 * include/bits/stl_algo.h (merge, includes, set_union,
4916 set_intersection, set_difference, set_symmetric_difference):
4917 Adjust, use __glibcxx_requires_sorted_set* instead.
4918 * testsuite/25_algorithms/set_intersection/34730.cc: New.
4920 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4922 * include/parallel/multiway_merge.h: Reformat to 80 columns;
4923 adjust some inline specifiers; other minor style fixes.
4924 * include/parallel/losertree.h: Likewise.
4925 * include/parallel/list_partition.h: Likewise.
4926 * include/parallel/multiseq_selection.h: Likewise.
4927 * include/parallel/workstealing.h: Likewise.
4928 * include/parallel/base.h: Likewise.
4929 * include/parallel/par_loop.h: Likewise.
4930 * include/parallel/numeric: Likewise.
4931 * include/parallel/quicksort.h: Likewise.
4932 * include/parallel/algorithmfwd.h: Likewise.
4933 * include/parallel/for_each_selectors.h: Likewise.
4934 * include/parallel/omp_loop_static.h: Likewise.
4935 * include/parallel/random_shuffle.h: Likewise.
4936 * include/parallel/balanced_quicksort.h: Likewise.
4937 * include/parallel/set_operations.h: Likewise.
4938 * include/parallel/tree.h: Likewise.
4939 * include/parallel/merge.h: Likewise.
4940 * include/parallel/unique_copy.h: Likewise.
4941 * include/parallel/settings.h: Likewise.
4942 * include/parallel/multiway_mergesort.h: Likewise.
4943 * include/parallel/numericfwd.h: Likewise.
4944 * include/parallel/search.h: Likewise.
4945 * include/parallel/partition.h: Likewise.
4946 * include/parallel/compatibility.h: Likewise.
4947 * include/parallel/partial_sum.h: Likewise.
4948 * include/parallel/find.h: Likewise.
4949 * include/parallel/algo.h: Likewise.
4950 * include/parallel/queue.h: Likewise.
4951 * include/parallel/omp_loop.h: Likewise.
4952 * include/parallel/sort.h: Likewise.
4953 * include/parallel/random_number.h: Likewise.
4955 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
4957 * docs/html/17_intro/api.html: Fix markup for rope.h.
4959 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4961 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
4963 * include/parallel/find_selectors.h: Likewise.
4964 * include/parallel/losertree.h: Likewise.
4965 * include/parallel/list_partition.h: Likewise.
4966 * include/parallel/for_each.h: Likewise.
4967 * include/parallel/multiseq_selection.h: Likewise.
4968 * include/parallel/algorithmfwd.h: Likewise.
4969 * include/parallel/for_each_selectors.h: Likewise.
4970 * include/parallel/balanced_quicksort.h: Likewise.
4971 * include/parallel/merge.h: Likewise.
4972 * include/parallel/algobase.h: Likewise.
4973 * include/parallel/find.h: Likewise.
4974 * include/parallel/algo.h: Likewise.
4975 * include/parallel/checkers.h: Likewise.
4977 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
4979 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
4980 of __detail::_Map_base<>.
4982 2008-01-08 Paolo Carlini <pcarlini@suse.de>
4984 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
4985 not include <cassert>.
4986 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4988 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
4990 2008-01-08 Jakub Jelinek <jakub@redhat.com>
4992 * configure.ac (--enable-linux-futex): Add new configure option.
4993 (HAVE_LINUX_FUTEX): New AC_DEFINE.
4994 * Makefile.in: Rebuilt.
4995 * aclocal.m4: Rebuilt.
4996 * configure: Rebuilt.
4997 * config.h.in: Rebuilt.
4998 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4999 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5000 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
5001 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
5002 * libsupc++/guard.cc: Include climits and syscall.h.
5003 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
5005 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
5006 (__guard_test_bit): New static inline.
5007 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
5008 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
5010 2008-01-07 Paolo Carlini <pcarlini@suse.de>
5013 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
5014 use dynamic_cast when run-time type identification is disabled; do
5015 not mark inline; only declare, define...
5016 * include/bits/locale_classes.tcc: ... here.
5018 2008-01-06 Ted Phelps <phelps@gnusto.com>
5021 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
5022 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
5024 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5027 * include/parallel/multiway_merge.h (multiway_merge_bubble,
5028 parallel_multiway_merge): Together with ::operator new use
5030 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
5031 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
5032 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
5033 sequential_random_shuffle): Likewise.
5034 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
5036 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
5037 parallel_sort_mwms): Likewise.
5038 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
5040 * testsuite/25_algorithms/sort/34095.cc: New.
5042 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5044 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
5046 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5049 * include/parallel/algobase.h (lexicographical_compare_switch(...,
5050 random_access_iterator_tag, random_access_iterator_tag)): Careful
5051 with undereferenceable iterators.
5052 * testsuite/25_algorithms/sort/34636.cc: New.