1 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
5 (__get_helper): Likewise.
6 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
7 * include/bits/move.h (swap): Likewise.
8 * include/bits/algorithmfwd.h (swap): Adjust.
9 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
10 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
11 mode, prefer delete to access control to make the type not copy
13 * testsuite/util/testsuite_tr1.h: Add test classes.
14 * testsuite/20_util/tuple/noexcept_swap.cc: New.
15 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
16 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
17 delete to access control.
18 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
19 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
22 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
24 * testsuite/util/testsuite_tr1.h: Add test classes.
25 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
27 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
29 * include/std/type_traits (is_assignable, is_copy_assignable,
30 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
31 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
32 (has_nothrow_copy_assign): Remove.
33 * testsuite/util/testsuite_tr1.h: Add test classes.
34 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
35 * testsuite/20_util/is_assignable/requirements/
36 explicit_instantiation.cc: Likewise.
37 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
38 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
40 * testsuite/20_util/is_nothrow_assignable/requirements/
41 explicit_instantiation.cc: Likewise.
42 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
43 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
45 * testsuite/20_util/is_move_assignable/requirements/
46 explicit_instantiation.cc: Likewise.
47 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
48 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
50 * testsuite/20_util/is_copy_assignable/requirements/
51 explicit_instantiation.cc: Likewise.
52 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
53 * testsuite/20_util/is_nothrow_move_assignable/requirements/
54 typedefs.cc: Likewise.
55 * testsuite/20_util/is_nothrow_move_assignable/requirements/
56 explicit_instantiation.cc: Likewise.
57 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
58 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
59 typedefs.cc: Likewise.
60 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
61 explicit_instantiation.cc: Likewise.
62 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
63 dg-error line numbers.
64 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
66 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
68 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
70 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
71 functions as defaulted/deleted.
72 * include/bits/shared_ptr.h: Use noexcept.
73 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
74 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
76 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
78 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
80 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
82 * libsupc++/initializer_list: Use noexcept specifier.
83 (initializer_list<>::size, begin, end): Qualify as const.
84 * include/bits/move.h (__addressof, forward, move, addressof): Specify
86 * include/std/bitset: Use noexcept specifier throughout.
87 * include/debug/bitset: Update.
88 * include/profile/bitset: Likewise.
90 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
92 * include/std/tuple: Use noexcept where appropriate.
93 (tuple<>::swap): Rework implementation.
94 (_Head_base<>::_M_swap_impl): Remove.
95 (get(std::tuple<>&&)): Add.
96 * testsuite/20_util/tuple/element_access/get2.cc: New.
97 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
100 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
102 * include/std/utility: Simplify the last commit, the whole
103 std::get code is C++0x only.
105 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
107 * include/std/utility (get(std::pair<>&&)): Add.
108 * include/bits/stl_pair.h (pair::swap(pair&),
109 swap(pair<>&, pair<>&)): Use noexcept.
110 * include/bits/random.h (discard_block_engine<>::base,
111 independent_bits_engine<>::base, shuffle_order_engine<>::base,
112 random_device::entropy): Use noexcept.
113 * include/std/array: Use noexcept where appropriate.
114 (get(array<>&&)): Add.
115 * testsuite/23_containers/array/requirements/get.cc: New.
116 * testsuite/20_util/pair/get.cc: Likewise.
117 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
120 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
122 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
124 * include/std/limits: Use the latter everywhere.
125 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
126 macro usages, the specializations exist only in C++0x mode.
127 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
130 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
132 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
134 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
136 2011-05-11 François Dumont <francois.cppdevs@free.fr>
138 * include/ext/pb_ds/detail/resize_policy/
139 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
140 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
141 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
142 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
143 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
144 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
145 * include/ext/pb_ds/detail/debug_map_base.hpp,
146 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
147 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
148 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
149 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
150 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
151 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
152 macro definitions move...
153 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
154 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
155 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
156 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
157 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
158 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
159 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
160 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
161 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
164 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
167 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
168 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
169 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
170 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
171 scalbn, tgamma, trunc): Use __enable_if on the return type.
172 * include/tr1/cmath: Likewise.
173 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
174 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
176 2011-05-07 François Dumont <francois.cppdevs@free.fr>
178 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
179 (_GLICXX_DEBUG_VERIFY): Use latter.
180 * include/ext/pb_ds/detail/resize_policy/
181 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
182 containing the original assert call.
183 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
184 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
185 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
186 split_join_fn_imps.hpp: Likewise.
187 * include/ext/pb_ds/detail/cc_hash_table_map_/
188 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
189 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
190 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
191 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
192 erase_no_store_hash_fn_imps.hpp: Likewise.
193 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
194 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
195 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
196 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
198 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
199 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
200 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
201 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
203 * include/ext/pb_ds/detail/gp_hash_table_map_/
204 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
205 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
206 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
207 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
208 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
210 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
211 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
212 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
213 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
214 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
215 find_fn_imps.hpp, insert_fn_imps.hpp,
216 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
217 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
218 * include/ext/pb_ds/detail/binomial_heap_/
219 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
220 binomial_heap_.hpp: Likewise.
221 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
222 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
223 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
224 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
225 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
226 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
227 split_join_fn_imps.hpp: Likewise.
228 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
229 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
230 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
231 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
232 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
233 find_fn_imps.hpp, insert_fn_imps.hpp,
234 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
235 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
236 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
237 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
238 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
239 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
240 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
241 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
242 split_join_fn_imps.hpp: Likewise.
243 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
244 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
245 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
246 * include/ext/pb_ds/hash_policy.hpp: Likewise.
248 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
250 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
252 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
254 PR libstdc++/47913 (again)
255 * include/std/ratio (ratio_add, ratio_less): Rewrite.
256 * testsuite/20_util/ratio/operations/47913.cc: Extend.
257 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
259 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
261 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
264 * include/std/valarray (valarray<>::valarray(valarray&&),
265 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
266 * doc/xml/manual/status_cxx200x.xml: Update.
267 * testsuite/26_numerics/valarray/moveable.cc: New.
268 * testsuite/26_numerics/valarray/swap.cc: Likewise.
270 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
273 * include/parallel/multiway_merge.h: Run _ValueType destructors.
274 * include/parallel/multiway_mergesort.h: Likewise.
275 * include/parallel/quicksort.h: Likewise.
276 * include/parallel/random_shuffle.h: Likewise.
277 * include/parallel/partial_sum.h: Likewise.
278 * include/parallel/losertree.h: Run destructors; minor tweaks.
279 * include/parallel/par_loop.h: Run destructors, fix memory
280 allocations and deallocations.
281 * testsuite/26_numerics/accumulate/48750.cc: New.
283 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
284 parallel-mode to avoid spurious multiple errors.
286 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
288 * include/std/functional (bind): Remove from overload set when first
289 argument type might be a socket file descriptor.
290 * testsuite/20_util/bind/socket.cc: New.
292 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
295 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
296 * doc/html/*: Regenerate.
298 2011-05-02 Ollie Wild <aaw@google.com>
300 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
301 Fix unqualified lookup.
302 (__sso_string_base<>::_M_assign): Likewise.
303 (__sso_string_base<>::_M_reserve): Likewise.
304 (__sso_string_base<>::_M_mutate): Likewise.
305 (__sso_string_base<>::_M_erase): Likewise.
306 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
307 (__versa_string<>::compare): Likewise.
308 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
310 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
312 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
314 * doc/xml/manual/documentation_hacking.xml: Fix typo.
315 * doc/html/*: Regenerate.
317 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
319 * include/std/type_traits (__is_default_constructible_atom,
320 __is_default_constructible_safe<, true>,
321 __is_direct_constructible_new_safe,
322 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
323 __is_direct_constructible_ref_cast, __is_direct_constructible,
324 __is_nary_constructible): Simplify; add comments throughout.
326 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
328 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
329 Adjust dg-error line numbers.
330 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
332 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
334 2011-04-30 Doug Kwan <dougkwan@google.com>
336 * include/Makefile.am (install-freestanding-headers): Also install
338 * include/Makefile.in: Regenerate.
340 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
343 * include/std/complex (complex<float>::complex(float, float),
344 complex<double>::complex(double, double),
345 complex<long double>::complex(long double, long double)): Use
346 list-initialization in C++0x mode, initialize in the body in
348 * testsuite/26_numerics/complex/cons/48760.cc: New.
349 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
351 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
353 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
354 tweak, remove redundant round braces.
356 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
358 * include/bits/move.h (move_if_noexcept): Add.
359 * testsuite/20_util/move_if_noexcept/requirements/
360 explicit_instantiation.cc: New.
361 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
363 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
365 * include/std/type_traits (struct underlying_type): Add.
366 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
367 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
369 * testsuite/20_util/underlying_type/requirements/
370 explicit_instantiation.cc: Likewise.
371 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
374 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
376 * include/parallel/multiway_merge.h: Uglify equally_split
377 and equally_split_point throughout.
378 * include/parallel/par_loop.h: Likewise.
379 * include/parallel/equally_split.h: Likewise.
380 * include/parallel/set_operations.h: Likewise.
381 * include/parallel/unique_copy.h: Likewise.
382 * include/parallel/multiway_mergesort.h: Likewise.
383 * include/parallel/search.h: Likewise.
384 * include/parallel/partial_sum.h: Likewise.
385 * include/parallel/find.h: Likewise.
387 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
389 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
390 documentation. Expand link text.
392 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
394 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
396 2011-04-22 François Dumont <francois.cppdevs@free.fr>
398 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
399 unused compilation result thanks to /dev/null.
400 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
401 check_v3_target_profile_mode, check_v3_target_normal_mode,
402 check_v3_target_cstdint, check_v3_target_cmath,
403 check_v3_target_atomic_builtins, check_v3_target_gthreads,
404 check_v3_target_nanosleep, check_v3_target_sched_yield,
405 check_v3_target_string_conversions, check_v3_target_swprintf,
406 check_v3_target_binary_io): Use simple preprocessing rather than
407 compilation. Discard unused preprocessing result thanks to /dev/null.
409 2011-04-20 Jim Meyering <meyering@redhat.com>
411 * libsupc++/del_opnt.cc (operator delete): Remove useless
414 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
417 * include/std/type_traits (result_of): Handle pointer to member.
418 * include/std/functional (__invoke): Likewise.
419 (_Function_to_function_pointer): Remove.
420 (_Reference_wrapper_base): Provide nested types independent of
421 unary_function and binary_function.
422 (reference_wrapper::operator()): DR 2017.
423 (ref(const A&&), cref(const A&&): Define as deleted.
424 * include/std/future (async): Simplify SFINAE and use result_of to
425 support pointer to member.
426 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
428 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
429 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
430 instead of derivation from unary_function and binary_function.
431 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
432 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
433 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
434 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
436 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
439 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
440 this part if SAMPLES < 100000.
442 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
444 * include/std/type_traits (is_nothrow_default_constructible,
445 is_nothrow_copy_constructible, is_nothrow_move_constructible,
446 is_copy_constructible, is_move_constructible): Add.
447 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
449 (is_nothrow_constructible): Adjust.
451 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
452 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
453 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
454 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
456 * testsuite/20_util/has_nothrow_default_constructor: Remove.
457 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
459 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
460 * testsuite/20_util/is_nothrow_move_constructible/requirements/
461 typedefs.cc: Likewise.
462 * testsuite/20_util/is_nothrow_move_constructible/requirements/
463 explicit_instantiation.cc: Likewise.
464 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
465 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
466 typedefs.cc: Likewise.
467 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
468 explicit_instantiation.cc: Likewise.
469 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
471 * testsuite/20_util/is_nothrow_default_constructible/requirements/
472 typedefs.cc: Likewise.
473 * testsuite/20_util/is_nothrow_default_constructible/requirements/
474 explicit_instantiation.cc: Likewise.
475 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
476 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
478 * testsuite/20_util/is_move_constructible/requirements/
479 explicit_instantiation.cc: Likewise.
480 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
481 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
483 * testsuite/20_util/is_copy_constructible/requirements/
484 explicit_instantiation.cc: Likewise.
486 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
487 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
489 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
490 Adjust dg-error line numbers.
491 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
493 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
495 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
497 * testsuite/25_algorithms/partition/moveable.cc: Actually run
498 it in parallel-mode for check-parallel.
500 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
501 Paolo Carlini <paolo.carlini@oracle.com>
503 PR libstdc++/48635 (again)
504 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
505 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
506 unique_ptr<>::operator=(unique_ptr<>&&),
507 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
508 forward<_Dp>, to forward the deleter.
509 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
511 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
512 Paolo Carlini <paolo.carlini@oracle.com>
515 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
516 function call operator.
517 * testsuite/20_util/default_delete/48631_neg.cc: New.
518 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
521 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
522 Paolo Carlini <paolo.carlini@oracle.com>
525 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
526 unique_ptr<>::operator=(unique_ptr<>&&),
527 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
528 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
529 instead of moving it.
530 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
532 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
534 * scripts/extract_symvers.pl: Handle NOTY.
536 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
538 * include/std/istream: Fix comments in the light of DR60 + N3168.
540 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
541 Paolo Carlini <paolo.carlini@oracle.com>
544 * include/std/type_traits (struct is_constructible): Re-implement,
546 (struct is_default_constructible): Add.
547 (struct is_destructible): Likewise.
548 (struct __and_, __or_, __not_): Add and use throughout; reorder some
549 facilities, other minor tweaks.
550 * testsuite/util/testsuite_tr1.h: Add test types.
551 * testsuite/20_util/is_constructible/value-2.cc: New.
552 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
553 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
555 * testsuite/20_util/is_default_constructible/requirements/
556 explicit_instantiation.cc: Likewise.
557 * testsuite/20_util/is_destructible/value.cc: Likewise.
558 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
560 * testsuite/20_util/is_destructible/requirements/
561 explicit_instantiation.cc: Likewise.
562 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
563 dg-error line numbers.
564 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
566 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
567 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
569 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
571 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
573 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
574 * testsuite/20_util/is_function/requirements/
575 explicit_instantiation.cc: Likewise.
576 * testsuite/20_util/is_function/24808.cc: Likewise.
577 * testsuite/20_util/is_function/35637.cc: Likewise.
578 * testsuite/20_util/is_object/value.cc: Likewise.
579 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
580 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
582 * testsuite/20_util/is_object/24808.cc: Likewise.
583 * testsuite/20_util/is_compound/value.cc: Likewise.
584 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
585 * testsuite/20_util/is_compound/requirements/
586 explicit_instantiation.cc: Likewise.
587 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
588 * testsuite/20_util/is_member_object_pointer/requirements/
589 typedefs.cc: Likewise.
590 * testsuite/20_util/is_member_object_pointer/requirements/
591 explicit_instantiation.cc: Likewise.
592 * testsuite/20_util/is_fundamental/value.cc: Likewise.
593 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
594 * testsuite/20_util/is_fundamental/requirements/
595 explicit_instantiation.cc: Likewise.
596 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
597 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
599 * testsuite/20_util/is_member_pointer/requirements/
600 explicit_instantiation.cc: Likewise.
601 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
602 * testsuite/20_util/is_member_function_pointer/
603 requirements/typedefs.cc: Likewise.
604 * testsuite/20_util/is_member_function_pointer/requirements/
605 explicit_instantiation.cc: Likewise.
607 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
610 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
613 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
614 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
615 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
616 * testsuite/20_util/tuple/cons/48476.cc: New.
617 * testsuite/20_util/tuple/48476.cc: Likewise.
618 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
620 2011-04-12 Allan McRae <allan@archlinux.org>
623 * testsuite/tr1/6_containers/unordered_map/requirements/
624 iterator_null_neg.cc: Include <cstddef>.
625 * testsuite/tr1/6_containers/unordered_set/requirements/
626 iterator_null_neg.cc: Likewise.
627 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
629 * testsuite/util/testsuite_common_types.h: Include <limits>.
630 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
631 Adjust dg-error line numbers.
632 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
633 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
635 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
637 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
639 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
640 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
642 2011-04-11 Jason Merrill <jason@redhat.com>
644 * testsuite/20_util/is_convertible/value.cc: Adjust.
646 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
648 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
649 it in parallel-mode for check-parallel.
650 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
651 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
652 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
653 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
655 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
656 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
657 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
659 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
660 the tests based on std::lexicographical_compare for check-parallel.
661 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
663 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
666 * include/std/functional (_Base_manager::_M_get_pointer): Use
668 * testsuite/20_util/function/48541.cc: New.
670 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
673 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
674 * configure: Regenerate.
675 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
676 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
678 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
680 * include/ext/algorithm (is_sorted): In C++0x mode import from
682 * include/ext/numeric (iota): In C++0x mode import from
684 * testsuite/ext/is_sorted/cxx0x.cc: New.
685 * testsuite/ext/iota/cxx0x.cc: New.
687 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
690 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
691 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
692 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
693 unused parameter name.
695 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
697 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
698 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
699 redundant default argument from std::__throw_with_nested.
701 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
704 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
705 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
706 * src/Makefile.in: Regenerate.
707 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
708 * include/Makefile.in: Regenerate.
709 * doc/xml/manual/internals.xml: Update.
710 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
711 * config/os/newlib/ctype_configure_char.cc: ... this.
712 * config/os/aix/ctype_noninline.h: Likewise.
713 * config/os/aix/ctype_configure_char.cc: Likewise.
714 * config/os/vxworks/ctype_noninline.h: Likewise.
715 * config/os/vxworks/ctype_configure_char.cc
716 * config/os/hpux/ctype_noninline.h: Likewise.
717 * config/os/hpux/ctype_configure_char.cc: Likewise.
718 * config/os/gnu-linux/ctype_noninline.h: Likewise.
719 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
720 * config/os/mingw32/ctype_noninline.h: Likewise.
721 * config/os/mingw32/ctype_configure_char.cc: Likewise.
722 * config/os/tpf/ctype_noninline.h: Likewise.
723 * config/os/tpf/ctype_configure_char.cc: Likewise.
724 * config/os/uclibc/ctype_noninline.h: Likewise.
725 * config/os/uclibc/ctype_configure_char.cc: Likewise.
726 * config/os/bionic/ctype_noninline.h: Likewise.
727 * config/os/bionic/ctype_configure_char.cc: Likewise.
728 * config/os/djgpp/ctype_noninline.h: Likewise.
729 * config/os/djgpp/ctype_configure_char.cc: Likewise.
730 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
731 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
732 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
733 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
734 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
735 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
736 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
737 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
738 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
739 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
740 * config/os/generic/ctype_noninline.h: Likewise.
741 * config/os/generic/ctype_configure_char.cc: Likewise.
742 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
743 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
745 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
747 * include/std/future (future::share): Add.
748 (packaged_task::result_type): Remove as per LWG 2030.
749 (packaged_task::packaged_task): Remove redundant constructors, as per
751 * testsuite/30_threads/future/members/share.cc: New.
752 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
754 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
756 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
757 members which require a fully established result state.
758 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
760 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
762 * include/bits/random.h (negative_binomial_distribution<>::
763 negative_binomial_distribution(_IntType, double),
764 negative_binomial_distribution<>::
765 negative_binomial_distribution(const param_type&)): Tweak
766 construction of _M_gd.
767 * include/bits/random.tcc (negative_binomial_distribution<>::
770 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
772 * include/bits/random.h (negative_binomial_distribution<>::
773 negative_binomial_distribution(_IntType, double),
774 negative_binomial_distribution<>::
775 negative_binomial_distribution(const param_type&)): Fix
776 construction of _M_gd.
777 * include/bits/random.tcc (negative_binomial_distribution<>::
778 operator()): Fix computation, per Leger's algorithm.
779 * testsuite/util/testsuite_random.h (discrete_pdf,
780 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
781 (binomial_pdf): Swap last two parameters.
782 * testsuite/26_numerics/random/discrete_distribution/
783 operators/values.cc: New.
784 * testsuite/26_numerics/random/negative_binomial_distribution/
785 operators/values.cc: Likewise.
786 * testsuite/26_numerics/random/poisson_distribution/
787 operators/values.cc: Likewise.
788 * testsuite/26_numerics/random/uniform_int_distribution/
789 operators/values.cc: Likewise.
790 * testsuite/26_numerics/random/binomial_distribution/
791 operators/values.cc: Adjust.
793 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
795 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
796 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
797 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
798 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
799 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
801 2011-03-23 Matthias Klose <doko@ubuntu.com>
803 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
805 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
807 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
809 2011-03-22 Joseph Myers <joseph@codesourcery.com>
811 * configure.ac: Don't handle powerpc*-*-gnu*.
812 * configure: Regenerate.
814 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
816 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
818 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
821 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
823 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
825 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
826 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
827 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
828 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
829 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
830 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
831 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
833 2011-03-22 Jakub Jelinek <jakub@redhat.com>
835 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
836 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
837 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
838 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
839 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
840 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
841 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
842 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
843 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
844 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
846 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
847 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
848 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
849 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
850 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
851 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
852 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
853 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
856 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
858 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
859 create compact unwind for" warnings.
861 2011-03-21 Jakub Jelinek <jakub@redhat.com>
863 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
864 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
865 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
867 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
868 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
869 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
870 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
871 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
872 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
873 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
874 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
875 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
877 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
878 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
879 CXXABI_LDBL_1.3 versions.
881 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
883 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
885 2011-03-21 Jakub Jelinek <jakub@redhat.com>
887 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
888 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
890 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
892 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
893 sparc*-sun-solaris2.10 && lp64.
895 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
897 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
898 to check_v3_target_cmath.
899 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
901 * testsuite/26_numerics/random/binomial_distribution/
902 operators/values.cc: Adjust.
904 2011-03-18 Diego Novillo <dnovillo@google.com>
906 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
908 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
909 mixed-mode-arith_neg.cc
911 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
913 * testsuite/util/testsuite_random.h: New.
914 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
915 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
916 * testsuite/26_numerics/random/bernoulli_distribution/
917 operators/values.cc: New.
918 * testsuite/26_numerics/random/binomial_distribution/
919 operators/values.cc: Likewise.
920 * testsuite/26_numerics/random/geometric_distribution/
921 operators/values.cc: Likewise.
923 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
925 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
926 * testsuite/19_diagnostics/stdexcept.cc: New.
928 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
930 * include/std/thread: Revert.
931 * src/thread.cc: Same.
932 * config/abi/pre/gnu.ver: Same.
934 2011-03-15 Doug Kwan <dougkwan@google.com>
937 * include/Makefile.am (install-freestanding-headers): Install
939 * include/Makefile.in: Regenerate.
941 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
943 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
944 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
946 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
949 * src/future.cc: Guard definitions.
950 * libsupc++/nested_exception.cc: Same.
952 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
954 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
955 * src/Makefile.in: Regenerate.
956 * libsupc++/Makefile.am: Add nested_exception.cc.
957 * libsupc++/Makefile.in: Regenerate.
958 * src/system_error.cc: Add ctor and dtor definitions for error_category.
959 * src/functional.cc: New. Add dtor definition for bad_function_call.
960 * src/stdexcept.cc: Add dtor definitions for domain_error,
961 invalid_argument, length_error, out_of_range, range_error,
962 overflow_error, underflow_error.
963 * src/future.cc: Add dtor definition for __future_base::_Result_base.
964 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
965 * src/thread.cc: Add dtor for thread::_Impl_base.
966 * include/std/system_error: Adjust.
967 * include/std/stdexcept: Same.
968 * include/std/future: Same.
969 * include/std/functional: Same.
970 * include/std/thread: Same.
971 * include/bits/shared_ptr_base.h: Same.
972 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
973 * libsupc++/nested_exception.h: Adjust.
974 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
975 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
976 * config/abi/pre/gnu.ver: Add new exports.
978 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
980 * include/bits/regex_compiler.h: Nest namespace versioning.
981 * include/bits/regex_grep_matcher.tcc: Same.
982 * include/bits/regex_grep_matcher.h: Same.
983 * include/bits/regex_cursor.h: Same.
984 * include/bits/regex_nfa.h: Same.
985 * include/bits/regex_nfa.tcc: Same.
987 * include/bits/regex_grep_matcher.h: Version forward declarations.
988 * include/bits/c++config: Add namespace association for __regex.
989 * include/bits/regex.h: Make sub_match consistent.
991 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
993 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
995 * doc/html/manual/abi.html: Regenerate.
997 2011-03-14 Tom Tromey <tromey@redhat.com>
999 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
1000 Try to import `gdb.printing' module.
1001 (UniquePointerPrinter.__init__): Add 'typename' argument.
1002 (StdSlistPrinter.__init__): Likewise.
1003 (StdSlistIteratorPrinter.__init__): Likewise.
1004 (StdVectorIteratorPrinter.__init__): Likewise.
1005 (StdRbtreeIteratorPrinter.__init__): Likewise.
1006 (StdDebugIteratorPrinter.__init__): Likewise.
1007 (StdDequeIteratorPrinter.__init__): Likewise.
1008 (StdStringPrinter.__init__): Likewise.
1009 (RxPrinter, Printer): New class.
1010 (libstdcxx_printer): New global.
1011 (register_libstdcxx_printers): Rewrite.
1012 (build_libstdcxx_dictionary): Rewrite.
1013 (pretty_printers_dict): Remove.
1015 2011-03-14 Andrey Zholos <aaz@althenia.net>
1018 * include/bits/random.h (geometric_distribution): Correct formula
1019 in comment, per C++0x.
1020 (geometric_distribution<>::param_type::param_type(double)): Fix check.
1021 (geometric_distribution<>::param_type::_M_initialize):
1023 * include/bits/random.tcc (geometric_distribution<>::operator()):
1025 (binomial_distribution<>::operator()): Likewise.
1027 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
1029 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
1031 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
1032 Chris Jefferson <chris@bubblescope.net>
1033 Paolo Carlini <paolo.carlini@oracle.com>
1035 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
1037 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1039 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
1041 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
1043 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
1045 2011-03-09 Chris Jefferson <chris@bubblescope.net>
1048 * include/bits/stl_algo.h (__merge_backward): Rename to
1049 __move_merge_backward and change to always move rather than copy.
1050 (__move_merge): New function similar to std::merge except values
1051 are moved instead of copied.
1052 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
1053 and __merge_backward to __move_merge and __move_merge_backward.
1055 2011-03-07 Jason Merrill <jason@redhat.com>
1057 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
1060 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
1061 Matthias Klose <doko@ubuntu.com>
1062 Jonathan Wakely <redi@gcc.gnu.org>
1065 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
1066 * configure.ac: Use it.
1067 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
1068 * configure: Regenerate.
1069 * doc/Makefile.in: Regenerate.
1071 2011-03-04 Benjamin Kosnik <bkoz@chula>
1073 * src/Makefile.am (inst_sources): Make source instantion files
1075 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
1076 * src/Makefile.in: Regenerate.
1077 * src/valarray-inst.cc: Move to..
1078 * src/valarray.cc: ...this.
1079 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1080 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1081 * configure: Regenerate.
1082 * include/Makefile.am (stamp-extern-template): Add.
1083 * include/Makefile.in: Regenerate.
1085 * doc/xml/manual/configure.xml: Document --enable-extern-template.
1087 * include/bits/locale_classes.tcc: Adjust comment.
1088 * include/bits/locale_facets.tcc: Same.
1089 * include/bits/basic_ios.tcc: Same.
1090 * include/bits/istream.tcc: Same.
1091 * include/bits/codecvt.h: Same.
1092 * include/bits/ostream.tcc: Same.
1093 * include/bits/sstream.tcc: Same.
1094 * include/bits/c++config: Same.
1095 * include/bits/basic_string.tcc: Same.
1096 * include/bits/ostream_insert.h: Same.
1097 * include/bits/locale_facets_nonio.tcc: Same.
1098 * include/bits/streambuf.tcc: Same.
1099 * include/bits/allocator.h: Same.
1100 * include/bits/fstream.tcc: Same.
1102 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1104 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1106 * testsuite/Makefile.am: Make clean fixups.
1107 * testsuite/Makefile.in: Regenerate.
1109 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1111 * include/std/ratio (ratio_less): Add comments.
1113 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1116 * include/std/ratio (ratio_add): Avoid denominator overflow.
1117 * testsuite/20_util/ratio/operations/47913.cc: New.
1119 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1121 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1122 * testsuite/20_util/hash/quality.cc: Same.
1124 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1127 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1129 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1130 xputn): Use the latter.
1131 * include/bits/streambuf_iterator.h: Likewise.
1132 * src/strstream.cc: Likewise.
1133 * src/streambuf.cc: Likewise.
1134 * src/compatibility.cc: Likewise.
1135 * src/istream.cc: Likewise.
1136 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1138 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1139 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1140 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1141 * config/abi/pre/gnu.ver: Tweak.
1143 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1145 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1147 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1150 * include/std/ratio (ratio_less): Reimplement to never overflow.
1151 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1153 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1155 * testsuite/18_support/type_info/fundamental.cc: New.
1157 * testsuite/Makefile.am: Make clean fixups.
1158 * testsuite/Makefile.in: Regenerate.
1160 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1162 * include/debug/string (basic_string::insert): Add iterator check and
1163 pass normal iterator to normal insert.
1164 * include/debug/macros.h (__glibcxx_check_heap,
1165 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1168 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1171 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1172 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1174 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1176 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1177 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1178 (basic_regex::operator=(basic_regex&&)): Likewise.
1179 (basic_regex::assign(basic_regex&&)): Likewise.
1180 (operator==(sub_match,...)): Implement DR 1181.
1181 (match_results::match_results(match_results&&)): Define.
1182 (match_results::operator=(const match_results&)): Fix parameter type.
1183 (match_results::operator=(match_results&&)): Define.
1185 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1188 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1189 line anchors as metacharacters.
1190 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1192 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1195 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1196 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1197 hash<__gnu_cxx::__u32vstring>): Add.
1198 * testsuite/ext/vstring/hash/char/1.cc: New.
1199 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1201 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1203 * include/bits/regex.h (match_results::format): Use char_traits.
1205 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1207 * include/std/atomic: Remove atomic_address, uplift to N3225.
1208 * include/bits/atomic_0.h: Same.
1209 * include/bits/atomic_2.h: Same.
1210 * include/bits/atomic_base.h: Same.
1211 * testsuite/29_atomics/atomic_address/*: Delete.
1213 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1215 * include/bits/regex.h (sub_match::sub_match): Add.
1216 (match_results::ready): Add.
1217 (match_results::empty): Adjust.
1218 (match_results::length): Add missing dereference.
1219 (match_results::operator[],prefix,suffix): Add debug mode checks.
1220 (match_results::cend): Re-use end().
1221 (match_results::format): Adjust signatures.
1222 (operator==(match_results,match_results)): Implement.
1223 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1224 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1225 * include/bits/regex_grep_matcher.h: Fix comment typo.
1226 (_SpecializedResults::_SpecializedResults): Simplify.
1227 * include/bits/regex_cursor.h: Fix comment typo.
1228 * include/bits/regex_nfa.h: Likewise.
1229 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1230 Fix error code, remove xfail.
1231 * testsuite/28_regex/basic_regex/ctors/extended/
1232 string_range_01_02_03.cc: Likewise.
1234 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1236 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1237 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1239 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1241 * configure: Regenerate.
1243 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1246 * include/ext/algorithm (is_heap): In C++0x mode import from
1248 * testsuite/ext/is_heap/47709.cc: New.
1250 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1251 Jonathan Wakely <jwakely.gcc@gmail.com>
1254 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1255 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1257 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1259 * include/tr1/cmath (fabs): Define.
1260 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1263 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1265 * testsuite/tr1/headers/c++200x/complex.cc: New.
1267 2011-02-11 Johannes Singler <singler@kit.edu>
1270 * include/parallel/losertree.h
1271 (_LoserTreeUnguarded<>::__delete_min_insert):
1272 Add missing "using std::swap;", as for other variants.
1274 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1276 * src/Makefile.am (sources): Add regex.cc.
1277 * src/Makefile.in: Regenerate.
1278 * src/regex.cc: New.
1279 * include/bits/regex_error.h (error_type): Use constexpr.
1280 (regex_error): Move ctor and dtor out of line.
1282 * testsuite/28_regex/03_requirements: To...
1283 * testsuite/28_regex/requirements: ... this.
1284 * testsuite/28_regex/04_header: To...
1285 * testsuite/28_regex/headers: ... this.
1286 * testsuite/28_regex/05_constants: To...
1287 * testsuite/28_regex/constants: ... this.
1288 * testsuite/28_regex/06_exception_type: To...
1289 * testsuite/28_regex/regex_error: ... this.
1290 * testsuite/28_regex/07_traits: To...
1291 * testsuite/28_regex/traits: ... this.
1292 * testsuite/28_regex/08_basic_regex: To...
1293 * testsuite/28_regex/basic_regex: ... this.
1294 * testsuite/28_regex/09_sub_match: To...
1295 * testsuite/28_regex/sub_match: ... this.
1296 * testsuite/28_regex/10_match_results: To...
1297 * testsuite/28_regex/match_results: ... this.
1298 * testsuite/28_regex/11_algorithms: To...
1299 * testsuite/28_regex/algorithms: ... this.
1300 * testsuite/28_regex/12_iterators: To...
1301 * testsuite/28_regex/iterators: ... this.
1303 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1306 * include/bits/c++config: Do not use alternative token.
1307 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1309 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1311 * src/future.cc (future_error_category::message): Handle no_state.
1313 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1315 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1316 not test in C++0x mode.
1317 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1318 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1321 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1323 * doc/xml/manual/status_cxx200x.xml: Update.
1324 * doc/html/*: Regenerate.
1326 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1328 * doc/xml/manual/debug.xml: Improve data race docs.
1330 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1333 * include/debug/map.h (map): Remove unnecessary using-declaration.
1334 * include/debug/multimap.h (multimap): Likewise.
1335 * include/profile/map.h (map): Likewise.
1336 * include/profile/multimap.h (multimap): Likewise.
1338 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1341 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1343 * libsupc++/guard_error.cc: ... new file.
1344 * libsupc++/Makefile.am: Update.
1345 * libsupc++/Makefile.in: Regenerate.
1347 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1349 * include/std/future (packaged_task::operator bool): Rename to...
1350 (packaged_task::valid): ...this.
1351 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1352 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1353 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1354 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1355 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1356 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1357 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1358 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1359 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1360 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1361 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1363 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1365 * doc/xml/manual/io.xml: Fix typo.
1366 * doc/html/manual/streambufs.html: Likewise.
1368 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1370 * config/abi/pre/gnu.ver: Fix.
1372 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
1374 * doc/xml/manual/appendix_porting.xml: Add doc section.
1375 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1376 * doc/xml/manual/documentation_hacking.xml: ...here.
1378 * doc/xml/manual/debug_mode.xml: Adjust.
1379 * doc/xml/manual/prerequisites.xml: Adjust.
1380 * doc/Makefile.am (xml_sources): Add dot files,
1381 documentation_hacking.xml.
1382 * doc/Makefile.in: Regenerate.
1384 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1385 * doc/xml/images/confdeps.pdf: Add.
1387 * doc/html/*: Regenerate.
1389 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1391 * doc/xml/gnu/fdl-1.2.xml: Remove.
1392 * doc/xml/gnu/gpl-2.0.xml: Remove.
1393 * doc/Makefile.am: Update.
1394 * doc/Makefile.in: Regenerate.
1396 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1399 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1400 iterator)): Add back in C++03 mode.
1401 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1402 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1404 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
1406 PR libstdc++/47560 try two
1407 * config/os/hpux/os_defines.h: Guard for C++.
1409 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1411 * doc/xml/faq.xml: Adjust link to bug database.
1412 Remove old item on broken header files.
1414 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1416 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1417 * src/functexcept.cc: Add definition.
1418 * config/abi/pre/gnu.ver: Export.
1420 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1422 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1423 * configure: Regenerate.
1425 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1428 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1429 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1430 avoid name conflicts.
1432 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1435 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1437 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1439 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1440 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1441 (COMPACT_LATEX): Enable.
1443 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1444 * include/profile/impl/profiler_hash_func.h: Same.
1445 * include/bits/hashtable.h: Same.
1446 * include/backward/auto_ptr.h: Same.
1447 * include/backward/strstream: Same.
1448 * include/backward/backward_warning.h: Same.
1449 * include/backward/binders.h: Same.
1451 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1453 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1454 Adjust link to GDB manual.
1456 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1458 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1459 _GLIBCXX_USE_DEPRECATED.
1460 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1461 * doc/xml/manual/using.xml: Same.
1462 * include/std/memory: Same.
1463 * include/std/streambuf: Same.
1464 * include/bits/shared_ptr.h: Same.
1465 * include/bits/unique_ptr.h: Same.
1466 * include/bits/shared_ptr_base.h: Same.
1467 * include/bits/stl_function.h: Same.
1468 * include/tr1/shared_ptr.h: Same.
1469 * include/backward/auto_ptr.h: Same.
1470 * include/backward/binders.h: Same.
1472 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1474 * doc/html/ext/lwg-active.html: Update to Revision D73.
1475 * doc/html/ext/lwg-closed.html: Likewise.
1476 * doc/html/ext/lwg-defects.html: Likewise.
1477 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1479 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1481 PR libstdc++/36104 part four
1482 * include/bits/c++config (_GLIBCXX_STD): Remove.
1483 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1484 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1485 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1486 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1487 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1488 _GLIBCXX_INLINE_PROFILE): Remove.
1489 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1490 (_GLIBCXX_END_NAMESPACE): Remove.
1491 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1492 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1493 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1494 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1495 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1496 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1497 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1498 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1499 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1500 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1501 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1502 * include/*: Use new macros for namespace scope.
1506 * src/Makefile.am (sources): Remove debug_list.cc, add
1507 compatibility-debug_list-2.cc.
1508 (parallel_sources): Remove parallel_list.cc, add
1509 compatibility-parallel_list-2.cc.
1510 (compatibility-parallel_list-2.[o,lo]): New rule.
1511 * src/Makefile.in: Regenerate.
1512 * src/debug_list.cc: Remove.
1513 * src/parallel_list.cc: Remove.
1514 * src/compatibility-list-2.cc: New.
1515 * src/compatibility-debug_list-2.cc: New.
1516 * src/compatibility-parallel_list-2.cc: New.
1518 * doc/doxygen/user.cfg.in: Adjust macros.
1520 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1521 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1522 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1523 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1524 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1525 * testsuite/20_util/forward/c_neg.cc: Same.
1526 * testsuite/20_util/forward/f_neg.cc: Same.
1527 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1528 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1529 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1530 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1531 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1532 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1533 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1534 * testsuite/23_containers/deque/requirements/dr438/
1535 constructor_1_neg.cc: Same.
1536 * testsuite/23_containers/deque/requirements/dr438/
1537 constructor_2_neg.cc: Same.
1538 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1539 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1540 * testsuite/23_containers/forward_list/requirements/dr438/
1541 assign_neg.cc: Same.
1542 * testsuite/23_containers/forward_list/requirements/dr438/
1543 constructor_1_neg.cc: Same.
1544 * testsuite/23_containers/forward_list/requirements/dr438/
1545 constructor_2_neg.cc: Same.
1546 * testsuite/23_containers/forward_list/requirements/dr438/
1547 insert_neg.cc: Same.
1548 * testsuite/23_containers/list/capacity/29134.cc: Same.
1549 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1550 * testsuite/23_containers/list/requirements/dr438/
1551 constructor_1_neg.cc: Same.
1552 * testsuite/23_containers/list/requirements/dr438/
1553 constructor_2_neg.cc: Same.
1554 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1555 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1556 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1557 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1558 * testsuite/23_containers/vector/requirements/dr438/
1559 constructor_1_neg.cc: Same.
1560 * testsuite/23_containers/vector/requirements/dr438/
1561 constructor_2_neg.cc: Same.
1562 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1563 * testsuite/25_algorithms/sort/35588.cc: Same.
1564 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1565 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1566 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1567 * testsuite/ext/profile/profiler_algos.cc: Same.
1568 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1569 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1570 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1571 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1572 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1574 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1576 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1577 Improve description of one such reference.
1579 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1581 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1582 Standards Revision Group.
1583 * doc/xml/manual/locale.xml: Ditto.
1584 * doc/xml/manual/messages.xml: Ditto.
1585 * doc/xml/manual/using_exceptions.xml: Ditto.
1587 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1589 * include/bits/atomic_base.h: Do not include <stddef.h>.
1590 (kill_dependency): Uglify ret.
1592 2011-01-26 Johannes Singler <singler@kit.edu>
1594 * include/parallel/numeric (inner_product, partial_sum):
1595 Qualify subsequent call with __gnu_parallel instead of
1596 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1597 * include/parallel/algobase.h (equal): Likewise.
1598 * include/parallel/algo.h (find_first_of, search_n, merge,
1599 nth_element, partial_sort, max_element, min_element): Likewise.
1600 * testsuite/25_algorithms/headers/algorithm/
1601 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1602 * testsuite/25_algorithms/headers/algorithm/
1603 parallel_algorithm_mixed2.cc (main): Likewise.
1604 * testsuite/26_numerics/headers/numeric/
1605 parallel_numeric_mixed1.cc (main): Likewise.
1606 * testsuite/26_numerics/headers/numeric/
1607 parallel_numeric_mixed2.cc (main): Likewise.
1609 2011-01-24 Graham Reed <greed@pobox.com>
1612 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1615 2011-01-24 Johannes Singler <singler@kit.edu>
1618 * include/parallel/losertree.h
1619 (_LoserTree<>::__delete_min_insert):
1620 Do not qualify swap with std:: for value type,
1621 but include a using directive instead.
1622 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1623 * include/parallel/balanced_quicksort.h (__qsb_divide):
1624 Use std::iter_swap instead of std::swap.
1625 (__qsb_local_sort_with_helping): Likewise.
1626 * include/parallel/partition.h (__parallel_partition):
1627 Likewise. (__parallel_nth_element): Likewise.
1629 2011-01-24 Johannes Singler <singler@kit.edu>
1632 * include/parallel/multiway_merge.h (_UnguardedIterator):
1633 Remove useless "mutable" from reference declaration.
1635 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1637 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1638 * include/debug/safe_sequence.h: Same.
1639 * include/debug/safe_iterator.h: Same.
1640 * include/std/forward_list: Same.
1641 * include/std/deque: Same.
1642 * include/std/list: Same.
1643 * include/std/random: Same.
1644 * include/std/streambuf: Same.
1645 * include/std/fstream: Same.
1646 * include/std/istream: Same.
1647 * include/std/string: Same.
1648 * include/std/ostream: Same.
1649 * include/std/sstream: Same.
1650 * include/ext/vstring.h: Same.
1651 * include/bits/basic_ios.h: Same.
1652 * include/bits/locale_classes.h: Same.
1653 * include/bits/locale_facets.h: Same.
1654 * include/bits/valarray_array.h: Same.
1655 * include/bits/locale_facets_nonio.h: Same.
1656 * include/tr1/random: Same.
1658 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1660 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1662 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1664 PR libstdc++/36104 part three
1665 * src/hashtable_c++0x.cc: Adjust namespace macros.
1666 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1667 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1669 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1671 * include/ext/pb_ds/detail/resize_policy/
1672 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1673 * include/ext/pb_ds/detail/pat_trie_/
1674 constructors_destructor_fn_imps.hpp: Same.
1675 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1676 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1677 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1679 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1680 iterations downward when testing in debug mode.
1681 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1682 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1683 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1684 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1685 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1686 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1687 reduce in debug mode.
1689 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1691 PR libstdc++/36104 part two
1692 * include/bits/hashtable.h: Revert to non-nested macro usage.
1693 * include/bits/hashtable_policy.h: Same.
1695 2011-01-19 Graham Reed <greed@pobox.com>
1698 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1700 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1702 * doc/xml/images/confdeps.png: Regenerate.
1704 * include/std/chrono (duration): Mark copy constructor constexpr.
1705 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1707 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1709 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1710 Declare defaulted per DR 1517.
1711 * testsuite/util/testsuite_common_types.h
1712 (constexpr_defaulted_default_constructible): Add.
1713 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1715 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1717 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1719 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1721 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1724 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1725 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1727 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1730 * testsuite/18_support/numeric_limits/lowest.cc:
1731 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1733 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1736 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1737 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1739 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1741 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1742 to this. Use _neg suffix.
1743 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1745 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1747 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1748 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1750 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1751 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1753 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1754 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1756 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1757 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1759 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1760 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1762 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1763 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1765 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1766 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1768 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1769 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1771 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1772 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1774 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1775 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1777 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1778 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1780 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1781 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1783 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1784 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1786 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1787 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1789 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1791 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1794 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1795 * include/Makefile.in: Regenerate.
1796 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1797 (install-stdHEADERS, install-bitsHEADERS): New.
1798 * libsupc++/Makefile.in: Regenerate.
1800 * include/bits/c++config: Update for inline namespaces.
1801 * libsupc++/cxxabi-forced.h: To...
1802 * libsupc++/cxxabi_forced.h: ...this.
1803 * libsupc++/hash_bytes.h: Separate file.
1804 * libsupc++/typeinfo: Use it.
1805 * libsupc++/exception: Adjust for bits subdirectory.
1806 * libsupc++/eh_aux_runtime.cc: Same.
1807 * libsupc++/eh_ptr.cc: Same.
1808 * libsupc++/new_op.cc: Same.
1809 * libsupc++/exception_defines.h: Same.
1810 * libsupc++/nested_exception.h: Same.
1811 * libsupc++/eh_terminate.cc: Same.
1812 * libsupc++/vec.cc: Same.
1813 * libsupc++/vterminate.cc: Same.
1814 * libsupc++/exception_ptr.h: Same.
1815 * libsupc++/eh_personality.cc: Same.
1816 * libsupc++/eh_call.cc: Same.
1817 * libsupc++/new_opnt.cc: Same.
1818 * libsupc++/hash_bytes.cc: Same.
1819 * config/cpu/arm/cxxabi_tweaks.h: Same.
1820 * config/cpu/generic/cxxabi_tweaks.h: Same.
1821 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1822 * include/std/bitset: Same.
1823 * include/ext/vstring.tcc: Same.
1824 * include/bits/hashtable.h: Same.
1825 * include/bits/functional_hash.h: Same.
1826 * include/bits/hashtable_policy.h: Same.
1827 * include/bits/basic_string.h: Same.
1828 * include/bits/istream.tcc: Same.
1829 * include/bits/ostream.tcc: Same.
1830 * include/bits/algorithmfwd.h: Same.
1831 * include/bits/basic_string.tcc: Same.
1832 * include/bits/ostream_insert.h: Same.
1833 * include/bits/fstream.tcc: Same.
1834 * include/bits/functexcept.h: Same.
1836 * doc/doxygen/user.cfg.in: Adjust names.
1838 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1840 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1842 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1844 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1846 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1848 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1849 * testsuite/25_algorithms/is_permutation/requirements/
1850 explicit_instantiation/2.cc: Likewise.
1851 * testsuite/25_algorithms/is_permutation/requirements/
1852 explicit_instantiation/pod.cc: Likewise.
1853 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1855 2011-01-13 John Lakos <jlakos@bloomberg.net>
1856 Pablo Halpern <phalpern@halpernwightsoftware.com>
1857 Paolo Carlini <paolo.carlini@oracle.com>
1859 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1860 * include/bits/algorithmfwd.h: Add.
1862 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1865 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1867 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1869 * aclocal.m4: Regenerate.
1871 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1874 * src/placeholders.cc: New.
1875 * src/Makefile.am: Adjust.
1876 * src/Makefile.in: Regenerate.
1877 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1879 * config/abi/pre/gnu.ver: Export.
1881 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1883 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1884 * include/src/debug.cc: Use latter
1885 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1886 correctly handle before_begin iterators.
1887 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1888 useless _GLIBCXX_DEBUG checks.
1890 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1893 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1894 * configure: Regenerated.
1896 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1899 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1902 Copyright (C) 2011 Free Software Foundation, Inc.
1904 Copying and distribution of this file, with or without modification,
1905 are permitted in any medium without royalty provided the copyright
1906 notice and this notice are preserved.