1 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/std/tuple (tuple_element<__i, const _Tp>,
4 tuple_element<__i, volatile _Tp>, tuple_element<__i,
5 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
6 tuple_size<const volatile _Tp>): Add.
7 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
8 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
9 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
10 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
11 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
14 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
16 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
18 (__get_helper): Likewise.
19 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
20 * include/bits/move.h (swap): Likewise.
21 * include/bits/algorithmfwd.h (swap): Adjust.
22 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
23 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
24 mode, prefer delete to access control to make the type not copy
26 * testsuite/util/testsuite_tr1.h: Add test classes.
27 * testsuite/20_util/tuple/noexcept_swap.cc: New.
28 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
29 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
30 delete to access control.
31 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
32 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
35 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
37 * testsuite/util/testsuite_tr1.h: Add test classes.
38 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
40 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
42 * include/std/type_traits (is_assignable, is_copy_assignable,
43 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
44 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
45 (has_nothrow_copy_assign): Remove.
46 * testsuite/util/testsuite_tr1.h: Add test classes.
47 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
48 * testsuite/20_util/is_assignable/requirements/
49 explicit_instantiation.cc: Likewise.
50 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
51 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
53 * testsuite/20_util/is_nothrow_assignable/requirements/
54 explicit_instantiation.cc: Likewise.
55 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
56 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
58 * testsuite/20_util/is_move_assignable/requirements/
59 explicit_instantiation.cc: Likewise.
60 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
61 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
63 * testsuite/20_util/is_copy_assignable/requirements/
64 explicit_instantiation.cc: Likewise.
65 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
66 * testsuite/20_util/is_nothrow_move_assignable/requirements/
67 typedefs.cc: Likewise.
68 * testsuite/20_util/is_nothrow_move_assignable/requirements/
69 explicit_instantiation.cc: Likewise.
70 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
71 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
72 typedefs.cc: Likewise.
73 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
74 explicit_instantiation.cc: Likewise.
75 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
76 dg-error line numbers.
77 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
79 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
81 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
83 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
84 functions as defaulted/deleted.
85 * include/bits/shared_ptr.h: Use noexcept.
86 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
87 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
89 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
91 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
93 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
95 * libsupc++/initializer_list: Use noexcept specifier.
96 (initializer_list<>::size, begin, end): Qualify as const.
97 * include/bits/move.h (__addressof, forward, move, addressof): Specify
99 * include/std/bitset: Use noexcept specifier throughout.
100 * include/debug/bitset: Update.
101 * include/profile/bitset: Likewise.
103 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
105 * include/std/tuple: Use noexcept where appropriate.
106 (tuple<>::swap): Rework implementation.
107 (_Head_base<>::_M_swap_impl): Remove.
108 (get(std::tuple<>&&)): Add.
109 * testsuite/20_util/tuple/element_access/get2.cc: New.
110 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
113 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
115 * include/std/utility: Simplify the last commit, the whole
116 std::get code is C++0x only.
118 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
120 * include/std/utility (get(std::pair<>&&)): Add.
121 * include/bits/stl_pair.h (pair::swap(pair&),
122 swap(pair<>&, pair<>&)): Use noexcept.
123 * include/bits/random.h (discard_block_engine<>::base,
124 independent_bits_engine<>::base, shuffle_order_engine<>::base,
125 random_device::entropy): Use noexcept.
126 * include/std/array: Use noexcept where appropriate.
127 (get(array<>&&)): Add.
128 * testsuite/23_containers/array/requirements/get.cc: New.
129 * testsuite/20_util/pair/get.cc: Likewise.
130 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
133 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
135 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
137 * include/std/limits: Use the latter everywhere.
138 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
139 macro usages, the specializations exist only in C++0x mode.
140 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
143 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
145 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
147 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
149 2011-05-11 François Dumont <francois.cppdevs@free.fr>
151 * include/ext/pb_ds/detail/resize_policy/
152 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
153 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
154 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
155 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
156 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
157 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
158 * include/ext/pb_ds/detail/debug_map_base.hpp,
159 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
160 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
161 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
162 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
163 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
164 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
165 macro definitions move...
166 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
167 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
168 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
169 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
170 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
171 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
172 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
173 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
174 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
177 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
180 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
181 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
182 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
183 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
184 scalbn, tgamma, trunc): Use __enable_if on the return type.
185 * include/tr1/cmath: Likewise.
186 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
187 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
189 2011-05-07 François Dumont <francois.cppdevs@free.fr>
191 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
192 (_GLICXX_DEBUG_VERIFY): Use latter.
193 * include/ext/pb_ds/detail/resize_policy/
194 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
195 containing the original assert call.
196 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
197 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
198 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
199 split_join_fn_imps.hpp: Likewise.
200 * include/ext/pb_ds/detail/cc_hash_table_map_/
201 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
202 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
203 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
204 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
205 erase_no_store_hash_fn_imps.hpp: Likewise.
206 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
207 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
208 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
209 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
211 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
212 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
213 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
214 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
216 * include/ext/pb_ds/detail/gp_hash_table_map_/
217 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
218 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
219 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
220 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
221 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
223 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
224 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
225 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
226 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
227 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
228 find_fn_imps.hpp, insert_fn_imps.hpp,
229 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
230 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
231 * include/ext/pb_ds/detail/binomial_heap_/
232 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
233 binomial_heap_.hpp: Likewise.
234 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
235 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
236 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
237 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
238 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
239 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
240 split_join_fn_imps.hpp: Likewise.
241 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
242 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
243 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
244 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
245 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
246 find_fn_imps.hpp, insert_fn_imps.hpp,
247 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
248 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
249 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
250 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
251 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
252 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
253 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
254 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
255 split_join_fn_imps.hpp: Likewise.
256 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
257 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
258 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
259 * include/ext/pb_ds/hash_policy.hpp: Likewise.
261 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
263 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
265 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
267 PR libstdc++/47913 (again)
268 * include/std/ratio (ratio_add, ratio_less): Rewrite.
269 * testsuite/20_util/ratio/operations/47913.cc: Extend.
270 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
272 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
274 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
277 * include/std/valarray (valarray<>::valarray(valarray&&),
278 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
279 * doc/xml/manual/status_cxx200x.xml: Update.
280 * testsuite/26_numerics/valarray/moveable.cc: New.
281 * testsuite/26_numerics/valarray/swap.cc: Likewise.
283 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
286 * include/parallel/multiway_merge.h: Run _ValueType destructors.
287 * include/parallel/multiway_mergesort.h: Likewise.
288 * include/parallel/quicksort.h: Likewise.
289 * include/parallel/random_shuffle.h: Likewise.
290 * include/parallel/partial_sum.h: Likewise.
291 * include/parallel/losertree.h: Run destructors; minor tweaks.
292 * include/parallel/par_loop.h: Run destructors, fix memory
293 allocations and deallocations.
294 * testsuite/26_numerics/accumulate/48750.cc: New.
296 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
297 parallel-mode to avoid spurious multiple errors.
299 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
301 * include/std/functional (bind): Remove from overload set when first
302 argument type might be a socket file descriptor.
303 * testsuite/20_util/bind/socket.cc: New.
305 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
308 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
309 * doc/html/*: Regenerate.
311 2011-05-02 Ollie Wild <aaw@google.com>
313 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
314 Fix unqualified lookup.
315 (__sso_string_base<>::_M_assign): Likewise.
316 (__sso_string_base<>::_M_reserve): Likewise.
317 (__sso_string_base<>::_M_mutate): Likewise.
318 (__sso_string_base<>::_M_erase): Likewise.
319 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
320 (__versa_string<>::compare): Likewise.
321 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
323 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
325 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
327 * doc/xml/manual/documentation_hacking.xml: Fix typo.
328 * doc/html/*: Regenerate.
330 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
332 * include/std/type_traits (__is_default_constructible_atom,
333 __is_default_constructible_safe<, true>,
334 __is_direct_constructible_new_safe,
335 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
336 __is_direct_constructible_ref_cast, __is_direct_constructible,
337 __is_nary_constructible): Simplify; add comments throughout.
339 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
341 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
342 Adjust dg-error line numbers.
343 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
345 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
347 2011-04-30 Doug Kwan <dougkwan@google.com>
349 * include/Makefile.am (install-freestanding-headers): Also install
351 * include/Makefile.in: Regenerate.
353 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
356 * include/std/complex (complex<float>::complex(float, float),
357 complex<double>::complex(double, double),
358 complex<long double>::complex(long double, long double)): Use
359 list-initialization in C++0x mode, initialize in the body in
361 * testsuite/26_numerics/complex/cons/48760.cc: New.
362 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
364 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
366 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
367 tweak, remove redundant round braces.
369 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
371 * include/bits/move.h (move_if_noexcept): Add.
372 * testsuite/20_util/move_if_noexcept/requirements/
373 explicit_instantiation.cc: New.
374 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
376 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
378 * include/std/type_traits (struct underlying_type): Add.
379 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
380 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
382 * testsuite/20_util/underlying_type/requirements/
383 explicit_instantiation.cc: Likewise.
384 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
387 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
389 * include/parallel/multiway_merge.h: Uglify equally_split
390 and equally_split_point throughout.
391 * include/parallel/par_loop.h: Likewise.
392 * include/parallel/equally_split.h: Likewise.
393 * include/parallel/set_operations.h: Likewise.
394 * include/parallel/unique_copy.h: Likewise.
395 * include/parallel/multiway_mergesort.h: Likewise.
396 * include/parallel/search.h: Likewise.
397 * include/parallel/partial_sum.h: Likewise.
398 * include/parallel/find.h: Likewise.
400 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
402 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
403 documentation. Expand link text.
405 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
407 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
409 2011-04-22 François Dumont <francois.cppdevs@free.fr>
411 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
412 unused compilation result thanks to /dev/null.
413 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
414 check_v3_target_profile_mode, check_v3_target_normal_mode,
415 check_v3_target_cstdint, check_v3_target_cmath,
416 check_v3_target_atomic_builtins, check_v3_target_gthreads,
417 check_v3_target_nanosleep, check_v3_target_sched_yield,
418 check_v3_target_string_conversions, check_v3_target_swprintf,
419 check_v3_target_binary_io): Use simple preprocessing rather than
420 compilation. Discard unused preprocessing result thanks to /dev/null.
422 2011-04-20 Jim Meyering <meyering@redhat.com>
424 * libsupc++/del_opnt.cc (operator delete): Remove useless
427 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
430 * include/std/type_traits (result_of): Handle pointer to member.
431 * include/std/functional (__invoke): Likewise.
432 (_Function_to_function_pointer): Remove.
433 (_Reference_wrapper_base): Provide nested types independent of
434 unary_function and binary_function.
435 (reference_wrapper::operator()): DR 2017.
436 (ref(const A&&), cref(const A&&): Define as deleted.
437 * include/std/future (async): Simplify SFINAE and use result_of to
438 support pointer to member.
439 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
441 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
442 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
443 instead of derivation from unary_function and binary_function.
444 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
445 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
446 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
447 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
449 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
452 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
453 this part if SAMPLES < 100000.
455 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
457 * include/std/type_traits (is_nothrow_default_constructible,
458 is_nothrow_copy_constructible, is_nothrow_move_constructible,
459 is_copy_constructible, is_move_constructible): Add.
460 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
462 (is_nothrow_constructible): Adjust.
464 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
465 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
466 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
467 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
469 * testsuite/20_util/has_nothrow_default_constructor: Remove.
470 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
472 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
473 * testsuite/20_util/is_nothrow_move_constructible/requirements/
474 typedefs.cc: Likewise.
475 * testsuite/20_util/is_nothrow_move_constructible/requirements/
476 explicit_instantiation.cc: Likewise.
477 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
478 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
479 typedefs.cc: Likewise.
480 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
481 explicit_instantiation.cc: Likewise.
482 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
484 * testsuite/20_util/is_nothrow_default_constructible/requirements/
485 typedefs.cc: Likewise.
486 * testsuite/20_util/is_nothrow_default_constructible/requirements/
487 explicit_instantiation.cc: Likewise.
488 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
489 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
491 * testsuite/20_util/is_move_constructible/requirements/
492 explicit_instantiation.cc: Likewise.
493 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
494 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
496 * testsuite/20_util/is_copy_constructible/requirements/
497 explicit_instantiation.cc: Likewise.
499 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
500 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
502 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
503 Adjust dg-error line numbers.
504 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
506 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
508 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
510 * testsuite/25_algorithms/partition/moveable.cc: Actually run
511 it in parallel-mode for check-parallel.
513 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
514 Paolo Carlini <paolo.carlini@oracle.com>
516 PR libstdc++/48635 (again)
517 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
518 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
519 unique_ptr<>::operator=(unique_ptr<>&&),
520 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
521 forward<_Dp>, to forward the deleter.
522 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
524 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
525 Paolo Carlini <paolo.carlini@oracle.com>
528 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
529 function call operator.
530 * testsuite/20_util/default_delete/48631_neg.cc: New.
531 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
534 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
535 Paolo Carlini <paolo.carlini@oracle.com>
538 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
539 unique_ptr<>::operator=(unique_ptr<>&&),
540 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
541 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
542 instead of moving it.
543 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
545 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
547 * scripts/extract_symvers.pl: Handle NOTY.
549 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
551 * include/std/istream: Fix comments in the light of DR60 + N3168.
553 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
554 Paolo Carlini <paolo.carlini@oracle.com>
557 * include/std/type_traits (struct is_constructible): Re-implement,
559 (struct is_default_constructible): Add.
560 (struct is_destructible): Likewise.
561 (struct __and_, __or_, __not_): Add and use throughout; reorder some
562 facilities, other minor tweaks.
563 * testsuite/util/testsuite_tr1.h: Add test types.
564 * testsuite/20_util/is_constructible/value-2.cc: New.
565 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
566 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
568 * testsuite/20_util/is_default_constructible/requirements/
569 explicit_instantiation.cc: Likewise.
570 * testsuite/20_util/is_destructible/value.cc: Likewise.
571 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
573 * testsuite/20_util/is_destructible/requirements/
574 explicit_instantiation.cc: Likewise.
575 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
576 dg-error line numbers.
577 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
579 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
580 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
582 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
584 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
586 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
587 * testsuite/20_util/is_function/requirements/
588 explicit_instantiation.cc: Likewise.
589 * testsuite/20_util/is_function/24808.cc: Likewise.
590 * testsuite/20_util/is_function/35637.cc: Likewise.
591 * testsuite/20_util/is_object/value.cc: Likewise.
592 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
593 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
595 * testsuite/20_util/is_object/24808.cc: Likewise.
596 * testsuite/20_util/is_compound/value.cc: Likewise.
597 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
598 * testsuite/20_util/is_compound/requirements/
599 explicit_instantiation.cc: Likewise.
600 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
601 * testsuite/20_util/is_member_object_pointer/requirements/
602 typedefs.cc: Likewise.
603 * testsuite/20_util/is_member_object_pointer/requirements/
604 explicit_instantiation.cc: Likewise.
605 * testsuite/20_util/is_fundamental/value.cc: Likewise.
606 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
607 * testsuite/20_util/is_fundamental/requirements/
608 explicit_instantiation.cc: Likewise.
609 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
610 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
612 * testsuite/20_util/is_member_pointer/requirements/
613 explicit_instantiation.cc: Likewise.
614 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
615 * testsuite/20_util/is_member_function_pointer/
616 requirements/typedefs.cc: Likewise.
617 * testsuite/20_util/is_member_function_pointer/requirements/
618 explicit_instantiation.cc: Likewise.
620 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
623 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
626 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
627 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
628 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
629 * testsuite/20_util/tuple/cons/48476.cc: New.
630 * testsuite/20_util/tuple/48476.cc: Likewise.
631 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
633 2011-04-12 Allan McRae <allan@archlinux.org>
636 * testsuite/tr1/6_containers/unordered_map/requirements/
637 iterator_null_neg.cc: Include <cstddef>.
638 * testsuite/tr1/6_containers/unordered_set/requirements/
639 iterator_null_neg.cc: Likewise.
640 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
642 * testsuite/util/testsuite_common_types.h: Include <limits>.
643 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
644 Adjust dg-error line numbers.
645 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
646 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
648 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
650 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
652 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
653 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
655 2011-04-11 Jason Merrill <jason@redhat.com>
657 * testsuite/20_util/is_convertible/value.cc: Adjust.
659 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
661 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
662 it in parallel-mode for check-parallel.
663 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
664 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
665 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
666 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
668 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
669 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
670 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
672 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
673 the tests based on std::lexicographical_compare for check-parallel.
674 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
676 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
679 * include/std/functional (_Base_manager::_M_get_pointer): Use
681 * testsuite/20_util/function/48541.cc: New.
683 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
686 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
687 * configure: Regenerate.
688 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
689 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
691 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
693 * include/ext/algorithm (is_sorted): In C++0x mode import from
695 * include/ext/numeric (iota): In C++0x mode import from
697 * testsuite/ext/is_sorted/cxx0x.cc: New.
698 * testsuite/ext/iota/cxx0x.cc: New.
700 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
703 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
704 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
705 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
706 unused parameter name.
708 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
710 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
711 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
712 redundant default argument from std::__throw_with_nested.
714 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
717 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
718 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
719 * src/Makefile.in: Regenerate.
720 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
721 * include/Makefile.in: Regenerate.
722 * doc/xml/manual/internals.xml: Update.
723 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
724 * config/os/newlib/ctype_configure_char.cc: ... this.
725 * config/os/aix/ctype_noninline.h: Likewise.
726 * config/os/aix/ctype_configure_char.cc: Likewise.
727 * config/os/vxworks/ctype_noninline.h: Likewise.
728 * config/os/vxworks/ctype_configure_char.cc
729 * config/os/hpux/ctype_noninline.h: Likewise.
730 * config/os/hpux/ctype_configure_char.cc: Likewise.
731 * config/os/gnu-linux/ctype_noninline.h: Likewise.
732 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
733 * config/os/mingw32/ctype_noninline.h: Likewise.
734 * config/os/mingw32/ctype_configure_char.cc: Likewise.
735 * config/os/tpf/ctype_noninline.h: Likewise.
736 * config/os/tpf/ctype_configure_char.cc: Likewise.
737 * config/os/uclibc/ctype_noninline.h: Likewise.
738 * config/os/uclibc/ctype_configure_char.cc: Likewise.
739 * config/os/bionic/ctype_noninline.h: Likewise.
740 * config/os/bionic/ctype_configure_char.cc: Likewise.
741 * config/os/djgpp/ctype_noninline.h: Likewise.
742 * config/os/djgpp/ctype_configure_char.cc: Likewise.
743 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
744 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
745 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
746 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
747 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
748 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
749 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
750 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
751 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
752 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
753 * config/os/generic/ctype_noninline.h: Likewise.
754 * config/os/generic/ctype_configure_char.cc: Likewise.
755 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
756 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
758 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
760 * include/std/future (future::share): Add.
761 (packaged_task::result_type): Remove as per LWG 2030.
762 (packaged_task::packaged_task): Remove redundant constructors, as per
764 * testsuite/30_threads/future/members/share.cc: New.
765 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
767 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
769 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
770 members which require a fully established result state.
771 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
773 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
775 * include/bits/random.h (negative_binomial_distribution<>::
776 negative_binomial_distribution(_IntType, double),
777 negative_binomial_distribution<>::
778 negative_binomial_distribution(const param_type&)): Tweak
779 construction of _M_gd.
780 * include/bits/random.tcc (negative_binomial_distribution<>::
783 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
785 * include/bits/random.h (negative_binomial_distribution<>::
786 negative_binomial_distribution(_IntType, double),
787 negative_binomial_distribution<>::
788 negative_binomial_distribution(const param_type&)): Fix
789 construction of _M_gd.
790 * include/bits/random.tcc (negative_binomial_distribution<>::
791 operator()): Fix computation, per Leger's algorithm.
792 * testsuite/util/testsuite_random.h (discrete_pdf,
793 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
794 (binomial_pdf): Swap last two parameters.
795 * testsuite/26_numerics/random/discrete_distribution/
796 operators/values.cc: New.
797 * testsuite/26_numerics/random/negative_binomial_distribution/
798 operators/values.cc: Likewise.
799 * testsuite/26_numerics/random/poisson_distribution/
800 operators/values.cc: Likewise.
801 * testsuite/26_numerics/random/uniform_int_distribution/
802 operators/values.cc: Likewise.
803 * testsuite/26_numerics/random/binomial_distribution/
804 operators/values.cc: Adjust.
806 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
808 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
809 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
810 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
811 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
812 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
814 2011-03-23 Matthias Klose <doko@ubuntu.com>
816 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
818 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
820 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
822 2011-03-22 Joseph Myers <joseph@codesourcery.com>
824 * configure.ac: Don't handle powerpc*-*-gnu*.
825 * configure: Regenerate.
827 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
829 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
831 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
834 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
836 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
838 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
839 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
840 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
841 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
842 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
843 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
844 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
846 2011-03-22 Jakub Jelinek <jakub@redhat.com>
848 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
849 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
850 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
851 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
852 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
853 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
854 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
855 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
856 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
857 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
859 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
860 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
861 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
862 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
863 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
864 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
865 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
866 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
869 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
871 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
872 create compact unwind for" warnings.
874 2011-03-21 Jakub Jelinek <jakub@redhat.com>
876 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
877 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
878 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
880 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
881 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
882 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
883 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
884 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
885 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
886 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
887 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
888 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
890 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
891 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
892 CXXABI_LDBL_1.3 versions.
894 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
896 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
898 2011-03-21 Jakub Jelinek <jakub@redhat.com>
900 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
901 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
903 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
905 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
906 sparc*-sun-solaris2.10 && lp64.
908 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
910 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
911 to check_v3_target_cmath.
912 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
914 * testsuite/26_numerics/random/binomial_distribution/
915 operators/values.cc: Adjust.
917 2011-03-18 Diego Novillo <dnovillo@google.com>
919 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
921 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
922 mixed-mode-arith_neg.cc
924 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
926 * testsuite/util/testsuite_random.h: New.
927 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
928 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
929 * testsuite/26_numerics/random/bernoulli_distribution/
930 operators/values.cc: New.
931 * testsuite/26_numerics/random/binomial_distribution/
932 operators/values.cc: Likewise.
933 * testsuite/26_numerics/random/geometric_distribution/
934 operators/values.cc: Likewise.
936 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
938 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
939 * testsuite/19_diagnostics/stdexcept.cc: New.
941 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
943 * include/std/thread: Revert.
944 * src/thread.cc: Same.
945 * config/abi/pre/gnu.ver: Same.
947 2011-03-15 Doug Kwan <dougkwan@google.com>
950 * include/Makefile.am (install-freestanding-headers): Install
952 * include/Makefile.in: Regenerate.
954 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
956 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
957 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
959 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
962 * src/future.cc: Guard definitions.
963 * libsupc++/nested_exception.cc: Same.
965 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
967 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
968 * src/Makefile.in: Regenerate.
969 * libsupc++/Makefile.am: Add nested_exception.cc.
970 * libsupc++/Makefile.in: Regenerate.
971 * src/system_error.cc: Add ctor and dtor definitions for error_category.
972 * src/functional.cc: New. Add dtor definition for bad_function_call.
973 * src/stdexcept.cc: Add dtor definitions for domain_error,
974 invalid_argument, length_error, out_of_range, range_error,
975 overflow_error, underflow_error.
976 * src/future.cc: Add dtor definition for __future_base::_Result_base.
977 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
978 * src/thread.cc: Add dtor for thread::_Impl_base.
979 * include/std/system_error: Adjust.
980 * include/std/stdexcept: Same.
981 * include/std/future: Same.
982 * include/std/functional: Same.
983 * include/std/thread: Same.
984 * include/bits/shared_ptr_base.h: Same.
985 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
986 * libsupc++/nested_exception.h: Adjust.
987 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
988 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
989 * config/abi/pre/gnu.ver: Add new exports.
991 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
993 * include/bits/regex_compiler.h: Nest namespace versioning.
994 * include/bits/regex_grep_matcher.tcc: Same.
995 * include/bits/regex_grep_matcher.h: Same.
996 * include/bits/regex_cursor.h: Same.
997 * include/bits/regex_nfa.h: Same.
998 * include/bits/regex_nfa.tcc: Same.
1000 * include/bits/regex_grep_matcher.h: Version forward declarations.
1001 * include/bits/c++config: Add namespace association for __regex.
1002 * include/bits/regex.h: Make sub_match consistent.
1004 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1006 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
1008 * doc/html/manual/abi.html: Regenerate.
1010 2011-03-14 Tom Tromey <tromey@redhat.com>
1012 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
1013 Try to import `gdb.printing' module.
1014 (UniquePointerPrinter.__init__): Add 'typename' argument.
1015 (StdSlistPrinter.__init__): Likewise.
1016 (StdSlistIteratorPrinter.__init__): Likewise.
1017 (StdVectorIteratorPrinter.__init__): Likewise.
1018 (StdRbtreeIteratorPrinter.__init__): Likewise.
1019 (StdDebugIteratorPrinter.__init__): Likewise.
1020 (StdDequeIteratorPrinter.__init__): Likewise.
1021 (StdStringPrinter.__init__): Likewise.
1022 (RxPrinter, Printer): New class.
1023 (libstdcxx_printer): New global.
1024 (register_libstdcxx_printers): Rewrite.
1025 (build_libstdcxx_dictionary): Rewrite.
1026 (pretty_printers_dict): Remove.
1028 2011-03-14 Andrey Zholos <aaz@althenia.net>
1031 * include/bits/random.h (geometric_distribution): Correct formula
1032 in comment, per C++0x.
1033 (geometric_distribution<>::param_type::param_type(double)): Fix check.
1034 (geometric_distribution<>::param_type::_M_initialize):
1036 * include/bits/random.tcc (geometric_distribution<>::operator()):
1038 (binomial_distribution<>::operator()): Likewise.
1040 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
1042 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
1044 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
1045 Chris Jefferson <chris@bubblescope.net>
1046 Paolo Carlini <paolo.carlini@oracle.com>
1048 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
1050 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1052 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
1054 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
1056 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
1058 2011-03-09 Chris Jefferson <chris@bubblescope.net>
1061 * include/bits/stl_algo.h (__merge_backward): Rename to
1062 __move_merge_backward and change to always move rather than copy.
1063 (__move_merge): New function similar to std::merge except values
1064 are moved instead of copied.
1065 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
1066 and __merge_backward to __move_merge and __move_merge_backward.
1068 2011-03-07 Jason Merrill <jason@redhat.com>
1070 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
1073 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
1074 Matthias Klose <doko@ubuntu.com>
1075 Jonathan Wakely <redi@gcc.gnu.org>
1078 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
1079 * configure.ac: Use it.
1080 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
1081 * configure: Regenerate.
1082 * doc/Makefile.in: Regenerate.
1084 2011-03-04 Benjamin Kosnik <bkoz@chula>
1086 * src/Makefile.am (inst_sources): Make source instantion files
1088 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
1089 * src/Makefile.in: Regenerate.
1090 * src/valarray-inst.cc: Move to..
1091 * src/valarray.cc: ...this.
1092 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1093 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1094 * configure: Regenerate.
1095 * include/Makefile.am (stamp-extern-template): Add.
1096 * include/Makefile.in: Regenerate.
1098 * doc/xml/manual/configure.xml: Document --enable-extern-template.
1100 * include/bits/locale_classes.tcc: Adjust comment.
1101 * include/bits/locale_facets.tcc: Same.
1102 * include/bits/basic_ios.tcc: Same.
1103 * include/bits/istream.tcc: Same.
1104 * include/bits/codecvt.h: Same.
1105 * include/bits/ostream.tcc: Same.
1106 * include/bits/sstream.tcc: Same.
1107 * include/bits/c++config: Same.
1108 * include/bits/basic_string.tcc: Same.
1109 * include/bits/ostream_insert.h: Same.
1110 * include/bits/locale_facets_nonio.tcc: Same.
1111 * include/bits/streambuf.tcc: Same.
1112 * include/bits/allocator.h: Same.
1113 * include/bits/fstream.tcc: Same.
1115 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1117 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1119 * testsuite/Makefile.am: Make clean fixups.
1120 * testsuite/Makefile.in: Regenerate.
1122 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1124 * include/std/ratio (ratio_less): Add comments.
1126 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1129 * include/std/ratio (ratio_add): Avoid denominator overflow.
1130 * testsuite/20_util/ratio/operations/47913.cc: New.
1132 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1134 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1135 * testsuite/20_util/hash/quality.cc: Same.
1137 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1140 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1142 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1143 xputn): Use the latter.
1144 * include/bits/streambuf_iterator.h: Likewise.
1145 * src/strstream.cc: Likewise.
1146 * src/streambuf.cc: Likewise.
1147 * src/compatibility.cc: Likewise.
1148 * src/istream.cc: Likewise.
1149 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1151 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1152 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1153 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1154 * config/abi/pre/gnu.ver: Tweak.
1156 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1158 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1160 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1163 * include/std/ratio (ratio_less): Reimplement to never overflow.
1164 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1166 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1168 * testsuite/18_support/type_info/fundamental.cc: New.
1170 * testsuite/Makefile.am: Make clean fixups.
1171 * testsuite/Makefile.in: Regenerate.
1173 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1175 * include/debug/string (basic_string::insert): Add iterator check and
1176 pass normal iterator to normal insert.
1177 * include/debug/macros.h (__glibcxx_check_heap,
1178 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1181 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1184 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1185 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1187 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1189 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1190 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1191 (basic_regex::operator=(basic_regex&&)): Likewise.
1192 (basic_regex::assign(basic_regex&&)): Likewise.
1193 (operator==(sub_match,...)): Implement DR 1181.
1194 (match_results::match_results(match_results&&)): Define.
1195 (match_results::operator=(const match_results&)): Fix parameter type.
1196 (match_results::operator=(match_results&&)): Define.
1198 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1201 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1202 line anchors as metacharacters.
1203 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1205 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1208 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1209 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1210 hash<__gnu_cxx::__u32vstring>): Add.
1211 * testsuite/ext/vstring/hash/char/1.cc: New.
1212 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1214 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1216 * include/bits/regex.h (match_results::format): Use char_traits.
1218 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1220 * include/std/atomic: Remove atomic_address, uplift to N3225.
1221 * include/bits/atomic_0.h: Same.
1222 * include/bits/atomic_2.h: Same.
1223 * include/bits/atomic_base.h: Same.
1224 * testsuite/29_atomics/atomic_address/*: Delete.
1226 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1228 * include/bits/regex.h (sub_match::sub_match): Add.
1229 (match_results::ready): Add.
1230 (match_results::empty): Adjust.
1231 (match_results::length): Add missing dereference.
1232 (match_results::operator[],prefix,suffix): Add debug mode checks.
1233 (match_results::cend): Re-use end().
1234 (match_results::format): Adjust signatures.
1235 (operator==(match_results,match_results)): Implement.
1236 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1237 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1238 * include/bits/regex_grep_matcher.h: Fix comment typo.
1239 (_SpecializedResults::_SpecializedResults): Simplify.
1240 * include/bits/regex_cursor.h: Fix comment typo.
1241 * include/bits/regex_nfa.h: Likewise.
1242 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1243 Fix error code, remove xfail.
1244 * testsuite/28_regex/basic_regex/ctors/extended/
1245 string_range_01_02_03.cc: Likewise.
1247 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1249 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1250 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1252 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1254 * configure: Regenerate.
1256 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1259 * include/ext/algorithm (is_heap): In C++0x mode import from
1261 * testsuite/ext/is_heap/47709.cc: New.
1263 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1264 Jonathan Wakely <jwakely.gcc@gmail.com>
1267 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1268 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1270 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1272 * include/tr1/cmath (fabs): Define.
1273 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1276 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1278 * testsuite/tr1/headers/c++200x/complex.cc: New.
1280 2011-02-11 Johannes Singler <singler@kit.edu>
1283 * include/parallel/losertree.h
1284 (_LoserTreeUnguarded<>::__delete_min_insert):
1285 Add missing "using std::swap;", as for other variants.
1287 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1289 * src/Makefile.am (sources): Add regex.cc.
1290 * src/Makefile.in: Regenerate.
1291 * src/regex.cc: New.
1292 * include/bits/regex_error.h (error_type): Use constexpr.
1293 (regex_error): Move ctor and dtor out of line.
1295 * testsuite/28_regex/03_requirements: To...
1296 * testsuite/28_regex/requirements: ... this.
1297 * testsuite/28_regex/04_header: To...
1298 * testsuite/28_regex/headers: ... this.
1299 * testsuite/28_regex/05_constants: To...
1300 * testsuite/28_regex/constants: ... this.
1301 * testsuite/28_regex/06_exception_type: To...
1302 * testsuite/28_regex/regex_error: ... this.
1303 * testsuite/28_regex/07_traits: To...
1304 * testsuite/28_regex/traits: ... this.
1305 * testsuite/28_regex/08_basic_regex: To...
1306 * testsuite/28_regex/basic_regex: ... this.
1307 * testsuite/28_regex/09_sub_match: To...
1308 * testsuite/28_regex/sub_match: ... this.
1309 * testsuite/28_regex/10_match_results: To...
1310 * testsuite/28_regex/match_results: ... this.
1311 * testsuite/28_regex/11_algorithms: To...
1312 * testsuite/28_regex/algorithms: ... this.
1313 * testsuite/28_regex/12_iterators: To...
1314 * testsuite/28_regex/iterators: ... this.
1316 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1319 * include/bits/c++config: Do not use alternative token.
1320 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1322 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1324 * src/future.cc (future_error_category::message): Handle no_state.
1326 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1328 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1329 not test in C++0x mode.
1330 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1331 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1334 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1336 * doc/xml/manual/status_cxx200x.xml: Update.
1337 * doc/html/*: Regenerate.
1339 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1341 * doc/xml/manual/debug.xml: Improve data race docs.
1343 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1346 * include/debug/map.h (map): Remove unnecessary using-declaration.
1347 * include/debug/multimap.h (multimap): Likewise.
1348 * include/profile/map.h (map): Likewise.
1349 * include/profile/multimap.h (multimap): Likewise.
1351 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1354 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1356 * libsupc++/guard_error.cc: ... new file.
1357 * libsupc++/Makefile.am: Update.
1358 * libsupc++/Makefile.in: Regenerate.
1360 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1362 * include/std/future (packaged_task::operator bool): Rename to...
1363 (packaged_task::valid): ...this.
1364 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1365 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1366 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1367 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1368 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1369 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1370 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1371 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1372 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1373 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1374 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1376 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1378 * doc/xml/manual/io.xml: Fix typo.
1379 * doc/html/manual/streambufs.html: Likewise.
1381 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1383 * config/abi/pre/gnu.ver: Fix.
1385 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
1387 * doc/xml/manual/appendix_porting.xml: Add doc section.
1388 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1389 * doc/xml/manual/documentation_hacking.xml: ...here.
1391 * doc/xml/manual/debug_mode.xml: Adjust.
1392 * doc/xml/manual/prerequisites.xml: Adjust.
1393 * doc/Makefile.am (xml_sources): Add dot files,
1394 documentation_hacking.xml.
1395 * doc/Makefile.in: Regenerate.
1397 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1398 * doc/xml/images/confdeps.pdf: Add.
1400 * doc/html/*: Regenerate.
1402 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1404 * doc/xml/gnu/fdl-1.2.xml: Remove.
1405 * doc/xml/gnu/gpl-2.0.xml: Remove.
1406 * doc/Makefile.am: Update.
1407 * doc/Makefile.in: Regenerate.
1409 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1412 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1413 iterator)): Add back in C++03 mode.
1414 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1415 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1417 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
1419 PR libstdc++/47560 try two
1420 * config/os/hpux/os_defines.h: Guard for C++.
1422 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1424 * doc/xml/faq.xml: Adjust link to bug database.
1425 Remove old item on broken header files.
1427 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1429 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1430 * src/functexcept.cc: Add definition.
1431 * config/abi/pre/gnu.ver: Export.
1433 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1435 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1436 * configure: Regenerate.
1438 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1441 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1442 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1443 avoid name conflicts.
1445 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1448 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1450 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1452 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1453 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1454 (COMPACT_LATEX): Enable.
1456 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1457 * include/profile/impl/profiler_hash_func.h: Same.
1458 * include/bits/hashtable.h: Same.
1459 * include/backward/auto_ptr.h: Same.
1460 * include/backward/strstream: Same.
1461 * include/backward/backward_warning.h: Same.
1462 * include/backward/binders.h: Same.
1464 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1466 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1467 Adjust link to GDB manual.
1469 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1471 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1472 _GLIBCXX_USE_DEPRECATED.
1473 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1474 * doc/xml/manual/using.xml: Same.
1475 * include/std/memory: Same.
1476 * include/std/streambuf: Same.
1477 * include/bits/shared_ptr.h: Same.
1478 * include/bits/unique_ptr.h: Same.
1479 * include/bits/shared_ptr_base.h: Same.
1480 * include/bits/stl_function.h: Same.
1481 * include/tr1/shared_ptr.h: Same.
1482 * include/backward/auto_ptr.h: Same.
1483 * include/backward/binders.h: Same.
1485 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1487 * doc/html/ext/lwg-active.html: Update to Revision D73.
1488 * doc/html/ext/lwg-closed.html: Likewise.
1489 * doc/html/ext/lwg-defects.html: Likewise.
1490 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1492 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1494 PR libstdc++/36104 part four
1495 * include/bits/c++config (_GLIBCXX_STD): Remove.
1496 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1497 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1498 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1499 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1500 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1501 _GLIBCXX_INLINE_PROFILE): Remove.
1502 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1503 (_GLIBCXX_END_NAMESPACE): Remove.
1504 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1505 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1506 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1507 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1508 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1509 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1510 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1511 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1512 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1513 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1514 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1515 * include/*: Use new macros for namespace scope.
1519 * src/Makefile.am (sources): Remove debug_list.cc, add
1520 compatibility-debug_list-2.cc.
1521 (parallel_sources): Remove parallel_list.cc, add
1522 compatibility-parallel_list-2.cc.
1523 (compatibility-parallel_list-2.[o,lo]): New rule.
1524 * src/Makefile.in: Regenerate.
1525 * src/debug_list.cc: Remove.
1526 * src/parallel_list.cc: Remove.
1527 * src/compatibility-list-2.cc: New.
1528 * src/compatibility-debug_list-2.cc: New.
1529 * src/compatibility-parallel_list-2.cc: New.
1531 * doc/doxygen/user.cfg.in: Adjust macros.
1533 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1534 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1535 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1536 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1537 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1538 * testsuite/20_util/forward/c_neg.cc: Same.
1539 * testsuite/20_util/forward/f_neg.cc: Same.
1540 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1541 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1542 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1543 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1544 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1545 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1546 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1547 * testsuite/23_containers/deque/requirements/dr438/
1548 constructor_1_neg.cc: Same.
1549 * testsuite/23_containers/deque/requirements/dr438/
1550 constructor_2_neg.cc: Same.
1551 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1552 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1553 * testsuite/23_containers/forward_list/requirements/dr438/
1554 assign_neg.cc: Same.
1555 * testsuite/23_containers/forward_list/requirements/dr438/
1556 constructor_1_neg.cc: Same.
1557 * testsuite/23_containers/forward_list/requirements/dr438/
1558 constructor_2_neg.cc: Same.
1559 * testsuite/23_containers/forward_list/requirements/dr438/
1560 insert_neg.cc: Same.
1561 * testsuite/23_containers/list/capacity/29134.cc: Same.
1562 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1563 * testsuite/23_containers/list/requirements/dr438/
1564 constructor_1_neg.cc: Same.
1565 * testsuite/23_containers/list/requirements/dr438/
1566 constructor_2_neg.cc: Same.
1567 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1568 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1569 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1570 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1571 * testsuite/23_containers/vector/requirements/dr438/
1572 constructor_1_neg.cc: Same.
1573 * testsuite/23_containers/vector/requirements/dr438/
1574 constructor_2_neg.cc: Same.
1575 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1576 * testsuite/25_algorithms/sort/35588.cc: Same.
1577 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1578 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1579 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1580 * testsuite/ext/profile/profiler_algos.cc: Same.
1581 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1582 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1583 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1584 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1585 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1587 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1589 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1590 Improve description of one such reference.
1592 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1594 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1595 Standards Revision Group.
1596 * doc/xml/manual/locale.xml: Ditto.
1597 * doc/xml/manual/messages.xml: Ditto.
1598 * doc/xml/manual/using_exceptions.xml: Ditto.
1600 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1602 * include/bits/atomic_base.h: Do not include <stddef.h>.
1603 (kill_dependency): Uglify ret.
1605 2011-01-26 Johannes Singler <singler@kit.edu>
1607 * include/parallel/numeric (inner_product, partial_sum):
1608 Qualify subsequent call with __gnu_parallel instead of
1609 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1610 * include/parallel/algobase.h (equal): Likewise.
1611 * include/parallel/algo.h (find_first_of, search_n, merge,
1612 nth_element, partial_sort, max_element, min_element): Likewise.
1613 * testsuite/25_algorithms/headers/algorithm/
1614 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1615 * testsuite/25_algorithms/headers/algorithm/
1616 parallel_algorithm_mixed2.cc (main): Likewise.
1617 * testsuite/26_numerics/headers/numeric/
1618 parallel_numeric_mixed1.cc (main): Likewise.
1619 * testsuite/26_numerics/headers/numeric/
1620 parallel_numeric_mixed2.cc (main): Likewise.
1622 2011-01-24 Graham Reed <greed@pobox.com>
1625 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1628 2011-01-24 Johannes Singler <singler@kit.edu>
1631 * include/parallel/losertree.h
1632 (_LoserTree<>::__delete_min_insert):
1633 Do not qualify swap with std:: for value type,
1634 but include a using directive instead.
1635 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1636 * include/parallel/balanced_quicksort.h (__qsb_divide):
1637 Use std::iter_swap instead of std::swap.
1638 (__qsb_local_sort_with_helping): Likewise.
1639 * include/parallel/partition.h (__parallel_partition):
1640 Likewise. (__parallel_nth_element): Likewise.
1642 2011-01-24 Johannes Singler <singler@kit.edu>
1645 * include/parallel/multiway_merge.h (_UnguardedIterator):
1646 Remove useless "mutable" from reference declaration.
1648 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1650 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1651 * include/debug/safe_sequence.h: Same.
1652 * include/debug/safe_iterator.h: Same.
1653 * include/std/forward_list: Same.
1654 * include/std/deque: Same.
1655 * include/std/list: Same.
1656 * include/std/random: Same.
1657 * include/std/streambuf: Same.
1658 * include/std/fstream: Same.
1659 * include/std/istream: Same.
1660 * include/std/string: Same.
1661 * include/std/ostream: Same.
1662 * include/std/sstream: Same.
1663 * include/ext/vstring.h: Same.
1664 * include/bits/basic_ios.h: Same.
1665 * include/bits/locale_classes.h: Same.
1666 * include/bits/locale_facets.h: Same.
1667 * include/bits/valarray_array.h: Same.
1668 * include/bits/locale_facets_nonio.h: Same.
1669 * include/tr1/random: Same.
1671 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1673 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1675 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1677 PR libstdc++/36104 part three
1678 * src/hashtable_c++0x.cc: Adjust namespace macros.
1679 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1680 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1682 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1684 * include/ext/pb_ds/detail/resize_policy/
1685 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1686 * include/ext/pb_ds/detail/pat_trie_/
1687 constructors_destructor_fn_imps.hpp: Same.
1688 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1689 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1690 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1692 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1693 iterations downward when testing in debug mode.
1694 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1695 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1696 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1697 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1698 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1699 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1700 reduce in debug mode.
1702 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1704 PR libstdc++/36104 part two
1705 * include/bits/hashtable.h: Revert to non-nested macro usage.
1706 * include/bits/hashtable_policy.h: Same.
1708 2011-01-19 Graham Reed <greed@pobox.com>
1711 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1713 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1715 * doc/xml/images/confdeps.png: Regenerate.
1717 * include/std/chrono (duration): Mark copy constructor constexpr.
1718 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1720 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1722 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1723 Declare defaulted per DR 1517.
1724 * testsuite/util/testsuite_common_types.h
1725 (constexpr_defaulted_default_constructible): Add.
1726 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1728 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1730 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1732 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1734 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1737 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1738 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1740 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1743 * testsuite/18_support/numeric_limits/lowest.cc:
1744 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1746 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1749 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1750 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1752 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1754 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1755 to this. Use _neg suffix.
1756 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1758 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1760 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1761 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1763 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1764 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1766 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1767 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1769 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1770 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1772 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1773 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1775 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1776 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1778 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1779 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1781 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1782 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1784 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1785 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1787 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1788 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1790 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1791 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1793 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1794 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1796 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1797 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1799 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1800 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1802 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1804 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1807 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1808 * include/Makefile.in: Regenerate.
1809 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1810 (install-stdHEADERS, install-bitsHEADERS): New.
1811 * libsupc++/Makefile.in: Regenerate.
1813 * include/bits/c++config: Update for inline namespaces.
1814 * libsupc++/cxxabi-forced.h: To...
1815 * libsupc++/cxxabi_forced.h: ...this.
1816 * libsupc++/hash_bytes.h: Separate file.
1817 * libsupc++/typeinfo: Use it.
1818 * libsupc++/exception: Adjust for bits subdirectory.
1819 * libsupc++/eh_aux_runtime.cc: Same.
1820 * libsupc++/eh_ptr.cc: Same.
1821 * libsupc++/new_op.cc: Same.
1822 * libsupc++/exception_defines.h: Same.
1823 * libsupc++/nested_exception.h: Same.
1824 * libsupc++/eh_terminate.cc: Same.
1825 * libsupc++/vec.cc: Same.
1826 * libsupc++/vterminate.cc: Same.
1827 * libsupc++/exception_ptr.h: Same.
1828 * libsupc++/eh_personality.cc: Same.
1829 * libsupc++/eh_call.cc: Same.
1830 * libsupc++/new_opnt.cc: Same.
1831 * libsupc++/hash_bytes.cc: Same.
1832 * config/cpu/arm/cxxabi_tweaks.h: Same.
1833 * config/cpu/generic/cxxabi_tweaks.h: Same.
1834 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1835 * include/std/bitset: Same.
1836 * include/ext/vstring.tcc: Same.
1837 * include/bits/hashtable.h: Same.
1838 * include/bits/functional_hash.h: Same.
1839 * include/bits/hashtable_policy.h: Same.
1840 * include/bits/basic_string.h: Same.
1841 * include/bits/istream.tcc: Same.
1842 * include/bits/ostream.tcc: Same.
1843 * include/bits/algorithmfwd.h: Same.
1844 * include/bits/basic_string.tcc: Same.
1845 * include/bits/ostream_insert.h: Same.
1846 * include/bits/fstream.tcc: Same.
1847 * include/bits/functexcept.h: Same.
1849 * doc/doxygen/user.cfg.in: Adjust names.
1851 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1853 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1855 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1857 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1859 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1861 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1862 * testsuite/25_algorithms/is_permutation/requirements/
1863 explicit_instantiation/2.cc: Likewise.
1864 * testsuite/25_algorithms/is_permutation/requirements/
1865 explicit_instantiation/pod.cc: Likewise.
1866 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1868 2011-01-13 John Lakos <jlakos@bloomberg.net>
1869 Pablo Halpern <phalpern@halpernwightsoftware.com>
1870 Paolo Carlini <paolo.carlini@oracle.com>
1872 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1873 * include/bits/algorithmfwd.h: Add.
1875 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1878 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1880 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1882 * aclocal.m4: Regenerate.
1884 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1887 * src/placeholders.cc: New.
1888 * src/Makefile.am: Adjust.
1889 * src/Makefile.in: Regenerate.
1890 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1892 * config/abi/pre/gnu.ver: Export.
1894 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1896 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1897 * include/src/debug.cc: Use latter
1898 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1899 correctly handle before_begin iterators.
1900 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1901 useless _GLIBCXX_DEBUG checks.
1903 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1906 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1907 * configure: Regenerated.
1909 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1912 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1915 Copyright (C) 2011 Free Software Foundation, Inc.
1917 Copying and distribution of this file, with or without modification,
1918 are permitted in any medium without royalty provided the copyright
1919 notice and this notice are preserved.