1 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
3 * libsupc++/initializer_list: Use noexcept specifier.
4 (initializer_list<>::size, begin, end): Qualify as const.
5 * include/bits/move.h (__addressof, forward, move, addressof): Specify
7 * include/std/bitset: Use noexcept specifier throughout.
8 * include/debug/bitset: Update.
9 * include/profile/bitset: Likewise.
11 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
13 * include/std/tuple: Use noexcept where appropriate.
14 (tuple<>::swap): Rework implementation.
15 (_Head_base<>::_M_swap_impl): Remove.
16 (get(std::tuple<>&&)): Add.
17 * testsuite/20_util/tuple/element_access/get2.cc: New.
18 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
21 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
23 * include/std/utility: Simplify the last commit, the whole
24 std::get code is C++0x only.
26 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
28 * include/std/utility (get(std::pair<>&&)): Add.
29 * include/bits/stl_pair.h (pair::swap(pair&),
30 swap(pair<>&, pair<>&)): Use noexcept.
31 * include/bits/random.h (discard_block_engine<>::base,
32 independent_bits_engine<>::base, shuffle_order_engine<>::base,
33 random_device::entropy): Use noexcept.
34 * include/std/array: Use noexcept where appropriate.
35 (get(array<>&&)): Add.
36 * testsuite/23_containers/array/requirements/get.cc: New.
37 * testsuite/20_util/pair/get.cc: Likewise.
38 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
41 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
43 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
45 * include/std/limits: Use the latter everywhere.
46 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
47 macro usages, the specializations exist only in C++0x mode.
48 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
51 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
53 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
55 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
57 2011-05-11 François Dumont <francois.cppdevs@free.fr>
59 * include/ext/pb_ds/detail/resize_policy/
60 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
61 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
62 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
63 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
64 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
65 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
66 * include/ext/pb_ds/detail/debug_map_base.hpp,
67 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
68 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
69 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
70 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
71 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
72 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
73 macro definitions move...
74 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
75 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
76 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
77 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
78 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
79 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
80 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
81 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
82 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
85 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
88 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
89 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
90 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
91 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
92 scalbn, tgamma, trunc): Use __enable_if on the return type.
93 * include/tr1/cmath: Likewise.
94 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
95 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
97 2011-05-07 François Dumont <francois.cppdevs@free.fr>
99 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
100 (_GLICXX_DEBUG_VERIFY): Use latter.
101 * include/ext/pb_ds/detail/resize_policy/
102 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
103 containing the original assert call.
104 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
105 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
106 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
107 split_join_fn_imps.hpp: Likewise.
108 * include/ext/pb_ds/detail/cc_hash_table_map_/
109 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
110 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
111 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
112 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
113 erase_no_store_hash_fn_imps.hpp: Likewise.
114 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
115 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
116 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
117 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
119 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
120 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
121 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
122 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
124 * include/ext/pb_ds/detail/gp_hash_table_map_/
125 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
126 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
127 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
128 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
129 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
131 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
132 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
133 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
134 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
135 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
136 find_fn_imps.hpp, insert_fn_imps.hpp,
137 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
138 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
139 * include/ext/pb_ds/detail/binomial_heap_/
140 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
141 binomial_heap_.hpp: Likewise.
142 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
143 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
144 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
145 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
146 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
147 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
148 split_join_fn_imps.hpp: Likewise.
149 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
150 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
151 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
152 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
153 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
154 find_fn_imps.hpp, insert_fn_imps.hpp,
155 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
156 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
157 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
158 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
159 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
160 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
161 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
162 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
163 split_join_fn_imps.hpp: Likewise.
164 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
165 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
166 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
167 * include/ext/pb_ds/hash_policy.hpp: Likewise.
169 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
171 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
173 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
175 PR libstdc++/47913 (again)
176 * include/std/ratio (ratio_add, ratio_less): Rewrite.
177 * testsuite/20_util/ratio/operations/47913.cc: Extend.
178 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
180 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
182 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
185 * include/std/valarray (valarray<>::valarray(valarray&&),
186 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
187 * doc/xml/manual/status_cxx200x.xml: Update.
188 * testsuite/26_numerics/valarray/moveable.cc: New.
189 * testsuite/26_numerics/valarray/swap.cc: Likewise.
191 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
194 * include/parallel/multiway_merge.h: Run _ValueType destructors.
195 * include/parallel/multiway_mergesort.h: Likewise.
196 * include/parallel/quicksort.h: Likewise.
197 * include/parallel/random_shuffle.h: Likewise.
198 * include/parallel/partial_sum.h: Likewise.
199 * include/parallel/losertree.h: Run destructors; minor tweaks.
200 * include/parallel/par_loop.h: Run destructors, fix memory
201 allocations and deallocations.
202 * testsuite/26_numerics/accumulate/48750.cc: New.
204 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
205 parallel-mode to avoid spurious multiple errors.
207 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
209 * include/std/functional (bind): Remove from overload set when first
210 argument type might be a socket file descriptor.
211 * testsuite/20_util/bind/socket.cc: New.
213 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
216 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
217 * doc/html/*: Regenerate.
219 2011-05-02 Ollie Wild <aaw@google.com>
221 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
222 Fix unqualified lookup.
223 (__sso_string_base<>::_M_assign): Likewise.
224 (__sso_string_base<>::_M_reserve): Likewise.
225 (__sso_string_base<>::_M_mutate): Likewise.
226 (__sso_string_base<>::_M_erase): Likewise.
227 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
228 (__versa_string<>::compare): Likewise.
229 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
231 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
233 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
235 * doc/xml/manual/documentation_hacking.xml: Fix typo.
236 * doc/html/*: Regenerate.
238 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
240 * include/std/type_traits (__is_default_constructible_atom,
241 __is_default_constructible_safe<, true>,
242 __is_direct_constructible_new_safe,
243 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
244 __is_direct_constructible_ref_cast, __is_direct_constructible,
245 __is_nary_constructible): Simplify; add comments throughout.
247 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
249 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
250 Adjust dg-error line numbers.
251 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
253 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
255 2011-04-30 Doug Kwan <dougkwan@google.com>
257 * include/Makefile.am (install-freestanding-headers): Also install
259 * include/Makefile.in: Regenerate.
261 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
264 * include/std/complex (complex<float>::complex(float, float),
265 complex<double>::complex(double, double),
266 complex<long double>::complex(long double, long double)): Use
267 list-initialization in C++0x mode, initialize in the body in
269 * testsuite/26_numerics/complex/cons/48760.cc: New.
270 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
272 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
274 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
275 tweak, remove redundant round braces.
277 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
279 * include/bits/move.h (move_if_noexcept): Add.
280 * testsuite/20_util/move_if_noexcept/requirements/
281 explicit_instantiation.cc: New.
282 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
284 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
286 * include/std/type_traits (struct underlying_type): Add.
287 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
288 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
290 * testsuite/20_util/underlying_type/requirements/
291 explicit_instantiation.cc: Likewise.
292 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
295 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
297 * include/parallel/multiway_merge.h: Uglify equally_split
298 and equally_split_point throughout.
299 * include/parallel/par_loop.h: Likewise.
300 * include/parallel/equally_split.h: Likewise.
301 * include/parallel/set_operations.h: Likewise.
302 * include/parallel/unique_copy.h: Likewise.
303 * include/parallel/multiway_mergesort.h: Likewise.
304 * include/parallel/search.h: Likewise.
305 * include/parallel/partial_sum.h: Likewise.
306 * include/parallel/find.h: Likewise.
308 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
310 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
311 documentation. Expand link text.
313 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
315 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
317 2011-04-22 François Dumont <francois.cppdevs@free.fr>
319 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
320 unused compilation result thanks to /dev/null.
321 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
322 check_v3_target_profile_mode, check_v3_target_normal_mode,
323 check_v3_target_cstdint, check_v3_target_cmath,
324 check_v3_target_atomic_builtins, check_v3_target_gthreads,
325 check_v3_target_nanosleep, check_v3_target_sched_yield,
326 check_v3_target_string_conversions, check_v3_target_swprintf,
327 check_v3_target_binary_io): Use simple preprocessing rather than
328 compilation. Discard unused preprocessing result thanks to /dev/null.
330 2011-04-20 Jim Meyering <meyering@redhat.com>
332 * libsupc++/del_opnt.cc (operator delete): Remove useless
335 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
338 * include/std/type_traits (result_of): Handle pointer to member.
339 * include/std/functional (__invoke): Likewise.
340 (_Function_to_function_pointer): Remove.
341 (_Reference_wrapper_base): Provide nested types independent of
342 unary_function and binary_function.
343 (reference_wrapper::operator()): DR 2017.
344 (ref(const A&&), cref(const A&&): Define as deleted.
345 * include/std/future (async): Simplify SFINAE and use result_of to
346 support pointer to member.
347 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
349 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
350 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
351 instead of derivation from unary_function and binary_function.
352 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
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-18 Paolo Carlini <paolo.carlini@oracle.com>
365 * include/std/type_traits (is_nothrow_default_constructible,
366 is_nothrow_copy_constructible, is_nothrow_move_constructible,
367 is_copy_constructible, is_move_constructible): Add.
368 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
370 (is_nothrow_constructible): Adjust.
372 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
373 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
374 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
375 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
377 * testsuite/20_util/has_nothrow_default_constructor: Remove.
378 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
380 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
381 * testsuite/20_util/is_nothrow_move_constructible/requirements/
382 typedefs.cc: Likewise.
383 * testsuite/20_util/is_nothrow_move_constructible/requirements/
384 explicit_instantiation.cc: Likewise.
385 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
386 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
387 typedefs.cc: Likewise.
388 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
389 explicit_instantiation.cc: Likewise.
390 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
392 * testsuite/20_util/is_nothrow_default_constructible/requirements/
393 typedefs.cc: Likewise.
394 * testsuite/20_util/is_nothrow_default_constructible/requirements/
395 explicit_instantiation.cc: Likewise.
396 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
397 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
399 * testsuite/20_util/is_move_constructible/requirements/
400 explicit_instantiation.cc: Likewise.
401 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
402 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
404 * testsuite/20_util/is_copy_constructible/requirements/
405 explicit_instantiation.cc: Likewise.
407 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
408 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
410 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
411 Adjust dg-error line numbers.
412 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
414 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
416 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
418 * testsuite/25_algorithms/partition/moveable.cc: Actually run
419 it in parallel-mode for check-parallel.
421 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
422 Paolo Carlini <paolo.carlini@oracle.com>
424 PR libstdc++/48635 (again)
425 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
426 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
427 unique_ptr<>::operator=(unique_ptr<>&&),
428 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
429 forward<_Dp>, to forward the deleter.
430 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
432 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
433 Paolo Carlini <paolo.carlini@oracle.com>
436 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
437 function call operator.
438 * testsuite/20_util/default_delete/48631_neg.cc: New.
439 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
442 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
443 Paolo Carlini <paolo.carlini@oracle.com>
446 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
447 unique_ptr<>::operator=(unique_ptr<>&&),
448 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
449 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
450 instead of moving it.
451 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
453 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
455 * scripts/extract_symvers.pl: Handle NOTY.
457 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
459 * include/std/istream: Fix comments in the light of DR60 + N3168.
461 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
462 Paolo Carlini <paolo.carlini@oracle.com>
465 * include/std/type_traits (struct is_constructible): Re-implement,
467 (struct is_default_constructible): Add.
468 (struct is_destructible): Likewise.
469 (struct __and_, __or_, __not_): Add and use throughout; reorder some
470 facilities, other minor tweaks.
471 * testsuite/util/testsuite_tr1.h: Add test types.
472 * testsuite/20_util/is_constructible/value-2.cc: New.
473 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
474 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
476 * testsuite/20_util/is_default_constructible/requirements/
477 explicit_instantiation.cc: Likewise.
478 * testsuite/20_util/is_destructible/value.cc: Likewise.
479 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
481 * testsuite/20_util/is_destructible/requirements/
482 explicit_instantiation.cc: Likewise.
483 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
484 dg-error line numbers.
485 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
487 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
488 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
490 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
492 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
494 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
495 * testsuite/20_util/is_function/requirements/
496 explicit_instantiation.cc: Likewise.
497 * testsuite/20_util/is_function/24808.cc: Likewise.
498 * testsuite/20_util/is_function/35637.cc: Likewise.
499 * testsuite/20_util/is_object/value.cc: Likewise.
500 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
501 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
503 * testsuite/20_util/is_object/24808.cc: Likewise.
504 * testsuite/20_util/is_compound/value.cc: Likewise.
505 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
506 * testsuite/20_util/is_compound/requirements/
507 explicit_instantiation.cc: Likewise.
508 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
509 * testsuite/20_util/is_member_object_pointer/requirements/
510 typedefs.cc: Likewise.
511 * testsuite/20_util/is_member_object_pointer/requirements/
512 explicit_instantiation.cc: Likewise.
513 * testsuite/20_util/is_fundamental/value.cc: Likewise.
514 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
515 * testsuite/20_util/is_fundamental/requirements/
516 explicit_instantiation.cc: Likewise.
517 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
518 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
520 * testsuite/20_util/is_member_pointer/requirements/
521 explicit_instantiation.cc: Likewise.
522 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
523 * testsuite/20_util/is_member_function_pointer/
524 requirements/typedefs.cc: Likewise.
525 * testsuite/20_util/is_member_function_pointer/requirements/
526 explicit_instantiation.cc: Likewise.
528 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
531 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
534 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
535 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
536 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
537 * testsuite/20_util/tuple/cons/48476.cc: New.
538 * testsuite/20_util/tuple/48476.cc: Likewise.
539 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
541 2011-04-12 Allan McRae <allan@archlinux.org>
544 * testsuite/tr1/6_containers/unordered_map/requirements/
545 iterator_null_neg.cc: Include <cstddef>.
546 * testsuite/tr1/6_containers/unordered_set/requirements/
547 iterator_null_neg.cc: Likewise.
548 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
550 * testsuite/util/testsuite_common_types.h: Include <limits>.
551 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
552 Adjust dg-error line numbers.
553 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
554 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
556 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
558 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
560 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
561 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
563 2011-04-11 Jason Merrill <jason@redhat.com>
565 * testsuite/20_util/is_convertible/value.cc: Adjust.
567 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
569 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
570 it in parallel-mode for check-parallel.
571 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
572 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
573 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
574 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
576 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
577 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
578 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
580 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
581 the tests based on std::lexicographical_compare for check-parallel.
582 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
584 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
587 * include/std/functional (_Base_manager::_M_get_pointer): Use
589 * testsuite/20_util/function/48541.cc: New.
591 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
594 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
595 * configure: Regenerate.
596 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
597 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
599 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
601 * include/ext/algorithm (is_sorted): In C++0x mode import from
603 * include/ext/numeric (iota): In C++0x mode import from
605 * testsuite/ext/is_sorted/cxx0x.cc: New.
606 * testsuite/ext/iota/cxx0x.cc: New.
608 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
611 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
612 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
613 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
614 unused parameter name.
616 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
618 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
619 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
620 redundant default argument from std::__throw_with_nested.
622 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
625 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
626 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
627 * src/Makefile.in: Regenerate.
628 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
629 * include/Makefile.in: Regenerate.
630 * doc/xml/manual/internals.xml: Update.
631 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
632 * config/os/newlib/ctype_configure_char.cc: ... this.
633 * config/os/aix/ctype_noninline.h: Likewise.
634 * config/os/aix/ctype_configure_char.cc: Likewise.
635 * config/os/vxworks/ctype_noninline.h: Likewise.
636 * config/os/vxworks/ctype_configure_char.cc
637 * config/os/hpux/ctype_noninline.h: Likewise.
638 * config/os/hpux/ctype_configure_char.cc: Likewise.
639 * config/os/gnu-linux/ctype_noninline.h: Likewise.
640 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
641 * config/os/mingw32/ctype_noninline.h: Likewise.
642 * config/os/mingw32/ctype_configure_char.cc: Likewise.
643 * config/os/tpf/ctype_noninline.h: Likewise.
644 * config/os/tpf/ctype_configure_char.cc: Likewise.
645 * config/os/uclibc/ctype_noninline.h: Likewise.
646 * config/os/uclibc/ctype_configure_char.cc: Likewise.
647 * config/os/bionic/ctype_noninline.h: Likewise.
648 * config/os/bionic/ctype_configure_char.cc: Likewise.
649 * config/os/djgpp/ctype_noninline.h: Likewise.
650 * config/os/djgpp/ctype_configure_char.cc: Likewise.
651 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
652 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
653 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
654 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
655 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
656 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
657 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
658 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
659 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
660 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
661 * config/os/generic/ctype_noninline.h: Likewise.
662 * config/os/generic/ctype_configure_char.cc: Likewise.
663 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
664 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
666 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
668 * include/std/future (future::share): Add.
669 (packaged_task::result_type): Remove as per LWG 2030.
670 (packaged_task::packaged_task): Remove redundant constructors, as per
672 * testsuite/30_threads/future/members/share.cc: New.
673 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
675 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
677 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
678 members which require a fully established result state.
679 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
681 2011-03-25 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&)): Tweak
687 construction of _M_gd.
688 * include/bits/random.tcc (negative_binomial_distribution<>::
691 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
693 * include/bits/random.h (negative_binomial_distribution<>::
694 negative_binomial_distribution(_IntType, double),
695 negative_binomial_distribution<>::
696 negative_binomial_distribution(const param_type&)): Fix
697 construction of _M_gd.
698 * include/bits/random.tcc (negative_binomial_distribution<>::
699 operator()): Fix computation, per Leger's algorithm.
700 * testsuite/util/testsuite_random.h (discrete_pdf,
701 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
702 (binomial_pdf): Swap last two parameters.
703 * testsuite/26_numerics/random/discrete_distribution/
704 operators/values.cc: New.
705 * testsuite/26_numerics/random/negative_binomial_distribution/
706 operators/values.cc: Likewise.
707 * testsuite/26_numerics/random/poisson_distribution/
708 operators/values.cc: Likewise.
709 * testsuite/26_numerics/random/uniform_int_distribution/
710 operators/values.cc: Likewise.
711 * testsuite/26_numerics/random/binomial_distribution/
712 operators/values.cc: Adjust.
714 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
716 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
717 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
718 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
719 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
720 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
722 2011-03-23 Matthias Klose <doko@ubuntu.com>
724 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
726 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
728 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
730 2011-03-22 Joseph Myers <joseph@codesourcery.com>
732 * configure.ac: Don't handle powerpc*-*-gnu*.
733 * configure: Regenerate.
735 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
737 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
739 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
742 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
744 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
746 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
747 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
748 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
749 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
750 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
751 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
752 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
754 2011-03-22 Jakub Jelinek <jakub@redhat.com>
756 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
757 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
758 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
759 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
760 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
761 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
762 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
763 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
764 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
765 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
767 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
768 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
769 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
770 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
771 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
772 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
773 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
774 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
777 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
779 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
780 create compact unwind for" warnings.
782 2011-03-21 Jakub Jelinek <jakub@redhat.com>
784 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
785 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
786 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
788 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
789 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
790 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
791 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
792 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
793 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
794 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
795 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
796 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
798 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
799 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
800 CXXABI_LDBL_1.3 versions.
802 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
804 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
806 2011-03-21 Jakub Jelinek <jakub@redhat.com>
808 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
809 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
811 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
813 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
814 sparc*-sun-solaris2.10 && lp64.
816 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
818 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
819 to check_v3_target_cmath.
820 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
822 * testsuite/26_numerics/random/binomial_distribution/
823 operators/values.cc: Adjust.
825 2011-03-18 Diego Novillo <dnovillo@google.com>
827 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
829 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
830 mixed-mode-arith_neg.cc
832 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
834 * testsuite/util/testsuite_random.h: New.
835 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
836 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
837 * testsuite/26_numerics/random/bernoulli_distribution/
838 operators/values.cc: New.
839 * testsuite/26_numerics/random/binomial_distribution/
840 operators/values.cc: Likewise.
841 * testsuite/26_numerics/random/geometric_distribution/
842 operators/values.cc: Likewise.
844 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
846 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
847 * testsuite/19_diagnostics/stdexcept.cc: New.
849 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
851 * include/std/thread: Revert.
852 * src/thread.cc: Same.
853 * config/abi/pre/gnu.ver: Same.
855 2011-03-15 Doug Kwan <dougkwan@google.com>
858 * include/Makefile.am (install-freestanding-headers): Install
860 * include/Makefile.in: Regenerate.
862 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
864 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
865 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
867 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
870 * src/future.cc: Guard definitions.
871 * libsupc++/nested_exception.cc: Same.
873 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
875 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
876 * src/Makefile.in: Regenerate.
877 * libsupc++/Makefile.am: Add nested_exception.cc.
878 * libsupc++/Makefile.in: Regenerate.
879 * src/system_error.cc: Add ctor and dtor definitions for error_category.
880 * src/functional.cc: New. Add dtor definition for bad_function_call.
881 * src/stdexcept.cc: Add dtor definitions for domain_error,
882 invalid_argument, length_error, out_of_range, range_error,
883 overflow_error, underflow_error.
884 * src/future.cc: Add dtor definition for __future_base::_Result_base.
885 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
886 * src/thread.cc: Add dtor for thread::_Impl_base.
887 * include/std/system_error: Adjust.
888 * include/std/stdexcept: Same.
889 * include/std/future: Same.
890 * include/std/functional: Same.
891 * include/std/thread: Same.
892 * include/bits/shared_ptr_base.h: Same.
893 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
894 * libsupc++/nested_exception.h: Adjust.
895 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
896 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
897 * config/abi/pre/gnu.ver: Add new exports.
899 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
901 * include/bits/regex_compiler.h: Nest namespace versioning.
902 * include/bits/regex_grep_matcher.tcc: Same.
903 * include/bits/regex_grep_matcher.h: Same.
904 * include/bits/regex_cursor.h: Same.
905 * include/bits/regex_nfa.h: Same.
906 * include/bits/regex_nfa.tcc: Same.
908 * include/bits/regex_grep_matcher.h: Version forward declarations.
909 * include/bits/c++config: Add namespace association for __regex.
910 * include/bits/regex.h: Make sub_match consistent.
912 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
914 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
916 * doc/html/manual/abi.html: Regenerate.
918 2011-03-14 Tom Tromey <tromey@redhat.com>
920 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
921 Try to import `gdb.printing' module.
922 (UniquePointerPrinter.__init__): Add 'typename' argument.
923 (StdSlistPrinter.__init__): Likewise.
924 (StdSlistIteratorPrinter.__init__): Likewise.
925 (StdVectorIteratorPrinter.__init__): Likewise.
926 (StdRbtreeIteratorPrinter.__init__): Likewise.
927 (StdDebugIteratorPrinter.__init__): Likewise.
928 (StdDequeIteratorPrinter.__init__): Likewise.
929 (StdStringPrinter.__init__): Likewise.
930 (RxPrinter, Printer): New class.
931 (libstdcxx_printer): New global.
932 (register_libstdcxx_printers): Rewrite.
933 (build_libstdcxx_dictionary): Rewrite.
934 (pretty_printers_dict): Remove.
936 2011-03-14 Andrey Zholos <aaz@althenia.net>
939 * include/bits/random.h (geometric_distribution): Correct formula
940 in comment, per C++0x.
941 (geometric_distribution<>::param_type::param_type(double)): Fix check.
942 (geometric_distribution<>::param_type::_M_initialize):
944 * include/bits/random.tcc (geometric_distribution<>::operator()):
946 (binomial_distribution<>::operator()): Likewise.
948 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
950 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
952 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
953 Chris Jefferson <chris@bubblescope.net>
954 Paolo Carlini <paolo.carlini@oracle.com>
956 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
958 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
960 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
962 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
964 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
966 2011-03-09 Chris Jefferson <chris@bubblescope.net>
969 * include/bits/stl_algo.h (__merge_backward): Rename to
970 __move_merge_backward and change to always move rather than copy.
971 (__move_merge): New function similar to std::merge except values
972 are moved instead of copied.
973 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
974 and __merge_backward to __move_merge and __move_merge_backward.
976 2011-03-07 Jason Merrill <jason@redhat.com>
978 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
981 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
982 Matthias Klose <doko@ubuntu.com>
983 Jonathan Wakely <redi@gcc.gnu.org>
986 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
987 * configure.ac: Use it.
988 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
989 * configure: Regenerate.
990 * doc/Makefile.in: Regenerate.
992 2011-03-04 Benjamin Kosnik <bkoz@chula>
994 * src/Makefile.am (inst_sources): Make source instantion files
996 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
997 * src/Makefile.in: Regenerate.
998 * src/valarray-inst.cc: Move to..
999 * src/valarray.cc: ...this.
1000 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1001 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1002 * configure: Regenerate.
1003 * include/Makefile.am (stamp-extern-template): Add.
1004 * include/Makefile.in: Regenerate.
1006 * doc/xml/manual/configure.xml: Document --enable-extern-template.
1008 * include/bits/locale_classes.tcc: Adjust comment.
1009 * include/bits/locale_facets.tcc: Same.
1010 * include/bits/basic_ios.tcc: Same.
1011 * include/bits/istream.tcc: Same.
1012 * include/bits/codecvt.h: Same.
1013 * include/bits/ostream.tcc: Same.
1014 * include/bits/sstream.tcc: Same.
1015 * include/bits/c++config: Same.
1016 * include/bits/basic_string.tcc: Same.
1017 * include/bits/ostream_insert.h: Same.
1018 * include/bits/locale_facets_nonio.tcc: Same.
1019 * include/bits/streambuf.tcc: Same.
1020 * include/bits/allocator.h: Same.
1021 * include/bits/fstream.tcc: Same.
1023 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1025 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1027 * testsuite/Makefile.am: Make clean fixups.
1028 * testsuite/Makefile.in: Regenerate.
1030 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1032 * include/std/ratio (ratio_less): Add comments.
1034 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1037 * include/std/ratio (ratio_add): Avoid denominator overflow.
1038 * testsuite/20_util/ratio/operations/47913.cc: New.
1040 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1042 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1043 * testsuite/20_util/hash/quality.cc: Same.
1045 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1048 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1050 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1051 xputn): Use the latter.
1052 * include/bits/streambuf_iterator.h: Likewise.
1053 * src/strstream.cc: Likewise.
1054 * src/streambuf.cc: Likewise.
1055 * src/compatibility.cc: Likewise.
1056 * src/istream.cc: Likewise.
1057 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1059 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1060 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1061 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1062 * config/abi/pre/gnu.ver: Tweak.
1064 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1066 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1068 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1071 * include/std/ratio (ratio_less): Reimplement to never overflow.
1072 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1074 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1076 * testsuite/18_support/type_info/fundamental.cc: New.
1078 * testsuite/Makefile.am: Make clean fixups.
1079 * testsuite/Makefile.in: Regenerate.
1081 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1083 * include/debug/string (basic_string::insert): Add iterator check and
1084 pass normal iterator to normal insert.
1085 * include/debug/macros.h (__glibcxx_check_heap,
1086 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1089 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1092 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1093 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1095 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1097 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1098 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1099 (basic_regex::operator=(basic_regex&&)): Likewise.
1100 (basic_regex::assign(basic_regex&&)): Likewise.
1101 (operator==(sub_match,...)): Implement DR 1181.
1102 (match_results::match_results(match_results&&)): Define.
1103 (match_results::operator=(const match_results&)): Fix parameter type.
1104 (match_results::operator=(match_results&&)): Define.
1106 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1109 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1110 line anchors as metacharacters.
1111 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1113 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1116 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1117 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1118 hash<__gnu_cxx::__u32vstring>): Add.
1119 * testsuite/ext/vstring/hash/char/1.cc: New.
1120 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1122 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1124 * include/bits/regex.h (match_results::format): Use char_traits.
1126 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1128 * include/std/atomic: Remove atomic_address, uplift to N3225.
1129 * include/bits/atomic_0.h: Same.
1130 * include/bits/atomic_2.h: Same.
1131 * include/bits/atomic_base.h: Same.
1132 * testsuite/29_atomics/atomic_address/*: Delete.
1134 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1136 * include/bits/regex.h (sub_match::sub_match): Add.
1137 (match_results::ready): Add.
1138 (match_results::empty): Adjust.
1139 (match_results::length): Add missing dereference.
1140 (match_results::operator[],prefix,suffix): Add debug mode checks.
1141 (match_results::cend): Re-use end().
1142 (match_results::format): Adjust signatures.
1143 (operator==(match_results,match_results)): Implement.
1144 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1145 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1146 * include/bits/regex_grep_matcher.h: Fix comment typo.
1147 (_SpecializedResults::_SpecializedResults): Simplify.
1148 * include/bits/regex_cursor.h: Fix comment typo.
1149 * include/bits/regex_nfa.h: Likewise.
1150 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1151 Fix error code, remove xfail.
1152 * testsuite/28_regex/basic_regex/ctors/extended/
1153 string_range_01_02_03.cc: Likewise.
1155 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1157 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1158 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1160 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1162 * configure: Regenerate.
1164 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1167 * include/ext/algorithm (is_heap): In C++0x mode import from
1169 * testsuite/ext/is_heap/47709.cc: New.
1171 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1172 Jonathan Wakely <jwakely.gcc@gmail.com>
1175 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1176 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1178 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1180 * include/tr1/cmath (fabs): Define.
1181 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1184 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1186 * testsuite/tr1/headers/c++200x/complex.cc: New.
1188 2011-02-11 Johannes Singler <singler@kit.edu>
1191 * include/parallel/losertree.h
1192 (_LoserTreeUnguarded<>::__delete_min_insert):
1193 Add missing "using std::swap;", as for other variants.
1195 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1197 * src/Makefile.am (sources): Add regex.cc.
1198 * src/Makefile.in: Regenerate.
1199 * src/regex.cc: New.
1200 * include/bits/regex_error.h (error_type): Use constexpr.
1201 (regex_error): Move ctor and dtor out of line.
1203 * testsuite/28_regex/03_requirements: To...
1204 * testsuite/28_regex/requirements: ... this.
1205 * testsuite/28_regex/04_header: To...
1206 * testsuite/28_regex/headers: ... this.
1207 * testsuite/28_regex/05_constants: To...
1208 * testsuite/28_regex/constants: ... this.
1209 * testsuite/28_regex/06_exception_type: To...
1210 * testsuite/28_regex/regex_error: ... this.
1211 * testsuite/28_regex/07_traits: To...
1212 * testsuite/28_regex/traits: ... this.
1213 * testsuite/28_regex/08_basic_regex: To...
1214 * testsuite/28_regex/basic_regex: ... this.
1215 * testsuite/28_regex/09_sub_match: To...
1216 * testsuite/28_regex/sub_match: ... this.
1217 * testsuite/28_regex/10_match_results: To...
1218 * testsuite/28_regex/match_results: ... this.
1219 * testsuite/28_regex/11_algorithms: To...
1220 * testsuite/28_regex/algorithms: ... this.
1221 * testsuite/28_regex/12_iterators: To...
1222 * testsuite/28_regex/iterators: ... this.
1224 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1227 * include/bits/c++config: Do not use alternative token.
1228 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1230 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1232 * src/future.cc (future_error_category::message): Handle no_state.
1234 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1236 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1237 not test in C++0x mode.
1238 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1239 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1242 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1244 * doc/xml/manual/status_cxx200x.xml: Update.
1245 * doc/html/*: Regenerate.
1247 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1249 * doc/xml/manual/debug.xml: Improve data race docs.
1251 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1254 * include/debug/map.h (map): Remove unnecessary using-declaration.
1255 * include/debug/multimap.h (multimap): Likewise.
1256 * include/profile/map.h (map): Likewise.
1257 * include/profile/multimap.h (multimap): Likewise.
1259 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1262 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1264 * libsupc++/guard_error.cc: ... new file.
1265 * libsupc++/Makefile.am: Update.
1266 * libsupc++/Makefile.in: Regenerate.
1268 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1270 * include/std/future (packaged_task::operator bool): Rename to...
1271 (packaged_task::valid): ...this.
1272 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1273 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1274 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1275 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1276 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1277 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1278 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1279 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1280 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1281 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1282 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1284 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1286 * doc/xml/manual/io.xml: Fix typo.
1287 * doc/html/manual/streambufs.html: Likewise.
1289 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1291 * config/abi/pre/gnu.ver: Fix.
1293 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
1295 * doc/xml/manual/appendix_porting.xml: Add doc section.
1296 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1297 * doc/xml/manual/documentation_hacking.xml: ...here.
1299 * doc/xml/manual/debug_mode.xml: Adjust.
1300 * doc/xml/manual/prerequisites.xml: Adjust.
1301 * doc/Makefile.am (xml_sources): Add dot files,
1302 documentation_hacking.xml.
1303 * doc/Makefile.in: Regenerate.
1305 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1306 * doc/xml/images/confdeps.pdf: Add.
1308 * doc/html/*: Regenerate.
1310 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1312 * doc/xml/gnu/fdl-1.2.xml: Remove.
1313 * doc/xml/gnu/gpl-2.0.xml: Remove.
1314 * doc/Makefile.am: Update.
1315 * doc/Makefile.in: Regenerate.
1317 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1320 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1321 iterator)): Add back in C++03 mode.
1322 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1323 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1325 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
1327 PR libstdc++/47560 try two
1328 * config/os/hpux/os_defines.h: Guard for C++.
1330 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1332 * doc/xml/faq.xml: Adjust link to bug database.
1333 Remove old item on broken header files.
1335 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1337 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1338 * src/functexcept.cc: Add definition.
1339 * config/abi/pre/gnu.ver: Export.
1341 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1343 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1344 * configure: Regenerate.
1346 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1349 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1350 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1351 avoid name conflicts.
1353 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1356 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1358 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1360 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1361 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1362 (COMPACT_LATEX): Enable.
1364 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1365 * include/profile/impl/profiler_hash_func.h: Same.
1366 * include/bits/hashtable.h: Same.
1367 * include/backward/auto_ptr.h: Same.
1368 * include/backward/strstream: Same.
1369 * include/backward/backward_warning.h: Same.
1370 * include/backward/binders.h: Same.
1372 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1374 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1375 Adjust link to GDB manual.
1377 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1379 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1380 _GLIBCXX_USE_DEPRECATED.
1381 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1382 * doc/xml/manual/using.xml: Same.
1383 * include/std/memory: Same.
1384 * include/std/streambuf: Same.
1385 * include/bits/shared_ptr.h: Same.
1386 * include/bits/unique_ptr.h: Same.
1387 * include/bits/shared_ptr_base.h: Same.
1388 * include/bits/stl_function.h: Same.
1389 * include/tr1/shared_ptr.h: Same.
1390 * include/backward/auto_ptr.h: Same.
1391 * include/backward/binders.h: Same.
1393 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1395 * doc/html/ext/lwg-active.html: Update to Revision D73.
1396 * doc/html/ext/lwg-closed.html: Likewise.
1397 * doc/html/ext/lwg-defects.html: Likewise.
1398 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1400 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1402 PR libstdc++/36104 part four
1403 * include/bits/c++config (_GLIBCXX_STD): Remove.
1404 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1405 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1406 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1407 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1408 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1409 _GLIBCXX_INLINE_PROFILE): Remove.
1410 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1411 (_GLIBCXX_END_NAMESPACE): Remove.
1412 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1413 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1414 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1415 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1416 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1417 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1418 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1419 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1420 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1421 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1422 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1423 * include/*: Use new macros for namespace scope.
1427 * src/Makefile.am (sources): Remove debug_list.cc, add
1428 compatibility-debug_list-2.cc.
1429 (parallel_sources): Remove parallel_list.cc, add
1430 compatibility-parallel_list-2.cc.
1431 (compatibility-parallel_list-2.[o,lo]): New rule.
1432 * src/Makefile.in: Regenerate.
1433 * src/debug_list.cc: Remove.
1434 * src/parallel_list.cc: Remove.
1435 * src/compatibility-list-2.cc: New.
1436 * src/compatibility-debug_list-2.cc: New.
1437 * src/compatibility-parallel_list-2.cc: New.
1439 * doc/doxygen/user.cfg.in: Adjust macros.
1441 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1442 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1443 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1444 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1445 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1446 * testsuite/20_util/forward/c_neg.cc: Same.
1447 * testsuite/20_util/forward/f_neg.cc: Same.
1448 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1449 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1450 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1451 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1452 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1453 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1454 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1455 * testsuite/23_containers/deque/requirements/dr438/
1456 constructor_1_neg.cc: Same.
1457 * testsuite/23_containers/deque/requirements/dr438/
1458 constructor_2_neg.cc: Same.
1459 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1460 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1461 * testsuite/23_containers/forward_list/requirements/dr438/
1462 assign_neg.cc: Same.
1463 * testsuite/23_containers/forward_list/requirements/dr438/
1464 constructor_1_neg.cc: Same.
1465 * testsuite/23_containers/forward_list/requirements/dr438/
1466 constructor_2_neg.cc: Same.
1467 * testsuite/23_containers/forward_list/requirements/dr438/
1468 insert_neg.cc: Same.
1469 * testsuite/23_containers/list/capacity/29134.cc: Same.
1470 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1471 * testsuite/23_containers/list/requirements/dr438/
1472 constructor_1_neg.cc: Same.
1473 * testsuite/23_containers/list/requirements/dr438/
1474 constructor_2_neg.cc: Same.
1475 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1476 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1477 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1478 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1479 * testsuite/23_containers/vector/requirements/dr438/
1480 constructor_1_neg.cc: Same.
1481 * testsuite/23_containers/vector/requirements/dr438/
1482 constructor_2_neg.cc: Same.
1483 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1484 * testsuite/25_algorithms/sort/35588.cc: Same.
1485 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1486 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1487 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1488 * testsuite/ext/profile/profiler_algos.cc: Same.
1489 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1490 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1491 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1492 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1493 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1495 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1497 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1498 Improve description of one such reference.
1500 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1502 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1503 Standards Revision Group.
1504 * doc/xml/manual/locale.xml: Ditto.
1505 * doc/xml/manual/messages.xml: Ditto.
1506 * doc/xml/manual/using_exceptions.xml: Ditto.
1508 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1510 * include/bits/atomic_base.h: Do not include <stddef.h>.
1511 (kill_dependency): Uglify ret.
1513 2011-01-26 Johannes Singler <singler@kit.edu>
1515 * include/parallel/numeric (inner_product, partial_sum):
1516 Qualify subsequent call with __gnu_parallel instead of
1517 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1518 * include/parallel/algobase.h (equal): Likewise.
1519 * include/parallel/algo.h (find_first_of, search_n, merge,
1520 nth_element, partial_sort, max_element, min_element): Likewise.
1521 * testsuite/25_algorithms/headers/algorithm/
1522 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1523 * testsuite/25_algorithms/headers/algorithm/
1524 parallel_algorithm_mixed2.cc (main): Likewise.
1525 * testsuite/26_numerics/headers/numeric/
1526 parallel_numeric_mixed1.cc (main): Likewise.
1527 * testsuite/26_numerics/headers/numeric/
1528 parallel_numeric_mixed2.cc (main): Likewise.
1530 2011-01-24 Graham Reed <greed@pobox.com>
1533 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1536 2011-01-24 Johannes Singler <singler@kit.edu>
1539 * include/parallel/losertree.h
1540 (_LoserTree<>::__delete_min_insert):
1541 Do not qualify swap with std:: for value type,
1542 but include a using directive instead.
1543 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1544 * include/parallel/balanced_quicksort.h (__qsb_divide):
1545 Use std::iter_swap instead of std::swap.
1546 (__qsb_local_sort_with_helping): Likewise.
1547 * include/parallel/partition.h (__parallel_partition):
1548 Likewise. (__parallel_nth_element): Likewise.
1550 2011-01-24 Johannes Singler <singler@kit.edu>
1553 * include/parallel/multiway_merge.h (_UnguardedIterator):
1554 Remove useless "mutable" from reference declaration.
1556 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1558 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1559 * include/debug/safe_sequence.h: Same.
1560 * include/debug/safe_iterator.h: Same.
1561 * include/std/forward_list: Same.
1562 * include/std/deque: Same.
1563 * include/std/list: Same.
1564 * include/std/random: Same.
1565 * include/std/streambuf: Same.
1566 * include/std/fstream: Same.
1567 * include/std/istream: Same.
1568 * include/std/string: Same.
1569 * include/std/ostream: Same.
1570 * include/std/sstream: Same.
1571 * include/ext/vstring.h: Same.
1572 * include/bits/basic_ios.h: Same.
1573 * include/bits/locale_classes.h: Same.
1574 * include/bits/locale_facets.h: Same.
1575 * include/bits/valarray_array.h: Same.
1576 * include/bits/locale_facets_nonio.h: Same.
1577 * include/tr1/random: Same.
1579 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1581 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1583 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1585 PR libstdc++/36104 part three
1586 * src/hashtable_c++0x.cc: Adjust namespace macros.
1587 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1588 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1590 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1592 * include/ext/pb_ds/detail/resize_policy/
1593 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1594 * include/ext/pb_ds/detail/pat_trie_/
1595 constructors_destructor_fn_imps.hpp: Same.
1596 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1597 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1598 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1600 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1601 iterations downward when testing in debug mode.
1602 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1603 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1604 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1605 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1606 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1607 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1608 reduce in debug mode.
1610 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1612 PR libstdc++/36104 part two
1613 * include/bits/hashtable.h: Revert to non-nested macro usage.
1614 * include/bits/hashtable_policy.h: Same.
1616 2011-01-19 Graham Reed <greed@pobox.com>
1619 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1621 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1623 * doc/xml/images/confdeps.png: Regenerate.
1625 * include/std/chrono (duration): Mark copy constructor constexpr.
1626 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1628 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1630 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1631 Declare defaulted per DR 1517.
1632 * testsuite/util/testsuite_common_types.h
1633 (constexpr_defaulted_default_constructible): Add.
1634 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1636 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1638 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1640 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1642 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1645 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1646 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1648 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1651 * testsuite/18_support/numeric_limits/lowest.cc:
1652 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1654 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1657 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1658 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1660 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1662 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1663 to this. Use _neg suffix.
1664 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1666 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1668 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1669 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1671 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1672 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1674 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1675 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1677 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1678 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1680 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1681 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1683 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1684 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1686 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1687 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1689 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1690 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1692 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1693 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1695 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1696 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1698 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1699 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1701 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1702 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1704 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1705 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1707 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1708 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1710 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1712 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1715 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1716 * include/Makefile.in: Regenerate.
1717 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1718 (install-stdHEADERS, install-bitsHEADERS): New.
1719 * libsupc++/Makefile.in: Regenerate.
1721 * include/bits/c++config: Update for inline namespaces.
1722 * libsupc++/cxxabi-forced.h: To...
1723 * libsupc++/cxxabi_forced.h: ...this.
1724 * libsupc++/hash_bytes.h: Separate file.
1725 * libsupc++/typeinfo: Use it.
1726 * libsupc++/exception: Adjust for bits subdirectory.
1727 * libsupc++/eh_aux_runtime.cc: Same.
1728 * libsupc++/eh_ptr.cc: Same.
1729 * libsupc++/new_op.cc: Same.
1730 * libsupc++/exception_defines.h: Same.
1731 * libsupc++/nested_exception.h: Same.
1732 * libsupc++/eh_terminate.cc: Same.
1733 * libsupc++/vec.cc: Same.
1734 * libsupc++/vterminate.cc: Same.
1735 * libsupc++/exception_ptr.h: Same.
1736 * libsupc++/eh_personality.cc: Same.
1737 * libsupc++/eh_call.cc: Same.
1738 * libsupc++/new_opnt.cc: Same.
1739 * libsupc++/hash_bytes.cc: Same.
1740 * config/cpu/arm/cxxabi_tweaks.h: Same.
1741 * config/cpu/generic/cxxabi_tweaks.h: Same.
1742 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1743 * include/std/bitset: Same.
1744 * include/ext/vstring.tcc: Same.
1745 * include/bits/hashtable.h: Same.
1746 * include/bits/functional_hash.h: Same.
1747 * include/bits/hashtable_policy.h: Same.
1748 * include/bits/basic_string.h: Same.
1749 * include/bits/istream.tcc: Same.
1750 * include/bits/ostream.tcc: Same.
1751 * include/bits/algorithmfwd.h: Same.
1752 * include/bits/basic_string.tcc: Same.
1753 * include/bits/ostream_insert.h: Same.
1754 * include/bits/fstream.tcc: Same.
1755 * include/bits/functexcept.h: Same.
1757 * doc/doxygen/user.cfg.in: Adjust names.
1759 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1761 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1763 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1765 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1767 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1769 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1770 * testsuite/25_algorithms/is_permutation/requirements/
1771 explicit_instantiation/2.cc: Likewise.
1772 * testsuite/25_algorithms/is_permutation/requirements/
1773 explicit_instantiation/pod.cc: Likewise.
1774 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1776 2011-01-13 John Lakos <jlakos@bloomberg.net>
1777 Pablo Halpern <phalpern@halpernwightsoftware.com>
1778 Paolo Carlini <paolo.carlini@oracle.com>
1780 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1781 * include/bits/algorithmfwd.h: Add.
1783 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1786 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1788 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1790 * aclocal.m4: Regenerate.
1792 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1795 * src/placeholders.cc: New.
1796 * src/Makefile.am: Adjust.
1797 * src/Makefile.in: Regenerate.
1798 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1800 * config/abi/pre/gnu.ver: Export.
1802 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1804 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1805 * include/src/debug.cc: Use latter
1806 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1807 correctly handle before_begin iterators.
1808 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1809 useless _GLIBCXX_DEBUG checks.
1811 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1814 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1815 * configure: Regenerated.
1817 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1820 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1823 Copyright (C) 2011 Free Software Foundation, Inc.
1825 Copying and distribution of this file, with or without modification,
1826 are permitted in any medium without royalty provided the copyright
1827 notice and this notice are preserved.