1 2012-02-01 Paolo Carlini <paolo.carlini@oracle.com>
4 * include/bits/random.h (linear_congruential_generator): Add
5 static_assert preventing instantiation for values of 'a' and 'm'
6 currently handled incorrectly by _Mod::__calc.
7 * include/bits/random.tcc (seed_seq::generate): Avoid unsafe
10 2012-01-03 Chase Douglas <chase.douglas@canonical.com>
11 Jonathan Wakely <jwakely.gcc@gmail.com>
13 * include/bits/shared_ptr.h: Default copy ctor and assignment.
14 * include/bits/shared_ptr_base.h: Likewise.
15 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
17 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
19 2011-12-30 Paolo Carlini <paolo.carlini@oracle.com>
22 * include/bits/regex.h (regex_replace): Fix thinko.
23 * testsuite/28_regex/algorithms/regex_replace/char/51711.cc: New.
24 * testsuite/28_regex/algorithms/regex_replace/wchar_t/51711.cc:
27 2011-12-19 Jonathan Wakely <jwakely.gcc@gmail.com>
30 * include/bits/stl_uninitialized.h (_Construct_default_a_impl): Define
31 overloaded functions to conditionally use allocator::construct.
32 (_Construct_default_a): Define to dispatch to appropriate
33 _Construct_default_a_impl overload.
34 (__uninitialized_default_a, __uninitialized_default_n_a): Use
36 * testsuite/20_util/allocator/51626.cc: New.
38 2011-12-19 Jonathan Wakely <jwakely.gcc@gmail.com>
40 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust
41 dg-error line numbers.
42 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
43 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
44 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
46 2011-12-19 Jonathan Wakely <jwakely.gcc@gmail.com>
48 * include/c_global/cmath: Update copyright years.
49 * include/ext/type_traits.h: Likewise.
51 2011-12-19 Jonathan Wakely <jwakely.gcc@gmail.com>
53 Backport from mainline
54 2011-11-13 Paolo Carlini <paolo.carlini@oracle.com>
56 * include/c_global/cmath (atan2, pow): Simplify constraining on the
59 Backport from mainline
60 2011-11-12 Jonathan Wakely <jwakely.gcc@gmail.com>
63 * include/ext/type_traits.h (__promote): Only define __type member
64 for integral and floating point types, to prevent math functions
65 participating in overload resolution for other types.
66 (__promote_2, __promote_3, __promote_4): Use __promote in default
67 template argument values, so deduction only succeeds for integral and
69 * testsuite/26_numerics/cmath/51083.cc: New.
70 * testsuite/26_numerics/complex/51083.cc: New.
71 * testsuite/tr1/8_c_compatibility/cmath/51083.cc: New.
72 * testsuite/tr1/8_c_compatibility/complex/51083.cc: New.
74 2011-12-19 Jonathan Wakely <jwakely.gcc@gmail.com>
77 * include/std/condition_variable (condition_variable_any::wait): Fix
78 deadlock and ensure _Lock::lock() is called on exit.
79 * testsuite/30_threads/condition_variable_any/50862.cc: New.
81 2011-12-18 Jonathan Wakely <jwakely.gcc@gmail.com>
84 * include/bits/stl_numeric.h (partial_sum): Adjust doxygen comments.
86 2011-11-20 Andreas Tobler <andreast@fgznet.ch>
88 * configure: Regenerate.
90 2011-11-16 Paolo Carlini <paolo.carlini@oracle.com>
93 * include/debug/unordered_map (unordered_map<>::erase(iterator),
94 unordered_multimap<>::erase(iterator)): Add, consistently with
96 * include/debug/unordered_set (unordered_set<>::erase(iterator),
97 unordered_multiset<>::erase(iterator)): Likewise.
98 * include/debug/map.h (map<>::erase(iterator)): Likewise.
99 * include/debug/multimap.h (multimap<>::erase(iterator)): Likewise.
100 * include/profile/map.h (map<>::erase(iterator)): Likewise.
101 * include/profile/multimap.h (multimap<>::erase(iterator)): Likewise.
102 * include/bits/hashtable.h (_Hashtable<>::erase(iterator)): Likewise.
103 * include/bits/stl_map.h (map<>::erase(iterator)): Likewise.
104 * include/bits/stl_multimap.h (multimap<>::erase(iterator)): Likewise.
105 * include/bits/stl_tree.h (_Rb_tree<>::erase(iterator)): Likewise.
106 * testsuite/23_containers/unordered_map/erase/51142.cc: New.
107 * testsuite/23_containers/multimap/modifiers/erase/51142.cc: Likewise.
108 * testsuite/23_containers/set/modifiers/erase/51142.cc: Likewise.
109 * testsuite/23_containers/unordered_multimap/erase/51142.cc: Likewise.
110 * testsuite/23_containers/unordered_set/erase/51142.cc: Likewise.
111 * testsuite/23_containers/multiset/modifiers/erase/51142.cc: Likewise.
112 * testsuite/23_containers/unordered_multiset/erase/51142.cc: Likewise.
113 * testsuite/23_containers/map/modifiers/erase/51142.cc: Likewise.
115 2011-11-15 Jason Dick <dickphd@gmail.com>
118 * include/tr1/poly_hermite.tcc (__poly_hermite_recursion): Fix
119 wrong sign in recursion relation.
121 2011-11-02 Richard B. Kreckel <kreckel@ginac.de>
122 Paolo Carlini <paolo.carlini@oracle.com>
125 * include/std/complex (__complex_acosh): Fix in a better way,
127 * include/tr1/complex (__complex_acosh): Likewise.
129 2011-11-02 Richard B. Kreckel <kreckel@ginac.de>
130 Paolo Carlini <paolo.carlini@oracle.com>
133 * include/std/complex (__complex_acosh): Fix for __z.real() < 0.
134 * include/tr1/complex (__complex_acosh): Likewise.
135 * testsuite/26_numerics/complex/50880.cc: New.
136 * testsuite/tr1/8_c_compatibility/complex/50880.cc: Likewise.
138 2011-10-26 Release Manager
140 * GCC 4.6.2 released.
142 2011-10-05 Benjamin Kosnik <bkoz@redhat.com
143 Jonathan Wakely <jwakely.gcc@gmail.com>
146 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Set libtool_VERSION here.
147 * configure.ac: Move AC_SUBST of libtool_VERSION past call to
148 GLIBCXX_ENABLE_SYMVERS.
149 * configure: Regenerate.
150 * include/bits/c++config: Use __7 as versioned namespace name.
151 * config/abi/pre/gnu-versioned-namespace.ver: Change mangling as
153 * include/c_global/cwchar: Adjust nested namespaces.
154 * testsuite/20_util/bind/48698.cc: Add test case.
155 * testsuite/ext/profile/mutex_extensions_neg.cc: Change line number.
157 2011-09-30 François Dumont <fdumont@gcc.gnu.org>
159 * include/debug/vector (vector<>::erase(iterator, iterator)): Check
160 iterators equality using normal iterators.
161 * include/debug/deque (deque<>::erase(iterator, iterator)): Likewise.
163 2011-09-30 Paolo Carlini <paolo.carlini@oracle.com>
166 * include/bits/vector.tcc (vector<>::erase(iterator, iterator)):
167 Fix to do nothing if the range is empty.
168 * include/bits/stl_bvector.h: Likewise.
169 * include/bits/deque.tcc: Likewise.
170 * include/debug/vector: Adjust.
171 * include/debug/deque: Likewise.
172 * testsuite/23_containers/vector/modifiers/erase/50529.cc: New.
173 * testsuite/23_containers/deque/modifiers/erase/50529.cc: Likewise.
174 * testsuite/23_containers/deque/modifiers/erase/3.cc: Adjust.
176 2011-09-27 Paolo Carlini <paolo.carlini@oracle.com>
179 * include/bits/stl_algo.h (__move_merge_backward): Remove.
180 (__move_merge_adaptive, __move_merge_adaptive_backward): New.
181 (__merge_adaptive): Use the latter two.
182 (__rotate_adaptive): Avoid self move-assignment.
183 * include/bits/stl_algobase.h (move_backward): Fix comment.
184 * testsuite/25_algorithms/stable_sort/49559.cc: New.
185 * testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
186 * testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
187 * testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
188 * testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
189 (rvalstruct&&)): Check for self move-assignment.
191 2011-09-24 John Salmon <john.salmon@deshaw.com>
194 * include/bits/random.tcc (seed_seq::generate): Fix computation.
196 2011-09-24 John Salmon <john.salmon@deshaw.com>
199 * include/bits/random.tcc (seed_seq::generate): Fix computation.
201 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
203 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
204 rearrange to consistently update __ht._M_rehash_policy before using
207 2011-09-02 Paolo Carlini <paolo.carlini@oracle.com>
208 Marc Glisse <marc.glisse@normalesup.org>
211 * include/std/bitset (struct _Sanitize_val): Add.
212 (bitset<>::bitset(unsigned long long)): Fix.
213 * testsuite/23_containers/bitset/cons/50268.cc: New.
215 2011-07-31 Paolo Carlini <paolo.carlini@oracle.com>
217 * include/parallel/algo.h: Trivial uglification fixes.
219 2011-07-31 Paolo Carlini <paolo.carlini@oracle.com>
222 * include/bits/shared_ptr.h (make_shared): Qualify allocate_shared
224 * include/bits/shared_ptr_base.h (__make_shared): Likewise.
226 2011-07-27 Jeffrey Yasskin <jyasskin@google.com>
228 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Updated.
230 2011-07-22 Uros Bizjak <ubizjak@gmail.com>
232 Backport from mainline
233 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
236 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
238 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
240 2011-06-27 Release Manager
242 * GCC 4.6.1 released.
244 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
246 * config/abi/pre/gnu.ver: Correct last change, export instead
247 at the existing @3.4.16.
248 * configure.ac: Revert last change.
249 * testsuite/util/testsuite_abi.cc: Likewise.
250 * configure: Regenerate.
252 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
254 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
255 and basic_stringbuf symbols @3.4.17.
256 * configure.ac: Update.
257 * testsuite/util/testsuite_abi.cc: Likewise.
258 * configure: Regenerate.
260 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
263 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
264 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
266 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
268 * testsuite/20_util/bind/cv_quals_2.cc: New.
270 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
273 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
274 operator()(_Args&&...)): Don't cv qualify _Functor directly
275 in the default template argument, SFINAE doesn't apply when
276 the functor has no arguments.
277 * testsuite/20_util/bind/49058_1.cc: New.
278 * testsuite/20_util/bind/49058_2.cc: Likewise.
280 2011-05-06 Jonathan Wakely <jwakely.gcc@gmail.com>
282 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
284 * doc/xml/manual/documentation_hacking.xml: Fix typo.
285 * doc/html/*: Regenerate.
287 2011-05-03 Ollie Wild <aaw@google.com>
289 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
290 Fix unqualified lookup.
291 (__sso_string_base<>::_M_construct): Likewise.
292 (__sso_string_base<>::_M_construct): Likewise.
293 (__sso_string_base<>::_M_assign): Likewise.
294 (__sso_string_base<>::_M_reserve): Likewise.
295 (__sso_string_base<>::_M_mutate): Likewise.
296 (__sso_string_base<>::_M_erase): Likewise.
297 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
298 (__versa_string<>::compare): Likewise.
299 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
300 (__versa_string<>::compare): Likewise.
301 (__versa_string<>::compare): Likewise.
302 (__versa_string<>::compare): Likewise.
303 (__versa_string<>::compare): Likewise.
305 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
308 * include/parallel/multiway_merge.h: Run _ValueType destructors.
309 * include/parallel/multiway_mergesort.h: Likewise.
310 * include/parallel/quicksort.h: Likewise.
311 * include/parallel/random_shuffle.h: Likewise.
312 * include/parallel/partial_sum.h: Likewise.
313 * include/parallel/losertree.h: Run destructors; minor tweaks.
314 * include/parallel/par_loop.h: Run destructors, fix memory
315 allocations and deallocations.
316 * testsuite/26_numerics/accumulate/48750.cc: New.
318 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
319 parallel-mode to avoid spurious multiple errors.
321 2011-04-30 Doug Kwan <dougkwan@google.com>
323 * include/Makefile.am (install-freestanding-headers): Also install
325 * include/Makefile.in: Regenerate.
327 2011-04-29 Paolo Carlini <paolo.carlini@oracle.com>
330 * include/std/complex (complex<float>::complex(float, float),
331 complex<double>::complex(double, double),
332 complex<long double>::complex(long double, long double)): Initialize
333 in the body in C++03 mode (no fix in C++0x mode).
334 * testsuite/26_numerics/complex/cons/48760.cc: New.
336 2011-04-23 Jonathan Wakely <jwakely.gcc@gmail.com>
339 * include/std/type_traits (result_of): Handle pointer to member.
340 * include/std/functional (__invoke): Likewise.
341 (_Function_to_function_pointer): Remove.
342 (_Reference_wrapper_base): Provide nested types independent of
343 unary_function and binary_function.
344 (reference_wrapper::operator()): DR 2017.
345 (ref(const A&&), cref(const A&&): Define as deleted.
346 * include/std/future (async): Simplify SFINAE and use result_of to
347 support pointer to member.
348 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
350 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
351 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
352 instead of derivation from unary_function and binary_function.
353 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
354 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
355 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
357 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
360 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
361 this part if SAMPLES < 100000.
363 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
364 Paolo Carlini <paolo.carlini@oracle.com>
366 PR libstdc++/48635 (again)
367 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
368 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
369 unique_ptr<>::operator=(unique_ptr<>&&),
370 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
371 forward<_Dp>, to forward the deleter.
372 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
374 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
375 Paolo Carlini <paolo.carlini@oracle.com>
378 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
379 function call operator.
380 * testsuite/20_util/default_delete/48631_neg.cc: New.
381 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
384 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
385 Paolo Carlini <paolo.carlini@oracle.com>
388 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
389 unique_ptr<>::operator=(unique_ptr<>&&),
390 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
391 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
392 instead of moving it.
393 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
395 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
397 * include/std/istream: Fix comments in the light of DR60 + N3168.
399 2011-04-15 Takaya Saito <gintensubaru@gmail.com>
402 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
403 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
404 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
405 * testsuite/20_util/tuple/cons/48476.cc: New.
406 * testsuite/20_util/tuple/48476.cc: Likewise.
407 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
409 2011-04-12 Allan McRae <allan@archlinux.org>
412 * testsuite/tr1/6_containers/unordered_map/requirements/
413 iterator_null_neg.cc: Include <cstddef>.
414 * testsuite/tr1/6_containers/unordered_set/requirements/
415 iterator_null_neg.cc: Likewise.
416 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
418 * testsuite/util/testsuite_common_types.h: Include <limits>.
419 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
420 Adjust dg-error line numbers.
421 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
422 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
424 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
426 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
428 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
429 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
431 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
433 * testsuite/20_util/function/48451.cc: Rename to...
434 * testsuite/20_util/function/48541.cc: This.
436 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
439 * include/std/functional (_Base_manager::_M_get_pointer): Use
441 * testsuite/20_util/function/48451.cc: New.
443 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
446 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
447 * configure: Regenerate.
448 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
449 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
451 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
453 * include/ext/algorithm (is_sorted): In C++0x mode import from
455 * include/ext/numeric (iota): In C++0x mode import from
457 * testsuite/ext/is_sorted/cxx0x.cc: New.
458 * testsuite/ext/iota/cxx0x.cc: New.
460 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
463 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
464 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
465 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
466 unused parameter name.
468 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
470 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
471 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
472 redundant default argument from std::__throw_with_nested.
474 2011-03-26 Paolo Carlini <paolo.carlini@oracle.com>
476 * include/bits/random.h (negative_binomial_distribution<>::
477 negative_binomial_distribution(_IntType, double),
478 negative_binomial_distribution<>::
479 negative_binomial_distribution(const param_type&)): Fix thinko
480 p / (1 - p) for (1 - p) / p.
481 * include/bits/random.tcc (negative_binomial_distribution<>::
484 2011-03-25 Release Manager
486 * GCC 4.6.0 released.
488 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
490 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
491 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
492 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
493 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
494 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
496 2011-03-23 Matthias Klose <doko@ubuntu.com>
498 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
500 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
502 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
504 2011-03-22 Jakub Jelinek <jakub@redhat.com>
506 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
507 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
508 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
509 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
510 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
511 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
512 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
513 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
514 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
515 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
517 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
518 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
519 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
520 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
521 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
522 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
523 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
524 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
527 2011-03-21 Jakub Jelinek <jakub@redhat.com>
529 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
530 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
531 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
533 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
534 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
535 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
536 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
537 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
538 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
539 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
540 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
541 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
543 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
544 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
545 CXXABI_LDBL_1.3 versions.
547 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
549 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
551 2011-03-21 Jakub Jelinek <jakub@redhat.com>
553 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
554 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
556 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
558 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
559 sparc*-sun-solaris2.10 && lp64.
561 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
563 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
564 * src/Makefile.in: Regenerate.
565 * libsupc++/Makefile.am: Add nested_exception.cc.
566 * libsupc++/Makefile.in: Regenerate.
567 * src/system_error.cc: Add ctor and dtor definitions for error_category.
568 * src/functional.cc: New. Add dtor definition for bad_function_call.
569 * src/stdexcept.cc: Add dtor definitions for domain_error,
570 invalid_argument, length_error, out_of_range, range_error,
571 overflow_error, underflow_error.
572 * src/future.cc: Add dtor definition for __future_base::_Result_base.
573 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
574 * include/std/system_error: Adjust.
575 * include/std/stdexcept: Same.
576 * include/std/future: Same.
577 * include/std/functional: Same.
578 * include/bits/shared_ptr_base.h: Same.
579 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
580 * libsupc++/nested_exception.h: Adjust.
581 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
582 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
583 * config/abi/pre/gnu.ver: Add new exports.
585 * src/future.cc: Guard definitions.
586 * libsupc++/nested_exception.cc: Same.
588 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
589 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
590 Add base destructors for stdexcept classes.
592 * testsuite/19_diagnostics/stdexcept.cc: New.
594 2011-03-15 Doug Kwan <dougkwan@google.com>
597 * include/Makefile.am (install-freestanding-headers): Install
599 * include/Makefile.in: Regenerate.
601 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
603 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
605 * doc/html/manual/abi.html: Regenerate.
607 2011-03-14 Andrey Zholos <aaz@althenia.net>
610 * include/bits/random.h (geometric_distribution): Correct formula
611 in comment, per C++0x.
612 (geometric_distribution<>::param_type::param_type(double)): Fix check.
613 (geometric_distribution<>::param_type::_M_initialize):
615 * include/bits/random.tcc (geometric_distribution<>::operator()):
617 (binomial_distribution<>::operator()): Likewise.
619 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
621 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
623 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
624 Chris Jefferson <chris@bubblescope.net>
625 Paolo Carlini <paolo.carlini@oracle.com>
627 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
629 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
631 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
633 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
635 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
637 2011-03-09 Chris Jefferson <chris@bubblescope.net>
640 * include/bits/stl_algo.h (__merge_backward): Rename to
641 __move_merge_backward and change to always move rather than copy.
642 (__move_merge): New function similar to std::merge except values
643 are moved instead of copied.
644 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
645 and __merge_backward to __move_merge and __move_merge_backward.
647 2011-03-07 Jason Merrill <jason@redhat.com>
649 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
652 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
653 Matthias Klose <doko@ubuntu.com>
654 Jonathan Wakely <redi@gcc.gnu.org>
657 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
658 * configure.ac: Use it.
659 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
660 * configure: Regenerate.
661 * doc/Makefile.in: Regenerate.
663 2011-03-04 Benjamin Kosnik <bkoz@chula>
665 * src/Makefile.am (inst_sources): Make source instantion files
667 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
668 * src/Makefile.in: Regenerate.
669 * src/valarray-inst.cc: Move to..
670 * src/valarray.cc: ...this.
671 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
672 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
673 * configure: Regenerate.
674 * include/Makefile.am (stamp-extern-template): Add.
675 * include/Makefile.in: Regenerate.
677 * doc/xml/manual/configure.xml: Document --enable-extern-template.
679 * include/bits/locale_classes.tcc: Adjust comment.
680 * include/bits/locale_facets.tcc: Same.
681 * include/bits/basic_ios.tcc: Same.
682 * include/bits/istream.tcc: Same.
683 * include/bits/codecvt.h: Same.
684 * include/bits/ostream.tcc: Same.
685 * include/bits/sstream.tcc: Same.
686 * include/bits/c++config: Same.
687 * include/bits/basic_string.tcc: Same.
688 * include/bits/ostream_insert.h: Same.
689 * include/bits/locale_facets_nonio.tcc: Same.
690 * include/bits/streambuf.tcc: Same.
691 * include/bits/allocator.h: Same.
692 * include/bits/fstream.tcc: Same.
694 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
696 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
698 * testsuite/Makefile.am: Make clean fixups.
699 * testsuite/Makefile.in: Regenerate.
701 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
703 * include/std/ratio (ratio_less): Add comments.
705 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
708 * include/std/ratio (ratio_add): Avoid denominator overflow.
709 * testsuite/20_util/ratio/operations/47913.cc: New.
711 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
713 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
714 * testsuite/20_util/hash/quality.cc: Same.
716 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
719 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
721 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
722 xputn): Use the latter.
723 * include/bits/streambuf_iterator.h: Likewise.
724 * src/strstream.cc: Likewise.
725 * src/streambuf.cc: Likewise.
726 * src/compatibility.cc: Likewise.
727 * src/istream.cc: Likewise.
728 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
730 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
731 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
732 seekpos, _M_sync): Use setg, setp, and _M_pbump.
733 * config/abi/pre/gnu.ver: Tweak.
735 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
737 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
739 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
742 * include/std/ratio (ratio_less): Reimplement to never overflow.
743 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
745 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
747 * testsuite/18_support/type_info/fundamental.cc: New.
749 * testsuite/Makefile.am: Make clean fixups.
750 * testsuite/Makefile.in: Regenerate.
752 2011-02-19 François Dumont <francois.cppdevs@free.fr>
754 * include/debug/string (basic_string::insert): Add iterator check and
755 pass normal iterator to normal insert.
756 * include/debug/macros.h (__glibcxx_check_heap,
757 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
760 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
763 * testsuite/ext/vstring/hash/char/1.cc: Fix.
764 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
766 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
768 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
769 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
770 (basic_regex::operator=(basic_regex&&)): Likewise.
771 (basic_regex::assign(basic_regex&&)): Likewise.
772 (operator==(sub_match,...)): Implement DR 1181.
773 (match_results::match_results(match_results&&)): Define.
774 (match_results::operator=(const match_results&)): Fix parameter type.
775 (match_results::operator=(match_results&&)): Define.
777 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
780 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
781 line anchors as metacharacters.
782 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
784 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
787 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
788 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
789 hash<__gnu_cxx::__u32vstring>): Add.
790 * testsuite/ext/vstring/hash/char/1.cc: New.
791 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
793 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
795 * include/bits/regex.h (match_results::format): Use char_traits.
797 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
799 * include/std/atomic: Remove atomic_address, uplift to N3225.
800 * include/bits/atomic_0.h: Same.
801 * include/bits/atomic_2.h: Same.
802 * include/bits/atomic_base.h: Same.
803 * testsuite/29_atomics/atomic_address/*: Delete.
805 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
807 * include/bits/regex.h (sub_match::sub_match): Add.
808 (match_results::ready): Add.
809 (match_results::empty): Adjust.
810 (match_results::length): Add missing dereference.
811 (match_results::operator[],prefix,suffix): Add debug mode checks.
812 (match_results::cend): Re-use end().
813 (match_results::format): Adjust signatures.
814 (operator==(match_results,match_results)): Implement.
815 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
816 * include/bits/regex_constants.h (syntax_option_type): Likewise.
817 * include/bits/regex_grep_matcher.h: Fix comment typo.
818 (_SpecializedResults::_SpecializedResults): Simplify.
819 * include/bits/regex_cursor.h: Fix comment typo.
820 * include/bits/regex_nfa.h: Likewise.
821 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
822 Fix error code, remove xfail.
823 * testsuite/28_regex/basic_regex/ctors/extended/
824 string_range_01_02_03.cc: Likewise.
826 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
828 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
829 * include/bits/regex_nfa.h: Remove unnecessary base classes.
831 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
833 * configure: Regenerate.
835 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
838 * include/ext/algorithm (is_heap): In C++0x mode import from
840 * testsuite/ext/is_heap/47709.cc: New.
842 2011-02-12 Jakub Jelinek <jakub@redhat.com>
843 Jonathan Wakely <jwakely.gcc@gmail.com>
846 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
847 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
849 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
851 * include/tr1/cmath (fabs): Define.
852 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
855 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
857 * testsuite/tr1/headers/c++200x/complex.cc: New.
859 2011-02-11 Johannes Singler <singler@kit.edu>
862 * include/parallel/losertree.h
863 (_LoserTreeUnguarded<>::__delete_min_insert):
864 Add missing "using std::swap;", as for other variants.
866 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
868 * src/Makefile.am (sources): Add regex.cc.
869 * src/Makefile.in: Regenerate.
871 * include/bits/regex_error.h (error_type): Use constexpr.
872 (regex_error): Move ctor and dtor out of line.
874 * testsuite/28_regex/03_requirements: To...
875 * testsuite/28_regex/requirements: ... this.
876 * testsuite/28_regex/04_header: To...
877 * testsuite/28_regex/headers: ... this.
878 * testsuite/28_regex/05_constants: To...
879 * testsuite/28_regex/constants: ... this.
880 * testsuite/28_regex/06_exception_type: To...
881 * testsuite/28_regex/regex_error: ... this.
882 * testsuite/28_regex/07_traits: To...
883 * testsuite/28_regex/traits: ... this.
884 * testsuite/28_regex/08_basic_regex: To...
885 * testsuite/28_regex/basic_regex: ... this.
886 * testsuite/28_regex/09_sub_match: To...
887 * testsuite/28_regex/sub_match: ... this.
888 * testsuite/28_regex/10_match_results: To...
889 * testsuite/28_regex/match_results: ... this.
890 * testsuite/28_regex/11_algorithms: To...
891 * testsuite/28_regex/algorithms: ... this.
892 * testsuite/28_regex/12_iterators: To...
893 * testsuite/28_regex/iterators: ... this.
895 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
898 * include/bits/c++config: Do not use alternative token.
899 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
901 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
903 * src/future.cc (future_error_category::message): Handle no_state.
905 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
907 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
908 not test in C++0x mode.
909 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
910 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
913 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
915 * doc/xml/manual/status_cxx200x.xml: Update.
916 * doc/html/*: Regenerate.
918 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
920 * doc/xml/manual/debug.xml: Improve data race docs.
922 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
925 * include/debug/map.h (map): Remove unnecessary using-declaration.
926 * include/debug/multimap.h (multimap): Likewise.
927 * include/profile/map.h (map): Likewise.
928 * include/profile/multimap.h (multimap): Likewise.
930 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
933 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
935 * libsupc++/guard_error.cc: ... new file.
936 * libsupc++/Makefile.am: Update.
937 * libsupc++/Makefile.in: Regenerate.
939 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
941 * include/std/future (packaged_task::operator bool): Rename to...
942 (packaged_task::valid): ...this.
943 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
944 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
945 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
946 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
947 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
948 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
949 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
950 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
951 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
952 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
953 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
955 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
957 * doc/xml/manual/io.xml: Fix typo.
958 * doc/html/manual/streambufs.html: Likewise.
960 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
962 * config/abi/pre/gnu.ver: Fix.
964 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
966 * doc/xml/manual/appendix_porting.xml: Add doc section.
967 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
968 * doc/xml/manual/documentation_hacking.xml: ...here.
970 * doc/xml/manual/debug_mode.xml: Adjust.
971 * doc/xml/manual/prerequisites.xml: Adjust.
972 * doc/Makefile.am (xml_sources): Add dot files,
973 documentation_hacking.xml.
974 * doc/Makefile.in: Regenerate.
976 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
977 * doc/xml/images/confdeps.pdf: Add.
979 * doc/html/*: Regenerate.
981 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
983 * doc/xml/gnu/fdl-1.2.xml: Remove.
984 * doc/xml/gnu/gpl-2.0.xml: Remove.
985 * doc/Makefile.am: Update.
986 * doc/Makefile.in: Regenerate.
988 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
991 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
992 iterator)): Add back in C++03 mode.
993 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
994 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
996 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
998 PR libstdc++/47560 try two
999 * config/os/hpux/os_defines.h: Guard for C++.
1001 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1003 * doc/xml/faq.xml: Adjust link to bug database.
1004 Remove old item on broken header files.
1006 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1008 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1009 * src/functexcept.cc: Add definition.
1010 * config/abi/pre/gnu.ver: Export.
1012 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1014 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1015 * configure: Regenerate.
1017 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1020 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1021 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1022 avoid name conflicts.
1024 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1027 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1029 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1031 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1032 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1033 (COMPACT_LATEX): Enable.
1035 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1036 * include/profile/impl/profiler_hash_func.h: Same.
1037 * include/bits/hashtable.h: Same.
1038 * include/backward/auto_ptr.h: Same.
1039 * include/backward/strstream: Same.
1040 * include/backward/backward_warning.h: Same.
1041 * include/backward/binders.h: Same.
1043 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1045 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1046 Adjust link to GDB manual.
1048 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1050 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1051 _GLIBCXX_USE_DEPRECATED.
1052 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1053 * doc/xml/manual/using.xml: Same.
1054 * include/std/memory: Same.
1055 * include/std/streambuf: Same.
1056 * include/bits/shared_ptr.h: Same.
1057 * include/bits/unique_ptr.h: Same.
1058 * include/bits/shared_ptr_base.h: Same.
1059 * include/bits/stl_function.h: Same.
1060 * include/tr1/shared_ptr.h: Same.
1061 * include/backward/auto_ptr.h: Same.
1062 * include/backward/binders.h: Same.
1064 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1066 * doc/html/ext/lwg-active.html: Update to Revision D73.
1067 * doc/html/ext/lwg-closed.html: Likewise.
1068 * doc/html/ext/lwg-defects.html: Likewise.
1069 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1071 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1073 PR libstdc++/36104 part four
1074 * include/bits/c++config (_GLIBCXX_STD): Remove.
1075 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1076 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1077 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1078 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1079 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1080 _GLIBCXX_INLINE_PROFILE): Remove.
1081 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1082 (_GLIBCXX_END_NAMESPACE): Remove.
1083 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1084 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1085 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1086 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1087 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1088 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1089 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1090 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1091 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1092 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1093 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1094 * include/*: Use new macros for namespace scope.
1098 * src/Makefile.am (sources): Remove debug_list.cc, add
1099 compatibility-debug_list-2.cc.
1100 (parallel_sources): Remove parallel_list.cc, add
1101 compatibility-parallel_list-2.cc.
1102 (compatibility-parallel_list-2.[o,lo]): New rule.
1103 * src/Makefile.in: Regenerate.
1104 * src/debug_list.cc: Remove.
1105 * src/parallel_list.cc: Remove.
1106 * src/compatibility-list-2.cc: New.
1107 * src/compatibility-debug_list-2.cc: New.
1108 * src/compatibility-parallel_list-2.cc: New.
1110 * doc/doxygen/user.cfg.in: Adjust macros.
1112 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1113 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1114 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1115 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1116 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1117 * testsuite/20_util/forward/c_neg.cc: Same.
1118 * testsuite/20_util/forward/f_neg.cc: Same.
1119 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1120 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1121 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1122 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1123 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1124 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1125 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1126 * testsuite/23_containers/deque/requirements/dr438/
1127 constructor_1_neg.cc: Same.
1128 * testsuite/23_containers/deque/requirements/dr438/
1129 constructor_2_neg.cc: Same.
1130 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1131 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1132 * testsuite/23_containers/forward_list/requirements/dr438/
1133 assign_neg.cc: Same.
1134 * testsuite/23_containers/forward_list/requirements/dr438/
1135 constructor_1_neg.cc: Same.
1136 * testsuite/23_containers/forward_list/requirements/dr438/
1137 constructor_2_neg.cc: Same.
1138 * testsuite/23_containers/forward_list/requirements/dr438/
1139 insert_neg.cc: Same.
1140 * testsuite/23_containers/list/capacity/29134.cc: Same.
1141 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1142 * testsuite/23_containers/list/requirements/dr438/
1143 constructor_1_neg.cc: Same.
1144 * testsuite/23_containers/list/requirements/dr438/
1145 constructor_2_neg.cc: Same.
1146 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1147 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1148 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1149 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1150 * testsuite/23_containers/vector/requirements/dr438/
1151 constructor_1_neg.cc: Same.
1152 * testsuite/23_containers/vector/requirements/dr438/
1153 constructor_2_neg.cc: Same.
1154 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1155 * testsuite/25_algorithms/sort/35588.cc: Same.
1156 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1157 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1158 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1159 * testsuite/ext/profile/profiler_algos.cc: Same.
1160 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1161 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1162 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1163 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1164 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1166 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1168 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1169 Improve description of one such reference.
1171 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1173 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1174 Standards Revision Group.
1175 * doc/xml/manual/locale.xml: Ditto.
1176 * doc/xml/manual/messages.xml: Ditto.
1177 * doc/xml/manual/using_exceptions.xml: Ditto.
1179 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1181 * include/bits/atomic_base.h: Do not include <stddef.h>.
1182 (kill_dependency): Uglify ret.
1184 2011-01-26 Johannes Singler <singler@kit.edu>
1186 * include/parallel/numeric (inner_product, partial_sum):
1187 Qualify subsequent call with __gnu_parallel instead of
1188 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1189 * include/parallel/algobase.h (equal): Likewise.
1190 * include/parallel/algo.h (find_first_of, search_n, merge,
1191 nth_element, partial_sort, max_element, min_element): Likewise.
1192 * testsuite/25_algorithms/headers/algorithm/
1193 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1194 * testsuite/25_algorithms/headers/algorithm/
1195 parallel_algorithm_mixed2.cc (main): Likewise.
1196 * testsuite/26_numerics/headers/numeric/
1197 parallel_numeric_mixed1.cc (main): Likewise.
1198 * testsuite/26_numerics/headers/numeric/
1199 parallel_numeric_mixed2.cc (main): Likewise.
1201 2011-01-24 Graham Reed <greed@pobox.com>
1204 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1207 2011-01-24 Johannes Singler <singler@kit.edu>
1210 * include/parallel/losertree.h
1211 (_LoserTree<>::__delete_min_insert):
1212 Do not qualify swap with std:: for value type,
1213 but include a using directive instead.
1214 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1215 * include/parallel/balanced_quicksort.h (__qsb_divide):
1216 Use std::iter_swap instead of std::swap.
1217 (__qsb_local_sort_with_helping): Likewise.
1218 * include/parallel/partition.h (__parallel_partition):
1219 Likewise. (__parallel_nth_element): Likewise.
1221 2011-01-24 Johannes Singler <singler@kit.edu>
1224 * include/parallel/multiway_merge.h (_UnguardedIterator):
1225 Remove useless "mutable" from reference declaration.
1227 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1229 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1230 * include/debug/safe_sequence.h: Same.
1231 * include/debug/safe_iterator.h: Same.
1232 * include/std/forward_list: Same.
1233 * include/std/deque: Same.
1234 * include/std/list: Same.
1235 * include/std/random: Same.
1236 * include/std/streambuf: Same.
1237 * include/std/fstream: Same.
1238 * include/std/istream: Same.
1239 * include/std/string: Same.
1240 * include/std/ostream: Same.
1241 * include/std/sstream: Same.
1242 * include/ext/vstring.h: Same.
1243 * include/bits/basic_ios.h: Same.
1244 * include/bits/locale_classes.h: Same.
1245 * include/bits/locale_facets.h: Same.
1246 * include/bits/valarray_array.h: Same.
1247 * include/bits/locale_facets_nonio.h: Same.
1248 * include/tr1/random: Same.
1250 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1252 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1254 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1256 PR libstdc++/36104 part three
1257 * src/hashtable_c++0x.cc: Adjust namespace macros.
1258 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1259 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1261 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1263 * include/ext/pb_ds/detail/resize_policy/
1264 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1265 * include/ext/pb_ds/detail/pat_trie_/
1266 constructors_destructor_fn_imps.hpp: Same.
1267 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1268 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1269 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1271 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1272 iterations downward when testing in debug mode.
1273 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1274 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1275 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1276 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1277 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1278 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1279 reduce in debug mode.
1281 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1283 PR libstdc++/36104 part two
1284 * include/bits/hashtable.h: Revert to non-nested macro usage.
1285 * include/bits/hashtable_policy.h: Same.
1287 2011-01-19 Graham Reed <greed@pobox.com>
1290 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1292 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1294 * doc/xml/images/confdeps.png: Regenerate.
1296 * include/std/chrono (duration): Mark copy constructor constexpr.
1297 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1299 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1301 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1302 Declare defaulted per DR 1517.
1303 * testsuite/util/testsuite_common_types.h
1304 (constexpr_defaulted_default_constructible): Add.
1305 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1307 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1309 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1311 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1313 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1316 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1317 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1319 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1322 * testsuite/18_support/numeric_limits/lowest.cc:
1323 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1325 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1328 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1329 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1331 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1333 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1334 to this. Use _neg suffix.
1335 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1337 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1339 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1340 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1342 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1343 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1345 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1346 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1348 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1349 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1351 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1352 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1354 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1355 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1357 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1358 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1360 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1361 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1363 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1364 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1366 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1367 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1369 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1370 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1372 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1373 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1375 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1376 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1378 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1379 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1381 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1383 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1386 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1387 * include/Makefile.in: Regenerate.
1388 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1389 (install-stdHEADERS, install-bitsHEADERS): New.
1390 * libsupc++/Makefile.in: Regenerate.
1392 * include/bits/c++config: Update for inline namespaces.
1393 * libsupc++/cxxabi-forced.h: To...
1394 * libsupc++/cxxabi_forced.h: ...this.
1395 * libsupc++/hash_bytes.h: Separate file.
1396 * libsupc++/typeinfo: Use it.
1397 * libsupc++/exception: Adjust for bits subdirectory.
1398 * libsupc++/eh_aux_runtime.cc: Same.
1399 * libsupc++/eh_ptr.cc: Same.
1400 * libsupc++/new_op.cc: Same.
1401 * libsupc++/exception_defines.h: Same.
1402 * libsupc++/nested_exception.h: Same.
1403 * libsupc++/eh_terminate.cc: Same.
1404 * libsupc++/vec.cc: Same.
1405 * libsupc++/vterminate.cc: Same.
1406 * libsupc++/exception_ptr.h: Same.
1407 * libsupc++/eh_personality.cc: Same.
1408 * libsupc++/eh_call.cc: Same.
1409 * libsupc++/new_opnt.cc: Same.
1410 * libsupc++/hash_bytes.cc: Same.
1411 * config/cpu/arm/cxxabi_tweaks.h: Same.
1412 * config/cpu/generic/cxxabi_tweaks.h: Same.
1413 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1414 * include/std/bitset: Same.
1415 * include/ext/vstring.tcc: Same.
1416 * include/bits/hashtable.h: Same.
1417 * include/bits/functional_hash.h: Same.
1418 * include/bits/hashtable_policy.h: Same.
1419 * include/bits/basic_string.h: Same.
1420 * include/bits/istream.tcc: Same.
1421 * include/bits/ostream.tcc: Same.
1422 * include/bits/algorithmfwd.h: Same.
1423 * include/bits/basic_string.tcc: Same.
1424 * include/bits/ostream_insert.h: Same.
1425 * include/bits/fstream.tcc: Same.
1426 * include/bits/functexcept.h: Same.
1428 * doc/doxygen/user.cfg.in: Adjust names.
1430 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1432 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1434 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1436 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1438 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1440 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1441 * testsuite/25_algorithms/is_permutation/requirements/
1442 explicit_instantiation/2.cc: Likewise.
1443 * testsuite/25_algorithms/is_permutation/requirements/
1444 explicit_instantiation/pod.cc: Likewise.
1445 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1447 2011-01-13 John Lakos <jlakos@bloomberg.net>
1448 Pablo Halpern <phalpern@halpernwightsoftware.com>
1449 Paolo Carlini <paolo.carlini@oracle.com>
1451 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1452 * include/bits/algorithmfwd.h: Add.
1454 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1457 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1459 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1461 * aclocal.m4: Regenerate.
1463 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1466 * src/placeholders.cc: New.
1467 * src/Makefile.am: Adjust.
1468 * src/Makefile.in: Regenerate.
1469 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1471 * config/abi/pre/gnu.ver: Export.
1473 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1475 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1476 * include/src/debug.cc: Use latter
1477 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1478 correctly handle before_begin iterators.
1479 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1480 useless _GLIBCXX_DEBUG checks.
1482 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1485 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1486 * configure: Regenerated.
1488 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1491 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1494 Copyright (C) 2011 Free Software Foundation, Inc.
1496 Copying and distribution of this file, with or without modification,
1497 are permitted in any medium without royalty provided the copyright
1498 notice and this notice are preserved.