1 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
4 functions as defaulted/deleted.
5 * include/bits/shared_ptr.h: Use noexcept.
6 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
7 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
9 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
11 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
13 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
15 * libsupc++/initializer_list: Use noexcept specifier.
16 (initializer_list<>::size, begin, end): Qualify as const.
17 * include/bits/move.h (__addressof, forward, move, addressof): Specify
19 * include/std/bitset: Use noexcept specifier throughout.
20 * include/debug/bitset: Update.
21 * include/profile/bitset: Likewise.
23 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
25 * include/std/tuple: Use noexcept where appropriate.
26 (tuple<>::swap): Rework implementation.
27 (_Head_base<>::_M_swap_impl): Remove.
28 (get(std::tuple<>&&)): Add.
29 * testsuite/20_util/tuple/element_access/get2.cc: New.
30 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
33 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
35 * include/std/utility: Simplify the last commit, the whole
36 std::get code is C++0x only.
38 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
40 * include/std/utility (get(std::pair<>&&)): Add.
41 * include/bits/stl_pair.h (pair::swap(pair&),
42 swap(pair<>&, pair<>&)): Use noexcept.
43 * include/bits/random.h (discard_block_engine<>::base,
44 independent_bits_engine<>::base, shuffle_order_engine<>::base,
45 random_device::entropy): Use noexcept.
46 * include/std/array: Use noexcept where appropriate.
47 (get(array<>&&)): Add.
48 * testsuite/23_containers/array/requirements/get.cc: New.
49 * testsuite/20_util/pair/get.cc: Likewise.
50 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
53 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
55 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
57 * include/std/limits: Use the latter everywhere.
58 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
59 macro usages, the specializations exist only in C++0x mode.
60 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
63 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
65 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
67 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
69 2011-05-11 François Dumont <francois.cppdevs@free.fr>
71 * include/ext/pb_ds/detail/resize_policy/
72 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
73 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
74 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
75 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
76 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
77 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
78 * include/ext/pb_ds/detail/debug_map_base.hpp,
79 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
80 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
81 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
82 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
83 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
84 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
85 macro definitions move...
86 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
87 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
88 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
89 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
90 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
91 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
92 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
93 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
94 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
97 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
100 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
101 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
102 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
103 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
104 scalbn, tgamma, trunc): Use __enable_if on the return type.
105 * include/tr1/cmath: Likewise.
106 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
107 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
109 2011-05-07 François Dumont <francois.cppdevs@free.fr>
111 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
112 (_GLICXX_DEBUG_VERIFY): Use latter.
113 * include/ext/pb_ds/detail/resize_policy/
114 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
115 containing the original assert call.
116 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
117 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
118 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
119 split_join_fn_imps.hpp: Likewise.
120 * include/ext/pb_ds/detail/cc_hash_table_map_/
121 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
122 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
123 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
124 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
125 erase_no_store_hash_fn_imps.hpp: Likewise.
126 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
127 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
128 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
129 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
131 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
132 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
133 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
134 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
136 * include/ext/pb_ds/detail/gp_hash_table_map_/
137 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
138 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
139 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
140 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
141 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
143 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
144 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
145 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
146 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
147 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
148 find_fn_imps.hpp, insert_fn_imps.hpp,
149 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
150 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
151 * include/ext/pb_ds/detail/binomial_heap_/
152 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
153 binomial_heap_.hpp: Likewise.
154 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
155 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
156 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
157 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
158 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
159 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
160 split_join_fn_imps.hpp: Likewise.
161 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
162 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
163 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
164 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
165 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
166 find_fn_imps.hpp, insert_fn_imps.hpp,
167 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
168 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
169 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
170 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
171 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
172 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
173 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
174 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
175 split_join_fn_imps.hpp: Likewise.
176 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
177 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
178 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
179 * include/ext/pb_ds/hash_policy.hpp: Likewise.
181 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
183 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
185 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
187 PR libstdc++/47913 (again)
188 * include/std/ratio (ratio_add, ratio_less): Rewrite.
189 * testsuite/20_util/ratio/operations/47913.cc: Extend.
190 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
192 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
194 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
197 * include/std/valarray (valarray<>::valarray(valarray&&),
198 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
199 * doc/xml/manual/status_cxx200x.xml: Update.
200 * testsuite/26_numerics/valarray/moveable.cc: New.
201 * testsuite/26_numerics/valarray/swap.cc: Likewise.
203 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
206 * include/parallel/multiway_merge.h: Run _ValueType destructors.
207 * include/parallel/multiway_mergesort.h: Likewise.
208 * include/parallel/quicksort.h: Likewise.
209 * include/parallel/random_shuffle.h: Likewise.
210 * include/parallel/partial_sum.h: Likewise.
211 * include/parallel/losertree.h: Run destructors; minor tweaks.
212 * include/parallel/par_loop.h: Run destructors, fix memory
213 allocations and deallocations.
214 * testsuite/26_numerics/accumulate/48750.cc: New.
216 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
217 parallel-mode to avoid spurious multiple errors.
219 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
221 * include/std/functional (bind): Remove from overload set when first
222 argument type might be a socket file descriptor.
223 * testsuite/20_util/bind/socket.cc: New.
225 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
228 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
229 * doc/html/*: Regenerate.
231 2011-05-02 Ollie Wild <aaw@google.com>
233 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
234 Fix unqualified lookup.
235 (__sso_string_base<>::_M_assign): Likewise.
236 (__sso_string_base<>::_M_reserve): Likewise.
237 (__sso_string_base<>::_M_mutate): Likewise.
238 (__sso_string_base<>::_M_erase): Likewise.
239 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
240 (__versa_string<>::compare): Likewise.
241 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
243 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
245 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
247 * doc/xml/manual/documentation_hacking.xml: Fix typo.
248 * doc/html/*: Regenerate.
250 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
252 * include/std/type_traits (__is_default_constructible_atom,
253 __is_default_constructible_safe<, true>,
254 __is_direct_constructible_new_safe,
255 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
256 __is_direct_constructible_ref_cast, __is_direct_constructible,
257 __is_nary_constructible): Simplify; add comments throughout.
259 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
261 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
262 Adjust dg-error line numbers.
263 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
265 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
267 2011-04-30 Doug Kwan <dougkwan@google.com>
269 * include/Makefile.am (install-freestanding-headers): Also install
271 * include/Makefile.in: Regenerate.
273 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
276 * include/std/complex (complex<float>::complex(float, float),
277 complex<double>::complex(double, double),
278 complex<long double>::complex(long double, long double)): Use
279 list-initialization in C++0x mode, initialize in the body in
281 * testsuite/26_numerics/complex/cons/48760.cc: New.
282 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
284 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
286 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
287 tweak, remove redundant round braces.
289 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
291 * include/bits/move.h (move_if_noexcept): Add.
292 * testsuite/20_util/move_if_noexcept/requirements/
293 explicit_instantiation.cc: New.
294 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
296 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
298 * include/std/type_traits (struct underlying_type): Add.
299 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
300 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
302 * testsuite/20_util/underlying_type/requirements/
303 explicit_instantiation.cc: Likewise.
304 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
307 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
309 * include/parallel/multiway_merge.h: Uglify equally_split
310 and equally_split_point throughout.
311 * include/parallel/par_loop.h: Likewise.
312 * include/parallel/equally_split.h: Likewise.
313 * include/parallel/set_operations.h: Likewise.
314 * include/parallel/unique_copy.h: Likewise.
315 * include/parallel/multiway_mergesort.h: Likewise.
316 * include/parallel/search.h: Likewise.
317 * include/parallel/partial_sum.h: Likewise.
318 * include/parallel/find.h: Likewise.
320 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
322 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
323 documentation. Expand link text.
325 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
327 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
329 2011-04-22 François Dumont <francois.cppdevs@free.fr>
331 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
332 unused compilation result thanks to /dev/null.
333 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
334 check_v3_target_profile_mode, check_v3_target_normal_mode,
335 check_v3_target_cstdint, check_v3_target_cmath,
336 check_v3_target_atomic_builtins, check_v3_target_gthreads,
337 check_v3_target_nanosleep, check_v3_target_sched_yield,
338 check_v3_target_string_conversions, check_v3_target_swprintf,
339 check_v3_target_binary_io): Use simple preprocessing rather than
340 compilation. Discard unused preprocessing result thanks to /dev/null.
342 2011-04-20 Jim Meyering <meyering@redhat.com>
344 * libsupc++/del_opnt.cc (operator delete): Remove useless
347 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
350 * include/std/type_traits (result_of): Handle pointer to member.
351 * include/std/functional (__invoke): Likewise.
352 (_Function_to_function_pointer): Remove.
353 (_Reference_wrapper_base): Provide nested types independent of
354 unary_function and binary_function.
355 (reference_wrapper::operator()): DR 2017.
356 (ref(const A&&), cref(const A&&): Define as deleted.
357 * include/std/future (async): Simplify SFINAE and use result_of to
358 support pointer to member.
359 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
361 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
362 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
363 instead of derivation from unary_function and binary_function.
364 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
365 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
366 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
367 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
369 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
372 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
373 this part if SAMPLES < 100000.
375 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
377 * include/std/type_traits (is_nothrow_default_constructible,
378 is_nothrow_copy_constructible, is_nothrow_move_constructible,
379 is_copy_constructible, is_move_constructible): Add.
380 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
382 (is_nothrow_constructible): Adjust.
384 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
385 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
386 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
387 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
389 * testsuite/20_util/has_nothrow_default_constructor: Remove.
390 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
392 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
393 * testsuite/20_util/is_nothrow_move_constructible/requirements/
394 typedefs.cc: Likewise.
395 * testsuite/20_util/is_nothrow_move_constructible/requirements/
396 explicit_instantiation.cc: Likewise.
397 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
398 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
399 typedefs.cc: Likewise.
400 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
401 explicit_instantiation.cc: Likewise.
402 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
404 * testsuite/20_util/is_nothrow_default_constructible/requirements/
405 typedefs.cc: Likewise.
406 * testsuite/20_util/is_nothrow_default_constructible/requirements/
407 explicit_instantiation.cc: Likewise.
408 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
409 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
411 * testsuite/20_util/is_move_constructible/requirements/
412 explicit_instantiation.cc: Likewise.
413 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
414 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
416 * testsuite/20_util/is_copy_constructible/requirements/
417 explicit_instantiation.cc: Likewise.
419 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
420 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
422 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
423 Adjust dg-error line numbers.
424 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
426 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
428 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
430 * testsuite/25_algorithms/partition/moveable.cc: Actually run
431 it in parallel-mode for check-parallel.
433 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
434 Paolo Carlini <paolo.carlini@oracle.com>
436 PR libstdc++/48635 (again)
437 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
438 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
439 unique_ptr<>::operator=(unique_ptr<>&&),
440 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
441 forward<_Dp>, to forward the deleter.
442 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
444 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
445 Paolo Carlini <paolo.carlini@oracle.com>
448 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
449 function call operator.
450 * testsuite/20_util/default_delete/48631_neg.cc: New.
451 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
454 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
455 Paolo Carlini <paolo.carlini@oracle.com>
458 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
459 unique_ptr<>::operator=(unique_ptr<>&&),
460 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
461 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
462 instead of moving it.
463 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
465 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
467 * scripts/extract_symvers.pl: Handle NOTY.
469 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
471 * include/std/istream: Fix comments in the light of DR60 + N3168.
473 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
474 Paolo Carlini <paolo.carlini@oracle.com>
477 * include/std/type_traits (struct is_constructible): Re-implement,
479 (struct is_default_constructible): Add.
480 (struct is_destructible): Likewise.
481 (struct __and_, __or_, __not_): Add and use throughout; reorder some
482 facilities, other minor tweaks.
483 * testsuite/util/testsuite_tr1.h: Add test types.
484 * testsuite/20_util/is_constructible/value-2.cc: New.
485 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
486 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
488 * testsuite/20_util/is_default_constructible/requirements/
489 explicit_instantiation.cc: Likewise.
490 * testsuite/20_util/is_destructible/value.cc: Likewise.
491 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
493 * testsuite/20_util/is_destructible/requirements/
494 explicit_instantiation.cc: Likewise.
495 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
496 dg-error line numbers.
497 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
499 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
500 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
502 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
504 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
506 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
507 * testsuite/20_util/is_function/requirements/
508 explicit_instantiation.cc: Likewise.
509 * testsuite/20_util/is_function/24808.cc: Likewise.
510 * testsuite/20_util/is_function/35637.cc: Likewise.
511 * testsuite/20_util/is_object/value.cc: Likewise.
512 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
513 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
515 * testsuite/20_util/is_object/24808.cc: Likewise.
516 * testsuite/20_util/is_compound/value.cc: Likewise.
517 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
518 * testsuite/20_util/is_compound/requirements/
519 explicit_instantiation.cc: Likewise.
520 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
521 * testsuite/20_util/is_member_object_pointer/requirements/
522 typedefs.cc: Likewise.
523 * testsuite/20_util/is_member_object_pointer/requirements/
524 explicit_instantiation.cc: Likewise.
525 * testsuite/20_util/is_fundamental/value.cc: Likewise.
526 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
527 * testsuite/20_util/is_fundamental/requirements/
528 explicit_instantiation.cc: Likewise.
529 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
530 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
532 * testsuite/20_util/is_member_pointer/requirements/
533 explicit_instantiation.cc: Likewise.
534 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
535 * testsuite/20_util/is_member_function_pointer/
536 requirements/typedefs.cc: Likewise.
537 * testsuite/20_util/is_member_function_pointer/requirements/
538 explicit_instantiation.cc: Likewise.
540 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
543 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
546 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
547 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
548 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
549 * testsuite/20_util/tuple/cons/48476.cc: New.
550 * testsuite/20_util/tuple/48476.cc: Likewise.
551 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
553 2011-04-12 Allan McRae <allan@archlinux.org>
556 * testsuite/tr1/6_containers/unordered_map/requirements/
557 iterator_null_neg.cc: Include <cstddef>.
558 * testsuite/tr1/6_containers/unordered_set/requirements/
559 iterator_null_neg.cc: Likewise.
560 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
562 * testsuite/util/testsuite_common_types.h: Include <limits>.
563 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
564 Adjust dg-error line numbers.
565 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
566 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
568 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
570 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
572 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
573 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
575 2011-04-11 Jason Merrill <jason@redhat.com>
577 * testsuite/20_util/is_convertible/value.cc: Adjust.
579 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
581 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
582 it in parallel-mode for check-parallel.
583 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
584 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
585 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
586 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
588 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
589 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
590 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
592 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
593 the tests based on std::lexicographical_compare for check-parallel.
594 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
596 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
599 * include/std/functional (_Base_manager::_M_get_pointer): Use
601 * testsuite/20_util/function/48541.cc: New.
603 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
606 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
607 * configure: Regenerate.
608 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
609 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
611 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
613 * include/ext/algorithm (is_sorted): In C++0x mode import from
615 * include/ext/numeric (iota): In C++0x mode import from
617 * testsuite/ext/is_sorted/cxx0x.cc: New.
618 * testsuite/ext/iota/cxx0x.cc: New.
620 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
623 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
624 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
625 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
626 unused parameter name.
628 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
630 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
631 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
632 redundant default argument from std::__throw_with_nested.
634 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
637 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
638 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
639 * src/Makefile.in: Regenerate.
640 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
641 * include/Makefile.in: Regenerate.
642 * doc/xml/manual/internals.xml: Update.
643 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
644 * config/os/newlib/ctype_configure_char.cc: ... this.
645 * config/os/aix/ctype_noninline.h: Likewise.
646 * config/os/aix/ctype_configure_char.cc: Likewise.
647 * config/os/vxworks/ctype_noninline.h: Likewise.
648 * config/os/vxworks/ctype_configure_char.cc
649 * config/os/hpux/ctype_noninline.h: Likewise.
650 * config/os/hpux/ctype_configure_char.cc: Likewise.
651 * config/os/gnu-linux/ctype_noninline.h: Likewise.
652 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
653 * config/os/mingw32/ctype_noninline.h: Likewise.
654 * config/os/mingw32/ctype_configure_char.cc: Likewise.
655 * config/os/tpf/ctype_noninline.h: Likewise.
656 * config/os/tpf/ctype_configure_char.cc: Likewise.
657 * config/os/uclibc/ctype_noninline.h: Likewise.
658 * config/os/uclibc/ctype_configure_char.cc: Likewise.
659 * config/os/bionic/ctype_noninline.h: Likewise.
660 * config/os/bionic/ctype_configure_char.cc: Likewise.
661 * config/os/djgpp/ctype_noninline.h: Likewise.
662 * config/os/djgpp/ctype_configure_char.cc: Likewise.
663 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
664 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
665 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
666 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
667 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
668 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
669 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
670 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
671 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
672 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
673 * config/os/generic/ctype_noninline.h: Likewise.
674 * config/os/generic/ctype_configure_char.cc: Likewise.
675 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
676 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
678 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
680 * include/std/future (future::share): Add.
681 (packaged_task::result_type): Remove as per LWG 2030.
682 (packaged_task::packaged_task): Remove redundant constructors, as per
684 * testsuite/30_threads/future/members/share.cc: New.
685 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
687 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
689 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
690 members which require a fully established result state.
691 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
693 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
695 * include/bits/random.h (negative_binomial_distribution<>::
696 negative_binomial_distribution(_IntType, double),
697 negative_binomial_distribution<>::
698 negative_binomial_distribution(const param_type&)): Tweak
699 construction of _M_gd.
700 * include/bits/random.tcc (negative_binomial_distribution<>::
703 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
705 * include/bits/random.h (negative_binomial_distribution<>::
706 negative_binomial_distribution(_IntType, double),
707 negative_binomial_distribution<>::
708 negative_binomial_distribution(const param_type&)): Fix
709 construction of _M_gd.
710 * include/bits/random.tcc (negative_binomial_distribution<>::
711 operator()): Fix computation, per Leger's algorithm.
712 * testsuite/util/testsuite_random.h (discrete_pdf,
713 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
714 (binomial_pdf): Swap last two parameters.
715 * testsuite/26_numerics/random/discrete_distribution/
716 operators/values.cc: New.
717 * testsuite/26_numerics/random/negative_binomial_distribution/
718 operators/values.cc: Likewise.
719 * testsuite/26_numerics/random/poisson_distribution/
720 operators/values.cc: Likewise.
721 * testsuite/26_numerics/random/uniform_int_distribution/
722 operators/values.cc: Likewise.
723 * testsuite/26_numerics/random/binomial_distribution/
724 operators/values.cc: Adjust.
726 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
728 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
729 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
730 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
731 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
732 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
734 2011-03-23 Matthias Klose <doko@ubuntu.com>
736 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
738 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
740 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
742 2011-03-22 Joseph Myers <joseph@codesourcery.com>
744 * configure.ac: Don't handle powerpc*-*-gnu*.
745 * configure: Regenerate.
747 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
749 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
751 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
754 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
756 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
758 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
759 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
760 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
761 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
762 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
763 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
764 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
766 2011-03-22 Jakub Jelinek <jakub@redhat.com>
768 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
769 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
770 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
771 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
772 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
773 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
774 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
775 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
776 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
777 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
779 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
780 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
781 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
782 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
783 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
784 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
785 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
786 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
789 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
791 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
792 create compact unwind for" warnings.
794 2011-03-21 Jakub Jelinek <jakub@redhat.com>
796 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
797 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
798 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
800 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
801 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
802 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
803 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
804 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
805 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
806 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
807 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
808 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
810 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
811 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
812 CXXABI_LDBL_1.3 versions.
814 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
816 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
818 2011-03-21 Jakub Jelinek <jakub@redhat.com>
820 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
821 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
823 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
825 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
826 sparc*-sun-solaris2.10 && lp64.
828 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
830 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
831 to check_v3_target_cmath.
832 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
834 * testsuite/26_numerics/random/binomial_distribution/
835 operators/values.cc: Adjust.
837 2011-03-18 Diego Novillo <dnovillo@google.com>
839 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
841 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
842 mixed-mode-arith_neg.cc
844 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
846 * testsuite/util/testsuite_random.h: New.
847 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
848 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
849 * testsuite/26_numerics/random/bernoulli_distribution/
850 operators/values.cc: New.
851 * testsuite/26_numerics/random/binomial_distribution/
852 operators/values.cc: Likewise.
853 * testsuite/26_numerics/random/geometric_distribution/
854 operators/values.cc: Likewise.
856 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
858 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
859 * testsuite/19_diagnostics/stdexcept.cc: New.
861 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
863 * include/std/thread: Revert.
864 * src/thread.cc: Same.
865 * config/abi/pre/gnu.ver: Same.
867 2011-03-15 Doug Kwan <dougkwan@google.com>
870 * include/Makefile.am (install-freestanding-headers): Install
872 * include/Makefile.in: Regenerate.
874 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
876 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
877 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
879 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
882 * src/future.cc: Guard definitions.
883 * libsupc++/nested_exception.cc: Same.
885 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
887 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
888 * src/Makefile.in: Regenerate.
889 * libsupc++/Makefile.am: Add nested_exception.cc.
890 * libsupc++/Makefile.in: Regenerate.
891 * src/system_error.cc: Add ctor and dtor definitions for error_category.
892 * src/functional.cc: New. Add dtor definition for bad_function_call.
893 * src/stdexcept.cc: Add dtor definitions for domain_error,
894 invalid_argument, length_error, out_of_range, range_error,
895 overflow_error, underflow_error.
896 * src/future.cc: Add dtor definition for __future_base::_Result_base.
897 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
898 * src/thread.cc: Add dtor for thread::_Impl_base.
899 * include/std/system_error: Adjust.
900 * include/std/stdexcept: Same.
901 * include/std/future: Same.
902 * include/std/functional: Same.
903 * include/std/thread: Same.
904 * include/bits/shared_ptr_base.h: Same.
905 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
906 * libsupc++/nested_exception.h: Adjust.
907 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
908 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
909 * config/abi/pre/gnu.ver: Add new exports.
911 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
913 * include/bits/regex_compiler.h: Nest namespace versioning.
914 * include/bits/regex_grep_matcher.tcc: Same.
915 * include/bits/regex_grep_matcher.h: Same.
916 * include/bits/regex_cursor.h: Same.
917 * include/bits/regex_nfa.h: Same.
918 * include/bits/regex_nfa.tcc: Same.
920 * include/bits/regex_grep_matcher.h: Version forward declarations.
921 * include/bits/c++config: Add namespace association for __regex.
922 * include/bits/regex.h: Make sub_match consistent.
924 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
926 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
928 * doc/html/manual/abi.html: Regenerate.
930 2011-03-14 Tom Tromey <tromey@redhat.com>
932 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
933 Try to import `gdb.printing' module.
934 (UniquePointerPrinter.__init__): Add 'typename' argument.
935 (StdSlistPrinter.__init__): Likewise.
936 (StdSlistIteratorPrinter.__init__): Likewise.
937 (StdVectorIteratorPrinter.__init__): Likewise.
938 (StdRbtreeIteratorPrinter.__init__): Likewise.
939 (StdDebugIteratorPrinter.__init__): Likewise.
940 (StdDequeIteratorPrinter.__init__): Likewise.
941 (StdStringPrinter.__init__): Likewise.
942 (RxPrinter, Printer): New class.
943 (libstdcxx_printer): New global.
944 (register_libstdcxx_printers): Rewrite.
945 (build_libstdcxx_dictionary): Rewrite.
946 (pretty_printers_dict): Remove.
948 2011-03-14 Andrey Zholos <aaz@althenia.net>
951 * include/bits/random.h (geometric_distribution): Correct formula
952 in comment, per C++0x.
953 (geometric_distribution<>::param_type::param_type(double)): Fix check.
954 (geometric_distribution<>::param_type::_M_initialize):
956 * include/bits/random.tcc (geometric_distribution<>::operator()):
958 (binomial_distribution<>::operator()): Likewise.
960 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
962 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
964 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
965 Chris Jefferson <chris@bubblescope.net>
966 Paolo Carlini <paolo.carlini@oracle.com>
968 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
970 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
972 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
974 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
976 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
978 2011-03-09 Chris Jefferson <chris@bubblescope.net>
981 * include/bits/stl_algo.h (__merge_backward): Rename to
982 __move_merge_backward and change to always move rather than copy.
983 (__move_merge): New function similar to std::merge except values
984 are moved instead of copied.
985 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
986 and __merge_backward to __move_merge and __move_merge_backward.
988 2011-03-07 Jason Merrill <jason@redhat.com>
990 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
993 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
994 Matthias Klose <doko@ubuntu.com>
995 Jonathan Wakely <redi@gcc.gnu.org>
998 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
999 * configure.ac: Use it.
1000 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
1001 * configure: Regenerate.
1002 * doc/Makefile.in: Regenerate.
1004 2011-03-04 Benjamin Kosnik <bkoz@chula>
1006 * src/Makefile.am (inst_sources): Make source instantion files
1008 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
1009 * src/Makefile.in: Regenerate.
1010 * src/valarray-inst.cc: Move to..
1011 * src/valarray.cc: ...this.
1012 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1013 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1014 * configure: Regenerate.
1015 * include/Makefile.am (stamp-extern-template): Add.
1016 * include/Makefile.in: Regenerate.
1018 * doc/xml/manual/configure.xml: Document --enable-extern-template.
1020 * include/bits/locale_classes.tcc: Adjust comment.
1021 * include/bits/locale_facets.tcc: Same.
1022 * include/bits/basic_ios.tcc: Same.
1023 * include/bits/istream.tcc: Same.
1024 * include/bits/codecvt.h: Same.
1025 * include/bits/ostream.tcc: Same.
1026 * include/bits/sstream.tcc: Same.
1027 * include/bits/c++config: Same.
1028 * include/bits/basic_string.tcc: Same.
1029 * include/bits/ostream_insert.h: Same.
1030 * include/bits/locale_facets_nonio.tcc: Same.
1031 * include/bits/streambuf.tcc: Same.
1032 * include/bits/allocator.h: Same.
1033 * include/bits/fstream.tcc: Same.
1035 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1037 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1039 * testsuite/Makefile.am: Make clean fixups.
1040 * testsuite/Makefile.in: Regenerate.
1042 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1044 * include/std/ratio (ratio_less): Add comments.
1046 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1049 * include/std/ratio (ratio_add): Avoid denominator overflow.
1050 * testsuite/20_util/ratio/operations/47913.cc: New.
1052 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1054 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1055 * testsuite/20_util/hash/quality.cc: Same.
1057 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1060 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1062 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1063 xputn): Use the latter.
1064 * include/bits/streambuf_iterator.h: Likewise.
1065 * src/strstream.cc: Likewise.
1066 * src/streambuf.cc: Likewise.
1067 * src/compatibility.cc: Likewise.
1068 * src/istream.cc: Likewise.
1069 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1071 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1072 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1073 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1074 * config/abi/pre/gnu.ver: Tweak.
1076 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1078 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1080 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1083 * include/std/ratio (ratio_less): Reimplement to never overflow.
1084 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1086 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1088 * testsuite/18_support/type_info/fundamental.cc: New.
1090 * testsuite/Makefile.am: Make clean fixups.
1091 * testsuite/Makefile.in: Regenerate.
1093 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1095 * include/debug/string (basic_string::insert): Add iterator check and
1096 pass normal iterator to normal insert.
1097 * include/debug/macros.h (__glibcxx_check_heap,
1098 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1101 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1104 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1105 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1107 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1109 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1110 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1111 (basic_regex::operator=(basic_regex&&)): Likewise.
1112 (basic_regex::assign(basic_regex&&)): Likewise.
1113 (operator==(sub_match,...)): Implement DR 1181.
1114 (match_results::match_results(match_results&&)): Define.
1115 (match_results::operator=(const match_results&)): Fix parameter type.
1116 (match_results::operator=(match_results&&)): Define.
1118 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1121 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1122 line anchors as metacharacters.
1123 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1125 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1128 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1129 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1130 hash<__gnu_cxx::__u32vstring>): Add.
1131 * testsuite/ext/vstring/hash/char/1.cc: New.
1132 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1134 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1136 * include/bits/regex.h (match_results::format): Use char_traits.
1138 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1140 * include/std/atomic: Remove atomic_address, uplift to N3225.
1141 * include/bits/atomic_0.h: Same.
1142 * include/bits/atomic_2.h: Same.
1143 * include/bits/atomic_base.h: Same.
1144 * testsuite/29_atomics/atomic_address/*: Delete.
1146 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1148 * include/bits/regex.h (sub_match::sub_match): Add.
1149 (match_results::ready): Add.
1150 (match_results::empty): Adjust.
1151 (match_results::length): Add missing dereference.
1152 (match_results::operator[],prefix,suffix): Add debug mode checks.
1153 (match_results::cend): Re-use end().
1154 (match_results::format): Adjust signatures.
1155 (operator==(match_results,match_results)): Implement.
1156 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1157 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1158 * include/bits/regex_grep_matcher.h: Fix comment typo.
1159 (_SpecializedResults::_SpecializedResults): Simplify.
1160 * include/bits/regex_cursor.h: Fix comment typo.
1161 * include/bits/regex_nfa.h: Likewise.
1162 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1163 Fix error code, remove xfail.
1164 * testsuite/28_regex/basic_regex/ctors/extended/
1165 string_range_01_02_03.cc: Likewise.
1167 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1169 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1170 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1172 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1174 * configure: Regenerate.
1176 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1179 * include/ext/algorithm (is_heap): In C++0x mode import from
1181 * testsuite/ext/is_heap/47709.cc: New.
1183 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1184 Jonathan Wakely <jwakely.gcc@gmail.com>
1187 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1188 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1190 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1192 * include/tr1/cmath (fabs): Define.
1193 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1196 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1198 * testsuite/tr1/headers/c++200x/complex.cc: New.
1200 2011-02-11 Johannes Singler <singler@kit.edu>
1203 * include/parallel/losertree.h
1204 (_LoserTreeUnguarded<>::__delete_min_insert):
1205 Add missing "using std::swap;", as for other variants.
1207 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1209 * src/Makefile.am (sources): Add regex.cc.
1210 * src/Makefile.in: Regenerate.
1211 * src/regex.cc: New.
1212 * include/bits/regex_error.h (error_type): Use constexpr.
1213 (regex_error): Move ctor and dtor out of line.
1215 * testsuite/28_regex/03_requirements: To...
1216 * testsuite/28_regex/requirements: ... this.
1217 * testsuite/28_regex/04_header: To...
1218 * testsuite/28_regex/headers: ... this.
1219 * testsuite/28_regex/05_constants: To...
1220 * testsuite/28_regex/constants: ... this.
1221 * testsuite/28_regex/06_exception_type: To...
1222 * testsuite/28_regex/regex_error: ... this.
1223 * testsuite/28_regex/07_traits: To...
1224 * testsuite/28_regex/traits: ... this.
1225 * testsuite/28_regex/08_basic_regex: To...
1226 * testsuite/28_regex/basic_regex: ... this.
1227 * testsuite/28_regex/09_sub_match: To...
1228 * testsuite/28_regex/sub_match: ... this.
1229 * testsuite/28_regex/10_match_results: To...
1230 * testsuite/28_regex/match_results: ... this.
1231 * testsuite/28_regex/11_algorithms: To...
1232 * testsuite/28_regex/algorithms: ... this.
1233 * testsuite/28_regex/12_iterators: To...
1234 * testsuite/28_regex/iterators: ... this.
1236 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1239 * include/bits/c++config: Do not use alternative token.
1240 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1242 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1244 * src/future.cc (future_error_category::message): Handle no_state.
1246 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1248 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1249 not test in C++0x mode.
1250 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1251 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1254 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1256 * doc/xml/manual/status_cxx200x.xml: Update.
1257 * doc/html/*: Regenerate.
1259 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1261 * doc/xml/manual/debug.xml: Improve data race docs.
1263 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1266 * include/debug/map.h (map): Remove unnecessary using-declaration.
1267 * include/debug/multimap.h (multimap): Likewise.
1268 * include/profile/map.h (map): Likewise.
1269 * include/profile/multimap.h (multimap): Likewise.
1271 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1274 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1276 * libsupc++/guard_error.cc: ... new file.
1277 * libsupc++/Makefile.am: Update.
1278 * libsupc++/Makefile.in: Regenerate.
1280 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1282 * include/std/future (packaged_task::operator bool): Rename to...
1283 (packaged_task::valid): ...this.
1284 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1285 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1286 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1287 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1288 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1289 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1290 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1291 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1292 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1293 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1294 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1296 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1298 * doc/xml/manual/io.xml: Fix typo.
1299 * doc/html/manual/streambufs.html: Likewise.
1301 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1303 * config/abi/pre/gnu.ver: Fix.
1305 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
1307 * doc/xml/manual/appendix_porting.xml: Add doc section.
1308 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1309 * doc/xml/manual/documentation_hacking.xml: ...here.
1311 * doc/xml/manual/debug_mode.xml: Adjust.
1312 * doc/xml/manual/prerequisites.xml: Adjust.
1313 * doc/Makefile.am (xml_sources): Add dot files,
1314 documentation_hacking.xml.
1315 * doc/Makefile.in: Regenerate.
1317 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1318 * doc/xml/images/confdeps.pdf: Add.
1320 * doc/html/*: Regenerate.
1322 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1324 * doc/xml/gnu/fdl-1.2.xml: Remove.
1325 * doc/xml/gnu/gpl-2.0.xml: Remove.
1326 * doc/Makefile.am: Update.
1327 * doc/Makefile.in: Regenerate.
1329 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1332 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1333 iterator)): Add back in C++03 mode.
1334 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1335 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1337 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
1339 PR libstdc++/47560 try two
1340 * config/os/hpux/os_defines.h: Guard for C++.
1342 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1344 * doc/xml/faq.xml: Adjust link to bug database.
1345 Remove old item on broken header files.
1347 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1349 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1350 * src/functexcept.cc: Add definition.
1351 * config/abi/pre/gnu.ver: Export.
1353 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1355 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1356 * configure: Regenerate.
1358 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1361 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1362 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1363 avoid name conflicts.
1365 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1368 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1370 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1372 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1373 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1374 (COMPACT_LATEX): Enable.
1376 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1377 * include/profile/impl/profiler_hash_func.h: Same.
1378 * include/bits/hashtable.h: Same.
1379 * include/backward/auto_ptr.h: Same.
1380 * include/backward/strstream: Same.
1381 * include/backward/backward_warning.h: Same.
1382 * include/backward/binders.h: Same.
1384 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1386 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1387 Adjust link to GDB manual.
1389 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1391 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1392 _GLIBCXX_USE_DEPRECATED.
1393 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1394 * doc/xml/manual/using.xml: Same.
1395 * include/std/memory: Same.
1396 * include/std/streambuf: Same.
1397 * include/bits/shared_ptr.h: Same.
1398 * include/bits/unique_ptr.h: Same.
1399 * include/bits/shared_ptr_base.h: Same.
1400 * include/bits/stl_function.h: Same.
1401 * include/tr1/shared_ptr.h: Same.
1402 * include/backward/auto_ptr.h: Same.
1403 * include/backward/binders.h: Same.
1405 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1407 * doc/html/ext/lwg-active.html: Update to Revision D73.
1408 * doc/html/ext/lwg-closed.html: Likewise.
1409 * doc/html/ext/lwg-defects.html: Likewise.
1410 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1412 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1414 PR libstdc++/36104 part four
1415 * include/bits/c++config (_GLIBCXX_STD): Remove.
1416 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1417 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1418 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1419 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1420 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1421 _GLIBCXX_INLINE_PROFILE): Remove.
1422 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1423 (_GLIBCXX_END_NAMESPACE): Remove.
1424 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1425 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1426 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1427 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1428 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1429 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1430 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1431 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1432 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1433 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1434 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1435 * include/*: Use new macros for namespace scope.
1439 * src/Makefile.am (sources): Remove debug_list.cc, add
1440 compatibility-debug_list-2.cc.
1441 (parallel_sources): Remove parallel_list.cc, add
1442 compatibility-parallel_list-2.cc.
1443 (compatibility-parallel_list-2.[o,lo]): New rule.
1444 * src/Makefile.in: Regenerate.
1445 * src/debug_list.cc: Remove.
1446 * src/parallel_list.cc: Remove.
1447 * src/compatibility-list-2.cc: New.
1448 * src/compatibility-debug_list-2.cc: New.
1449 * src/compatibility-parallel_list-2.cc: New.
1451 * doc/doxygen/user.cfg.in: Adjust macros.
1453 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1454 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1455 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1456 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1457 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1458 * testsuite/20_util/forward/c_neg.cc: Same.
1459 * testsuite/20_util/forward/f_neg.cc: Same.
1460 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1461 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1462 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1463 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1464 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1465 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1466 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1467 * testsuite/23_containers/deque/requirements/dr438/
1468 constructor_1_neg.cc: Same.
1469 * testsuite/23_containers/deque/requirements/dr438/
1470 constructor_2_neg.cc: Same.
1471 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1472 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1473 * testsuite/23_containers/forward_list/requirements/dr438/
1474 assign_neg.cc: Same.
1475 * testsuite/23_containers/forward_list/requirements/dr438/
1476 constructor_1_neg.cc: Same.
1477 * testsuite/23_containers/forward_list/requirements/dr438/
1478 constructor_2_neg.cc: Same.
1479 * testsuite/23_containers/forward_list/requirements/dr438/
1480 insert_neg.cc: Same.
1481 * testsuite/23_containers/list/capacity/29134.cc: Same.
1482 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1483 * testsuite/23_containers/list/requirements/dr438/
1484 constructor_1_neg.cc: Same.
1485 * testsuite/23_containers/list/requirements/dr438/
1486 constructor_2_neg.cc: Same.
1487 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1488 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1489 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1490 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1491 * testsuite/23_containers/vector/requirements/dr438/
1492 constructor_1_neg.cc: Same.
1493 * testsuite/23_containers/vector/requirements/dr438/
1494 constructor_2_neg.cc: Same.
1495 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1496 * testsuite/25_algorithms/sort/35588.cc: Same.
1497 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1498 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1499 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1500 * testsuite/ext/profile/profiler_algos.cc: Same.
1501 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1502 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1503 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1504 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1505 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1507 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1509 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1510 Improve description of one such reference.
1512 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1514 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1515 Standards Revision Group.
1516 * doc/xml/manual/locale.xml: Ditto.
1517 * doc/xml/manual/messages.xml: Ditto.
1518 * doc/xml/manual/using_exceptions.xml: Ditto.
1520 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1522 * include/bits/atomic_base.h: Do not include <stddef.h>.
1523 (kill_dependency): Uglify ret.
1525 2011-01-26 Johannes Singler <singler@kit.edu>
1527 * include/parallel/numeric (inner_product, partial_sum):
1528 Qualify subsequent call with __gnu_parallel instead of
1529 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1530 * include/parallel/algobase.h (equal): Likewise.
1531 * include/parallel/algo.h (find_first_of, search_n, merge,
1532 nth_element, partial_sort, max_element, min_element): Likewise.
1533 * testsuite/25_algorithms/headers/algorithm/
1534 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1535 * testsuite/25_algorithms/headers/algorithm/
1536 parallel_algorithm_mixed2.cc (main): Likewise.
1537 * testsuite/26_numerics/headers/numeric/
1538 parallel_numeric_mixed1.cc (main): Likewise.
1539 * testsuite/26_numerics/headers/numeric/
1540 parallel_numeric_mixed2.cc (main): Likewise.
1542 2011-01-24 Graham Reed <greed@pobox.com>
1545 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1548 2011-01-24 Johannes Singler <singler@kit.edu>
1551 * include/parallel/losertree.h
1552 (_LoserTree<>::__delete_min_insert):
1553 Do not qualify swap with std:: for value type,
1554 but include a using directive instead.
1555 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1556 * include/parallel/balanced_quicksort.h (__qsb_divide):
1557 Use std::iter_swap instead of std::swap.
1558 (__qsb_local_sort_with_helping): Likewise.
1559 * include/parallel/partition.h (__parallel_partition):
1560 Likewise. (__parallel_nth_element): Likewise.
1562 2011-01-24 Johannes Singler <singler@kit.edu>
1565 * include/parallel/multiway_merge.h (_UnguardedIterator):
1566 Remove useless "mutable" from reference declaration.
1568 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1570 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1571 * include/debug/safe_sequence.h: Same.
1572 * include/debug/safe_iterator.h: Same.
1573 * include/std/forward_list: Same.
1574 * include/std/deque: Same.
1575 * include/std/list: Same.
1576 * include/std/random: Same.
1577 * include/std/streambuf: Same.
1578 * include/std/fstream: Same.
1579 * include/std/istream: Same.
1580 * include/std/string: Same.
1581 * include/std/ostream: Same.
1582 * include/std/sstream: Same.
1583 * include/ext/vstring.h: Same.
1584 * include/bits/basic_ios.h: Same.
1585 * include/bits/locale_classes.h: Same.
1586 * include/bits/locale_facets.h: Same.
1587 * include/bits/valarray_array.h: Same.
1588 * include/bits/locale_facets_nonio.h: Same.
1589 * include/tr1/random: Same.
1591 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1593 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1595 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1597 PR libstdc++/36104 part three
1598 * src/hashtable_c++0x.cc: Adjust namespace macros.
1599 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1600 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1602 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1604 * include/ext/pb_ds/detail/resize_policy/
1605 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1606 * include/ext/pb_ds/detail/pat_trie_/
1607 constructors_destructor_fn_imps.hpp: Same.
1608 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1609 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1610 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1612 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1613 iterations downward when testing in debug mode.
1614 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1615 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1616 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1617 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1618 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1619 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1620 reduce in debug mode.
1622 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1624 PR libstdc++/36104 part two
1625 * include/bits/hashtable.h: Revert to non-nested macro usage.
1626 * include/bits/hashtable_policy.h: Same.
1628 2011-01-19 Graham Reed <greed@pobox.com>
1631 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1633 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1635 * doc/xml/images/confdeps.png: Regenerate.
1637 * include/std/chrono (duration): Mark copy constructor constexpr.
1638 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1640 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1642 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1643 Declare defaulted per DR 1517.
1644 * testsuite/util/testsuite_common_types.h
1645 (constexpr_defaulted_default_constructible): Add.
1646 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1648 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1650 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1652 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1654 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1657 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1658 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1660 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1663 * testsuite/18_support/numeric_limits/lowest.cc:
1664 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1666 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1669 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1670 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1672 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1674 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1675 to this. Use _neg suffix.
1676 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1678 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1680 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1681 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1683 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1684 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1686 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1687 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1689 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1690 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1692 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1693 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1695 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1696 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1698 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1699 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1701 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1702 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1704 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1705 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1707 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1708 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1710 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1711 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1713 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1714 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1716 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1717 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1719 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1720 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1722 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1724 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1727 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1728 * include/Makefile.in: Regenerate.
1729 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1730 (install-stdHEADERS, install-bitsHEADERS): New.
1731 * libsupc++/Makefile.in: Regenerate.
1733 * include/bits/c++config: Update for inline namespaces.
1734 * libsupc++/cxxabi-forced.h: To...
1735 * libsupc++/cxxabi_forced.h: ...this.
1736 * libsupc++/hash_bytes.h: Separate file.
1737 * libsupc++/typeinfo: Use it.
1738 * libsupc++/exception: Adjust for bits subdirectory.
1739 * libsupc++/eh_aux_runtime.cc: Same.
1740 * libsupc++/eh_ptr.cc: Same.
1741 * libsupc++/new_op.cc: Same.
1742 * libsupc++/exception_defines.h: Same.
1743 * libsupc++/nested_exception.h: Same.
1744 * libsupc++/eh_terminate.cc: Same.
1745 * libsupc++/vec.cc: Same.
1746 * libsupc++/vterminate.cc: Same.
1747 * libsupc++/exception_ptr.h: Same.
1748 * libsupc++/eh_personality.cc: Same.
1749 * libsupc++/eh_call.cc: Same.
1750 * libsupc++/new_opnt.cc: Same.
1751 * libsupc++/hash_bytes.cc: Same.
1752 * config/cpu/arm/cxxabi_tweaks.h: Same.
1753 * config/cpu/generic/cxxabi_tweaks.h: Same.
1754 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1755 * include/std/bitset: Same.
1756 * include/ext/vstring.tcc: Same.
1757 * include/bits/hashtable.h: Same.
1758 * include/bits/functional_hash.h: Same.
1759 * include/bits/hashtable_policy.h: Same.
1760 * include/bits/basic_string.h: Same.
1761 * include/bits/istream.tcc: Same.
1762 * include/bits/ostream.tcc: Same.
1763 * include/bits/algorithmfwd.h: Same.
1764 * include/bits/basic_string.tcc: Same.
1765 * include/bits/ostream_insert.h: Same.
1766 * include/bits/fstream.tcc: Same.
1767 * include/bits/functexcept.h: Same.
1769 * doc/doxygen/user.cfg.in: Adjust names.
1771 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1773 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1775 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1777 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1779 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1781 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1782 * testsuite/25_algorithms/is_permutation/requirements/
1783 explicit_instantiation/2.cc: Likewise.
1784 * testsuite/25_algorithms/is_permutation/requirements/
1785 explicit_instantiation/pod.cc: Likewise.
1786 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1788 2011-01-13 John Lakos <jlakos@bloomberg.net>
1789 Pablo Halpern <phalpern@halpernwightsoftware.com>
1790 Paolo Carlini <paolo.carlini@oracle.com>
1792 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1793 * include/bits/algorithmfwd.h: Add.
1795 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1798 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1800 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1802 * aclocal.m4: Regenerate.
1804 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1807 * src/placeholders.cc: New.
1808 * src/Makefile.am: Adjust.
1809 * src/Makefile.in: Regenerate.
1810 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1812 * config/abi/pre/gnu.ver: Export.
1814 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1816 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1817 * include/src/debug.cc: Use latter
1818 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1819 correctly handle before_begin iterators.
1820 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1821 useless _GLIBCXX_DEBUG checks.
1823 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1826 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1827 * configure: Regenerated.
1829 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1832 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1835 Copyright (C) 2011 Free Software Foundation, Inc.
1837 Copying and distribution of this file, with or without modification,
1838 are permitted in any medium without royalty provided the copyright
1839 notice and this notice are preserved.