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