OSDN Git Service

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