tuple: Use noexcept where appropriate.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob5b1284e6168e48366b9a185cbbd66b0636218a2b
1 2011-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
3         * include/std/tuple: Use noexcept where appropriate.
4         (tuple<>::swap): Rework implementation.
5         (_Head_base<>::_M_swap_impl): Remove.
6         (get(std::tuple<>&&)): Add.
7         * testsuite/20_util/tuple/element_access/get2.cc: New.
8         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
9         line number.
11 2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
13         * include/std/utility: Simplify the last commit, the whole
14         std::get code is C++0x only.
16 2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
18         * include/std/utility (get(std::pair<>&&)): Add.
19         * include/bits/stl_pair.h (pair::swap(pair&),
20         swap(pair<>&, pair<>&)): Use noexcept.
21         * include/bits/random.h (discard_block_engine<>::base,
22         independent_bits_engine<>::base, shuffle_order_engine<>::base,
23         random_device::entropy): Use noexcept.
24         * include/std/array: Use noexcept where appropriate.
25         (get(array<>&&)): Add.
26         * testsuite/23_containers/array/requirements/get.cc: New.
27         * testsuite/20_util/pair/get.cc: Likewise.
28         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
29         line number.
31 2011-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
33         * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
34         Add.
35         * include/std/limits: Use the latter everywhere.
36         (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
37         macro usages, the specializations exist only in C++0x mode.
38         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
39         line number.
41 2011-05-11  Paolo Carlini  <paolo.carlini@oracle.com>
43         * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
44         dg-require-cmath.
45         * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
47 2011-05-11  François Dumont  <francois.cppdevs@free.fr>
49         * include/ext/pb_ds/detail/resize_policy/
50         hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
51         _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
52         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
53         find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
54         constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
55         (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
56         * include/ext/pb_ds/detail/debug_map_base.hpp,
57         splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
58         cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
59         leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
60         bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
61         rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
62         PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
63         macro definitions move...
64         * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
65         * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
66         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
67         resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
68         left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
69         binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
70         rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
71         PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
72         * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
73         ...here.
75 2011-05-09  Paolo Carlini  <paolo.carlini@oracle.com>
77         PR libstdc++/48933
78         * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
79         erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
80         llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
81         nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
82         scalbn, tgamma, trunc): Use __enable_if on the return type.
83         * include/tr1/cmath: Likewise.
84         * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
85         * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
87 2011-05-07  François Dumont  <francois.cppdevs@free.fr>
89         * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
90         (_GLICXX_DEBUG_VERIFY): Use latter.
91         * include/ext/pb_ds/detail/resize_policy/
92         hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
93         containing the original assert call.
94         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
95         find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
96         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
97         split_join_fn_imps.hpp: Likewise.
98         * include/ext/pb_ds/detail/cc_hash_table_map_/
99         erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
100         find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
101         debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
102         constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
103         erase_no_store_hash_fn_imps.hpp: Likewise.
104         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
105         insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
106         constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
107         leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
108         Likewise.
109         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
110         r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
111         debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
112         bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
113         Likewise.
114         * include/ext/pb_ds/detail/gp_hash_table_map_/
115         erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
116         find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
117         debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
118         resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
119         debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
120         Likewise.
121         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
122         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
123         erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
124         resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
125         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
126         find_fn_imps.hpp, insert_fn_imps.hpp,
127         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
128         pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
129         * include/ext/pb_ds/detail/binomial_heap_/
130         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
131         binomial_heap_.hpp: Likewise.
132         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
133         erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
134         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
135         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
136         find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
137         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
138         split_join_fn_imps.hpp: Likewise.
139         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
140         ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
141         debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
142         * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
143         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
144         find_fn_imps.hpp, insert_fn_imps.hpp,
145         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
146         splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
147         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
148         find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
149         insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
150         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
151         rc_binomial_heap_.hpp, insert_fn_imps.hpp,
152         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
153         split_join_fn_imps.hpp: Likewise.
154         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
155         insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
156         debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
157         * include/ext/pb_ds/hash_policy.hpp: Likewise.
159 2011-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
161         * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
163 2011-05-04  Marc Glisse  <marc.glisse@normalesup.org>
165         PR libstdc++/47913 (again)
166         * include/std/ratio (ratio_add, ratio_less): Rewrite.
167         * testsuite/20_util/ratio/operations/47913.cc: Extend.
168         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
169         line numbers.
170         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
172 2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
174         PR libstdc++/48848
175         * include/std/valarray (valarray<>::valarray(valarray&&),
176         valarray<>::operator=(valarray&&), valarray<>::swap): Add.
177         * doc/xml/manual/status_cxx200x.xml: Update.
178         * testsuite/26_numerics/valarray/moveable.cc: New.
179         * testsuite/26_numerics/valarray/swap.cc: Likewise.
181 2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
183         PR libstdc++/48750
184         * include/parallel/multiway_merge.h: Run _ValueType destructors.
185         * include/parallel/multiway_mergesort.h: Likewise.
186         * include/parallel/quicksort.h: Likewise.
187         * include/parallel/random_shuffle.h: Likewise.
188         * include/parallel/partial_sum.h: Likewise.
189         * include/parallel/losertree.h: Run destructors; minor tweaks.
190         * include/parallel/par_loop.h: Run destructors, fix memory
191         allocations and deallocations.
192         * testsuite/26_numerics/accumulate/48750.cc: New.
194         * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
195         parallel-mode to avoid spurious multiple errors.
197 2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
199         * include/std/functional (bind): Remove from overload set when first
200         argument type might be a socket file descriptor.
201         * testsuite/20_util/bind/socket.cc: New.
203 2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
205         PR libstdc++/48848
206         * doc/xml/manual/status_cxx200x.xml: Update valarray status.
207         * doc/html/*: Regenerate.
209 2011-05-02  Ollie Wild  <aaw@google.com>
211         * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
212         Fix unqualified lookup.
213         (__sso_string_base<>::_M_assign): Likewise.
214         (__sso_string_base<>::_M_reserve): Likewise.
215         (__sso_string_base<>::_M_mutate): Likewise.
216         (__sso_string_base<>::_M_erase): Likewise.
217         * include/ext/vstring.h (__versa_string<>::replace): Likewise.
218         (__versa_string<>::compare): Likewise.
219         * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
221 2011-05-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
223         * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
224         and FDIS content.
225         * doc/xml/manual/documentation_hacking.xml: Fix typo.
226         * doc/html/*: Regenerate.
228 2011-04-30  Daniel Krugler  <daniel.kruegler@googlemail.com>
230         * include/std/type_traits (__is_default_constructible_atom,
231         __is_default_constructible_safe<, true>,
232         __is_direct_constructible_new_safe,
233         __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
234         __is_direct_constructible_ref_cast, __is_direct_constructible,
235         __is_nary_constructible): Simplify; add comments throughout.
237 2011-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
239         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
240         Adjust dg-error line numbers.
241         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
242         Likewise.
243         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
245 2011-04-30  Doug Kwan  <dougkwan@google.com>
247         * include/Makefile.am (install-freestanding-headers): Also install
248         cxxabi_tweaks.h.
249         * include/Makefile.in: Regenerate.
251 2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
253         PR libstdc++/48760
254         * include/std/complex (complex<float>::complex(float, float),
255         complex<double>::complex(double, double),
256         complex<long double>::complex(long double, long double)): Use
257         list-initialization in C++0x mode, initialize in the body in
258         C++03 mode.
259         * testsuite/26_numerics/complex/cons/48760.cc: New.
260         * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
262 2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
264         * include/std/bitset (_Base_bitset(unsigned long long)): Minor
265         tweak, remove redundant round braces.
267 2011-04-27  Paolo Carlini  <paolo.carlini@oracle.com>
269         * include/bits/move.h (move_if_noexcept): Add.
270         * testsuite/20_util/move_if_noexcept/requirements/
271         explicit_instantiation.cc: New.
272         * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
274 2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
276         * include/std/type_traits (struct underlying_type): Add.
277         * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
278         * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
279         Likewise.
280         * testsuite/20_util/underlying_type/requirements/
281         explicit_instantiation.cc: Likewise.
282         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
283         line number.
285 2011-04-24  Paolo Carlini  <paolo.carlini@oracle.com>
287         * include/parallel/multiway_merge.h: Uglify equally_split
288         and equally_split_point throughout.
289         * include/parallel/par_loop.h: Likewise.
290         * include/parallel/equally_split.h: Likewise.
291         * include/parallel/set_operations.h: Likewise.
292         * include/parallel/unique_copy.h: Likewise.
293         * include/parallel/multiway_mergesort.h: Likewise.
294         * include/parallel/search.h: Likewise.
295         * include/parallel/partial_sum.h: Likewise.
296         * include/parallel/find.h: Likewise.
298 2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
300         * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
301         documentation.  Expand link text.
303 2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
305         * libsupc++/cxxabi.h: Adjust link to FAQ entry.
307 2011-04-22  François Dumont  <francois.cppdevs@free.fr>
309         * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
310         unused compilation result thanks to /dev/null.
311         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
312         check_v3_target_profile_mode, check_v3_target_normal_mode,
313         check_v3_target_cstdint, check_v3_target_cmath,
314         check_v3_target_atomic_builtins, check_v3_target_gthreads,
315         check_v3_target_nanosleep, check_v3_target_sched_yield,
316         check_v3_target_string_conversions, check_v3_target_swprintf,
317         check_v3_target_binary_io): Use simple preprocessing rather than
318         compilation. Discard unused preprocessing result thanks to /dev/null.
320 2011-04-20  Jim Meyering  <meyering@redhat.com>
322         * libsupc++/del_opnt.cc (operator delete): Remove useless
323         if-before-free.
325 2011-04-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
327         PR libstdc++/48521
328         * include/std/type_traits (result_of): Handle pointer to member.
329         * include/std/functional (__invoke): Likewise.
330         (_Function_to_function_pointer): Remove.
331         (_Reference_wrapper_base): Provide nested types independent of
332         unary_function and binary_function.
333         (reference_wrapper::operator()): DR 2017.
334         (ref(const A&&), cref(const A&&): Define as deleted.
335         * include/std/future (async): Simplify SFINAE and use result_of to
336         support pointer to member.
337         * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
338         member.
339         * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
340         * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
341         instead of derivation from unary_function and binary_function.
342         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
343         * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
344         * testsuite/20_util/reference_wrapper/ref_neg.c: New.
345         * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
347 2011-04-19  Hans-Peter Nilsson  <hp@axis.com>
349         PR testsuite/48675
350         * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
351         this part if SAMPLES < 100000.
353 2011-04-18  Paolo Carlini  <paolo.carlini@oracle.com>
355         * include/std/type_traits (is_nothrow_default_constructible,
356         is_nothrow_copy_constructible, is_nothrow_move_constructible,
357         is_copy_constructible, is_move_constructible): Add.
358         (has_nothrow_default_constructor, has_nothrow_copy_constructor):
359         Remove.
360         (is_nothrow_constructible): Adjust.
362         * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
363         ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
364         ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
365         NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
367         * testsuite/20_util/has_nothrow_default_constructor: Remove.
368         * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
370         * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
371         * testsuite/20_util/is_nothrow_move_constructible/requirements/
372         typedefs.cc: Likewise.
373         * testsuite/20_util/is_nothrow_move_constructible/requirements/
374         explicit_instantiation.cc: Likewise.
375         * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
376         * testsuite/20_util/is_nothrow_copy_constructible/requirements/
377         typedefs.cc: Likewise.
378         * testsuite/20_util/is_nothrow_copy_constructible/requirements/
379         explicit_instantiation.cc: Likewise.
380         * testsuite/20_util/is_nothrow_default_constructible/value.cc:
381         Likewise.
382         * testsuite/20_util/is_nothrow_default_constructible/requirements/
383         typedefs.cc: Likewise.
384         * testsuite/20_util/is_nothrow_default_constructible/requirements/
385         explicit_instantiation.cc: Likewise.
386         * testsuite/20_util/is_move_constructible/value.cc: Likewise.
387         * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
388         Likewise.
389         * testsuite/20_util/is_move_constructible/requirements/
390         explicit_instantiation.cc: Likewise.
391         * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
392         * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
393         Likewise.
394         * testsuite/20_util/is_copy_constructible/requirements/
395         explicit_instantiation.cc: Likewise.
397         * testsuite/20_util/is_default_constructible/value.cc: Add tests.
398         * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
400         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
401         Adjust dg-error line numbers.
402         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
403         Likewise.
404         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
406 2011-04-17  Paolo Carlini  <paolo.carlini@oracle.com>
408         * testsuite/25_algorithms/partition/moveable.cc: Actually run
409         it in parallel-mode for check-parallel.
411 2011-04-17  Daniel Krugler  <daniel.kruegler@googlemail.com>
412             Paolo Carlini  <paolo.carlini@oracle.com>
414         PR libstdc++/48635 (again)
415         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
416         unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
417         unique_ptr<>::operator=(unique_ptr<>&&),
418         unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
419         forward<_Dp>, to forward the deleter.
420         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
422 2011-04-15  Daniel Krugler  <daniel.kruegler@googlemail.com>
423             Paolo Carlini  <paolo.carlini@oracle.com>
425         PR libstdc++/48631
426         * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
427         function call operator.
428         * testsuite/20_util/default_delete/48631_neg.cc: New.
429         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
430         line numbers.
432 2011-04-15  Daniel Krugler  <daniel.kruegler@googlemail.com>
433             Paolo Carlini  <paolo.carlini@oracle.com>
435         PR libstdc++/48635
436         * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
437         unique_ptr<>::operator=(unique_ptr<>&&),
438         unique_ptr<_Tp[],>::operator=(unique_ptr&&),
439         unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
440         instead of moving it.
441         * testsuite/20_util/unique_ptr/assign/48635.cc: New.
443 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
445         * scripts/extract_symvers.pl: Handle NOTY.
447 2011-04-15  Paolo Carlini  <paolo.carlini@oracle.com>
449         * include/std/istream: Fix comments in the light of DR60 + N3168.
451 2011-04-13  Daniel Krugler  <daniel.kruegler@googlemail.com>
452             Paolo Carlini  <paolo.carlini@oracle.com>
454         PR libstdc++/48526
455         * include/std/type_traits (struct is_constructible): Re-implement,
456         according to n3290.
457         (struct is_default_constructible): Add.
458         (struct is_destructible): Likewise.
459         (struct __and_, __or_, __not_): Add and use throughout; reorder some
460         facilities, other minor tweaks.
461         * testsuite/util/testsuite_tr1.h: Add test types.
462         * testsuite/20_util/is_constructible/value-2.cc: New.
463         * testsuite/20_util/is_default_constructible/value.cc: Likewise.
464         * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
465         Likewise.
466         * testsuite/20_util/is_default_constructible/requirements/
467         explicit_instantiation.cc: Likewise.
468         * testsuite/20_util/is_destructible/value.cc: Likewise.
469         * testsuite/20_util/is_destructible/requirements/typedefs.cc:
470         Likewise.
471         * testsuite/20_util/is_destructible/requirements/
472         explicit_instantiation.cc: Likewise.
473         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
474         dg-error line numbers.
475         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
476         Likewise.
477         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
478         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
480 2011-04-13  Paolo Carlini  <paolo.carlini@oracle.com>
482         * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
483         testsuite.
484         * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
485         * testsuite/20_util/is_function/requirements/
486         explicit_instantiation.cc: Likewise.
487         * testsuite/20_util/is_function/24808.cc: Likewise.
488         * testsuite/20_util/is_function/35637.cc: Likewise.
489         * testsuite/20_util/is_object/value.cc: Likewise.
490         * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
491         * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
492         : Likewise.
493         * testsuite/20_util/is_object/24808.cc: Likewise.
494         * testsuite/20_util/is_compound/value.cc: Likewise.
495         * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
496         * testsuite/20_util/is_compound/requirements/
497         explicit_instantiation.cc: Likewise.
498         * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
499         * testsuite/20_util/is_member_object_pointer/requirements/
500         typedefs.cc: Likewise.
501         * testsuite/20_util/is_member_object_pointer/requirements/
502         explicit_instantiation.cc: Likewise.
503         * testsuite/20_util/is_fundamental/value.cc: Likewise.
504         * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
505         * testsuite/20_util/is_fundamental/requirements/
506         explicit_instantiation.cc: Likewise.
507         * testsuite/20_util/is_member_pointer/value.cc: Likewise.
508         * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
509         Likewise.
510         * testsuite/20_util/is_member_pointer/requirements/
511         explicit_instantiation.cc: Likewise.
512         * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
513         * testsuite/20_util/is_member_function_pointer/
514         requirements/typedefs.cc: Likewise.
515         * testsuite/20_util/is_member_function_pointer/requirements/
516         explicit_instantiation.cc: Likewise.
518         * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
519         Copyright years.
521 2011-04-12  Takaya Saito  <gintensubaru@gmail.com>
523         PR libstdc++/48476
524         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
525         _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
526         (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
527         * testsuite/20_util/tuple/cons/48476.cc: New.
528         * testsuite/20_util/tuple/48476.cc: Likewise.
529         * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
531 2011-04-12  Allan McRae  <allan@archlinux.org>
533         PR libstdc++/48566
534         * testsuite/tr1/6_containers/unordered_map/requirements/
535         iterator_null_neg.cc: Include <cstddef>.
536         * testsuite/tr1/6_containers/unordered_set/requirements/
537         iterator_null_neg.cc: Likewise.
538         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
539         <cstring>.
540         * testsuite/util/testsuite_common_types.h: Include <limits>.
541         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
542         Adjust dg-error line numbers.
543         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
544         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
545         Likewise.
546         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
547         Likewise.
548         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
549         Likewise.
550         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
551         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
553 2011-04-11  Jason Merrill  <jason@redhat.com>
555         * testsuite/20_util/is_convertible/value.cc: Adjust.
557 2011-04-11  Paolo Carlini  <paolo.carlini@oracle.com>
559         * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
560         it in parallel-mode for check-parallel.
561         * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
562         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
563         * testsuite/25_algorithms/remove/moveable.cc: Likewise.
564         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
565         Likewise.
566         * testsuite/25_algorithms/unique/moveable.cc: Likewise.
567         * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
568         * testsuite/25_algorithms/heap/moveable.cc: Likewise.
570         * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
571         the tests based on std::lexicographical_compare for check-parallel.
572         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
574 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
576         PR libstdc++/48541
577         * include/std/functional (_Base_manager::_M_get_pointer): Use
578         addressof.
579         * testsuite/20_util/function/48541.cc: New.
581 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
583         PR libstdc++/48465
584         * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
585         * configure: Regenerate.
586         * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
587         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
589 2011-04-06  Jeffrey Yasskin  <jyasskin@google.com>
591         * include/ext/algorithm (is_sorted): In C++0x mode import from
592         namespace std.
593         * include/ext/numeric (iota): In C++0x mode import from
594         namespace std.
595         * testsuite/ext/is_sorted/cxx0x.cc: New.
596         * testsuite/ext/iota/cxx0x.cc: New.
598 2011-04-02  Jonathan Wakely  <redi@gcc.gnu.org>
600         PR libstdc++/48398
601         * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
602         * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
603         * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
604         unused parameter name.
606 2011-03-31  Jeffrey Yasskin  <jyasskin@google.com>
608         * libsupc++/exception_ptr.h: Forward-declare std::type_info.
609         * libsupc++/nested_exception.h (__throw_with_nested): Remove a
610         redundant default argument from std::__throw_with_nested.
612 2011-03-31  Paolo Carlini  <paolo.carlini@oracle.com>
614         PR libstdc++/48382
615         * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
616         * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
617         * src/Makefile.in: Regenerate.
618         * include/Makefile.am: Remove ctype_noninline.h from host_headers.
619         * include/Makefile.in: Regenerate.
620         * doc/xml/manual/internals.xml: Update.
621         * config/os/newlib/ctype_noninline.h: Fixup and rename to...
622         * config/os/newlib/ctype_configure_char.cc: ... this.
623         * config/os/aix/ctype_noninline.h: Likewise.
624         * config/os/aix/ctype_configure_char.cc: Likewise.
625         * config/os/vxworks/ctype_noninline.h: Likewise.
626         * config/os/vxworks/ctype_configure_char.cc
627         * config/os/hpux/ctype_noninline.h: Likewise.
628         * config/os/hpux/ctype_configure_char.cc: Likewise.
629         * config/os/gnu-linux/ctype_noninline.h: Likewise.
630         * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
631         * config/os/mingw32/ctype_noninline.h: Likewise.
632         * config/os/mingw32/ctype_configure_char.cc: Likewise.
633         * config/os/tpf/ctype_noninline.h: Likewise.
634         * config/os/tpf/ctype_configure_char.cc: Likewise.
635         * config/os/uclibc/ctype_noninline.h: Likewise.
636         * config/os/uclibc/ctype_configure_char.cc: Likewise.
637         * config/os/bionic/ctype_noninline.h: Likewise.
638         * config/os/bionic/ctype_configure_char.cc: Likewise.
639         * config/os/djgpp/ctype_noninline.h: Likewise.
640         * config/os/djgpp/ctype_configure_char.cc: Likewise.
641         * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
642         * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
643         * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
644         * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
645         * config/os/bsd/darwin/ctype_noninline.h: Likewise.
646         * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
647         * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
648         * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
649         * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
650         * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
651         * config/os/generic/ctype_noninline.h: Likewise.
652         * config/os/generic/ctype_configure_char.cc: Likewise.
653         * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
654         * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
656 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
658         * include/std/future (future::share): Add.
659         (packaged_task::result_type): Remove as per LWG 2030.
660         (packaged_task::packaged_task): Remove redundant constructors, as per
661         LWG 1514.
662         * testsuite/30_threads/future/members/share.cc: New.
663         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
665 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
667         * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
668         members which require a fully established result state.
669         * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
671 2011-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
673         * include/bits/random.h (negative_binomial_distribution<>::
674         negative_binomial_distribution(_IntType, double),
675         negative_binomial_distribution<>::
676         negative_binomial_distribution(const param_type&)): Tweak
677         construction of _M_gd.
678         * include/bits/random.tcc (negative_binomial_distribution<>::
679         operator()): Adjust.
681 2011-03-24  Paolo Carlini  <paolo.carlini@oracle.com>
683         * include/bits/random.h (negative_binomial_distribution<>::
684         negative_binomial_distribution(_IntType, double),
685         negative_binomial_distribution<>::
686         negative_binomial_distribution(const param_type&)): Fix
687         construction of _M_gd.
688         * include/bits/random.tcc (negative_binomial_distribution<>::
689         operator()): Fix computation, per Leger's algorithm.
690         * testsuite/util/testsuite_random.h (discrete_pdf,
691         negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
692         (binomial_pdf): Swap last two parameters.
693         * testsuite/26_numerics/random/discrete_distribution/
694         operators/values.cc: New.
695         * testsuite/26_numerics/random/negative_binomial_distribution/
696         operators/values.cc: Likewise.
697         * testsuite/26_numerics/random/poisson_distribution/
698         operators/values.cc: Likewise.
699         * testsuite/26_numerics/random/uniform_int_distribution/
700         operators/values.cc: Likewise.
701         * testsuite/26_numerics/random/binomial_distribution/
702         operators/values.cc: Adjust.
704 2011-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
706         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
707         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
708         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
709         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
710         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
712 2011-03-23  Matthias Klose  <doko@ubuntu.com>
714         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
716 2011-03-23  Uros Bizjak  <ubizjak@gmail.com>
718         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
720 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
722         * configure.ac: Don't handle powerpc*-*-gnu*.
723         * configure: Regenerate.
725 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
727         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
728         Copyright years.
729         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
730         Likewise.
732 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
734         * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
735         per DR 1401.
736         (operator==, operator!=, operator<): Fix per the letter of DR 1401.
737         * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
738         * include/bits/unique_ptr.h (operator==, operator!=, operator<,
739         operator<=, operator>, operator>=): Fix per the letter of DR 1401.
740         * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
741         * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
742         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
744 2011-03-22  Jakub Jelinek  <jakub@redhat.com>
746         * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
747         and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
748         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
749         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
750         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
751         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
752         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
753         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
754         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
755         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
756         Likewise.
757         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
758         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
759         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
760         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
761         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
762         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
763         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
764         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
765         test.
767 2011-03-21  Jack Howarth  <howarth@bromo.med.uc.edu>
769         * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
770         create compact unwind for" warnings.
772 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
774         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
775         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
776         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
777         Likewise.
778         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
779         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
780         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
781         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
782         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
783         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
784         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
785         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
786         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
788         * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
789         even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
790         CXXABI_LDBL_1.3 versions.
792 2011-03-21  Benjamin Kosnik  <bkoz@redhat.com>
794         * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
796 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
798         * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
799         (CXXABI_1.3.5): Export _ZTI[PK]*[no].
801 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
803         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
804         sparc*-sun-solaris2.10 && lp64.
806 2011-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
808         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
809         to check_v3_target_cmath.
810         * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
811         to dg-require-cmath.
812         * testsuite/26_numerics/random/binomial_distribution/
813         operators/values.cc: Adjust.
815 2011-03-18  Diego Novillo  <dnovillo@google.com>
817         * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
818         mixed-mode_neg.cc
819         * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
820         mixed-mode-arith_neg.cc
822 2011-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
824         * testsuite/util/testsuite_random.h: New.
825         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
826         * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
827         * testsuite/26_numerics/random/bernoulli_distribution/
828         operators/values.cc: New.
829         * testsuite/26_numerics/random/binomial_distribution/
830         operators/values.cc: Likewise.
831         * testsuite/26_numerics/random/geometric_distribution/
832         operators/values.cc: Likewise.
834 2011-03-16  Benjamin Kosnik  <bkoz@redhat.com>
836         * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
837         * testsuite/19_diagnostics/stdexcept.cc: New.
839 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
841         * include/std/thread: Revert.
842         * src/thread.cc: Same.
843         * config/abi/pre/gnu.ver: Same.
845 2011-03-15  Doug Kwan  <dougkwan@google.com>
847         PR libstdc++/48123
848         * include/Makefile.am (install-freestanding-headers): Install
849         cpu_defines.h
850         * include/Makefile.in: Regenerate.
852 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
854         * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
855         Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
857 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
859         PR libstdc++/48130
860         * src/future.cc: Guard definitions.
861         * libsupc++/nested_exception.cc: Same.
863 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
865         * src/Makefile.am: Add functional.cc, shared_ptr.cc.
866         * src/Makefile.in: Regenerate.
867         * libsupc++/Makefile.am: Add nested_exception.cc.
868         * libsupc++/Makefile.in: Regenerate.
869         * src/system_error.cc: Add ctor and dtor definitions for error_category.
870         * src/functional.cc: New. Add dtor definition for bad_function_call.
871         * src/stdexcept.cc: Add dtor definitions for domain_error,
872         invalid_argument, length_error, out_of_range, range_error,
873         overflow_error, underflow_error.
874         * src/future.cc: Add dtor definition for __future_base::_Result_base.
875         * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
876         * src/thread.cc: Add dtor for thread::_Impl_base.
877         * include/std/system_error: Adjust.
878         * include/std/stdexcept: Same.
879         * include/std/future: Same.
880         * include/std/functional: Same.
881         * include/std/thread: Same.
882         * include/bits/shared_ptr_base.h: Same.
883         * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
884         * libsupc++/nested_exception.h: Adjust.
885         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
886         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
887         * config/abi/pre/gnu.ver: Add new exports.
889 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
891         * include/bits/regex_compiler.h: Nest namespace versioning.
892         * include/bits/regex_grep_matcher.tcc: Same.
893         * include/bits/regex_grep_matcher.h: Same.
894         * include/bits/regex_cursor.h: Same.
895         * include/bits/regex_nfa.h: Same.
896         * include/bits/regex_nfa.tcc: Same.
898         * include/bits/regex_grep_matcher.h: Version forward declarations.
899         * include/bits/c++config: Add namespace association for __regex.
900         * include/bits/regex.h: Make sub_match consistent.
902 2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
904         * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
905         equivalents.
906         * doc/html/manual/abi.html: Regenerate.
908 2011-03-14  Tom Tromey  <tromey@redhat.com>
910         * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
911         Try to import `gdb.printing' module.
912         (UniquePointerPrinter.__init__): Add 'typename' argument.
913         (StdSlistPrinter.__init__): Likewise.
914         (StdSlistIteratorPrinter.__init__): Likewise.
915         (StdVectorIteratorPrinter.__init__): Likewise.
916         (StdRbtreeIteratorPrinter.__init__): Likewise.
917         (StdDebugIteratorPrinter.__init__): Likewise.
918         (StdDequeIteratorPrinter.__init__): Likewise.
919         (StdStringPrinter.__init__): Likewise.
920         (RxPrinter, Printer): New class.
921         (libstdcxx_printer): New global.
922         (register_libstdcxx_printers): Rewrite.
923         (build_libstdcxx_dictionary): Rewrite.
924         (pretty_printers_dict): Remove.
926 2011-03-14  Andrey Zholos  <aaz@althenia.net>
928         PR libstdc++/48114
929         * include/bits/random.h (geometric_distribution): Correct formula
930         in comment, per C++0x.
931         (geometric_distribution<>::param_type::param_type(double)): Fix check.
932         (geometric_distribution<>::param_type::_M_initialize):
933         Store log(1 - p).
934         * include/bits/random.tcc (geometric_distribution<>::operator()):
935         Fix computation.
936         (binomial_distribution<>::operator()): Likewise.
938 2011-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
940         * testsuite/util/testsuite_rvalref.h: Minor tweaks.
942 2011-03-09  Jonathan Wakely  <redi@gcc.gnu.org>
943             Chris Jefferson  <chris@bubblescope.net>
944             Paolo Carlini  <paolo.carlini@oracle.com>
946         * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
947         New.
948         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
949         Likewise.
950         * testsuite/25_algorithms/partial_sort/check_compare_by_value:
951         Likewise.
952         * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
953         Likewise.
954         * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
956 2011-03-09  Chris Jefferson  <chris@bubblescope.net>
958         PR libstdc++/48038
959         * include/bits/stl_algo.h (__merge_backward): Rename to
960         __move_merge_backward and change to always move rather than copy.
961         (__move_merge): New function similar to std::merge except values
962         are moved instead of copied.
963         (__merge_adaptive, __merge_sort_loop): Change from using std::merge
964         and __merge_backward to __move_merge and __move_merge_backward.
966 2011-03-07  Jason Merrill  <jason@redhat.com>
968         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
969         expected errors.
971 2011-03-07  Benjamin Kosnik  <bkoz@redhat.com>
972             Matthias Klose  <doko@ubuntu.com>
973             Jonathan Wakely  <redi@gcc.gnu.org>
975         PR libstdc++/47145
976         * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
977         * configure.ac: Use it.
978         * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
979         * configure: Regenerate.
980         * doc/Makefile.in: Regenerate.
982 2011-03-04  Benjamin Kosnik  <bkoz@chula>
984         * src/Makefile.am (inst_sources): Make source instantion files
985         conditional.
986         (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
987         * src/Makefile.in: Regenerate.
988         * src/valarray-inst.cc: Move to..
989         * src/valarray.cc: ...this.
990         * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
991         * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
992         * configure: Regenerate.
993         * include/Makefile.am (stamp-extern-template): Add.
994         * include/Makefile.in: Regenerate.
996         * doc/xml/manual/configure.xml: Document --enable-extern-template.
998         * include/bits/locale_classes.tcc: Adjust comment.
999         * include/bits/locale_facets.tcc: Same.
1000         * include/bits/basic_ios.tcc: Same.
1001         * include/bits/istream.tcc: Same.
1002         * include/bits/codecvt.h: Same.
1003         * include/bits/ostream.tcc: Same.
1004         * include/bits/sstream.tcc: Same.
1005         * include/bits/c++config: Same.
1006         * include/bits/basic_string.tcc: Same.
1007         * include/bits/ostream_insert.h: Same.
1008         * include/bits/locale_facets_nonio.tcc: Same.
1009         * include/bits/streambuf.tcc: Same.
1010         * include/bits/allocator.h: Same.
1011         * include/bits/fstream.tcc: Same.
1013         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1015 2011-03-02  Benjamin Kosnik  <bkoz@redhat.com>
1017         * testsuite/Makefile.am: Make clean fixups.
1018         * testsuite/Makefile.in: Regenerate.
1020 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
1022         * include/std/ratio (ratio_less): Add comments.
1024 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
1026         PR libstdc++/47913
1027         * include/std/ratio (ratio_add): Avoid denominator overflow.
1028         * testsuite/20_util/ratio/operations/47913.cc: New.
1030 2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1032         * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1033         * testsuite/20_util/hash/quality.cc: Same.
1035 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
1037         PR libstdc++/47921
1038         * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1039         __safe_pbump): Add.
1040         * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1041         xputn): Use the latter.
1042         * include/bits/streambuf_iterator.h: Likewise.
1043         * src/strstream.cc: Likewise.
1044         * src/streambuf.cc: Likewise.
1045         * src/compatibility.cc: Likewise.
1046         * src/istream.cc: Likewise.
1047         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1048         instead of gbump.
1049         * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1050         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1051         seekpos, _M_sync): Use setg, setp, and _M_pbump.
1052         * config/abi/pre/gnu.ver: Tweak.
1054 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
1056         * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1058 2011-02-28  Marc Glisse  <marc.glisse@normalesup.org>
1060         PR libstdc++/42622
1061         * include/std/ratio (ratio_less): Reimplement to never overflow.
1062         * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1064 2011-02-24  Benjamin Kosnik  <bkoz@redhat.com>
1066         * testsuite/18_support/type_info/fundamental.cc: New.
1068         * testsuite/Makefile.am: Make clean fixups.
1069         * testsuite/Makefile.in: Regenerate.
1071 2011-02-19  François Dumont  <francois.cppdevs@free.fr>
1073         * include/debug/string (basic_string::insert): Add iterator check and
1074         pass normal iterator to normal insert.
1075         * include/debug/macros.h (__glibcxx_check_heap,
1076         __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1077         already done.
1079 2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
1081         PR libstdc++/47776
1082         * testsuite/ext/vstring/hash/char/1.cc: Fix.
1083         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1085 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
1087         * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1088         (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1089         (basic_regex::operator=(basic_regex&&)): Likewise.
1090         (basic_regex::assign(basic_regex&&)): Likewise.
1091         (operator==(sub_match,...)): Implement DR 1181.
1092         (match_results::match_results(match_results&&)): Define.
1093         (match_results::operator=(const match_results&)): Fix parameter type.
1094         (match_results::operator=(match_results&&)): Define.
1096 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
1098         PR libstdc++/47724
1099         * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1100         line anchors as metacharacters.
1101         * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1103 2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
1105         PR libstdc++/47773
1106         * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1107         hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1108         hash<__gnu_cxx::__u32vstring>): Add.
1109         * testsuite/ext/vstring/hash/char/1.cc: New.
1110         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1112 2011-02-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
1114         * include/bits/regex.h (match_results::format): Use char_traits.
1116 2011-02-16  Benjamin Kosnik  <bkoz@redhat.com>
1118         * include/std/atomic: Remove atomic_address, uplift to N3225.
1119         * include/bits/atomic_0.h: Same.
1120         * include/bits/atomic_2.h: Same.
1121         * include/bits/atomic_base.h: Same.
1122         * testsuite/29_atomics/atomic_address/*: Delete.
1124 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1126         * include/bits/regex.h (sub_match::sub_match): Add.
1127         (match_results::ready): Add.
1128         (match_results::empty): Adjust.
1129         (match_results::length): Add missing dereference.
1130         (match_results::operator[],prefix,suffix): Add debug mode checks.
1131         (match_results::cend): Re-use end().
1132         (match_results::format): Adjust signatures.
1133         (operator==(match_results,match_results)): Implement.
1134         * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1135         * include/bits/regex_constants.h (syntax_option_type): Likewise.
1136         * include/bits/regex_grep_matcher.h: Fix comment typo.
1137         (_SpecializedResults::_SpecializedResults): Simplify.
1138         * include/bits/regex_cursor.h: Fix comment typo.
1139         * include/bits/regex_nfa.h: Likewise.
1140         * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1141         Fix error code, remove xfail.
1142         * testsuite/28_regex/basic_regex/ctors/extended/
1143         string_range_01_02_03.cc: Likewise.
1145 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1147         * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1148         * include/bits/regex_nfa.h: Remove unnecessary base classes.
1150 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1152         * configure: Regenerate.
1154 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
1156         PR libstdc++/47709
1157         * include/ext/algorithm (is_heap): In C++0x mode import from
1158         namespace std.
1159         * testsuite/ext/is_heap/47709.cc: New.
1161 2011-02-12  Jakub Jelinek  <jakub@redhat.com>
1162             Jonathan Wakely  <jwakely.gcc@gmail.com>
1164         PR libstdc++/47662
1165         * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1166         * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1168 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
1170         * include/tr1/cmath (fabs): Define.
1171         * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1172         in C++0x mode.
1174 2011-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
1176         * testsuite/tr1/headers/c++200x/complex.cc: New.
1178 2011-02-11  Johannes Singler  <singler@kit.edu>
1180         PR libstdc++/47433
1181         * include/parallel/losertree.h
1182         (_LoserTreeUnguarded<>::__delete_min_insert):
1183         Add missing "using std::swap;", as for other variants.
1185 2011-02-10  Benjamin Kosnik  <bkoz@redhat.com>
1187         * src/Makefile.am (sources): Add regex.cc.
1188         * src/Makefile.in: Regenerate.
1189         * src/regex.cc: New.
1190         * include/bits/regex_error.h (error_type): Use constexpr.
1191         (regex_error): Move ctor and dtor out of line.
1193         * testsuite/28_regex/03_requirements: To...
1194         * testsuite/28_regex/requirements: ... this.
1195         * testsuite/28_regex/04_header: To...
1196         * testsuite/28_regex/headers: ... this.
1197         * testsuite/28_regex/05_constants: To...
1198         * testsuite/28_regex/constants: ... this.
1199         * testsuite/28_regex/06_exception_type: To...
1200         * testsuite/28_regex/regex_error: ... this.
1201         * testsuite/28_regex/07_traits: To...
1202         * testsuite/28_regex/traits: ... this.
1203         * testsuite/28_regex/08_basic_regex: To...
1204         * testsuite/28_regex/basic_regex: ... this.
1205         * testsuite/28_regex/09_sub_match: To...
1206         * testsuite/28_regex/sub_match: ... this.
1207         * testsuite/28_regex/10_match_results: To...
1208         * testsuite/28_regex/match_results: ... this.
1209         * testsuite/28_regex/11_algorithms: To...
1210         * testsuite/28_regex/algorithms: ... this.
1211         * testsuite/28_regex/12_iterators: To...
1212         * testsuite/28_regex/iterators: ... this.
1214 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1216         PR libstdc++/47662
1217         * include/bits/c++config: Do not use alternative token.
1218         * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1220 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1222         * src/future.cc (future_error_category::message): Handle no_state.
1224 2011-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
1226         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1227         not test in C++0x mode.
1228         * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1229         * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1230         in C++0x mode too.
1232 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1234         * doc/xml/manual/status_cxx200x.xml: Update.
1235         * doc/html/*: Regenerate.
1237 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1239         * doc/xml/manual/debug.xml: Improve data race docs.
1241 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
1243         PR libstdc++/47668
1244         * include/debug/map.h (map): Remove unnecessary using-declaration.
1245         * include/debug/multimap.h (multimap): Likewise.
1246         * include/profile/map.h (map): Likewise.
1247         * include/profile/multimap.h (multimap): Likewise.
1249 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1251         PR libstdc++/43863
1252         * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1253         Move to ...
1254         * libsupc++/guard_error.cc: ... new file.
1255         * libsupc++/Makefile.am: Update.
1256         * libsupc++/Makefile.in: Regenerate.
1258 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1260         * include/std/future (packaged_task::operator bool): Rename to...
1261         (packaged_task::valid): ...this.
1262         * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1263         * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1264         * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1265         * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1266         * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1267         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1268         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1269         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1270         * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1271         * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1272         * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1274 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
1276         * doc/xml/manual/io.xml: Fix typo.
1277         * doc/html/manual/streambufs.html: Likewise.
1279 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
1281         * config/abi/pre/gnu.ver: Fix.
1283 2011-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1285         * doc/xml/manual/appendix_porting.xml: Add doc section.
1286         * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1287         * doc/xml/manual/documentation_hacking.xml: ...here.
1289         * doc/xml/manual/debug_mode.xml: Adjust.
1290         * doc/xml/manual/prerequisites.xml: Adjust.
1291         * doc/Makefile.am (xml_sources): Add dot files,
1292         documentation_hacking.xml.
1293         * doc/Makefile.in: Regenerate.
1295         * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1296         * doc/xml/images/confdeps.pdf: Add.
1298         * doc/html/*: Regenerate.
1300 2011-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1302         * doc/xml/gnu/fdl-1.2.xml: Remove.
1303         * doc/xml/gnu/gpl-2.0.xml: Remove.
1304         * doc/Makefile.am: Update.
1305         * doc/Makefile.in: Regenerate.
1307 2011-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
1309         PR libstdc++/47628
1310         * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1311         iterator)): Add back in C++03 mode.
1312         * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1313         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1315 2011-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1317         PR libstdc++/47560 try two
1318         * config/os/hpux/os_defines.h: Guard for C++.
1320 2011-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
1322         * doc/xml/faq.xml: Adjust link to bug database.
1323         Remove old item on broken header files.
1325 2011-02-04  Benjamin Kosnik  <bkoz@redhat.com>
1327         * include/bits/regex_error.h (__throw_regex_error): Not inline.
1328         * src/functexcept.cc: Add definition.
1329         * config/abi/pre/gnu.ver: Export.
1331 2011-02-04  Ralf Corsépius <ralf.corsepius@rtems.org>
1333         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1334         * configure: Regenerate.
1336 2011-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
1338         PR libstdc++/46914
1339         * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1340         _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1341         avoid name conflicts.
1343 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
1345         PR libstdc++/47560
1346         * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1348 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
1350         * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1351         * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1352         (COMPACT_LATEX): Enable.
1354         * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1355         * include/profile/impl/profiler_hash_func.h: Same.
1356         * include/bits/hashtable.h: Same.
1357         * include/backward/auto_ptr.h: Same.
1358         * include/backward/strstream: Same.
1359         * include/backward/backward_warning.h: Same.
1360         * include/backward/binders.h: Same.
1362 2011-02-01  Gerald Pfeifer  <gerald@pfeifer.com>
1364         * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1365         Adjust link to GDB manual.
1367 2011-01-31  Benjamin Kosnik  <bkoz@redhat.com>
1369         * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1370         _GLIBCXX_USE_DEPRECATED.
1371         (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1372         * doc/xml/manual/using.xml: Same.
1373         * include/std/memory: Same.
1374         * include/std/streambuf: Same.
1375         * include/bits/shared_ptr.h: Same.
1376         * include/bits/unique_ptr.h: Same.
1377         * include/bits/shared_ptr_base.h: Same.
1378         * include/bits/stl_function.h: Same.
1379         * include/tr1/shared_ptr.h: Same.
1380         * include/backward/auto_ptr.h: Same.
1381         * include/backward/binders.h: Same.
1383 2011-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
1385         * doc/html/ext/lwg-active.html: Update to Revision D73.
1386         * doc/html/ext/lwg-closed.html: Likewise.
1387         * doc/html/ext/lwg-defects.html: Likewise.
1388         * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1390 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
1392         PR libstdc++/36104 part four
1393         * include/bits/c++config (_GLIBCXX_STD): Remove.
1394         (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1395         (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1396         (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1397          _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1398         (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1399          _GLIBCXX_INLINE_PROFILE): Remove.
1400         (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1401         (_GLIBCXX_END_NAMESPACE): Remove.
1402         (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1403         (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1404         (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1405         (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1406         (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1407         (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1408         (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1409         (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1410         (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1411         (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1412         (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1413         * include/*: Use new macros for namespace scope.
1414         * config/*: Same.
1415         * src/*: Same.
1417         * src/Makefile.am (sources): Remove debug_list.cc, add
1418         compatibility-debug_list-2.cc.
1419         (parallel_sources): Remove parallel_list.cc, add
1420         compatibility-parallel_list-2.cc.
1421         (compatibility-parallel_list-2.[o,lo]): New rule.
1422         * src/Makefile.in: Regenerate.
1423         * src/debug_list.cc: Remove.
1424         * src/parallel_list.cc: Remove.
1425         * src/compatibility-list-2.cc: New.
1426         * src/compatibility-debug_list-2.cc: New.
1427         * src/compatibility-parallel_list-2.cc: New.
1429         * doc/doxygen/user.cfg.in: Adjust macros.
1431         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1432         * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1433         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1434         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1435         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1436         * testsuite/20_util/forward/c_neg.cc: Same.
1437         * testsuite/20_util/forward/f_neg.cc: Same.
1438         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1439         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1440         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1441         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1442         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1443         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1444         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1445         * testsuite/23_containers/deque/requirements/dr438/
1446         constructor_1_neg.cc: Same.
1447         * testsuite/23_containers/deque/requirements/dr438/
1448         constructor_2_neg.cc: Same.
1449         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1450         * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1451         * testsuite/23_containers/forward_list/requirements/dr438/
1452         assign_neg.cc: Same.
1453         * testsuite/23_containers/forward_list/requirements/dr438/
1454         constructor_1_neg.cc: Same.
1455         * testsuite/23_containers/forward_list/requirements/dr438/
1456         constructor_2_neg.cc: Same.
1457         * testsuite/23_containers/forward_list/requirements/dr438/
1458         insert_neg.cc: Same.
1459         * testsuite/23_containers/list/capacity/29134.cc: Same.
1460         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1461         * testsuite/23_containers/list/requirements/dr438/
1462         constructor_1_neg.cc: Same.
1463         * testsuite/23_containers/list/requirements/dr438/
1464         constructor_2_neg.cc: Same.
1465         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1466         * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1467         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1468         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1469         * testsuite/23_containers/vector/requirements/dr438/
1470         constructor_1_neg.cc: Same.
1471         * testsuite/23_containers/vector/requirements/dr438/
1472         constructor_2_neg.cc: Same.
1473         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1474         * testsuite/25_algorithms/sort/35588.cc: Same.
1475         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1476         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1477         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1478         * testsuite/ext/profile/profiler_algos.cc: Same.
1479         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1480         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1481         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1482         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1483         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1485 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
1487         * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1488         Improve description of one such reference.
1490 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
1492         * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1493         Standards Revision Group.
1494         * doc/xml/manual/locale.xml: Ditto.
1495         * doc/xml/manual/messages.xml: Ditto.
1496         * doc/xml/manual/using_exceptions.xml: Ditto.
1498 2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
1500         * include/bits/atomic_base.h: Do not include <stddef.h>.
1501         (kill_dependency): Uglify ret.
1503 2011-01-26  Johannes Singler  <singler@kit.edu>
1505         * include/parallel/numeric (inner_product, partial_sum):
1506         Qualify subsequent call with __gnu_parallel instead of
1507         _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1508         * include/parallel/algobase.h (equal): Likewise.
1509         * include/parallel/algo.h (find_first_of, search_n, merge,
1510         nth_element, partial_sort, max_element, min_element): Likewise.
1511         * testsuite/25_algorithms/headers/algorithm/
1512         parallel_algorithm_mixed1.cc (main): Add respective test cases.
1513         * testsuite/25_algorithms/headers/algorithm/
1514         parallel_algorithm_mixed2.cc (main): Likewise.
1515         * testsuite/26_numerics/headers/numeric/
1516         parallel_numeric_mixed1.cc (main): Likewise.
1517         * testsuite/26_numerics/headers/numeric/
1518         parallel_numeric_mixed2.cc (main): Likewise.
1520 2011-01-24  Graham Reed  <greed@pobox.com>
1522         PR libstdc++/47387
1523         * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1524         provided.
1526 2011-01-24  Johannes Singler  <singler@kit.edu>
1528         PR libstdc++/47433
1529         * include/parallel/losertree.h
1530         (_LoserTree<>::__delete_min_insert):
1531         Do not qualify swap with std:: for value type,
1532         but include a using directive instead.
1533         (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1534         * include/parallel/balanced_quicksort.h (__qsb_divide):
1535         Use std::iter_swap instead of std::swap.
1536         (__qsb_local_sort_with_helping): Likewise.
1537         * include/parallel/partition.h (__parallel_partition):
1538         Likewise. (__parallel_nth_element): Likewise.
1540 2011-01-24  Johannes Singler  <singler@kit.edu>
1542         PR libstdc++/47437
1543         * include/parallel/multiway_merge.h (_UnguardedIterator):
1544         Remove useless "mutable" from reference declaration.
1546 2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>
1548         * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1549         * include/debug/safe_sequence.h: Same.
1550         * include/debug/safe_iterator.h: Same.
1551         * include/std/forward_list: Same.
1552         * include/std/deque: Same.
1553         * include/std/list: Same.
1554         * include/std/random: Same.
1555         * include/std/streambuf: Same.
1556         * include/std/fstream: Same.
1557         * include/std/istream: Same.
1558         * include/std/string: Same.
1559         * include/std/ostream: Same.
1560         * include/std/sstream: Same.
1561         * include/ext/vstring.h: Same.
1562         * include/bits/basic_ios.h: Same.
1563         * include/bits/locale_classes.h: Same.
1564         * include/bits/locale_facets.h: Same.
1565         * include/bits/valarray_array.h: Same.
1566         * include/bits/locale_facets_nonio.h: Same.
1567         * include/tr1/random: Same.
1569 2011-01-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1571         * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1573 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1575         PR libstdc++/36104 part three
1576         * src/hashtable_c++0x.cc: Adjust namespace macros.
1577         * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1578         * config/abi/pre/gnu-versioned-namespace.ver: Update.
1580 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1582         * include/ext/pb_ds/detail/resize_policy/
1583         hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1584         * include/ext/pb_ds/detail/pat_trie_/
1585         constructors_destructor_fn_imps.hpp: Same.
1586         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1587         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1588         * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1590         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1591         iterations downward when testing in debug mode.
1592         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1593         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1594         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1595         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1596         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1597         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1598         reduce in debug mode.
1600 2011-01-19  Benjamin Kosnik  <bkoz@redhat.com>
1602         PR libstdc++/36104 part two
1603         * include/bits/hashtable.h: Revert to non-nested macro usage.
1604         * include/bits/hashtable_policy.h: Same.
1606 2011-01-19  Graham Reed  <greed@pobox.com>
1608         PR libstdc++/47354
1609         * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1611 2011-01-18  Benjamin Kosnik  <bkoz@redhat.com>
1613         * doc/xml/images/confdeps.png: Regenerate.
1615         * include/std/chrono (duration): Mark copy constructor constexpr.
1616         * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1618 2011-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
1620         * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1621         Declare defaulted per DR 1517.
1622         * testsuite/util/testsuite_common_types.h
1623         (constexpr_defaulted_default_constructible): Add.
1624         * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1626 2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
1628         * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1629         Implement DR 1198.
1630         * include/bits/stl_stack.h (stack<>::swap): Likewise.
1632 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
1634         PR libstdc++/47323
1635         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1636         Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1638 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
1640         PR libstdc++/47320
1641         * testsuite/18_support/numeric_limits/lowest.cc:
1642         Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1644 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
1646         PR libstdc++/47321
1647         * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1648         Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1650 2011-01-16  François Dumont  <francois.cppdevs@free.fr>
1652         * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1653         to this. Use _neg suffix.
1654         * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1655         this.
1656         * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1657         Same.
1658         * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1659         * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1660         Same.
1661         * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1662         * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1663         Same.
1664         * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1665         * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1666         Same.
1667         * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1668         * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1669         Same.
1670         * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1671         * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1672         Same.
1673         * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1674         * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1675         Same.
1676         * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1677         * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1678         Same.
1679         * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1680         * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1681         Same.
1682         * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1683         * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1684         Same.
1685         * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1686         * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1687         Same.
1688         * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1689         * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1690         Same.
1691         * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1692         * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1693         Same.
1694         * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1695         * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1696         Same.
1697         * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1698         * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1699         Same.
1700         * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1702 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
1704         PR libstdc++/36104
1705         * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1706         * include/Makefile.in: Regenerate.
1707         * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1708         (install-stdHEADERS, install-bitsHEADERS): New.
1709         * libsupc++/Makefile.in: Regenerate.
1711         * include/bits/c++config: Update for inline namespaces.
1712         * libsupc++/cxxabi-forced.h: To...
1713         * libsupc++/cxxabi_forced.h: ...this.
1714         * libsupc++/hash_bytes.h: Separate file.
1715         * libsupc++/typeinfo: Use it.
1716         * libsupc++/exception: Adjust for bits subdirectory.
1717         * libsupc++/eh_aux_runtime.cc: Same.
1718         * libsupc++/eh_ptr.cc: Same.
1719         * libsupc++/new_op.cc: Same.
1720         * libsupc++/exception_defines.h: Same.
1721         * libsupc++/nested_exception.h: Same.
1722         * libsupc++/eh_terminate.cc: Same.
1723         * libsupc++/vec.cc: Same.
1724         * libsupc++/vterminate.cc: Same.
1725         * libsupc++/exception_ptr.h: Same.
1726         * libsupc++/eh_personality.cc: Same.
1727         * libsupc++/eh_call.cc: Same.
1728         * libsupc++/new_opnt.cc: Same.
1729         * libsupc++/hash_bytes.cc: Same.
1730         * config/cpu/arm/cxxabi_tweaks.h: Same.
1731         * config/cpu/generic/cxxabi_tweaks.h: Same.
1732         * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1733         * include/std/bitset: Same.
1734         * include/ext/vstring.tcc: Same.
1735         * include/bits/hashtable.h: Same.
1736         * include/bits/functional_hash.h: Same.
1737         * include/bits/hashtable_policy.h: Same.
1738         * include/bits/basic_string.h: Same.
1739         * include/bits/istream.tcc: Same.
1740         * include/bits/ostream.tcc: Same.
1741         * include/bits/algorithmfwd.h: Same.
1742         * include/bits/basic_string.tcc: Same.
1743         * include/bits/ostream_insert.h: Same.
1744         * include/bits/fstream.tcc: Same.
1745         * include/bits/functexcept.h: Same.
1747         * doc/doxygen/user.cfg.in: Adjust names.
1749         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1751 2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
1753         * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1754         tweaks.
1755         * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1757 2011-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
1759         * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1760         * testsuite/25_algorithms/is_permutation/requirements/
1761         explicit_instantiation/2.cc: Likewise.
1762         * testsuite/25_algorithms/is_permutation/requirements/
1763         explicit_instantiation/pod.cc: Likewise.
1764         * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1766 2011-01-13  John Lakos  <jlakos@bloomberg.net>
1767             Pablo Halpern  <phalpern@halpernwightsoftware.com>
1768             Paolo Carlini  <paolo.carlini@oracle.com>
1770         * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1771         * include/bits/algorithmfwd.h: Add.
1773 2011-01-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
1775         PR libstdc++/47045
1776         * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1778 2011-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
1780         * aclocal.m4: Regenerate.
1782 2011-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
1784         PR libstdc++/47185
1785         * src/placeholders.cc: New.
1786         * src/Makefile.am: Adjust.
1787         * src/Makefile.in: Regenerate.
1788         * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1789         extern.
1790         * config/abi/pre/gnu.ver: Export.
1792 2011-01-05  François Dumont  <francois.cppdevs@free.fr>
1794         * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1795         * include/src/debug.cc: Use latter
1796         * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
1797         correctly handle before_begin iterators.
1798         * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1799         useless _GLIBCXX_DEBUG checks.
1801 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
1803         PR libstdc++/47145
1804         * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1805         * configure: Regenerated.
1807 2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1809         PR libstdc++/46922
1810         * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1813 Copyright (C) 2011 Free Software Foundation, Inc.
1815 Copying and distribution of this file, with or without modification,
1816 are permitted in any medium without royalty provided the copyright
1817 notice and this notice are preserved.