1 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
3 * testsuite/util/testsuite_tr1.h: Add test classes.
4 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
6 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
8 * include/std/type_traits (is_assignable, is_copy_assignable,
9 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
10 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
11 (has_nothrow_copy_assign): Remove.
12 * testsuite/util/testsuite_tr1.h: Add test classes.
13 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
14 * testsuite/20_util/is_assignable/requirements/
15 explicit_instantiation.cc: Likewise.
16 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
17 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
19 * testsuite/20_util/is_nothrow_assignable/requirements/
20 explicit_instantiation.cc: Likewise.
21 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
22 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
24 * testsuite/20_util/is_move_assignable/requirements/
25 explicit_instantiation.cc: Likewise.
26 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
27 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
29 * testsuite/20_util/is_copy_assignable/requirements/
30 explicit_instantiation.cc: Likewise.
31 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
32 * testsuite/20_util/is_nothrow_move_assignable/requirements/
33 typedefs.cc: Likewise.
34 * testsuite/20_util/is_nothrow_move_assignable/requirements/
35 explicit_instantiation.cc: Likewise.
36 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
37 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
38 typedefs.cc: Likewise.
39 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
40 explicit_instantiation.cc: Likewise.
41 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
42 dg-error line numbers.
43 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
45 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
47 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
49 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
50 functions as defaulted/deleted.
51 * include/bits/shared_ptr.h: Use noexcept.
52 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
53 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
55 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
57 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
59 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
61 * libsupc++/initializer_list: Use noexcept specifier.
62 (initializer_list<>::size, begin, end): Qualify as const.
63 * include/bits/move.h (__addressof, forward, move, addressof): Specify
65 * include/std/bitset: Use noexcept specifier throughout.
66 * include/debug/bitset: Update.
67 * include/profile/bitset: Likewise.
69 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
71 * include/std/tuple: Use noexcept where appropriate.
72 (tuple<>::swap): Rework implementation.
73 (_Head_base<>::_M_swap_impl): Remove.
74 (get(std::tuple<>&&)): Add.
75 * testsuite/20_util/tuple/element_access/get2.cc: New.
76 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
79 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
81 * include/std/utility: Simplify the last commit, the whole
82 std::get code is C++0x only.
84 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
86 * include/std/utility (get(std::pair<>&&)): Add.
87 * include/bits/stl_pair.h (pair::swap(pair&),
88 swap(pair<>&, pair<>&)): Use noexcept.
89 * include/bits/random.h (discard_block_engine<>::base,
90 independent_bits_engine<>::base, shuffle_order_engine<>::base,
91 random_device::entropy): Use noexcept.
92 * include/std/array: Use noexcept where appropriate.
93 (get(array<>&&)): Add.
94 * testsuite/23_containers/array/requirements/get.cc: New.
95 * testsuite/20_util/pair/get.cc: Likewise.
96 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
99 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
101 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
103 * include/std/limits: Use the latter everywhere.
104 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
105 macro usages, the specializations exist only in C++0x mode.
106 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
109 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
111 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
113 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
115 2011-05-11 François Dumont <francois.cppdevs@free.fr>
117 * include/ext/pb_ds/detail/resize_policy/
118 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
119 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
120 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
121 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
122 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
123 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
124 * include/ext/pb_ds/detail/debug_map_base.hpp,
125 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
126 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
127 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
128 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
129 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
130 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
131 macro definitions move...
132 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
133 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
134 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
135 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
136 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
137 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
138 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
139 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
140 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
143 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
146 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
147 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
148 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
149 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
150 scalbn, tgamma, trunc): Use __enable_if on the return type.
151 * include/tr1/cmath: Likewise.
152 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
153 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
155 2011-05-07 François Dumont <francois.cppdevs@free.fr>
157 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
158 (_GLICXX_DEBUG_VERIFY): Use latter.
159 * include/ext/pb_ds/detail/resize_policy/
160 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
161 containing the original assert call.
162 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
163 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
164 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
165 split_join_fn_imps.hpp: Likewise.
166 * include/ext/pb_ds/detail/cc_hash_table_map_/
167 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
168 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
169 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
170 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
171 erase_no_store_hash_fn_imps.hpp: Likewise.
172 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
173 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
174 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
175 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
177 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
178 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
179 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
180 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
182 * include/ext/pb_ds/detail/gp_hash_table_map_/
183 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
184 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
185 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
186 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
187 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
189 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
190 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
191 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
192 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
193 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
194 find_fn_imps.hpp, insert_fn_imps.hpp,
195 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
196 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
197 * include/ext/pb_ds/detail/binomial_heap_/
198 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
199 binomial_heap_.hpp: Likewise.
200 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
201 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
202 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
203 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
204 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
205 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
206 split_join_fn_imps.hpp: Likewise.
207 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
208 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
209 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
210 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
211 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
212 find_fn_imps.hpp, insert_fn_imps.hpp,
213 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
214 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
215 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
216 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
217 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
218 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
219 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
220 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
221 split_join_fn_imps.hpp: Likewise.
222 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
223 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
224 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
225 * include/ext/pb_ds/hash_policy.hpp: Likewise.
227 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
229 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
231 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
233 PR libstdc++/47913 (again)
234 * include/std/ratio (ratio_add, ratio_less): Rewrite.
235 * testsuite/20_util/ratio/operations/47913.cc: Extend.
236 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
238 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
240 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
243 * include/std/valarray (valarray<>::valarray(valarray&&),
244 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
245 * doc/xml/manual/status_cxx200x.xml: Update.
246 * testsuite/26_numerics/valarray/moveable.cc: New.
247 * testsuite/26_numerics/valarray/swap.cc: Likewise.
249 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
252 * include/parallel/multiway_merge.h: Run _ValueType destructors.
253 * include/parallel/multiway_mergesort.h: Likewise.
254 * include/parallel/quicksort.h: Likewise.
255 * include/parallel/random_shuffle.h: Likewise.
256 * include/parallel/partial_sum.h: Likewise.
257 * include/parallel/losertree.h: Run destructors; minor tweaks.
258 * include/parallel/par_loop.h: Run destructors, fix memory
259 allocations and deallocations.
260 * testsuite/26_numerics/accumulate/48750.cc: New.
262 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
263 parallel-mode to avoid spurious multiple errors.
265 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
267 * include/std/functional (bind): Remove from overload set when first
268 argument type might be a socket file descriptor.
269 * testsuite/20_util/bind/socket.cc: New.
271 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
274 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
275 * doc/html/*: Regenerate.
277 2011-05-02 Ollie Wild <aaw@google.com>
279 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
280 Fix unqualified lookup.
281 (__sso_string_base<>::_M_assign): Likewise.
282 (__sso_string_base<>::_M_reserve): Likewise.
283 (__sso_string_base<>::_M_mutate): Likewise.
284 (__sso_string_base<>::_M_erase): Likewise.
285 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
286 (__versa_string<>::compare): Likewise.
287 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
289 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
291 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
293 * doc/xml/manual/documentation_hacking.xml: Fix typo.
294 * doc/html/*: Regenerate.
296 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
298 * include/std/type_traits (__is_default_constructible_atom,
299 __is_default_constructible_safe<, true>,
300 __is_direct_constructible_new_safe,
301 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
302 __is_direct_constructible_ref_cast, __is_direct_constructible,
303 __is_nary_constructible): Simplify; add comments throughout.
305 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
307 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
308 Adjust dg-error line numbers.
309 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
311 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
313 2011-04-30 Doug Kwan <dougkwan@google.com>
315 * include/Makefile.am (install-freestanding-headers): Also install
317 * include/Makefile.in: Regenerate.
319 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
322 * include/std/complex (complex<float>::complex(float, float),
323 complex<double>::complex(double, double),
324 complex<long double>::complex(long double, long double)): Use
325 list-initialization in C++0x mode, initialize in the body in
327 * testsuite/26_numerics/complex/cons/48760.cc: New.
328 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
330 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
332 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
333 tweak, remove redundant round braces.
335 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
337 * include/bits/move.h (move_if_noexcept): Add.
338 * testsuite/20_util/move_if_noexcept/requirements/
339 explicit_instantiation.cc: New.
340 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
342 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
344 * include/std/type_traits (struct underlying_type): Add.
345 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
346 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
348 * testsuite/20_util/underlying_type/requirements/
349 explicit_instantiation.cc: Likewise.
350 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
353 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
355 * include/parallel/multiway_merge.h: Uglify equally_split
356 and equally_split_point throughout.
357 * include/parallel/par_loop.h: Likewise.
358 * include/parallel/equally_split.h: Likewise.
359 * include/parallel/set_operations.h: Likewise.
360 * include/parallel/unique_copy.h: Likewise.
361 * include/parallel/multiway_mergesort.h: Likewise.
362 * include/parallel/search.h: Likewise.
363 * include/parallel/partial_sum.h: Likewise.
364 * include/parallel/find.h: Likewise.
366 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
368 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
369 documentation. Expand link text.
371 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
373 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
375 2011-04-22 François Dumont <francois.cppdevs@free.fr>
377 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
378 unused compilation result thanks to /dev/null.
379 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
380 check_v3_target_profile_mode, check_v3_target_normal_mode,
381 check_v3_target_cstdint, check_v3_target_cmath,
382 check_v3_target_atomic_builtins, check_v3_target_gthreads,
383 check_v3_target_nanosleep, check_v3_target_sched_yield,
384 check_v3_target_string_conversions, check_v3_target_swprintf,
385 check_v3_target_binary_io): Use simple preprocessing rather than
386 compilation. Discard unused preprocessing result thanks to /dev/null.
388 2011-04-20 Jim Meyering <meyering@redhat.com>
390 * libsupc++/del_opnt.cc (operator delete): Remove useless
393 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
396 * include/std/type_traits (result_of): Handle pointer to member.
397 * include/std/functional (__invoke): Likewise.
398 (_Function_to_function_pointer): Remove.
399 (_Reference_wrapper_base): Provide nested types independent of
400 unary_function and binary_function.
401 (reference_wrapper::operator()): DR 2017.
402 (ref(const A&&), cref(const A&&): Define as deleted.
403 * include/std/future (async): Simplify SFINAE and use result_of to
404 support pointer to member.
405 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
407 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
408 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
409 instead of derivation from unary_function and binary_function.
410 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
411 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
412 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
413 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
415 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
418 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
419 this part if SAMPLES < 100000.
421 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
423 * include/std/type_traits (is_nothrow_default_constructible,
424 is_nothrow_copy_constructible, is_nothrow_move_constructible,
425 is_copy_constructible, is_move_constructible): Add.
426 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
428 (is_nothrow_constructible): Adjust.
430 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
431 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
432 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
433 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
435 * testsuite/20_util/has_nothrow_default_constructor: Remove.
436 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
438 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
439 * testsuite/20_util/is_nothrow_move_constructible/requirements/
440 typedefs.cc: Likewise.
441 * testsuite/20_util/is_nothrow_move_constructible/requirements/
442 explicit_instantiation.cc: Likewise.
443 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
444 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
445 typedefs.cc: Likewise.
446 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
447 explicit_instantiation.cc: Likewise.
448 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
450 * testsuite/20_util/is_nothrow_default_constructible/requirements/
451 typedefs.cc: Likewise.
452 * testsuite/20_util/is_nothrow_default_constructible/requirements/
453 explicit_instantiation.cc: Likewise.
454 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
455 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
457 * testsuite/20_util/is_move_constructible/requirements/
458 explicit_instantiation.cc: Likewise.
459 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
460 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
462 * testsuite/20_util/is_copy_constructible/requirements/
463 explicit_instantiation.cc: Likewise.
465 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
466 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
468 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
469 Adjust dg-error line numbers.
470 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
472 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
474 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
476 * testsuite/25_algorithms/partition/moveable.cc: Actually run
477 it in parallel-mode for check-parallel.
479 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
480 Paolo Carlini <paolo.carlini@oracle.com>
482 PR libstdc++/48635 (again)
483 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
484 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
485 unique_ptr<>::operator=(unique_ptr<>&&),
486 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
487 forward<_Dp>, to forward the deleter.
488 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
490 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
491 Paolo Carlini <paolo.carlini@oracle.com>
494 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
495 function call operator.
496 * testsuite/20_util/default_delete/48631_neg.cc: New.
497 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
500 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
501 Paolo Carlini <paolo.carlini@oracle.com>
504 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
505 unique_ptr<>::operator=(unique_ptr<>&&),
506 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
507 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
508 instead of moving it.
509 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
511 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
513 * scripts/extract_symvers.pl: Handle NOTY.
515 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
517 * include/std/istream: Fix comments in the light of DR60 + N3168.
519 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
520 Paolo Carlini <paolo.carlini@oracle.com>
523 * include/std/type_traits (struct is_constructible): Re-implement,
525 (struct is_default_constructible): Add.
526 (struct is_destructible): Likewise.
527 (struct __and_, __or_, __not_): Add and use throughout; reorder some
528 facilities, other minor tweaks.
529 * testsuite/util/testsuite_tr1.h: Add test types.
530 * testsuite/20_util/is_constructible/value-2.cc: New.
531 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
532 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
534 * testsuite/20_util/is_default_constructible/requirements/
535 explicit_instantiation.cc: Likewise.
536 * testsuite/20_util/is_destructible/value.cc: Likewise.
537 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
539 * testsuite/20_util/is_destructible/requirements/
540 explicit_instantiation.cc: Likewise.
541 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
542 dg-error line numbers.
543 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
545 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
546 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
548 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
550 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
552 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
553 * testsuite/20_util/is_function/requirements/
554 explicit_instantiation.cc: Likewise.
555 * testsuite/20_util/is_function/24808.cc: Likewise.
556 * testsuite/20_util/is_function/35637.cc: Likewise.
557 * testsuite/20_util/is_object/value.cc: Likewise.
558 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
559 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
561 * testsuite/20_util/is_object/24808.cc: Likewise.
562 * testsuite/20_util/is_compound/value.cc: Likewise.
563 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
564 * testsuite/20_util/is_compound/requirements/
565 explicit_instantiation.cc: Likewise.
566 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
567 * testsuite/20_util/is_member_object_pointer/requirements/
568 typedefs.cc: Likewise.
569 * testsuite/20_util/is_member_object_pointer/requirements/
570 explicit_instantiation.cc: Likewise.
571 * testsuite/20_util/is_fundamental/value.cc: Likewise.
572 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
573 * testsuite/20_util/is_fundamental/requirements/
574 explicit_instantiation.cc: Likewise.
575 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
576 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
578 * testsuite/20_util/is_member_pointer/requirements/
579 explicit_instantiation.cc: Likewise.
580 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
581 * testsuite/20_util/is_member_function_pointer/
582 requirements/typedefs.cc: Likewise.
583 * testsuite/20_util/is_member_function_pointer/requirements/
584 explicit_instantiation.cc: Likewise.
586 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
589 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
592 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
593 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
594 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
595 * testsuite/20_util/tuple/cons/48476.cc: New.
596 * testsuite/20_util/tuple/48476.cc: Likewise.
597 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
599 2011-04-12 Allan McRae <allan@archlinux.org>
602 * testsuite/tr1/6_containers/unordered_map/requirements/
603 iterator_null_neg.cc: Include <cstddef>.
604 * testsuite/tr1/6_containers/unordered_set/requirements/
605 iterator_null_neg.cc: Likewise.
606 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
608 * testsuite/util/testsuite_common_types.h: Include <limits>.
609 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
610 Adjust dg-error line numbers.
611 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
612 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
614 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
616 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
618 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
619 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
621 2011-04-11 Jason Merrill <jason@redhat.com>
623 * testsuite/20_util/is_convertible/value.cc: Adjust.
625 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
627 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
628 it in parallel-mode for check-parallel.
629 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
630 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
631 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
632 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
634 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
635 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
636 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
638 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
639 the tests based on std::lexicographical_compare for check-parallel.
640 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
642 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
645 * include/std/functional (_Base_manager::_M_get_pointer): Use
647 * testsuite/20_util/function/48541.cc: New.
649 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
652 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
653 * configure: Regenerate.
654 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
655 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
657 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
659 * include/ext/algorithm (is_sorted): In C++0x mode import from
661 * include/ext/numeric (iota): In C++0x mode import from
663 * testsuite/ext/is_sorted/cxx0x.cc: New.
664 * testsuite/ext/iota/cxx0x.cc: New.
666 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
669 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
670 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
671 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
672 unused parameter name.
674 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
676 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
677 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
678 redundant default argument from std::__throw_with_nested.
680 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
683 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
684 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
685 * src/Makefile.in: Regenerate.
686 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
687 * include/Makefile.in: Regenerate.
688 * doc/xml/manual/internals.xml: Update.
689 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
690 * config/os/newlib/ctype_configure_char.cc: ... this.
691 * config/os/aix/ctype_noninline.h: Likewise.
692 * config/os/aix/ctype_configure_char.cc: Likewise.
693 * config/os/vxworks/ctype_noninline.h: Likewise.
694 * config/os/vxworks/ctype_configure_char.cc
695 * config/os/hpux/ctype_noninline.h: Likewise.
696 * config/os/hpux/ctype_configure_char.cc: Likewise.
697 * config/os/gnu-linux/ctype_noninline.h: Likewise.
698 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
699 * config/os/mingw32/ctype_noninline.h: Likewise.
700 * config/os/mingw32/ctype_configure_char.cc: Likewise.
701 * config/os/tpf/ctype_noninline.h: Likewise.
702 * config/os/tpf/ctype_configure_char.cc: Likewise.
703 * config/os/uclibc/ctype_noninline.h: Likewise.
704 * config/os/uclibc/ctype_configure_char.cc: Likewise.
705 * config/os/bionic/ctype_noninline.h: Likewise.
706 * config/os/bionic/ctype_configure_char.cc: Likewise.
707 * config/os/djgpp/ctype_noninline.h: Likewise.
708 * config/os/djgpp/ctype_configure_char.cc: Likewise.
709 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
710 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
711 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
712 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
713 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
714 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
715 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
716 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
717 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
718 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
719 * config/os/generic/ctype_noninline.h: Likewise.
720 * config/os/generic/ctype_configure_char.cc: Likewise.
721 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
722 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
724 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
726 * include/std/future (future::share): Add.
727 (packaged_task::result_type): Remove as per LWG 2030.
728 (packaged_task::packaged_task): Remove redundant constructors, as per
730 * testsuite/30_threads/future/members/share.cc: New.
731 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
733 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
735 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
736 members which require a fully established result state.
737 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
739 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
741 * include/bits/random.h (negative_binomial_distribution<>::
742 negative_binomial_distribution(_IntType, double),
743 negative_binomial_distribution<>::
744 negative_binomial_distribution(const param_type&)): Tweak
745 construction of _M_gd.
746 * include/bits/random.tcc (negative_binomial_distribution<>::
749 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
751 * include/bits/random.h (negative_binomial_distribution<>::
752 negative_binomial_distribution(_IntType, double),
753 negative_binomial_distribution<>::
754 negative_binomial_distribution(const param_type&)): Fix
755 construction of _M_gd.
756 * include/bits/random.tcc (negative_binomial_distribution<>::
757 operator()): Fix computation, per Leger's algorithm.
758 * testsuite/util/testsuite_random.h (discrete_pdf,
759 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
760 (binomial_pdf): Swap last two parameters.
761 * testsuite/26_numerics/random/discrete_distribution/
762 operators/values.cc: New.
763 * testsuite/26_numerics/random/negative_binomial_distribution/
764 operators/values.cc: Likewise.
765 * testsuite/26_numerics/random/poisson_distribution/
766 operators/values.cc: Likewise.
767 * testsuite/26_numerics/random/uniform_int_distribution/
768 operators/values.cc: Likewise.
769 * testsuite/26_numerics/random/binomial_distribution/
770 operators/values.cc: Adjust.
772 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
774 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
775 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
776 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
777 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
778 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
780 2011-03-23 Matthias Klose <doko@ubuntu.com>
782 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
784 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
786 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
788 2011-03-22 Joseph Myers <joseph@codesourcery.com>
790 * configure.ac: Don't handle powerpc*-*-gnu*.
791 * configure: Regenerate.
793 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
795 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
797 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
800 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
802 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
804 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
805 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
806 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
807 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
808 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
809 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
810 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
812 2011-03-22 Jakub Jelinek <jakub@redhat.com>
814 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
815 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
816 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
817 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
818 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
819 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
820 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
821 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
822 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
823 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
825 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
826 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
827 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
828 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
829 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
830 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
831 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
832 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
835 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
837 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
838 create compact unwind for" warnings.
840 2011-03-21 Jakub Jelinek <jakub@redhat.com>
842 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
843 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
844 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
846 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
847 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
848 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
849 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
850 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
851 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
852 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
853 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
854 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
856 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
857 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
858 CXXABI_LDBL_1.3 versions.
860 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
862 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
864 2011-03-21 Jakub Jelinek <jakub@redhat.com>
866 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
867 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
869 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
871 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
872 sparc*-sun-solaris2.10 && lp64.
874 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
876 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
877 to check_v3_target_cmath.
878 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
880 * testsuite/26_numerics/random/binomial_distribution/
881 operators/values.cc: Adjust.
883 2011-03-18 Diego Novillo <dnovillo@google.com>
885 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
887 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
888 mixed-mode-arith_neg.cc
890 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
892 * testsuite/util/testsuite_random.h: New.
893 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
894 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
895 * testsuite/26_numerics/random/bernoulli_distribution/
896 operators/values.cc: New.
897 * testsuite/26_numerics/random/binomial_distribution/
898 operators/values.cc: Likewise.
899 * testsuite/26_numerics/random/geometric_distribution/
900 operators/values.cc: Likewise.
902 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
904 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
905 * testsuite/19_diagnostics/stdexcept.cc: New.
907 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
909 * include/std/thread: Revert.
910 * src/thread.cc: Same.
911 * config/abi/pre/gnu.ver: Same.
913 2011-03-15 Doug Kwan <dougkwan@google.com>
916 * include/Makefile.am (install-freestanding-headers): Install
918 * include/Makefile.in: Regenerate.
920 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
922 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
923 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
925 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
928 * src/future.cc: Guard definitions.
929 * libsupc++/nested_exception.cc: Same.
931 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
933 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
934 * src/Makefile.in: Regenerate.
935 * libsupc++/Makefile.am: Add nested_exception.cc.
936 * libsupc++/Makefile.in: Regenerate.
937 * src/system_error.cc: Add ctor and dtor definitions for error_category.
938 * src/functional.cc: New. Add dtor definition for bad_function_call.
939 * src/stdexcept.cc: Add dtor definitions for domain_error,
940 invalid_argument, length_error, out_of_range, range_error,
941 overflow_error, underflow_error.
942 * src/future.cc: Add dtor definition for __future_base::_Result_base.
943 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
944 * src/thread.cc: Add dtor for thread::_Impl_base.
945 * include/std/system_error: Adjust.
946 * include/std/stdexcept: Same.
947 * include/std/future: Same.
948 * include/std/functional: Same.
949 * include/std/thread: Same.
950 * include/bits/shared_ptr_base.h: Same.
951 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
952 * libsupc++/nested_exception.h: Adjust.
953 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
954 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
955 * config/abi/pre/gnu.ver: Add new exports.
957 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
959 * include/bits/regex_compiler.h: Nest namespace versioning.
960 * include/bits/regex_grep_matcher.tcc: Same.
961 * include/bits/regex_grep_matcher.h: Same.
962 * include/bits/regex_cursor.h: Same.
963 * include/bits/regex_nfa.h: Same.
964 * include/bits/regex_nfa.tcc: Same.
966 * include/bits/regex_grep_matcher.h: Version forward declarations.
967 * include/bits/c++config: Add namespace association for __regex.
968 * include/bits/regex.h: Make sub_match consistent.
970 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
972 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
974 * doc/html/manual/abi.html: Regenerate.
976 2011-03-14 Tom Tromey <tromey@redhat.com>
978 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
979 Try to import `gdb.printing' module.
980 (UniquePointerPrinter.__init__): Add 'typename' argument.
981 (StdSlistPrinter.__init__): Likewise.
982 (StdSlistIteratorPrinter.__init__): Likewise.
983 (StdVectorIteratorPrinter.__init__): Likewise.
984 (StdRbtreeIteratorPrinter.__init__): Likewise.
985 (StdDebugIteratorPrinter.__init__): Likewise.
986 (StdDequeIteratorPrinter.__init__): Likewise.
987 (StdStringPrinter.__init__): Likewise.
988 (RxPrinter, Printer): New class.
989 (libstdcxx_printer): New global.
990 (register_libstdcxx_printers): Rewrite.
991 (build_libstdcxx_dictionary): Rewrite.
992 (pretty_printers_dict): Remove.
994 2011-03-14 Andrey Zholos <aaz@althenia.net>
997 * include/bits/random.h (geometric_distribution): Correct formula
998 in comment, per C++0x.
999 (geometric_distribution<>::param_type::param_type(double)): Fix check.
1000 (geometric_distribution<>::param_type::_M_initialize):
1002 * include/bits/random.tcc (geometric_distribution<>::operator()):
1004 (binomial_distribution<>::operator()): Likewise.
1006 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
1008 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
1010 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
1011 Chris Jefferson <chris@bubblescope.net>
1012 Paolo Carlini <paolo.carlini@oracle.com>
1014 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
1016 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1018 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
1020 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
1022 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
1024 2011-03-09 Chris Jefferson <chris@bubblescope.net>
1027 * include/bits/stl_algo.h (__merge_backward): Rename to
1028 __move_merge_backward and change to always move rather than copy.
1029 (__move_merge): New function similar to std::merge except values
1030 are moved instead of copied.
1031 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
1032 and __merge_backward to __move_merge and __move_merge_backward.
1034 2011-03-07 Jason Merrill <jason@redhat.com>
1036 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
1039 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
1040 Matthias Klose <doko@ubuntu.com>
1041 Jonathan Wakely <redi@gcc.gnu.org>
1044 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
1045 * configure.ac: Use it.
1046 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
1047 * configure: Regenerate.
1048 * doc/Makefile.in: Regenerate.
1050 2011-03-04 Benjamin Kosnik <bkoz@chula>
1052 * src/Makefile.am (inst_sources): Make source instantion files
1054 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
1055 * src/Makefile.in: Regenerate.
1056 * src/valarray-inst.cc: Move to..
1057 * src/valarray.cc: ...this.
1058 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1059 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1060 * configure: Regenerate.
1061 * include/Makefile.am (stamp-extern-template): Add.
1062 * include/Makefile.in: Regenerate.
1064 * doc/xml/manual/configure.xml: Document --enable-extern-template.
1066 * include/bits/locale_classes.tcc: Adjust comment.
1067 * include/bits/locale_facets.tcc: Same.
1068 * include/bits/basic_ios.tcc: Same.
1069 * include/bits/istream.tcc: Same.
1070 * include/bits/codecvt.h: Same.
1071 * include/bits/ostream.tcc: Same.
1072 * include/bits/sstream.tcc: Same.
1073 * include/bits/c++config: Same.
1074 * include/bits/basic_string.tcc: Same.
1075 * include/bits/ostream_insert.h: Same.
1076 * include/bits/locale_facets_nonio.tcc: Same.
1077 * include/bits/streambuf.tcc: Same.
1078 * include/bits/allocator.h: Same.
1079 * include/bits/fstream.tcc: Same.
1081 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1083 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1085 * testsuite/Makefile.am: Make clean fixups.
1086 * testsuite/Makefile.in: Regenerate.
1088 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1090 * include/std/ratio (ratio_less): Add comments.
1092 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1095 * include/std/ratio (ratio_add): Avoid denominator overflow.
1096 * testsuite/20_util/ratio/operations/47913.cc: New.
1098 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1100 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1101 * testsuite/20_util/hash/quality.cc: Same.
1103 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1106 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1108 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1109 xputn): Use the latter.
1110 * include/bits/streambuf_iterator.h: Likewise.
1111 * src/strstream.cc: Likewise.
1112 * src/streambuf.cc: Likewise.
1113 * src/compatibility.cc: Likewise.
1114 * src/istream.cc: Likewise.
1115 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1117 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1118 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1119 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1120 * config/abi/pre/gnu.ver: Tweak.
1122 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1124 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1126 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1129 * include/std/ratio (ratio_less): Reimplement to never overflow.
1130 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1132 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1134 * testsuite/18_support/type_info/fundamental.cc: New.
1136 * testsuite/Makefile.am: Make clean fixups.
1137 * testsuite/Makefile.in: Regenerate.
1139 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1141 * include/debug/string (basic_string::insert): Add iterator check and
1142 pass normal iterator to normal insert.
1143 * include/debug/macros.h (__glibcxx_check_heap,
1144 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1147 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1150 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1151 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1153 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1155 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1156 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1157 (basic_regex::operator=(basic_regex&&)): Likewise.
1158 (basic_regex::assign(basic_regex&&)): Likewise.
1159 (operator==(sub_match,...)): Implement DR 1181.
1160 (match_results::match_results(match_results&&)): Define.
1161 (match_results::operator=(const match_results&)): Fix parameter type.
1162 (match_results::operator=(match_results&&)): Define.
1164 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1167 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1168 line anchors as metacharacters.
1169 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1171 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1174 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1175 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1176 hash<__gnu_cxx::__u32vstring>): Add.
1177 * testsuite/ext/vstring/hash/char/1.cc: New.
1178 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1180 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1182 * include/bits/regex.h (match_results::format): Use char_traits.
1184 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1186 * include/std/atomic: Remove atomic_address, uplift to N3225.
1187 * include/bits/atomic_0.h: Same.
1188 * include/bits/atomic_2.h: Same.
1189 * include/bits/atomic_base.h: Same.
1190 * testsuite/29_atomics/atomic_address/*: Delete.
1192 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1194 * include/bits/regex.h (sub_match::sub_match): Add.
1195 (match_results::ready): Add.
1196 (match_results::empty): Adjust.
1197 (match_results::length): Add missing dereference.
1198 (match_results::operator[],prefix,suffix): Add debug mode checks.
1199 (match_results::cend): Re-use end().
1200 (match_results::format): Adjust signatures.
1201 (operator==(match_results,match_results)): Implement.
1202 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1203 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1204 * include/bits/regex_grep_matcher.h: Fix comment typo.
1205 (_SpecializedResults::_SpecializedResults): Simplify.
1206 * include/bits/regex_cursor.h: Fix comment typo.
1207 * include/bits/regex_nfa.h: Likewise.
1208 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1209 Fix error code, remove xfail.
1210 * testsuite/28_regex/basic_regex/ctors/extended/
1211 string_range_01_02_03.cc: Likewise.
1213 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1215 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1216 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1218 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1220 * configure: Regenerate.
1222 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1225 * include/ext/algorithm (is_heap): In C++0x mode import from
1227 * testsuite/ext/is_heap/47709.cc: New.
1229 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1230 Jonathan Wakely <jwakely.gcc@gmail.com>
1233 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1234 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1236 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1238 * include/tr1/cmath (fabs): Define.
1239 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1242 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1244 * testsuite/tr1/headers/c++200x/complex.cc: New.
1246 2011-02-11 Johannes Singler <singler@kit.edu>
1249 * include/parallel/losertree.h
1250 (_LoserTreeUnguarded<>::__delete_min_insert):
1251 Add missing "using std::swap;", as for other variants.
1253 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1255 * src/Makefile.am (sources): Add regex.cc.
1256 * src/Makefile.in: Regenerate.
1257 * src/regex.cc: New.
1258 * include/bits/regex_error.h (error_type): Use constexpr.
1259 (regex_error): Move ctor and dtor out of line.
1261 * testsuite/28_regex/03_requirements: To...
1262 * testsuite/28_regex/requirements: ... this.
1263 * testsuite/28_regex/04_header: To...
1264 * testsuite/28_regex/headers: ... this.
1265 * testsuite/28_regex/05_constants: To...
1266 * testsuite/28_regex/constants: ... this.
1267 * testsuite/28_regex/06_exception_type: To...
1268 * testsuite/28_regex/regex_error: ... this.
1269 * testsuite/28_regex/07_traits: To...
1270 * testsuite/28_regex/traits: ... this.
1271 * testsuite/28_regex/08_basic_regex: To...
1272 * testsuite/28_regex/basic_regex: ... this.
1273 * testsuite/28_regex/09_sub_match: To...
1274 * testsuite/28_regex/sub_match: ... this.
1275 * testsuite/28_regex/10_match_results: To...
1276 * testsuite/28_regex/match_results: ... this.
1277 * testsuite/28_regex/11_algorithms: To...
1278 * testsuite/28_regex/algorithms: ... this.
1279 * testsuite/28_regex/12_iterators: To...
1280 * testsuite/28_regex/iterators: ... this.
1282 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1285 * include/bits/c++config: Do not use alternative token.
1286 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1288 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1290 * src/future.cc (future_error_category::message): Handle no_state.
1292 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1294 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1295 not test in C++0x mode.
1296 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1297 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1300 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1302 * doc/xml/manual/status_cxx200x.xml: Update.
1303 * doc/html/*: Regenerate.
1305 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1307 * doc/xml/manual/debug.xml: Improve data race docs.
1309 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1312 * include/debug/map.h (map): Remove unnecessary using-declaration.
1313 * include/debug/multimap.h (multimap): Likewise.
1314 * include/profile/map.h (map): Likewise.
1315 * include/profile/multimap.h (multimap): Likewise.
1317 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1320 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1322 * libsupc++/guard_error.cc: ... new file.
1323 * libsupc++/Makefile.am: Update.
1324 * libsupc++/Makefile.in: Regenerate.
1326 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1328 * include/std/future (packaged_task::operator bool): Rename to...
1329 (packaged_task::valid): ...this.
1330 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1331 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1332 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1333 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1334 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1335 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1336 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1337 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1338 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1339 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1340 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1342 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1344 * doc/xml/manual/io.xml: Fix typo.
1345 * doc/html/manual/streambufs.html: Likewise.
1347 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1349 * config/abi/pre/gnu.ver: Fix.
1351 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
1353 * doc/xml/manual/appendix_porting.xml: Add doc section.
1354 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1355 * doc/xml/manual/documentation_hacking.xml: ...here.
1357 * doc/xml/manual/debug_mode.xml: Adjust.
1358 * doc/xml/manual/prerequisites.xml: Adjust.
1359 * doc/Makefile.am (xml_sources): Add dot files,
1360 documentation_hacking.xml.
1361 * doc/Makefile.in: Regenerate.
1363 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1364 * doc/xml/images/confdeps.pdf: Add.
1366 * doc/html/*: Regenerate.
1368 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1370 * doc/xml/gnu/fdl-1.2.xml: Remove.
1371 * doc/xml/gnu/gpl-2.0.xml: Remove.
1372 * doc/Makefile.am: Update.
1373 * doc/Makefile.in: Regenerate.
1375 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1378 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1379 iterator)): Add back in C++03 mode.
1380 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1381 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1383 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
1385 PR libstdc++/47560 try two
1386 * config/os/hpux/os_defines.h: Guard for C++.
1388 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1390 * doc/xml/faq.xml: Adjust link to bug database.
1391 Remove old item on broken header files.
1393 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1395 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1396 * src/functexcept.cc: Add definition.
1397 * config/abi/pre/gnu.ver: Export.
1399 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1401 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1402 * configure: Regenerate.
1404 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1407 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1408 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1409 avoid name conflicts.
1411 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1414 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1416 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1418 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1419 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1420 (COMPACT_LATEX): Enable.
1422 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1423 * include/profile/impl/profiler_hash_func.h: Same.
1424 * include/bits/hashtable.h: Same.
1425 * include/backward/auto_ptr.h: Same.
1426 * include/backward/strstream: Same.
1427 * include/backward/backward_warning.h: Same.
1428 * include/backward/binders.h: Same.
1430 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1432 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1433 Adjust link to GDB manual.
1435 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1437 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1438 _GLIBCXX_USE_DEPRECATED.
1439 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1440 * doc/xml/manual/using.xml: Same.
1441 * include/std/memory: Same.
1442 * include/std/streambuf: Same.
1443 * include/bits/shared_ptr.h: Same.
1444 * include/bits/unique_ptr.h: Same.
1445 * include/bits/shared_ptr_base.h: Same.
1446 * include/bits/stl_function.h: Same.
1447 * include/tr1/shared_ptr.h: Same.
1448 * include/backward/auto_ptr.h: Same.
1449 * include/backward/binders.h: Same.
1451 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1453 * doc/html/ext/lwg-active.html: Update to Revision D73.
1454 * doc/html/ext/lwg-closed.html: Likewise.
1455 * doc/html/ext/lwg-defects.html: Likewise.
1456 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1458 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1460 PR libstdc++/36104 part four
1461 * include/bits/c++config (_GLIBCXX_STD): Remove.
1462 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1463 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1464 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1465 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1466 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1467 _GLIBCXX_INLINE_PROFILE): Remove.
1468 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1469 (_GLIBCXX_END_NAMESPACE): Remove.
1470 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1471 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1472 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1473 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1474 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1475 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1476 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1477 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1478 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1479 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1480 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1481 * include/*: Use new macros for namespace scope.
1485 * src/Makefile.am (sources): Remove debug_list.cc, add
1486 compatibility-debug_list-2.cc.
1487 (parallel_sources): Remove parallel_list.cc, add
1488 compatibility-parallel_list-2.cc.
1489 (compatibility-parallel_list-2.[o,lo]): New rule.
1490 * src/Makefile.in: Regenerate.
1491 * src/debug_list.cc: Remove.
1492 * src/parallel_list.cc: Remove.
1493 * src/compatibility-list-2.cc: New.
1494 * src/compatibility-debug_list-2.cc: New.
1495 * src/compatibility-parallel_list-2.cc: New.
1497 * doc/doxygen/user.cfg.in: Adjust macros.
1499 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1500 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1501 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1502 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1503 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1504 * testsuite/20_util/forward/c_neg.cc: Same.
1505 * testsuite/20_util/forward/f_neg.cc: Same.
1506 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1507 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1508 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1509 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1510 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1511 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1512 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1513 * testsuite/23_containers/deque/requirements/dr438/
1514 constructor_1_neg.cc: Same.
1515 * testsuite/23_containers/deque/requirements/dr438/
1516 constructor_2_neg.cc: Same.
1517 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1518 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1519 * testsuite/23_containers/forward_list/requirements/dr438/
1520 assign_neg.cc: Same.
1521 * testsuite/23_containers/forward_list/requirements/dr438/
1522 constructor_1_neg.cc: Same.
1523 * testsuite/23_containers/forward_list/requirements/dr438/
1524 constructor_2_neg.cc: Same.
1525 * testsuite/23_containers/forward_list/requirements/dr438/
1526 insert_neg.cc: Same.
1527 * testsuite/23_containers/list/capacity/29134.cc: Same.
1528 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1529 * testsuite/23_containers/list/requirements/dr438/
1530 constructor_1_neg.cc: Same.
1531 * testsuite/23_containers/list/requirements/dr438/
1532 constructor_2_neg.cc: Same.
1533 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1534 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1535 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1536 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1537 * testsuite/23_containers/vector/requirements/dr438/
1538 constructor_1_neg.cc: Same.
1539 * testsuite/23_containers/vector/requirements/dr438/
1540 constructor_2_neg.cc: Same.
1541 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1542 * testsuite/25_algorithms/sort/35588.cc: Same.
1543 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1544 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1545 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1546 * testsuite/ext/profile/profiler_algos.cc: Same.
1547 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1548 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1549 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1550 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1551 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1553 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1555 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1556 Improve description of one such reference.
1558 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1560 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1561 Standards Revision Group.
1562 * doc/xml/manual/locale.xml: Ditto.
1563 * doc/xml/manual/messages.xml: Ditto.
1564 * doc/xml/manual/using_exceptions.xml: Ditto.
1566 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1568 * include/bits/atomic_base.h: Do not include <stddef.h>.
1569 (kill_dependency): Uglify ret.
1571 2011-01-26 Johannes Singler <singler@kit.edu>
1573 * include/parallel/numeric (inner_product, partial_sum):
1574 Qualify subsequent call with __gnu_parallel instead of
1575 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1576 * include/parallel/algobase.h (equal): Likewise.
1577 * include/parallel/algo.h (find_first_of, search_n, merge,
1578 nth_element, partial_sort, max_element, min_element): Likewise.
1579 * testsuite/25_algorithms/headers/algorithm/
1580 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1581 * testsuite/25_algorithms/headers/algorithm/
1582 parallel_algorithm_mixed2.cc (main): Likewise.
1583 * testsuite/26_numerics/headers/numeric/
1584 parallel_numeric_mixed1.cc (main): Likewise.
1585 * testsuite/26_numerics/headers/numeric/
1586 parallel_numeric_mixed2.cc (main): Likewise.
1588 2011-01-24 Graham Reed <greed@pobox.com>
1591 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1594 2011-01-24 Johannes Singler <singler@kit.edu>
1597 * include/parallel/losertree.h
1598 (_LoserTree<>::__delete_min_insert):
1599 Do not qualify swap with std:: for value type,
1600 but include a using directive instead.
1601 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1602 * include/parallel/balanced_quicksort.h (__qsb_divide):
1603 Use std::iter_swap instead of std::swap.
1604 (__qsb_local_sort_with_helping): Likewise.
1605 * include/parallel/partition.h (__parallel_partition):
1606 Likewise. (__parallel_nth_element): Likewise.
1608 2011-01-24 Johannes Singler <singler@kit.edu>
1611 * include/parallel/multiway_merge.h (_UnguardedIterator):
1612 Remove useless "mutable" from reference declaration.
1614 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1616 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1617 * include/debug/safe_sequence.h: Same.
1618 * include/debug/safe_iterator.h: Same.
1619 * include/std/forward_list: Same.
1620 * include/std/deque: Same.
1621 * include/std/list: Same.
1622 * include/std/random: Same.
1623 * include/std/streambuf: Same.
1624 * include/std/fstream: Same.
1625 * include/std/istream: Same.
1626 * include/std/string: Same.
1627 * include/std/ostream: Same.
1628 * include/std/sstream: Same.
1629 * include/ext/vstring.h: Same.
1630 * include/bits/basic_ios.h: Same.
1631 * include/bits/locale_classes.h: Same.
1632 * include/bits/locale_facets.h: Same.
1633 * include/bits/valarray_array.h: Same.
1634 * include/bits/locale_facets_nonio.h: Same.
1635 * include/tr1/random: Same.
1637 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1639 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1641 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1643 PR libstdc++/36104 part three
1644 * src/hashtable_c++0x.cc: Adjust namespace macros.
1645 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1646 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1648 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1650 * include/ext/pb_ds/detail/resize_policy/
1651 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1652 * include/ext/pb_ds/detail/pat_trie_/
1653 constructors_destructor_fn_imps.hpp: Same.
1654 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1655 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1656 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1658 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1659 iterations downward when testing in debug mode.
1660 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1661 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1662 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1663 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1664 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1665 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1666 reduce in debug mode.
1668 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1670 PR libstdc++/36104 part two
1671 * include/bits/hashtable.h: Revert to non-nested macro usage.
1672 * include/bits/hashtable_policy.h: Same.
1674 2011-01-19 Graham Reed <greed@pobox.com>
1677 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1679 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1681 * doc/xml/images/confdeps.png: Regenerate.
1683 * include/std/chrono (duration): Mark copy constructor constexpr.
1684 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1686 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1688 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1689 Declare defaulted per DR 1517.
1690 * testsuite/util/testsuite_common_types.h
1691 (constexpr_defaulted_default_constructible): Add.
1692 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1694 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1696 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1698 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1700 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1703 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1704 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1706 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1709 * testsuite/18_support/numeric_limits/lowest.cc:
1710 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1712 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1715 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1716 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1718 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1720 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1721 to this. Use _neg suffix.
1722 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1724 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1726 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1727 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1729 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1730 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1732 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1733 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1735 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1736 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1738 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1739 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1741 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1742 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1744 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1745 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1747 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1748 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1750 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1751 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1753 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1754 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1756 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1757 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1759 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1760 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1762 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1763 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1765 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1766 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1768 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1770 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1773 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1774 * include/Makefile.in: Regenerate.
1775 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1776 (install-stdHEADERS, install-bitsHEADERS): New.
1777 * libsupc++/Makefile.in: Regenerate.
1779 * include/bits/c++config: Update for inline namespaces.
1780 * libsupc++/cxxabi-forced.h: To...
1781 * libsupc++/cxxabi_forced.h: ...this.
1782 * libsupc++/hash_bytes.h: Separate file.
1783 * libsupc++/typeinfo: Use it.
1784 * libsupc++/exception: Adjust for bits subdirectory.
1785 * libsupc++/eh_aux_runtime.cc: Same.
1786 * libsupc++/eh_ptr.cc: Same.
1787 * libsupc++/new_op.cc: Same.
1788 * libsupc++/exception_defines.h: Same.
1789 * libsupc++/nested_exception.h: Same.
1790 * libsupc++/eh_terminate.cc: Same.
1791 * libsupc++/vec.cc: Same.
1792 * libsupc++/vterminate.cc: Same.
1793 * libsupc++/exception_ptr.h: Same.
1794 * libsupc++/eh_personality.cc: Same.
1795 * libsupc++/eh_call.cc: Same.
1796 * libsupc++/new_opnt.cc: Same.
1797 * libsupc++/hash_bytes.cc: Same.
1798 * config/cpu/arm/cxxabi_tweaks.h: Same.
1799 * config/cpu/generic/cxxabi_tweaks.h: Same.
1800 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1801 * include/std/bitset: Same.
1802 * include/ext/vstring.tcc: Same.
1803 * include/bits/hashtable.h: Same.
1804 * include/bits/functional_hash.h: Same.
1805 * include/bits/hashtable_policy.h: Same.
1806 * include/bits/basic_string.h: Same.
1807 * include/bits/istream.tcc: Same.
1808 * include/bits/ostream.tcc: Same.
1809 * include/bits/algorithmfwd.h: Same.
1810 * include/bits/basic_string.tcc: Same.
1811 * include/bits/ostream_insert.h: Same.
1812 * include/bits/fstream.tcc: Same.
1813 * include/bits/functexcept.h: Same.
1815 * doc/doxygen/user.cfg.in: Adjust names.
1817 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1819 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1821 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1823 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1825 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1827 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1828 * testsuite/25_algorithms/is_permutation/requirements/
1829 explicit_instantiation/2.cc: Likewise.
1830 * testsuite/25_algorithms/is_permutation/requirements/
1831 explicit_instantiation/pod.cc: Likewise.
1832 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1834 2011-01-13 John Lakos <jlakos@bloomberg.net>
1835 Pablo Halpern <phalpern@halpernwightsoftware.com>
1836 Paolo Carlini <paolo.carlini@oracle.com>
1838 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1839 * include/bits/algorithmfwd.h: Add.
1841 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1844 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1846 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1848 * aclocal.m4: Regenerate.
1850 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1853 * src/placeholders.cc: New.
1854 * src/Makefile.am: Adjust.
1855 * src/Makefile.in: Regenerate.
1856 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1858 * config/abi/pre/gnu.ver: Export.
1860 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1862 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1863 * include/src/debug.cc: Use latter
1864 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1865 correctly handle before_begin iterators.
1866 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1867 useless _GLIBCXX_DEBUG checks.
1869 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1872 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1873 * configure: Regenerated.
1875 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1878 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1881 Copyright (C) 2011 Free Software Foundation, Inc.
1883 Copying and distribution of this file, with or without modification,
1884 are permitted in any medium without royalty provided the copyright
1885 notice and this notice are preserved.