1 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
3 * src/Makefile.am (sources): Add math_stubs_long_double.cc.
4 * src/Makefile.in: Regenerate.
5 * src/math_stubs_long_double.cc: New, from libmath/stubs.c.
7 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
10 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
12 2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
15 * Makefile.am (hosted_source): Remove libmath directory.
16 * Makefile.in: Regenerate.
17 * linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
18 (AC_REPLACE_MATHFUNCS): Remove.
19 (GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
20 in GLIBCXX_CHECK_C99_TR1.
21 * acinclude.m4: Remove libmath, need_math.
22 * crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
23 HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
25 * configure: Regenerate.
26 * fragment.am: Fix comment.
27 * config.h.in: Regenerate.
28 * src/Makefile.in: Regenerate.
29 * src/Makefile.am: Remove libmath references.
30 * doc/Makefile.in: Regenerate.
31 * po/Makefile.in: Regenerate.
32 * include/Makefile.in: Regenerate.
33 * libsupc++/Makefile.in: Regenerate.
34 * testsuite/Makefile.in: Regenerate.
36 * src/compatibility.cc: Also export long double versions of "C" math
37 library if hppa-linux.
38 * config/abi/pre/gnu.ver: Remove unused __signbit exports.
39 * doc/xml/manual/appendix_contributing.xml: Remove libmath reference.
42 * libmath/signbit.c: Same.
43 * libmath/stubs.c: Same.
44 * libmath/Makefile.in: Same.
45 * libmath/copysignf.c: Same.
46 * libmath/mathconf.h: Same.
47 * libmath/signbitf.c: Same.
48 * libmath/Makefile.am: Same.
49 * libmath/signbitl.c: Same.
51 2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
52 Paolo Carlini <paolo.carlini@oracle.com>
54 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
55 [GLIBCXX_CHECK_NANOSLEEP]): Remove.
56 ([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
57 * configure.ac: Adjust.
58 * doc/xml/manual/configure.xml: Update.
59 * testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
60 * testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
61 * testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
62 * configure: Regenerate.
63 * config.h.in: Likewise.
65 * src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
66 thread::joinable, thread::swap, this_thread::get_id,
67 this_thread::yield): Define inline...
68 * include/std/thread: ... here.
69 * config/abi/pre/gnu.ver: Adjust.
71 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
73 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
74 Add dg-timeout-factor 2.0.
75 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
76 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
77 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
78 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
79 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
80 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
82 2009-01-13 Uros Bizjak <ubizjak@gmail.com>
84 * scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
85 field from readelf output.
87 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
90 * crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
91 * configure: Regenerate.
93 2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
95 * crossconfig.m4 (linux): Add GCC_CHECK_TLS to define
97 Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
99 2009-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
101 * include/tr1_impl/regex (basic_regex::basic_regex): Use range
102 constructor for _M_pattern.
103 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
104 string.cc: Test construction from different basic_string type.
105 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
108 2009-01-07 Benjamin Kosnik <bkoz@redhat.com>
109 Jonathan Larmour <jifl@eCosCentric.com>
112 * config/cpu/generic/atomicity_mutex/atomicity.h (get_atomic_mutex):
114 (__gnu_cxx::__exchange_and_add): Use it.
115 * src/atomic.cc (get_atomic_mutex): New.
116 * src/debug.cc (get_safe_base_mutex): New.
117 * src/locale.cc (get_locale_cache_mutex): New.
118 * src/mt_allocator.cc (get_freelist): New.
119 (get_freelist_mutex): New.
120 * src/pool_allocator.cc (get_palloc_mutex): New.
121 * include/std/mutex (__once_functor_lock): To
122 (__get_once_functor_lock): ...this.
123 * src/mutex.cc (__once_mutex): Don't export, use
124 (get_once_mutex): ...this.
125 * config/abi/pre/gnu.ver: Adjust exports.
127 2009-01-07 Jakub Jelinek <jakub@redhat.com>
130 * libsupc++/unwind-cxx.h (__cxxabiv1::__cxa_exception): Remove
131 referenceCount field again.
132 (__cxxabiv1::__cxa_refcounted_exception): New struct.
133 (__cxxabiv1::__get_refcounted_exception_header_from_obj,
134 __cxxabiv1::__get_refcounted_exception_header_from_ue): New static
136 * libsupc++/eh_alloc.cc (__cxxabiv1::__cxa_allocate_exception,
137 __cxxabiv1::__cxa_free_exception): Use __cxa_refcounted_exception
138 instead of __cxa_exception.
139 * libsupc++/eh_throw.cc (__gxx_exception_cleanup,
140 __cxxabiv1::__cxa_throw): Likewise.
141 * libsupc++/eh_ptr.cc (std::rethrow_exception,
142 std::__exception_ptr::exception_ptr::_M_addref,
143 std::__exception_ptr::exception_ptr::_M_release,
144 __gxx_dependent_exception_cleanup): Likewise.
145 * testsuite/18_support/exception/38732.cc: New test.
148 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New test.
149 * src/compatibility.cc: Don't use .symver directives if
150 _GLIBCXX_HAVE_AS_SYMVER_DIRECTIVE is not defined.
151 * config.h.in: Regenerated.
152 * configure: Likewise.
154 2009-01-07 Paolo Carlini <paolo.carlini@oracle.com>
157 * include/bits/stl_pair.h: Document C++03 pair vs swap.
159 2009-01-06 Benjamin Kosnik <bkoz@redhat.com>
161 * src/locale_init.cc (locale::_S_initialize_once): Move construction
163 (locale::classic): Here.
165 2009-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
167 * include/tr1_impl/regex: Fix bad return statements and typos.
169 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
171 * include/tr1_impl/regex: Remove unimplemented function definitions.
172 * testsuite/28_regex/init-list.cc: Compile only.
173 * testsuite/tr1/7_regular_expressions/regex/cons/char/
174 c_string_extended.cc: Same.
175 * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same.
176 * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same.
178 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>
181 * crossconfig.m4: Define HAVE_FABSF for hpux crosses.
182 * configure: Regenerate.
184 2009-01-05 Ben Elliston <bje@au.ibm.com>
186 * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
187 * configure: Regenerate.
189 2009-01-05 Ben Elliston <bje@au.ibm.com>
191 * configure.ac: Exchange the order of GLIBCXX_ENABLE_THREADS and
192 GLIBCXX_ENABLE_ATOMIC_BUILTINS macro invocations.
193 * configure: Regenerate.
195 2009-01-04 Richard Guenther <rguenther@suse.de>
198 * include/ext/pointer.h (_Relative_pointer_impl): Use an unsigned
199 integer type for storage, arithmetic and comparisons.
200 * testsuite/ext/ext_pointer/1_neg.cc: Adjust line numbers.
202 2009-01-04 Paolo Carlini <paolo.carlini@oracle.com>
205 * include/bits/forward_list.h (_Fwd_list_iterator<>::_M_next,
206 _Fwd_list_const_iterator::_M_next): Fix return type.
208 2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
210 * Revert last commit, reopen and suspend libstdc++/38678.
212 2009-01-01 Paolo Carlini <paolo.carlini@oracle.com>
215 * include/std/istream (basic_istream<>::_M_read): New.
216 * include/bits/istream.tcc (basic_istream<>::_M_read): Define.
217 (basic_istream<>::read, basic_istream<>::readsome): Use it.
218 * include/std/ostream (basic_ostream<>::_M_write_): New.
219 (basic_ostream<>::_M_write): Adjust.
220 * include/bits/ostream.tcc (basic_ostream<>::_M_write_): Define.
221 * testsuite/27_io/basic_istream/read/char/38678.cc: New.
222 * testsuite/27_io/basic_istream/read/wchar_t/38678.cc: Likewise.
223 * testsuite/27_io/basic_ostream/write/char/38678.cc: Likewise.
224 * testsuite/27_io/basic_ostream/write/wchar_t/38678.cc: Likewise.
226 2008-12-22 Jonathan Larmour <jifl@eCosCentric.com>
228 * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
231 2008-12-22 Benjamin Kosnik <bkoz@redhat.com>
233 * doc/doxygen/stdheader.cc: Add cstdlib.
234 * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
236 2008-12-21 Andrew Pinski <pinskia@gmail.com>
239 * configure: Regenerate.
241 2008-12-21 Paolo Carlini <paolo.carlini@oracle.com>
244 * include/tr1_impl/functional (function<>::target,
245 function<>::target_type): Provide only when __GXX_RTTI is defined.
246 (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
247 _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
250 2008-12-19 Ben Elliston <bje@au.ibm.com>
252 * acinclude.m4: Guard a variable test against an empty string.
253 * configure: Regenerate.
255 2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
257 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
258 Add xfail on all targets except darwin.
259 * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
261 * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
262 for xfailing on all targets except linux.
264 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
266 * configure: Regenerate.
268 2008-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
270 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
271 Don't xfail test on darwin8 or later.
273 2008-12-16 Jack Howarth <howarth@bromo.med.uc.edu>
275 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
276 Don't xfail excessive errors on darwin8 or later.
278 2008-12-15 Benjamin Kosnik <bkoz@redhat.com>
280 * include/c_global/cstdatomic: Remove assert include.
281 * include/debug/debug.h: Consolidate __replacement_assert...
282 * include/parallel/base.h: Consolidate __replacement_assert...
283 * include/bits/c++config: ...here.
284 * include/bits/atomic_0.h: Use it.
285 * include/bits/atomic_2.h: Same.
286 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
287 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
289 2008-12-13 Benjamin Kosnik <bkoz@redhat.com>
291 * src/atomic.cc: Revert last change.
292 * include/bits/atomic_2.h: Move cassert include to...
293 * include/c_global/cstdatomic: ...here.
294 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
295 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
297 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
299 * src/Makefile.am: Remove -x c++ for atomic build rules.
300 * src/Makefile.in: Regenerate.
301 * src/atomic.cc: Move mutex include before cstdatomic.
303 2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
306 * testsuite/util/regression/trait/assoc/type_trait.hpp
307 (regression_test_type_traits): Add const to pair_type_rebind.
309 2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
311 * src/atomic.cc: Correct guards to match mutex.cc.
313 2008-12-11 Benjamin Kosnik <bkoz@redhat.com>
314 Richard Henderson <rth@redhat.com>
316 * include/c_global/cstdatomic: Update to N2798.
317 (atomic): Remove explicit constructors as per DR 845.
318 * include/bits/atomic_0.h: New. Switchable implementation.
319 * include/bits/atomic_2.h: New. Lock-free implementation.
320 * include/c_compatibility/stdatomic.h: Use foward headers.
321 * include/bits/atomicfwd_cxx.h: New.
322 * include/bits/atomicfwd_c.h: New.
323 * src/atomic.cc: Adjust.
324 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
325 unconditionally use default/deleted syntax.
326 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
327 * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
328 atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
329 * include/Makefile.in: Regenerate.
330 * configure: Regenerate.
331 * config.h.in: Regenerate.
332 * config/abi/pre/gnu.ver: Adjust exports.
334 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
335 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
336 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
337 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
338 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
339 * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
340 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
341 * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
342 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
343 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
344 * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
345 * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
346 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
347 * testsuite/29_atomics/atomic_integral/requirements/
348 standard_layout.cc: New.
349 * testsuite/29_atomics/atomic_integral/operators/
350 integral_assignment.cc: New.
351 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
352 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
353 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
354 * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
355 * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
356 * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
357 * testsuite/29_atomics/atomic_integral/operators/
358 integral_conversion.cc: New.
359 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
360 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
361 * testsuite/29_atomics/atomic_flag/requirements/
362 standard_layout.cc: Same.
363 * testsuite/29_atomics/atomic_flag/
364 atomic_global_fence_compatibility.cc: Kill.
365 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
366 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
367 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
368 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
369 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
370 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
371 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
372 * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
373 * testsuite/29_atomics/atomic/cons/copy_neg.cc
374 * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
375 * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
376 * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
377 * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
378 * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
379 * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
380 * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
381 * testsuite/util/testsuite_common_types.h: ...here.
382 (atomic_integrals_no_bool): New.
383 (atomic_integrals): New.
384 (has_increment_operators, has_decrement_operators)
385 (direct_list_initializable, single_value_constructible)
386 (standard_layout, has_bitwise_operators, integral_convertable)
387 (integral_assignable): Add.
389 2008-12-11 Jakub Jelinek <jakub@redhat.com>
392 * testsuite/26_numerics/headers/cmath/37582.cc: New.
394 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>
396 * include/tr1_impl/cmath: Undef remquof / remquol too; add using
398 * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
399 * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
400 * configure: Regenerate.
402 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net>
404 * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
406 2008-12-06 Paolo Carlini <paolo.carlini@oracle.com>
409 * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
410 * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
413 2008-12-05 Tom Tromey <tromey@redhat.com>
415 * include/tr1_impl/functional (_Mu): Fix typo.
417 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
420 * include/bits/locale_facets_nonio.tcc (money_get<>::
421 _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
422 string&)): Fix, reject decimal point when frac_digits <= 0.
423 * testsuite/22_locale/money_get/get/char/38399.cc: New.
424 * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
425 * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
426 * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
428 2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
431 * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
433 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
434 * testsuite/22_locale/locale/cons/7.cc: Likewise.
436 2008-12-04 Paolo Carlini <paolo.carlini@oracle.com>
439 * config/locale/gnu/numeric_members.cc (numpunct<char>::
440 _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
441 Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
442 * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
443 _M_initialize_moneypunct, moneypunct<char, false>::
444 _M_initialize_moneypunct, moneypunct<wchar_t, true>::
445 _M_initialize_moneypunct, moneypunct<wchar_t, false>::
446 _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
447 __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
448 * testsuite/22_locale/locale/cons/38368.cc: New.
450 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
452 PR libstdc++/38365 (cont)
453 * src/localename.cc (locale::locale(const locale&, const locale&,
454 category)): Revert last changes.
455 (locale::_Impl::_M_replace_categories(const _Impl*, category)):
456 Fix here instead; rework.
458 2008-12-02 Paolo Carlini <paolo.carlini@oracle.com>
461 * src/localename.cc (locale::locale(const locale&, const locale&,
463 * testsuite/22_locale/locale/cons/38365.cc: New.
465 2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
468 * include/std/iostream: Correct URL.
469 * include/std/streambuf: Same.
470 * include/std/bitset: Same.
471 * include/std/iosfwd: Same.
472 * include/std/fstream: Same.
473 * include/std/istream: Same.
474 * include/std/ostream: Same.
475 * include/std/sstream: Same.
476 * include/bits/basic_ios.h: Same.
477 * include/bits/stl_map.h: Same.
478 * include/bits/stl_set.h: Same.
479 * include/bits/stl_multimap.h: Same.
480 * include/bits/ios_base.h: Same.
481 * include/bits/stl_multiset.h: Same.
482 * include/bits/char_traits.h: Same.
483 * include/bits/stl_relops.h: Same.
484 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
485 * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
487 2008-11-26 Janis Johnson <janis187@us.ibm.com>
490 * testsuite/lib/libstdc++.exp: Include new timeout library files.
491 (libstdc++_init): Define tool_timeout.
492 (dg-test): Override DejaGnu proc.
493 (v3_target_compile): Set timeout value from new proc.
494 (v3_target_compile_as_c): Ditto.
496 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
498 PR libstdc++/38244 (cont, debug bits)
499 * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
500 Remove, do not implement DR 778.
502 2008-11-24 Paolo Carlini <paolo.carlini@oracle.com>
505 * include/std/bitset (bitset<>::bitset(const char*, char, char)):
506 Remove, do not implement DR 778.
507 * doc/xml/manual/intro.xml: Remove entry for DR 778.
508 * testsuite/23_containers/bitset/cons/2.cc: Remove.
509 * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
510 * testsuite/23_containers/bitset/cons/38244.cc: Add.
512 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
514 * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
515 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
517 2008-11-21 Paolo Carlini <paolo.carlini@oracle.com>
520 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
521 ios_base&, char_type, const void*)): Fix.
522 * testsuite/22_locale/num_put/put/char/38210.cc: New.
523 * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
525 2008-11-20 Paolo Carlini <paolo.carlini@oracle.com>
528 * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
529 ios_base&, char_type, bool)): Fix.
530 * testsuite/22_locale/num_put/put/char/38196.cc: New.
531 * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
533 2008-11-18 Paolo Carlini <paolo.carlini@oracle.com>
535 * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
536 * include/tr1_impl/cfenv: Likewise.
537 * include/tr1_impl/cstdint: Likewise.
539 2008-11-13 Paolo Carlini <paolo.carlini@oracle.com>
542 * include/c_global/csignal: Do not use include_next.
543 * include/c_global/cstdlib: Likewise.
544 * include/c_global/cstdio: Likewise.
545 * include/c_global/cstdarg: Likewise.
546 * include/c_global/cctype: Likewise.
547 * include/c_global/cerrno: Likewise.
548 * include/c_global/cmath: Likewise.
549 * include/c_global/clocale: Likewise.
550 * include/c_global/climits: Likewise.
551 * include/c_global/cassert: Likewise.
552 * include/c_global/csetjmp: Likewise.
553 * include/c_global/cwchar: Likewise.
554 * include/c_global/cfloat: Likewise.
555 * include/c_global/cstdbool: Likewise.
556 * include/c_global/cstring: Likewise.
557 * include/c_global/cstddef: Likewise.
558 * include/c_global/cwctype: Likewise.
559 * include/tr1/cstdbool: Likewise.
560 * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
561 * include/c_global/cinttypes: Do it here.
562 * include/tr1/cinttypes: Likewise.
563 * include/tr1_impl/cfenv: Do not include <fenv.h>.
564 * include/c_global/cfenv: Do it here.
565 * include/tr1/cfenv: Likewise.
566 * include/tr1_impl/cstdint: Do not include <stdint.h>.
567 * include/c_global/cstdint: Do it here.
568 * include/tr1/cstdint: Likewise.
569 * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
570 * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
571 * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
573 * include/c_compatibility/math.h: Minor tweak, add comment.
575 2008-11-12 Steve Ellcey <sje@cup.hp.com>
577 * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
578 * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
580 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>
582 PR libstdc++/37986 (cont)
583 * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
585 (struct _Adaptor<_Engine*, _Distribution>): Add.
586 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
589 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
592 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
593 and remove_reference on _Engine.
594 * testsuite/tr1/5_numerical_facilities/random/variate_generator/
597 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
599 * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
601 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
603 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
604 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
607 2008-11-11 Bob Walters <bob.s.walters@gmail.com>
609 * include/bits/forward_list.h: Support non-standard pointer types
610 (_Fwd_list_node_base): Add _Alloc template parameter.
611 (_Fwd_list_node<>): Likewise.
612 (_Fwd_list_iterator<>): Likewise.
613 (_Fwd_list_const_iterator<>): Likewise.
614 (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
615 Use _Alloc<_Tp>::pointer.
616 (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
617 (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
618 _M_insert_after, _M_put_node, _M_erase_after): Likewise.
619 (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
620 (forward_list<>): Use __static_pointer_cast in place of static_cast,
621 and __const_pointer_cast in place of const_cast.
622 * include/bits/forward_list.tcc
623 (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
624 of standard pointers, __static_pointer_cast in place of static_cast.
625 (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
627 (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
628 splice_after, remove, remove_if, merge): Likewise.
629 * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
630 * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
632 * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
634 * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
636 * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
638 * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
640 * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
642 * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
644 * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
646 * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
648 * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
650 * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
652 * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
654 * testsuite/23_containers/forward_list/ext_pointer/requirements/
655 explicit_instantiation/1.cc: Likewise.
656 * testsuite/23_containers/forward_list/ext_pointer/requirements/
657 explicit_instantiation/3.cc: Likewise.
658 * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
660 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>
662 * include/ext/extptr_allocator.h: Minor tweaks.
663 * include/ext/pointer.h: Likewise.
664 * include/ext/cast.h: Likewise.
666 2008-11-10 Paolo Carlini <paolo.carlini@oracle.com>
669 * config/locale/gnu/monetary_members.cc (moneypunct<>::
670 _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
671 delete for __wcs_ps and __wcs_ns.
673 2008-11-07 Bob Walters <bob.s.walters@gmail.com>
675 * include/ext/pointer.h: New, add experimental support for non-standard
676 pointer types in containers via the allocator::pointer typedef.
677 (Currently only supported/working with std::vector)
678 * include/ext/cast.h: New, add overload-able pointer casting functions
679 for use in containers supporting non-standard pointer types.
680 * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
681 * include/Makefile.am: Update.
682 * include/precompiled/extc++.h: Likewise.
683 * include/Makefile.in: Regenerate.
684 * testsuite/ext/ext_pointer/1.cc: New.
685 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
686 * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
687 * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
688 * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
689 * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
690 * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
692 * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
694 * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
696 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
698 * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
701 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
705 * include/tr1_impl/functional (result_of,reference_wrapper): Update
706 to use C++0x features.
707 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
708 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
710 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
712 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
714 2008-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
718 * include/tr1_impl/functional (result_of,reference_wrapper): Update
719 to use C++0x features.
720 * testsuite/20_util/function_objects/return_types/result_of.cc: New.
721 * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
723 * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
725 * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
727 2008-11-03 Paolo Carlini <paolo.carlini@oracle.com>
729 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
730 iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
731 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
732 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
734 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
736 PR libstdc++/37958 (cont again)
737 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
738 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
739 * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
740 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
742 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
744 * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
745 num_get<>::do_get(, unsigned short&),
746 num_get<>::do_get(, unsigned int&),
747 num_get<>::do_get(, unsigned long&),
748 num_get<>::do_get(, long long&),
749 num_get<>::do_get(, unsigned long long&),
750 num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
751 num_put<>::do_put(, long long),
752 num_put<>::do_put(, unsigned long long)): Move inline...
753 * include/bits/locale_facets.h: ... here.
755 2008-11-01 Paolo Carlini <paolo.carlini@oracle.com>
757 PR libstdc++/37958 (cont)
758 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
759 iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
761 2008-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
763 * include/bits/shared_ptr.h: Update comparisons to match WP.
764 (_Sp_counted_ptr): Make copy and assignment members deleted.
765 (_Sp_counted_deleter): Remove private copy and assignment members.
766 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
767 friend operator< with overloaded _M_less member functions to allow
768 comparison with either shared_count or weak_count.
769 (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
770 (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
771 for ownership-based ordering.
772 (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
774 (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
775 (operator!=(__shared_ptr,__shared_ptr)): Likewise.
776 (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
777 pointer specialization.
778 (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
779 weak_ptr::operator>=): Remove operator< and delete all comparisons.
780 (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
781 (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
782 (operator==(shared_ptr,shared_ptr): Likewise.
783 (operator!=(shared_ptr,shared_ptr): Likewise.
784 (swap(shared_ptr,shared_ptr)): Fix parameter types.
785 (swap(weak_ptr,weak_ptr)): Add missing overload.
786 * testsuite/20_util/owner_less/cmp.cc: New.
787 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
788 * testsuite/20_util/shared_ptr/comparison/less.cc: New.
789 * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
790 * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
791 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
793 2008-10-31 Paolo Carlini <paolo.carlini@oracle.com>
796 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
797 iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
798 * testsuite/22_locale/num_get/get/char/37958.cc: New.
799 * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
801 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
805 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
807 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
808 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
809 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
810 Remove the old variadic constructor, and instead provide several
811 variadic constructors that avoid failing when attempting to
812 initialize a pointer from a null pointer constant.
813 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
814 initialization of pointers from the null pointer constant.
816 2008-10-27 Paolo Carlini <paolo.carlini@oracle.com>
819 * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
820 * include/bits/basic_string.h: Guard string conversions with
821 !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
822 * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
824 * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
825 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
827 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
829 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
831 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
833 * testsuite/21_strings/basic_string/numeric_conversions/char/
835 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
837 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
839 * testsuite/21_strings/basic_string/numeric_conversions/char/
840 to_string.cc: Likewise.
841 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
844 2008-10-24 Paolo Carlini <paolo.carlini@oracle.com>
846 * config/os/generic/error_constants.h (enum errc): Remove
848 * config/os/mingw32/error_constants.h (enum errc): Likewise.
849 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
852 2008-10-24 Jakub Jelinek <jakub@redhat.com>
854 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
855 (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
857 (%/site.exp, check-DEJAGNU%): New targets.
858 (check-am): Run $(MAKE) check-DEJAGNU.
859 * testsuite/Makefile.in: Regenerated.
861 2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
863 * config/os/generic/error_constants.h (errc): Use long type.
864 * config/os/mingw32/error_constants.h (errc): Likewise.
866 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
868 * include/std/system_error (is_error_code_enum): Specialize for errc.
869 (error_category::error_category): Defaulted and protected.
870 (error_category::~error_category): New, virtual.
871 (error_category::error_category(const error_category&),
872 error_category::operator=(const error_category&)): Deleted.
873 (get_system_category, get_posix_category): Remove (DR 890).
874 (system_category): External linkage (DR 890).
875 (posix_category): Remove.
876 (generic_category): Add. External linkage (DR 890).
877 (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
878 (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
879 error_code::assign, use generic_category.
880 (error_condition::error_condition,
881 error_condition::error_condition<>(_ErrorConditionEnum)): Use
883 (error_condition::clear,
884 error_condition::operator=<>(_ErrorConditionEnum)): Forward to
885 error_code::assign, use generic_category.
886 (make_error_code, make_error_condition): Define in namespace std.
887 * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
888 unique_lock<>::try_lock_until<>(duration),
889 unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
890 * src/system_error.cc (system_error_category, generic_error_category):
892 (gnu_error_category): Remove.
893 (get_system_category, get_posix_category): Remove (DR 890).
894 (system_category, generic_category): Define.
895 * src/functexcept.cc (__throw_system_error): Use generic_category.
896 * config/abi/pre/gnu.ver: Export system_category and generic_category,
897 remove get_system_category and get_generic_category (DR 890).
898 * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
899 enum class type. Fix spelling.
900 * config/os/mingw32/error_constants.h (posix_errno): Likewise.
901 * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
903 * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
904 * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
905 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
906 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
907 dg-error line numbers.
908 * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
910 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
911 * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
912 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
914 * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
915 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
916 Remove using tests since errc is not a namespace.
917 * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
918 * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
919 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
921 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
923 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
925 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>
927 * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
928 (_Args&&...)): Add in C++0x mode.
929 * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
930 _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
933 * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
934 Node_allocator for improved accuracy.
935 * testsuite/tr1/6_containers/unordered_multimap/capacity/
936 29134-multimap.cc: Adjust.
937 * testsuite/tr1/6_containers/unordered_multimap/capacity/
938 29134-map.cc: Likewise.
939 * testsuite/tr1/6_containers/unordered_multimap/capacity/
940 29134-multiset.cc: Adjust.
941 * testsuite/tr1/6_containers/unordered_multimap/capacity/
942 29134-set.cc: Likewise.
944 2008-10-19 Paolo Carlini <paolo.carlini@oracle.com>
946 * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
947 (_Args&&...)): Add in C++0x mode.
948 (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
949 use _M_get_Node_allocator.
950 (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
952 * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
954 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
956 2008-10-18 Douglas Gregor <doug.gregor@gmail.com>
958 * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
959 (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
960 Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
961 Remove the old variadic constructor, and instead provide several
962 variadic constructors that avoid failing when attempting to
963 initialize a pointer from a null pointer constant.
964 * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
965 initialization of pointers from the null pointer constant.
967 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
969 * include/bits/forward_list.tcc (forward_list<>::
970 _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
973 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
975 * include/bits/forward_list.h (forward_list<>::
976 forward_list(size_type)): Tweak, use _Base default constructor.
978 2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
980 * include/bits/forward_list.h (forward_list<>::insert_after): Minor
983 2008-10-16 Edward Smith-Rowland <3dw4rd@verizon.net>
985 * include/bits/forward_list.h: Factor list construction to dispatch
987 * include/bits/forward_list.tcc: Likewise.
988 * testsuite/23_containers/forward_list/modifiers/2.cc:
990 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
992 * include/bits/forward_list.tcc (operator==): Use auto.
994 2008-10-16 Paolo Carlini <paolo.carlini@oracle.com>
996 * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
997 Move out of line, tweak to return _Fwd_list_node_base*.
998 (forward_list<>::insert_after(const_iterator, const _Tp&),
999 forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
1000 * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
1003 * include/bits/forward_list.h (forward_list<>): Consistently qualify
1004 calls of base class functions with this->.
1005 * include/bits/forward_list.tcc (forward_list<>): Likewise.
1007 * include/bits/forward_list.h: Move some functions out of line...
1008 * include/bits/forward_list.tcc: ... here.
1010 * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
1012 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1014 * include/bits/forward_list.h: Remove pointless const qualifiers in
1016 * include/bits/forward_list.tcc: Likewise.
1018 * include/bits/forward_list.h (forward_list<>::pointer,
1019 const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
1020 * testsuite/23_containers/forward_list/requirements/
1021 explicit_instantiation/1.cc: New.
1022 * testsuite/23_containers/forward_list/requirements/
1023 explicit_instantiation/1.cc: Likewise.
1025 2008-10-15 Paolo Carlini <paolo.carlini@oracle.com>
1027 * include/bits/forward_list.h (forward_list<>::max_size): Use
1028 Node_allocator; minor cosmetic changes.
1029 * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1031 2008-10-15 Edward Smith-Rowland <3dw4rd@verizon.net>
1033 * include/std/forward_list: New.
1034 * include/bits/forward_list.h: Likewise.
1035 * include/bits/forward_list.tcc: Likewise.
1036 * include/precompiled/stdc++.h: Modified to include forward_list.
1037 * include/Makefile.am: Add forward_list, forward_list.h, and
1039 * include/Makefile.in: Regenerate.
1040 * testsuite/23_containers/forward_list/modifiers/1.cc: New.
1041 * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1042 * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
1043 * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
1044 * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
1045 * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
1046 * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
1047 * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
1048 * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
1049 * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
1050 * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
1051 * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
1052 * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
1053 * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
1054 * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
1055 * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
1056 * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
1057 * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
1058 * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
1059 * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
1060 * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
1061 * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
1062 * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
1063 * testsuite/23_containers/forward_list/comparable.cc: Likewise.
1064 * testsuite/23_containers/forward_list/moveable.cc: Likewise.
1065 * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
1066 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
1067 * testsuite/17_intro/headers/c++200x/all: Likewise.
1069 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1071 * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
1073 (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
1074 (list<>::_M_erase(iterator): Likewise, in C++0x mode.
1075 * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
1076 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1077 Adjust dg-error line number.
1078 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1080 * testsuite/23_containers/list/requirements/dr438/
1081 constructor_1_neg.cc: Likewise.
1082 * testsuite/23_containers/list/requirements/dr438/
1083 constructor_2_neg.cc: Likewise.
1085 2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
1087 * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
1088 for improved accuracy.
1089 * include/bits/stl_list.h (list<>::max_size): Likewise.
1090 * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
1091 * testsuite/23_containers/set/capacity/29134.cc: Likewise.
1092 * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
1093 * testsuite/23_containers/list/capacity/29134.cc: Likewise.
1094 * testsuite/23_containers/map/capacity/29134.cc: Likewise.
1096 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1098 * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
1101 2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
1103 * include/std/system_error (native_category): Remove.
1104 (posix_category): Add.
1105 (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
1106 Fix _M_cat initialization.
1107 (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
1108 (error_condition::_M_cat, error_condtion::operator=
1109 (_ErrorConditionEnum)): Implement resolution of DR 804.
1110 (error_condition::error_condition(_ErrorConditionEnum, typename
1111 enable_if<>:type*): Fix.
1112 (error_condition::clear, error_condition::assign): Implement.
1113 (operator==, operator!=): Fix uglification of parameters.
1114 (make_error_code, make_error_condition): Define in namespace
1116 (operator<<(basic_ostream<>&, const error_code&)): Define here.
1117 * include/std/ostream (operator<<(basic_ostream<>&,
1118 const error_code&)): Do not define here.
1119 * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
1120 * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
1121 * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
1123 * testsuite/19_diagnostics/error_condition/operators/equal.cc:
1125 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
1127 * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
1128 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
1129 dg-error line numbers.
1130 * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
1132 * testsuite/util/testsuite_error.h: Minor tweaks.
1133 * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
1135 2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
1137 * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
1138 uninitialized duration.
1140 2008-10-08 Bob Walters <bob.s.walters@gmail.com>
1142 * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
1143 _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
1144 _M_deallocate): Use _Tp_alloc_type::pointer.
1146 2008-10-07 Jason Merrill <jason@redhat.com>
1149 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
1150 * testsuite/abi/demangle/abi_text/02.cc: Likewise.
1151 * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
1153 2008-10-07 Paolo Carlini <paolo.carlini@oracle.com>
1155 * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
1156 const reverse_iterator<>&), operator-(const __normal_iterator<>&,
1157 const __normal_iterator<>&), operator-(const move_iterator<>&,
1158 const move_iterator<>&)): Use the auto -> return type syntax,
1161 2008-10-06 Jason Merrill <jason@redhat.com>
1163 * config/abi/pre/gnu.ver: Update char16/32_t manglings.
1165 2008-10-05 Paolo Carlini <paolo.carlini@oracle.com>
1167 * testsuite/20_util/reference_wrapper/invoke.cc: New.
1168 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1169 * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
1171 2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1173 * config/locale/generic/c_locale.cc (__convert_to_v): Fix
1174 !__FLT_HAS_INFINITY__ case.
1176 2008-09-30 Chris Fairles <cfairles@gcc.gnu.org>
1178 * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
1180 * testsuite/20_util/tuple/swap.cc: New.
1182 2008-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1184 PR libstdc++/30085 (again)
1185 * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
1186 Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
1187 unordered_map / unordered_multimap; add missing member functions.
1188 * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
1189 Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
1190 * include/debug/safe_association.h: Remove.
1191 * include/Makefile.am: Adjust.
1192 * include/Makefile.in: Regenerate.
1193 * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
1196 2008-09-28 Paolo Carlini <paolo.carlini@oracle.com>
1198 * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
1199 void reset(U)): Add as deleted function, per DR 821 [Ready].
1200 * include/bits/unique_ptr.h: Prefer everywhere deleted to private
1201 member function declarations; minor formatting tweaks.
1202 * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
1203 * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
1206 2008-09-28 Chris Fairles <cfairles@gcc.gnu.org>
1208 * include/std/mutex (try_lock): Implement generic try_lock.
1209 * testsuite/30_threads/try_lock/1.cc: New.
1210 * testsuite/30_threads/try_lock/2.cc: Likewise.
1211 * testsuite/30_threads/try_lock/3.cc: Likewise.
1212 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
1213 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1214 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1215 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1216 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1217 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1218 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1220 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1222 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1223 Steve Ellcey <sje@cup.hp.com>
1225 * configure: Regenerate for new libtool.
1226 * aclocal.m4: Ditto.
1227 * Makefile.in: Ditto.
1228 * src/Makefile.in: Ditto.
1229 * doc/Makefile.in: Ditto.
1230 * po/Makefile.in: Ditto.
1231 * libmath/Makefile.in: Ditto.
1232 * include/Makefile.in: Ditto.
1233 * libsupc++/Makefile.in: Ditto.
1234 * testsuite/Makefile.in: Ditto.
1236 2008-09-24 Paolo Carlini <paolo.carlini@oracle.com>
1238 * include/std/bitset: Adjust comment to reflect DR 853.
1239 * include/debug/bitset: Likewise.
1240 * doc/xml/manual/intro.xml: Add an entry for DR 853.
1242 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1244 Implement DR 396 [Ready].
1245 * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1246 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1247 char, char), bitset<>::to_string(_CharT, _CharT),
1248 bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1249 size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1250 (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1251 const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1252 (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1253 std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1254 * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1255 size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1256 char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1257 * doc/xml/manual/intro.xml: Add an entry for DR 396.
1258 * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1259 * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1261 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1263 * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1264 * testsuite/25_algorithms/max/37547.cc: Likewise.
1265 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1267 2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
1269 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1270 typedef monotonic_clock to system_clock and instead declare new class.
1271 * src/chrono.cc: Conditionally define monotonic_clock::now().
1272 * include/std/condition_variable (wait_until): Throw exception if
1273 __gthread_cond_timedwait returns with error other than timed_out. Use
1274 system_clock as known clock type (__clock_t) and add overloads for known
1275 and unknown clocks. In the unknown case, sync to the known clock.
1276 Implement overload taking a predicate.
1277 (wait_for): Implement overload taking a predicate.
1278 * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1279 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1281 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1283 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1284 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1285 * testsuite/30_threads/condition_variable/member/1.cc: New.
1286 * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1288 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1291 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1292 when strtold is not available.
1293 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1295 2008-09-23 Benjamin Kosnik <bkoz@redhat.com>
1297 PR libstdc++/37391 continued.
1298 * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1299 specify full path for source file links.
1300 * doc/html/ext/pb_ds/pq_examples.html: Same.
1302 2008-09-23 Paolo Carlini <paolo.carlini@oracle.com>
1304 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1305 by value parameters.
1306 * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1308 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1310 PR libstdc++/32422, DR 23 [Ready in R60]
1311 * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1312 ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1313 double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1314 char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1315 DR 23 and deal correctly with broken exponents.
1316 * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1317 float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1318 char*, double&, ios_base::iostate&, const __c_locale&),
1319 __convert_to_v(const char*, long double&, ios_base::iostate&, const
1320 __c_locale&)): Likewise.
1321 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1322 _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1323 (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1324 ios_base::iostate&, string&): Change grouping check to set instead of
1325 OR failbit; do not check for eofbit here...
1326 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1327 ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1328 ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1329 iter_type, ios_base&, ios_base::iostate&, long double&),
1330 num_get<>::__do_get(iter_type, iter_type, ios_base&,
1331 ios_base::iostate&, double&)): ... do it here instead.
1332 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1333 ios_base::iostate&, bool&)): Implement DR 23.
1334 (num_get<>::do_get(iter_type, iter_type, ios_base&,
1335 ios_base::iostate&, void*&)): Adjust.
1336 * doc/xml/manual/intro.xml: Add and entry for DR 23.
1337 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1339 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1341 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1342 * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1343 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1344 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1345 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1346 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1347 * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1348 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1349 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1350 * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1352 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1355 * doc/html/ext/pb_ds/*.html: Fix external links.
1357 2008-09-22 Benjamin Kosnik <bkoz@redhat.com>
1359 * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1360 condition_variable, and thread output.
1362 2008-09-22 Paolo Carlini <paolo.carlini@oracle.com>
1364 * doc/html/ext/lwg-closed.html: Update to Revision R59.
1365 * doc/html/ext/lwg-active.html: Likewise.
1366 * doc/html/ext/lwg-defects.html: Likewise.
1367 * doc/xml/manual/intro.xml: Adjust.
1369 2008-09-21 Paolo Carlini <paolo.carlini@oracle.com>
1371 * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1372 consistently with the other overload for initializer_list.
1374 2008-09-19 Johannes Singler <singler@ira.uka.de>
1377 * include/parallel/base.h: Rename log2 to __log2.
1378 (__log2) Avoid infinite loop for n <= 0, return 0.
1379 * include/parallel/losertree.h: Rename log2 to __log2.
1380 * include/parallel/multiseq_selection.h: Likewise.
1381 * include/parallel/random_shuffle.h: Likewise.
1383 2008-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1385 * include/bits/shared_ptr.h (__shared_count<>::
1386 __shared_count(_Ptr, _Deleter), __shared_count<>::
1387 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1388 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1389 Qualify new with ::.
1391 2008-09-17 Paolo Carlini <paolo.carlini@oracle.com>
1394 * include/bits/stl_algo.h (min(initializer_list<>),
1395 min(initializer_list<>, Compare), max(initializer_list<>),
1396 max(initializer_list<>, Compare), minmax(initializer_list<>),
1397 minmax(initializer_list<>, Compare)): Fix return type.
1398 * include/bits/algorithmfwd.h: Adjust.
1399 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1400 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1402 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1404 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1406 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1408 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1410 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1412 * testsuite/25_algorithms/max/37547.cc: New.
1413 * testsuite/25_algorithms/min/37547.cc: Likewise.
1414 * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1416 2008-09-16 Chris Fairles <chris.fairles@gmail.com>
1418 * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1420 * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1422 * testsuite/25_algorithms/min/3.cc: Likewise.
1423 * testsuite/25_algorithms/min/4.cc: Likewise.
1424 * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1426 * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1428 * testsuite/25_algorithms/max/3.cc: Likewise.
1429 * testsuite/25_algorithms/max/4.cc: Likewise.
1430 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1432 * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1434 * testsuite/25_algorithms/minmax/2.cc: Likewise.
1435 * testsuite/25_algorithms/minmax/3.cc: Likewise.
1437 2008-09-16 Paolo Carlini <paolo.carlini@oracle.com>
1439 * include/bits/stl_algo.h (min(initializer_list<>),
1440 min(initializer_list<>, Compare), max(initializer_list<>),
1441 max(initializer_list<>, Compare), minmax(initializer_list<>),
1442 minmax(initializer_list<>, Compare)): Add in C++0x mode.
1443 * include/bits/algorithmfwd.h: Add.
1444 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1446 2008-09-13 Chris Fairles <chris.fairles@gmail.com>
1448 * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1450 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1451 * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1452 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1454 2008-09-12 Chris Fairles <chris.fairles@gmail.com>
1455 Benjamin Kosnik <bkoz@redhat.com>
1457 * include/std/thread: New.
1458 * include/Makefile.am: Update.
1459 * include/Makefile.in: Regenerate.
1460 * src/thread.cc: New.
1461 * src/Makefile.am: Update.
1462 * src/Makefile.in: Regenerate.
1463 * acinclude.m4: Add check for nanosleep.
1464 * configure.ac: Call it.
1465 * configure: Regenerate.
1466 * config.h.in: Likewise.
1467 * config/abi/pre/gnu.ver: Add exports.
1468 * doc/doxygen/user.cfg.in: Add thread header.
1469 * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1470 * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1471 * testsuite/30_threads/thread/cons/1.cc: New.
1472 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1473 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1474 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1475 * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1476 * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1477 * testsuite/30_threads/thread/member/1.cc: Likewise.
1478 * testsuite/30_threads/thread/member/2.cc: Likewise.
1479 * testsuite/30_threads/thread/member/3.cc: Likewise.
1480 * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1481 * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1482 * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1483 * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1484 * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1485 * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1486 * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1487 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1488 Add thread, condition_variable and mutex.
1490 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1492 * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1493 Remove specializations.
1494 * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1495 * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1496 use_facet<ctype<wchar_t>): Declare as extern template.
1497 * include/bits/locale_facets.h (use_facet<ctype<char> >,
1498 use_facet<ctype<wchar_t>): Do not declare as specializations.
1500 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1502 * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1503 ctype<char>::_M_widen_init): Don't define here.
1504 * config/locale/gnu/ctype_members.cc: Likewise.
1505 * config/locale/generic/ctype_members.cc: Likewise.
1506 * src/ctype.cc: Define here.
1508 2008-09-10 Paolo Carlini <paolo.carlini@oracle.com>
1511 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1512 ctype<char>::_M_widen_init): Don't define inline.
1513 * config/locale/darwin/ctype_members.cc: ... define here.
1514 * config/locale/gnu/ctype_members.cc: ... likewise.
1515 * config/locale/generic/ctype_members.cc: ... likewise.
1516 * config/abi/pre/gnu.ver: Export.
1518 2008-09-09 Benjamin Kosnik <bkoz@redhat.com>
1520 * doc/xml/manual/abi.xml: Update for new releases.
1521 * doc/doxygen/user.cfg.in: Include C compatibility headers.
1522 * doc/html/*: Regenerate.
1524 2008-09-09 Paolo Carlini <paolo.carlini@oracle.com>
1526 * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1527 inclusion of <inttypes.h>.
1528 * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1529 __STDC_CONSTANT_MACROS after <stdint.h>.
1530 * include/bits/postypes.h: Likewise.
1532 2008-09-09 Andreas Schwab <schwab@suse.de>
1534 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1535 not to redefine main.
1537 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1539 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1540 wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1541 * include/tr1_impl/cinttypes: Use the latter.
1542 * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1543 * configure: Regenerate.
1544 * config.h.in: Likewise.
1546 2008-09-05 Peter Dimov <pdimov@mmltd.net>
1548 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1550 2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
1552 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1554 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1557 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1560 * include/Makefile.am: Update headers.
1561 * include/Makefile.in: Regenerate.
1562 * include/std/memory: Update headers.
1563 * include/tr1/memory: Likewise.
1564 * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
1565 separate implementations for std and tr1.
1566 * include/bits/boost_sp_shared_count.h: Remove.
1567 * include/tr1/boost_sp_shared_count.h: Remove.
1568 * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
1569 and boost_shared_ptr.h into one file.
1570 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
1571 and rvalue-reference support as per current WP.
1572 * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
1573 and boost_shared_ptr.h into one file.
1574 * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
1575 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
1576 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
1577 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
1578 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
1579 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
1580 * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
1581 * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
1582 * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
1584 2008-09-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1586 * doc/xml/manual/locale.xml: Fix typo.
1588 2008-09-04 Paolo Carlini <paolo.carlini@oracle.com>
1590 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
1592 * configure: Regenerate.
1594 2008-09-04 Chris Fairles <chris.fairles@gmail.com>
1596 * include/std/mutex (once_flag): Construct __gthread_once_t in a
1597 temporary variable before assigning to _M_once to avoid initialization
1600 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1602 * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
1603 GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
1605 * Makefile.in: Regenerate.
1606 * src/Makefile.in: Likewise.
1607 * doc/Makefile.in: Likewise.
1608 * po/Makefile.in: Likewise.
1609 * libmath/Makefile.in: Likewise.
1610 * include/Makefile.in: Likewise.
1611 * libsupc++/Makefile.in: Likewise.
1612 * testsuite/Makefile.in: Likewise.
1614 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1616 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
1617 check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
1618 * configure: Regenerate.
1620 2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1622 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
1623 * configure: Regenerate.
1625 2008-09-03 Chris Fairles <chris.fairles@gmail.com>
1627 * include/std/condition_variable: Use new deleted ctors.
1628 * include/std/mutex: Likewise plus implement timed_mutex,
1629 recursive_timed_mutex and call_once.
1630 * src/condition_variable.cc: Implement wait(). Use gthread types.
1631 Remove _GTHREADS_HAS_COND checks in favor of global
1632 _GLIBCXX_HAS_GTHREADS.
1633 * src/mutex.cc (call_once): Implementation using TLS with mutex
1635 * config/abi/pre/gnu.ver: Add exported symbols.
1636 * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
1637 * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
1638 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
1639 dg-require-gthreads and dg-require-cstdint.
1640 * testsuite/30_threads/lock_guard/requirements/
1641 explicit_instantiation.cc: Likewise.
1642 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1643 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1644 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1645 * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
1646 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1647 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1648 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1649 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1650 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1652 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
1653 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1654 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
1656 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1657 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1658 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1659 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1660 * testsuite/30_threads/unique_lock/requirements/
1661 explicit_instantiation.cc: Likewise.
1662 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
1663 * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
1664 lines for deleted members.
1665 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1666 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1667 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1668 * testsuite/30_threads/call_once/once_flag.cc: New.
1669 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1670 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1671 * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
1672 * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1673 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1674 * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1676 * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1678 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
1679 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1680 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1681 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1682 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1683 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1684 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1685 * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
1686 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1687 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1688 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1689 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1690 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1691 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1692 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1693 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1695 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1697 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1699 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1701 * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
1702 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1704 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1705 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
1707 * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
1709 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1710 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1711 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1712 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1713 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
1714 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1716 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1718 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1720 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1721 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1722 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1723 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1724 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1725 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1726 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1727 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1728 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1729 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1730 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1731 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1733 2008-09-01 Mark Mitchell <mark@codesourcery.com>
1735 * include/std/type_traits (__make_unsigned_selector<>): Consider
1736 enums of size smaller than short.
1737 (__make_signed_selector<>): Likewise.
1738 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1739 Adjust line numbers.
1740 * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
1741 Adjust line numbers.
1742 * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
1743 Ensure test_enum is the same size as short.
1744 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
1745 Ensure test_enum is the same size as short.
1747 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1749 * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
1750 * configure: Regenerated.
1751 * Makefile.in: Regenerated.
1752 * src/Makefile.in: Regenerated.
1753 * doc/Makefile.in: Regenerated.
1754 * po/Makefile.in: Regenerated.
1755 * libmath/Makefile.in: Regenerated.
1756 * include/Makefile.in: Regenerated.
1757 * libsupc++/Makefile.in: Regenerated.
1758 * testsuite/Makefile.in: Regenerated.
1760 2008-08-29 Mark Mitchell <mark@codesourcery.com>
1762 * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
1763 when testing on a simultor.
1765 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>
1767 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1768 Rename to .../typedefs.cc.
1769 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1771 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1772 typedef.cc: Likewise.
1773 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1774 typedef.cc: Likewise.
1775 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1777 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1779 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1781 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1784 2008-08-28 Chris Fairles <chris.fairles@gmail.com>
1786 * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
1787 support used by c++0x thread library.
1788 * configure.ac: Test unconditionally.
1789 * configure: Regenerate.
1790 * config.h.in: Regenerate.
1792 2008-08-27 Benjamin Kosnik <bkoz@redhat.com>
1794 * doc/Makefile.am: Edit xml file list.
1795 * doc/Makefile.in: Regenerate.
1796 * configure: Regenerate.
1797 * doc/xml/manual/intro.xml: Edit, correct links, structure.
1798 * doc/xml/manual/configure.xml: Same.
1799 * doc/xml/manual/debug.xml: Same.
1800 * doc/xml/manual/test.xml: Same.
1801 * doc/xml/manual/build.xml: Remove.
1802 * doc/xml/manual/prerequisites.xml: Add.
1803 * doc/html/*: Regenerate.
1805 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>
1807 * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
1808 const_pointer typedefs.
1809 * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1811 * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1813 * testsuite/tr1/6_containers/unordered_multiset/requirements/
1814 typedef.cc: Likewise.
1815 * testsuite/tr1/6_containers/unordered_multimap/requirements/
1816 typedef.cc: Likewise.
1817 * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1819 * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1821 * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1823 * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1826 2008-08-27 Paul Brook <paul@codesourcery.com>
1828 * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
1829 __get_object_from_ambiguous_exception.
1831 2008-08-26 Ben Elliston <bje@au.ibm.com>
1833 * src/mt_allocator.cc (__pool): Fix error in comment.
1835 2008-08-25 Paolo Carlini <paolo.carlini@oracle.com>
1837 * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
1838 [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
1839 * configure.ac: Do not call the latter.
1840 * crossconfig.m4: Likewise.
1841 * libmath/mathconf.h: Adjust.
1842 * configure: Regenerate.
1843 * config.h.in: Likewise.
1845 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1847 * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
1848 two test -r instead of an AC_TRY_RUN.
1849 * configure: Regenerate.
1850 * config.h.in: Likewise.
1852 2008-08-24 Paolo Carlini <paolo.carlini@oracle.com>
1854 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
1855 * doc/xml/manual/configure.xml: Likewise.
1857 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1859 * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
1861 * configure: Regenerate.
1863 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1865 * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
1866 GCC_TRY_COMPILE_OR_LINK.
1867 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
1868 [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
1869 [no] by default, since it includes TRY_LINK checks. librt is also
1870 searched, if requested.
1871 * doc/xml/manual/configure.xml: Document the latter.
1872 * configure.ac: Move the above checks outside native-only.
1873 * configure: Regenerate.
1875 2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
1877 * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
1878 * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
1879 * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
1880 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1881 * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
1883 2008-08-23 Sebastian Redl <sebastian.redl@getdesigned.at>
1885 Add (again) exception propagation support as per N2179. Feature is
1886 available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
1887 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1888 copy_exception, rethrow_exception): New file, implement exception
1890 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1891 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1892 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1893 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1894 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1895 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1896 __gxx_dependent_exception_class, __get_object_from_ue,
1897 __get_object_from_ambiguous_exception): Add.
1898 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1899 (__is_gxx_exception_class): Handle dependent exceptions.
1900 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1901 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1902 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1903 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1904 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1905 __cxa_free_dependent_exception): Add.
1906 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1908 * libsupc++/exception: Conditionally include exception_ptr.h.
1909 * libsupc++/Makefile.am: Register new files.
1910 * libsupc++/Makefile.in: Regenerate.
1911 * config/abi/pre/gnu.ver: Add new symbols.
1912 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1913 core functionality of current_exception().
1914 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1915 core functionality of rethrow_exception().
1916 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1917 exception objects during exception propagation.
1919 2008-08-22 Paolo Carlini <paolo.carlini@oracle.com>
1921 Revert again the N2179 patch.
1923 2008-08-21 Sebastian Redl <sebastian.redl@getdesigned.at>
1925 * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
1926 __cxa_free_dependent_exception.
1928 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1930 * include/bits/char_traits.h (char_traits<char16_t>::
1931 assign(char_type*, size_t, char_type), char_traits<char32_t>::
1932 assign(char_type*, size_t, char_type)): For now, just open-code.
1934 2008-08-20 Paolo Carlini <paolo.carlini@oracle.com>
1936 PR c++/33979 (partial)
1937 * include/bits/postypes.h (u16streampos, u32streampos): Add.
1938 * include/bits/char_traits.h (char_traits<char16_t>,
1939 char_traits<char32_t>): Add.
1940 * include/bits/stringfwd.h (u16string, u32string): Add.
1941 * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
1942 * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
1944 * testsuite/21_strings/char_traits/requirements/
1945 explicit_instantiation/short/1.cc: Likewise.
1946 * testsuite/21_strings/char_traits/requirements/
1947 explicit_instantiation/char32_t/1.cc: Likewise.
1948 * testsuite/21_strings/char_traits/requirements/
1949 explicit_instantiation/wchar_t/1.cc: Likewise.
1950 * testsuite/21_strings/char_traits/requirements/
1951 explicit_instantiation/char16_t/1.cc: Likewise.
1952 * testsuite/21_strings/char_traits/requirements/
1953 explicit_instantiation/char/1.cc: Likewise.
1954 * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
1956 * testsuite/21_strings/basic_string/requirements/
1957 explicit_instantiation/char32_t/1.cc: Likewise.
1958 * testsuite/21_strings/basic_string/requirements/
1959 explicit_instantiation/wchar_t/1.cc: Likewise.
1960 * testsuite/21_strings/basic_string/requirements/
1961 explicit_instantiation/char16_t/1.cc: Likewise.
1962 * testsuite/21_strings/basic_string/requirements/
1963 explicit_instantiation/char/1.cc: Likewise.
1964 * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
1965 * testsuite/ext/vstring/requirements/explicit_instantiation/
1966 char32_t/1.cc: Likewise.
1967 * testsuite/ext/vstring/requirements/explicit_instantiation/
1968 char16_t/1.cc: Likewise.
1970 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
1973 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
1975 * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1977 * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1978 * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1979 * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1980 * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1981 * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
1982 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
1983 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
1984 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1985 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1986 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1987 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1988 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1989 * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
1990 * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
1991 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1992 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1993 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
1994 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
1995 * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
1996 * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
1997 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1998 * include/std/regex: Include <sstream>.
1999 * include/tr1/regex: Likewise.
2001 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2003 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
2005 * configure: Regenerate.
2007 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com>
2010 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
2011 check the macros too.
2012 * configure: Regenerate.
2014 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2016 * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
2018 * configure.ac: Run unconditionally AC_LC_MESSAGES.
2019 * crossconfig.m4: Adjust.
2020 * configure: Regenerate.
2022 2008-08-17 Paolo Carlini <paolo.carlini@oracle.com>
2024 * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
2025 [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
2026 Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
2027 with -fno-exceptions as flags.
2028 * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
2029 GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
2030 GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
2031 * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
2033 * configure: Regenerate.
2035 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2037 Re-instate last patch, amended to use __exchange_and_add_dispatch
2038 and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
2040 2008-08-13 Paolo Carlini <paolo.carlini@oracle.com>
2042 Revert the last patch.
2044 2008-08-13 Sebastian Redl <sebastian.redl@getdesigned.at>
2046 Add exception propagation support as per N2179.
2047 * libsupc++/exception_ptr.h (exception_ptr, current_exception,
2048 copy_exception, rethrow_exception): New file, implement exception
2050 * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
2051 rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
2052 * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
2053 (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
2054 __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
2055 __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
2056 __gxx_dependent_exception_class, __get_object_from_ue,
2057 __get_object_from_ambiguous_exception): Add.
2058 (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
2059 (__is_gxx_exception_class): Handle dependent exceptions.
2060 * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
2061 * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
2062 * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
2063 * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
2064 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
2065 __cxa_free_dependent_exception): Add.
2066 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
2068 * libsupc++/exception: Conditionally include exception_ptr.h.
2069 * libsupc++/Makefile.am: Register new files.
2070 * libsupc++/Makefile.in: Regenerate.
2071 * config/abi/pre/gnu.ver: Add new symbols.
2072 * testsuite/18_support/exception_ptr/current_exception.cc: Test the
2073 core functionality of current_exception().
2074 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
2075 core functionality of rethrow_exception().
2076 * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
2077 exception objects during exception propagation.
2079 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2082 * include/bits/stl_pair.h: Fix documentation URL in comment.
2084 2008-08-12 Johannes Singler <singler@ira.uka.de>
2086 * include/paralle/losertree.h
2087 (LoserTreePointerBase<>::~LoserTreePointerBase):
2088 Replace delete by appropriate delete[].
2090 2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
2092 * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
2093 GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
2094 * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
2095 * configure: Regenerate.
2096 * config.h.in: Likewise.
2098 * acinclude.m4: Minor formatting fixes.
2100 2008-08-11 Stephen M. Webb <stephenw@xandros.com>
2102 * include/tr1_impl/regex: Formatting fixes.
2103 * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
2105 * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
2108 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2110 * config/locale/generic/c_locale.cc: Include <cstdio>.
2112 2008-08-11 Paolo Carlini <paolo.carlini@oracle.com>
2114 * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
2115 * configure: Regenerate.
2117 2008-08-10 Paolo Carlini <paolo.carlini@oracle.com>
2119 * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
2120 (_DEFINE_SPEC_BODY): Remove.
2121 (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
2122 __is_member_object_pointer_helper, __is_member_function_pointer_helper,
2123 __remove_pointer_helper): Add.
2124 (is_void, is_integral, is_floating_point, is_member_object_pointer,
2125 is_member_function_pointer, remove_pointer): Use the latter.
2126 * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
2127 (_DEFINE_SPEC_HELPER): Remove.
2128 (__is_signed_helper, __is_unsigned_helper): Add.
2129 (is_signed, is_unsigned): Use the latter.
2131 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2133 Revert fix for libstdc++/35637, thanks to other/36901.
2134 * include/tr1_impl/type_traits (__is_function_helper): New, uses
2136 (is_function): Forward to the latter.
2137 (__in_array): Remove.
2139 2008-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2141 * config/locale/darwin/ctype_members.cc: Include <cstdio>.
2143 2008-08-08 Paolo Carlini <paolo.carlini@oracle.com>
2145 * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
2146 _IOS_BASE_SEEK_END at the end of the file.
2147 * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
2149 2008-08-07 Stephen M. Webb <stephenw@xandros.com>
2151 * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
2154 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2156 * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
2157 common values of EOF, SEEK_CUR, SEEK_END.
2158 * configure.ac: Use it.
2159 * include/bits/ios_base.h: Likewise.
2160 * include/bits/char_traits.h: Likewise.
2161 * config/locale/gnu/ctype_members.cc: Include <cstdio>.
2162 * config/locale/generic/ctype_members.cc: Likewise.
2163 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
2164 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2165 * configure: Regenerate.
2166 * config.h.in: Likewise.
2168 2008-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2170 * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
2171 is actually a typedef to long or long long.
2172 * include/bits/postypes.h: If int64_t is actually a typedef for
2173 long or long long don't include <stdint.h> unnecessarily.
2174 * configure: Regenerate.
2175 * config.h.in: Likewise.
2177 2008-08-05 Paolo Carlini <paolo.carlini@oracle.com>
2179 * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
2180 Expect ambiguity together with the standard exception classes.
2181 * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
2183 * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
2185 * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
2187 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
2189 * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
2190 * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
2191 * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
2193 * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
2195 * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
2197 * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
2199 * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
2201 * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
2204 2008-08-04 Paolo Carlini <paolo.carlini@oracle.com>
2206 * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
2207 also define the __STDC_* macros.
2208 (streamoff): Adjust.
2210 * include/tr1_impl/cstdint: Check that the __STDC_* macros are
2211 not defined before defining.
2213 2008-08-01 Paolo Bonzini <bonzini@gnu.org>
2214 Chris Fairles <chris.fairles@gmail.com>
2216 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
2217 search, but only in libposix4, never link librt.
2218 * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
2219 * configure: Regenerate.
2220 * configure.in: Likewise.
2221 * Makefile.in: Likewise.
2222 * src/Makefile.in: Likewise.
2223 * libsup++/Makefile.in: Likewise.
2224 * po/Makefile.in: Likewise.
2225 * doc/Makefile.in: Likewise.
2227 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
2229 * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2230 dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2231 and 4 in WD. Other minor tweaks.
2232 * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2233 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2234 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2235 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2237 2008-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2239 * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2240 (check_v3_target_parallel_mode): Robustify, just follow the
2241 structure of testsuite/Makefile.am.
2243 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2245 * include/debug/set.h: Minor formatting fixes.
2246 * include/debug/multiset.h: Likewise.
2247 * include/debug/safe_association.h: Likewise.
2248 * include/debug/vector: Likewise.
2249 * include/debug/map.h: Likewise.
2250 * include/debug/string: Likewise.
2251 * include/debug/multimap.h: Likewise.
2252 * include/bits/stl_list.h: Likewise.
2253 * include/bits/stl_map.h: Likewise.
2254 * include/bits/stl_set.h: Likewise.
2255 * include/bits/stl_multimap.h: Likewise.
2256 * include/bits/stl_vector.h: Likewise.
2257 * include/bits/stl_multiset.h: Likewise.
2258 * include/bits/stl_bvector.h: Likewise.
2260 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
2262 * include/std/utility: Include <initializer_list>, per the current WP.
2264 * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2265 don't use -std=gnu++0x unnecessarily.
2266 * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2268 * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2269 * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2271 2008-07-28 Paolo Carlini <paolo.carlini@oracle.com>
2274 * include/tr1_impl/boost_shared_ptr.h
2275 (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2276 __enable_shared_from_this_helper.
2277 * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2279 2008-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2283 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2285 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2286 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2287 * src/Makefile.am: Use it.
2288 * configure: Regenerate.
2289 * configure.in: Likewise.
2290 * Makefile.in: Likewise.
2291 * src/Makefile.in: Likewise.
2292 * libsup++/Makefile.in: Likewise.
2293 * po/Makefile.in: Likewise.
2294 * doc/Makefile.in: Likewise.
2296 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2298 * include/std/condition_variable: Update to N2691 WD.
2299 * include/std/mutex: Likewise.
2300 * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2301 * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2302 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2303 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2305 2008-07-23 Chris Fairles <chris.fairles@gmail.com>
2307 * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2308 Holds the lib that defines clock_gettime (-lrt or -lposix4).
2309 * src/Makefile.am: Use it.
2310 * configure: Regenerate.
2311 * configure.in: Likewise.
2312 * Makefile.in: Likewise.
2313 * src/Makefile.in: Likewise.
2314 * libsup++/Makefile.in: Likewise.
2315 * po/Makefile.in: Likewise.
2316 * doc/Makefile.in: Likewise.
2318 2008-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2320 * include/ext/sso_string_base.h
2321 (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2322 const _Alloc&)): Remove.
2323 * include/ext/rc_string_base.h
2324 (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2325 const _Alloc&)): Likewise.
2326 * include/ext/vstring.h
2327 (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2328 const _Alloc&)): Adjust.
2330 2008-07-21 Jason Merrill <jason@redhat.com>
2332 Add initializer_list support as per N2679.
2333 * include/debug/unordered_map: Add initializer_list support.
2334 * include/debug/safe_association.h: Likewise.
2335 * include/debug/unordered_set: Likewise.
2336 * include/debug/vector: Likewise.
2337 * include/debug/deque: Likewise.
2338 * include/debug/map.h: Likewise.
2339 * include/debug/set.h: Likewise.
2340 * include/debug/string: Likewise.
2341 * include/debug/list: Likewise.
2342 * include/debug/multimap.h: Likewise.
2343 * include/tr1_impl/unordered_map: Likewise.
2344 * include/tr1_impl/hashtable: Likewise.
2345 * include/tr1_impl/unordered_set: Likewise.
2346 * include/tr1_impl/regex: Likewise.
2347 * include/std/valarray: Likewise.
2348 * include/std/unordered_map: Likewise.
2349 * include/std/unordered_set: Likewise.
2350 * include/bits/stl_list.h: Likewise.
2351 * include/bits/stl_map.h: Likewise.
2352 * include/bits/stl_set.h: Likewise.
2353 * include/bits/basic_string.h: Likewise.
2354 * include/bits/basic_string.tcc: Likewise.
2355 * include/bits/stl_multimap.h: Likewise.
2356 * include/bits/stl_vector.h: Likewise.
2357 * include/bits/stl_deque.h: Likewise.
2358 * include/bits/stl_multiset.h: Likewise.
2359 * include/bits/stl_bvector.h: Likewise.
2360 * include/ext/vstring.h: Likewise.
2361 * include/ext/rc_string_base.h: Likewise.
2362 * include/ext/sso_string_base.h: Likewise.
2363 * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2364 * src/Makefile.in: Likewise.
2365 * config/abi/pre/gnu.ver: Add new w?string exports.
2366 * testsuite/21_strings/basic_string/init-list.cc: New test.
2367 * testsuite/23_containers/vector/init-list.cc: New test.
2368 * testsuite/23_containers/deque/init-list.cc: New test.
2369 * testsuite/23_containers/list/init-list.cc: New test.
2370 * testsuite/23_containers/map/init-list.cc: New test.
2371 * testsuite/23_containers/multimap/init-list.cc: New test.
2372 * testsuite/23_containers/set/init-list.cc: New test.
2373 * testsuite/23_containers/multiset/init-list.cc: New test.
2374 * testsuite/23_containers/unordered_map/init-list.cc: New test.
2375 * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2376 * testsuite/23_containers/unordered_set/init-list.cc: New test.
2377 * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2378 * testsuite/26_numerics/valarray/init-list.cc: New test.
2379 * testsuite/28_regex/init-list.cc: New test.
2380 * testsuite/ext/vstring/init-list.cc: New test.
2381 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2382 Update error lineno.
2383 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2384 Update error lineno.
2385 * testsuite/23_containers/vector/requirements/dr438/
2386 constructor_1_neg.cc: Update error lineno.
2387 * testsuite/23_containers/vector/requirements/dr438/
2388 constructor_2_neg.cc: Update error lineno.
2389 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2390 Update error lineno.
2391 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2392 Update error lineno.
2393 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2394 Update error lineno.
2395 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2396 Update error lineno.
2397 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2398 Update error lineno.
2399 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2400 Update error lineno.
2401 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2402 Update error lineno.
2403 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2404 Update error lineno.
2406 2008-07-21 Mark Mitchell <mark@codesourcery.com>
2408 * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2409 * configure.host: Use it for arm*-*-linux-*eabi.
2411 2008-07-19 Paolo Carlini <paolo.carlini@oracle.com>
2413 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2414 (assert_node_consistent): Avoid ambiguous else warning.
2416 * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2418 * include/bits/c++config: In debug-mode (and parallel-mode) set
2419 _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2420 templates only for basic_string (per libstdc++/21674).
2421 * include/bits/basic_string.tcc: Use extern templates when
2422 _GLIBCXX_EXTERN_TEMPLATE > 0.
2424 2008-07-18 Kris Van Hees <kris.van.hees@oracle.com>
2425 Holger Hopp <holger.hopp@sap.com>
2427 * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2428 * testsuite/util/testsuite_abi.cc (check_version): Add
2429 CXXABI_1.3.3 to known_versions.
2431 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2433 * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2434 Enable only when _Tp != bool.
2436 * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2438 2008-07-18 Paolo Carlini <paolo.carlini@oracle.com>
2440 * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2441 variable warnings leading to spurious fails of the test.
2443 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2445 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2447 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2448 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2450 * include/tr1_impl/type_traits: Fix comment typo.
2452 2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
2454 * include/bits/unique_ptr.h: Remove stray character.
2456 2008-07-15 Benjamin Kosnik <bkoz@redhat.com>
2458 * doc/doxygen/user.cfg.in: Add complex, ratio,
2460 (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2461 * doc/doxygen/doxygroups.cc: Add std::chrono.
2462 * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2463 * libsupc++/initializer_list (initializer_list): Same.
2464 * include/std/ratio: Same.
2465 * include/std/chrono: Same.
2466 * include/std/complex: Disambiguate file markup.
2468 2008-07-15 Chris Fairles <chris.fairles@gmail.com>
2470 * include/std/chrono: New, as per N2661.
2471 * src/chrono.cc: New.
2472 * include/Makefile.am: Update.
2473 * src/Makefile.am: Likewise.
2474 * include/Makefile.in: Regenerate.
2475 * src/Makefile.in: Likewise.
2476 * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2477 define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2478 * configure.ac: Use them.
2479 * configure: Regenerate.
2480 * config.h.in: Likewise.
2481 * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2482 system_clock::is_monotonic.
2483 * testsuite/20_util/duration/cons/1.cc: New.
2484 * testsuite/20_util/duration/cons/2.cc: Likewise.
2485 * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2486 * testsuite/20_util/duration/requirements/explicit_instantiation/
2487 explicit_instantiation.cc: Likewise.
2488 * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2489 * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2490 * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2491 * testsuite/20_util/time_point/requirements/explicit_instantiation/
2492 explicit_instantiation.cc: Likewise.
2493 * testsuite/20_util/time_point/1.cc: Likewise.
2494 * testsuite/20_util/time_point/2.cc: Likewise.
2495 * testsuite/20_util/time_point/3.cc: Likewise.
2496 * testsuite/20_util/clocks/1.cc: Likewise.
2497 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2499 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2500 * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2501 * doc/doxygen/user.cfg.in: Likewise.
2503 2008-07-15 Paolo Carlini <paolo.carlini@oracle.com>
2506 * include/ext/rope (_Destroy_const): Add.
2507 (rope<>::copy): Call it.
2508 * testsuite/ext/rope/36832.cc: New.
2510 2008-07-15 Johannes Singler <singler@ira.uka.de>
2512 * include/parallel/find_selectors.h:
2513 Correct name for include guard #ifndef.
2514 * include/parallel/balanced_quicksort.h: Likewise.
2515 * include/parallel/unique_copy.h: Likewise.
2516 * include/parallel/multiway_mergesort.h: Likewise.
2517 * include/parallel/checkers.h: Likewise.
2518 * include/parallel/[various files]:
2519 Add/correct comment for #endif of include guard (at end of file)
2521 2008-07-12 Paolo Carlini <paolo.carlini@oracle.com>
2523 * include/std/date_time: Remove, per N2549, in WP.
2524 * src/date_time.cc: Likewise.
2525 * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2526 * include/Makefile.am: Remove date_time in std headers.
2527 * src/Makefile.am: Remove date_time.cc to source files.
2528 * include/Makefile.in: Regenerate.
2529 * src/Makefile.in: Likewise.
2530 * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2531 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2532 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2533 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2534 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2535 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2536 * testsuite/31_date_time/system_time/requirements: Likewise.
2537 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2538 * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2539 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2541 2008-07-10 Johannes Singler <singler@ira.uka.de>
2543 * include/parallel/balanced_quicksort.h:
2544 (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2546 2008-07-09 Benjamin Kosnik <bkoz@redhat.com>
2549 * doc/xml/manual/allocator.xml: Fix links.
2550 * doc/html/*: Regenerate.
2552 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2554 * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2555 __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2556 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2557 __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2559 * libsupc++/eh_arm.cc (__cxa_type_match): Use
2560 __is_gxx_forced_unwind_class to check for forced unwind.
2562 2008-07-09 Andreas Beckmann <gcc@abeckmann.de>
2565 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2566 null_metadata.hpp: Remove self-include.
2568 2008-07-09 Joseph Myers <joseph@codesourcery.com>
2570 * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
2571 testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
2572 -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
2574 2008-07-09 Johannes Singler <singler@ira.uka.de>
2577 * include/parallel/random_shuffle.h:
2578 (sequential_random_shuffle) Copy data back.
2579 * testsuite/25_algorithms/random_shuffle/1.cc:
2580 New. Generic random_shuffle functionality test.
2582 2008-07-08 Chris Fairles <chris.fairles@gmail.com>
2584 * include/std/type_traits: Add common_type.
2585 * testsuite/20_util/common_type/requirements/
2586 explicit_instantiation.cc: New.
2587 * testsuite/20_util/common_type/requirements/
2588 typedefs-1.cc: Likewise.
2590 2008-07-07 Paolo Carlini <paolo.carlini@oracle.com>
2592 * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
2593 * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
2594 * testsuite/20_util/ratio/cons/cons1.cc: Use it.
2595 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2596 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2597 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2598 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2599 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2600 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2601 * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2603 * include/std/type_traits: Fix comment typo.
2605 2008-07-06 Roger Sayle <roger@eyesopen.com>
2607 * include/std/system_error (is_error_code_enum): Use identifier
2608 _Tp instead of _T to avoid conflict with system macro on Darwin.
2609 (is_error_condition_enum): Likewise.
2611 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2613 * include/bits/postypes.h: Do not include <stdint.h>.
2615 * include/Makefile.am: Reorder.
2617 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2619 * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
2621 2008-07-05 Chris Fairles <chris.fairles@gmail.com>
2623 * include/std/ratio: Documentation for std::ratio class. Add conditions
2624 to ratio_less to prevent overflow.
2625 * testsuite/20_util/ratio/comparisons/comp2.cc: New.
2626 * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
2629 2008-07-04 Chris Fairles <chris.fairles@gmail.com>
2631 * include/std/ratio: New, per N2661.
2632 * include/Makefile.am: Update.
2633 * include/Makefile.in: Regenerate.
2634 * testsuite/20_util/ratio/cons/cons1.cc: New.
2635 * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2636 * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2637 * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2638 * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2639 * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2640 * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2642 2008-07-04 Paolo Carlini <paolo.carlini@oracle.com>
2645 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
2646 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2648 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2650 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2651 Improve check on long double limits.
2652 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2654 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2656 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2659 2008-07-03 Paolo Carlini <paolo.carlini@oracle.com>
2661 * libsupc++/Makefile.am: Add initializer_list to the headers.
2662 * libsupc++/Makefile.in: Regenerate.
2664 * libsupc++/initializer_list: Minor cosmetic changes.
2666 2008-07-02 Jason Merrill <jason@redhat.com>
2668 * libsupc++/initializer_list: Uglify and wrap in
2669 __GXX_EXPERIMENTAL_CXX0X__.
2670 * include/bits/stl_map.h (insert(initializer_list)): Wrap.
2672 2008-07-02 Jason Merrill <jason@redhat.com>
2674 * libsupc++/initializer_list: New file.
2675 * include/bits/stl_map.h (insert(initializer_list)): New method.
2677 2008-06-30 Alfred E. Heggestad <aeh@db.org>
2679 * include/backward/backward_warning.h: Fix typo.
2681 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2683 * src/string_conversions.cc: Remove.
2684 * config/abi/pre/gnu.ver: Delete exports.
2685 * src/Makefile.am: Update.
2686 * include/ext/string_conversions.h: Add.
2687 * include/Makefile.am: Update.
2688 * include/bits/basic_string.h: Include string_conversions.h,
2689 define numeric conversion functions.
2690 * include/ext/vstring.h: Likewise.
2691 * src/Makefile.in: Regenerate.
2692 * include/Makefile.in: Regenerate.
2694 2008-06-29 Paolo Carlini <paolo.carlini@oracle.com>
2696 * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
2697 * include/bits/algorithmfwd.h: Add.
2698 * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
2700 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
2701 move_iterators/1.cc: New
2702 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2703 * testsuite/25_algorithms/copy_n/1.cc: New.
2704 * testsuite/25_algorithms/copy_n/2.cc: Likewise.
2705 * testsuite/25_algorithms/copy_n/3.cc: Likewise.
2706 * testsuite/25_algorithms/copy_n/4.cc: Likewise.
2707 * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
2708 * testsuite/25_algorithms/copy_n/requirements/
2709 explicit_instantiation/2.cc: Likewise.
2710 * testsuite/25_algorithms/partition_point/requirements/
2711 explicit_instantiation/pod.cc: Likewise.
2713 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2715 * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
2716 * include/bits/algorithmfwd.h: Add.
2717 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2718 * testsuite/25_algorithms/partition_point/1.cc: New.
2719 * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
2720 * testsuite/25_algorithms/partition_point/requirements/
2721 explicit_instantiation/2.cc: Likewise.
2722 * testsuite/25_algorithms/partition_point/requirements/
2723 explicit_instantiation/pod.cc: Likewise.
2725 2008-06-28 Paolo Carlini <paolo.carlini@oracle.com>
2728 * include/ext/pb_ds/detail/resize_policy/
2729 sample_resize_trigger.hpp: Remove spurious namespace end.
2731 2008-06-27 Mark Mitchell <mark@codesourcery.com>
2733 * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
2735 (__aeabi_vec_delete): Likewise.
2736 (__aeabi_vec_delete3): Likewise.
2737 (__aeabi_vec_delete3_nodtor): Likewise.
2739 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2741 * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
2742 * include/bits/algorithmfwd.h: Add.
2743 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2744 * testsuite/25_algorithms/is_partitioned/1.cc: New.
2745 * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
2746 * testsuite/25_algorithms/is_partitioned/requirements/
2747 explicit_instantiation/2.cc: Likewise.
2748 * testsuite/25_algorithms/is_partitioned/requirements/
2749 explicit_instantiation/pod.cc: Likewise.
2751 2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2753 * include/bits/stl_numeric.h (iota): Add in C++0x mode.
2754 * testsuite/util/testsuite_character.h (pod_int): Add operator++
2756 * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
2757 * testsuite/26_numerics/iota/1.cc: New.
2758 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2760 * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2763 * include/ext/algorithm: Do not fiddle with the legacy headers.
2765 * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
2767 * testsuite/26_numerics/accumulate/1.cc: Likewise.
2768 * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
2769 * testsuite/26_numerics/inner_product/1.cc: Likewise.
2771 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2773 * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
2774 * include/bits/algorithmfwd.h: Add.
2775 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2776 * testsuite/25_algorithms/partition_copy/1.cc: New.
2777 * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
2778 * testsuite/25_algorithms/partition_copy/requirements/
2779 explicit_instantiation/2.cc: Likewise.
2780 * testsuite/25_algorithms/partition_copy/requirements/
2781 explicit_instantiation/pod.cc: Likewise.
2783 2008-06-26 Chris Fairles <chris.fairles@gmail.com>
2785 * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
2786 * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
2787 * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
2789 * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
2790 * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
2791 * testsuite/20_util/unique_ptr/specialized_algorithms/
2792 comparisons_array.cc: Likewise.
2793 * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
2795 * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
2798 2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
2800 * include/parallel/base.h (plus, multiplies): Use __typeof__,
2803 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2805 * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
2807 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
2808 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
2810 * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
2811 * testsuite/util/testsuite_common_types.h (struct assignable,
2812 struct default_constructible, struct copy_constructible,
2813 struct explicit_value_constructible): Use a tad of simulated
2814 concept checking techniques to avoid spurious warnings.
2815 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
2817 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2819 2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2821 * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
2822 any_of, none_of): Add in C++0x, per N2666.
2823 * include/bits/algorithmfwd.h: Update.
2824 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2825 * testsuite/25_algorithms/all_of/check_type.cc: New.
2826 * testsuite/25_algorithms/all_of/1.cc: Likewise.
2827 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2829 * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2831 * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
2832 * testsuite/25_algorithms/any_of/1.cc: Likewise.
2833 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2835 * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2837 * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
2838 * testsuite/25_algorithms/none_of/1.cc: Likewise.
2839 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2841 * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2843 * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
2844 * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
2845 * testsuite/25_algorithms/find_if_not/requirements/
2846 explicit_instantiation/2.cc: Likewise.
2847 * testsuite/25_algorithms/find_if_not/requirements/
2848 explicit_instantiation/pod.cc: Likewise.
2849 * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
2850 * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
2851 * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
2853 2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
2855 * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
2856 parallel algorithms.
2857 * doc/xml/manual/using.xml: Markup fixes caught by validation check.
2858 * doc/xml/manual/test.xml: Remove empty para tags.
2860 * doc/html/*: Regenerate.
2862 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2864 * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
2865 (copy_if): Add, per N2666.
2866 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2868 * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2870 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2872 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
2873 Chalathip Thumkanon <chalathip@gmail.com>
2876 * include/ext/pb_ds/exception.hpp (__throw_container_error,
2877 __throw_insert_error, __throw_join_error, __throw_resize_error):
2880 2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2882 * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
2884 * include/bits/algorithmfwd.h: Add.
2885 * doc/xml/manual/intro.xml: Add an entry for DR 809.
2886 * testsuite/25_algorithms/swap/dr809.cc: New.
2888 * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2889 2.cc: Remove stray empty line.
2891 2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2893 * include/bits/stl_move.h: Rename to move.h.
2894 * include/std/utility: Adjust.
2895 * include/ext/vstring_util.h: Likewise.
2896 * include/ext/throw_allocator.h: Likewise.
2897 * include/ext/pool_allocator.h: Likewise.
2898 * include/ext/bitmap_allocator.h: Likewise.
2899 * include/ext/new_allocator.h: Likewise.
2900 * include/ext/malloc_allocator.h: Likewise.
2901 * include/ext/array_allocator.h: Likewise.
2902 * include/ext/mt_allocator.h: Likewise.
2903 * include/bits/stl_algobase.h: Likewise.
2904 * include/bits/stl_heap.h: Likewise.
2905 * include/bits/stl_pair.h: Likewise.
2906 * include/bits/stl_iterator.h: Likewise.
2907 * testsuite/util/testsuite_allocator.h: Likewise.
2908 * testsuite/util/testsuite_iterators.h: Likewise.
2909 * include/Makefile.am: Likewise.
2910 * include/Makefile.in: Regenerate.
2912 2008-06-21 Chris Fairles <chris.fairles@gmail.com>
2914 * include/bits/unique_ptr.h: New.
2915 * include/std/memory: Adjust.
2916 * include/Makefile.am: Add.
2917 * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
2918 explicit_instantiation.cc: New.
2919 * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
2920 * include/Makefile.in: Regenerate.
2922 2008-06-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2924 * include/c_global/climits, include/tr1/climits: Add parentheses.
2926 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2928 * configure: Regenerate.
2930 2008-06-17 Chris Fairles <chris.fairles@gmail.com>
2932 * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
2934 * testsuite/24_iterators/operations/next.cc: New.
2935 * testsuite/24_iterators/operations/prev.cc: Likewise.
2937 2008-06-17 Paolo Carlini <paolo.carlini@oracle.com>
2939 * src/string_conversions.cc (__to_xstring<>): New.
2940 (to_string, to_wstring): Use it.
2942 2008-06-16 Paolo Carlini <paolo.carlini@oracle.com>
2944 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
2945 stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
2946 * src/string_conversions.cc: Add.
2947 * src/Makefile.am: Update.
2948 * config/abi/pre/gnu.ver: Adjust exports.
2949 * src/Makefile.in: Regenerate.
2950 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2952 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2954 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2956 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2958 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2960 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2962 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2964 * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
2966 * testsuite/21_strings/basic_string/numeric_conversions/char/
2967 to_string.cc: Likewise.
2968 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2970 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2972 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
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/
2983 stoull.cc: Likewise.
2984 * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2985 to_wstring.cc: Likewise.
2987 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2989 * include/Makefile.am: Remove trailing white space, fix typo.
2990 (parallel_headers): Remove duplicate file, sort entries.
2991 * include/Makefile.in: Regenerate.
2993 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2995 * src/condition_variable.cc (~condition_variable): Drop unused
2998 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3000 * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
3001 deque<>::push_front(_Args&&...)): Remove.
3002 (deque<>::push_back(value_type&&),
3003 deque<>::push_front(value_type&&)): Add.
3004 (deque<>::push_back(const value_type&),
3005 deque<>::push_front(const value_type&)): Add back.
3006 (deque<>::emplace_back(_Args&&...),
3007 deque<>::emplace_front(_Args&&...)): Declare...
3008 * include/bits/deque.tcc: ... and define.
3009 * include/bits/stl_list.h (list<>::push_back(_Args&&...),
3010 list<>::push_front(_Args&&...)): Remove.
3011 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3012 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3014 (list<>::push_back(const value_type&),
3015 list<>::push_front(const value_type&)): Add back.
3016 * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
3017 (vector<>::push_back(value_type&&)): Add.
3018 (vector<>::push_back(const value_type&)): Add back.
3019 (vector<>::emplace_back(_Args&&...)): Declare...
3020 * include/bits/vector.tcc: ... and define.
3021 * include/bits/stl_queue.h (queue<>::push(_Args&&...),
3022 priority_queue<>::push(_Args&&...)): Remove.
3023 (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
3024 priority_queue<>::push(value_type&&),
3025 priority_queue<>::emplace(_Args&&...)): Add.
3026 (queue<>::push(const value_type&),
3027 priority_queue<>::push(const value_type&)): Add back.
3028 * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
3029 (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
3030 (stack<>::push(const value_type&)): Add back.
3031 * include/debug/deque (deque<>::push_back(_Args&&...),
3032 deque<>::push_front(_Args&&...)): Remove.
3033 (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
3034 deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
3036 (deque<>::push_back(const value_type&),
3037 deque<>::push_front(const value_type&)): Add back.
3038 * include/debug/list (list<>::push_back(_Args&&...),
3039 list<>::push_front(_Args&&...)): Remove.
3040 (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
3041 list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
3043 (list<>::push_back(const value_type&),
3044 list<>::push_front(const value_type&)): Add back.
3045 * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
3046 (vector<>::push_back(value_type&&),
3047 vector<>::emplace_back(_Args&&...)): Add.
3048 (vector<>::push_back(const value_type&)): Add back.
3049 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3050 Adjust dg-error line numbers.
3051 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3053 * testsuite/23_containers/deque/requirements/dr438/
3054 constructor_1_neg.cc: Likewise.
3055 * testsuite/23_containers/deque/requirements/dr438/
3056 constructor_2_neg.cc: Likewise.
3057 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3058 Adjust dg-error line numbers.
3059 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3061 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
3063 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
3065 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3066 Adjust dg-error line numbers.
3067 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3069 * testsuite/23_containers/vector/requirements/dr438/
3070 constructor_1_neg.cc: Likewise.
3071 * testsuite/23_containers/vector/requirements/dr438/
3072 constructor_2_neg.cc: Likewise.
3074 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
3076 * include/tr1_impl/array (array<>::assign): Do not define in
3077 C++0x mode, per DR 776...
3078 (array<>::fill): ... define instead.
3079 * doc/xml/manual/intro.xml: Add an entry for DR 776.
3080 * testsuite/23_containers/array/requirements/fill.cc: New.
3082 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>
3084 * include/std/complex (pow(const complex<>&, int)): Do not define in
3085 C++0x mode, per DR 844.
3086 * include/tr1/complex (pow(const complex<>&, int)): Remove.
3087 * doc/xml/manual/intro.xml: Add an entry for DR 844.
3088 * testsuite/26_numerics/complex/dr844.cc: New.
3089 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
3091 2008-06-11 Paolo Carlini <paolo.carlini@oracle.com>
3093 * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
3094 cend(size_type)): Add per DR 691.
3095 * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
3097 * testsuite/23_containers/unordered_multimap/requirements/
3098 cliterators.cc: Likewise.
3099 * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
3101 * testsuite/23_containers/unordered_multiset/requirements/
3102 cliterators.cc: Likewise.
3103 * doc/xml/manual/intro.xml: Add an entry for DR 691.
3105 2008-06-11 Matthias Klose <doko@ubuntu.com>
3107 * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
3108 Remove empty directories.
3110 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3112 * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
3113 solaris2.5.[0-9], solaris2.6, windiss*): Remove.
3114 * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
3115 * configure: Regenerate.
3116 * config/os/solaris/solaris2.5: Remove directory.
3117 * config/os/solaris/solaris2.6: Remove directory.
3118 * config/os/windiss: Remove directory.
3120 2008-06-06 Benjamin Kosnik <bkoz@redhat.com>
3122 * doc/xml/manual/using.xml: Outline exception topics.
3124 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
3125 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3126 policy_access_fn_imps.hpp: Same.
3127 * include/ext/pb_ds/priority_queue.hpp: Same.
3128 * include/ext/throw_allocator.h: Same.
3130 * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
3131 (sequence_tag): New tag. Doxygen markup fixes.
3133 * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
3135 * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
3136 comment typo, include paths, format.
3137 * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
3138 * testsuite/performance/ext/pb_ds/
3139 hash_random_int_erase_mem_usage.cc: Same.
3140 * testsuite/performance/ext/pb_ds/
3141 random_int_subscript_find_timing.cc: Same.
3142 * testsuite/performance/ext/pb_ds/
3143 priority_queue_text_push_timing.cc: Same.
3144 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
3145 * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
3146 * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
3147 * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
3148 * testsuite/performance/ext/pb_ds/
3149 priority_queue_random_int_push_timing.cc: Same.
3150 * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
3151 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
3152 * testsuite/performance/ext/pb_ds/
3153 priority_queue_text_push_pop_timing.cc: Same.
3154 * testsuite/performance/ext/pb_ds/
3155 priority_queue_text_join_timing.cc: Same.
3156 * testsuite/performance/ext/pb_ds/
3157 priority_queue_random_int_push_pop_timing.cc: Same.
3158 * testsuite/performance/ext/pb_ds/
3159 random_int_subscript_insert_timing.cc: Same.
3160 * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
3161 * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
3162 * testsuite/performance/ext/pb_ds/
3163 priority_queue_text_pop_mem_usage.cc: Same.
3164 * testsuite/performance/ext/pb_ds/
3165 hash_zlob_random_int_find_timing.cc: Same.
3166 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
3167 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
3168 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
3169 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
3170 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
3171 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
3172 * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
3173 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
3174 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
3175 * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
3176 * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
3177 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
3178 * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
3179 * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
3180 * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
3181 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3182 * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
3183 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3184 * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
3185 * testsuite/util/regression/basic_type.hpp: Same.
3186 * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
3187 * testsuite/util/common_type/priority_queue/detail/
3188 ds_string_form.hpp: Same.
3189 * testsuite/util/common_type/assoc/string_form.hpp: Same.
3190 * testsuite/util/common_type/assoc/detail/
3191 resize_policy_string_form.hpp: Same.
3192 * testsuite/util/common_type/assoc/detail/
3193 trigger_policy_string_form.hpp: Same.
3194 * testsuite/util/common_type/assoc/detail/
3195 comb_hash_fn_string_form.hpp: Same.
3196 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
3197 * testsuite/util/common_type/assoc/detail/
3198 size_policy_string_form.hpp: Same.
3199 * testsuite/util/common_type/assoc/detail/
3200 probe_fn_string_form.hpp: Same.
3201 * testsuite/util/common_type/assoc/detail/
3202 list_update_policy_string_form.hpp: Same.
3203 * testsuite/util/common_type/assoc/detail/
3204 store_hash_string_form.hpp: Same.
3205 * testsuite/util/common_type/assoc/native_set.hpp: Same.
3206 * testsuite/util/io/prog_bar.cc: Same.
3208 * testsuite/util/regression/rand/io: Remove.
3209 * testsuite/util/regression/rand/io/priority_queue: Same.
3210 * testsuite/util/regression/rand/io/assoc: Same.
3211 * testsuite/util/regression/rand/io/priority_queue/
3212 xml_formatter.hpp: Consolidate this...
3213 * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
3214 * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
3215 * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
3217 * testsuite/util/regression/rand/priority_queue/
3218 container_rand_regression_test.hpp:To ...
3219 container_rand_regression_test.h: ... this.
3220 * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
3221 * testsuite/util/regression/rand/priority_queue/
3222 container_rand_regression_test.tcc: ... this.
3223 PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
3224 PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3225 PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3226 * testsuite/util/regression/rand/priority_queue/
3227 rand_regression_test.hpp: Adjust includes.
3229 * testsuite/util/regression/rand/assoc/
3230 container_rand_regression_test.hpp: To ...
3231 * testsuite/util/regression/rand/assoc/
3232 container_rand_regression_test.h: ... this.
3233 * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3234 * testsuite/util/regression/rand/assoc/
3235 container_rand_regression_test.tcc: ...this.
3236 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3239 * testsuite/util/regression/priority_queue: Remove.
3240 * testsuite/util/regression/assoc: Remove.
3241 * testsuite/util/regression/priority_queue/
3242 common_type.hpp: Consolidate this...
3243 * testsuite/util/regression/assoc/common_type.hpp: ... and this
3244 * testsuite/util/regression/common_type.hpp: ...here.
3246 * testsuite/util/rng: Remove.
3247 * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3248 * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3249 * testsuite/util/testsuite_rng.h: ...here.
3251 * testsuite/util/native_type/priority_queue: Remove.
3252 * testsuite/util/native_type/priority_queue/
3253 native_priority_queue.hpp: To...
3254 * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3256 * testsuite/util/native_type/assoc: Remove.
3257 * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3258 * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3259 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3260 * testsuite/util/native_type/assoc/native_set.hpp: To...
3261 * testsuite/util/native_type/assoc/native_map.hpp: To...
3262 * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3263 * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3264 * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3265 * testsuite/util/native_type/native_multimap.hpp: ...here.
3266 * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3267 * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3268 * testsuite/util/native_type/native_set.hpp: ...here.
3269 * testsuite/util/native_type/native_map.hpp: ...here.
3270 * testsuite/util/native_type/native_hash_set.hpp: ...here.
3271 * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3272 * testsuite/util/native_type/native_hash_map.hpp: ...here.
3274 * testsuite/util/common_type/priority_queue/common_type.hpp:
3275 Make include guard distinct.
3276 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3278 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3280 * configure.ac: Do not check for gconv.h.
3281 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3282 gconf.h. For glibc and uClibc systems, define
3283 _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3285 * configure, config.h.in: Regenerate.
3287 2008-06-06 Joseph Myers <joseph@codesourcery.com>
3289 * testsuite/17_intro/headers/all.cc,
3290 testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3291 testsuite/17_intro/headers/all_pedantic_errors.cc,
3292 testsuite/ext/headers.cc: Only include
3293 <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3294 _GLIBCXX_HAVE_ICONV.
3296 2008-06-05 Johannes Singler <singler@ira.uka.de>
3298 * include/parallel/random_shuffle.h:
3299 (parallel_random_shuffle_drs) Get the actual number of
3300 threads after entering the parallel region. Indentation.
3301 * include/parallel/algo.h: (random_shuffle(begin, end))
3302 Add namespace qualification to avoid ambiguity.
3304 2008-06-04 Benjamin Kosnik <bkoz@redhat.com>
3306 * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3307 to allocator_type, as per existing conventions.
3308 * include/ext/pb_ds/detail/binomial_heap_base_/
3309 binomial_heap_base_.hpp: Same.
3310 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3311 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3312 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3313 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3314 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3315 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3316 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3317 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3318 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3319 left_child_next_sibling_heap_.hpp: Same.
3320 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3321 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3322 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3323 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3324 * include/ext/pb_ds/detail/rc_binomial_heap_/
3325 rc_binomial_heap_.hpp: Same.
3326 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3327 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3328 * include/ext/pb_ds/list_update_policy.hpp: Same.
3329 * include/ext/pb_ds/exception.hpp: Same.
3330 * include/ext/pb_ds/tree_policy.hpp: Same.
3331 * include/ext/pb_ds/trie_policy.hpp: Same.
3332 * include/ext/pb_ds/priority_queue.hpp: Same.
3333 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3334 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3335 * testsuite/util/regression/rand/priority_queue/detail/
3336 defs_fn_imps.hpp: Same.
3337 * testsuite/util/regression/rand/priority_queue/detail/
3338 operator_fn_imps.hpp: Same.
3339 * testsuite/util/regression/rand/priority_queue/
3340 container_rand_regression_test.hpp: Same.
3341 * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3342 * testsuite/util/regression/rand/assoc/detail/
3343 operator_fn_imps.hpp: Same.
3344 * testsuite/util/regression/rand/assoc/
3345 container_rand_regression_test.hpp: Same.
3346 * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3347 * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3348 * testsuite/util/common_type/assoc/detail/
3349 tree_supports_order_statistics.hpp: Same.
3350 * testsuite/util/common_type/assoc/detail/
3351 trie_supports_prefix_search.hpp: Same.
3352 * testsuite/util/common_type/assoc/detail/
3353 trie_supports_order_statistics.hpp: Same.
3355 2008-06-02 Sandra Loosemore <sandra@codesourcery.com>
3356 Daniel Jacobowitz <dan@codesourcery.com>
3358 * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3360 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3361 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3363 2008-06-02 Paolo Carlini <paolo.carlini@oracle.com>
3365 * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3366 avoid a memory leak if the first __uninitialized_move_a throws.
3367 (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3369 * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3370 * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3372 2008-05-31 Paolo Carlini <paolo.carlini@oracle.com>
3373 Chris Jefferson <chris@bubblescope.net>
3376 * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3377 (pop_heap): Slightly tweak.
3379 2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
3381 * include/debug/bitset (bitset(const char*)): Implement DR 778
3384 * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3385 deal with char16_t and char32_t.
3387 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>
3389 * include/c_global/cmath (pow(float, int), pow(double, int),
3390 pow(long double, int)): Do not define in C++0x mode, per DR 550.
3391 * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3393 * include/tr1/cmath (pow(double, double), pow(float, float),
3394 pow(long double, long double), pow(_Tp, _Up)): Define.
3395 * include/tr1/complex (pow): Do not bring in from namespace std.
3396 (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3397 const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3398 pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3399 * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3400 const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3401 pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3403 * doc/xml/manual/intro.xml: Add an entry for DR 550.
3404 * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3405 * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3407 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3409 * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3410 * include/std/date_time: Likewise.
3411 * include/std/system_error: Likewise.
3412 * include/std/type_traits: Likewise; fix typo in macro name.
3413 * include/std/regex: Likewise.
3414 * include/std/random: Likewise.
3415 * include/std/unordered_map: Likewise.
3416 * include/std/condition_variable: Likewise.
3417 * include/std/unordered_set: Likewise.
3418 * include/std/mutex: Likewise.
3419 * include/std/array: Likewise.
3421 * include/c_std/cmath: Fix obsolete comment.
3422 * include/c_global/cmath: Likewise.
3424 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3426 * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3427 complex<float>::real(float), complex<float>::imag(float),
3428 complex<double>::real(double), complex<double>::imag(double),
3429 complex<long double>::real(long double),
3430 complex<long double>::imag(long double)): Add per DR 387.
3431 (complex<>::real(), complex<>::imag(), complex<float>::real(),
3432 complex<float>::imag(), complex<double>::real(),
3433 complex<double>::imag(), complex<long double>::real(),
3434 complex<long double>::imag(long double)): Adjust in C++0x mode.
3435 (real(complex<>&), imag(complex<>&), real(const complex<>&),
3436 imag(const complex<>&)): Likewise.
3437 * testsuite/26_numerics/complex/dr387.cc: New.
3438 * doc/xml/manual/intro.xml: Add an entry for DR 387.
3440 2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
3442 * include/std/complex: Trivial stylistic changes, define inline
3443 members inline, consistently with the rest of the library.
3444 (pow(const _Tp&, const complex<>&)): Minor tweak.
3446 2008-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3448 * src/atomic.cc (atomic_flag_test_and_set_explicit,
3449 atomic_flag_clear_explicit): Suppress unused parameter warnings.
3451 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3453 * include/std/tuple: Replace int -> size_t throughout per DR 775.
3454 * include/tr1_impl/array: Likewise.
3455 * include/tr1_impl/utility: Likewise.
3456 * doc/xml/manual/intro.xml: Add an entry for DR 775.
3458 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3460 * doc/xml/manual/intro.xml: Adjust links to ISO documents.
3462 2008-05-23 Paolo Carlini <paolo.carlini@oracle.com>
3464 * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
3465 * include/c_global/cmath (fpclassify): Likewise.
3467 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3469 * include/tr1_impl/hashtable_policy.h (_Map_base<,,
3470 std::_Select1st<_Pair>, true,>::at): Add per DR 761.
3471 * testsuite/23_containers/unordered_map/dr761.cc: New.
3472 * doc/xml/manual/intro.xml: Add an entry for DR 761.
3474 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3476 * testsuite/26_numerics/complex/dr781.cc: Add test variable.
3478 2008-05-22 Paolo Carlini <paolo.carlini@oracle.com>
3480 * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
3482 * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
3483 * include/tr1/complex: ... here.
3484 * doc/xml/manual/intro.xml: Add an entry for DR 781.
3485 * testsuite/26_numerics/complex/dr781.cc: Add.
3486 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
3487 * configure: Regenerate.
3489 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3491 * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
3492 (bitset<>::_M_copy_from_ptr): Add.
3493 (bitset<>::_M_copy_from_string): Forward to the latter.
3494 * doc/xml/manual/intro.xml: Add an entry for DR 778.
3495 * testsuite/23_containers/bitset/cons/2.cc: Add.
3497 2008-05-21 Paolo Carlini <paolo.carlini@oracle.com>
3499 * doc/html/ext/lwg-active.html: Update to Revision R56.
3500 * doc/html/ext/lwg-closed.html: Likewise.
3501 * doc/html/ext/lwg-defects.html: Likewise.
3503 2008-05-20 Paolo Carlini <paolo.carlini@oracle.com>
3505 PR c++/33979 (partial)
3506 * include/tr1_impl/functional_hash.h (hash<char16_t>,
3507 hash<char32_t>): Add specializations.
3508 * include/tr1_impl/type_traits (is_integral<char16_t>,
3509 is_integral<char32_t>): Likewise.
3510 * include/std/limits (numeric_limits<char16_t>,
3511 numeric_limits<char32_t>): Likewise.
3512 * src/limits_c++0x.cc: Add.
3513 * src/Makefile.am: Update.
3514 * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
3516 * testsuite/20_util/is_integral/value.cc: New.
3517 * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
3518 * testsuite/20_util/is_integral/requirements/
3519 explicit_instantiation.cc: Likewise.
3520 * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
3521 * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
3523 * configure: Regenerate.
3524 * src/Makefile.in: Likewise.
3525 * config.h.in: Likewise.
3527 2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
3529 * include/std/system_error: Align to current draft specifications.
3530 * src/system_error.cc: Same.
3531 * src/functexcept.cc: Adjust for corrected system_error construction.
3532 * include/std/ostream: Adjust error_code inserter.
3533 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
3534 * config/abi/pre/gnu.ver: Add new exports.
3536 * testsuite/util/testsuite_error.h: Consolidate error testing
3538 * testsuite/19_diagnostics/error_code/cons/1.cc: Use
3539 testsuite_error, adjust line numbers and constructor calls.
3540 * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
3541 * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
3542 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
3543 * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
3544 * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
3545 * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
3546 * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
3548 * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
3549 * testsuite/19_diagnostics/system_error/what-1.cc: Same.
3550 * testsuite/19_diagnostics/system_error/what-2.cc: Same.
3551 * testsuite/19_diagnostics/system_error/what-big.cc: Same.
3552 * testsuite/19_diagnostics/system_error/what-3.cc: Same.
3553 * testsuite/19_diagnostics/system_error/what-4.cc: Same.
3555 2008-05-15 Bernd Schmidt <bernd.schmidt@analog.com>
3557 * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
3558 * configure: Regenerate.
3560 2008-05-15 Johannes Singler <singler@ira.uka.de>
3562 * xml/manual/parallel_mode.xml:
3563 General revision and documentation of new compile-time
3564 options for sorting.
3566 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3568 * include/std/mutex (mutex::try_lock): Eat errors.
3569 (mutex::unlock): Same.
3570 (recursive_mutex::try_lock): Eat errors.
3571 (recursive_mutex::unlock): Same.
3572 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
3573 -pthreads, adjust line numbers.
3574 * testsuite/30_threads/mutex/native_handle/1.cc: Same.
3575 * testsuite/30_threads/mutex/cons/1.cc: Same.
3576 * testsuite/30_threads/mutex/try_lock/1.cc: Same.
3577 * testsuite/30_threads/mutex/try_lock/2.cc: Same.
3578 * testsuite/30_threads/mutex/lock/1.cc: Same.
3579 * testsuite/30_threads/mutex/unlock/1.cc: Same.
3580 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
3581 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
3582 * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
3584 2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
3586 * include/std/sstream: Adjust braces.
3587 * include/bits/fstream.tcc: Same.
3588 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
3590 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
3592 * doc/doxygen/user.cfg.in: Remove thread include.
3594 2008-05-13 David Daney <ddaney@avtrex.com>
3596 * config/cpu/mips/atomicity.h: Remove file.
3597 * config/cpu/mips: Remove directory.
3598 * configure.host: Remove host specific handling for mips*-*-*.
3600 2008-05-12 Stefano Soffia <soffia@cs.unipr.it>
3601 Paolo Carlini <paolo.carlini@oracle.com>
3603 * include/debug/vector (vector<>::_M_requires_reallocation): Just
3604 use this->capacity().
3605 (vector<>::capacity): Move non-pedantic / pedantic logic here.
3606 * testsuite/23_containers/vector/
3607 debug_mode_requires_reallocation-2.cc: New.
3609 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3610 Rename to debug_mode_requires_reallocation-1.cc
3612 2008-05-10 Roberto Bagnara <bagnara@cs.unipr.it>
3613 Paolo Carlini <paolo.carlini@oracle.com>
3615 * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
3616 * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
3619 2008-05-07 Johannes Singler <singler@ira.uka.de>
3621 * include/parallel/quicksort.h:
3622 (parallel_sort_qs_conquer) Explicitly request number of threads
3623 in the parallel clause.
3624 (parallel_sort_qs) Remove setting the number of threads globally.
3626 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3628 * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
3629 (recursive_mutex::recursive_mutex): Same.
3630 (once_flag::once_flag): Same.
3631 * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
3632 * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
3633 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
3634 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
3636 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3638 * include/std/condition_variable: New.
3639 * include/std/mutex: New.
3640 * src/condition_variable.cc: New.
3641 * src/mutex.cc: New.
3642 * include/bits/functexcept.h: Add __throw_system_error varients.
3643 * src/functexcept.cc: Same.
3644 * config/abi/pre/gnu.ver: Add exports.
3646 * doc/xml/manual/using.xml: Add new includes.
3647 * doc/doxygen/user.cfg.in: Doxygen support.
3648 * doc/doxygen/doxygroups.cc: Same.
3650 * include/Makefile.am: Add mutex, condition_variable.
3651 * include/Makefile.in: Regenerated.
3652 * src/Makefile.am: Add mutex.cc, condition_variable.cc.
3653 * src/Makefile.in: Regenerated.
3655 * testsuite/30_threads: New.
3656 * testsuite/30_threads/lock_error: New.
3657 * testsuite/30_threads/mutex: New.
3658 * testsuite/30_threads/mutex/dest: New.
3659 * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
3660 * testsuite/30_threads/mutex/native_handle: New.
3661 * testsuite/30_threads/mutex/native_handle/1.cc: New.
3662 * testsuite/30_threads/mutex/cons: New.
3663 * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
3664 * testsuite/30_threads/mutex/cons/1.cc: New.
3665 * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
3666 * testsuite/30_threads/mutex/requirements: New.
3667 * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
3668 * testsuite/30_threads/mutex/try_lock: New.
3669 * testsuite/30_threads/mutex/try_lock/1.cc: New.
3670 * testsuite/30_threads/mutex/try_lock/2.cc: New.
3671 * testsuite/30_threads/mutex/lock: New.
3672 * testsuite/30_threads/mutex/lock/1.cc: New.
3673 * testsuite/30_threads/mutex/unlock: New.
3674 * testsuite/30_threads/mutex/unlock/1.cc: New.
3675 * testsuite/30_threads/recursive_mutex: New.
3676 * testsuite/30_threads/recursive_mutex/dest: New.
3677 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
3678 * testsuite/30_threads/recursive_mutex/native_handle: New.
3679 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
3680 * testsuite/30_threads/recursive_mutex/cons: New.
3681 * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
3682 * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
3683 * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
3684 * testsuite/30_threads/recursive_mutex/requirements: New.
3685 * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
3686 * testsuite/30_threads/lock_guard: New.
3687 * testsuite/30_threads/lock_guard/requirements: New.
3688 * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
3689 * testsuite/30_threads/lock_guard/requirements/
3690 explicit_instantiation.cc: New.
3691 * testsuite/30_threads/headers: New.
3692 * testsuite/30_threads/headers/mutex: New.
3693 * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
3694 * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
3695 * testsuite/30_threads/headers/condition_variable: New.
3696 * testsuite/30_threads/headers/condition_variable/
3697 types_std_c++0x.cc: New.
3698 * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
3699 * testsuite/30_threads/once_flag: New.
3700 * testsuite/30_threads/unique_lock: New.
3701 * testsuite/30_threads/unique_lock/requirements: New.
3702 * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
3703 * testsuite/30_threads/unique_lock/requirements/
3704 explicit_instantiation.cc: New.
3705 * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
3707 2008-05-06 Benjamin Kosnik <bkoz@redhat.com>
3710 * include/bits/c++config: Namespace macros and setup only in C++.
3711 * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
3713 2008-05-06 Johannes Singler <singler@ira.uka.de>
3715 * include/parallel/multiway_merge.h:
3716 (multiway_merge_*_unguarded):
3717 Pass sentinel directly, to allow correct determination.
3718 (multiway_merge_loser_tree_unguarded):
3719 Remove over-cautious assertion.
3720 (calls to multiway_merge_*_splitting):
3721 Parametrize with type that is correct in all cases.
3722 * include/parallel/losertree.h:
3723 (delete_min_insert (in many classes)):
3724 Correct and standardize assertions.
3726 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3728 * testsuite/util/testsuite_visualization.h: Move contents into...
3729 * testsuite/util/testsuite_performance.h: ...here.
3730 * testsuite/util/testsuite_common_types.h: Move
3731 performance-related test infrastructure into
3732 testsuite_performance.
3733 * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
3734 * testsuite/performance/23_containers/find/map.cc: Same.
3735 * testsuite/performance/23_containers/create/map.cc: Same.
3736 * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
3737 * testsuite/performance/23_containers/insert/sequence.cc: Same.
3738 * testsuite/performance/23_containers/insert/associative.cc: Same.
3739 * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
3740 * testsuite/performance/23_containers/index/map.cc: Same.
3741 * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
3742 * testsuite/performance/23_containers/create_sort/list.cc: Same.
3743 * testsuite/performance/23_containers/sort_search/list.cc: Same.
3744 * testsuite/performance/23_containers/producer_consumer/sequence.cc:
3746 * testsuite/performance/23_containers/producer_consumer/associative.cc:
3749 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
3750 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
3752 2008-05-05 Benjamin Kosnik <bkoz@redhat.com>
3754 * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
3755 * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
3757 2008-05-01 Benjamin Kosnik <bkoz@redhat.com>
3759 * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
3761 2008-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3763 * include/Makefile.am (install-headers): Cope with empty
3765 * include/Makefile.in: Regenerate.
3767 2008-04-29 Benjamin Kosnik <bkoz@redhat.com>
3769 * include/bits/c++config: Remove space between '#' and 'undef' for
3770 _GLIBCXX_LONG_DOUBLE_COMPAT.
3772 2008-04-29 Joseph Myers <joseph@codesourcery.com>
3774 * Makefile.am (install-html, install-pdf): Add dummy targets.
3775 * Makefile.in: Regenerate.
3776 * doc/Makefile.am (install-html, install-pdf): Remove.
3777 * doc/Makefile.in: Regenerate.
3779 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3781 * include/bits/c++config: Move os_defines and cpu_defines after
3782 namespace definitions and base macros.
3784 2008-04-28 Benjamin Kosnik <bkoz@redhat.com>
3787 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
3789 * configure: Regenerate.
3791 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3794 * include/std/unordered_map: Include debug/unordered_map if
3796 * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
3797 * testsuite/23_containers/unordered_map/requirements/
3798 debug_container.cc: ...here.
3799 * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
3800 * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
3801 * testsuite/23_containers/unordered_set/requirements/
3802 debug_container.cc: ...here.
3803 * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
3805 2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
3808 * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
3809 * configure.ac: Re-order compiler macros.
3810 * configure: Regenerated.
3812 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3815 * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
3816 Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
3817 * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
3818 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
3819 * configure: Regenerate.
3820 * include/Makefile.am (parallel_headers): Make conditional on
3822 * include/Makefile.in: Regenerate.
3824 2008-04-24 Paolo Carlini <pcarlini@suse.de>
3827 * include/debug/list (merge): Use _M_transfer_iter, consistently
3828 with the splice members.
3829 * testsuite/23_containers/list/operations/35969.cc: New.
3831 * testsuite/23_containers/list/operators: Rename to
3832 testsuite/23_containers/list/operations.
3834 2008-04-24 Benjamin Kosnik <bkoz@redhat.com>
3836 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
3837 all used __sync builtins, in two sizes.
3838 * config.h.in: Regenerate.
3839 * configure: Regenerate.
3840 * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1.
3841 * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3842 * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4.
3843 * doc/xml/manual/concurrency.xm: Update docs.
3845 2008-04-23 Benjamin Kosnik <bkoz@redhat.com>
3847 * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
3848 _GLIBCXX_BEGIN_EXTERN_C, etc.
3850 2008-04-23 Johannes Singler <singler@ira.uka.de>
3852 * include/parallel/quicksort.h: Reformat,
3853 (parallel_sort_qs): Do not pass number of elements.
3854 * include/parallel/balanced_quicksort.h: Reformat,
3855 (parallel_sort_qsb): Do not pass number of elements.
3856 * include/parallel/tags.h:
3857 Introduce new tags for compile-time choice.
3858 * include/parallel/merge.h:
3859 (parallel_merge_advance):Beautified.
3860 * include/parallel/algo.h: Reformatting (spaces for tabs)
3861 New sort and stable_sort variants, corresponding to the tags.
3862 * include/parallel/sort.h:
3863 New sort and stable_sort variants, corresponding to the tags.
3864 Changed determining the desired number of threads.
3866 2008-04-23 Johannes Singler <singler@ira.uka.de>
3868 * include/parallel/multiway_merge.h
3869 (multiway_merge_loser_tree):
3870 Leave checks to callers, add precondition instead.
3871 (multiway_merge_loser_tree_unguarded): Likewise.
3872 (multiway_merge_loser_tree_sentinel): Likewise.
3873 (sequential_multiway_merge): Added checks for total length 0.
3874 (parallel_multiway_merge): Skip empty sequences.
3875 (multiway_merge, all variants):
3876 Remove temporary variable, return directly.
3877 (stable_multiway_merge, all variants): Likewise.
3878 (multiway_merge_sentinels, all variants): Likewise.
3879 (stable_multiway_merge_sentinels, all variants): Likewise.
3880 * include/parallel/multiseq_selection.h
3881 (multiseq_partition): More detailed assertions.
3883 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3885 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
3886 (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
3887 (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
3888 (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
3889 * configure: Regenerate.
3891 2008-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3894 * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
3895 Call 'mkdir -p' unconditionally, but ignore its return value.
3896 * include/Makefile.in: Regenerate.
3898 * include/Makefile.am: Fix most stamp rules to regenerate
3899 the links for all sources newer than the stamp file.
3900 * include/Makefile.in: Regenerate.
3901 * Makefile.in: Likewise.
3902 * src/Makefile.in: Likewise.
3903 * doc/Makefile.in: Likewise.
3904 * po/Makefile.in: Likewise.
3905 * libmath/Makefile.in: Likewise.
3906 * libsupc++/Makefile.in: Likewise.
3907 * testsuite/Makefile.in: Likewise.
3909 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
3912 * aclocal.m4: Regenerate.
3913 * configure: Regenerate.
3915 2008-04-16 Andreas Tobler <a.tobler@schweiz.org>
3918 * configure.ac: Use GCC_HEADER_STDINT.
3919 * src/atomic.cc: Include gstdint.h
3920 * configure: Regenerate.
3921 * Makefile.in: Likewise.
3922 * doc/Makefile.in: Likewise.
3923 * include/Makefile.in: Likewise.
3924 * libmath/Makefile.in: Likewise.
3925 * libsupc++/Makefile.in: Likewise.
3926 * po/Makefile.in: Likewise.
3927 * src/Makefile.in: Likewise.
3928 * testsuite/Makefile.in: Likewise.
3929 * aclocal.m4: Likewise.
3931 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3934 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
3935 -O0 when checking for atomic builtins.
3936 * configure: Regenerate.
3938 2008-04-14 Benjamin Kosnik <bkoz@redhat.com>
3940 * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
3942 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3944 * doc/html/*: Regenerate.
3946 2008-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3948 * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
3949 * doc/xml/authors.xml: Fix typos.
3950 * doc/xml/faq.xml: Likewise.
3951 * doc/xml/manual/abi.xml: Likewise.
3952 * doc/xml/manual/allocator.xml: Likewise.
3953 * doc/xml/manual/appendix_contributing.xml: Likewise.
3954 * doc/xml/manual/backwards_compatibility.xml: Likewise.
3955 * doc/xml/manual/build_hacking.xml: Likewise.
3956 * doc/xml/manual/codecvt.xml: Likewise.
3957 * doc/xml/manual/concurrency.xml: Likewise.
3958 * doc/xml/manual/ctype.xml: Likewise.
3959 * doc/xml/manual/debug_mode.xml: Likewise.
3960 * doc/xml/manual/diagnostics.xml: Likewise.
3961 * doc/xml/manual/evolution.xml: Likewise.
3962 * doc/xml/manual/extensions.xml: Likewise.
3963 * doc/xml/manual/locale.xml: Likewise.
3964 * doc/xml/manual/messages.xml: Likewise.
3965 * doc/xml/manual/parallel_mode.xml: Likewise.
3966 * doc/xml/manual/status_cxx200x.xml: Likewise.
3967 * doc/xml/manual/strings.xml: Likewise.
3968 * doc/xml/manual/support.xml: Likewise.
3969 * doc/xml/manual/test.xml: Likewise.
3970 * doc/xml/manual/using.xml: Likewise.
3972 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3973 Johannes Singler <singler@ira.uka.de>
3975 * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
3976 insertors. Correct omp_set_num_threads example.
3978 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
3980 * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
3981 * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
3982 * src/atomic.c: Format, doxygen markup, edits.
3984 * include/Makefile.am (cstdatomic, stdatomic.h): Add.
3985 * src/Makefile.am (atomic.c): Add.
3986 * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
3987 * configure.ac: Call it.
3988 * include/Makefile.in: Regenerate.
3989 * src/Makefile.in: Same.
3990 * Makefile.in: Same.
3991 * doc/Makefile.in: Same.
3992 * po/Makefile.in: Same.
3993 * libmath/Makefile.in: Same.
3994 * include/Makefile.in: Same.
3995 * testsuite/Makefile.in: Same.
3996 * libsupc++/Makefile.in: Same.
3997 * config.h.in: Same.
4000 * config/abi/pre/gnu.ver: Add atomics exports.
4002 * include/ext/typelist.h (apply_generator): New.
4003 * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
4004 (_GLIBCXX_END_EXTERN_C): New.
4005 Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
4007 * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
4009 * testsuite/util/testsuite_common_types.h (integral_types): New
4011 (atomics, atomics_tl): Same.
4012 (assignable, default_constructible, copy_constructible,
4013 explicit_value_constructible): New.
4014 * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
4015 * testsuite/29_atomics: New.
4016 * testsuite/29_atomics/atomic_address: Same.
4017 * testsuite/29_atomics/atomic_address/cons: Same.
4018 * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
4019 * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
4020 * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
4021 * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
4022 * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
4023 * testsuite/29_atomics/atomic_flag: Same.
4024 * testsuite/29_atomics/atomic_flag/cons: Same.
4025 * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
4026 * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
4027 * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
4028 * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
4029 * testsuite/29_atomics/atomic_flag/requirements: Same.
4030 * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
4032 * testsuite/29_atomics/atomic_flag/
4033 atomic_global_fence_compatibility.cc: Same.
4034 * testsuite/29_atomics/atomic_flag/test_and_set: Same.
4035 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
4036 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
4037 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
4038 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
4039 * testsuite/29_atomics/headers: Same.
4040 * testsuite/29_atomics/headers/cstdatomic: Same.
4041 * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
4042 * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
4043 * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
4044 * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
4045 * testsuite/29_atomics/headers/stdatomic.h: Same.
4046 * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
4047 * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
4048 * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
4049 * testsuite/29_atomics/atomic: Same.
4050 * testsuite/29_atomics/atomic/cons: Same.
4051 * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
4052 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
4053 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
4054 * testsuite/29_atomics/atomic/cons/default.cc: Same.
4055 * testsuite/29_atomics/atomic/requirements: Same.
4056 * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
4057 * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
4060 2008-04-10 Lawrence Crowl <crowl@google.com>
4062 * include/c_global/cstdatomic: New.
4063 * include/c_compatibility/stdatomic.h: New.
4064 * src/atomic.c: New.
4066 2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
4068 * include/std/tuple: Consistency check for include guard, doxygen
4070 * include/std/date_time: Same.
4071 * include/std/type_traits: Same.
4072 * include/std/regex: Same.
4073 * include/std/array: Same.
4074 * include/std/system_error: Same, add error_code ctor.
4076 2008-04-07 Johannes Singler <singler@ira.uka.de>
4078 * include/parallel/multiway_merge.h: Moved decisions to
4079 compile-time instead of run-time.
4080 * include/parallel/losertree.h: Removed obsolete variants, added
4081 variant that uses pointers in the loser tree.
4082 * include/parallel/types.h: Remove obsolete settings options from enum.
4083 * include/parallel/features.h: Remove obsolete compile-time switches.
4084 * include/parallel/compiletime_settings.h: Remove obsolete variant
4085 that copies back *after* sorting.
4086 * include/parallel/tags.h: Add one new tag for compile-time switch.
4087 * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
4088 * include/parallel/multiway_mergesort.h: Adapt to changes in
4089 multiway_merge.h. Factor out splitting variants. Remove obsolete
4090 variant that copies back *after* sorting.
4091 * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
4092 * testsuite/25_algorithms/sort/35588.cc: Added test case from /
4095 2008-03-29 Paolo Carlini <pcarlini@suse.de>
4098 * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
4099 _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
4100 __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
4101 _Tp)): Fix signatures.
4102 * testsuite/25_algorithms/fill/35725.cc: New.
4103 * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
4105 2008-03-29 Matthias Klose <doko@ubuntu.com>
4107 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
4108 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
4109 * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
4110 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
4112 2008-03-27 Ian Lance Taylor <iant@google.com>
4114 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
4115 glibcxx_ld_is_gold. Check for gold in --gc-sections test.
4116 (GLIBCXX_ENABLE_SYMVERS): Check for gold.
4117 * aclocal.m4, configure: Rebuild.
4119 2008-03-26 Benjamin Kosnik <bkoz@redhat.com>
4121 * testsuite/util/testsuite_abi.h: Remove symbol_objects,
4122 symbol_names typedefs.
4123 * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
4124 for long double compatiblity symbols, simplify data structures used.
4126 2008-03-25 Benjamin Kosnik <bkoz@redhat.com>
4128 * scripts/run_doxygen: Remove html_output_dir. Downgrade to
4130 * doc/doxygen/style.css: Delete.
4131 * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
4133 (PREDEFINED): Update.
4134 (HTML_OUTPUT): Remove html_output_dir, use html.
4135 (HTML_STYLESHEET): Remove style.css.
4136 * doc/doxygen/tables.html: Remove style.css use.
4137 * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
4138 * doc/doxygen/doxygroups.cc: Namespace edits.
4139 * doc/doxygen/Intro.3: Correct typo.
4141 * doc/xml/api.xml: Add gcc-4.3 links.
4142 * doc/html/api.html: Regenerate.
4144 * include/debug/debug.h: Document namepaces here.
4145 * include/parallel/base.h: Same.
4146 * include/ext/typelist.h: Same.
4147 * include/ext/pb_ds/tag_and_trait.hpp: Same.
4149 * include/tr1_impl/random: Adjust line break.
4150 * include/tr1_impl/unordered_map: Correct and or add markup.
4151 * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
4152 * include/tr1_impl/functional_hash.h: Same.
4153 * include/tr1_impl/cmath: Same.
4154 * include/tr1_impl/functional: Same.
4155 * include/tr1_impl/unordered_set: Same.
4156 * include/tr1_impl/complex: Same.
4157 * include/tr1_impl/type_traits: Same.
4158 * include/tr1_impl/regex: Same.
4159 * include/tr1_impl/array: Same.
4160 * include/std/tuple: Same.
4161 * include/std/date_time: Same.
4162 * include/std/system_error: Same.
4163 * include/std/type_traits: Same.
4164 * include/ext/enc_filebuf.h: Same.
4165 * include/ext/throw_allocator.h: Same.
4166 * include/ext/pool_allocator.h: Same.
4167 * include/ext/bitmap_allocator.h: Same.
4168 * include/ext/concurrence.h: Same.
4169 * include/ext/codecvt_specializations.h: Same.
4170 * include/ext/stdio_sync_filebuf.h: Same.
4171 * include/ext/array_allocator.h: Same.
4172 * include/ext/mt_allocator.h: Same.
4173 * include/bits/locale_classes.h: Same.
4174 * include/bits/locale_facets.h: Same.
4175 * include/bits/codecvt.h: Same.
4176 * include/bits/char_traits.h: Same.
4177 * include/bits/allocator.h: Same.
4178 * include/bits/locale_facets_nonio.h: Same.
4179 * include/tr1/poly_laguerre.tcc: Same.
4180 * include/tr1/riemann_zeta.tcc: Same.
4181 * include/tr1/beta_function.tcc: Same.
4182 * include/tr1/tuple: Same.
4183 * include/tr1/exp_integral.tcc: Same.
4184 * include/tr1/gamma.tcc: Same.
4185 * include/tr1/hypergeometric.tcc: Same.
4186 * include/tr1/modified_bessel_func.tcc: Same.
4187 * include/tr1/legendre_function.tcc: Same.
4188 * include/tr1/type_traits: Same.
4189 * include/tr1/special_function_util.h: Same.
4190 * include/tr1/bessel_function.tcc: Same.
4191 * include/tr1/cmath: Same.
4192 * include/tr1/poly_hermite.tcc: Same.
4193 * include/tr1/ell_integral.tcc: Same.
4194 * config/abi/compatibility.h: Adjust file name.
4196 * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
4198 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
4199 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
4201 2008-03-23 Paolo Carlini <pcarlini@suse.de>
4203 * doc/xml/faq.xml: Fix various links.
4204 * doc/xml/api.xml: Likewise.
4205 * doc/xml/manual/parallel_mode.xml: Likewise.
4206 * doc/html/faq.html: Regenerate.
4207 * doc/html/api.html: Likewise.
4208 * doc/html/manual/bk01pt12ch31s03.html: Likewise.
4210 2008-03-20 Benjamin Kosnik <bkoz@redhat.com>
4212 * testsuite/util/testsuite_abi.cc: Add support for not counting
4213 GLIBCXX_LDBL_* compat symbols missing if no long double compat
4216 2008-03-20 Paolo Carlini <pcarlini@suse.de>
4219 * include/tr1_impl/type_traits (struct __in_array): Add back.
4220 (is_function): Use it.
4221 * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
4223 2008-03-20 Johannes Singler <singler@ira.uka.de>
4225 * include/parallel/set_operations.h (set_intersection): Remove.
4227 2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
4230 * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
4231 * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
4233 2008-03-18 Benjamin Kosnik <bkoz@redhat.com>
4235 * configure.ac (libtool_VERSION): To 6:11:0.
4236 * configure: Regenerate.
4237 * aclocal.m4: Regenerate.
4239 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4241 * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
4243 * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
4244 * include/precompiled/stdc++.h: Likewise.
4246 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4248 * include/std/date_time: New file.
4249 * src/date_time.cc: New file.
4250 * config/abi/pre/gnu.ver: Added <date_time> symbols in version
4251 GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
4252 that matched new symbols.
4253 * include/Makefile.am: Add date_time in std headers.
4254 * src/Makefile.am: Add date_time.cc to source files.
4255 * include/Makefile.in: Regenerate.
4256 * src/Makefile.in: Likewise.
4258 2008-03-16 Pedro Lamarão <pedro.lamarao@gmail.com>
4260 * testsuite/31_date_time/headers/date_time/types_std.cc: New.
4261 * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
4262 * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
4263 * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
4264 * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
4265 * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
4266 * testsuite/31_date_time/system_time/requirements: Likewise.
4267 * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
4269 2008-03-16 Paolo Carlini <pcarlini@suse.de>
4271 * config.h.in: Regenerate.
4273 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4275 * aclocal.m4: Regenerate.
4276 * configure: Likewise.
4277 * Makefile.in: Likewise.
4278 * doc/Makefile.in: Likewise.
4279 * include/Makefile.in: Likewise.
4280 * libmath/Makefile.in: Likewise.
4281 * libsupc++/Makefile.in: Likewise.
4282 * po/Makefile.in: Likewise.
4283 * src/Makefile.in: Likewise.
4284 * testsuite/Makefile.in: Likewise.
4286 2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
4289 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
4290 _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
4292 2008-03-13 Paolo Carlini <pcarlini@suse.de>
4295 * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
4296 * testsuite/25_algorithms/set_difference/35541.cc: New.
4298 2008-03-07 Jakub Jelinek <jakub@redhat.com>
4300 * config/abi/pre/gnu.ver: Move <system_error> related
4301 symbols to GLIBCXX_3.4.11 symbol version.
4302 * testsuite/util/testsuite_abi.cc (check_version): Allow
4305 2008-03-06 Chris Jefferson <chris@bubblescope.net>
4306 Paolo Carlini <pcarlini@suse.de>
4309 * include/tr1/tuple (operator==, operator<): Fix.
4310 * include/std/tuple (operator==, operator<): Likewise.
4311 * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
4312 * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
4314 2008-03-04 Joseph Myers <joseph@codesourcery.com>
4316 * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
4318 * configure: Regenerate.
4320 2008-03-02 Hans-Peter Nilsson <hp@axis.com>
4322 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
4323 testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
4324 Mark changed error message prelude, adding "in file included from",
4325 using dg-excess-errors.
4327 2008-03-01 Jakub Jelinek <jakub@redhat.com>
4329 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
4330 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4331 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4332 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
4333 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4335 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4336 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4338 2008-02-29 Jakub Jelinek <jakub@redhat.com>
4340 * config/abi/pre/gnu.ver: Remove
4341 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
4342 _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
4343 * config/os/gnu-linux/ldbl-extra.ver: Export
4344 _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
4345 and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
4346 * src/hash.cc: Only define long double hash specialization if
4347 _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
4348 * src/compatibility-ldbl.cc: Include "hash.cc".
4349 (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
4350 (_ZNKSt4hashIeEclEe): New alias.
4351 * testsuite/util/testsuite_abi.cc (check_version): Support
4352 GLIBCXX_LDBL_3.4.10.
4354 2008-02-25 Jan Beulich <jbeulich@novell.com>
4356 * acinclude.m4: Also check for EIDRM and ETXTBSY.
4357 * configure: Re-generate.
4358 * config/os/generic/error_constants.h (namespace posix_error):
4359 Also wrap uses of EIDRM and ETXTBSY in conditionals.
4360 * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
4363 2008-02-20 Jason Merrill <jason@redhat.com>
4365 * include/bits/c++config: Use 'inline namespace' instead of
4368 2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org>
4370 * include/std/tuple: Fixes for moveable, non-copyable types.
4371 * testsuite/20_util/tuple/moveable2.cc: New.
4373 2008-02-18 Paolo Carlini <pcarlini@suse.de>
4375 * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
4377 2008-02-17 Ed Smith-Rowland <3dw4rd@verizon.net>
4379 * include/tr1/poly_laguerre.tcc: Doxygen fixes.
4380 * include/tr1/exp_integral.tcc: Same.
4381 * include/tr1/gamma.tcc: Same.
4382 * include/tr1/hypergeometric.tcc: Same.
4384 2008-02-17 Benjamin Kosnik <bkoz@redhat.com>
4387 * include/parallel/settings.h (_Settings): Reconstruct Settings class
4388 here, uglify, remove anonymous namespace and static
4389 members. Convert to datum.
4390 * include/parallel/types.h: Move Settings:: enumerations here, uglify.
4391 * src/parallel_settings.cc: New, definition for _Settings member
4393 * include/parallel/multiway_merge.h: Same.
4394 * include/parallel/for_each.h: Same.
4395 * include/parallel/workstealing.h: Same.
4396 * include/parallel/base.h: Same.
4397 * include/parallel/numeric
4398 * include/parallel/features.h: Same.
4399 * include/parallel/quicksort.h: Same.
4400 * include/parallel/equally_split.h: Same.
4401 * include/parallel/algorithmfwd.h: Same.
4402 * include/parallel/omp_loop_static.h: Same.
4403 * include/parallel/random_shuffle.h: Same.
4404 * include/parallel/balanced_quicksort.h: Same.
4405 * include/parallel/tags.h: Same.
4406 * include/parallel/multiway_mergesort.h: Same.
4407 * include/parallel/numericfwd.h: Same.
4408 * include/parallel/partition.h: Same.
4409 * include/parallel/partial_sum.h: Same.
4410 * include/parallel/find.h: Same.
4411 * include/parallel/algo.h: Same.
4412 * include/parallel/omp_loop.h: Same.
4413 * include/parallel/sort.h: Same.
4415 * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
4416 * src/Makefile.in: Regenerate.
4418 * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
4420 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4423 * include/parallel/types.h: Reinstate integer types typedefs.
4424 * include/parallel/multiseq_selection.h: Adjust.
4425 * include/parallel/compatibility.h: Likewise.
4426 * include/parallel/random_shuffle.h: Likewise.
4427 * include/parallel/random_number.h: Likewise.
4428 * include/parallel/base.h: Likewise.
4430 2008-02-17 Paolo Carlini <pcarlini@suse.de>
4433 * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
4434 * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
4435 * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
4437 2008-02-16 Benjamin Kosnik <bkoz@redhat.com>
4439 * include/parallel/random_number.h: Use TR1's mersenne_twister.
4440 (random_number::genrand_bits()): Remove.
4441 (random_number::set_seed): Remove.
4443 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4445 * include/parallel/types.h: Remove enum parallelism.
4447 2008-02-15 Benjamin Kosnik <bkoz@redhat.com>
4449 * include/parallel/types.h: Move enum parallelism here. Use
4450 tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
4452 * include/parallel/multiseq_selection.h: Adjust for cstdint.
4453 * include/parallel/compatibility.h: Same.
4454 * include/parallel/tags.h: Just compile-time tags.
4455 * include/parallel/base.h: Put namespace bits here.
4457 * src/Makefile.am (PARALLEL_FLAGS): Use it.
4458 * src/Makefile.in: Regenerate.
4460 * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
4462 2008-02-15 Hans-Peter Nilsson <hp@axis.com>
4464 * testsuite/config/default.exp: Load gcc dejapatches.exp.
4466 2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4468 * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
4471 2008-02-14 Benjamin Kosnik <bkoz@redhat.com>
4473 * config/os/generic/error_constants.h (posix_errno): Guard
4474 not_supported use of ENOTSUP.
4475 * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
4477 * aclocal.m4: Regenerate.
4478 * configure: Rengerate.
4479 * config.h.in: Same.
4481 2008-02-13 Benjamin Kosnik <bkoz@redhat.com>
4483 * doc/doxygen/mainpage.html: Correct links.
4485 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4487 * doc/html/*: Populate with regenerated files.
4489 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4491 * doc/html/*: Remove all but contents of ext/pb_ds.
4492 * doc/html/index.html: New.
4493 * doc/html/README: New.
4495 2008-02-11 Benjamin Kosnik <bkoz@redhat.com>
4497 * doc/doxygen/mainpage.html: Add in corrected links.
4498 * README: Edit, move most into...
4499 * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
4500 (Documentation Style): Revise.
4501 * doc/xml/spine.xml: Edit file names.
4502 * doc/Makefile.am: Edit xml_sources.
4503 * doc/Makefile.in: Regenerate.
4505 2008-02-11 Paolo Carlini <pcarlini@suse.de>
4507 * configure: Regenerate with documented autoconf and automake
4508 versions (i.e., 2.59 and 1.9.6).
4509 * Makefile.in: Likewise.
4510 * src/Makefile.in: Likewise.
4511 * doc/Makefile.in: Likewise.
4512 * po/Makefile.in: Likewise.
4513 * libmath/Makefile.in: Likewise.
4514 * include/Makefile.in: Likewise.
4515 * libsupc++/Makefile.in: Likewise.
4516 * testsuite/Makefile.in: Likewise.
4517 * aclocal.m4: Likewise.
4519 2008-02-10 Benjamin Kosnik <bkoz@redhat.com>
4521 Convert documentation to DocBook.
4522 * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
4523 (doc-doxygen-man): Changed to doc-man-doxygen.
4524 (doc-performance): Changed to doc-html-performance.
4525 (doc-xml-doxygen): New.
4526 (doc-xml-single): New.
4527 (doc-xml-validate): New.
4529 (doc-html-single): New.
4532 (doc-pdf-fop-xml): New.
4533 (doc-pdf-fop-fo): New.
4534 (doc-pdf-xmlto): New.
4535 (doc-pdf-xmlroff): New.
4536 (doc-pdf-prince): New.
4537 * doc/xml: New directory.
4538 * doc/xml/authors.xml: New.
4539 * doc/xml/images: New directory.
4540 * doc/xml/images/confdeps.png: Add.
4541 * doc/xml/images/confdeps.dot: Add.
4542 * doc/xml/faq.xml: New.
4543 * doc/xml/api.xml: New.
4544 * doc/xml/gnu: New directory.
4545 * doc/xml/gnu/gpl-3.0.xml: New.
4546 * doc/xml/gnu/fdl-1.2.xml: New.
4547 * doc/xml/gnu/gpl-2.0.xml: New.
4548 * doc/xml/manual: New directory.
4549 * doc/xml/manual/mt_allocator.xml: New.
4550 * doc/xml/manual/allocator.xml: New.
4551 * doc/xml/manual/ctype.xml: New.
4552 * doc/xml/manual/numerics.xml: New.
4553 * doc/xml/manual/codecvt.xml: New.
4554 * doc/xml/manual/concurrency.xml: New.
4555 * doc/xml/manual/backwards_compatibility.xml: New.
4556 * doc/xml/manual/intro.xml: New.
4557 * doc/xml/manual/shared_ptr.xml: New.
4558 * doc/xml/manual/abi.xml: New.
4559 * doc/xml/manual/status_cxxtr1.xml: New.
4560 * doc/xml/manual/auto_ptr.xml: New.
4561 * doc/xml/manual/build.xml: New.
4562 * doc/xml/manual/internals.xml: New.
4563 * doc/xml/manual/parallel_mode.xml: New.
4564 * doc/xml/manual/status_cxx1998.xml: New.
4565 * doc/xml/manual/containers.xml: New.
4566 * doc/xml/manual/io.xml: New.
4567 * doc/xml/manual/appendix_porting.xml: New.
4568 * doc/xml/manual/utilities.xml: New.
4569 * doc/xml/manual/bitmap_allocator.xml: New.
4570 * doc/xml/manual/support.xml: New.
4571 * doc/xml/manual/configure.xml: New.
4572 * doc/xml/manual/build_hacking.xml: New.
4573 * doc/xml/manual/evolution.xml: New.
4574 * doc/xml/manual/using.xml: New.
4575 * doc/xml/manual/debug.xml: New.
4576 * doc/xml/manual/localization.xml: New.
4577 * doc/xml/manual/strings.xml: New.
4578 * doc/xml/manual/debug_mode.xml: New.
4579 * doc/xml/manual/locale.xml: New.
4580 * doc/xml/manual/extensions.xml: New.
4581 * doc/xml/manual/appendix_contributing.xml: New.
4582 * doc/xml/manual/messages.xml: New.
4583 * doc/xml/manual/diagnostics.xml: New.
4584 * doc/xml/manual/appendix_free.xml: New.
4585 * doc/xml/manual/algorithms.xml: New.
4586 * doc/xml/manual/iterators.xml: New.
4587 * doc/xml/manual/spine.xml: New.
4588 * doc/xml/manual/test.xml: New.
4589 * doc/xml/manual/status_cxx200x.xml: New.
4590 * doc/xml/spine.xml: New.
4592 * doc/xml/book.txml: New. Template file.
4593 * doc/xml/chapter.txml: Same.
4594 * doc/xml/class.txml: Same.
4596 * doc/doxygen/guide.html: Removed, integrated into other docs.
4597 * doc/doxygen/user.cfg.in: Clean up XML generation.
4598 * doc/doxygen/run_doxygen: Move to..
4599 * scripts/run_doxygen: ...here.
4601 * configure: Regenerate.
4602 * Makefile.in: Regenerate.
4603 * src/Makefile.in: Regenerate.
4604 * doc/Makefile.in: Regenerate.
4605 * po/Makefile.in: Regenerate.
4606 * libmath/Makefile.in: Regenerate.
4607 * include/Makefile.in: Regenerate.
4608 * libsupc++/Makefile.in: Regenerate.
4609 * testsuite/Makefile.in: Regenerate.
4610 * aclocal.m4: Regenerate.
4612 2008-02-10 Paolo Carlini <pcarlini@suse.de>
4615 * include/std/istream (basic_istream<>::basic_istream()): Call
4617 (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
4618 do it here, per 27.6.1.5.1/1.
4619 * include/std/ostream (basic_ostream<>::basic_ostream()): Call
4621 * testsuite/27_io/basic_iostream/cons/16251.C: New.
4623 * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
4625 2008-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4627 * include/backward/auto_ptr.h: Fix comment typos.
4628 * include/bits/algorithmfwd.h: Likewise.
4629 * include/bits/basic_ios.h: Likewise.
4630 * include/bits/c++config: Likewise.
4631 * include/bits/char_traits.h: Likewise.
4632 * include/bits/codecvt.h: Likewise.
4633 * include/bits/gslice.h: Likewise.
4634 * include/bits/ios_base.h: Likewise.
4635 * include/bits/locale_facets.h: Likewise.
4636 * include/bits/locale_facets_nonio.tcc: Likewise.
4637 * include/bits/postypes.h: Likewise.
4638 * include/bits/sstream.tcc: Likewise.
4639 * include/bits/stl_algo.h: Likewise.
4640 * include/bits/stl_deque.h: Likewise.
4641 * include/bits/stl_iterator.h: Likewise.
4642 * include/bits/stl_iterator_base_types.h Likewise.
4643 * include/bits/stl_list.h: Likewise.
4644 * include/bits/stl_map.h: Likewise.
4645 * include/bits/stl_multimap.h: Likewise.
4646 * include/bits/stl_multiset.h: Likewise.
4647 * include/bits/stl_set.h: Likewise.
4648 * include/bits/stl_vector.h: Likewise.
4649 * include/bits/valarray_array.h: Likewise.
4650 * include/debug/safe_base.h: Likewise.
4651 * include/ext/bitmap_allocator.h: Likewise.
4652 * include/ext/codecvt_specializations.h Likewise.
4653 * include/ext/mt_allocator.h: Likewise.
4654 * include/ext/rc_string_base.h: Likewise.
4655 * include/ext/rope: Likewise.
4656 * include/parallel/checkers.h: Likewise.
4657 * include/parallel/find.h: Likewise.
4658 * include/parallel/multiseq_selection.h: Likewise.
4659 * include/parallel/partition.h: Likewise.
4660 * include/parallel/settings.h: Likewise.
4661 * include/std/bitset: Likewise.
4662 * include/std/complex: Likewise.
4663 * include/std/fstream: Likewise.
4664 * include/std/istream: Likewise.
4665 * include/std/limits: Likewise.
4666 * include/std/ostream: Likewise.
4667 * include/std/stdexcept: Likewise.
4668 * include/std/streambuf: Likewise.
4669 * include/tr1/bessel_function.tcc: Likewise.
4670 * include/tr1/cmath: Likewise.
4671 * include/tr1/ell_integral.tcc: Likewise.
4672 * include/tr1/hypergeometric.tcc: Likewise.
4673 * include/tr1/legendre_function.tcc: Likewise.
4674 * include/tr1_impl/random: Likewise.
4675 * include/tr1_impl/regex: Likewise.
4677 2008-01-31 Paolo Carlini <pcarlini@suse.de>
4679 * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
4680 Avoid -Wall warnings.
4681 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
4683 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4685 * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
4686 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
4687 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
4688 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
4690 * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
4692 * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
4694 * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
4695 * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
4697 * testsuite/tr1/6_containers/array/comparison_operators/
4698 less_or_equal.cc: Likewise.
4699 * testsuite/tr1/6_containers/array/comparison_operators/
4700 greater_or_equal.cc: Likewise.
4701 * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
4703 * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
4705 * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
4707 * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
4709 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
4710 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
4712 * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
4713 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
4714 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
4715 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
4717 * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
4718 * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
4719 * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
4720 * testsuite/thread/guard.cc: Likewise.
4721 * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
4722 * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
4723 * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
4724 * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
4725 * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
4726 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
4727 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
4730 2008-01-26 David Edelsohn <edelsohn@gnu.org>
4733 * config/os/aix/os_defines.h: Define __COMPATMATH__.
4735 2008-01-24 David Edelsohn <edelsohn@gnu.org>
4737 * configure: Regenerate.
4739 2008-01-21 Matthias Klose <doko@ubuntu.com>
4741 * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
4743 2008-01-19 Paolo Carlini <pcarlini@suse.de>
4745 * configure: Regenerate.
4746 * Makefile.in: Likewise.
4747 * src/Makefile.in: Likewise.
4748 * doc/Makefile.in: Likewise.
4749 * po/Makefile.in: Likewise.
4750 * libmath/Makefile.in: Likewise.
4751 * include/Makefile.in: Likewise.
4752 * libsupc++/Makefile.in: Likewise.
4753 * testsuite/Makefile.in: Likewise.
4754 * aclocal.m4: Likewise.
4756 2008-01-18 Benjamin Kosnik <bkoz@redhat.com>
4760 * testsuite/Makefile.am: Move doc-performance to...
4761 * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
4762 * doc/Makefile.am: Consolidate documentation creation here.
4763 (doc-doxygen-html): New.
4764 (doc-doxygen-man): New.
4765 (doc-performance): New.
4766 * doc/Makefile.in: New.
4767 * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
4768 * doc/doxygen/guide.html: Edit for unified html configuration.
4769 * doc/doxygen/mainpage.html: Same.
4770 * doc/doxygen/run_doxygen: Same, more namespace fixups for man
4772 * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
4774 * include/tr1_impl/random: Remove maint from doxygen markup.
4775 * include/tr1_impl/functional: Same.
4776 * include/std/tuple: Same.
4777 * include/std/streambuf: Same.
4778 * include/std/bitset: Same.
4779 * include/std/limits: Same.
4780 * include/std/fstream: Same.
4781 * include/std/istream: Same.
4782 * include/std/sstream: Same.
4783 * include/ext/pool_allocator.h: Same.
4784 * include/ext/rc_string_base.h: Same.
4785 * include/bits/basic_ios.h: Same.
4786 * include/bits/stl_list.h: Same.
4787 * include/bits/stl_map.h: Same.
4788 * include/bits/locale_classes.h: Same.
4789 * include/bits/stl_set.h: Same.
4790 * include/bits/stl_iterator_base_types.h: Same.
4791 * include/bits/basic_string.h: Same.
4792 * include/bits/stl_multimap.h: Same.
4793 * include/bits/stl_vector.h: Same.
4794 * include/bits/ios_base.h: Same.
4795 * include/bits/stl_deque.h: Same.
4796 * include/bits/postypes.h: Same.
4797 * include/bits/stl_multiset.h: Same.
4798 * include/bits/stl_algo.h: Same.
4799 * include/bits/stl_iterator.h: Same.
4800 * include/bits/stl_tempbuf.h: Same.
4801 * include/bits/stl_construct.h: Same.
4802 * include/bits/stl_relops.h: Same.
4803 * include/tr1/tuple: Same.
4804 * include/backward/auto_ptr.h: Same.
4806 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
4807 Fixups for line number changes.
4808 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
4809 * testsuite/23_containers/vector/requirements/dr438/
4810 constructor_1_neg.cc: Same.
4811 * testsuite/23_containers/vector/requirements/dr438/
4812 constructor_2_neg.cc: Same.
4813 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
4814 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4815 * testsuite/23_containers/deque/requirements/dr438/
4816 constructor_1_neg.cc: Same.
4817 * testsuite/23_containers/deque/requirements/dr438/
4818 constructor_2_neg.cc: Same.
4819 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
4820 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
4821 * testsuite/23_containers/list/requirements/dr438/
4822 constructor_1_neg.cc: Same.
4823 * testsuite/23_containers/list/requirements/dr438/
4824 constructor_2_neg.cc: Same.
4825 * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
4827 * aclocal.m4: Regenerate.
4828 * config.h.in: Regenerate.
4829 * configure: Regenerate.
4830 * Makefile.in: Regenerate.
4831 * src/Makefile.in: Regenerate.
4832 * po/Makefile.in: Regenerate.
4833 * libmath/Makefile.in: Regenerate.
4834 * include/Makefile.in: Regenerate.
4835 * libsupc++/Makefile.in: Regenerate.
4836 * testsuite/Makefile.in: Regenerate.
4838 * scripts/make_graphs.py: Correct paths for new layout.
4840 2008-01-17 Benjamin Kosnik <bkoz@redhat.com>
4842 * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
4843 * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
4844 * configure: Regenerate.
4845 * aclocal.m4: Regenerate.
4847 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4849 * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
4850 * include/parallel/numeric: Likewise.
4851 * include/parallel/balanced_quicksort.h: Likewise.
4852 * include/parallel/unique_copy.h: Likewise.
4853 * include/parallel/algobase.h: Likewise.
4854 * include/parallel/algo.h: Likewise.
4856 2008-01-14 Seongbae Park <seongbae.park@gmail.com>
4858 * crossconfig.m4: Add missing header checks, C99 TR1 check,
4859 and sigsetjmp check.
4861 2008-01-14 Paolo Carlini <pcarlini@suse.de>
4863 * include/parallel/tree.h: Remove.
4864 * include/Makefile.am: Update.
4865 * include/Makefile.in: Rebuild.
4867 * src/Makefile.am: Remove spurious trailing backslash.
4868 * src/Makefile.in: Rebuild.
4869 * po/Makefile.in: Likewise.
4870 * libmath/Makefile.in: Likewise.
4871 * testsuite/Makefile.in: Likewise.
4872 * libsupc++/Makefile.in: Likewise.
4873 * aclocal.m4: Likewise.
4874 * Makefile.in: Likewise.
4875 * configure: Likewise.
4877 2008-01-12 Paolo Carlini <pcarlini@suse.de>
4880 * include/debug/functions.h (__check_sorted_set,
4881 __check_sorted_set_aux): Add.
4882 (__check_sorted): Check StrictWeakOrdering.
4883 * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
4884 __glibcxx_check_strict_weak_ordering_pred): Remove.
4885 (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
4886 (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
4887 * include/debug/debug.h (__glibcxx_requires_sorted_set,
4888 __glibcxx_requires_sorted_set_pred): Add.
4889 * include/bits/stl_algo.h (merge, includes, set_union,
4890 set_intersection, set_difference, set_symmetric_difference):
4891 Adjust, use __glibcxx_requires_sorted_set* instead.
4892 * testsuite/25_algorithms/set_intersection/34730.cc: New.
4894 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4896 * include/parallel/multiway_merge.h: Reformat to 80 columns;
4897 adjust some inline specifiers; other minor style fixes.
4898 * include/parallel/losertree.h: Likewise.
4899 * include/parallel/list_partition.h: Likewise.
4900 * include/parallel/multiseq_selection.h: Likewise.
4901 * include/parallel/workstealing.h: Likewise.
4902 * include/parallel/base.h: Likewise.
4903 * include/parallel/par_loop.h: Likewise.
4904 * include/parallel/numeric: Likewise.
4905 * include/parallel/quicksort.h: Likewise.
4906 * include/parallel/algorithmfwd.h: Likewise.
4907 * include/parallel/for_each_selectors.h: Likewise.
4908 * include/parallel/omp_loop_static.h: Likewise.
4909 * include/parallel/random_shuffle.h: Likewise.
4910 * include/parallel/balanced_quicksort.h: Likewise.
4911 * include/parallel/set_operations.h: Likewise.
4912 * include/parallel/tree.h: Likewise.
4913 * include/parallel/merge.h: Likewise.
4914 * include/parallel/unique_copy.h: Likewise.
4915 * include/parallel/settings.h: Likewise.
4916 * include/parallel/multiway_mergesort.h: Likewise.
4917 * include/parallel/numericfwd.h: Likewise.
4918 * include/parallel/search.h: Likewise.
4919 * include/parallel/partition.h: Likewise.
4920 * include/parallel/compatibility.h: Likewise.
4921 * include/parallel/partial_sum.h: Likewise.
4922 * include/parallel/find.h: Likewise.
4923 * include/parallel/algo.h: Likewise.
4924 * include/parallel/queue.h: Likewise.
4925 * include/parallel/omp_loop.h: Likewise.
4926 * include/parallel/sort.h: Likewise.
4927 * include/parallel/random_number.h: Likewise.
4929 2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
4931 * docs/html/17_intro/api.html: Fix markup for rope.h.
4933 2008-01-09 Paolo Carlini <pcarlini@suse.de>
4935 * include/parallel/iterator.h: Reformat to 80 columns; adjust some
4937 * include/parallel/find_selectors.h: Likewise.
4938 * include/parallel/losertree.h: Likewise.
4939 * include/parallel/list_partition.h: Likewise.
4940 * include/parallel/for_each.h: Likewise.
4941 * include/parallel/multiseq_selection.h: Likewise.
4942 * include/parallel/algorithmfwd.h: Likewise.
4943 * include/parallel/for_each_selectors.h: Likewise.
4944 * include/parallel/balanced_quicksort.h: Likewise.
4945 * include/parallel/merge.h: Likewise.
4946 * include/parallel/algobase.h: Likewise.
4947 * include/parallel/find.h: Likewise.
4948 * include/parallel/algo.h: Likewise.
4949 * include/parallel/checkers.h: Likewise.
4951 2008-01-09 Francesco Biscani <bluescarni@gmail.com>
4953 * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
4954 of __detail::_Map_base<>.
4956 2008-01-08 Paolo Carlini <pcarlini@suse.de>
4958 * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
4959 not include <cassert>.
4960 * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
4962 * testsuite/util/testsuite_common_types.h: Include <algorithm>.
4964 2008-01-08 Jakub Jelinek <jakub@redhat.com>
4966 * configure.ac (--enable-linux-futex): Add new configure option.
4967 (HAVE_LINUX_FUTEX): New AC_DEFINE.
4968 * Makefile.in: Rebuilt.
4969 * aclocal.m4: Rebuilt.
4970 * configure: Rebuilt.
4971 * config.h.in: Rebuilt.
4972 * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4973 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4974 * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
4975 _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
4976 * libsupc++/guard.cc: Include climits and syscall.h.
4977 (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
4979 (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
4980 (__guard_test_bit): New static inline.
4981 (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
4982 atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
4984 2008-01-07 Paolo Carlini <pcarlini@suse.de>
4987 * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
4988 use dynamic_cast when run-time type identification is disabled; do
4989 not mark inline; only declare, define...
4990 * include/bits/locale_classes.tcc: ... here.
4992 2008-01-06 Ted Phelps <phelps@gnusto.com>
4995 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
4996 _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
4998 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5001 * include/parallel/multiway_merge.h (multiway_merge_bubble,
5002 parallel_multiway_merge): Together with ::operator new use
5004 * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
5005 * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
5006 * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
5007 sequential_random_shuffle): Likewise.
5008 * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
5010 * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
5011 parallel_sort_mwms): Likewise.
5012 * include/parallel/partial_sum.h (parallel_partial_sum_linear):
5014 * testsuite/25_algorithms/sort/34095.cc: New.
5016 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5018 * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
5020 2008-01-01 Paolo Carlini <pcarlini@suse.de>
5023 * include/parallel/algobase.h (lexicographical_compare_switch(...,
5024 random_access_iterator_tag, random_access_iterator_tag)): Careful
5025 with undereferenceable iterators.
5026 * testsuite/25_algorithms/sort/34636.cc: New.