1 2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
3 * src/Makefile.am (sources): Add math_stubs_float.cc.
4 * src/Makefile.in: Regenerate.
5 * src/math_stubs_float.cc: New, from libmath/stubs.c.
7 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
9 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
10 * src/Makefile.in: Regenerate.
11 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
13 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
16 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
18 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
21 * Makefile.am (hosted_source): Remove libmath directory.
22 * Makefile.in: Regenerate.
23 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
24 (AC_REPLACE_MATHFUNCS): Remove.
25 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
26 in GLIBCXX_CHECK_C99_TR1.
27 * acinclude.m4: Remove libmath, need_math.
28 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
29 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
31 * configure: Regenerate.
32 * fragment.am: Fix comment.
33 * config.h.in: Regenerate.
34 * src/Makefile.in: Regenerate.
35 * src/Makefile.am: Remove libmath references.
36 * doc/Makefile.in: Regenerate.
37 * po/Makefile.in: Regenerate.
38 * include/Makefile.in: Regenerate.
39 * libsupc++/Makefile.in: Regenerate.
40 * testsuite/Makefile.in: Regenerate.
42 * src/compatibility.cc: Also export long double versions of "C" math
43 library if hppa-linux.
44 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
45 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
48 * libmath/signbit.c: Same.
49 * libmath/stubs.c: Same.
50 * libmath/Makefile.in: Same.
51 * libmath/copysignf.c: Same.
52 * libmath/mathconf.h: Same.
53 * libmath/signbitf.c: Same.
54 * libmath/Makefile.am: Same.
55 * libmath/signbitl.c: Same.
57 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
58 Paolo Carlini <paolo.carlini@oracle.com>
60 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
61 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
62 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
63 * configure.ac: Adjust.
64 * doc/xml/manual/configure.xml: Update.
65 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
66 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
67 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
68 * configure: Regenerate.
69 * config.h.in: Likewise.
71 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
72 thread::joinable, thread::swap, this_thread::get_id,
73 this_thread::yield): Define inline...
74 * include/std/thread: ... here.
75 * config/abi/pre/gnu.ver: Adjust.
77 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
79 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
80 Add dg-timeout-factor 2.0.
81 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
82 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
83 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
84 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
85 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
86 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
88 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
90 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
91 field from readelf output.
93 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
96 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
97 * configure: Regenerate.
99 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
101 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
103 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
105 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
107 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
108 constructor for _M_pattern.
109 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
110 string.cc: Test construction from different basic_string type.
111 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
114 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
115 Jonathan Larmour <jifl@eCosCentric.com>
118 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
120 (__gnu_cxx::__exchange_and_add): Use it.
121 * src/atomic.cc (get_atomic_mutex): New.
122 * src/debug.cc (get_safe_base_mutex): New.
123 * src/locale.cc (get_locale_cache_mutex): New.
124 * src/mt_allocator.cc (get_freelist): New.
125 (get_freelist_mutex): New.
126 * src/pool_allocator.cc (get_palloc_mutex): New.
127 * include/std/mutex (__once_functor_lock): To
128 (__get_once_functor_lock): ...this.
129 * src/mutex.cc (__once_mutex): Don't export, use
130 (get_once_mutex): ...this.
131 * config/abi/pre/gnu.ver: Adjust exports.
133 2009-01-07 Jakub Jelinek <jakub@redhat.com>
136 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
137 referenceCount field again.
138 (__cxxabiv1::__cxa_refcounted_exception): New struct.
139 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
140 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
142 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
143 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
144 instead of __cxa_exception.
145 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
146 __cxxabiv1::__cxa_throw): Likewise.
147 * libsupc++/eh_ptr.cc (std::rethrow_exception,
148 std::__exception_ptr::exception_ptr::_M_addref,
149 std::__exception_ptr::exception_ptr::_M_release,
150 __gxx_dependent_exception_cleanup): Likewise.
151 * testsuite/18_support/exception/38732.cc: New test.
154 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
155 * src/compatibility.cc: Don't use .symver directives if
156 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
157 * config.h.in: Regenerated.
158 * configure: Likewise.
160 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
163 * include/bits/stl_pair.h: Document C++03 pair vs swap.
165 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
167 * src/locale_init.cc (locale::_S_initialize_once): Move construction
169 (locale::classic): Here.
171 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
173 * include/tr1_impl/regex: Fix bad return statements and typos.
175 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
177 * include/tr1_impl/regex: Remove unimplemented function definitions.
178 * testsuite/28_regex/init-list.cc: Compile only.
179 * testsuite/tr1/7_regular_expressions/regex/cons/char/
180 c_string_extended.cc: Same.
181 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
182 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
184 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
187 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
188 * configure: Regenerate.
190 2009-01-05 Ben Elliston <bje@au.ibm.com>
192 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
193 * configure: Regenerate.
195 2009-01-05 Ben Elliston <bje@au.ibm.com>
197 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
198 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
199 * configure: Regenerate.
201 2009-01-04 Richard Guenther <rguenther@suse.de>
204 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
205 integer type for storage, arithmetic and comparisons.
206 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
208 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
211 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
212 _Fwd_list_const_iterator::_M_next): Fix return type.
214 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
216 * Revert last commit, reopen and suspend libstdc++/38678.
218 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
221 * include/std/istream (basic_istream<>::_M_read): New.
222 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
223 (basic_istream<>::read, basic_istream<>::readsome): Use it.
224 * include/std/ostream (basic_ostream<>::_M_write_): New.
225 (basic_ostream<>::_M_write): Adjust.
226 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
227 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
228 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
229 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
230 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
232 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
234 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
237 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
239 * doc/doxygen/stdheader.cc: Add cstdlib.
240 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
242 2008-12-21 Andrew Pinski <pinskia@gmail.com>
245 * configure: Regenerate.
247 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
250 * include/tr1_impl/functional (function<>::target,
251 function<>::target_type): Provide only when __GXX_RTTI is defined.
252 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
253 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
256 2008-12-19 Ben Elliston <bje@au.ibm.com>
258 * acinclude.m4: Guard a variable test against an empty string.
259 * configure: Regenerate.
261 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
263 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
264 Add xfail on all targets except darwin.
265 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
267 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
268 for xfailing on all targets except linux.
270 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
272 * configure: Regenerate.
274 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
276 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
277 Don't xfail test on darwin8 or later.
279 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
281 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
282 Don't xfail excessive errors on darwin8 or later.
284 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
286 * include/c_global/cstdatomic: Remove assert include.
287 * include/debug/debug.h: Consolidate __replacement_assert...
288 * include/parallel/base.h: Consolidate __replacement_assert...
289 * include/bits/c++config: ...here.
290 * include/bits/atomic_0.h: Use it.
291 * include/bits/atomic_2.h: Same.
292 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
293 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
295 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
297 * src/atomic.cc: Revert last change.
298 * include/bits/atomic_2.h: Move cassert include to...
299 * include/c_global/cstdatomic: ...here.
300 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
301 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
303 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
305 * src/Makefile.am: Remove -x c++ for atomic build rules.
306 * src/Makefile.in: Regenerate.
307 * src/atomic.cc: Move mutex include before cstdatomic.
309 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
312 * testsuite/util/regression/trait/assoc/type_trait.hpp
313 (regression_test_type_traits): Add const to pair_type_rebind.
315 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
317 * src/atomic.cc: Correct guards to match mutex.cc.
319 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
320 Richard Henderson <rth@redhat.com>
322 * include/c_global/cstdatomic: Update to N2798.
323 (atomic): Remove explicit constructors as per DR 845.
324 * include/bits/atomic_0.h: New. Switchable implementation.
325 * include/bits/atomic_2.h: New. Lock-free implementation.
326 * include/c_compatibility/stdatomic.h: Use foward headers.
327 * include/bits/atomicfwd_cxx.h: New.
328 * include/bits/atomicfwd_c.h: New.
329 * src/atomic.cc: Adjust.
330 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
331 unconditionally use default/deleted syntax.
332 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
333 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
334 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
335 * include/Makefile.in: Regenerate.
336 * configure: Regenerate.
337 * config.h.in: Regenerate.
338 * config/abi/pre/gnu.ver: Adjust exports.
340 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
341 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
342 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
343 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
344 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
345 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
346 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
347 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
348 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
349 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
350 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
351 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
352 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
353 * testsuite/29_atomics/atomic_integral/requirements/
354 standard_layout.cc: New.
355 * testsuite/29_atomics/atomic_integral/operators/
356 integral_assignment.cc: New.
357 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
358 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
359 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
360 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
361 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
362 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
363 * testsuite/29_atomics/atomic_integral/operators/
364 integral_conversion.cc: New.
365 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
366 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
367 * testsuite/29_atomics/atomic_flag/requirements/
368 standard_layout.cc: Same.
369 * testsuite/29_atomics/atomic_flag/
370 atomic_global_fence_compatibility.cc: Kill.
371 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
372 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
373 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
374 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
375 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
376 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
377 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
378 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
379 * testsuite/29_atomics/atomic/cons/copy_neg.cc
380 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
381 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
382 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
383 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
384 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
385 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
386 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
387 * testsuite/util/testsuite_common_types.h: ...here.
388 (atomic_integrals_no_bool): New.
389 (atomic_integrals): New.
390 (has_increment_operators, has_decrement_operators)
391 (direct_list_initializable, single_value_constructible)
392 (standard_layout, has_bitwise_operators, integral_convertable)
393 (integral_assignable): Add.
395 2008-12-11 Jakub Jelinek <jakub@redhat.com>
398 * testsuite/26_numerics/headers/cmath/37582.cc: New.
400 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
402 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
404 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
405 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
406 * configure: Regenerate.
408 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
410 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
412 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
415 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
416 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
419 2008-12-05 Tom Tromey <tromey@redhat.com>
421 * include/tr1_impl/functional (_Mu): Fix typo.
423 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
426 * include/bits/locale_facets_nonio.tcc (money_get<>::
427 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
428 string&)): Fix, reject decimal point when frac_digits <= 0.
429 * testsuite/22_locale/money_get/get/char/38399.cc: New.
430 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
431 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
432 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
434 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
437 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
439 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
440 * testsuite/22_locale/locale/cons/7.cc: Likewise.
442 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
445 * config/locale/gnu/numeric_members.cc (numpunct<char>::
446 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
447 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
448 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
449 _M_initialize_moneypunct, moneypunct<char, false>::
450 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
451 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
452 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
453 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
454 * testsuite/22_locale/locale/cons/38368.cc: New.
456 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
458 PR libstdc++/38365 (cont)
459 * src/localename.cc (locale::locale(const locale&, const locale&,
460 category)): Revert last changes.
461 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
462 Fix here instead; rework.
464 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
467 * src/localename.cc (locale::locale(const locale&, const locale&,
469 * testsuite/22_locale/locale/cons/38365.cc: New.
471 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
474 * include/std/iostream: Correct URL.
475 * include/std/streambuf: Same.
476 * include/std/bitset: Same.
477 * include/std/iosfwd: Same.
478 * include/std/fstream: Same.
479 * include/std/istream: Same.
480 * include/std/ostream: Same.
481 * include/std/sstream: Same.
482 * include/bits/basic_ios.h: Same.
483 * include/bits/stl_map.h: Same.
484 * include/bits/stl_set.h: Same.
485 * include/bits/stl_multimap.h: Same.
486 * include/bits/ios_base.h: Same.
487 * include/bits/stl_multiset.h: Same.
488 * include/bits/char_traits.h: Same.
489 * include/bits/stl_relops.h: Same.
490 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
491 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
493 2008-11-26 Janis Johnson <janis187@us.ibm.com>
496 * testsuite/lib/libstdc++.exp: Include new timeout library files.
497 (libstdc++_init): Define tool_timeout.
498 (dg-test): Override DejaGnu proc.
499 (v3_target_compile): Set timeout value from new proc.
500 (v3_target_compile_as_c): Ditto.
502 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
504 PR libstdc++/38244 (cont, debug bits)
505 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
506 Remove, do not implement DR 778.
508 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
511 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
512 Remove, do not implement DR 778.
513 * doc/xml/manual/intro.xml: Remove entry for DR 778.
514 * testsuite/23_containers/bitset/cons/2.cc: Remove.
515 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
516 * testsuite/23_containers/bitset/cons/38244.cc: Add.
518 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
520 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
521 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
523 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
526 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
527 ios_base&, char_type, const void*)): Fix.
528 * testsuite/22_locale/num_put/put/char/38210.cc: New.
529 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
531 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
534 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
535 ios_base&, char_type, bool)): Fix.
536 * testsuite/22_locale/num_put/put/char/38196.cc: New.
537 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
539 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
541 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
542 * include/tr1_impl/cfenv: Likewise.
543 * include/tr1_impl/cstdint: Likewise.
545 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
548 * include/c_global/csignal: Do not use include_next.
549 * include/c_global/cstdlib: Likewise.
550 * include/c_global/cstdio: Likewise.
551 * include/c_global/cstdarg: Likewise.
552 * include/c_global/cctype: Likewise.
553 * include/c_global/cerrno: Likewise.
554 * include/c_global/cmath: Likewise.
555 * include/c_global/clocale: Likewise.
556 * include/c_global/climits: Likewise.
557 * include/c_global/cassert: Likewise.
558 * include/c_global/csetjmp: Likewise.
559 * include/c_global/cwchar: Likewise.
560 * include/c_global/cfloat: Likewise.
561 * include/c_global/cstdbool: Likewise.
562 * include/c_global/cstring: Likewise.
563 * include/c_global/cstddef: Likewise.
564 * include/c_global/cwctype: Likewise.
565 * include/tr1/cstdbool: Likewise.
566 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
567 * include/c_global/cinttypes: Do it here.
568 * include/tr1/cinttypes: Likewise.
569 * include/tr1_impl/cfenv: Do not include <fenv.h>.
570 * include/c_global/cfenv: Do it here.
571 * include/tr1/cfenv: Likewise.
572 * include/tr1_impl/cstdint: Do not include <stdint.h>.
573 * include/c_global/cstdint: Do it here.
574 * include/tr1/cstdint: Likewise.
575 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
576 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
577 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
579 * include/c_compatibility/math.h: Minor tweak, add comment.
581 2008-11-12 Steve Ellcey <sje@cup.hp.com>
583 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
584 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
586 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
588 PR libstdc++/37986 (cont)
589 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
591 (struct _Adaptor<_Engine*, _Distribution>): Add.
592 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
595 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
598 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
599 and remove_reference on _Engine.
600 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
603 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
605 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
607 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
609 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
610 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
613 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
615 * include/bits/forward_list.h: Support non-standard pointer types
616 (_Fwd_list_node_base): Add _Alloc template parameter.
617 (_Fwd_list_node<>): Likewise.
618 (_Fwd_list_iterator<>): Likewise.
619 (_Fwd_list_const_iterator<>): Likewise.
620 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
621 Use _Alloc<_Tp>::pointer.
622 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
623 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
624 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
625 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
626 (forward_list<>): Use __static_pointer_cast in place of static_cast,
627 and __const_pointer_cast in place of const_cast.
628 * include/bits/forward_list.tcc
629 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
630 of standard pointers, __static_pointer_cast in place of static_cast.
631 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
633 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
634 splice_after, remove, remove_if, merge): Likewise.
635 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
636 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
638 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
640 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
642 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
644 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
646 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
648 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
650 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
652 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
654 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
656 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
658 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
660 * testsuite/23_containers/forward_list/ext_pointer/requirements/
661 explicit_instantiation/1.cc: Likewise.
662 * testsuite/23_containers/forward_list/ext_pointer/requirements/
663 explicit_instantiation/3.cc: Likewise.
664 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
666 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
668 * include/ext/extptr_allocator.h: Minor tweaks.
669 * include/ext/pointer.h: Likewise.
670 * include/ext/cast.h: Likewise.
672 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
675 * config/locale/gnu/monetary_members.cc (moneypunct<>::
676 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
677 delete for __wcs_ps and __wcs_ns.
679 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
681 * include/ext/pointer.h: New, add experimental support for non-standard
682 pointer types in containers via the allocator::pointer typedef.
683 (Currently only supported/working with std::vector)
684 * include/ext/cast.h: New, add overload-able pointer casting functions
685 for use in containers supporting non-standard pointer types.
686 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
687 * include/Makefile.am: Update.
688 * include/precompiled/extc++.h: Likewise.
689 * include/Makefile.in: Regenerate.
690 * testsuite/ext/ext_pointer/1.cc: New.
691 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
692 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
693 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
694 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
695 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
696 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
698 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
700 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
702 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
704 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
707 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
711 * include/tr1_impl/functional (result_of,reference_wrapper): Update
712 to use C++0x features.
713 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
714 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
716 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
718 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
720 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
724 * include/tr1_impl/functional (result_of,reference_wrapper): Update
725 to use C++0x features.
726 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
727 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
729 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
731 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
733 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
735 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
736 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
737 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
738 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
740 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
742 PR libstdc++/37958 (cont again)
743 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
744 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
745 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
746 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
748 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
750 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
751 num_get<>::do_get(, unsigned short&),
752 num_get<>::do_get(, unsigned int&),
753 num_get<>::do_get(, unsigned long&),
754 num_get<>::do_get(, long long&),
755 num_get<>::do_get(, unsigned long long&),
756 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
757 num_put<>::do_put(, long long),
758 num_put<>::do_put(, unsigned long long)): Move inline...
759 * include/bits/locale_facets.h: ... here.
761 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
763 PR libstdc++/37958 (cont)
764 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
765 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
767 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
769 * include/bits/shared_ptr.h: Update comparisons to match WP.
770 (_Sp_counted_ptr): Make copy and assignment members deleted.
771 (_Sp_counted_deleter): Remove private copy and assignment members.
772 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
773 friend operator< with overloaded _M_less member functions to allow
774 comparison with either shared_count or weak_count.
775 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
776 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
777 for ownership-based ordering.
778 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
780 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
781 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
782 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
783 pointer specialization.
784 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
785 weak_ptr::operator>=): Remove operator< and delete all comparisons.
786 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
787 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
788 (operator==(shared_ptr,shared_ptr): Likewise.
789 (operator!=(shared_ptr,shared_ptr): Likewise.
790 (swap(shared_ptr,shared_ptr)): Fix parameter types.
791 (swap(weak_ptr,weak_ptr)): Add missing overload.
792 * testsuite/20_util/owner_less/cmp.cc: New.
793 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
794 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
795 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
796 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
797 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
799 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
802 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
803 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
804 * testsuite/22_locale/num_get/get/char/37958.cc: New.
805 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
807 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
811 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
813 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
814 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
815 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
816 Remove the old variadic constructor, and instead provide several
817 variadic constructors that avoid failing when attempting to
818 initialize a pointer from a null pointer constant.
819 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
820 initialization of pointers from the null pointer constant.
822 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
825 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
826 * include/bits/basic_string.h: Guard string conversions with
827 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
828 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
830 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
831 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
833 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
835 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
837 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
839 * testsuite/21_strings/basic_string/numeric_conversions/char/
841 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
843 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
845 * testsuite/21_strings/basic_string/numeric_conversions/char/
846 to_string.cc: Likewise.
847 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
850 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
852 * config/os/generic/error_constants.h (enum errc): Remove
854 * config/os/mingw32/error_constants.h (enum errc): Likewise.
855 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
858 2008-10-24 Jakub Jelinek <jakub@redhat.com>
860 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
861 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
863 (%/site.exp, check-DEJAGNU%): New targets.
864 (check-am): Run $(MAKE) check-DEJAGNU.
865 * testsuite/Makefile.in: Regenerated.
867 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
869 * config/os/generic/error_constants.h (errc): Use long type.
870 * config/os/mingw32/error_constants.h (errc): Likewise.
872 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
874 * include/std/system_error (is_error_code_enum): Specialize for errc.
875 (error_category::error_category): Defaulted and protected.
876 (error_category::~error_category): New, virtual.
877 (error_category::error_category(const error_category&),
878 error_category::operator=(const error_category&)): Deleted.
879 (get_system_category, get_posix_category): Remove (DR 890).
880 (system_category): External linkage (DR 890).
881 (posix_category): Remove.
882 (generic_category): Add. External linkage (DR 890).
883 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
884 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
885 error_code::assign, use generic_category.
886 (error_condition::error_condition,
887 error_condition::error_condition<>(_ErrorConditionEnum)): Use
889 (error_condition::clear,
890 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
891 error_code::assign, use generic_category.
892 (make_error_code, make_error_condition): Define in namespace std.
893 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
894 unique_lock<>::try_lock_until<>(duration),
895 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
896 * src/system_error.cc (system_error_category, generic_error_category):
898 (gnu_error_category): Remove.
899 (get_system_category, get_posix_category): Remove (DR 890).
900 (system_category, generic_category): Define.
901 * src/functexcept.cc (__throw_system_error): Use generic_category.
902 * config/abi/pre/gnu.ver: Export system_category and generic_category,
903 remove get_system_category and get_generic_category (DR 890).
904 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
905 enum class type. Fix spelling.
906 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
907 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
909 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
910 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
911 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
912 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
913 dg-error line numbers.
914 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
916 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
917 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
918 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
920 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
921 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
922 Remove using tests since errc is not a namespace.
923 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
924 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
925 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
927 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
929 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
931 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
933 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
934 (_Args&&...)): Add in C++0x mode.
935 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
936 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
939 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
940 Node_allocator for improved accuracy.
941 * testsuite/tr1/6_containers/unordered_multimap/capacity/
942 29134-multimap.cc: Adjust.
943 * testsuite/tr1/6_containers/unordered_multimap/capacity/
944 29134-map.cc: Likewise.
945 * testsuite/tr1/6_containers/unordered_multimap/capacity/
946 29134-multiset.cc: Adjust.
947 * testsuite/tr1/6_containers/unordered_multimap/capacity/
948 29134-set.cc: Likewise.
950 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
952 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
953 (_Args&&...)): Add in C++0x mode.
954 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
955 use _M_get_Node_allocator.
956 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
958 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
960 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
962 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
964 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
965 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
966 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
967 Remove the old variadic constructor, and instead provide several
968 variadic constructors that avoid failing when attempting to
969 initialize a pointer from a null pointer constant.
970 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
971 initialization of pointers from the null pointer constant.
973 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
975 * include/bits/forward_list.tcc (forward_list<>::
976 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
979 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
981 * include/bits/forward_list.h (forward_list<>::
982 forward_list(size_type)): Tweak, use _Base default constructor.
984 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
986 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
989 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
991 * include/bits/forward_list.h: Factor list construction to dispatch
993 * include/bits/forward_list.tcc: Likewise.
994 * testsuite/23_containers/forward_list/modifiers/2.cc:
996 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
998 * include/bits/forward_list.tcc (operator==): Use auto.
1000 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
1002 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
1003 Move out of line, tweak to return _Fwd_list_node_base*.
1004 (forward_list<>::insert_after(const_iterator, const _Tp&),
1005 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
1006 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
1009 * include/bits/forward_list.h (forward_list<>): Consistently qualify
1010 calls of base class functions with this->.
1011 * include/bits/forward_list.tcc (forward_list<>): Likewise.
1013 * include/bits/forward_list.h: Move some functions out of line...
1014 * include/bits/forward_list.tcc: ... here.
1016 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
1018 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1020 * include/bits/forward_list.h: Remove pointless const qualifiers in
1022 * include/bits/forward_list.tcc: Likewise.
1024 * include/bits/forward_list.h (forward_list<>::pointer,
1025 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
1026 * testsuite/23_containers/forward_list/requirements/
1027 explicit_instantiation/1.cc: New.
1028 * testsuite/23_containers/forward_list/requirements/
1029 explicit_instantiation/1.cc: Likewise.
1031 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1033 * include/bits/forward_list.h (forward_list<>::max_size): Use
1034 Node_allocator; minor cosmetic changes.
1035 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1037 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
1039 * include/std/forward_list: New.
1040 * include/bits/forward_list.h: Likewise.
1041 * include/bits/forward_list.tcc: Likewise.
1042 * include/precompiled/stdc++.h: Modified to include forward_list.
1043 * include/Makefile.am: Add forward_list, forward_list.h, and
1045 * include/Makefile.in: Regenerate.
1046 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
1047 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1048 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
1049 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
1050 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
1051 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
1052 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
1053 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
1054 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
1055 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
1056 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
1057 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
1058 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
1059 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
1060 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
1061 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
1062 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
1063 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
1064 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
1065 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
1066 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
1067 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
1068 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
1069 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
1070 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
1071 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
1072 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
1073 * testsuite/17_intro/headers/c++200x/all: Likewise.
1075 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1077 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
1079 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
1080 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
1081 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
1082 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1083 Adjust dg-error line number.
1084 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1086 * testsuite/23_containers/list/requirements/dr438/
1087 constructor_1_neg.cc: Likewise.
1088 * testsuite/23_containers/list/requirements/dr438/
1089 constructor_2_neg.cc: Likewise.
1091 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1093 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
1094 for improved accuracy.
1095 * include/bits/stl_list.h (list<>::max_size): Likewise.
1096 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
1097 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1098 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1099 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1100 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1102 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1104 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
1107 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1109 * include/std/system_error (native_category): Remove.
1110 (posix_category): Add.
1111 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
1112 Fix _M_cat initialization.
1113 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
1114 (error_condition::_M_cat, error_condtion::operator=
1115 (_ErrorConditionEnum)): Implement resolution of DR 804.
1116 (error_condition::error_condition(_ErrorConditionEnum, typename
1117 enable_if<>:type*): Fix.
1118 (error_condition::clear, error_condition::assign): Implement.
1119 (operator==, operator!=): Fix uglification of parameters.
1120 (make_error_code, make_error_condition): Define in namespace
1122 (operator<<(basic_ostream<>&, const error_code&)): Define here.
1123 * include/std/ostream (operator<<(basic_ostream<>&,
1124 const error_code&)): Do not define here.
1125 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
1126 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
1127 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
1129 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
1131 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1133 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
1134 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1135 dg-error line numbers.
1136 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
1138 * testsuite/util/testsuite_error.h: Minor tweaks.
1139 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
1141 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
1143 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
1144 uninitialized duration.
1146 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
1148 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
1149 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
1150 _M_deallocate): Use _Tp_alloc_type::pointer.
1152 2008-10-07 Jason Merrill <jason@redhat.com>
1155 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
1156 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
1157 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
1159 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
1161 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
1162 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
1163 const __normal_iterator<>&), operator-(const move_iterator<>&,
1164 const move_iterator<>&)): Use the auto -> return type syntax,
1167 2008-10-06 Jason Merrill <jason@redhat.com>
1169 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
1171 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
1173 * testsuite/20_util/reference_wrapper/invoke.cc: New.
1174 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1175 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
1177 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1179 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
1180 !__FLT_HAS_INFINITY__ case.
1182 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
1184 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
1186 * testsuite/20_util/tuple/swap.cc: New.
1188 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1190 PR libstdc++/30085 (again)
1191 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
1192 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
1193 unordered_map / unordered_multimap; add missing member functions.
1194 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
1195 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
1196 * include/debug/safe_association.h: Remove.
1197 * include/Makefile.am: Adjust.
1198 * include/Makefile.in: Regenerate.
1199 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1202 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
1204 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1205 void reset(U)): Add as deleted function, per DR 821 [Ready].
1206 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1207 member function declarations; minor formatting tweaks.
1208 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1209 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1212 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1214 * include/std/mutex (try_lock): Implement generic try_lock.
1215 * testsuite/30_threads/try_lock/1.cc: New.
1216 * testsuite/30_threads/try_lock/2.cc: Likewise.
1217 * testsuite/30_threads/try_lock/3.cc: Likewise.
1218 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1219 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1220 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1221 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1222 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1223 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1224 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1226 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1228 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1229 Steve Ellcey <sje@cup.hp.com>
1231 * configure: Regenerate for new libtool.
1232 * aclocal.m4: Ditto.
1233 * Makefile.in: Ditto.
1234 * src/Makefile.in: Ditto.
1235 * doc/Makefile.in: Ditto.
1236 * po/Makefile.in: Ditto.
1237 * libmath/Makefile.in: Ditto.
1238 * include/Makefile.in: Ditto.
1239 * libsupc++/Makefile.in: Ditto.
1240 * testsuite/Makefile.in: Ditto.
1242 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1244 * include/std/bitset: Adjust comment to reflect DR 853.
1245 * include/debug/bitset: Likewise.
1246 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1248 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1250 Implement DR 396 [Ready].
1251 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1252 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1253 char, char), bitset<>::to_string(_CharT, _CharT),
1254 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1255 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1256 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1257 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1258 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1259 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1260 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1261 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1262 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1263 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1264 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1265 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1267 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1269 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1270 * testsuite/25_algorithms/max/37547.cc: Likewise.
1271 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1273 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1275 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1276 typedef monotonic_clock to system_clock and instead declare new class.
1277 * src/chrono.cc: Conditionally define monotonic_clock::now().
1278 * include/std/condition_variable (wait_until): Throw exception if
1279 __gthread_cond_timedwait returns with error other than timed_out. Use
1280 system_clock as known clock type (__clock_t) and add overloads for known
1281 and unknown clocks. In the unknown case, sync to the known clock.
1282 Implement overload taking a predicate.
1283 (wait_for): Implement overload taking a predicate.
1284 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1285 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1287 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1289 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1290 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1291 * testsuite/30_threads/condition_variable/member/1.cc: New.
1292 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1294 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1297 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1298 when strtold is not available.
1299 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1301 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
1303 PR libstdc++/37391 continued.
1304 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1305 specify full path for source file links.
1306 * doc/html/ext/pb_ds/pq_examples.html: Same.
1308 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1310 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1311 by value parameters.
1312 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1314 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1316 PR libstdc++/32422, DR 23 [Ready in R60]
1317 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1318 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1319 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1320 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1321 DR 23 and deal correctly with broken exponents.
1322 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1323 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1324 char*, double&, ios_base::iostate&, const __c_locale&),
1325 __convert_to_v(const char*, long double&, ios_base::iostate&, const
1326 __c_locale&)): Likewise.
1327 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1328 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1329 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1330 ios_base::iostate&, string&): Change grouping check to set instead of
1331 OR failbit; do not check for eofbit here...
1332 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1333 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1334 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1335 iter_type, ios_base&, ios_base::iostate&, long double&),
1336 num_get<>::__do_get(iter_type, iter_type, ios_base&,
1337 ios_base::iostate&, double&)): ... do it here instead.
1338 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1339 ios_base::iostate&, bool&)): Implement DR 23.
1340 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1341 ios_base::iostate&, void*&)): Adjust.
1342 * doc/xml/manual/intro.xml: Add and entry for DR 23.
1343 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1345 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1347 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1348 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1349 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1350 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1351 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1352 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1353 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1354 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1355 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1356 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1358 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1361 * doc/html/ext/pb_ds/*.html: Fix external links.
1363 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1365 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1366 condition_variable, and thread output.
1368 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1370 * doc/html/ext/lwg-closed.html: Update to Revision R59.
1371 * doc/html/ext/lwg-active.html: Likewise.
1372 * doc/html/ext/lwg-defects.html: Likewise.
1373 * doc/xml/manual/intro.xml: Adjust.
1375 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
1377 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1378 consistently with the other overload for initializer_list.
1380 2008-09-19 Johannes Singler <singler@ira.uka.de>
1383 * include/parallel/base.h: Rename log2 to __log2.
1384 (__log2) Avoid infinite loop for n <= 0, return 0.
1385 * include/parallel/losertree.h: Rename log2 to __log2.
1386 * include/parallel/multiseq_selection.h: Likewise.
1387 * include/parallel/random_shuffle.h: Likewise.
1389 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1391 * include/bits/shared_ptr.h (__shared_count<>::
1392 __shared_count(_Ptr, _Deleter), __shared_count<>::
1393 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1394 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1395 Qualify new with ::.
1397 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
1400 * include/bits/stl_algo.h (min(initializer_list<>),
1401 min(initializer_list<>, Compare), max(initializer_list<>),
1402 max(initializer_list<>, Compare), minmax(initializer_list<>),
1403 minmax(initializer_list<>, Compare)): Fix return type.
1404 * include/bits/algorithmfwd.h: Adjust.
1405 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1406 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1408 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1410 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1412 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1414 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1416 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1418 * testsuite/25_algorithms/max/37547.cc: New.
1419 * testsuite/25_algorithms/min/37547.cc: Likewise.
1420 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1422 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
1424 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1426 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1428 * testsuite/25_algorithms/min/3.cc: Likewise.
1429 * testsuite/25_algorithms/min/4.cc: Likewise.
1430 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1432 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1434 * testsuite/25_algorithms/max/3.cc: Likewise.
1435 * testsuite/25_algorithms/max/4.cc: Likewise.
1436 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1438 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1440 * testsuite/25_algorithms/minmax/2.cc: Likewise.
1441 * testsuite/25_algorithms/minmax/3.cc: Likewise.
1443 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
1445 * include/bits/stl_algo.h (min(initializer_list<>),
1446 min(initializer_list<>, Compare), max(initializer_list<>),
1447 max(initializer_list<>, Compare), minmax(initializer_list<>),
1448 minmax(initializer_list<>, Compare)): Add in C++0x mode.
1449 * include/bits/algorithmfwd.h: Add.
1450 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1452 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
1454 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1456 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1457 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1458 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1460 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
1461 Benjamin Kosnik <bkoz@redhat.com>
1463 * include/std/thread: New.
1464 * include/Makefile.am: Update.
1465 * include/Makefile.in: Regenerate.
1466 * src/thread.cc: New.
1467 * src/Makefile.am: Update.
1468 * src/Makefile.in: Regenerate.
1469 * acinclude.m4: Add check for nanosleep.
1470 * configure.ac: Call it.
1471 * configure: Regenerate.
1472 * config.h.in: Likewise.
1473 * config/abi/pre/gnu.ver: Add exports.
1474 * doc/doxygen/user.cfg.in: Add thread header.
1475 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1476 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1477 * testsuite/30_threads/thread/cons/1.cc: New.
1478 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1479 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1480 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1481 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1482 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1483 * testsuite/30_threads/thread/member/1.cc: Likewise.
1484 * testsuite/30_threads/thread/member/2.cc: Likewise.
1485 * testsuite/30_threads/thread/member/3.cc: Likewise.
1486 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1487 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1488 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1489 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1490 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1491 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1492 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1493 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1494 Add thread, condition_variable and mutex.
1496 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1498 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1499 Remove specializations.
1500 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1501 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1502 use_facet<ctype<wchar_t>): Declare as extern template.
1503 * include/bits/locale_facets.h (use_facet<ctype<char> >,
1504 use_facet<ctype<wchar_t>): Do not declare as specializations.
1506 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1508 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1509 ctype<char>::_M_widen_init): Don't define here.
1510 * config/locale/gnu/ctype_members.cc: Likewise.
1511 * config/locale/generic/ctype_members.cc: Likewise.
1512 * src/ctype.cc: Define here.
1514 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1517 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1518 ctype<char>::_M_widen_init): Don't define inline.
1519 * config/locale/darwin/ctype_members.cc: ... define here.
1520 * config/locale/gnu/ctype_members.cc: ... likewise.
1521 * config/locale/generic/ctype_members.cc: ... likewise.
1522 * config/abi/pre/gnu.ver: Export.
1524 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
1526 * doc/xml/manual/abi.xml: Update for new releases.
1527 * doc/doxygen/user.cfg.in: Include C compatibility headers.
1528 * doc/html/*: Regenerate.
1530 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
1532 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1533 inclusion of <inttypes.h>.
1534 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1535 __STDC_CONSTANT_MACROS after <stdint.h>.
1536 * include/bits/postypes.h: Likewise.
1538 2008-09-09 Andreas Schwab <schwab@suse.de>
1540 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1541 not to redefine main.
1543 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1545 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1546 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1547 * include/tr1_impl/cinttypes: Use the latter.
1548 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1549 * configure: Regenerate.
1550 * config.h.in: Likewise.
1552 2008-09-05 Peter Dimov <pdimov@mmltd.net>
1554 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1556 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
1558 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1560 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1563 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1566 * include/Makefile.am: Update headers.
1567 * include/Makefile.in: Regenerate.
1568 * include/std/memory: Update headers.
1569 * include/tr1/memory: Likewise.
1570 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
1571 separate implementations for std and tr1.
1572 * include/bits/boost_sp_shared_count.h: Remove.
1573 * include/tr1/boost_sp_shared_count.h: Remove.
1574 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
1575 and boost_shared_ptr.h into one file.
1576 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
1577 and rvalue-reference support as per current WP.
1578 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
1579 and boost_shared_ptr.h into one file.
1580 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
1581 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
1582 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
1583 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
1584 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
1585 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
1586 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
1587 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
1588 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
1590 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1592 * doc/xml/manual/locale.xml: Fix typo.
1594 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
1596 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
1598 * configure: Regenerate.
1600 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
1602 * include/std/mutex (once_flag): Construct __gthread_once_t in a
1603 temporary variable before assigning to _M_once to avoid initialization
1606 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1608 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
1609 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
1611 * Makefile.in: Regenerate.
1612 * src/Makefile.in: Likewise.
1613 * doc/Makefile.in: Likewise.
1614 * po/Makefile.in: Likewise.
1615 * libmath/Makefile.in: Likewise.
1616 * include/Makefile.in: Likewise.
1617 * libsupc++/Makefile.in: Likewise.
1618 * testsuite/Makefile.in: Likewise.
1620 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1622 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
1623 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
1624 * configure: Regenerate.
1626 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1628 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
1629 * configure: Regenerate.
1631 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
1633 * include/std/condition_variable: Use new deleted ctors.
1634 * include/std/mutex: Likewise plus implement timed_mutex,
1635 recursive_timed_mutex and call_once.
1636 * src/condition_variable.cc: Implement wait(). Use gthread types.
1637 Remove _GTHREADS_HAS_COND checks in favor of global
1638 _GLIBCXX_HAS_GTHREADS.
1639 * src/mutex.cc (call_once): Implementation using TLS with mutex
1641 * config/abi/pre/gnu.ver: Add exported symbols.
1642 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
1643 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
1644 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
1645 dg-require-gthreads and dg-require-cstdint.
1646 * testsuite/30_threads/lock_guard/requirements/
1647 explicit_instantiation.cc: Likewise.
1648 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1649 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1650 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1651 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
1652 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1653 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1654 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1655 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1656 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1658 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
1659 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1660 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
1662 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1663 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1664 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1665 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1666 * testsuite/30_threads/unique_lock/requirements/
1667 explicit_instantiation.cc: Likewise.
1668 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
1669 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
1670 lines for deleted members.
1671 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1672 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1673 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1674 * testsuite/30_threads/call_once/once_flag.cc: New.
1675 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1676 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1677 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
1678 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1679 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1680 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1682 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1684 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
1685 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1686 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1687 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1688 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1689 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1690 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1691 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
1692 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1693 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1694 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1695 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1696 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1697 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1698 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1699 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1701 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1703 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1705 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1707 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
1708 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1710 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1711 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
1713 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
1715 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1716 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1717 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1718 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1719 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
1720 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1722 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1724 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1726 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1727 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1728 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1729 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1730 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1731 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1732 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1733 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1734 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1735 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1736 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1737 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1739 2008-09-01 Mark Mitchell <mark@codesourcery.com>
1741 * include/std/type_traits (__make_unsigned_selector<>): Consider
1742 enums of size smaller than short.
1743 (__make_signed_selector<>): Likewise.
1744 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1745 Adjust line numbers.
1746 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
1747 Adjust line numbers.
1748 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
1749 Ensure test_enum is the same size as short.
1750 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
1751 Ensure test_enum is the same size as short.
1753 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1755 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
1756 * configure: Regenerated.
1757 * Makefile.in: Regenerated.
1758 * src/Makefile.in: Regenerated.
1759 * doc/Makefile.in: Regenerated.
1760 * po/Makefile.in: Regenerated.
1761 * libmath/Makefile.in: Regenerated.
1762 * include/Makefile.in: Regenerated.
1763 * libsupc++/Makefile.in: Regenerated.
1764 * testsuite/Makefile.in: Regenerated.
1766 2008-08-29 Mark Mitchell <mark@codesourcery.com>
1768 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
1769 when testing on a simultor.
1771 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
1773 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1774 Rename to .../typedefs.cc.
1775 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1777 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1778 typedef.cc: Likewise.
1779 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1780 typedef.cc: Likewise.
1781 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1783 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1785 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1787 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1790 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
1792 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
1793 support used by c++0x thread library.
1794 * configure.ac: Test unconditionally.
1795 * configure: Regenerate.
1796 * config.h.in: Regenerate.
1798 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
1800 * doc/Makefile.am: Edit xml file list.
1801 * doc/Makefile.in: Regenerate.
1802 * configure: Regenerate.
1803 * doc/xml/manual/intro.xml: Edit, correct links, structure.
1804 * doc/xml/manual/configure.xml: Same.
1805 * doc/xml/manual/debug.xml: Same.
1806 * doc/xml/manual/test.xml: Same.
1807 * doc/xml/manual/build.xml: Remove.
1808 * doc/xml/manual/prerequisites.xml: Add.
1809 * doc/html/*: Regenerate.
1811 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
1813 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
1814 const_pointer typedefs.
1815 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1817 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1819 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1820 typedef.cc: Likewise.
1821 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1822 typedef.cc: Likewise.
1823 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1825 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1827 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1829 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1832 2008-08-27 Paul Brook <paul@codesourcery.com>
1834 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
1835 __get_object_from_ambiguous_exception.
1837 2008-08-26 Ben Elliston <bje@au.ibm.com>
1839 * src/mt_allocator.cc (__pool): Fix error in comment.
1841 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
1843 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
1844 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
1845 * configure.ac: Do not call the latter.
1846 * crossconfig.m4: Likewise.
1847 * libmath/mathconf.h: Adjust.
1848 * configure: Regenerate.
1849 * config.h.in: Likewise.
1851 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1853 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
1854 two test -r instead of an AC_TRY_RUN.
1855 * configure: Regenerate.
1856 * config.h.in: Likewise.
1858 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1860 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
1861 * doc/xml/manual/configure.xml: Likewise.
1863 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1865 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
1867 * configure: Regenerate.
1869 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1871 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
1872 GCC_TRY_COMPILE_OR_LINK.
1873 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
1874 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
1875 [no] by default, since it includes TRY_LINK checks. librt is also
1876 searched, if requested.
1877 * doc/xml/manual/configure.xml: Document the latter.
1878 * configure.ac: Move the above checks outside native-only.
1879 * configure: Regenerate.
1881 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1883 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
1884 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
1885 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
1886 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1887 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
1889 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
1891 Add (again) exception propagation support as per N2179. Feature is
1892 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
1893 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1894 copy_exception, rethrow_exception): New file, implement exception
1896 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1897 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1898 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1899 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1900 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1901 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1902 __gxx_dependent_exception_class, __get_object_from_ue,
1903 __get_object_from_ambiguous_exception): Add.
1904 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1905 (__is_gxx_exception_class): Handle dependent exceptions.
1906 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1907 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1908 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1909 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1910 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1911 __cxa_free_dependent_exception): Add.
1912 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1914 * libsupc++/exception: Conditionally include exception_ptr.h.
1915 * libsupc++/Makefile.am: Register new files.
1916 * libsupc++/Makefile.in: Regenerate.
1917 * config/abi/pre/gnu.ver: Add new symbols.
1918 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1919 core functionality of current_exception().
1920 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1921 core functionality of rethrow_exception().
1922 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1923 exception objects during exception propagation.
1925 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
1927 Revert again the N2179 patch.
1929 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
1931 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
1932 __cxa_free_dependent_exception.
1934 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1936 * include/bits/char_traits.h (char_traits<char16_t>::
1937 assign(char_type*, size_t, char_type), char_traits<char32_t>::
1938 assign(char_type*, size_t, char_type)): For now, just open-code.
1940 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1942 PR c++/33979 (partial)
1943 * include/bits/postypes.h (u16streampos, u32streampos): Add.
1944 * include/bits/char_traits.h (char_traits<char16_t>,
1945 char_traits<char32_t>): Add.
1946 * include/bits/stringfwd.h (u16string, u32string): Add.
1947 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
1948 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
1950 * testsuite/21_strings/char_traits/requirements/
1951 explicit_instantiation/short/1.cc: Likewise.
1952 * testsuite/21_strings/char_traits/requirements/
1953 explicit_instantiation/char32_t/1.cc: Likewise.
1954 * testsuite/21_strings/char_traits/requirements/
1955 explicit_instantiation/wchar_t/1.cc: Likewise.
1956 * testsuite/21_strings/char_traits/requirements/
1957 explicit_instantiation/char16_t/1.cc: Likewise.
1958 * testsuite/21_strings/char_traits/requirements/
1959 explicit_instantiation/char/1.cc: Likewise.
1960 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
1962 * testsuite/21_strings/basic_string/requirements/
1963 explicit_instantiation/char32_t/1.cc: Likewise.
1964 * testsuite/21_strings/basic_string/requirements/
1965 explicit_instantiation/wchar_t/1.cc: Likewise.
1966 * testsuite/21_strings/basic_string/requirements/
1967 explicit_instantiation/char16_t/1.cc: Likewise.
1968 * testsuite/21_strings/basic_string/requirements/
1969 explicit_instantiation/char/1.cc: Likewise.
1970 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
1971 * testsuite/ext/vstring/requirements/explicit_instantiation/
1972 char32_t/1.cc: Likewise.
1973 * testsuite/ext/vstring/requirements/explicit_instantiation/
1974 char16_t/1.cc: Likewise.
1976 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1979 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
1981 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1983 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1984 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1985 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1986 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1987 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
1988 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
1989 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
1990 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1991 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1992 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1993 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1994 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1995 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
1996 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
1997 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1998 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1999 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
2000 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
2001 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
2002 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
2003 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2004 * include/std/regex: Include <sstream>.
2005 * include/tr1/regex: Likewise.
2007 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2009 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
2011 * configure: Regenerate.
2013 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2016 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
2017 check the macros too.
2018 * configure: Regenerate.
2020 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2022 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
2024 * configure.ac: Run unconditionally AC_LC_MESSAGES.
2025 * crossconfig.m4: Adjust.
2026 * configure: Regenerate.
2028 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2030 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
2031 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
2032 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
2033 with -fno-exceptions as flags.
2034 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
2035 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
2036 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
2037 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
2039 * configure: Regenerate.
2041 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2043 Re-instate last patch, amended to use __exchange_and_add_dispatch
2044 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
2046 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2048 Revert the last patch.
2050 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
2052 Add exception propagation support as per N2179.
2053 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2054 copy_exception, rethrow_exception): New file, implement exception
2056 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2057 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2058 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2059 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2060 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2061 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2062 __gxx_dependent_exception_class, __get_object_from_ue,
2063 __get_object_from_ambiguous_exception): Add.
2064 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2065 (__is_gxx_exception_class): Handle dependent exceptions.
2066 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2067 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2068 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2069 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2070 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2071 __cxa_free_dependent_exception): Add.
2072 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2074 * libsupc++/exception: Conditionally include exception_ptr.h.
2075 * libsupc++/Makefile.am: Register new files.
2076 * libsupc++/Makefile.in: Regenerate.
2077 * config/abi/pre/gnu.ver: Add new symbols.
2078 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2079 core functionality of current_exception().
2080 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2081 core functionality of rethrow_exception().
2082 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2083 exception objects during exception propagation.
2085 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2088 * include/bits/stl_pair.h: Fix documentation URL in comment.
2090 2008-08-12 Johannes Singler <singler@ira.uka.de>
2092 * include/paralle/losertree.h
2093 (LoserTreePointerBase<>::~LoserTreePointerBase):
2094 Replace delete by appropriate delete[].
2096 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2098 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
2099 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
2100 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
2101 * configure: Regenerate.
2102 * config.h.in: Likewise.
2104 * acinclude.m4: Minor formatting fixes.
2106 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
2108 * include/tr1_impl/regex: Formatting fixes.
2109 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
2111 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
2114 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2116 * config/locale/generic/c_locale.cc: Include <cstdio>.
2118 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2120 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
2121 * configure: Regenerate.
2123 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
2125 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
2126 (_DEFINE_SPEC_BODY): Remove.
2127 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
2128 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
2129 __remove_pointer_helper): Add.
2130 (is_void, is_integral, is_floating_point, is_member_object_pointer,
2131 is_member_function_pointer, remove_pointer): Use the latter.
2132 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
2133 (_DEFINE_SPEC_HELPER): Remove.
2134 (__is_signed_helper, __is_unsigned_helper): Add.
2135 (is_signed, is_unsigned): Use the latter.
2137 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2139 Revert fix for libstdc++/35637, thanks to other/36901.
2140 * include/tr1_impl/type_traits (__is_function_helper): New, uses
2142 (is_function): Forward to the latter.
2143 (__in_array): Remove.
2145 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2147 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
2149 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
2151 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
2152 _IOS_BASE_SEEK_END at the end of the file.
2153 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
2155 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
2157 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
2160 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2162 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
2163 common values of EOF, SEEK_CUR, SEEK_END.
2164 * configure.ac: Use it.
2165 * include/bits/ios_base.h: Likewise.
2166 * include/bits/char_traits.h: Likewise.
2167 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
2168 * config/locale/generic/ctype_members.cc: Likewise.
2169 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
2170 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2171 * configure: Regenerate.
2172 * config.h.in: Likewise.
2174 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2176 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
2177 is actually a typedef to long or long long.
2178 * include/bits/postypes.h: If int64_t is actually a typedef for
2179 long or long long don't include <stdint.h> unnecessarily.
2180 * configure: Regenerate.
2181 * config.h.in: Likewise.
2183 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
2185 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
2186 Expect ambiguity together with the standard exception classes.
2187 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
2189 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
2191 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
2193 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2195 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
2196 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
2197 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
2199 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2201 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2203 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2205 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2207 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2210 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2212 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2213 also define the __STDC_* macros.
2214 (streamoff): Adjust.
2216 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2217 not defined before defining.
2219 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2220 Chris Fairles <chris.fairles@gmail.com>
2222 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2223 search, but only in libposix4, never link librt.
2224 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2225 * configure: Regenerate.
2226 * configure.in: Likewise.
2227 * Makefile.in: Likewise.
2228 * src/Makefile.in: Likewise.
2229 * libsup++/Makefile.in: Likewise.
2230 * po/Makefile.in: Likewise.
2231 * doc/Makefile.in: Likewise.
2233 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2235 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2236 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2237 and 4 in WD. Other minor tweaks.
2238 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2239 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2240 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2241 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2243 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2245 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2246 (check_v3_target_parallel_mode): Robustify, just follow the
2247 structure of testsuite/Makefile.am.
2249 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2251 * include/debug/set.h: Minor formatting fixes.
2252 * include/debug/multiset.h: Likewise.
2253 * include/debug/safe_association.h: Likewise.
2254 * include/debug/vector: Likewise.
2255 * include/debug/map.h: Likewise.
2256 * include/debug/string: Likewise.
2257 * include/debug/multimap.h: Likewise.
2258 * include/bits/stl_list.h: Likewise.
2259 * include/bits/stl_map.h: Likewise.
2260 * include/bits/stl_set.h: Likewise.
2261 * include/bits/stl_multimap.h: Likewise.
2262 * include/bits/stl_vector.h: Likewise.
2263 * include/bits/stl_multiset.h: Likewise.
2264 * include/bits/stl_bvector.h: Likewise.
2266 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2268 * include/std/utility: Include <initializer_list>, per the current WP.
2270 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2271 don't use -std=gnu++0x unnecessarily.
2272 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2274 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2275 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2277 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
2280 * include/tr1_impl/boost_shared_ptr.h
2281 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2282 __enable_shared_from_this_helper.
2283 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2285 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2289 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2291 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2292 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2293 * src/Makefile.am: Use it.
2294 * configure: Regenerate.
2295 * configure.in: Likewise.
2296 * Makefile.in: Likewise.
2297 * src/Makefile.in: Likewise.
2298 * libsup++/Makefile.in: Likewise.
2299 * po/Makefile.in: Likewise.
2300 * doc/Makefile.in: Likewise.
2302 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2304 * include/std/condition_variable: Update to N2691 WD.
2305 * include/std/mutex: Likewise.
2306 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2307 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2308 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2309 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2311 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2313 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2314 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2315 * src/Makefile.am: Use it.
2316 * configure: Regenerate.
2317 * configure.in: Likewise.
2318 * Makefile.in: Likewise.
2319 * src/Makefile.in: Likewise.
2320 * libsup++/Makefile.in: Likewise.
2321 * po/Makefile.in: Likewise.
2322 * doc/Makefile.in: Likewise.
2324 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2326 * include/ext/sso_string_base.h
2327 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2328 const _Alloc&)): Remove.
2329 * include/ext/rc_string_base.h
2330 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2331 const _Alloc&)): Likewise.
2332 * include/ext/vstring.h
2333 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2334 const _Alloc&)): Adjust.
2336 2008-07-21 Jason Merrill <jason@redhat.com>
2338 Add initializer_list support as per N2679.
2339 * include/debug/unordered_map: Add initializer_list support.
2340 * include/debug/safe_association.h: Likewise.
2341 * include/debug/unordered_set: Likewise.
2342 * include/debug/vector: Likewise.
2343 * include/debug/deque: Likewise.
2344 * include/debug/map.h: Likewise.
2345 * include/debug/set.h: Likewise.
2346 * include/debug/string: Likewise.
2347 * include/debug/list: Likewise.
2348 * include/debug/multimap.h: Likewise.
2349 * include/tr1_impl/unordered_map: Likewise.
2350 * include/tr1_impl/hashtable: Likewise.
2351 * include/tr1_impl/unordered_set: Likewise.
2352 * include/tr1_impl/regex: Likewise.
2353 * include/std/valarray: Likewise.
2354 * include/std/unordered_map: Likewise.
2355 * include/std/unordered_set: Likewise.
2356 * include/bits/stl_list.h: Likewise.
2357 * include/bits/stl_map.h: Likewise.
2358 * include/bits/stl_set.h: Likewise.
2359 * include/bits/basic_string.h: Likewise.
2360 * include/bits/basic_string.tcc: Likewise.
2361 * include/bits/stl_multimap.h: Likewise.
2362 * include/bits/stl_vector.h: Likewise.
2363 * include/bits/stl_deque.h: Likewise.
2364 * include/bits/stl_multiset.h: Likewise.
2365 * include/bits/stl_bvector.h: Likewise.
2366 * include/ext/vstring.h: Likewise.
2367 * include/ext/rc_string_base.h: Likewise.
2368 * include/ext/sso_string_base.h: Likewise.
2369 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2370 * src/Makefile.in: Likewise.
2371 * config/abi/pre/gnu.ver: Add new w?string exports.
2372 * testsuite/21_strings/basic_string/init-list.cc: New test.
2373 * testsuite/23_containers/vector/init-list.cc: New test.
2374 * testsuite/23_containers/deque/init-list.cc: New test.
2375 * testsuite/23_containers/list/init-list.cc: New test.
2376 * testsuite/23_containers/map/init-list.cc: New test.
2377 * testsuite/23_containers/multimap/init-list.cc: New test.
2378 * testsuite/23_containers/set/init-list.cc: New test.
2379 * testsuite/23_containers/multiset/init-list.cc: New test.
2380 * testsuite/23_containers/unordered_map/init-list.cc: New test.
2381 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2382 * testsuite/23_containers/unordered_set/init-list.cc: New test.
2383 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2384 * testsuite/26_numerics/valarray/init-list.cc: New test.
2385 * testsuite/28_regex/init-list.cc: New test.
2386 * testsuite/ext/vstring/init-list.cc: New test.
2387 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2388 Update error lineno.
2389 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2390 Update error lineno.
2391 * testsuite/23_containers/vector/requirements/dr438/
2392 constructor_1_neg.cc: Update error lineno.
2393 * testsuite/23_containers/vector/requirements/dr438/
2394 constructor_2_neg.cc: Update error lineno.
2395 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2396 Update error lineno.
2397 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2398 Update error lineno.
2399 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2400 Update error lineno.
2401 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2402 Update error lineno.
2403 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2404 Update error lineno.
2405 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2406 Update error lineno.
2407 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2408 Update error lineno.
2409 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2410 Update error lineno.
2412 2008-07-21 Mark Mitchell <mark@codesourcery.com>
2414 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2415 * configure.host: Use it for arm*-*-linux-*eabi.
2417 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
2419 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2420 (assert_node_consistent): Avoid ambiguous else warning.
2422 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2424 * include/bits/c++config: In debug-mode (and parallel-mode) set
2425 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2426 templates only for basic_string (per libstdc++/21674).
2427 * include/bits/basic_string.tcc: Use extern templates when
2428 _GLIBCXX_EXTERN_TEMPLATE > 0.
2430 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
2431 Holger Hopp <holger.hopp@sap.com>
2433 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2434 * testsuite/util/testsuite_abi.cc (check_version): Add
2435 CXXABI_1.3.3 to known_versions.
2437 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2439 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2440 Enable only when _Tp != bool.
2442 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2444 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2446 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2447 variable warnings leading to spurious fails of the test.
2449 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2451 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2453 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2454 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2456 * include/tr1_impl/type_traits: Fix comment typo.
2458 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2460 * include/bits/unique_ptr.h: Remove stray character.
2462 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
2464 * doc/doxygen/user.cfg.in: Add complex, ratio,
2466 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2467 * doc/doxygen/doxygroups.cc: Add std::chrono.
2468 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2469 * libsupc++/initializer_list (initializer_list): Same.
2470 * include/std/ratio: Same.
2471 * include/std/chrono: Same.
2472 * include/std/complex: Disambiguate file markup.
2474 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
2476 * include/std/chrono: New, as per N2661.
2477 * src/chrono.cc: New.
2478 * include/Makefile.am: Update.
2479 * src/Makefile.am: Likewise.
2480 * include/Makefile.in: Regenerate.
2481 * src/Makefile.in: Likewise.
2482 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2483 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2484 * configure.ac: Use them.
2485 * configure: Regenerate.
2486 * config.h.in: Likewise.
2487 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2488 system_clock::is_monotonic.
2489 * testsuite/20_util/duration/cons/1.cc: New.
2490 * testsuite/20_util/duration/cons/2.cc: Likewise.
2491 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2492 * testsuite/20_util/duration/requirements/explicit_instantiation/
2493 explicit_instantiation.cc: Likewise.
2494 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2495 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2496 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2497 * testsuite/20_util/time_point/requirements/explicit_instantiation/
2498 explicit_instantiation.cc: Likewise.
2499 * testsuite/20_util/time_point/1.cc: Likewise.
2500 * testsuite/20_util/time_point/2.cc: Likewise.
2501 * testsuite/20_util/time_point/3.cc: Likewise.
2502 * testsuite/20_util/clocks/1.cc: Likewise.
2503 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2505 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2506 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2507 * doc/doxygen/user.cfg.in: Likewise.
2509 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
2512 * include/ext/rope (_Destroy_const): Add.
2513 (rope<>::copy): Call it.
2514 * testsuite/ext/rope/36832.cc: New.
2516 2008-07-15 Johannes Singler <singler@ira.uka.de>
2518 * include/parallel/find_selectors.h:
2519 Correct name for include guard #ifndef.
2520 * include/parallel/balanced_quicksort.h: Likewise.
2521 * include/parallel/unique_copy.h: Likewise.
2522 * include/parallel/multiway_mergesort.h: Likewise.
2523 * include/parallel/checkers.h: Likewise.
2524 * include/parallel/[various files]:
2525 Add/correct comment for #endif of include guard (at end of file)
2527 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
2529 * include/std/date_time: Remove, per N2549, in WP.
2530 * src/date_time.cc: Likewise.
2531 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2532 * include/Makefile.am: Remove date_time in std headers.
2533 * src/Makefile.am: Remove date_time.cc to source files.
2534 * include/Makefile.in: Regenerate.
2535 * src/Makefile.in: Likewise.
2536 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2537 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2538 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2539 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2540 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2541 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2542 * testsuite/31_date_time/system_time/requirements: Likewise.
2543 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2544 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2545 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2547 2008-07-10 Johannes Singler <singler@ira.uka.de>
2549 * include/parallel/balanced_quicksort.h:
2550 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2552 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
2555 * doc/xml/manual/allocator.xml: Fix links.
2556 * doc/html/*: Regenerate.
2558 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2560 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2561 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2562 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2563 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2565 * libsupc++/eh_arm.cc (__cxa_type_match): Use
2566 __is_gxx_forced_unwind_class to check for forced unwind.
2568 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
2571 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2572 null_metadata.hpp: Remove self-include.
2574 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2576 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
2577 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
2578 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
2580 2008-07-09 Johannes Singler <singler@ira.uka.de>
2583 * include/parallel/random_shuffle.h:
2584 (sequential_random_shuffle) Copy data back.
2585 * testsuite/25_algorithms/random_shuffle/1.cc:
2586 New. Generic random_shuffle functionality test.
2588 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
2590 * include/std/type_traits: Add common_type.
2591 * testsuite/20_util/common_type/requirements/
2592 explicit_instantiation.cc: New.
2593 * testsuite/20_util/common_type/requirements/
2594 typedefs-1.cc: Likewise.
2596 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
2598 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
2599 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
2600 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
2601 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2602 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2603 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2604 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2605 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2606 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2607 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2609 * include/std/type_traits: Fix comment typo.
2611 2008-07-06 Roger Sayle <roger@eyesopen.com>
2613 * include/std/system_error (is_error_code_enum): Use identifier
2614 _Tp instead of _T to avoid conflict with system macro on Darwin.
2615 (is_error_condition_enum): Likewise.
2617 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2619 * include/bits/postypes.h: Do not include <stdint.h>.
2621 * include/Makefile.am: Reorder.
2623 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2625 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
2627 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
2629 * include/std/ratio: Documentation for std::ratio class. Add conditions
2630 to ratio_less to prevent overflow.
2631 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
2632 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
2635 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
2637 * include/std/ratio: New, per N2661.
2638 * include/Makefile.am: Update.
2639 * include/Makefile.in: Regenerate.
2640 * testsuite/20_util/ratio/cons/cons1.cc: New.
2641 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2642 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2643 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2644 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2645 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2646 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2648 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
2651 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
2652 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2654 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2656 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2657 Improve check on long double limits.
2658 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2660 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2662 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2665 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2667 * libsupc++/Makefile.am: Add initializer_list to the headers.
2668 * libsupc++/Makefile.in: Regenerate.
2670 * libsupc++/initializer_list: Minor cosmetic changes.
2672 2008-07-02 Jason Merrill <jason@redhat.com>
2674 * libsupc++/initializer_list: Uglify and wrap in
2675 __GXX_EXPERIMENTAL_CXX0X__.
2676 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
2678 2008-07-02 Jason Merrill <jason@redhat.com>
2680 * libsupc++/initializer_list: New file.
2681 * include/bits/stl_map.h (insert(initializer_list)): New method.
2683 2008-06-30 Alfred E. Heggestad <aeh@db.org>
2685 * include/backward/backward_warning.h: Fix typo.
2687 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2689 * src/string_conversions.cc: Remove.
2690 * config/abi/pre/gnu.ver: Delete exports.
2691 * src/Makefile.am: Update.
2692 * include/ext/string_conversions.h: Add.
2693 * include/Makefile.am: Update.
2694 * include/bits/basic_string.h: Include string_conversions.h,
2695 define numeric conversion functions.
2696 * include/ext/vstring.h: Likewise.
2697 * src/Makefile.in: Regenerate.
2698 * include/Makefile.in: Regenerate.
2700 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2702 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
2703 * include/bits/algorithmfwd.h: Add.
2704 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
2706 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
2707 move_iterators/1.cc: New
2708 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2709 * testsuite/25_algorithms/copy_n/1.cc: New.
2710 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
2711 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
2712 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
2713 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
2714 * testsuite/25_algorithms/copy_n/requirements/
2715 explicit_instantiation/2.cc: Likewise.
2716 * testsuite/25_algorithms/partition_point/requirements/
2717 explicit_instantiation/pod.cc: Likewise.
2719 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2721 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
2722 * include/bits/algorithmfwd.h: Add.
2723 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2724 * testsuite/25_algorithms/partition_point/1.cc: New.
2725 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
2726 * testsuite/25_algorithms/partition_point/requirements/
2727 explicit_instantiation/2.cc: Likewise.
2728 * testsuite/25_algorithms/partition_point/requirements/
2729 explicit_instantiation/pod.cc: Likewise.
2731 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2734 * include/ext/pb_ds/detail/resize_policy/
2735 sample_resize_trigger.hpp: Remove spurious namespace end.
2737 2008-06-27 Mark Mitchell <mark@codesourcery.com>
2739 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
2741 (__aeabi_vec_delete): Likewise.
2742 (__aeabi_vec_delete3): Likewise.
2743 (__aeabi_vec_delete3_nodtor): Likewise.
2745 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2747 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
2748 * include/bits/algorithmfwd.h: Add.
2749 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2750 * testsuite/25_algorithms/is_partitioned/1.cc: New.
2751 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
2752 * testsuite/25_algorithms/is_partitioned/requirements/
2753 explicit_instantiation/2.cc: Likewise.
2754 * testsuite/25_algorithms/is_partitioned/requirements/
2755 explicit_instantiation/pod.cc: Likewise.
2757 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2759 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
2760 * testsuite/util/testsuite_character.h (pod_int): Add operator++
2762 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
2763 * testsuite/26_numerics/iota/1.cc: New.
2764 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2766 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2769 * include/ext/algorithm: Do not fiddle with the legacy headers.
2771 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
2773 * testsuite/26_numerics/accumulate/1.cc: Likewise.
2774 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
2775 * testsuite/26_numerics/inner_product/1.cc: Likewise.
2777 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2779 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
2780 * include/bits/algorithmfwd.h: Add.
2781 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2782 * testsuite/25_algorithms/partition_copy/1.cc: New.
2783 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
2784 * testsuite/25_algorithms/partition_copy/requirements/
2785 explicit_instantiation/2.cc: Likewise.
2786 * testsuite/25_algorithms/partition_copy/requirements/
2787 explicit_instantiation/pod.cc: Likewise.
2789 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
2791 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
2792 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
2793 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
2795 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
2796 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
2797 * testsuite/20_util/unique_ptr/specialized_algorithms/
2798 comparisons_array.cc: Likewise.
2799 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
2801 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
2804 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2806 * include/parallel/base.h (plus, multiplies): Use __typeof__,
2809 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2811 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
2813 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
2814 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
2816 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
2817 * testsuite/util/testsuite_common_types.h (struct assignable,
2818 struct default_constructible, struct copy_constructible,
2819 struct explicit_value_constructible): Use a tad of simulated
2820 concept checking techniques to avoid spurious warnings.
2821 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
2823 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2825 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2827 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
2828 any_of, none_of): Add in C++0x, per N2666.
2829 * include/bits/algorithmfwd.h: Update.
2830 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2831 * testsuite/25_algorithms/all_of/check_type.cc: New.
2832 * testsuite/25_algorithms/all_of/1.cc: Likewise.
2833 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2835 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2837 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
2838 * testsuite/25_algorithms/any_of/1.cc: Likewise.
2839 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2841 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2843 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
2844 * testsuite/25_algorithms/none_of/1.cc: Likewise.
2845 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2847 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2849 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
2850 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
2851 * testsuite/25_algorithms/find_if_not/requirements/
2852 explicit_instantiation/2.cc: Likewise.
2853 * testsuite/25_algorithms/find_if_not/requirements/
2854 explicit_instantiation/pod.cc: Likewise.
2855 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
2856 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
2857 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
2859 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
2861 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
2862 parallel algorithms.
2863 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
2864 * doc/xml/manual/test.xml: Remove empty para tags.
2866 * doc/html/*: Regenerate.
2868 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2870 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
2871 (copy_if): Add, per N2666.
2872 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2874 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2876 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2878 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2879 Chalathip Thumkanon <chalathip@gmail.com>
2882 * include/ext/pb_ds/exception.hpp (__throw_container_error,
2883 __throw_insert_error, __throw_join_error, __throw_resize_error):
2886 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2888 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
2890 * include/bits/algorithmfwd.h: Add.
2891 * doc/xml/manual/intro.xml: Add an entry for DR 809.
2892 * testsuite/25_algorithms/swap/dr809.cc: New.
2894 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2895 2.cc: Remove stray empty line.
2897 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2899 * include/bits/stl_move.h: Rename to move.h.
2900 * include/std/utility: Adjust.
2901 * include/ext/vstring_util.h: Likewise.
2902 * include/ext/throw_allocator.h: Likewise.
2903 * include/ext/pool_allocator.h: Likewise.
2904 * include/ext/bitmap_allocator.h: Likewise.
2905 * include/ext/new_allocator.h: Likewise.
2906 * include/ext/malloc_allocator.h: Likewise.
2907 * include/ext/array_allocator.h: Likewise.
2908 * include/ext/mt_allocator.h: Likewise.
2909 * include/bits/stl_algobase.h: Likewise.
2910 * include/bits/stl_heap.h: Likewise.
2911 * include/bits/stl_pair.h: Likewise.
2912 * include/bits/stl_iterator.h: Likewise.
2913 * testsuite/util/testsuite_allocator.h: Likewise.
2914 * testsuite/util/testsuite_iterators.h: Likewise.
2915 * include/Makefile.am: Likewise.
2916 * include/Makefile.in: Regenerate.
2918 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
2920 * include/bits/unique_ptr.h: New.
2921 * include/std/memory: Adjust.
2922 * include/Makefile.am: Add.
2923 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
2924 explicit_instantiation.cc: New.
2925 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
2926 * include/Makefile.in: Regenerate.
2928 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2930 * include/c_global/climits, include/tr1/climits: Add parentheses.
2932 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2934 * configure: Regenerate.
2936 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
2938 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
2940 * testsuite/24_iterators/operations/next.cc: New.
2941 * testsuite/24_iterators/operations/prev.cc: Likewise.
2943 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
2945 * src/string_conversions.cc (__to_xstring<>): New.
2946 (to_string, to_wstring): Use it.
2948 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
2950 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
2951 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
2952 * src/string_conversions.cc: Add.
2953 * src/Makefile.am: Update.
2954 * config/abi/pre/gnu.ver: Adjust exports.
2955 * src/Makefile.in: Regenerate.
2956 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2958 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2960 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2962 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2964 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2966 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2968 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2970 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
2972 * testsuite/21_strings/basic_string/numeric_conversions/char/
2973 to_string.cc: Likewise.
2974 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2976 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2978 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2980 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2982 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2984 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2986 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2988 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2989 stoull.cc: Likewise.
2990 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2991 to_wstring.cc: Likewise.
2993 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2995 * include/Makefile.am: Remove trailing white space, fix typo.
2996 (parallel_headers): Remove duplicate file, sort entries.
2997 * include/Makefile.in: Regenerate.
2999 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3001 * src/condition_variable.cc (~condition_variable): Drop unused
3004 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3006 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
3007 deque<>::push_front(_Args&&...)): Remove.
3008 (deque<>::push_back(value_type&&),
3009 deque<>::push_front(value_type&&)): Add.
3010 (deque<>::push_back(const value_type&),
3011 deque<>::push_front(const value_type&)): Add back.
3012 (deque<>::emplace_back(_Args&&...),
3013 deque<>::emplace_front(_Args&&...)): Declare...
3014 * include/bits/deque.tcc: ... and define.
3015 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
3016 list<>::push_front(_Args&&...)): Remove.
3017 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3018 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3020 (list<>::push_back(const value_type&),
3021 list<>::push_front(const value_type&)): Add back.
3022 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
3023 (vector<>::push_back(value_type&&)): Add.
3024 (vector<>::push_back(const value_type&)): Add back.
3025 (vector<>::emplace_back(_Args&&...)): Declare...
3026 * include/bits/vector.tcc: ... and define.
3027 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
3028 priority_queue<>::push(_Args&&...)): Remove.
3029 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
3030 priority_queue<>::push(value_type&&),
3031 priority_queue<>::emplace(_Args&&...)): Add.
3032 (queue<>::push(const value_type&),
3033 priority_queue<>::push(const value_type&)): Add back.
3034 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
3035 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
3036 (stack<>::push(const value_type&)): Add back.
3037 * include/debug/deque (deque<>::push_back(_Args&&...),
3038 deque<>::push_front(_Args&&...)): Remove.
3039 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
3040 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
3042 (deque<>::push_back(const value_type&),
3043 deque<>::push_front(const value_type&)): Add back.
3044 * include/debug/list (list<>::push_back(_Args&&...),
3045 list<>::push_front(_Args&&...)): Remove.
3046 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3047 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3049 (list<>::push_back(const value_type&),
3050 list<>::push_front(const value_type&)): Add back.
3051 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
3052 (vector<>::push_back(value_type&&),
3053 vector<>::emplace_back(_Args&&...)): Add.
3054 (vector<>::push_back(const value_type&)): Add back.
3055 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3056 Adjust dg-error line numbers.
3057 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3059 * testsuite/23_containers/deque/requirements/dr438/
3060 constructor_1_neg.cc: Likewise.
3061 * testsuite/23_containers/deque/requirements/dr438/
3062 constructor_2_neg.cc: Likewise.
3063 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3064 Adjust dg-error line numbers.
3065 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3067 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3069 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3071 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3072 Adjust dg-error line numbers.
3073 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3075 * testsuite/23_containers/vector/requirements/dr438/
3076 constructor_1_neg.cc: Likewise.
3077 * testsuite/23_containers/vector/requirements/dr438/
3078 constructor_2_neg.cc: Likewise.
3080 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3082 * include/tr1_impl/array (array<>::assign): Do not define in
3083 C++0x mode, per DR 776...
3084 (array<>::fill): ... define instead.
3085 * doc/xml/manual/intro.xml: Add an entry for DR 776.
3086 * testsuite/23_containers/array/requirements/fill.cc: New.
3088 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
3090 * include/std/complex (pow(const complex<>&, int)): Do not define in
3091 C++0x mode, per DR 844.
3092 * include/tr1/complex (pow(const complex<>&, int)): Remove.
3093 * doc/xml/manual/intro.xml: Add an entry for DR 844.
3094 * testsuite/26_numerics/complex/dr844.cc: New.
3095 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
3097 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
3099 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
3100 cend(size_type)): Add per DR 691.
3101 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
3103 * testsuite/23_containers/unordered_multimap/requirements/
3104 cliterators.cc: Likewise.
3105 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
3107 * testsuite/23_containers/unordered_multiset/requirements/
3108 cliterators.cc: Likewise.
3109 * doc/xml/manual/intro.xml: Add an entry for DR 691.
3111 2008-06-11 Matthias Klose <doko@ubuntu.com>
3113 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
3114 Remove empty directories.
3116 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3118 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
3119 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
3120 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
3121 * configure: Regenerate.
3122 * config/os/solaris/solaris2.5: Remove directory.
3123 * config/os/solaris/solaris2.6: Remove directory.
3124 * config/os/windiss: Remove directory.
3126 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
3128 * doc/xml/manual/using.xml: Outline exception topics.
3130 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
3131 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3132 policy_access_fn_imps.hpp: Same.
3133 * include/ext/pb_ds/priority_queue.hpp: Same.
3134 * include/ext/throw_allocator.h: Same.
3136 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
3137 (sequence_tag): New tag. Doxygen markup fixes.
3139 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
3141 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
3142 comment typo, include paths, format.
3143 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3144 * testsuite/performance/ext/pb_ds/
3145 hash_random_int_erase_mem_usage.cc: Same.
3146 * testsuite/performance/ext/pb_ds/
3147 random_int_subscript_find_timing.cc: Same.
3148 * testsuite/performance/ext/pb_ds/
3149 priority_queue_text_push_timing.cc: Same.
3150 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3151 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3152 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
3153 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
3154 * testsuite/performance/ext/pb_ds/
3155 priority_queue_random_int_push_timing.cc: Same.
3156 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
3157 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3158 * testsuite/performance/ext/pb_ds/
3159 priority_queue_text_push_pop_timing.cc: Same.
3160 * testsuite/performance/ext/pb_ds/
3161 priority_queue_text_join_timing.cc: Same.
3162 * testsuite/performance/ext/pb_ds/
3163 priority_queue_random_int_push_pop_timing.cc: Same.
3164 * testsuite/performance/ext/pb_ds/
3165 random_int_subscript_insert_timing.cc: Same.
3166 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3167 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
3168 * testsuite/performance/ext/pb_ds/
3169 priority_queue_text_pop_mem_usage.cc: Same.
3170 * testsuite/performance/ext/pb_ds/
3171 hash_zlob_random_int_find_timing.cc: Same.
3172 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3173 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3174 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3175 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3176 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3177 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3178 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3179 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3180 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3181 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3182 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3183 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3184 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3185 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3186 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3187 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3188 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3189 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3190 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3191 * testsuite/util/regression/basic_type.hpp: Same.
3192 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3193 * testsuite/util/common_type/priority_queue/detail/
3194 ds_string_form.hpp: Same.
3195 * testsuite/util/common_type/assoc/string_form.hpp: Same.
3196 * testsuite/util/common_type/assoc/detail/
3197 resize_policy_string_form.hpp: Same.
3198 * testsuite/util/common_type/assoc/detail/
3199 trigger_policy_string_form.hpp: Same.
3200 * testsuite/util/common_type/assoc/detail/
3201 comb_hash_fn_string_form.hpp: Same.
3202 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3203 * testsuite/util/common_type/assoc/detail/
3204 size_policy_string_form.hpp: Same.
3205 * testsuite/util/common_type/assoc/detail/
3206 probe_fn_string_form.hpp: Same.
3207 * testsuite/util/common_type/assoc/detail/
3208 list_update_policy_string_form.hpp: Same.
3209 * testsuite/util/common_type/assoc/detail/
3210 store_hash_string_form.hpp: Same.
3211 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3212 * testsuite/util/io/prog_bar.cc: Same.
3214 * testsuite/util/regression/rand/io: Remove.
3215 * testsuite/util/regression/rand/io/priority_queue: Same.
3216 * testsuite/util/regression/rand/io/assoc: Same.
3217 * testsuite/util/regression/rand/io/priority_queue/
3218 xml_formatter.hpp: Consolidate this...
3219 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3220 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3221 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3223 * testsuite/util/regression/rand/priority_queue/
3224 container_rand_regression_test.hpp:To ...
3225 container_rand_regression_test.h: ... this.
3226 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3227 * testsuite/util/regression/rand/priority_queue/
3228 container_rand_regression_test.tcc: ... this.
3229 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3230 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3231 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3232 * testsuite/util/regression/rand/priority_queue/
3233 rand_regression_test.hpp: Adjust includes.
3235 * testsuite/util/regression/rand/assoc/
3236 container_rand_regression_test.hpp: To ...
3237 * testsuite/util/regression/rand/assoc/
3238 container_rand_regression_test.h: ... this.
3239 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3240 * testsuite/util/regression/rand/assoc/
3241 container_rand_regression_test.tcc: ...this.
3242 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3245 * testsuite/util/regression/priority_queue: Remove.
3246 * testsuite/util/regression/assoc: Remove.
3247 * testsuite/util/regression/priority_queue/
3248 common_type.hpp: Consolidate this...
3249 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3250 * testsuite/util/regression/common_type.hpp: ...here.
3252 * testsuite/util/rng: Remove.
3253 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3254 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3255 * testsuite/util/testsuite_rng.h: ...here.
3257 * testsuite/util/native_type/priority_queue: Remove.
3258 * testsuite/util/native_type/priority_queue/
3259 native_priority_queue.hpp: To...
3260 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3262 * testsuite/util/native_type/assoc: Remove.
3263 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3264 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3265 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3266 * testsuite/util/native_type/assoc/native_set.hpp: To...
3267 * testsuite/util/native_type/assoc/native_map.hpp: To...
3268 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3269 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3270 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3271 * testsuite/util/native_type/native_multimap.hpp: ...here.
3272 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3273 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3274 * testsuite/util/native_type/native_set.hpp: ...here.
3275 * testsuite/util/native_type/native_map.hpp: ...here.
3276 * testsuite/util/native_type/native_hash_set.hpp: ...here.
3277 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3278 * testsuite/util/native_type/native_hash_map.hpp: ...here.
3280 * testsuite/util/common_type/priority_queue/common_type.hpp:
3281 Make include guard distinct.
3282 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3284 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3286 * configure.ac: Do not check for gconv.h.
3287 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3288 gconf.h. For glibc and uClibc systems, define
3289 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3291 * configure, config.h.in: Regenerate.
3293 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3295 * testsuite/17_intro/headers/all.cc,
3296 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3297 testsuite/17_intro/headers/all_pedantic_errors.cc,
3298 testsuite/ext/headers.cc: Only include
3299 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3300 _GLIBCXX_HAVE_ICONV.
3302 2008-06-05 Johannes Singler <singler@ira.uka.de>
3304 * include/parallel/random_shuffle.h:
3305 (parallel_random_shuffle_drs) Get the actual number of
3306 threads after entering the parallel region. Indentation.
3307 * include/parallel/algo.h: (random_shuffle(begin, end))
3308 Add namespace qualification to avoid ambiguity.
3310 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
3312 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3313 to allocator_type, as per existing conventions.
3314 * include/ext/pb_ds/detail/binomial_heap_base_/
3315 binomial_heap_base_.hpp: Same.
3316 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3317 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3318 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3319 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3320 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3321 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3322 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3323 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3324 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3325 left_child_next_sibling_heap_.hpp: Same.
3326 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3327 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3328 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3329 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3330 * include/ext/pb_ds/detail/rc_binomial_heap_/
3331 rc_binomial_heap_.hpp: Same.
3332 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3333 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3334 * include/ext/pb_ds/list_update_policy.hpp: Same.
3335 * include/ext/pb_ds/exception.hpp: Same.
3336 * include/ext/pb_ds/tree_policy.hpp: Same.
3337 * include/ext/pb_ds/trie_policy.hpp: Same.
3338 * include/ext/pb_ds/priority_queue.hpp: Same.
3339 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3340 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3341 * testsuite/util/regression/rand/priority_queue/detail/
3342 defs_fn_imps.hpp: Same.
3343 * testsuite/util/regression/rand/priority_queue/detail/
3344 operator_fn_imps.hpp: Same.
3345 * testsuite/util/regression/rand/priority_queue/
3346 container_rand_regression_test.hpp: Same.
3347 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3348 * testsuite/util/regression/rand/assoc/detail/
3349 operator_fn_imps.hpp: Same.
3350 * testsuite/util/regression/rand/assoc/
3351 container_rand_regression_test.hpp: Same.
3352 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3353 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3354 * testsuite/util/common_type/assoc/detail/
3355 tree_supports_order_statistics.hpp: Same.
3356 * testsuite/util/common_type/assoc/detail/
3357 trie_supports_prefix_search.hpp: Same.
3358 * testsuite/util/common_type/assoc/detail/
3359 trie_supports_order_statistics.hpp: Same.
3361 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
3362 Daniel Jacobowitz <dan@codesourcery.com>
3364 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3366 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3367 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3369 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
3371 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3372 avoid a memory leak if the first __uninitialized_move_a throws.
3373 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3375 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3376 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3378 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
3379 Chris Jefferson <chris@bubblescope.net>
3382 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3383 (pop_heap): Slightly tweak.
3385 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
3387 * include/debug/bitset (bitset(const char*)): Implement DR 778
3390 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3391 deal with char16_t and char32_t.
3393 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
3395 * include/c_global/cmath (pow(float, int), pow(double, int),
3396 pow(long double, int)): Do not define in C++0x mode, per DR 550.
3397 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3399 * include/tr1/cmath (pow(double, double), pow(float, float),
3400 pow(long double, long double), pow(_Tp, _Up)): Define.
3401 * include/tr1/complex (pow): Do not bring in from namespace std.
3402 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3403 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3404 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3405 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3406 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3407 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3409 * doc/xml/manual/intro.xml: Add an entry for DR 550.
3410 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3411 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3413 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3415 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3416 * include/std/date_time: Likewise.
3417 * include/std/system_error: Likewise.
3418 * include/std/type_traits: Likewise; fix typo in macro name.
3419 * include/std/regex: Likewise.
3420 * include/std/random: Likewise.
3421 * include/std/unordered_map: Likewise.
3422 * include/std/condition_variable: Likewise.
3423 * include/std/unordered_set: Likewise.
3424 * include/std/mutex: Likewise.
3425 * include/std/array: Likewise.
3427 * include/c_std/cmath: Fix obsolete comment.
3428 * include/c_global/cmath: Likewise.
3430 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3432 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3433 complex<float>::real(float), complex<float>::imag(float),
3434 complex<double>::real(double), complex<double>::imag(double),
3435 complex<long double>::real(long double),
3436 complex<long double>::imag(long double)): Add per DR 387.
3437 (complex<>::real(), complex<>::imag(), complex<float>::real(),
3438 complex<float>::imag(), complex<double>::real(),
3439 complex<double>::imag(), complex<long double>::real(),
3440 complex<long double>::imag(long double)): Adjust in C++0x mode.
3441 (real(complex<>&), imag(complex<>&), real(const complex<>&),
3442 imag(const complex<>&)): Likewise.
3443 * testsuite/26_numerics/complex/dr387.cc: New.
3444 * doc/xml/manual/intro.xml: Add an entry for DR 387.
3446 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3448 * include/std/complex: Trivial stylistic changes, define inline
3449 members inline, consistently with the rest of the library.
3450 (pow(const _Tp&, const complex<>&)): Minor tweak.
3452 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3454 * src/atomic.cc (atomic_flag_test_and_set_explicit,
3455 atomic_flag_clear_explicit): Suppress unused parameter warnings.
3457 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3459 * include/std/tuple: Replace int -> size_t throughout per DR 775.
3460 * include/tr1_impl/array: Likewise.
3461 * include/tr1_impl/utility: Likewise.
3462 * doc/xml/manual/intro.xml: Add an entry for DR 775.
3464 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3466 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
3468 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3470 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
3471 * include/c_global/cmath (fpclassify): Likewise.
3473 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3475 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
3476 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
3477 * testsuite/23_containers/unordered_map/dr761.cc: New.
3478 * doc/xml/manual/intro.xml: Add an entry for DR 761.
3480 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3482 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
3484 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3486 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
3488 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
3489 * include/tr1/complex: ... here.
3490 * doc/xml/manual/intro.xml: Add an entry for DR 781.
3491 * testsuite/26_numerics/complex/dr781.cc: Add.
3492 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
3493 * configure: Regenerate.
3495 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3497 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
3498 (bitset<>::_M_copy_from_ptr): Add.
3499 (bitset<>::_M_copy_from_string): Forward to the latter.
3500 * doc/xml/manual/intro.xml: Add an entry for DR 778.
3501 * testsuite/23_containers/bitset/cons/2.cc: Add.
3503 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3505 * doc/html/ext/lwg-active.html: Update to Revision R56.
3506 * doc/html/ext/lwg-closed.html: Likewise.
3507 * doc/html/ext/lwg-defects.html: Likewise.
3509 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
3511 PR c++/33979 (partial)
3512 * include/tr1_impl/functional_hash.h (hash<char16_t>,
3513 hash<char32_t>): Add specializations.
3514 * include/tr1_impl/type_traits (is_integral<char16_t>,
3515 is_integral<char32_t>): Likewise.
3516 * include/std/limits (numeric_limits<char16_t>,
3517 numeric_limits<char32_t>): Likewise.
3518 * src/limits_c++0x.cc: Add.
3519 * src/Makefile.am: Update.
3520 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
3522 * testsuite/20_util/is_integral/value.cc: New.
3523 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
3524 * testsuite/20_util/is_integral/requirements/
3525 explicit_instantiation.cc: Likewise.
3526 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
3527 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
3529 * configure: Regenerate.
3530 * src/Makefile.in: Likewise.
3531 * config.h.in: Likewise.
3533 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
3535 * include/std/system_error: Align to current draft specifications.
3536 * src/system_error.cc: Same.
3537 * src/functexcept.cc: Adjust for corrected system_error construction.
3538 * include/std/ostream: Adjust error_code inserter.
3539 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
3540 * config/abi/pre/gnu.ver: Add new exports.
3542 * testsuite/util/testsuite_error.h: Consolidate error testing
3544 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
3545 testsuite_error, adjust line numbers and constructor calls.
3546 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
3547 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
3548 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
3549 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
3550 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
3551 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
3552 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3554 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
3555 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
3556 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
3557 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
3558 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
3559 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
3561 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
3563 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
3564 * configure: Regenerate.
3566 2008-05-15 Johannes Singler <singler@ira.uka.de>
3568 * xml/manual/parallel_mode.xml:
3569 General revision and documentation of new compile-time
3570 options for sorting.
3572 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3574 * include/std/mutex (mutex::try_lock): Eat errors.
3575 (mutex::unlock): Same.
3576 (recursive_mutex::try_lock): Eat errors.
3577 (recursive_mutex::unlock): Same.
3578 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
3579 -pthreads, adjust line numbers.
3580 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
3581 * testsuite/30_threads/mutex/cons/1.cc: Same.
3582 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
3583 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
3584 * testsuite/30_threads/mutex/lock/1.cc: Same.
3585 * testsuite/30_threads/mutex/unlock/1.cc: Same.
3586 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
3587 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
3588 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
3590 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3592 * include/std/sstream: Adjust braces.
3593 * include/bits/fstream.tcc: Same.
3594 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
3596 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3598 * doc/doxygen/user.cfg.in: Remove thread include.
3600 2008-05-13 David Daney <ddaney@avtrex.com>
3602 * config/cpu/mips/atomicity.h: Remove file.
3603 * config/cpu/mips: Remove directory.
3604 * configure.host: Remove host specific handling for mips*-*-*.
3606 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
3607 Paolo Carlini <paolo.carlini@oracle.com>
3609 * include/debug/vector (vector<>::_M_requires_reallocation): Just
3610 use this->capacity().
3611 (vector<>::capacity): Move non-pedantic / pedantic logic here.
3612 * testsuite/23_containers/vector/
3613 debug_mode_requires_reallocation-2.cc: New.
3615 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3616 Rename to debug_mode_requires_reallocation-1.cc
3618 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
3619 Paolo Carlini <paolo.carlini@oracle.com>
3621 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
3622 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3625 2008-05-07 Johannes Singler <singler@ira.uka.de>
3627 * include/parallel/quicksort.h:
3628 (parallel_sort_qs_conquer) Explicitly request number of threads
3629 in the parallel clause.
3630 (parallel_sort_qs) Remove setting the number of threads globally.
3632 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3634 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
3635 (recursive_mutex::recursive_mutex): Same.
3636 (once_flag::once_flag): Same.
3637 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
3638 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
3639 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
3640 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
3642 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3644 * include/std/condition_variable: New.
3645 * include/std/mutex: New.
3646 * src/condition_variable.cc: New.
3647 * src/mutex.cc: New.
3648 * include/bits/functexcept.h: Add __throw_system_error varients.
3649 * src/functexcept.cc: Same.
3650 * config/abi/pre/gnu.ver: Add exports.
3652 * doc/xml/manual/using.xml: Add new includes.
3653 * doc/doxygen/user.cfg.in: Doxygen support.
3654 * doc/doxygen/doxygroups.cc: Same.
3656 * include/Makefile.am: Add mutex, condition_variable.
3657 * include/Makefile.in: Regenerated.
3658 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
3659 * src/Makefile.in: Regenerated.
3661 * testsuite/30_threads: New.
3662 * testsuite/30_threads/lock_error: New.
3663 * testsuite/30_threads/mutex: New.
3664 * testsuite/30_threads/mutex/dest: New.
3665 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
3666 * testsuite/30_threads/mutex/native_handle: New.
3667 * testsuite/30_threads/mutex/native_handle/1.cc: New.
3668 * testsuite/30_threads/mutex/cons: New.
3669 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
3670 * testsuite/30_threads/mutex/cons/1.cc: New.
3671 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
3672 * testsuite/30_threads/mutex/requirements: New.
3673 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
3674 * testsuite/30_threads/mutex/try_lock: New.
3675 * testsuite/30_threads/mutex/try_lock/1.cc: New.
3676 * testsuite/30_threads/mutex/try_lock/2.cc: New.
3677 * testsuite/30_threads/mutex/lock: New.
3678 * testsuite/30_threads/mutex/lock/1.cc: New.
3679 * testsuite/30_threads/mutex/unlock: New.
3680 * testsuite/30_threads/mutex/unlock/1.cc: New.
3681 * testsuite/30_threads/recursive_mutex: New.
3682 * testsuite/30_threads/recursive_mutex/dest: New.
3683 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
3684 * testsuite/30_threads/recursive_mutex/native_handle: New.
3685 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
3686 * testsuite/30_threads/recursive_mutex/cons: New.
3687 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
3688 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
3689 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
3690 * testsuite/30_threads/recursive_mutex/requirements: New.
3691 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
3692 * testsuite/30_threads/lock_guard: New.
3693 * testsuite/30_threads/lock_guard/requirements: New.
3694 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
3695 * testsuite/30_threads/lock_guard/requirements/
3696 explicit_instantiation.cc: New.
3697 * testsuite/30_threads/headers: New.
3698 * testsuite/30_threads/headers/mutex: New.
3699 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
3700 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
3701 * testsuite/30_threads/headers/condition_variable: New.
3702 * testsuite/30_threads/headers/condition_variable/
3703 types_std_c++0x.cc: New.
3704 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
3705 * testsuite/30_threads/once_flag: New.
3706 * testsuite/30_threads/unique_lock: New.
3707 * testsuite/30_threads/unique_lock/requirements: New.
3708 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
3709 * testsuite/30_threads/unique_lock/requirements/
3710 explicit_instantiation.cc: New.
3711 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
3713 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3716 * include/bits/c++config: Namespace macros and setup only in C++.
3717 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
3719 2008-05-06 Johannes Singler <singler@ira.uka.de>
3721 * include/parallel/multiway_merge.h:
3722 (multiway_merge_*_unguarded):
3723 Pass sentinel directly, to allow correct determination.
3724 (multiway_merge_loser_tree_unguarded):
3725 Remove over-cautious assertion.
3726 (calls to multiway_merge_*_splitting):
3727 Parametrize with type that is correct in all cases.
3728 * include/parallel/losertree.h:
3729 (delete_min_insert (in many classes)):
3730 Correct and standardize assertions.
3732 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3734 * testsuite/util/testsuite_visualization.h: Move contents into...
3735 * testsuite/util/testsuite_performance.h: ...here.
3736 * testsuite/util/testsuite_common_types.h: Move
3737 performance-related test infrastructure into
3738 testsuite_performance.
3739 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
3740 * testsuite/performance/23_containers/find/map.cc: Same.
3741 * testsuite/performance/23_containers/create/map.cc: Same.
3742 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
3743 * testsuite/performance/23_containers/insert/sequence.cc: Same.
3744 * testsuite/performance/23_containers/insert/associative.cc: Same.
3745 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
3746 * testsuite/performance/23_containers/index/map.cc: Same.
3747 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
3748 * testsuite/performance/23_containers/create_sort/list.cc: Same.
3749 * testsuite/performance/23_containers/sort_search/list.cc: Same.
3750 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
3752 * testsuite/performance/23_containers/producer_consumer/associative.cc:
3755 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
3756 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3758 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3760 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
3761 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
3763 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
3765 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
3767 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3769 * include/Makefile.am (install-headers): Cope with empty
3771 * include/Makefile.in: Regenerate.
3773 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
3775 * include/bits/c++config: Remove space between '#' and 'undef' for
3776 _GLIBCXX_LONG_DOUBLE_COMPAT.
3778 2008-04-29 Joseph Myers <joseph@codesourcery.com>
3780 * Makefile.am (install-html, install-pdf): Add dummy targets.
3781 * Makefile.in: Regenerate.
3782 * doc/Makefile.am (install-html, install-pdf): Remove.
3783 * doc/Makefile.in: Regenerate.
3785 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3787 * include/bits/c++config: Move os_defines and cpu_defines after
3788 namespace definitions and base macros.
3790 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3793 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
3795 * configure: Regenerate.
3797 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3800 * include/std/unordered_map: Include debug/unordered_map if
3802 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
3803 * testsuite/23_containers/unordered_map/requirements/
3804 debug_container.cc: ...here.
3805 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
3806 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
3807 * testsuite/23_containers/unordered_set/requirements/
3808 debug_container.cc: ...here.
3809 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
3811 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3814 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
3815 * configure.ac: Re-order compiler macros.
3816 * configure: Regenerated.
3818 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3821 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
3822 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
3823 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
3824 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
3825 * configure: Regenerate.
3826 * include/Makefile.am (parallel_headers): Make conditional on
3828 * include/Makefile.in: Regenerate.
3830 2008-04-24 Paolo Carlini <pcarlini@suse.de>
3833 * include/debug/list (merge): Use _M_transfer_iter, consistently
3834 with the splice members.
3835 * testsuite/23_containers/list/operations/35969.cc: New.
3837 * testsuite/23_containers/list/operators: Rename to
3838 testsuite/23_containers/list/operations.
3840 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3842 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
3843 all used __sync builtins, in two sizes.
3844 * config.h.in: Regenerate.
3845 * configure: Regenerate.
3846 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
3847 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3848 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3849 * doc/xml/manual/concurrency.xm: Update docs.
3851 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
3853 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
3854 _GLIBCXX_BEGIN_EXTERN_C, etc.
3856 2008-04-23 Johannes Singler <singler@ira.uka.de>
3858 * include/parallel/quicksort.h: Reformat,
3859 (parallel_sort_qs): Do not pass number of elements.
3860 * include/parallel/balanced_quicksort.h: Reformat,
3861 (parallel_sort_qsb): Do not pass number of elements.
3862 * include/parallel/tags.h:
3863 Introduce new tags for compile-time choice.
3864 * include/parallel/merge.h:
3865 (parallel_merge_advance):Beautified.
3866 * include/parallel/algo.h: Reformatting (spaces for tabs)
3867 New sort and stable_sort variants, corresponding to the tags.
3868 * include/parallel/sort.h:
3869 New sort and stable_sort variants, corresponding to the tags.
3870 Changed determining the desired number of threads.
3872 2008-04-23 Johannes Singler <singler@ira.uka.de>
3874 * include/parallel/multiway_merge.h
3875 (multiway_merge_loser_tree):
3876 Leave checks to callers, add precondition instead.
3877 (multiway_merge_loser_tree_unguarded): Likewise.
3878 (multiway_merge_loser_tree_sentinel): Likewise.
3879 (sequential_multiway_merge): Added checks for total length 0.
3880 (parallel_multiway_merge): Skip empty sequences.
3881 (multiway_merge, all variants):
3882 Remove temporary variable, return directly.
3883 (stable_multiway_merge, all variants): Likewise.
3884 (multiway_merge_sentinels, all variants): Likewise.
3885 (stable_multiway_merge_sentinels, all variants): Likewise.
3886 * include/parallel/multiseq_selection.h
3887 (multiseq_partition): More detailed assertions.
3889 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3891 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
3892 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
3893 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
3894 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
3895 * configure: Regenerate.
3897 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3900 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
3901 Call 'mkdir -p' unconditionally, but ignore its return value.
3902 * include/Makefile.in: Regenerate.
3904 * include/Makefile.am: Fix most stamp rules to regenerate
3905 the links for all sources newer than the stamp file.
3906 * include/Makefile.in: Regenerate.
3907 * Makefile.in: Likewise.
3908 * src/Makefile.in: Likewise.
3909 * doc/Makefile.in: Likewise.
3910 * po/Makefile.in: Likewise.
3911 * libmath/Makefile.in: Likewise.
3912 * libsupc++/Makefile.in: Likewise.
3913 * testsuite/Makefile.in: Likewise.
3915 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
3918 * aclocal.m4: Regenerate.
3919 * configure: Regenerate.
3921 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
3924 * configure.ac: Use GCC_HEADER_STDINT.
3925 * src/atomic.cc: Include gstdint.h
3926 * configure: Regenerate.
3927 * Makefile.in: Likewise.
3928 * doc/Makefile.in: Likewise.
3929 * include/Makefile.in: Likewise.
3930 * libmath/Makefile.in: Likewise.
3931 * libsupc++/Makefile.in: Likewise.
3932 * po/Makefile.in: Likewise.
3933 * src/Makefile.in: Likewise.
3934 * testsuite/Makefile.in: Likewise.
3935 * aclocal.m4: Likewise.
3937 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3940 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
3941 -O0 when checking for atomic builtins.
3942 * configure: Regenerate.
3944 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3946 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
3948 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3950 * doc/html/*: Regenerate.
3952 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3954 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
3955 * doc/xml/authors.xml: Fix typos.
3956 * doc/xml/faq.xml: Likewise.
3957 * doc/xml/manual/abi.xml: Likewise.
3958 * doc/xml/manual/allocator.xml: Likewise.
3959 * doc/xml/manual/appendix_contributing.xml: Likewise.
3960 * doc/xml/manual/backwards_compatibility.xml: Likewise.
3961 * doc/xml/manual/build_hacking.xml: Likewise.
3962 * doc/xml/manual/codecvt.xml: Likewise.
3963 * doc/xml/manual/concurrency.xml: Likewise.
3964 * doc/xml/manual/ctype.xml: Likewise.
3965 * doc/xml/manual/debug_mode.xml: Likewise.
3966 * doc/xml/manual/diagnostics.xml: Likewise.
3967 * doc/xml/manual/evolution.xml: Likewise.
3968 * doc/xml/manual/extensions.xml: Likewise.
3969 * doc/xml/manual/locale.xml: Likewise.
3970 * doc/xml/manual/messages.xml: Likewise.
3971 * doc/xml/manual/parallel_mode.xml: Likewise.
3972 * doc/xml/manual/status_cxx200x.xml: Likewise.
3973 * doc/xml/manual/strings.xml: Likewise.
3974 * doc/xml/manual/support.xml: Likewise.
3975 * doc/xml/manual/test.xml: Likewise.
3976 * doc/xml/manual/using.xml: Likewise.
3978 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3979 Johannes Singler <singler@ira.uka.de>
3981 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
3982 insertors. Correct omp_set_num_threads example.
3984 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3986 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
3987 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
3988 * src/atomic.c: Format, doxygen markup, edits.
3990 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
3991 * src/Makefile.am (atomic.c): Add.
3992 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
3993 * configure.ac: Call it.
3994 * include/Makefile.in: Regenerate.
3995 * src/Makefile.in: Same.
3996 * Makefile.in: Same.
3997 * doc/Makefile.in: Same.
3998 * po/Makefile.in: Same.
3999 * libmath/Makefile.in: Same.
4000 * include/Makefile.in: Same.
4001 * testsuite/Makefile.in: Same.
4002 * libsupc++/Makefile.in: Same.
4003 * config.h.in: Same.
4006 * config/abi/pre/gnu.ver: Add atomics exports.
4008 * include/ext/typelist.h (apply_generator): New.
4009 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
4010 (_GLIBCXX_END_EXTERN_C): New.
4011 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
4013 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
4015 * testsuite/util/testsuite_common_types.h (integral_types): New
4017 (atomics, atomics_tl): Same.
4018 (assignable, default_constructible, copy_constructible,
4019 explicit_value_constructible): New.
4020 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
4021 * testsuite/29_atomics: New.
4022 * testsuite/29_atomics/atomic_address: Same.
4023 * testsuite/29_atomics/atomic_address/cons: Same.
4024 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
4025 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
4026 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
4027 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
4028 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
4029 * testsuite/29_atomics/atomic_flag: Same.
4030 * testsuite/29_atomics/atomic_flag/cons: Same.
4031 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
4032 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
4033 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
4034 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
4035 * testsuite/29_atomics/atomic_flag/requirements: Same.
4036 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
4038 * testsuite/29_atomics/atomic_flag/
4039 atomic_global_fence_compatibility.cc: Same.
4040 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
4041 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
4042 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
4043 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4044 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
4045 * testsuite/29_atomics/headers: Same.
4046 * testsuite/29_atomics/headers/cstdatomic: Same.
4047 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
4048 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
4049 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
4050 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
4051 * testsuite/29_atomics/headers/stdatomic.h: Same.
4052 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
4053 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
4054 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
4055 * testsuite/29_atomics/atomic: Same.
4056 * testsuite/29_atomics/atomic/cons: Same.
4057 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
4058 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
4059 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4060 * testsuite/29_atomics/atomic/cons/default.cc: Same.
4061 * testsuite/29_atomics/atomic/requirements: Same.
4062 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
4063 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
4066 2008-04-10 Lawrence Crowl <crowl@google.com>
4068 * include/c_global/cstdatomic: New.
4069 * include/c_compatibility/stdatomic.h: New.
4070 * src/atomic.c: New.
4072 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4074 * include/std/tuple: Consistency check for include guard, doxygen
4076 * include/std/date_time: Same.
4077 * include/std/type_traits: Same.
4078 * include/std/regex: Same.
4079 * include/std/array: Same.
4080 * include/std/system_error: Same, add error_code ctor.
4082 2008-04-07 Johannes Singler <singler@ira.uka.de>
4084 * include/parallel/multiway_merge.h: Moved decisions to
4085 compile-time instead of run-time.
4086 * include/parallel/losertree.h: Removed obsolete variants, added
4087 variant that uses pointers in the loser tree.
4088 * include/parallel/types.h: Remove obsolete settings options from enum.
4089 * include/parallel/features.h: Remove obsolete compile-time switches.
4090 * include/parallel/compiletime_settings.h: Remove obsolete variant
4091 that copies back *after* sorting.
4092 * include/parallel/tags.h: Add one new tag for compile-time switch.
4093 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
4094 * include/parallel/multiway_mergesort.h: Adapt to changes in
4095 multiway_merge.h. Factor out splitting variants. Remove obsolete
4096 variant that copies back *after* sorting.
4097 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
4098 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
4101 2008-03-29 Paolo Carlini <pcarlini@suse.de>
4104 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
4105 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
4106 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
4107 _Tp)): Fix signatures.
4108 * testsuite/25_algorithms/fill/35725.cc: New.
4109 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
4111 2008-03-29 Matthias Klose <doko@ubuntu.com>
4113 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
4114 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
4115 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
4116 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
4118 2008-03-27 Ian Lance Taylor <iant@google.com>
4120 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
4121 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
4122 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
4123 * aclocal.m4, configure: Rebuild.
4125 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
4127 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
4128 symbol_names typedefs.
4129 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
4130 for long double compatiblity symbols, simplify data structures used.
4132 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
4134 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
4136 * doc/doxygen/style.css: Delete.
4137 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
4139 (PREDEFINED): Update.
4140 (HTML_OUTPUT): Remove html_output_dir, use html.
4141 (HTML_STYLESHEET): Remove style.css.
4142 * doc/doxygen/tables.html: Remove style.css use.
4143 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
4144 * doc/doxygen/doxygroups.cc: Namespace edits.
4145 * doc/doxygen/Intro.3: Correct typo.
4147 * doc/xml/api.xml: Add gcc-4.3 links.
4148 * doc/html/api.html: Regenerate.
4150 * include/debug/debug.h: Document namepaces here.
4151 * include/parallel/base.h: Same.
4152 * include/ext/typelist.h: Same.
4153 * include/ext/pb_ds/tag_and_trait.hpp: Same.
4155 * include/tr1_impl/random: Adjust line break.
4156 * include/tr1_impl/unordered_map: Correct and or add markup.
4157 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
4158 * include/tr1_impl/functional_hash.h: Same.
4159 * include/tr1_impl/cmath: Same.
4160 * include/tr1_impl/functional: Same.
4161 * include/tr1_impl/unordered_set: Same.
4162 * include/tr1_impl/complex: Same.
4163 * include/tr1_impl/type_traits: Same.
4164 * include/tr1_impl/regex: Same.
4165 * include/tr1_impl/array: Same.
4166 * include/std/tuple: Same.
4167 * include/std/date_time: Same.
4168 * include/std/system_error: Same.
4169 * include/std/type_traits: Same.
4170 * include/ext/enc_filebuf.h: Same.
4171 * include/ext/throw_allocator.h: Same.
4172 * include/ext/pool_allocator.h: Same.
4173 * include/ext/bitmap_allocator.h: Same.
4174 * include/ext/concurrence.h: Same.
4175 * include/ext/codecvt_specializations.h: Same.
4176 * include/ext/stdio_sync_filebuf.h: Same.
4177 * include/ext/array_allocator.h: Same.
4178 * include/ext/mt_allocator.h: Same.
4179 * include/bits/locale_classes.h: Same.
4180 * include/bits/locale_facets.h: Same.
4181 * include/bits/codecvt.h: Same.
4182 * include/bits/char_traits.h: Same.
4183 * include/bits/allocator.h: Same.
4184 * include/bits/locale_facets_nonio.h: Same.
4185 * include/tr1/poly_laguerre.tcc: Same.
4186 * include/tr1/riemann_zeta.tcc: Same.
4187 * include/tr1/beta_function.tcc: Same.
4188 * include/tr1/tuple: Same.
4189 * include/tr1/exp_integral.tcc: Same.
4190 * include/tr1/gamma.tcc: Same.
4191 * include/tr1/hypergeometric.tcc: Same.
4192 * include/tr1/modified_bessel_func.tcc: Same.
4193 * include/tr1/legendre_function.tcc: Same.
4194 * include/tr1/type_traits: Same.
4195 * include/tr1/special_function_util.h: Same.
4196 * include/tr1/bessel_function.tcc: Same.
4197 * include/tr1/cmath: Same.
4198 * include/tr1/poly_hermite.tcc: Same.
4199 * include/tr1/ell_integral.tcc: Same.
4200 * config/abi/compatibility.h: Adjust file name.
4202 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4204 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4205 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4207 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4209 * doc/xml/faq.xml: Fix various links.
4210 * doc/xml/api.xml: Likewise.
4211 * doc/xml/manual/parallel_mode.xml: Likewise.
4212 * doc/html/faq.html: Regenerate.
4213 * doc/html/api.html: Likewise.
4214 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4216 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4218 * testsuite/util/testsuite_abi.cc: Add support for not counting
4219 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4222 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4225 * include/tr1_impl/type_traits (struct __in_array): Add back.
4226 (is_function): Use it.
4227 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4229 2008-03-20 Johannes Singler <singler@ira.uka.de>
4231 * include/parallel/set_operations.h (set_intersection): Remove.
4233 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4236 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4237 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4239 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4241 * configure.ac (libtool_VERSION): To 6:11:0.
4242 * configure: Regenerate.
4243 * aclocal.m4: Regenerate.
4245 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4247 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4249 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4250 * include/precompiled/stdc++.h: Likewise.
4252 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4254 * include/std/date_time: New file.
4255 * src/date_time.cc: New file.
4256 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4257 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4258 that matched new symbols.
4259 * include/Makefile.am: Add date_time in std headers.
4260 * src/Makefile.am: Add date_time.cc to source files.
4261 * include/Makefile.in: Regenerate.
4262 * src/Makefile.in: Likewise.
4264 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4266 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4267 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4268 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4269 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4270 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4271 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4272 * testsuite/31_date_time/system_time/requirements: Likewise.
4273 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4275 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4277 * config.h.in: Regenerate.
4279 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4281 * aclocal.m4: Regenerate.
4282 * configure: Likewise.
4283 * Makefile.in: Likewise.
4284 * doc/Makefile.in: Likewise.
4285 * include/Makefile.in: Likewise.
4286 * libmath/Makefile.in: Likewise.
4287 * libsupc++/Makefile.in: Likewise.
4288 * po/Makefile.in: Likewise.
4289 * src/Makefile.in: Likewise.
4290 * testsuite/Makefile.in: Likewise.
4292 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
4295 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4296 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4298 2008-03-13 Paolo Carlini <pcarlini@suse.de>
4301 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4302 * testsuite/25_algorithms/set_difference/35541.cc: New.
4304 2008-03-07 Jakub Jelinek <jakub@redhat.com>
4306 * config/abi/pre/gnu.ver: Move <system_error> related
4307 symbols to GLIBCXX_3.4.11 symbol version.
4308 * testsuite/util/testsuite_abi.cc (check_version): Allow
4311 2008-03-06 Chris Jefferson <chris@bubblescope.net>
4312 Paolo Carlini <pcarlini@suse.de>
4315 * include/tr1/tuple (operator==, operator<): Fix.
4316 * include/std/tuple (operator==, operator<): Likewise.
4317 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4318 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
4320 2008-03-04 Joseph Myers <joseph@codesourcery.com>
4322 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
4324 * configure: Regenerate.
4326 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
4328 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
4329 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
4330 Mark changed error message prelude, adding "in file included from",
4331 using dg-excess-errors.
4333 2008-03-01 Jakub Jelinek <jakub@redhat.com>
4335 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
4336 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4337 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4338 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
4339 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4341 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4342 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4344 2008-02-29 Jakub Jelinek <jakub@redhat.com>
4346 * config/abi/pre/gnu.ver: Remove
4347 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
4348 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
4349 * config/os/gnu-linux/ldbl-extra.ver: Export
4350 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
4351 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
4352 * src/hash.cc: Only define long double hash specialization if
4353 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
4354 * src/compatibility-ldbl.cc: Include "hash.cc".
4355 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
4356 (_ZNKSt4hashIeEclEe): New alias.
4357 * testsuite/util/testsuite_abi.cc (check_version): Support
4358 GLIBCXX_LDBL_3.4.10.
4360 2008-02-25 Jan Beulich <jbeulich@novell.com>
4362 * acinclude.m4: Also check for EIDRM and ETXTBSY.
4363 * configure: Re-generate.
4364 * config/os/generic/error_constants.h (namespace posix_error):
4365 Also wrap uses of EIDRM and ETXTBSY in conditionals.
4366 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
4369 2008-02-20 Jason Merrill <jason@redhat.com>
4371 * include/bits/c++config: Use 'inline namespace' instead of
4374 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
4376 * include/std/tuple: Fixes for moveable, non-copyable types.
4377 * testsuite/20_util/tuple/moveable2.cc: New.
4379 2008-02-18 Paolo Carlini <pcarlini@suse.de>
4381 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
4383 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
4385 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
4386 * include/tr1/exp_integral.tcc: Same.
4387 * include/tr1/gamma.tcc: Same.
4388 * include/tr1/hypergeometric.tcc: Same.
4390 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
4393 * include/parallel/settings.h (_Settings): Reconstruct Settings class
4394 here, uglify, remove anonymous namespace and static
4395 members. Convert to datum.
4396 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
4397 * src/parallel_settings.cc: New, definition for _Settings member
4399 * include/parallel/multiway_merge.h: Same.
4400 * include/parallel/for_each.h: Same.
4401 * include/parallel/workstealing.h: Same.
4402 * include/parallel/base.h: Same.
4403 * include/parallel/numeric
4404 * include/parallel/features.h: Same.
4405 * include/parallel/quicksort.h: Same.
4406 * include/parallel/equally_split.h: Same.
4407 * include/parallel/algorithmfwd.h: Same.
4408 * include/parallel/omp_loop_static.h: Same.
4409 * include/parallel/random_shuffle.h: Same.
4410 * include/parallel/balanced_quicksort.h: Same.
4411 * include/parallel/tags.h: Same.
4412 * include/parallel/multiway_mergesort.h: Same.
4413 * include/parallel/numericfwd.h: Same.
4414 * include/parallel/partition.h: Same.
4415 * include/parallel/partial_sum.h: Same.
4416 * include/parallel/find.h: Same.
4417 * include/parallel/algo.h: Same.
4418 * include/parallel/omp_loop.h: Same.
4419 * include/parallel/sort.h: Same.
4421 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
4422 * src/Makefile.in: Regenerate.
4424 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
4426 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4429 * include/parallel/types.h: Reinstate integer types typedefs.
4430 * include/parallel/multiseq_selection.h: Adjust.
4431 * include/parallel/compatibility.h: Likewise.
4432 * include/parallel/random_shuffle.h: Likewise.
4433 * include/parallel/random_number.h: Likewise.
4434 * include/parallel/base.h: Likewise.
4436 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4439 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
4440 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
4441 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
4443 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
4445 * include/parallel/random_number.h: Use TR1's mersenne_twister.
4446 (random_number::genrand_bits()): Remove.
4447 (random_number::set_seed): Remove.
4449 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4451 * include/parallel/types.h: Remove enum parallelism.
4453 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4455 * include/parallel/types.h: Move enum parallelism here. Use
4456 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
4458 * include/parallel/multiseq_selection.h: Adjust for cstdint.
4459 * include/parallel/compatibility.h: Same.
4460 * include/parallel/tags.h: Just compile-time tags.
4461 * include/parallel/base.h: Put namespace bits here.
4463 * src/Makefile.am (PARALLEL_FLAGS): Use it.
4464 * src/Makefile.in: Regenerate.
4466 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
4468 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
4470 * testsuite/config/default.exp: Load gcc dejapatches.exp.
4472 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4474 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
4477 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
4479 * config/os/generic/error_constants.h (posix_errno): Guard
4480 not_supported use of ENOTSUP.
4481 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
4483 * aclocal.m4: Regenerate.
4484 * configure: Rengerate.
4485 * config.h.in: Same.
4487 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
4489 * doc/doxygen/mainpage.html: Correct links.
4491 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4493 * doc/html/*: Populate with regenerated files.
4495 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4497 * doc/html/*: Remove all but contents of ext/pb_ds.
4498 * doc/html/index.html: New.
4499 * doc/html/README: New.
4501 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4503 * doc/doxygen/mainpage.html: Add in corrected links.
4504 * README: Edit, move most into...
4505 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
4506 (Documentation Style): Revise.
4507 * doc/xml/spine.xml: Edit file names.
4508 * doc/Makefile.am: Edit xml_sources.
4509 * doc/Makefile.in: Regenerate.
4511 2008-02-11 Paolo Carlini <pcarlini@suse.de>
4513 * configure: Regenerate with documented autoconf and automake
4514 versions (i.e., 2.59 and 1.9.6).
4515 * Makefile.in: Likewise.
4516 * src/Makefile.in: Likewise.
4517 * doc/Makefile.in: Likewise.
4518 * po/Makefile.in: Likewise.
4519 * libmath/Makefile.in: Likewise.
4520 * include/Makefile.in: Likewise.
4521 * libsupc++/Makefile.in: Likewise.
4522 * testsuite/Makefile.in: Likewise.
4523 * aclocal.m4: Likewise.
4525 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
4527 Convert documentation to DocBook.
4528 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
4529 (doc-doxygen-man): Changed to doc-man-doxygen.
4530 (doc-performance): Changed to doc-html-performance.
4531 (doc-xml-doxygen): New.
4532 (doc-xml-single): New.
4533 (doc-xml-validate): New.
4535 (doc-html-single): New.
4538 (doc-pdf-fop-xml): New.
4539 (doc-pdf-fop-fo): New.
4540 (doc-pdf-xmlto): New.
4541 (doc-pdf-xmlroff): New.
4542 (doc-pdf-prince): New.
4543 * doc/xml: New directory.
4544 * doc/xml/authors.xml: New.
4545 * doc/xml/images: New directory.
4546 * doc/xml/images/confdeps.png: Add.
4547 * doc/xml/images/confdeps.dot: Add.
4548 * doc/xml/faq.xml: New.
4549 * doc/xml/api.xml: New.
4550 * doc/xml/gnu: New directory.
4551 * doc/xml/gnu/gpl-3.0.xml: New.
4552 * doc/xml/gnu/fdl-1.2.xml: New.
4553 * doc/xml/gnu/gpl-2.0.xml: New.
4554 * doc/xml/manual: New directory.
4555 * doc/xml/manual/mt_allocator.xml: New.
4556 * doc/xml/manual/allocator.xml: New.
4557 * doc/xml/manual/ctype.xml: New.
4558 * doc/xml/manual/numerics.xml: New.
4559 * doc/xml/manual/codecvt.xml: New.
4560 * doc/xml/manual/concurrency.xml: New.
4561 * doc/xml/manual/backwards_compatibility.xml: New.
4562 * doc/xml/manual/intro.xml: New.
4563 * doc/xml/manual/shared_ptr.xml: New.
4564 * doc/xml/manual/abi.xml: New.
4565 * doc/xml/manual/status_cxxtr1.xml: New.
4566 * doc/xml/manual/auto_ptr.xml: New.
4567 * doc/xml/manual/build.xml: New.
4568 * doc/xml/manual/internals.xml: New.
4569 * doc/xml/manual/parallel_mode.xml: New.
4570 * doc/xml/manual/status_cxx1998.xml: New.
4571 * doc/xml/manual/containers.xml: New.
4572 * doc/xml/manual/io.xml: New.
4573 * doc/xml/manual/appendix_porting.xml: New.
4574 * doc/xml/manual/utilities.xml: New.
4575 * doc/xml/manual/bitmap_allocator.xml: New.
4576 * doc/xml/manual/support.xml: New.
4577 * doc/xml/manual/configure.xml: New.
4578 * doc/xml/manual/build_hacking.xml: New.
4579 * doc/xml/manual/evolution.xml: New.
4580 * doc/xml/manual/using.xml: New.
4581 * doc/xml/manual/debug.xml: New.
4582 * doc/xml/manual/localization.xml: New.
4583 * doc/xml/manual/strings.xml: New.
4584 * doc/xml/manual/debug_mode.xml: New.
4585 * doc/xml/manual/locale.xml: New.
4586 * doc/xml/manual/extensions.xml: New.
4587 * doc/xml/manual/appendix_contributing.xml: New.
4588 * doc/xml/manual/messages.xml: New.
4589 * doc/xml/manual/diagnostics.xml: New.
4590 * doc/xml/manual/appendix_free.xml: New.
4591 * doc/xml/manual/algorithms.xml: New.
4592 * doc/xml/manual/iterators.xml: New.
4593 * doc/xml/manual/spine.xml: New.
4594 * doc/xml/manual/test.xml: New.
4595 * doc/xml/manual/status_cxx200x.xml: New.
4596 * doc/xml/spine.xml: New.
4598 * doc/xml/book.txml: New. Template file.
4599 * doc/xml/chapter.txml: Same.
4600 * doc/xml/class.txml: Same.
4602 * doc/doxygen/guide.html: Removed, integrated into other docs.
4603 * doc/doxygen/user.cfg.in: Clean up XML generation.
4604 * doc/doxygen/run_doxygen: Move to..
4605 * scripts/run_doxygen: ...here.
4607 * configure: Regenerate.
4608 * Makefile.in: Regenerate.
4609 * src/Makefile.in: Regenerate.
4610 * doc/Makefile.in: Regenerate.
4611 * po/Makefile.in: Regenerate.
4612 * libmath/Makefile.in: Regenerate.
4613 * include/Makefile.in: Regenerate.
4614 * libsupc++/Makefile.in: Regenerate.
4615 * testsuite/Makefile.in: Regenerate.
4616 * aclocal.m4: Regenerate.
4618 2008-02-10 Paolo Carlini <pcarlini@suse.de>
4621 * include/std/istream (basic_istream<>::basic_istream()): Call
4623 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
4624 do it here, per 27.6.1.5.1/1.
4625 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
4627 * testsuite/27_io/basic_iostream/cons/16251.C: New.
4629 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
4631 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4633 * include/backward/auto_ptr.h: Fix comment typos.
4634 * include/bits/algorithmfwd.h: Likewise.
4635 * include/bits/basic_ios.h: Likewise.
4636 * include/bits/c++config: Likewise.
4637 * include/bits/char_traits.h: Likewise.
4638 * include/bits/codecvt.h: Likewise.
4639 * include/bits/gslice.h: Likewise.
4640 * include/bits/ios_base.h: Likewise.
4641 * include/bits/locale_facets.h: Likewise.
4642 * include/bits/locale_facets_nonio.tcc: Likewise.
4643 * include/bits/postypes.h: Likewise.
4644 * include/bits/sstream.tcc: Likewise.
4645 * include/bits/stl_algo.h: Likewise.
4646 * include/bits/stl_deque.h: Likewise.
4647 * include/bits/stl_iterator.h: Likewise.
4648 * include/bits/stl_iterator_base_types.h Likewise.
4649 * include/bits/stl_list.h: Likewise.
4650 * include/bits/stl_map.h: Likewise.
4651 * include/bits/stl_multimap.h: Likewise.
4652 * include/bits/stl_multiset.h: Likewise.
4653 * include/bits/stl_set.h: Likewise.
4654 * include/bits/stl_vector.h: Likewise.
4655 * include/bits/valarray_array.h: Likewise.
4656 * include/debug/safe_base.h: Likewise.
4657 * include/ext/bitmap_allocator.h: Likewise.
4658 * include/ext/codecvt_specializations.h Likewise.
4659 * include/ext/mt_allocator.h: Likewise.
4660 * include/ext/rc_string_base.h: Likewise.
4661 * include/ext/rope: Likewise.
4662 * include/parallel/checkers.h: Likewise.
4663 * include/parallel/find.h: Likewise.
4664 * include/parallel/multiseq_selection.h: Likewise.
4665 * include/parallel/partition.h: Likewise.
4666 * include/parallel/settings.h: Likewise.
4667 * include/std/bitset: Likewise.
4668 * include/std/complex: Likewise.
4669 * include/std/fstream: Likewise.
4670 * include/std/istream: Likewise.
4671 * include/std/limits: Likewise.
4672 * include/std/ostream: Likewise.
4673 * include/std/stdexcept: Likewise.
4674 * include/std/streambuf: Likewise.
4675 * include/tr1/bessel_function.tcc: Likewise.
4676 * include/tr1/cmath: Likewise.
4677 * include/tr1/ell_integral.tcc: Likewise.
4678 * include/tr1/hypergeometric.tcc: Likewise.
4679 * include/tr1/legendre_function.tcc: Likewise.
4680 * include/tr1_impl/random: Likewise.
4681 * include/tr1_impl/regex: Likewise.
4683 2008-01-31 Paolo Carlini <pcarlini@suse.de>
4685 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
4686 Avoid -Wall warnings.
4687 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
4689 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4691 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
4692 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
4693 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
4694 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
4696 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
4698 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
4700 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
4701 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
4703 * testsuite/tr1/6_containers/array/comparison_operators/
4704 less_or_equal.cc: Likewise.
4705 * testsuite/tr1/6_containers/array/comparison_operators/
4706 greater_or_equal.cc: Likewise.
4707 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
4709 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
4711 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
4713 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
4715 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
4716 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
4718 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
4719 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
4720 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
4721 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
4723 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
4724 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
4725 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
4726 * testsuite/thread/guard.cc: Likewise.
4727 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
4728 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
4729 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
4730 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
4731 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
4732 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
4733 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
4736 2008-01-26 David Edelsohn <edelsohn@gnu.org>
4739 * config/os/aix/os_defines.h: Define __COMPATMATH__.
4741 2008-01-24 David Edelsohn <edelsohn@gnu.org>
4743 * configure: Regenerate.
4745 2008-01-21 Matthias Klose <doko@ubuntu.com>
4747 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
4749 2008-01-19 Paolo Carlini <pcarlini@suse.de>
4751 * configure: Regenerate.
4752 * Makefile.in: Likewise.
4753 * src/Makefile.in: Likewise.
4754 * doc/Makefile.in: Likewise.
4755 * po/Makefile.in: Likewise.
4756 * libmath/Makefile.in: Likewise.
4757 * include/Makefile.in: Likewise.
4758 * libsupc++/Makefile.in: Likewise.
4759 * testsuite/Makefile.in: Likewise.
4760 * aclocal.m4: Likewise.
4762 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
4766 * testsuite/Makefile.am: Move doc-performance to...
4767 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
4768 * doc/Makefile.am: Consolidate documentation creation here.
4769 (doc-doxygen-html): New.
4770 (doc-doxygen-man): New.
4771 (doc-performance): New.
4772 * doc/Makefile.in: New.
4773 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
4774 * doc/doxygen/guide.html: Edit for unified html configuration.
4775 * doc/doxygen/mainpage.html: Same.
4776 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
4778 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
4780 * include/tr1_impl/random: Remove maint from doxygen markup.
4781 * include/tr1_impl/functional: Same.
4782 * include/std/tuple: Same.
4783 * include/std/streambuf: Same.
4784 * include/std/bitset: Same.
4785 * include/std/limits: Same.
4786 * include/std/fstream: Same.
4787 * include/std/istream: Same.
4788 * include/std/sstream: Same.
4789 * include/ext/pool_allocator.h: Same.
4790 * include/ext/rc_string_base.h: Same.
4791 * include/bits/basic_ios.h: Same.
4792 * include/bits/stl_list.h: Same.
4793 * include/bits/stl_map.h: Same.
4794 * include/bits/locale_classes.h: Same.
4795 * include/bits/stl_set.h: Same.
4796 * include/bits/stl_iterator_base_types.h: Same.
4797 * include/bits/basic_string.h: Same.
4798 * include/bits/stl_multimap.h: Same.
4799 * include/bits/stl_vector.h: Same.
4800 * include/bits/ios_base.h: Same.
4801 * include/bits/stl_deque.h: Same.
4802 * include/bits/postypes.h: Same.
4803 * include/bits/stl_multiset.h: Same.
4804 * include/bits/stl_algo.h: Same.
4805 * include/bits/stl_iterator.h: Same.
4806 * include/bits/stl_tempbuf.h: Same.
4807 * include/bits/stl_construct.h: Same.
4808 * include/bits/stl_relops.h: Same.
4809 * include/tr1/tuple: Same.
4810 * include/backward/auto_ptr.h: Same.
4812 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4813 Fixups for line number changes.
4814 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4815 * testsuite/23_containers/vector/requirements/dr438/
4816 constructor_1_neg.cc: Same.
4817 * testsuite/23_containers/vector/requirements/dr438/
4818 constructor_2_neg.cc: Same.
4819 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4820 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4821 * testsuite/23_containers/deque/requirements/dr438/
4822 constructor_1_neg.cc: Same.
4823 * testsuite/23_containers/deque/requirements/dr438/
4824 constructor_2_neg.cc: Same.
4825 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4826 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4827 * testsuite/23_containers/list/requirements/dr438/
4828 constructor_1_neg.cc: Same.
4829 * testsuite/23_containers/list/requirements/dr438/
4830 constructor_2_neg.cc: Same.
4831 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
4833 * aclocal.m4: Regenerate.
4834 * config.h.in: Regenerate.
4835 * configure: Regenerate.
4836 * Makefile.in: Regenerate.
4837 * src/Makefile.in: Regenerate.
4838 * po/Makefile.in: Regenerate.
4839 * libmath/Makefile.in: Regenerate.
4840 * include/Makefile.in: Regenerate.
4841 * libsupc++/Makefile.in: Regenerate.
4842 * testsuite/Makefile.in: Regenerate.
4844 * scripts/make_graphs.py: Correct paths for new layout.
4846 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
4848 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
4849 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
4850 * configure: Regenerate.
4851 * aclocal.m4: Regenerate.
4853 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4855 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
4856 * include/parallel/numeric: Likewise.
4857 * include/parallel/balanced_quicksort.h: Likewise.
4858 * include/parallel/unique_copy.h: Likewise.
4859 * include/parallel/algobase.h: Likewise.
4860 * include/parallel/algo.h: Likewise.
4862 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
4864 * crossconfig.m4: Add missing header checks, C99 TR1 check,
4865 and sigsetjmp check.
4867 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4869 * include/parallel/tree.h: Remove.
4870 * include/Makefile.am: Update.
4871 * include/Makefile.in: Rebuild.
4873 * src/Makefile.am: Remove spurious trailing backslash.
4874 * src/Makefile.in: Rebuild.
4875 * po/Makefile.in: Likewise.
4876 * libmath/Makefile.in: Likewise.
4877 * testsuite/Makefile.in: Likewise.
4878 * libsupc++/Makefile.in: Likewise.
4879 * aclocal.m4: Likewise.
4880 * Makefile.in: Likewise.
4881 * configure: Likewise.
4883 2008-01-12 Paolo Carlini <pcarlini@suse.de>
4886 * include/debug/functions.h (__check_sorted_set,
4887 __check_sorted_set_aux): Add.
4888 (__check_sorted): Check StrictWeakOrdering.
4889 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
4890 __glibcxx_check_strict_weak_ordering_pred): Remove.
4891 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
4892 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
4893 * include/debug/debug.h (__glibcxx_requires_sorted_set,
4894 __glibcxx_requires_sorted_set_pred): Add.
4895 * include/bits/stl_algo.h (merge, includes, set_union,
4896 set_intersection, set_difference, set_symmetric_difference):
4897 Adjust, use __glibcxx_requires_sorted_set* instead.
4898 * testsuite/25_algorithms/set_intersection/34730.cc: New.
4900 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4902 * include/parallel/multiway_merge.h: Reformat to 80 columns;
4903 adjust some inline specifiers; other minor style fixes.
4904 * include/parallel/losertree.h: Likewise.
4905 * include/parallel/list_partition.h: Likewise.
4906 * include/parallel/multiseq_selection.h: Likewise.
4907 * include/parallel/workstealing.h: Likewise.
4908 * include/parallel/base.h: Likewise.
4909 * include/parallel/par_loop.h: Likewise.
4910 * include/parallel/numeric: Likewise.
4911 * include/parallel/quicksort.h: Likewise.
4912 * include/parallel/algorithmfwd.h: Likewise.
4913 * include/parallel/for_each_selectors.h: Likewise.
4914 * include/parallel/omp_loop_static.h: Likewise.
4915 * include/parallel/random_shuffle.h: Likewise.
4916 * include/parallel/balanced_quicksort.h: Likewise.
4917 * include/parallel/set_operations.h: Likewise.
4918 * include/parallel/tree.h: Likewise.
4919 * include/parallel/merge.h: Likewise.
4920 * include/parallel/unique_copy.h: Likewise.
4921 * include/parallel/settings.h: Likewise.
4922 * include/parallel/multiway_mergesort.h: Likewise.
4923 * include/parallel/numericfwd.h: Likewise.
4924 * include/parallel/search.h: Likewise.
4925 * include/parallel/partition.h: Likewise.
4926 * include/parallel/compatibility.h: Likewise.
4927 * include/parallel/partial_sum.h: Likewise.
4928 * include/parallel/find.h: Likewise.
4929 * include/parallel/algo.h: Likewise.
4930 * include/parallel/queue.h: Likewise.
4931 * include/parallel/omp_loop.h: Likewise.
4932 * include/parallel/sort.h: Likewise.
4933 * include/parallel/random_number.h: Likewise.
4935 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
4937 * docs/html/17_intro/api.html: Fix markup for rope.h.
4939 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4941 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
4943 * include/parallel/find_selectors.h: Likewise.
4944 * include/parallel/losertree.h: Likewise.
4945 * include/parallel/list_partition.h: Likewise.
4946 * include/parallel/for_each.h: Likewise.
4947 * include/parallel/multiseq_selection.h: Likewise.
4948 * include/parallel/algorithmfwd.h: Likewise.
4949 * include/parallel/for_each_selectors.h: Likewise.
4950 * include/parallel/balanced_quicksort.h: Likewise.
4951 * include/parallel/merge.h: Likewise.
4952 * include/parallel/algobase.h: Likewise.
4953 * include/parallel/find.h: Likewise.
4954 * include/parallel/algo.h: Likewise.
4955 * include/parallel/checkers.h: Likewise.
4957 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
4959 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
4960 of __detail::_Map_base<>.
4962 2008-01-08 Paolo Carlini <pcarlini@suse.de>
4964 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
4965 not include <cassert>.
4966 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4968 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
4970 2008-01-08 Jakub Jelinek <jakub@redhat.com>
4972 * configure.ac (--enable-linux-futex): Add new configure option.
4973 (HAVE_LINUX_FUTEX): New AC_DEFINE.
4974 * Makefile.in: Rebuilt.
4975 * aclocal.m4: Rebuilt.
4976 * configure: Rebuilt.
4977 * config.h.in: Rebuilt.
4978 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4979 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4980 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4981 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4982 * libsupc++/guard.cc: Include climits and syscall.h.
4983 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
4985 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
4986 (__guard_test_bit): New static inline.
4987 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
4988 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
4990 2008-01-07 Paolo Carlini <pcarlini@suse.de>
4993 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
4994 use dynamic_cast when run-time type identification is disabled; do
4995 not mark inline; only declare, define...
4996 * include/bits/locale_classes.tcc: ... here.
4998 2008-01-06 Ted Phelps <phelps@gnusto.com>
5001 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
5002 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
5004 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5007 * include/parallel/multiway_merge.h (multiway_merge_bubble,
5008 parallel_multiway_merge): Together with ::operator new use
5010 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
5011 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
5012 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
5013 sequential_random_shuffle): Likewise.
5014 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
5016 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
5017 parallel_sort_mwms): Likewise.
5018 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
5020 * testsuite/25_algorithms/sort/34095.cc: New.
5022 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5024 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
5026 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5029 * include/parallel/algobase.h (lexicographical_compare_switch(...,
5030 random_access_iterator_tag, random_access_iterator_tag)): Careful
5031 with undereferenceable iterators.
5032 * testsuite/25_algorithms/sort/34636.cc: New.