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