1 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/std/utility (get(std::pair<>&&)): Add.
4 * include/bits/stl_pair.h (pair::swap(pair&),
5 swap(pair<>&, pair<>&)): Use noexcept.
6 * include/bits/random.h (discard_block_engine<>::base,
7 independent_bits_engine<>::base, shuffle_order_engine<>::base,
8 random_device::entropy): Use noexcept.
9 * include/std/array: Use noexcept where appropriate.
10 (get(array<>&&)): Add.
11 * testsuite/23_containers/array/requirements/get.cc: New.
12 * testsuite/20_util/pair/get.cc: Likewise.
13 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
16 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
18 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
20 * include/std/limits: Use the latter everywhere.
21 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
22 macro usages, the specializations exist only in C++0x mode.
23 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
26 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
28 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
30 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
32 2011-05-11 François Dumont <francois.cppdevs@free.fr>
34 * include/ext/pb_ds/detail/resize_policy/
35 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
36 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
37 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
38 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
39 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
40 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
41 * include/ext/pb_ds/detail/debug_map_base.hpp,
42 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
43 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
44 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
45 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
46 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
47 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
48 macro definitions move...
49 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
50 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
51 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
52 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
53 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
54 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
55 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
56 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
57 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
60 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
63 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
64 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
65 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
66 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
67 scalbn, tgamma, trunc): Use __enable_if on the return type.
68 * include/tr1/cmath: Likewise.
69 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
70 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
72 2011-05-07 François Dumont <francois.cppdevs@free.fr>
74 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
75 (_GLICXX_DEBUG_VERIFY): Use latter.
76 * include/ext/pb_ds/detail/resize_policy/
77 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
78 containing the original assert call.
79 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
80 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
81 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
82 split_join_fn_imps.hpp: Likewise.
83 * include/ext/pb_ds/detail/cc_hash_table_map_/
84 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
85 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
86 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
87 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
88 erase_no_store_hash_fn_imps.hpp: Likewise.
89 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
90 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
91 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
92 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
94 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
95 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
96 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
97 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
99 * include/ext/pb_ds/detail/gp_hash_table_map_/
100 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
101 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
102 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
103 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
104 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
106 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
107 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
108 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
109 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
110 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
111 find_fn_imps.hpp, insert_fn_imps.hpp,
112 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
113 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
114 * include/ext/pb_ds/detail/binomial_heap_/
115 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
116 binomial_heap_.hpp: Likewise.
117 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
118 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
119 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
120 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
121 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
122 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
123 split_join_fn_imps.hpp: Likewise.
124 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
125 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
126 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
127 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
128 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
129 find_fn_imps.hpp, insert_fn_imps.hpp,
130 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
131 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
132 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
133 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
134 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
135 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
136 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
137 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
138 split_join_fn_imps.hpp: Likewise.
139 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
140 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
141 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
142 * include/ext/pb_ds/hash_policy.hpp: Likewise.
144 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
146 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
148 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
150 PR libstdc++/47913 (again)
151 * include/std/ratio (ratio_add, ratio_less): Rewrite.
152 * testsuite/20_util/ratio/operations/47913.cc: Extend.
153 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
155 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
157 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
160 * include/std/valarray (valarray<>::valarray(valarray&&),
161 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
162 * doc/xml/manual/status_cxx200x.xml: Update.
163 * testsuite/26_numerics/valarray/moveable.cc: New.
164 * testsuite/26_numerics/valarray/swap.cc: Likewise.
166 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
169 * include/parallel/multiway_merge.h: Run _ValueType destructors.
170 * include/parallel/multiway_mergesort.h: Likewise.
171 * include/parallel/quicksort.h: Likewise.
172 * include/parallel/random_shuffle.h: Likewise.
173 * include/parallel/partial_sum.h: Likewise.
174 * include/parallel/losertree.h: Run destructors; minor tweaks.
175 * include/parallel/par_loop.h: Run destructors, fix memory
176 allocations and deallocations.
177 * testsuite/26_numerics/accumulate/48750.cc: New.
179 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
180 parallel-mode to avoid spurious multiple errors.
182 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
184 * include/std/functional (bind): Remove from overload set when first
185 argument type might be a socket file descriptor.
186 * testsuite/20_util/bind/socket.cc: New.
188 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
191 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
192 * doc/html/*: Regenerate.
194 2011-05-02 Ollie Wild <aaw@google.com>
196 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
197 Fix unqualified lookup.
198 (__sso_string_base<>::_M_assign): Likewise.
199 (__sso_string_base<>::_M_reserve): Likewise.
200 (__sso_string_base<>::_M_mutate): Likewise.
201 (__sso_string_base<>::_M_erase): Likewise.
202 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
203 (__versa_string<>::compare): Likewise.
204 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
206 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
208 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
210 * doc/xml/manual/documentation_hacking.xml: Fix typo.
211 * doc/html/*: Regenerate.
213 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
215 * include/std/type_traits (__is_default_constructible_atom,
216 __is_default_constructible_safe<, true>,
217 __is_direct_constructible_new_safe,
218 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
219 __is_direct_constructible_ref_cast, __is_direct_constructible,
220 __is_nary_constructible): Simplify; add comments throughout.
222 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
224 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
225 Adjust dg-error line numbers.
226 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
228 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
230 2011-04-30 Doug Kwan <dougkwan@google.com>
232 * include/Makefile.am (install-freestanding-headers): Also install
234 * include/Makefile.in: Regenerate.
236 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
239 * include/std/complex (complex<float>::complex(float, float),
240 complex<double>::complex(double, double),
241 complex<long double>::complex(long double, long double)): Use
242 list-initialization in C++0x mode, initialize in the body in
244 * testsuite/26_numerics/complex/cons/48760.cc: New.
245 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
247 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
249 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
250 tweak, remove redundant round braces.
252 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
254 * include/bits/move.h (move_if_noexcept): Add.
255 * testsuite/20_util/move_if_noexcept/requirements/
256 explicit_instantiation.cc: New.
257 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
259 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
261 * include/std/type_traits (struct underlying_type): Add.
262 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
263 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
265 * testsuite/20_util/underlying_type/requirements/
266 explicit_instantiation.cc: Likewise.
267 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
270 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
272 * include/parallel/multiway_merge.h: Uglify equally_split
273 and equally_split_point throughout.
274 * include/parallel/par_loop.h: Likewise.
275 * include/parallel/equally_split.h: Likewise.
276 * include/parallel/set_operations.h: Likewise.
277 * include/parallel/unique_copy.h: Likewise.
278 * include/parallel/multiway_mergesort.h: Likewise.
279 * include/parallel/search.h: Likewise.
280 * include/parallel/partial_sum.h: Likewise.
281 * include/parallel/find.h: Likewise.
283 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
285 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
286 documentation. Expand link text.
288 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
290 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
292 2011-04-22 François Dumont <francois.cppdevs@free.fr>
294 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
295 unused compilation result thanks to /dev/null.
296 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
297 check_v3_target_profile_mode, check_v3_target_normal_mode,
298 check_v3_target_cstdint, check_v3_target_cmath,
299 check_v3_target_atomic_builtins, check_v3_target_gthreads,
300 check_v3_target_nanosleep, check_v3_target_sched_yield,
301 check_v3_target_string_conversions, check_v3_target_swprintf,
302 check_v3_target_binary_io): Use simple preprocessing rather than
303 compilation. Discard unused preprocessing result thanks to /dev/null.
305 2011-04-20 Jim Meyering <meyering@redhat.com>
307 * libsupc++/del_opnt.cc (operator delete): Remove useless
310 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
313 * include/std/type_traits (result_of): Handle pointer to member.
314 * include/std/functional (__invoke): Likewise.
315 (_Function_to_function_pointer): Remove.
316 (_Reference_wrapper_base): Provide nested types independent of
317 unary_function and binary_function.
318 (reference_wrapper::operator()): DR 2017.
319 (ref(const A&&), cref(const A&&): Define as deleted.
320 * include/std/future (async): Simplify SFINAE and use result_of to
321 support pointer to member.
322 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
324 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
325 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
326 instead of derivation from unary_function and binary_function.
327 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
328 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
329 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
330 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
332 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
335 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
336 this part if SAMPLES < 100000.
338 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
340 * include/std/type_traits (is_nothrow_default_constructible,
341 is_nothrow_copy_constructible, is_nothrow_move_constructible,
342 is_copy_constructible, is_move_constructible): Add.
343 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
345 (is_nothrow_constructible): Adjust.
347 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
348 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
349 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
350 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
352 * testsuite/20_util/has_nothrow_default_constructor: Remove.
353 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
355 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
356 * testsuite/20_util/is_nothrow_move_constructible/requirements/
357 typedefs.cc: Likewise.
358 * testsuite/20_util/is_nothrow_move_constructible/requirements/
359 explicit_instantiation.cc: Likewise.
360 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
361 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
362 typedefs.cc: Likewise.
363 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
364 explicit_instantiation.cc: Likewise.
365 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
367 * testsuite/20_util/is_nothrow_default_constructible/requirements/
368 typedefs.cc: Likewise.
369 * testsuite/20_util/is_nothrow_default_constructible/requirements/
370 explicit_instantiation.cc: Likewise.
371 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
372 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
374 * testsuite/20_util/is_move_constructible/requirements/
375 explicit_instantiation.cc: Likewise.
376 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
377 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
379 * testsuite/20_util/is_copy_constructible/requirements/
380 explicit_instantiation.cc: Likewise.
382 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
383 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
385 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
386 Adjust dg-error line numbers.
387 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
389 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
391 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
393 * testsuite/25_algorithms/partition/moveable.cc: Actually run
394 it in parallel-mode for check-parallel.
396 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
397 Paolo Carlini <paolo.carlini@oracle.com>
399 PR libstdc++/48635 (again)
400 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
401 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
402 unique_ptr<>::operator=(unique_ptr<>&&),
403 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
404 forward<_Dp>, to forward the deleter.
405 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
407 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
408 Paolo Carlini <paolo.carlini@oracle.com>
411 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
412 function call operator.
413 * testsuite/20_util/default_delete/48631_neg.cc: New.
414 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
417 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
418 Paolo Carlini <paolo.carlini@oracle.com>
421 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
422 unique_ptr<>::operator=(unique_ptr<>&&),
423 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
424 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
425 instead of moving it.
426 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
428 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
430 * scripts/extract_symvers.pl: Handle NOTY.
432 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
434 * include/std/istream: Fix comments in the light of DR60 + N3168.
436 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
437 Paolo Carlini <paolo.carlini@oracle.com>
440 * include/std/type_traits (struct is_constructible): Re-implement,
442 (struct is_default_constructible): Add.
443 (struct is_destructible): Likewise.
444 (struct __and_, __or_, __not_): Add and use throughout; reorder some
445 facilities, other minor tweaks.
446 * testsuite/util/testsuite_tr1.h: Add test types.
447 * testsuite/20_util/is_constructible/value-2.cc: New.
448 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
449 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
451 * testsuite/20_util/is_default_constructible/requirements/
452 explicit_instantiation.cc: Likewise.
453 * testsuite/20_util/is_destructible/value.cc: Likewise.
454 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
456 * testsuite/20_util/is_destructible/requirements/
457 explicit_instantiation.cc: Likewise.
458 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
459 dg-error line numbers.
460 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
462 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
463 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
465 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
467 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
469 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
470 * testsuite/20_util/is_function/requirements/
471 explicit_instantiation.cc: Likewise.
472 * testsuite/20_util/is_function/24808.cc: Likewise.
473 * testsuite/20_util/is_function/35637.cc: Likewise.
474 * testsuite/20_util/is_object/value.cc: Likewise.
475 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
476 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
478 * testsuite/20_util/is_object/24808.cc: Likewise.
479 * testsuite/20_util/is_compound/value.cc: Likewise.
480 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
481 * testsuite/20_util/is_compound/requirements/
482 explicit_instantiation.cc: Likewise.
483 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
484 * testsuite/20_util/is_member_object_pointer/requirements/
485 typedefs.cc: Likewise.
486 * testsuite/20_util/is_member_object_pointer/requirements/
487 explicit_instantiation.cc: Likewise.
488 * testsuite/20_util/is_fundamental/value.cc: Likewise.
489 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
490 * testsuite/20_util/is_fundamental/requirements/
491 explicit_instantiation.cc: Likewise.
492 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
493 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
495 * testsuite/20_util/is_member_pointer/requirements/
496 explicit_instantiation.cc: Likewise.
497 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
498 * testsuite/20_util/is_member_function_pointer/
499 requirements/typedefs.cc: Likewise.
500 * testsuite/20_util/is_member_function_pointer/requirements/
501 explicit_instantiation.cc: Likewise.
503 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
506 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
509 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
510 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
511 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
512 * testsuite/20_util/tuple/cons/48476.cc: New.
513 * testsuite/20_util/tuple/48476.cc: Likewise.
514 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
516 2011-04-12 Allan McRae <allan@archlinux.org>
519 * testsuite/tr1/6_containers/unordered_map/requirements/
520 iterator_null_neg.cc: Include <cstddef>.
521 * testsuite/tr1/6_containers/unordered_set/requirements/
522 iterator_null_neg.cc: Likewise.
523 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
525 * testsuite/util/testsuite_common_types.h: Include <limits>.
526 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
527 Adjust dg-error line numbers.
528 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
529 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
531 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
533 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
535 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
536 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
538 2011-04-11 Jason Merrill <jason@redhat.com>
540 * testsuite/20_util/is_convertible/value.cc: Adjust.
542 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
544 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
545 it in parallel-mode for check-parallel.
546 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
547 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
548 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
549 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
551 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
552 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
553 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
555 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
556 the tests based on std::lexicographical_compare for check-parallel.
557 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
559 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
562 * include/std/functional (_Base_manager::_M_get_pointer): Use
564 * testsuite/20_util/function/48541.cc: New.
566 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
569 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
570 * configure: Regenerate.
571 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
572 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
574 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
576 * include/ext/algorithm (is_sorted): In C++0x mode import from
578 * include/ext/numeric (iota): In C++0x mode import from
580 * testsuite/ext/is_sorted/cxx0x.cc: New.
581 * testsuite/ext/iota/cxx0x.cc: New.
583 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
586 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
587 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
588 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
589 unused parameter name.
591 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
593 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
594 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
595 redundant default argument from std::__throw_with_nested.
597 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
600 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
601 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
602 * src/Makefile.in: Regenerate.
603 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
604 * include/Makefile.in: Regenerate.
605 * doc/xml/manual/internals.xml: Update.
606 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
607 * config/os/newlib/ctype_configure_char.cc: ... this.
608 * config/os/aix/ctype_noninline.h: Likewise.
609 * config/os/aix/ctype_configure_char.cc: Likewise.
610 * config/os/vxworks/ctype_noninline.h: Likewise.
611 * config/os/vxworks/ctype_configure_char.cc
612 * config/os/hpux/ctype_noninline.h: Likewise.
613 * config/os/hpux/ctype_configure_char.cc: Likewise.
614 * config/os/gnu-linux/ctype_noninline.h: Likewise.
615 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
616 * config/os/mingw32/ctype_noninline.h: Likewise.
617 * config/os/mingw32/ctype_configure_char.cc: Likewise.
618 * config/os/tpf/ctype_noninline.h: Likewise.
619 * config/os/tpf/ctype_configure_char.cc: Likewise.
620 * config/os/uclibc/ctype_noninline.h: Likewise.
621 * config/os/uclibc/ctype_configure_char.cc: Likewise.
622 * config/os/bionic/ctype_noninline.h: Likewise.
623 * config/os/bionic/ctype_configure_char.cc: Likewise.
624 * config/os/djgpp/ctype_noninline.h: Likewise.
625 * config/os/djgpp/ctype_configure_char.cc: Likewise.
626 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
627 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
628 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
629 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
630 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
631 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
632 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
633 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
634 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
635 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
636 * config/os/generic/ctype_noninline.h: Likewise.
637 * config/os/generic/ctype_configure_char.cc: Likewise.
638 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
639 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
641 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
643 * include/std/future (future::share): Add.
644 (packaged_task::result_type): Remove as per LWG 2030.
645 (packaged_task::packaged_task): Remove redundant constructors, as per
647 * testsuite/30_threads/future/members/share.cc: New.
648 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
650 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
652 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
653 members which require a fully established result state.
654 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
656 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
658 * include/bits/random.h (negative_binomial_distribution<>::
659 negative_binomial_distribution(_IntType, double),
660 negative_binomial_distribution<>::
661 negative_binomial_distribution(const param_type&)): Tweak
662 construction of _M_gd.
663 * include/bits/random.tcc (negative_binomial_distribution<>::
666 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
668 * include/bits/random.h (negative_binomial_distribution<>::
669 negative_binomial_distribution(_IntType, double),
670 negative_binomial_distribution<>::
671 negative_binomial_distribution(const param_type&)): Fix
672 construction of _M_gd.
673 * include/bits/random.tcc (negative_binomial_distribution<>::
674 operator()): Fix computation, per Leger's algorithm.
675 * testsuite/util/testsuite_random.h (discrete_pdf,
676 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
677 (binomial_pdf): Swap last two parameters.
678 * testsuite/26_numerics/random/discrete_distribution/
679 operators/values.cc: New.
680 * testsuite/26_numerics/random/negative_binomial_distribution/
681 operators/values.cc: Likewise.
682 * testsuite/26_numerics/random/poisson_distribution/
683 operators/values.cc: Likewise.
684 * testsuite/26_numerics/random/uniform_int_distribution/
685 operators/values.cc: Likewise.
686 * testsuite/26_numerics/random/binomial_distribution/
687 operators/values.cc: Adjust.
689 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
691 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
692 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
693 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
694 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
695 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
697 2011-03-23 Matthias Klose <doko@ubuntu.com>
699 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
701 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
703 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
705 2011-03-22 Joseph Myers <joseph@codesourcery.com>
707 * configure.ac: Don't handle powerpc*-*-gnu*.
708 * configure: Regenerate.
710 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
712 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
714 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
717 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
719 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
721 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
722 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
723 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
724 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
725 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
726 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
727 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
729 2011-03-22 Jakub Jelinek <jakub@redhat.com>
731 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
732 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
733 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
734 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
735 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
736 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
737 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
738 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
739 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
740 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
742 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
743 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
744 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
745 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
746 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
747 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
748 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
749 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
752 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
754 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
755 create compact unwind for" warnings.
757 2011-03-21 Jakub Jelinek <jakub@redhat.com>
759 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
760 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
761 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
763 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
764 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
765 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
766 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
767 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
768 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
769 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
770 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
771 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
773 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
774 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
775 CXXABI_LDBL_1.3 versions.
777 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
779 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
781 2011-03-21 Jakub Jelinek <jakub@redhat.com>
783 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
784 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
786 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
788 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
789 sparc*-sun-solaris2.10 && lp64.
791 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
793 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
794 to check_v3_target_cmath.
795 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
797 * testsuite/26_numerics/random/binomial_distribution/
798 operators/values.cc: Adjust.
800 2011-03-18 Diego Novillo <dnovillo@google.com>
802 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
804 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
805 mixed-mode-arith_neg.cc
807 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
809 * testsuite/util/testsuite_random.h: New.
810 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
811 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
812 * testsuite/26_numerics/random/bernoulli_distribution/
813 operators/values.cc: New.
814 * testsuite/26_numerics/random/binomial_distribution/
815 operators/values.cc: Likewise.
816 * testsuite/26_numerics/random/geometric_distribution/
817 operators/values.cc: Likewise.
819 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
821 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
822 * testsuite/19_diagnostics/stdexcept.cc: New.
824 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
826 * include/std/thread: Revert.
827 * src/thread.cc: Same.
828 * config/abi/pre/gnu.ver: Same.
830 2011-03-15 Doug Kwan <dougkwan@google.com>
833 * include/Makefile.am (install-freestanding-headers): Install
835 * include/Makefile.in: Regenerate.
837 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
839 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
840 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
842 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
845 * src/future.cc: Guard definitions.
846 * libsupc++/nested_exception.cc: Same.
848 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
850 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
851 * src/Makefile.in: Regenerate.
852 * libsupc++/Makefile.am: Add nested_exception.cc.
853 * libsupc++/Makefile.in: Regenerate.
854 * src/system_error.cc: Add ctor and dtor definitions for error_category.
855 * src/functional.cc: New. Add dtor definition for bad_function_call.
856 * src/stdexcept.cc: Add dtor definitions for domain_error,
857 invalid_argument, length_error, out_of_range, range_error,
858 overflow_error, underflow_error.
859 * src/future.cc: Add dtor definition for __future_base::_Result_base.
860 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
861 * src/thread.cc: Add dtor for thread::_Impl_base.
862 * include/std/system_error: Adjust.
863 * include/std/stdexcept: Same.
864 * include/std/future: Same.
865 * include/std/functional: Same.
866 * include/std/thread: Same.
867 * include/bits/shared_ptr_base.h: Same.
868 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
869 * libsupc++/nested_exception.h: Adjust.
870 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
871 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
872 * config/abi/pre/gnu.ver: Add new exports.
874 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
876 * include/bits/regex_compiler.h: Nest namespace versioning.
877 * include/bits/regex_grep_matcher.tcc: Same.
878 * include/bits/regex_grep_matcher.h: Same.
879 * include/bits/regex_cursor.h: Same.
880 * include/bits/regex_nfa.h: Same.
881 * include/bits/regex_nfa.tcc: Same.
883 * include/bits/regex_grep_matcher.h: Version forward declarations.
884 * include/bits/c++config: Add namespace association for __regex.
885 * include/bits/regex.h: Make sub_match consistent.
887 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
889 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
891 * doc/html/manual/abi.html: Regenerate.
893 2011-03-14 Tom Tromey <tromey@redhat.com>
895 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
896 Try to import `gdb.printing' module.
897 (UniquePointerPrinter.__init__): Add 'typename' argument.
898 (StdSlistPrinter.__init__): Likewise.
899 (StdSlistIteratorPrinter.__init__): Likewise.
900 (StdVectorIteratorPrinter.__init__): Likewise.
901 (StdRbtreeIteratorPrinter.__init__): Likewise.
902 (StdDebugIteratorPrinter.__init__): Likewise.
903 (StdDequeIteratorPrinter.__init__): Likewise.
904 (StdStringPrinter.__init__): Likewise.
905 (RxPrinter, Printer): New class.
906 (libstdcxx_printer): New global.
907 (register_libstdcxx_printers): Rewrite.
908 (build_libstdcxx_dictionary): Rewrite.
909 (pretty_printers_dict): Remove.
911 2011-03-14 Andrey Zholos <aaz@althenia.net>
914 * include/bits/random.h (geometric_distribution): Correct formula
915 in comment, per C++0x.
916 (geometric_distribution<>::param_type::param_type(double)): Fix check.
917 (geometric_distribution<>::param_type::_M_initialize):
919 * include/bits/random.tcc (geometric_distribution<>::operator()):
921 (binomial_distribution<>::operator()): Likewise.
923 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
925 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
927 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
928 Chris Jefferson <chris@bubblescope.net>
929 Paolo Carlini <paolo.carlini@oracle.com>
931 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
933 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
935 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
937 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
939 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
941 2011-03-09 Chris Jefferson <chris@bubblescope.net>
944 * include/bits/stl_algo.h (__merge_backward): Rename to
945 __move_merge_backward and change to always move rather than copy.
946 (__move_merge): New function similar to std::merge except values
947 are moved instead of copied.
948 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
949 and __merge_backward to __move_merge and __move_merge_backward.
951 2011-03-07 Jason Merrill <jason@redhat.com>
953 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
956 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
957 Matthias Klose <doko@ubuntu.com>
958 Jonathan Wakely <redi@gcc.gnu.org>
961 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
962 * configure.ac: Use it.
963 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
964 * configure: Regenerate.
965 * doc/Makefile.in: Regenerate.
967 2011-03-04 Benjamin Kosnik <bkoz@chula>
969 * src/Makefile.am (inst_sources): Make source instantion files
971 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
972 * src/Makefile.in: Regenerate.
973 * src/valarray-inst.cc: Move to..
974 * src/valarray.cc: ...this.
975 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
976 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
977 * configure: Regenerate.
978 * include/Makefile.am (stamp-extern-template): Add.
979 * include/Makefile.in: Regenerate.
981 * doc/xml/manual/configure.xml: Document --enable-extern-template.
983 * include/bits/locale_classes.tcc: Adjust comment.
984 * include/bits/locale_facets.tcc: Same.
985 * include/bits/basic_ios.tcc: Same.
986 * include/bits/istream.tcc: Same.
987 * include/bits/codecvt.h: Same.
988 * include/bits/ostream.tcc: Same.
989 * include/bits/sstream.tcc: Same.
990 * include/bits/c++config: Same.
991 * include/bits/basic_string.tcc: Same.
992 * include/bits/ostream_insert.h: Same.
993 * include/bits/locale_facets_nonio.tcc: Same.
994 * include/bits/streambuf.tcc: Same.
995 * include/bits/allocator.h: Same.
996 * include/bits/fstream.tcc: Same.
998 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1000 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1002 * testsuite/Makefile.am: Make clean fixups.
1003 * testsuite/Makefile.in: Regenerate.
1005 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1007 * include/std/ratio (ratio_less): Add comments.
1009 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1012 * include/std/ratio (ratio_add): Avoid denominator overflow.
1013 * testsuite/20_util/ratio/operations/47913.cc: New.
1015 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1017 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1018 * testsuite/20_util/hash/quality.cc: Same.
1020 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1023 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1025 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1026 xputn): Use the latter.
1027 * include/bits/streambuf_iterator.h: Likewise.
1028 * src/strstream.cc: Likewise.
1029 * src/streambuf.cc: Likewise.
1030 * src/compatibility.cc: Likewise.
1031 * src/istream.cc: Likewise.
1032 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1034 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1035 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1036 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1037 * config/abi/pre/gnu.ver: Tweak.
1039 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1041 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1043 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1046 * include/std/ratio (ratio_less): Reimplement to never overflow.
1047 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1049 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1051 * testsuite/18_support/type_info/fundamental.cc: New.
1053 * testsuite/Makefile.am: Make clean fixups.
1054 * testsuite/Makefile.in: Regenerate.
1056 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1058 * include/debug/string (basic_string::insert): Add iterator check and
1059 pass normal iterator to normal insert.
1060 * include/debug/macros.h (__glibcxx_check_heap,
1061 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1064 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1067 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1068 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1070 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1072 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1073 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1074 (basic_regex::operator=(basic_regex&&)): Likewise.
1075 (basic_regex::assign(basic_regex&&)): Likewise.
1076 (operator==(sub_match,...)): Implement DR 1181.
1077 (match_results::match_results(match_results&&)): Define.
1078 (match_results::operator=(const match_results&)): Fix parameter type.
1079 (match_results::operator=(match_results&&)): Define.
1081 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1084 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1085 line anchors as metacharacters.
1086 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1088 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1091 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1092 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1093 hash<__gnu_cxx::__u32vstring>): Add.
1094 * testsuite/ext/vstring/hash/char/1.cc: New.
1095 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1097 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1099 * include/bits/regex.h (match_results::format): Use char_traits.
1101 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1103 * include/std/atomic: Remove atomic_address, uplift to N3225.
1104 * include/bits/atomic_0.h: Same.
1105 * include/bits/atomic_2.h: Same.
1106 * include/bits/atomic_base.h: Same.
1107 * testsuite/29_atomics/atomic_address/*: Delete.
1109 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1111 * include/bits/regex.h (sub_match::sub_match): Add.
1112 (match_results::ready): Add.
1113 (match_results::empty): Adjust.
1114 (match_results::length): Add missing dereference.
1115 (match_results::operator[],prefix,suffix): Add debug mode checks.
1116 (match_results::cend): Re-use end().
1117 (match_results::format): Adjust signatures.
1118 (operator==(match_results,match_results)): Implement.
1119 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1120 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1121 * include/bits/regex_grep_matcher.h: Fix comment typo.
1122 (_SpecializedResults::_SpecializedResults): Simplify.
1123 * include/bits/regex_cursor.h: Fix comment typo.
1124 * include/bits/regex_nfa.h: Likewise.
1125 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1126 Fix error code, remove xfail.
1127 * testsuite/28_regex/basic_regex/ctors/extended/
1128 string_range_01_02_03.cc: Likewise.
1130 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1132 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1133 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1135 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1137 * configure: Regenerate.
1139 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1142 * include/ext/algorithm (is_heap): In C++0x mode import from
1144 * testsuite/ext/is_heap/47709.cc: New.
1146 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1147 Jonathan Wakely <jwakely.gcc@gmail.com>
1150 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1151 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1153 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1155 * include/tr1/cmath (fabs): Define.
1156 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1159 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1161 * testsuite/tr1/headers/c++200x/complex.cc: New.
1163 2011-02-11 Johannes Singler <singler@kit.edu>
1166 * include/parallel/losertree.h
1167 (_LoserTreeUnguarded<>::__delete_min_insert):
1168 Add missing "using std::swap;", as for other variants.
1170 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1172 * src/Makefile.am (sources): Add regex.cc.
1173 * src/Makefile.in: Regenerate.
1174 * src/regex.cc: New.
1175 * include/bits/regex_error.h (error_type): Use constexpr.
1176 (regex_error): Move ctor and dtor out of line.
1178 * testsuite/28_regex/03_requirements: To...
1179 * testsuite/28_regex/requirements: ... this.
1180 * testsuite/28_regex/04_header: To...
1181 * testsuite/28_regex/headers: ... this.
1182 * testsuite/28_regex/05_constants: To...
1183 * testsuite/28_regex/constants: ... this.
1184 * testsuite/28_regex/06_exception_type: To...
1185 * testsuite/28_regex/regex_error: ... this.
1186 * testsuite/28_regex/07_traits: To...
1187 * testsuite/28_regex/traits: ... this.
1188 * testsuite/28_regex/08_basic_regex: To...
1189 * testsuite/28_regex/basic_regex: ... this.
1190 * testsuite/28_regex/09_sub_match: To...
1191 * testsuite/28_regex/sub_match: ... this.
1192 * testsuite/28_regex/10_match_results: To...
1193 * testsuite/28_regex/match_results: ... this.
1194 * testsuite/28_regex/11_algorithms: To...
1195 * testsuite/28_regex/algorithms: ... this.
1196 * testsuite/28_regex/12_iterators: To...
1197 * testsuite/28_regex/iterators: ... this.
1199 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1202 * include/bits/c++config: Do not use alternative token.
1203 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1205 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1207 * src/future.cc (future_error_category::message): Handle no_state.
1209 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1211 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1212 not test in C++0x mode.
1213 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1214 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1217 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1219 * doc/xml/manual/status_cxx200x.xml: Update.
1220 * doc/html/*: Regenerate.
1222 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1224 * doc/xml/manual/debug.xml: Improve data race docs.
1226 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1229 * include/debug/map.h (map): Remove unnecessary using-declaration.
1230 * include/debug/multimap.h (multimap): Likewise.
1231 * include/profile/map.h (map): Likewise.
1232 * include/profile/multimap.h (multimap): Likewise.
1234 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1237 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1239 * libsupc++/guard_error.cc: ... new file.
1240 * libsupc++/Makefile.am: Update.
1241 * libsupc++/Makefile.in: Regenerate.
1243 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1245 * include/std/future (packaged_task::operator bool): Rename to...
1246 (packaged_task::valid): ...this.
1247 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1248 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1249 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1250 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1251 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1252 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1253 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1254 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1255 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1256 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1257 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1259 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1261 * doc/xml/manual/io.xml: Fix typo.
1262 * doc/html/manual/streambufs.html: Likewise.
1264 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1266 * config/abi/pre/gnu.ver: Fix.
1268 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
1270 * doc/xml/manual/appendix_porting.xml: Add doc section.
1271 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1272 * doc/xml/manual/documentation_hacking.xml: ...here.
1274 * doc/xml/manual/debug_mode.xml: Adjust.
1275 * doc/xml/manual/prerequisites.xml: Adjust.
1276 * doc/Makefile.am (xml_sources): Add dot files,
1277 documentation_hacking.xml.
1278 * doc/Makefile.in: Regenerate.
1280 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1281 * doc/xml/images/confdeps.pdf: Add.
1283 * doc/html/*: Regenerate.
1285 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1287 * doc/xml/gnu/fdl-1.2.xml: Remove.
1288 * doc/xml/gnu/gpl-2.0.xml: Remove.
1289 * doc/Makefile.am: Update.
1290 * doc/Makefile.in: Regenerate.
1292 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1295 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1296 iterator)): Add back in C++03 mode.
1297 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1298 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1300 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
1302 PR libstdc++/47560 try two
1303 * config/os/hpux/os_defines.h: Guard for C++.
1305 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1307 * doc/xml/faq.xml: Adjust link to bug database.
1308 Remove old item on broken header files.
1310 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1312 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1313 * src/functexcept.cc: Add definition.
1314 * config/abi/pre/gnu.ver: Export.
1316 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1318 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1319 * configure: Regenerate.
1321 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1324 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1325 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1326 avoid name conflicts.
1328 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1331 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1333 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1335 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1336 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1337 (COMPACT_LATEX): Enable.
1339 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1340 * include/profile/impl/profiler_hash_func.h: Same.
1341 * include/bits/hashtable.h: Same.
1342 * include/backward/auto_ptr.h: Same.
1343 * include/backward/strstream: Same.
1344 * include/backward/backward_warning.h: Same.
1345 * include/backward/binders.h: Same.
1347 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1349 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1350 Adjust link to GDB manual.
1352 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1354 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1355 _GLIBCXX_USE_DEPRECATED.
1356 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1357 * doc/xml/manual/using.xml: Same.
1358 * include/std/memory: Same.
1359 * include/std/streambuf: Same.
1360 * include/bits/shared_ptr.h: Same.
1361 * include/bits/unique_ptr.h: Same.
1362 * include/bits/shared_ptr_base.h: Same.
1363 * include/bits/stl_function.h: Same.
1364 * include/tr1/shared_ptr.h: Same.
1365 * include/backward/auto_ptr.h: Same.
1366 * include/backward/binders.h: Same.
1368 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1370 * doc/html/ext/lwg-active.html: Update to Revision D73.
1371 * doc/html/ext/lwg-closed.html: Likewise.
1372 * doc/html/ext/lwg-defects.html: Likewise.
1373 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1375 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1377 PR libstdc++/36104 part four
1378 * include/bits/c++config (_GLIBCXX_STD): Remove.
1379 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1380 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1381 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1382 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1383 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1384 _GLIBCXX_INLINE_PROFILE): Remove.
1385 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1386 (_GLIBCXX_END_NAMESPACE): Remove.
1387 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1388 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1389 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1390 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1391 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1392 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1393 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1394 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1395 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1396 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1397 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1398 * include/*: Use new macros for namespace scope.
1402 * src/Makefile.am (sources): Remove debug_list.cc, add
1403 compatibility-debug_list-2.cc.
1404 (parallel_sources): Remove parallel_list.cc, add
1405 compatibility-parallel_list-2.cc.
1406 (compatibility-parallel_list-2.[o,lo]): New rule.
1407 * src/Makefile.in: Regenerate.
1408 * src/debug_list.cc: Remove.
1409 * src/parallel_list.cc: Remove.
1410 * src/compatibility-list-2.cc: New.
1411 * src/compatibility-debug_list-2.cc: New.
1412 * src/compatibility-parallel_list-2.cc: New.
1414 * doc/doxygen/user.cfg.in: Adjust macros.
1416 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1417 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1418 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1419 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1420 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1421 * testsuite/20_util/forward/c_neg.cc: Same.
1422 * testsuite/20_util/forward/f_neg.cc: Same.
1423 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1424 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1425 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1426 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1427 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1428 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1429 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1430 * testsuite/23_containers/deque/requirements/dr438/
1431 constructor_1_neg.cc: Same.
1432 * testsuite/23_containers/deque/requirements/dr438/
1433 constructor_2_neg.cc: Same.
1434 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1435 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1436 * testsuite/23_containers/forward_list/requirements/dr438/
1437 assign_neg.cc: Same.
1438 * testsuite/23_containers/forward_list/requirements/dr438/
1439 constructor_1_neg.cc: Same.
1440 * testsuite/23_containers/forward_list/requirements/dr438/
1441 constructor_2_neg.cc: Same.
1442 * testsuite/23_containers/forward_list/requirements/dr438/
1443 insert_neg.cc: Same.
1444 * testsuite/23_containers/list/capacity/29134.cc: Same.
1445 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1446 * testsuite/23_containers/list/requirements/dr438/
1447 constructor_1_neg.cc: Same.
1448 * testsuite/23_containers/list/requirements/dr438/
1449 constructor_2_neg.cc: Same.
1450 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1451 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1452 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1453 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1454 * testsuite/23_containers/vector/requirements/dr438/
1455 constructor_1_neg.cc: Same.
1456 * testsuite/23_containers/vector/requirements/dr438/
1457 constructor_2_neg.cc: Same.
1458 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1459 * testsuite/25_algorithms/sort/35588.cc: Same.
1460 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1461 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1462 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1463 * testsuite/ext/profile/profiler_algos.cc: Same.
1464 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1465 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1466 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1467 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1468 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1470 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1472 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1473 Improve description of one such reference.
1475 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1477 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1478 Standards Revision Group.
1479 * doc/xml/manual/locale.xml: Ditto.
1480 * doc/xml/manual/messages.xml: Ditto.
1481 * doc/xml/manual/using_exceptions.xml: Ditto.
1483 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1485 * include/bits/atomic_base.h: Do not include <stddef.h>.
1486 (kill_dependency): Uglify ret.
1488 2011-01-26 Johannes Singler <singler@kit.edu>
1490 * include/parallel/numeric (inner_product, partial_sum):
1491 Qualify subsequent call with __gnu_parallel instead of
1492 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1493 * include/parallel/algobase.h (equal): Likewise.
1494 * include/parallel/algo.h (find_first_of, search_n, merge,
1495 nth_element, partial_sort, max_element, min_element): Likewise.
1496 * testsuite/25_algorithms/headers/algorithm/
1497 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1498 * testsuite/25_algorithms/headers/algorithm/
1499 parallel_algorithm_mixed2.cc (main): Likewise.
1500 * testsuite/26_numerics/headers/numeric/
1501 parallel_numeric_mixed1.cc (main): Likewise.
1502 * testsuite/26_numerics/headers/numeric/
1503 parallel_numeric_mixed2.cc (main): Likewise.
1505 2011-01-24 Graham Reed <greed@pobox.com>
1508 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1511 2011-01-24 Johannes Singler <singler@kit.edu>
1514 * include/parallel/losertree.h
1515 (_LoserTree<>::__delete_min_insert):
1516 Do not qualify swap with std:: for value type,
1517 but include a using directive instead.
1518 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1519 * include/parallel/balanced_quicksort.h (__qsb_divide):
1520 Use std::iter_swap instead of std::swap.
1521 (__qsb_local_sort_with_helping): Likewise.
1522 * include/parallel/partition.h (__parallel_partition):
1523 Likewise. (__parallel_nth_element): Likewise.
1525 2011-01-24 Johannes Singler <singler@kit.edu>
1528 * include/parallel/multiway_merge.h (_UnguardedIterator):
1529 Remove useless "mutable" from reference declaration.
1531 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1533 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1534 * include/debug/safe_sequence.h: Same.
1535 * include/debug/safe_iterator.h: Same.
1536 * include/std/forward_list: Same.
1537 * include/std/deque: Same.
1538 * include/std/list: Same.
1539 * include/std/random: Same.
1540 * include/std/streambuf: Same.
1541 * include/std/fstream: Same.
1542 * include/std/istream: Same.
1543 * include/std/string: Same.
1544 * include/std/ostream: Same.
1545 * include/std/sstream: Same.
1546 * include/ext/vstring.h: Same.
1547 * include/bits/basic_ios.h: Same.
1548 * include/bits/locale_classes.h: Same.
1549 * include/bits/locale_facets.h: Same.
1550 * include/bits/valarray_array.h: Same.
1551 * include/bits/locale_facets_nonio.h: Same.
1552 * include/tr1/random: Same.
1554 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1556 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1558 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1560 PR libstdc++/36104 part three
1561 * src/hashtable_c++0x.cc: Adjust namespace macros.
1562 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1563 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1565 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1567 * include/ext/pb_ds/detail/resize_policy/
1568 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1569 * include/ext/pb_ds/detail/pat_trie_/
1570 constructors_destructor_fn_imps.hpp: Same.
1571 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1572 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1573 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1575 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1576 iterations downward when testing in debug mode.
1577 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1578 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1579 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1580 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1581 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1582 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1583 reduce in debug mode.
1585 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1587 PR libstdc++/36104 part two
1588 * include/bits/hashtable.h: Revert to non-nested macro usage.
1589 * include/bits/hashtable_policy.h: Same.
1591 2011-01-19 Graham Reed <greed@pobox.com>
1594 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1596 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1598 * doc/xml/images/confdeps.png: Regenerate.
1600 * include/std/chrono (duration): Mark copy constructor constexpr.
1601 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1603 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1605 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1606 Declare defaulted per DR 1517.
1607 * testsuite/util/testsuite_common_types.h
1608 (constexpr_defaulted_default_constructible): Add.
1609 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1611 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1613 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1615 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1617 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1620 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1621 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1623 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1626 * testsuite/18_support/numeric_limits/lowest.cc:
1627 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1629 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1632 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1633 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1635 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1637 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1638 to this. Use _neg suffix.
1639 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1641 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1643 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1644 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1646 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1647 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1649 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1650 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1652 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1653 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1655 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1656 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1658 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1659 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1661 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1662 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1664 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1665 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1667 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1668 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1670 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1671 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1673 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1674 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1676 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1677 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1679 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1680 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1682 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1683 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1685 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1687 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1690 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1691 * include/Makefile.in: Regenerate.
1692 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1693 (install-stdHEADERS, install-bitsHEADERS): New.
1694 * libsupc++/Makefile.in: Regenerate.
1696 * include/bits/c++config: Update for inline namespaces.
1697 * libsupc++/cxxabi-forced.h: To...
1698 * libsupc++/cxxabi_forced.h: ...this.
1699 * libsupc++/hash_bytes.h: Separate file.
1700 * libsupc++/typeinfo: Use it.
1701 * libsupc++/exception: Adjust for bits subdirectory.
1702 * libsupc++/eh_aux_runtime.cc: Same.
1703 * libsupc++/eh_ptr.cc: Same.
1704 * libsupc++/new_op.cc: Same.
1705 * libsupc++/exception_defines.h: Same.
1706 * libsupc++/nested_exception.h: Same.
1707 * libsupc++/eh_terminate.cc: Same.
1708 * libsupc++/vec.cc: Same.
1709 * libsupc++/vterminate.cc: Same.
1710 * libsupc++/exception_ptr.h: Same.
1711 * libsupc++/eh_personality.cc: Same.
1712 * libsupc++/eh_call.cc: Same.
1713 * libsupc++/new_opnt.cc: Same.
1714 * libsupc++/hash_bytes.cc: Same.
1715 * config/cpu/arm/cxxabi_tweaks.h: Same.
1716 * config/cpu/generic/cxxabi_tweaks.h: Same.
1717 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1718 * include/std/bitset: Same.
1719 * include/ext/vstring.tcc: Same.
1720 * include/bits/hashtable.h: Same.
1721 * include/bits/functional_hash.h: Same.
1722 * include/bits/hashtable_policy.h: Same.
1723 * include/bits/basic_string.h: Same.
1724 * include/bits/istream.tcc: Same.
1725 * include/bits/ostream.tcc: Same.
1726 * include/bits/algorithmfwd.h: Same.
1727 * include/bits/basic_string.tcc: Same.
1728 * include/bits/ostream_insert.h: Same.
1729 * include/bits/fstream.tcc: Same.
1730 * include/bits/functexcept.h: Same.
1732 * doc/doxygen/user.cfg.in: Adjust names.
1734 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1736 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1738 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1740 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1742 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1744 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1745 * testsuite/25_algorithms/is_permutation/requirements/
1746 explicit_instantiation/2.cc: Likewise.
1747 * testsuite/25_algorithms/is_permutation/requirements/
1748 explicit_instantiation/pod.cc: Likewise.
1749 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1751 2011-01-13 John Lakos <jlakos@bloomberg.net>
1752 Pablo Halpern <phalpern@halpernwightsoftware.com>
1753 Paolo Carlini <paolo.carlini@oracle.com>
1755 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1756 * include/bits/algorithmfwd.h: Add.
1758 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1761 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1763 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1765 * aclocal.m4: Regenerate.
1767 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1770 * src/placeholders.cc: New.
1771 * src/Makefile.am: Adjust.
1772 * src/Makefile.in: Regenerate.
1773 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1775 * config/abi/pre/gnu.ver: Export.
1777 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1779 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1780 * include/src/debug.cc: Use latter
1781 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1782 correctly handle before_begin iterators.
1783 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1784 useless _GLIBCXX_DEBUG checks.
1786 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1789 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1790 * configure: Regenerated.
1792 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1795 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1798 Copyright (C) 2011 Free Software Foundation, Inc.
1800 Copying and distribution of this file, with or without modification,
1801 are permitted in any medium without royalty provided the copyright
1802 notice and this notice are preserved.