OSDN Git Service

* Makefile.in (dg_target_exps): Set.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2011-06-21  Jakub Jelinek  <jakub@redhat.com>
2
3         * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add
4         check-DEJAGNUnormal[4-9].
5         (check-DEJAGNU): Split into 10 jobs for parallel testing instead of 4.
6         * testsuite/Makefile.in: Regenerated.
7
8 2011-06-20  Daniel Krugler  <daniel.kruegler@googlemail.com>
9             Paolo Carlini  <paolo.carlini@oracle.com>
10
11         * include/std/tuple (__conv_types, __one_by_one_convertible,
12         __all_convertible): Add.
13         (tuple): Use the latter.
14         (tuple<_T1>): Remove.
15         * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error
16         line number.
17         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
18
19 2011-06-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
20
21         * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
22         noexcept.
23
24 2011-06-14  Paolo Carlini  <paolo.carlini@oracle.com>
25
26         * include/std/valarray (~valarray): Use noexcept.
27         * include/bits/unique_ptr.h (~unique_ptr): Likewise.
28         * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New.
29         * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc:
30         Likewise.
31         * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc:
32         Likewise.
33         * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
34         Likewise.
35
36 2011-06-14  Paolo Carlini  <paolo.carlini@oracle.com>
37
38         * include/std/functional: Use noexcept.
39         * include/bits/stl_tempbuf.h: Likewise.
40
41 2011-06-12  François Dumont  <francois.cppdevs@free.fr>
42             Paolo Carlini  <paolo.carlini@oracle.com>
43
44         * include/bits/allocator.h (__shrink_to_fit): Rename to
45         __shrink_to_fit_aux, fix.
46         * include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
47         (shrink_to_fit): Use the latter.
48         * include/debug/vector (shrink_to_fit): Likewise.
49         * include/bits/vector.tcc (_M_shrink_to_fit): Define.
50         * include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
51         (shrink_to_fit): Use the latter.
52         * include/debug/deque (shrink_to_fit): Likewise.
53         * include/bits/deque.tcc (_M_shrink_to_fit): Define.
54         * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
55         * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
56         (shrink_to_fit): Use the latter.
57         (reserve): Use _M_reallocate, move inline.
58         (_Bvector_base<>::_S_nword): Add, use it throughout.
59         * include/debug/string (shrink_to_fit): Redo.
60         * include/ext/vstring.h (shrink_to_fit): Optimize.
61         * include/bits/basic_string.h (shrink_to_fit): Likewise.
62         * testsuite/21_strings/debug/shrink_to_fit.cc: New.
63         * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
64         * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
65         Likewise.
66         * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
67         Likewise.
68         * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
69
70 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
71
72         * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
73         C++0x mode.
74         * testsuite/25_algorithms/sort/35588.cc: Likewise.
75         * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
76
77 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
78
79         * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
80         mode by overloading to take allocator's pointer type.
81         * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
82         * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
83         2.cc: New.
84
85 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
86
87         * testsuite/20_util/allocator_traits/requirements/
88         explicit_instantiation.cc: Add another instantiation.
89
90 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
91
92         * testsuite/20_util/allocator_traits/requirements/typedefs.cc: Check
93         for allocator_type and value_type.
94
95 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
96
97         * testsuite/30_threads/packaged_task/uses_allocator.cc: New.
98         * testsuite/30_threads/promise/uses_allocator.cc: Likewise.
99
100 2011-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
101
102         * include/ext/throw_allocator.h: Use noexcept.
103         * include/ext/pool_allocator.h: Likewise.
104         * include/ext/bitmap_allocator.h: Likewise.
105         * include/ext/new_allocator.h: Likewise.
106         * include/ext/malloc_allocator.h: Likewise.
107         * include/ext/array_allocator.h: Likewise.
108         * include/ext/mt_allocator.h: Likewise.
109         * include/ext/extptr_allocator.h: Likewise.
110         * testsuite/util/testsuite_allocator.h: Likewise; do not include
111         <cassert> directly, include <testsuite_hooks.h> instead.
112
113 2011-06-10  Benjamin Kosnik  <bkoz@redhat.com>
114
115         * include/ext/pb_ds/*: Doxygen markup redo.
116         * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
117         * include/Makefile.in: Regenerate.
118
119 2011-06-10  Jason Merrill  <jason@redhat.com>
120
121         * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
122
123         * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
124         fix dg-error markup.
125
126 2011-06-09  Jason Merrill  <jason@redhat.com>
127
128         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
129
130         * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
131         * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
132         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
133         * testsuite/20_util/forward/1_neg.cc: Likewise.
134         * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
135         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
136         * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
137         * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
138         * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
139         Likewise.
140         * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
141         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
142         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
143         Likewise.
144         * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
145         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
146         * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
147         Likewise.
148         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
149         auto_ptr_rvalue_neg.cc: Likewise.
150         * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
151         Likewise.
152         * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
153         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
154         Likewise.
155         * testsuite/23_containers/deque/requirements/dr438/
156         constructor_1_neg.cc: Likewise.
157         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
158         Likewise.
159         * testsuite/23_containers/forward_list/requirements/dr438/
160         assign_neg.cc: Likewise.
161         * testsuite/23_containers/forward_list/requirements/dr438/
162         constructor_1_neg.cc: Likewise.
163         * testsuite/23_containers/forward_list/requirements/dr438/
164         constructor_2_neg.cc: Likewise.
165         * testsuite/23_containers/forward_list/requirements/dr438/
166         insert_neg.cc: Likewise.
167         * testsuite/23_containers/list/requirements/dr438/
168         assign_neg.cc: Likewise.
169         * testsuite/23_containers/list/requirements/dr438/
170         constructor_1_neg.cc: Likewise.
171         * testsuite/23_containers/list/requirements/dr438/
172         constructor_2_neg.cc: Likewise.
173         * testsuite/23_containers/list/requirements/dr438/
174         insert_neg.cc: Likewise.
175         * testsuite/23_containers/vector/requirements/dr438/
176         assign_neg.cc: Likewise.
177         * testsuite/23_containers/vector/requirements/dr438/
178         constructor_1_neg.cc: Likewise.
179         * testsuite/23_containers/vector/requirements/dr438/
180         constructor_2_neg.cc: Likewise.
181         * testsuite/23_containers/vector/requirements/dr438/
182         insert_neg.cc: Likewise.
183         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
184         * testsuite/29_atomics/atomic_integral/operators/
185         bitwise_neg.cc: Likewise.
186         * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
187         * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
188         * testsuite/decimal/operator_neg.cc: Likewise.
189
190 2011-06-09  Simon Baldwin  <simonb@google.com>
191
192         * scripts/extract_symvers.in: Handle processor/OS specific or
193         unknown symbol binding strings from readelf.
194
195 2011-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
196
197         * include/std/type_traits (__is_copy_assignable_impl,
198         __is_nt_copy_assignable_impl): Fix typo.
199
200 2011-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
201
202         * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
203         instead of <limits>.
204         * include/bits/allocator.h: Likewise.
205
206         * include/std/chrono (duration_values<>::min): Call lowest, not min.
207
208 2011-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
209
210         * include/bits/allocator.h (__shrink_to_fit): Simplify.
211         * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
212         * include/bits/stl_deque.h: Likewise.
213         * include/bits/stl_bvector.h: Likewise.
214
215 2011-06-07  Jason Merrill  <jason@redhat.com>
216
217         * testsuite/lib/prune.exp: s/required/instantiated/.
218         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
219         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
220         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
221         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
222         * testsuite/20_util/forward/1_neg.cc: Likewise.
223         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
224         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
225         Likewise.
226         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
227         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
228         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
229         * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
230         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
231         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
232         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
233         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
234         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
235         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
236         shared_ptr_neg.cc: Likewise.
237
238 2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
239
240         * include/bits/move.h (struct __move_if_noexcept_cond): Add.
241         (move_if_noexcept): Use the latter.
242         * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
243         _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
244         * include/bits/stl_uninitialized.h
245         (__uninitialized_move_if_noexcept_a): Add.
246         * include/bits/vector.tcc (vector<>::reserve): Use
247         _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
248         (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
249         _M_range_insert): Use __uninitialized_move_if_noexcept_a.
250         * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
251         Add.
252         (copycounter::copycounter(copycounter&&)): Use noexcept.
253         * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
254         * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
255         Likewise.
256         * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
257         Likewise.
258
259 2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
260
261         PR libstdc++/49293
262         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
263         for glibc 2.14.
264         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
265
266 2011-06-06  Paolo Carlini  <paolo.carlini@oracle.com>
267
268         * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
269
270 2011-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
271
272         * include/bits/ptr_traits.h (pointer_traits): Fix typos.
273         * include/ext/pointer.h (pointer_traits): Add partial specialization
274         for _Pointer_adapter.
275
276 2011-06-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
277
278         * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
279         Update to C++0x definition using type to construct as template
280         parameter.
281         (tracker_allocator::destroy): Likewise for type to destroy.
282         (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
283
284 2011-06-01  Paolo Carlini  <paolo.carlini@oracle.com>
285
286         * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
287         Use std::move on the allocator, use noexcept.
288         (_Hashtable<>::~_Hashtable): Use noexcept.
289         * include/bits/stl_list.h: Likewise.
290         * include/bits/forward_list.h: Likewise.
291         * include/bits/stl_vector.h: Likewise.
292         * include/bits/stl_bvector.h: Likewise.
293         * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
294         * include/bits/stl_set.h: Likewise.
295         * include/bits/stl_multimap.h: Likewise.
296         * include/bits/stl_multiset.h: Likewise.
297         * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
298         std::move on the allocator.
299         (_Rb_tree<>::~_Rb_tree): Use noexcept.
300         * include/bits/stl_deque.h: Likewise.
301         * include/bits/basic_string.h (basic_string<>::~basic_string): Use
302         noexcept.
303         * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
304         * include/debug/set.h: Adjust.
305         * include/debug/unordered_map: Likewise.
306         * include/debug/multiset.h: Likewise.
307         * include/debug/forward_list: Likewise.
308         * include/debug/vector: Likewise.
309         * include/debug/unordered_set: Likewise.
310         * include/debug/deque: Likewise.
311         * include/debug/map.h: Likewise.
312         * include/debug/string: Likewise.
313         * include/debug/list: Likewise.
314         * include/debug/multimap.h: Likewise.
315         * include/profile/set.h: Likewise.
316         * include/profile/unordered_map: Likewise.
317         * include/profile/multiset.h: Likewise.
318         * include/profile/forward_list: Likewise.
319         * include/profile/unordered_set: Likewise.
320         * include/profile/vector: Likewise.
321         * include/profile/deque: Likewise.
322         * include/profile/map.h: Likewise.
323         * include/profile/list: Likewise.
324         * include/profile/multimap.h: Likewise.
325         * testsuite/21_strings/basic_string/cons/wchar_t/
326         noexcept_move_construct.cc: New.
327         * testsuite/21_strings/basic_string/cons/char/
328         noexcept_move_construct.cc: Likewise.
329         * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
330         * testsuite/23_containers/unordered_map/cons/
331         noexcept_move_construct.cc: Likewise.
332         * testsuite/23_containers/multimap/cons/
333         noexcept_move_construct.cc: Likewise.
334         * testsuite/23_containers/set/cons/
335         noexcept_move_construct.cc: Likewise.
336         * testsuite/23_containers/unordered_multimap/cons/
337         noexcept_move_construct.cc: Likewise.
338         * testsuite/23_containers/forward_list/cons/
339         noexcept_move_construct.cc: Likewise.
340         * testsuite/23_containers/unordered_set/cons/
341         noexcept_move_construct.cc: Likewise.
342         * testsuite/23_containers/vector/bool/cons/
343         noexcept_move_construct.cc: Likewise.
344         * testsuite/23_containers/vector/cons/
345         noexcept_move_construct.cc: Likewise.
346         * testsuite/23_containers/multiset/cons/
347         noexcept_move_construct.cc: Likewise.
348         * testsuite/23_containers/list/cons/
349         noexcept_move_construct.cc: Likewise.
350         * testsuite/23_containers/unordered_multiset/cons/
351         noexcept_move_construct.cc: Likewise.
352         * testsuite/23_containers/map/cons/noexcept_move_construct.cc
353         * testsuite/23_containers/forward_list/requirements/dr438/
354         assign_neg.cc: Adjust dg-error line numbers.
355         * testsuite/23_containers/forward_list/requirements/dr438/
356         insert_neg.cc: Likewise.
357         * testsuite/23_containers/forward_list/requirements/dr438/
358         constructor_1_neg.cc: Likewise.
359         * testsuite/23_containers/forward_list/requirements/dr438/
360         constructor_2_neg.cc: Likewise.
361         * testsuite/23_containers/vector/requirements/dr438/
362         assign_neg.cc: Likewise.
363         * testsuite/23_containers/vector/requirements/dr438/
364         insert_neg.cc: Likewise.
365         * testsuite/23_containers/vector/requirements/dr438/
366         constructor_1_neg.cc: Likewise.
367         * testsuite/23_containers/vector/requirements/dr438/
368         constructor_2_neg.cc: Likewise.
369         * testsuite/23_containers/deque/requirements/dr438/
370         assign_neg.cc: Likewise.
371         * testsuite/23_containers/deque/requirements/dr438/
372         insert_neg.cc: Likewise.
373         * testsuite/23_containers/deque/requirements/dr438/
374         constructor_1_neg.cc: Likewise.
375         * testsuite/23_containers/deque/requirements/dr438/
376         constructor_2_neg.cc: Likewise.
377         * testsuite/23_containers/list/requirements/dr438/
378         assign_neg.cc: Likewise.
379         * testsuite/23_containers/list/requirements/dr438/
380         insert_neg.cc: Likewise.
381         * testsuite/23_containers/list/requirements/dr438/
382         constructor_1_neg.cc: Likewise.
383         * testsuite/23_containers/list/requirements/dr438/
384         constructor_2_neg.cc: Likewise.
385
386         * include/bits/move.h (swap): Use __and_ in the noexcept.
387         * include/bits/algorithmfwd.h: Adjust.
388
389 2011-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
390
391         * include/bits/basic_string.h: Use noexcept per the FDIS (minus
392         compare(const string&), which uses char_traits::compare, which
393         isn't noexcept; also no noexcept in the move assignment operator
394         and move assign, see c++std-lib-30855).
395         * include/bits/basic_string.tcc: Likewise.
396         * include/ext/vstring.h: Likewise.
397         * include/ext/vstring.tcc: Likewise.
398         * include/debug/string: Likewise.
399
400 2011-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
401
402         * doc/xml/manual/status_cxx200x.xml: Update.
403         * doc/html/*: Regenerate.
404
405 2011-05-30  Paolo Carlini  <paolo.carlini@oracle.com>
406
407         * include/std/type_traits (__or_, __and_): Add trivial definitions
408         for a single element.
409         * include/bits/stl_pair.h: Use __and_ in noexcept specs and
410         constraints.
411         (pair<>::pair(pair&&)): Define.
412         (pair<>::pair(const pair<>&)): Constrain with is_convertible.
413         (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
414         * include/std/tuple: Use __and_ in noexcept specs and constraints.
415         (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
416         _Tuple_impl&&)): Remove noexcept.
417         (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
418         tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
419         tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
420         * testsuite/20_util/tuple/moveable2.cc: Use = delete.
421         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
422         Adjust dg-error line numbers.
423         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
424         Likewise.
425         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
426         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
427         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
428
429 2011-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
430
431         * include/std/tuple: Restore is_convertible constraint.
432         * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
433
434 2011-05-30  Paolo Carlini  <paolo.carlini@oracle.com>
435
436         PR libstdc++/49236
437         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
438         line number.
439
440 2011-05-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
441
442         * include/std/tuple: Implement uses-allocator construction.
443         * include/bits/allocator.h (uses_allocator): Move to ...
444         * include/bits/uses_allocator.h: New file.
445         * include/Makefile.am: Add new header.
446         * include/Makefile.in: Regenerate.
447         * testsuite/20_util/uses_allocator/cons_neg.cc: New.
448         * testsuite/20_util/uses_allocator/construction.cc: New.
449         * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
450         * testsuite/20_util/tuple/cons/allocators.cc: New.
451
452 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
453
454         * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
455
456 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
457
458         * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
459         GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
460         * configure.ac: Use them. Increase minor version.
461         * configure: Regenerate.
462         * config.h.in: Regenerate.
463         * include/std/thread (thread::hardware_concurrency): Remove inline
464         definition.
465         * src/thread.cc (thread::hardware_concurrency): Define.
466         * config/abi/pre/gnu.ver: Export new symbol @3.4.17
467         * testsuite/util/testsuite_abi.cc: Add new version.
468         * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
469         * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
470         * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
471         dg-require-nprocs and verify hardware_concurrency returns non-zero.
472
473 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
474
475         * testsuite/20_util/pointer_traits/pointer_to.cc: New.
476
477 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
478
479         * include/Makefile.am: Add new ptr_traits.h header.
480         * include/Makefile.in: Regenerate.
481         * include/bits/ptr_traits.h (pointer_traits): New.
482         * include/bits/allocator.h (allocator_traits): Add.
483         * include/ext/array_allocator.h (construct, destroy): Update C++0x
484         versions.
485         * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
486         * include/ext/extptr_allocator.h (construct, destroy): Likewise.
487         * include/ext/malloc_allocator.h (construct, destroy): Likewise.
488         * include/ext/mt_allocator.h (construct, destroy): Likewise.
489         * include/ext/new_allocator.h (construct, destroy): Likewise.
490         * include/ext/pool_allocator.h (construct, destroy): Likewise.
491         * include/ext/throw_allocator.h (construct, destroy): Likewise.
492         * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
493         * testsuite/20_util/allocator_traits/requirements/
494         explicit_instantiation.cc: New.
495         * testsuite/20_util/allocator_traits/members/max_size.cc: New.
496         * testsuite/20_util/allocator_traits/members/select.cc: New.
497         * testsuite/20_util/allocator_traits/members/construct.cc: New.
498         * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
499         * testsuite/20_util/allocator_traits/members/destroy.cc: New.
500         * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
501         * testsuite/20_util/pointer_traits/requirements/
502         explicit_instantiation.cc: New.
503
504 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
505
506         * include/std/future (launch): Update enumerators and define
507         operators required for bitmask type. Remove trailing whitespace.
508         * src/future.cc: Remove trailing whitespace.
509         * testsuite/30_threads/async/any.cc: Adjust.
510         * testsuite/30_threads/async/sync.cc: Adjust.
511         * testsuite/30_threads/async/launch.cc: New.
512
513 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
514
515         * include/std/future: Use noexcept.
516         * src/future.cc: Likewise.
517
518 2011-05-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
519
520         * include/std/thread (this_thread::sleep_until): Move after sleep_for.
521
522 2011-05-27  Paolo Carlini  <paolo.carlini@oracle.com>
523
524         PR libstdc++/49187
525         * include/parallel/losertree.h: Add missing using declarations
526         of _Base::_M_comp.
527         * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
528         * include/parallel/multiway_merge.h: Include <parallel/
529         multiseq_selection.h>, forward declare __merge_advance.
530         * include/parallel/multiseq_selection.h: Don't include <parallel/
531         sort.h> here.
532         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
533         qualification of upper_bound.
534
535         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
536         Use dg-require-debug-mode.
537         * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
538         Likewise.
539         * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
540         Likewise.
541         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
542         Likewise.
543         * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
544         Likewise.
545         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
546         Likewise.
547         * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
548         Likewise.
549         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
550         Likewise.
551         * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
552         Likewise.
553
554         * include/parallel/algo.h: Minor uglification fixes.
555
556 2011-05-26  Paolo Carlini  <paolo.carlini@oracle.com>
557
558         * src/list.cc: Use noexcept per the FDIS.
559         * src/compatibility-list-2.cc: Likewise.
560         * include/debug/set.h: Likewise.
561         * include/debug/unordered_map: Likewise.
562         * include/debug/multiset.h: Likewise.
563         * include/debug/forward_list: Likewise.
564         * include/debug/unordered_set: Likewise.
565         * include/debug/vector: Likewise.
566         * include/debug/map.h: Likewise.
567         * include/debug/deque: Likewise.
568         * include/debug/list: Likewise.
569         * include/debug/multimap.h: Likewise.
570         * include/profile/set.h: Likewise.
571         * include/profile/unordered_map: Likewise.
572         * include/profile/multiset.h: Likewise.
573         * include/profile/forward_list: Likewise.
574         * include/profile/vector: Likewise.
575         * include/profile/unordered_set: Likewise.
576         * include/profile/map.h: Likewise.
577         * include/profile/deque: Likewise.
578         * include/profile/list: Likewise.
579         * include/profile/multimap.h: Likewise.
580         * include/bits/hashtable.h: Likewise.
581         * include/bits/stl_list.h: Likewise.
582         * include/bits/stl_map.h: Likewise.
583         * include/bits/hashtable_policy.h: Likewise.
584         * include/bits/stl_set.h: Likewise.
585         * include/bits/forward_list.h: Likewise.
586         * include/bits/stl_multimap.h: Likewise.
587         * include/bits/stl_vector.h: Likewise.
588         * include/bits/stl_deque.h: Likewise.
589         * include/bits/stl_multiset.h: Likewise.
590         * include/bits/stl_bvector.h: Likewise.
591         * include/bits/stl_tree.h: Likewise.
592
593 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
594
595         * include/bits/stl_queue.h: Use noexcept per the FDIS.
596         * include/bits/stl_stack.h: Likewise.
597
598 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
599
600         * config/abi/pre/gnu.ver: Correct last change, export instead
601         at the existing @3.4.16.
602         * configure.ac: Revert last change.
603         * testsuite/util/testsuite_abi.cc: Likewise.
604         * configure: Regenerate.
605
606 2011-05-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
607
608         * doc/xml/manual/documentation_hacking.xml: Minor corrections.
609
610 2011-05-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
611
612         * include/std/mutex: Add doxygen comments.
613
614 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
615
616         * config/abi/pre/gnu.ver: Export recently added  basic_streambuf
617         and basic_stringbuf symbols @3.4.17.
618         * configure.ac: Update.
619         * testsuite/util/testsuite_abi.cc: Likewise.
620         * configure: Regenerate.
621
622 2011-05-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
623
624         * libsupc++/guard.cc: Fix comments.
625
626 2011-05-25  Ian Lance Taylor  <iant@google.com>
627
628         PR libstdc++/49060
629         * include/backward/hashtable.h (hashtable::erase): Don't crash if
630         erasing first and another element with a reference to the other
631         element.
632         * testsuite/backward/hash_set/49060.cc: New.
633
634 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
635
636         * include/bits/random.h (random_device::min, max): Specify constexpr.
637
638 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
639
640         * include/std/thread: Use noexcept throughout per the FDIS.
641         * include/std/mutex: Likewise.
642
643 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
644
645         * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
646
647 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
648
649         PR libstdc++/49151
650         * include/std/chrono (operator+, operator-, operator*, operator/,
651         operator&): Implement LWG 2020 [WP]; specify constexpr.
652         * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
653
654 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
655
656         PR libstdc++/49141
657         * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
658         * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
659         * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
660
661 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
662
663         * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
664         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
665         line number.
666
667 2011-05-23  Benjamin Kosnik  <bkoz@redhat.com>
668
669         PR libstdc++/37144
670         PR libstdc++/28457
671         Interface changes for ext/pb_ds.
672         PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
673         * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
674         (basic_hash_table, basic_branch, list_update): Derive from
675         container_base_dispatch.
676         * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
677         (move_to_front_lu_policy): To lu_move_to_front_policy.
678         (counter_lu_policy): To lu_counter_policy.
679         * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
680         * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
681         template parameters, declare here.
682         (null_mapped_type) Remove.
683         (null_type): Just use this for template tricks everywhere.
684         * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
685         Remove.
686         * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
687         (string_trie_e_access_traits): To trie_string_access_traits.
688         * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
689
690         File changes.
691         * include/Makefile.am (pb_headers): Removed and changed file names.
692         * include/Makefile.in: Regenerated.
693         * include/ext/pb_ds/detail/basic_types.hpp: Remove.
694         * include/ext/pb_ds/detail/bin_search_tree_/
695           cond_dtor_entry_dealtor.hpp: Remove.
696         * include/ext/pb_ds/detail/bin_search_tree_/
697           cond_key_dtor_entry_dealtor.hpp: Remove.
698         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
699         * include/ext/pb_ds/detail/binary_heap_/
700           point_const_iterator.hpp: ..here.
701         * include/ext/pb_ds/detail/basic_tree_policy: Move to...
702         * include/ext/pb_ds/detail/branch_policy: This.
703         * include/ext/pb_ds/detail/branch_policy/
704           basic_tree_policy_base.hpp: Move...
705         * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
706         * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
707         * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
708         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
709         null_metadata.hpp: Remove.
710         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
711         const_point_iterator.hpp: Move...
712         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
713         point_const_iterator.hpp: ...here.
714         * include/ext/pb_ds/detail/list_update_policy/
715         counter_lu_metadata.hpp: Move..
716         * include/ext/pb_ds/detail/list_update_policy/
717         lu_counter_metadata.hpp: ...here.
718         * include/ext/pb_ds/detail/list_update_policy/
719         counter_lu_policy_imp.hpp: Remove.
720         * include/ext/pb_ds/detail/list_update_policy/
721         mtf_lu_policy_imp.hpp: Remove.
722         * include/ext/pb_ds/detail/trie_policy/
723         string_trie_e_access_traits_imp.hpp: Move...
724         * include/ext/pb_ds/detail/trie_policy/
725         sample_trie_access_traits.hpp: ...here.
726         * include/ext/pb_ds/detail/trie_policy/
727         sample_trie_e_access_traits.hpp: Move...
728         * include/ext/pb_ds/detail/trie_policy/
729         trie_string_access_traits_imp.hpp: ...here.
730         * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
731         * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
732         * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
733         * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
734         types found in the following files into pat_trie_base.
735         * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
736         * include/ext/pb_ds/detail/pat_trie_/
737           cond_dtor_entry_dealtor.hpp: Folded.
738         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
739         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
740         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
741         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
742         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
743         * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
744         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
745         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
746         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
747         * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
748         * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
749         * include/ext/pb_ds/detail/unordered_iterator/
750         const_point_iterator.hpp: Move...
751         * include/ext/pb_ds/detail/unordered_iterator/
752         point_const_iterator.hpp: ...here.
753
754
755         Adjust for above changes.
756         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
757         * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
758         * include/ext/pb_ds/detail/resize_policy/
759           sample_resize_trigger.hpp: Same.
760         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
761         * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
762         * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
763         * include/ext/pb_ds/detail/binomial_heap_base_/
764           binomial_heap_base_.hpp: Same.
765         * include/ext/pb_ds/detail/binomial_heap_base_/
766           constructors_destructor_fn_imps.hpp: Same.
767         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
768         * include/ext/pb_ds/detail/binomial_heap_base_/
769           split_join_fn_imps.hpp: Same.
770         * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
771           for template parameter ordering change.
772         * include/ext/pb_ds/detail/cc_hash_table_map_/
773           erase_store_hash_fn_imps.hpp: Same.
774         * include/ext/pb_ds/detail/cc_hash_table_map_/
775           constructor_destructor_no_store_hash_fn_imps.hpp: Same.
776         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
777         * include/ext/pb_ds/detail/cc_hash_table_map_/
778           insert_no_store_hash_fn_imps.hpp: Same.
779         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
780         * include/ext/pb_ds/detail/cc_hash_table_map_/
781           policy_access_fn_imps.hpp: Same.
782         * include/ext/pb_ds/detail/cc_hash_table_map_/
783           resize_store_hash_fn_imps.hpp: Same.
784         * include/ext/pb_ds/detail/cc_hash_table_map_/
785           constructor_destructor_store_hash_fn_imps.hpp: Same.
786         * include/ext/pb_ds/detail/cc_hash_table_map_/
787           insert_store_hash_fn_imps.hpp: Same.
788         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
789         * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
790         * include/ext/pb_ds/detail/cc_hash_table_map_/
791           entry_list_fn_imps.hpp: Same.
792         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
793         * include/ext/pb_ds/detail/cc_hash_table_map_/
794           find_store_hash_fn_imps.hpp: Same.
795         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
796         * include/ext/pb_ds/detail/cc_hash_table_map_/
797           debug_no_store_hash_fn_imps.hpp: Same.
798         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
799         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
800         * include/ext/pb_ds/detail/cc_hash_table_map_/
801           constructor_destructor_fn_imps.hpp: Same.
802         * include/ext/pb_ds/detail/cc_hash_table_map_/
803           cond_key_dtor_entry_dealtor.hpp: Same.
804         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
805         * include/ext/pb_ds/detail/cc_hash_table_map_/
806           debug_store_hash_fn_imps.hpp: Same.
807         * include/ext/pb_ds/detail/cc_hash_table_map_/
808           erase_no_store_hash_fn_imps.hpp: Same.
809         * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
810         * include/ext/pb_ds/detail/cc_hash_table_map_/
811           iterators_fn_imps.hpp: Same.
812         * include/ext/pb_ds/detail/cc_hash_table_map_/
813           resize_no_store_hash_fn_imps.hpp: Same.
814         * include/ext/pb_ds/detail/cc_hash_table_map_/
815           standard_policies.hpp: Same.
816         * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
817         * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
818         * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
819         * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
820         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
821         * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
822         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
823         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
824         * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
825         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
826         * include/ext/pb_ds/detail/pat_trie_/
827           constructors_destructor_fn_imps.hpp: Same.
828         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
829         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
830         * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
831         * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
832         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
833         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
834         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
835         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
836         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
837         * include/ext/pb_ds/detail/bin_search_tree_/
838           policy_access_fn_imps.hpp: Same.
839         * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
840         * include/ext/pb_ds/detail/bin_search_tree_/
841           constructors_destructor_fn_imps.hpp: Same.
842         * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
843         * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
844         * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
845         * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
846         * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
847         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
848         * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
849         * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
850         * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
851         * include/ext/pb_ds/detail/bin_search_tree_/
852           split_join_fn_imps.hpp: Same.
853         * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
854         * include/ext/pb_ds/detail/list_update_policy/
855           sample_update_policy.hpp: Same.
856         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
857           trace_fn_imps.hpp: Same.
858         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
859           erase_fn_imps.hpp: Same.
860         * include/ext/pb_ds/detail/gp_hash_table_map_/
861           erase_store_hash_fn_imps.hpp: Same.
862         * include/ext/pb_ds/detail/gp_hash_table_map_/
863           constructor_destructor_no_store_hash_fn_imps.hpp: Same.
864         * include/ext/pb_ds/detail/gp_hash_table_map_/
865           insert_no_store_hash_fn_imps.hpp: Same.
866         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
867         * include/ext/pb_ds/detail/gp_hash_table_map_/
868           policy_access_fn_imps.hpp: Same.
869         * include/ext/pb_ds/detail/gp_hash_table_map_/
870           resize_store_hash_fn_imps.hpp: Same.
871         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
872         * include/ext/pb_ds/detail/gp_hash_table_map_/
873           constructor_destructor_store_hash_fn_imps.hpp: Same.
874         * include/ext/pb_ds/detail/gp_hash_table_map_/
875           insert_store_hash_fn_imps.hpp: Same.
876         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
877         * include/ext/pb_ds/detail/gp_hash_table_map_/
878           iterator_fn_imps.hpp: Same.
879         * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
880         * include/ext/pb_ds/detail/gp_hash_table_map_/
881           find_no_store_hash_fn_imps.hpp: Same.
882         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
883         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
884         * include/ext/pb_ds/detail/gp_hash_table_map_/
885           find_store_hash_fn_imps.hpp: Same.
886         * include/ext/pb_ds/detail/gp_hash_table_map_/
887           debug_no_store_hash_fn_imps.hpp: Same.
888         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
889         * include/ext/pb_ds/detail/gp_hash_table_map_/
890           constructor_destructor_fn_imps.hpp: Same.
891         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
892         * include/ext/pb_ds/detail/gp_hash_table_map_/
893           debug_store_hash_fn_imps.hpp: Same.
894         * include/ext/pb_ds/detail/gp_hash_table_map_/
895           erase_no_store_hash_fn_imps.hpp: Same.
896         * include/ext/pb_ds/detail/gp_hash_table_map_/
897           resize_no_store_hash_fn_imps.hpp: Same.
898         * include/ext/pb_ds/detail/gp_hash_table_map_/
899           standard_policies.hpp: Same.
900         * include/ext/pb_ds/detail/standard_policies.hpp: Same.
901         * include/ext/pb_ds/detail/types_traits.hpp: Same.
902         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
903         * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
904         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
905         * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
906         * include/ext/pb_ds/detail/binary_heap_/
907           constructors_destructor_fn_imps.hpp: Same.
908         * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
909         * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
910         * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
911         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
912         * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
913         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
914         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
915         * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
916         * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
917         * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
918         * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
919         * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
920         * include/ext/pb_ds/detail/tree_policy/
921           sample_tree_node_update.hpp: Same.
922         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
923         * include/ext/pb_ds/detail/trie_policy/
924           sample_trie_node_update.hpp: Same.
925         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
926         * include/ext/pb_ds/detail/trie_policy/
927           prefix_search_node_update_imp.hpp: Same.
928         * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
929         * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
930         * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
931           Adjust for template parameter change, fold into
932           container_base_dispatch.
933         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
934         * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
935         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
936         * include/ext/pb_ds/detail/pairing_heap_/
937           constructors_destructor_fn_imps.hpp: Same.
938         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
939         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
940         * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
941         * include/ext/pb_ds/detail/binomial_heap_/
942           constructors_destructor_fn_imps.hpp: Same.
943         * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
944         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
945         * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
946         * include/ext/pb_ds/detail/type_utils.hpp: Same.
947         * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
948         * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
949         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
950           policy_access_fn_imps.hpp: Same.
951         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
952           left_child_next_sibling_heap_.hpp: Same.
953         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
954           const_iterator.hpp: Same.
955         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
956           insert_fn_imps.hpp: Same.
957         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
958           constructors_destructor_fn_imps.hpp: Same.
959         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
960           debug_fn_imps.hpp: Same.
961         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
962           node.hpp: Same.
963         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
964           info_fn_imps.hpp: Same.
965         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
966           iterators_fn_imps.hpp: Same.
967         * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
968         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
969         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
970         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
971         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
972         * include/ext/pb_ds/detail/thin_heap_/
973           constructors_destructor_fn_imps.hpp: Same.
974         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
975         * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
976         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
977         * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
978         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
979         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
980         * include/ext/pb_ds/detail/ov_tree_map_/
981           constructors_destructor_fn_imps.hpp: Same.
982         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
983         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
984         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
985         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
986         * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
987         * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
988         * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
989         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
990         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
991         * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
992         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
993         * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
994         * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
995         * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
996         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
997         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
998         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
999         * include/ext/pb_ds/detail/splay_tree_/
1000           constructors_destructor_fn_imps.hpp: Same.
1001         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
1002         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
1003         * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
1004         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
1005         * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
1006         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
1007         * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
1008         * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
1009         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
1010         * include/ext/pb_ds/detail/list_update_map_/
1011           entry_metadata_base.hpp: Same.
1012         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
1013         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
1014         * include/ext/pb_ds/detail/list_update_map_/
1015           constructor_destructor_fn_imps.hpp: Same.
1016         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
1017         * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
1018         * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
1019         * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
1020         * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
1021         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
1022         * include/ext/pb_ds/detail/rc_binomial_heap_/
1023           rc_binomial_heap_.hpp: Same.
1024         * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
1025         * include/ext/pb_ds/detail/rc_binomial_heap_/
1026           constructors_destructor_fn_imps.hpp: Same.
1027         * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
1028         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
1029         * include/ext/pb_ds/detail/rc_binomial_heap_/
1030           split_join_fn_imps.hpp: Same.
1031         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
1032         * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
1033         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
1034         * include/ext/pb_ds/detail/rb_tree_map_/
1035           constructors_destructor_fn_imps.hpp: Same.
1036         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
1037         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1038         * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
1039         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
1040         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
1041         * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
1042
1043
1044         Documentation changes.
1045         * include/ext/pb_ds/*: Add doxygen markup.
1046         * doc/doxygen/user.cfg.in: Add details for extracting comments
1047         from pb_ds.
1048         * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
1049         * scripts/make_graph.py: Move to svg output. Re-format generated tables.
1050
1051         * doc/Makefile.am (stamp-html-copy): New rule.
1052         (stamp-html): Use it to copy non-generated files into html docs.
1053         * doc/Makefile.in: Regenerated.
1054
1055         * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
1056         * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
1057         * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
1058         * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
1059
1060         * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
1061         hash_random_int_erase_mem_usage_test_local.png,
1062         multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
1063         tree_text_insert_timing_test_pat_trie_local.png ,
1064         multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
1065         priority_queue_text_modify_down_timing_test_local.png,
1066         gp_hash_random_int_subscript_timing_test_find_local.png,
1067         text_find_timing_test_hash_local.png,
1068         multimap_text_insert_timing_test_small_s2p_hash_local.png,
1069         multimap_text_insert_timing_test_small_s2p_tree_local.png,
1070         multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
1071         multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
1072         multimap_text_insert_timing_test_large_s2p_hash_local.png,
1073         hash_zlob_random_int_find_timing_test_local.png,
1074         multimap_text_insert_timing_test_large_s2p_tree_local.png,
1075         binary_priority_queue_random_int_push_timing_test_local.png,
1076         priority_queue_text_pop_mem_usage_test_local.png,
1077         priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
1078         tree_split_join_timing_test_local.png,
1079         multimap_text_find_timing_test_small_s2p_hash_local.png,
1080         ccgp_hash_random_int_subscript_timing_test_insert_local.png,
1081         priority_queue_random_int_push_pop_timing_test_local.png,
1082         multimap_text_find_timing_test_small_s2p_tree_local.png,
1083         gp_hash_random_int_subscript_timing_test_insert_local.png,
1084         priority_queue_text_push_timing_test_local.png,
1085         cc_hash_random_int_subscript_timing_test_find_local.png,
1086         tree_text_insert_timing_test_vector_tree_local.png,
1087         multimap_text_find_timing_test_large_s2p_hash_local.png,
1088         pairing_priority_queue_text_push_timing_test_local.png,
1089         tree_order_statistics_timing_test_local.png,
1090         priority_queue_text_push_pop_timing_test_local.png,
1091         text_find_timing_test_tree_like_local.png,
1092         multimap_text_find_timing_test_large_s2p_tree_local.png,
1093         priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
1094         cc_hash_random_int_subscript_timing_test_insert_local.png,
1095         priority_queue_text_modify_up_timing_test_local.png,
1096         random_int_find_find_timing_test_tree_local.png,
1097         priority_queue_random_int_push_timing_test_local.png,
1098         tree_text_insert_timing_test_node_tree_local.png,
1099         pairing_priority_queue_text_push_pop_timing_test_local.png,
1100         gp_hash_random_int_find_timing_test_local.png,
1101         cc_hash_random_int_find_timing_test_local.png,
1102         priority_queue_text_join_timing_test_local.png: Update local pngs.
1103
1104
1105         Testsuite changes.
1106         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
1107         * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
1108         * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
1109         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
1110         * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
1111         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
1112         New.
1113         * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
1114         New.
1115         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
1116         * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
1117
1118         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
1119
1120         * testsuite/ext/pb_ds/example/basic_set.cc: Update.
1121         * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
1122         * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
1123         * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
1124         * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
1125         * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
1126         * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
1127         * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
1128           Same.
1129         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1130         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1131         * testsuite/data/make_graph_test_infos.xml: Same.
1132         * testsuite/util/regression/common_type.hpp: Same.
1133         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
1134         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
1135         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1136         * testsuite/util/regression/rand/priority_queue/
1137           rand_regression_test.hpp: Same.
1138         * testsuite/util/regression/rand/priority_queue/
1139           container_rand_regression_test.tcc: Same.
1140         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
1141         * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
1142         * testsuite/util/regression/rand/assoc/
1143           container_rand_regression_test.tcc: Same.
1144         * testsuite/util/native_type/native_priority_queue.hpp: Same.
1145         * testsuite/util/native_type/native_multimap.hpp: Same.
1146         * testsuite/util/native_type/native_hash_multimap.hpp: Same.
1147         * testsuite/util/native_type/native_set.hpp: Same.
1148         * testsuite/util/native_type/native_map.hpp: Same.
1149         * testsuite/util/native_type/native_hash_set.hpp: Same.
1150         * testsuite/util/native_type/native_hash_map.hpp: Same.
1151         * testsuite/util/testsuite_containers.h
1152         * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1153         * testsuite/util/common_type/assoc/common_type.hpp: Same.
1154         * testsuite/util/common_type/assoc/string_form.hpp: Same.
1155         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1156         * testsuite/util/common_type/assoc/detail/
1157           trigger_policy_string_form.hpp: Same.
1158         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
1159         * testsuite/util/common_type/assoc/detail/
1160           size_policy_string_form.hpp: Same.
1161         * testsuite/util/common_type/assoc/detail/
1162           probe_fn_string_form.hpp: Same.
1163         * testsuite/util/common_type/assoc/detail/
1164           tree_supports_order_statistics.hpp: Same.
1165         * testsuite/util/common_type/assoc/detail/
1166           trie_supports_prefix_search.hpp: Same.
1167         * testsuite/util/common_type/assoc/detail/
1168           list_update_policy_string_form.hpp: Same.
1169         * testsuite/util/common_type/assoc/detail/
1170           trie_supports_order_statistics.hpp: Same.
1171         * testsuite/util/common_type/assoc/native_set.hpp: Same.
1172         * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
1173         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1174         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1175
1176 2011-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
1177
1178         * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
1179         (istreambuf_iterator<>::istreambuf_iterator(const
1180         istreambuf_iterator&),  ~istreambuf_iterator()): Add defaulted
1181         in C++0x mode.
1182
1183 2011-05-23  Jason Merrill  <jason@redhat.com>
1184
1185         * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
1186
1187 2011-05-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
1188
1189         * testsuite/20_util/bind/cv_quals_2.cc: New.
1190
1191 2011-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
1192
1193         PR libstdc++/49058
1194         * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1195         operator()(_Args&&...)): Don't cv qualify _Functor directly
1196         in the default template argument, SFINAE doesn't apply when
1197         the functor has no arguments.
1198         * testsuite/20_util/bind/49058_1.cc: New.
1199         * testsuite/20_util/bind/49058_2.cc: Likewise.
1200
1201 2011-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
1202
1203         * include/bits/unique_ptr.h: Use noexcept per the FDIS.
1204
1205 2011-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
1206
1207         * testsuite/21_strings/basic_string/requirements/exception/
1208         propagation_consistent.cc: Fix vs POD-ness of value_type.
1209         * testsuite/21_strings/basic_string/requirements/exception/
1210         basic.cc: Likewise.
1211         * testsuite/ext/vstring/requirements/exception/
1212         propagation_consistent.cc: Likewise.
1213         * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
1214
1215 2011-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
1216
1217         * include/bits/char_traits.h: Use noexcept throughout.
1218         * include/std/typeindex: Likewise.
1219
1220         * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
1221         noexcept; adjust callers.
1222         * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
1223         * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
1224         * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
1225         * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
1226         * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
1227         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1228         line numbers.
1229
1230 2011-05-20  Jason Merrill  <jason@redhat.com>
1231
1232         * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
1233         functions from dependent bases.
1234         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
1235         * include/ext/pb_ds/detail/rb_tree_map_/
1236         split_join_fn_imps.hpp: Likewise.
1237         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
1238         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
1239         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
1240         * include/ext/pb_ds/detail/splay_tree_/
1241         split_join_fn_imps.hpp: Likewise.
1242         * include/ext/pb_ds/detail/tree_policy/
1243         order_statistics_imp.hpp: Likewise.
1244         * include/ext/pb_ds/detail/trie_policy/
1245         prefix_search_node_update_imp.hpp: Likewise.
1246         * include/ext/rc_string_base.h: Likewise.
1247         * include/ext/rope: Likewise.
1248         * include/ext/ropeimpl.h: Likewise.
1249         * testsuite/util/exception/safety.h: Likewise.
1250         * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
1251         * testsuite/util/testsuite_io.h: Likewise.
1252         * include/std/functional: Declare mem_fn earlier.
1253         * include/tr1/functional: Likewise.
1254         * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
1255
1256 2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
1257
1258         * include/std/tuple (tuple_element<__i, const _Tp>,
1259         tuple_element<__i, volatile _Tp>, tuple_element<__i,
1260         const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
1261         tuple_size<const volatile _Tp>): Add.
1262         * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
1263         * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
1264         * testsuite/20_util/tuple/cv_tuple_size.cc: New.
1265         * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
1266         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
1267         line number.
1268
1269 2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
1270
1271         * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
1272         noexcept.
1273         (__get_helper): Likewise.
1274         (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
1275         * include/bits/move.h (swap): Likewise.
1276         * include/bits/algorithmfwd.h (swap): Adjust.
1277         * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
1278         * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
1279         mode, prefer delete to access control to make the type not copy
1280         assignable.
1281         * testsuite/util/testsuite_tr1.h: Add test classes.
1282         * testsuite/20_util/tuple/noexcept_swap.cc: New.
1283         * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
1284         * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
1285         delete to access control.
1286         * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
1287         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1288         line numbers.
1289
1290 2011-05-19  Daniel Krugler  <daniel.kruegler@googlemail.com>
1291
1292         * testsuite/util/testsuite_tr1.h: Add test classes.
1293         * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
1294
1295 2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
1296
1297         * include/std/type_traits (is_assignable, is_copy_assignable,
1298         is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
1299         is_nothrow_move_assignable): Add; minor tweaks elsewhere.
1300         (has_nothrow_copy_assign): Remove.
1301         * testsuite/util/testsuite_tr1.h: Add test classes.
1302         * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
1303         * testsuite/20_util/is_assignable/requirements/
1304         explicit_instantiation.cc: Likewise.
1305         * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
1306         * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
1307         Likewise.
1308         * testsuite/20_util/is_nothrow_assignable/requirements/
1309         explicit_instantiation.cc: Likewise.
1310         * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1311         * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
1312         Likewise.
1313         * testsuite/20_util/is_move_assignable/requirements/
1314         explicit_instantiation.cc: Likewise.
1315         * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1316         * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
1317         Likewise.
1318         * testsuite/20_util/is_copy_assignable/requirements/
1319         explicit_instantiation.cc: Likewise.
1320         * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1321         * testsuite/20_util/is_nothrow_move_assignable/requirements/
1322         typedefs.cc: Likewise.
1323         * testsuite/20_util/is_nothrow_move_assignable/requirements/
1324         explicit_instantiation.cc: Likewise.
1325         * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1326         * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1327         typedefs.cc: Likewise.
1328         * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1329         explicit_instantiation.cc: Likewise.
1330         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1331         dg-error line numbers.
1332         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1333         Likewise.
1334         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1335
1336 2011-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1337
1338         * include/bits/shared_ptr_base.h: Use noexcept. Define special member
1339         functions as defaulted/deleted.
1340         * include/bits/shared_ptr.h: Use noexcept.
1341         * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
1342         * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1343
1344 2011-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1345
1346         * doc/xml/manual/bitmap_allocator.xml: Fix typos.
1347
1348 2011-05-18  Paolo Carlini  <paolo.carlini@oracle.com>
1349
1350         * libsupc++/initializer_list: Use noexcept specifier.
1351         (initializer_list<>::size, begin, end): Qualify as const.
1352         * include/bits/move.h (__addressof, forward, move, addressof): Specify
1353         as noexcept.
1354         * include/std/bitset: Use noexcept specifier throughout.
1355         * include/debug/bitset: Update.
1356         * include/profile/bitset: Likewise.
1357
1358 2011-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
1359
1360         * include/std/tuple: Use noexcept where appropriate.
1361         (tuple<>::swap): Rework implementation.
1362         (_Head_base<>::_M_swap_impl): Remove.
1363         (get(std::tuple<>&&)): Add.
1364         * testsuite/20_util/tuple/element_access/get2.cc: New.
1365         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1366         line number.
1367
1368 2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
1369
1370         * include/std/utility: Simplify the last commit, the whole
1371         std::get code is C++0x only.
1372
1373 2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
1374
1375         * include/std/utility (get(std::pair<>&&)): Add.
1376         * include/bits/stl_pair.h (pair::swap(pair&),
1377         swap(pair<>&, pair<>&)): Use noexcept.
1378         * include/bits/random.h (discard_block_engine<>::base,
1379         independent_bits_engine<>::base, shuffle_order_engine<>::base,
1380         random_device::entropy): Use noexcept.
1381         * include/std/array: Use noexcept where appropriate.
1382         (get(array<>&&)): Add.
1383         * testsuite/23_containers/array/requirements/get.cc: New.
1384         * testsuite/20_util/pair/get.cc: Likewise.
1385         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
1386         line number.
1387
1388 2011-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
1389
1390         * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
1391         Add.
1392         * include/std/limits: Use the latter everywhere.
1393         (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
1394         macro usages, the specializations exist only in C++0x mode.
1395         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1396         line number.
1397
1398 2011-05-11  Paolo Carlini  <paolo.carlini@oracle.com>
1399
1400         * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
1401         dg-require-cmath.
1402         * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1403
1404 2011-05-11  François Dumont  <francois.cppdevs@free.fr>
1405
1406         * include/ext/pb_ds/detail/resize_policy/
1407         hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
1408         _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
1409         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1410         find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1411         constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
1412         (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
1413         * include/ext/pb_ds/detail/debug_map_base.hpp,
1414         splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
1415         cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
1416         leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
1417         bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
1418         rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
1419         PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
1420         macro definitions move...
1421         * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
1422         * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
1423         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
1424         resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
1425         left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
1426         binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
1427         rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
1428         PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
1429         * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
1430         ...here.
1431
1432 2011-05-09  Paolo Carlini  <paolo.carlini@oracle.com>
1433
1434         PR libstdc++/48933
1435         * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
1436         erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
1437         llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
1438         nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
1439         scalbn, tgamma, trunc): Use __enable_if on the return type.
1440         * include/tr1/cmath: Likewise.
1441         * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
1442         * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1443
1444 2011-05-07  François Dumont  <francois.cppdevs@free.fr>
1445
1446         * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
1447         (_GLICXX_DEBUG_VERIFY): Use latter.
1448         * include/ext/pb_ds/detail/resize_policy/
1449         hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
1450         containing the original assert call.
1451         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1452         find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1453         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1454         split_join_fn_imps.hpp: Likewise.
1455         * include/ext/pb_ds/detail/cc_hash_table_map_/
1456         erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1457         find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
1458         debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
1459         constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
1460         erase_no_store_hash_fn_imps.hpp: Likewise.
1461         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
1462         insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
1463         constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
1464         leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
1465         Likewise.
1466         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
1467         r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1468         debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
1469         bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
1470         Likewise.
1471         * include/ext/pb_ds/detail/gp_hash_table_map_/
1472         erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1473         find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
1474         debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
1475         resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
1476         debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
1477         Likewise.
1478         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
1479         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1480         erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
1481         resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
1482         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
1483         find_fn_imps.hpp, insert_fn_imps.hpp,
1484         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1485         pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
1486         * include/ext/pb_ds/detail/binomial_heap_/
1487         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1488         binomial_heap_.hpp: Likewise.
1489         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1490         erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
1491         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1492         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
1493         find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
1494         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1495         split_join_fn_imps.hpp: Likewise.
1496         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
1497         ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
1498         debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
1499         * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1500         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
1501         find_fn_imps.hpp, insert_fn_imps.hpp,
1502         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1503         splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
1504         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
1505         find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
1506         insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1507         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
1508         rc_binomial_heap_.hpp, insert_fn_imps.hpp,
1509         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
1510         split_join_fn_imps.hpp: Likewise.
1511         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
1512         insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1513         debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
1514         * include/ext/pb_ds/hash_policy.hpp: Likewise.
1515
1516 2011-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
1517
1518         * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
1519
1520 2011-05-04  Marc Glisse  <marc.glisse@normalesup.org>
1521
1522         PR libstdc++/47913 (again)
1523         * include/std/ratio (ratio_add, ratio_less): Rewrite.
1524         * testsuite/20_util/ratio/operations/47913.cc: Extend.
1525         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
1526         line numbers.
1527         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1528
1529 2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
1530
1531         PR libstdc++/48848
1532         * include/std/valarray (valarray<>::valarray(valarray&&),
1533         valarray<>::operator=(valarray&&), valarray<>::swap): Add.
1534         * doc/xml/manual/status_cxx200x.xml: Update.
1535         * testsuite/26_numerics/valarray/moveable.cc: New.
1536         * testsuite/26_numerics/valarray/swap.cc: Likewise.
1537
1538 2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
1539
1540         PR libstdc++/48750
1541         * include/parallel/multiway_merge.h: Run _ValueType destructors.
1542         * include/parallel/multiway_mergesort.h: Likewise.
1543         * include/parallel/quicksort.h: Likewise.
1544         * include/parallel/random_shuffle.h: Likewise.
1545         * include/parallel/partial_sum.h: Likewise.
1546         * include/parallel/losertree.h: Run destructors; minor tweaks.
1547         * include/parallel/par_loop.h: Run destructors, fix memory
1548         allocations and deallocations.
1549         * testsuite/26_numerics/accumulate/48750.cc: New.
1550
1551         * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
1552         parallel-mode to avoid spurious multiple errors.
1553
1554 2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
1555
1556         * include/std/functional (bind): Remove from overload set when first
1557         argument type might be a socket file descriptor.
1558         * testsuite/20_util/bind/socket.cc: New.
1559
1560 2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
1561
1562         PR libstdc++/48848
1563         * doc/xml/manual/status_cxx200x.xml: Update valarray status.
1564         * doc/html/*: Regenerate.
1565
1566 2011-05-02  Ollie Wild  <aaw@google.com>
1567
1568         * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
1569         Fix unqualified lookup.
1570         (__sso_string_base<>::_M_assign): Likewise.
1571         (__sso_string_base<>::_M_reserve): Likewise.
1572         (__sso_string_base<>::_M_mutate): Likewise.
1573         (__sso_string_base<>::_M_erase): Likewise.
1574         * include/ext/vstring.h (__versa_string<>::replace): Likewise.
1575         (__versa_string<>::compare): Likewise.
1576         * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
1577
1578 2011-05-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1579
1580         * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
1581         and FDIS content.
1582         * doc/xml/manual/documentation_hacking.xml: Fix typo.
1583         * doc/html/*: Regenerate.
1584
1585 2011-04-30  Daniel Krugler  <daniel.kruegler@googlemail.com>
1586
1587         * include/std/type_traits (__is_default_constructible_atom,
1588         __is_default_constructible_safe<, true>,
1589         __is_direct_constructible_new_safe,
1590         __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
1591         __is_direct_constructible_ref_cast, __is_direct_constructible,
1592         __is_nary_constructible): Simplify; add comments throughout.
1593
1594 2011-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
1595
1596         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1597         Adjust dg-error line numbers.
1598         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1599         Likewise.
1600         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1601
1602 2011-04-30  Doug Kwan  <dougkwan@google.com>
1603
1604         * include/Makefile.am (install-freestanding-headers): Also install
1605         cxxabi_tweaks.h.
1606         * include/Makefile.in: Regenerate.
1607
1608 2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
1609
1610         PR libstdc++/48760
1611         * include/std/complex (complex<float>::complex(float, float),
1612         complex<double>::complex(double, double),
1613         complex<long double>::complex(long double, long double)): Use
1614         list-initialization in C++0x mode, initialize in the body in
1615         C++03 mode.
1616         * testsuite/26_numerics/complex/cons/48760.cc: New.
1617         * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1618
1619 2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
1620
1621         * include/std/bitset (_Base_bitset(unsigned long long)): Minor
1622         tweak, remove redundant round braces.
1623
1624 2011-04-27  Paolo Carlini  <paolo.carlini@oracle.com>
1625
1626         * include/bits/move.h (move_if_noexcept): Add.
1627         * testsuite/20_util/move_if_noexcept/requirements/
1628         explicit_instantiation.cc: New.
1629         * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
1630
1631 2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
1632
1633         * include/std/type_traits (struct underlying_type): Add.
1634         * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1635         * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1636         Likewise.
1637         * testsuite/20_util/underlying_type/requirements/
1638         explicit_instantiation.cc: Likewise.
1639         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1640         line number.
1641
1642 2011-04-24  Paolo Carlini  <paolo.carlini@oracle.com>
1643
1644         * include/parallel/multiway_merge.h: Uglify equally_split
1645         and equally_split_point throughout.
1646         * include/parallel/par_loop.h: Likewise.
1647         * include/parallel/equally_split.h: Likewise.
1648         * include/parallel/set_operations.h: Likewise.
1649         * include/parallel/unique_copy.h: Likewise.
1650         * include/parallel/multiway_mergesort.h: Likewise.
1651         * include/parallel/search.h: Likewise.
1652         * include/parallel/partial_sum.h: Likewise.
1653         * include/parallel/find.h: Likewise.
1654
1655 2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
1656
1657         * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
1658         documentation.  Expand link text.
1659
1660 2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
1661
1662         * libsupc++/cxxabi.h: Adjust link to FAQ entry.
1663
1664 2011-04-22  François Dumont  <francois.cppdevs@free.fr>
1665
1666         * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
1667         unused compilation result thanks to /dev/null.
1668         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
1669         check_v3_target_profile_mode, check_v3_target_normal_mode,
1670         check_v3_target_cstdint, check_v3_target_cmath,
1671         check_v3_target_atomic_builtins, check_v3_target_gthreads,
1672         check_v3_target_nanosleep, check_v3_target_sched_yield,
1673         check_v3_target_string_conversions, check_v3_target_swprintf,
1674         check_v3_target_binary_io): Use simple preprocessing rather than
1675         compilation. Discard unused preprocessing result thanks to /dev/null.
1676
1677 2011-04-20  Jim Meyering  <meyering@redhat.com>
1678
1679         * libsupc++/del_opnt.cc (operator delete): Remove useless
1680         if-before-free.
1681
1682 2011-04-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
1683
1684         PR libstdc++/48521
1685         * include/std/type_traits (result_of): Handle pointer to member.
1686         * include/std/functional (__invoke): Likewise.
1687         (_Function_to_function_pointer): Remove.
1688         (_Reference_wrapper_base): Provide nested types independent of
1689         unary_function and binary_function.
1690         (reference_wrapper::operator()): DR 2017.
1691         (ref(const A&&), cref(const A&&): Define as deleted.
1692         * include/std/future (async): Simplify SFINAE and use result_of to
1693         support pointer to member.
1694         * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
1695         member.
1696         * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1697         * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
1698         instead of derivation from unary_function and binary_function.
1699         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1700         * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
1701         * testsuite/20_util/reference_wrapper/ref_neg.c: New.
1702         * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
1703
1704 2011-04-19  Hans-Peter Nilsson  <hp@axis.com>
1705
1706         PR testsuite/48675
1707         * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
1708         this part if SAMPLES < 100000.
1709
1710 2011-04-18  Paolo Carlini  <paolo.carlini@oracle.com>
1711
1712         * include/std/type_traits (is_nothrow_default_constructible,
1713         is_nothrow_copy_constructible, is_nothrow_move_constructible,
1714         is_copy_constructible, is_move_constructible): Add.
1715         (has_nothrow_default_constructor, has_nothrow_copy_constructor):
1716         Remove.
1717         (is_nothrow_constructible): Adjust.
1718
1719         * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
1720         ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
1721         ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
1722         NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
1723
1724         * testsuite/20_util/has_nothrow_default_constructor: Remove.
1725         * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
1726
1727         * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1728         * testsuite/20_util/is_nothrow_move_constructible/requirements/
1729         typedefs.cc: Likewise.
1730         * testsuite/20_util/is_nothrow_move_constructible/requirements/
1731         explicit_instantiation.cc: Likewise.
1732         * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1733         * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1734         typedefs.cc: Likewise.
1735         * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1736         explicit_instantiation.cc: Likewise.
1737         * testsuite/20_util/is_nothrow_default_constructible/value.cc:
1738         Likewise.
1739         * testsuite/20_util/is_nothrow_default_constructible/requirements/
1740         typedefs.cc: Likewise.
1741         * testsuite/20_util/is_nothrow_default_constructible/requirements/
1742         explicit_instantiation.cc: Likewise.
1743         * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1744         * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
1745         Likewise.
1746         * testsuite/20_util/is_move_constructible/requirements/
1747         explicit_instantiation.cc: Likewise.
1748         * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1749         * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
1750         Likewise.
1751         * testsuite/20_util/is_copy_constructible/requirements/
1752         explicit_instantiation.cc: Likewise.
1753
1754         * testsuite/20_util/is_default_constructible/value.cc: Add tests.
1755         * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
1756
1757         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1758         Adjust dg-error line numbers.
1759         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1760         Likewise.
1761         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1762
1763 2011-04-17  Paolo Carlini  <paolo.carlini@oracle.com>
1764
1765         * testsuite/25_algorithms/partition/moveable.cc: Actually run
1766         it in parallel-mode for check-parallel.
1767
1768 2011-04-17  Daniel Krugler  <daniel.kruegler@googlemail.com>
1769             Paolo Carlini  <paolo.carlini@oracle.com>
1770
1771         PR libstdc++/48635 (again)
1772         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
1773         unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
1774         unique_ptr<>::operator=(unique_ptr<>&&),
1775         unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
1776         forward<_Dp>, to forward the deleter.
1777         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
1778
1779 2011-04-15  Daniel Krugler  <daniel.kruegler@googlemail.com>
1780             Paolo Carlini  <paolo.carlini@oracle.com>
1781
1782         PR libstdc++/48631
1783         * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
1784         function call operator.
1785         * testsuite/20_util/default_delete/48631_neg.cc: New.
1786         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1787         line numbers.
1788
1789 2011-04-15  Daniel Krugler  <daniel.kruegler@googlemail.com>
1790             Paolo Carlini  <paolo.carlini@oracle.com>
1791
1792         PR libstdc++/48635
1793         * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
1794         unique_ptr<>::operator=(unique_ptr<>&&),
1795         unique_ptr<_Tp[],>::operator=(unique_ptr&&),
1796         unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
1797         instead of moving it.
1798         * testsuite/20_util/unique_ptr/assign/48635.cc: New.
1799
1800 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1801
1802         * scripts/extract_symvers.pl: Handle NOTY.
1803
1804 2011-04-15  Paolo Carlini  <paolo.carlini@oracle.com>
1805
1806         * include/std/istream: Fix comments in the light of DR60 + N3168.
1807
1808 2011-04-13  Daniel Krugler  <daniel.kruegler@googlemail.com>
1809             Paolo Carlini  <paolo.carlini@oracle.com>
1810
1811         PR libstdc++/48526
1812         * include/std/type_traits (struct is_constructible): Re-implement,
1813         according to n3290.
1814         (struct is_default_constructible): Add.
1815         (struct is_destructible): Likewise.
1816         (struct __and_, __or_, __not_): Add and use throughout; reorder some
1817         facilities, other minor tweaks.
1818         * testsuite/util/testsuite_tr1.h: Add test types.
1819         * testsuite/20_util/is_constructible/value-2.cc: New.
1820         * testsuite/20_util/is_default_constructible/value.cc: Likewise.
1821         * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
1822         Likewise.
1823         * testsuite/20_util/is_default_constructible/requirements/
1824         explicit_instantiation.cc: Likewise.
1825         * testsuite/20_util/is_destructible/value.cc: Likewise.
1826         * testsuite/20_util/is_destructible/requirements/typedefs.cc:
1827         Likewise.
1828         * testsuite/20_util/is_destructible/requirements/
1829         explicit_instantiation.cc: Likewise.
1830         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1831         dg-error line numbers.
1832         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1833         Likewise.
1834         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1835         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1836
1837 2011-04-13  Paolo Carlini  <paolo.carlini@oracle.com>
1838
1839         * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
1840         testsuite.
1841         * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
1842         * testsuite/20_util/is_function/requirements/
1843         explicit_instantiation.cc: Likewise.
1844         * testsuite/20_util/is_function/24808.cc: Likewise.
1845         * testsuite/20_util/is_function/35637.cc: Likewise.
1846         * testsuite/20_util/is_object/value.cc: Likewise.
1847         * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
1848         * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
1849         : Likewise.
1850         * testsuite/20_util/is_object/24808.cc: Likewise.
1851         * testsuite/20_util/is_compound/value.cc: Likewise.
1852         * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
1853         * testsuite/20_util/is_compound/requirements/
1854         explicit_instantiation.cc: Likewise.
1855         * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
1856         * testsuite/20_util/is_member_object_pointer/requirements/
1857         typedefs.cc: Likewise.
1858         * testsuite/20_util/is_member_object_pointer/requirements/
1859         explicit_instantiation.cc: Likewise.
1860         * testsuite/20_util/is_fundamental/value.cc: Likewise.
1861         * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
1862         * testsuite/20_util/is_fundamental/requirements/
1863         explicit_instantiation.cc: Likewise.
1864         * testsuite/20_util/is_member_pointer/value.cc: Likewise.
1865         * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
1866         Likewise.
1867         * testsuite/20_util/is_member_pointer/requirements/
1868         explicit_instantiation.cc: Likewise.
1869         * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
1870         * testsuite/20_util/is_member_function_pointer/
1871         requirements/typedefs.cc: Likewise.
1872         * testsuite/20_util/is_member_function_pointer/requirements/
1873         explicit_instantiation.cc: Likewise.
1874
1875         * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
1876         Copyright years.
1877
1878 2011-04-12  Takaya Saito  <gintensubaru@gmail.com>
1879
1880         PR libstdc++/48476
1881         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
1882         _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
1883         (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
1884         * testsuite/20_util/tuple/cons/48476.cc: New.
1885         * testsuite/20_util/tuple/48476.cc: Likewise.
1886         * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
1887
1888 2011-04-12  Allan McRae  <allan@archlinux.org>
1889
1890         PR libstdc++/48566
1891         * testsuite/tr1/6_containers/unordered_map/requirements/
1892         iterator_null_neg.cc: Include <cstddef>.
1893         * testsuite/tr1/6_containers/unordered_set/requirements/
1894         iterator_null_neg.cc: Likewise.
1895         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
1896         <cstring>.
1897         * testsuite/util/testsuite_common_types.h: Include <limits>.
1898         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
1899         Adjust dg-error line numbers.
1900         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1901         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1902         Likewise.
1903         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
1904         Likewise.
1905         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1906         Likewise.
1907         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
1908         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1909
1910 2011-04-11  Jason Merrill  <jason@redhat.com>
1911
1912         * testsuite/20_util/is_convertible/value.cc: Adjust.
1913
1914 2011-04-11  Paolo Carlini  <paolo.carlini@oracle.com>
1915
1916         * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
1917         it in parallel-mode for check-parallel.
1918         * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
1919         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
1920         * testsuite/25_algorithms/remove/moveable.cc: Likewise.
1921         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1922         Likewise.
1923         * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1924         * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
1925         * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1926
1927         * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
1928         the tests based on std::lexicographical_compare for check-parallel.
1929         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1930
1931 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1932
1933         PR libstdc++/48541
1934         * include/std/functional (_Base_manager::_M_get_pointer): Use
1935         addressof.
1936         * testsuite/20_util/function/48541.cc: New.
1937
1938 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1939
1940         PR libstdc++/48465
1941         * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
1942         * configure: Regenerate.
1943         * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
1944         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1945
1946 2011-04-06  Jeffrey Yasskin  <jyasskin@google.com>
1947
1948         * include/ext/algorithm (is_sorted): In C++0x mode import from
1949         namespace std.
1950         * include/ext/numeric (iota): In C++0x mode import from
1951         namespace std.
1952         * testsuite/ext/is_sorted/cxx0x.cc: New.
1953         * testsuite/ext/iota/cxx0x.cc: New.
1954
1955 2011-04-02  Jonathan Wakely  <redi@gcc.gnu.org>
1956
1957         PR libstdc++/48398
1958         * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
1959         * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
1960         * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
1961         unused parameter name.
1962
1963 2011-03-31  Jeffrey Yasskin  <jyasskin@google.com>
1964
1965         * libsupc++/exception_ptr.h: Forward-declare std::type_info.
1966         * libsupc++/nested_exception.h (__throw_with_nested): Remove a
1967         redundant default argument from std::__throw_with_nested.
1968
1969 2011-03-31  Paolo Carlini  <paolo.carlini@oracle.com>
1970
1971         PR libstdc++/48382
1972         * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
1973         * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
1974         * src/Makefile.in: Regenerate.
1975         * include/Makefile.am: Remove ctype_noninline.h from host_headers.
1976         * include/Makefile.in: Regenerate.
1977         * doc/xml/manual/internals.xml: Update.
1978         * config/os/newlib/ctype_noninline.h: Fixup and rename to...
1979         * config/os/newlib/ctype_configure_char.cc: ... this.
1980         * config/os/aix/ctype_noninline.h: Likewise.
1981         * config/os/aix/ctype_configure_char.cc: Likewise.
1982         * config/os/vxworks/ctype_noninline.h: Likewise.
1983         * config/os/vxworks/ctype_configure_char.cc
1984         * config/os/hpux/ctype_noninline.h: Likewise.
1985         * config/os/hpux/ctype_configure_char.cc: Likewise.
1986         * config/os/gnu-linux/ctype_noninline.h: Likewise.
1987         * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
1988         * config/os/mingw32/ctype_noninline.h: Likewise.
1989         * config/os/mingw32/ctype_configure_char.cc: Likewise.
1990         * config/os/tpf/ctype_noninline.h: Likewise.
1991         * config/os/tpf/ctype_configure_char.cc: Likewise.
1992         * config/os/uclibc/ctype_noninline.h: Likewise.
1993         * config/os/uclibc/ctype_configure_char.cc: Likewise.
1994         * config/os/bionic/ctype_noninline.h: Likewise.
1995         * config/os/bionic/ctype_configure_char.cc: Likewise.
1996         * config/os/djgpp/ctype_noninline.h: Likewise.
1997         * config/os/djgpp/ctype_configure_char.cc: Likewise.
1998         * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
1999         * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
2000         * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
2001         * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
2002         * config/os/bsd/darwin/ctype_noninline.h: Likewise.
2003         * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
2004         * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
2005         * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
2006         * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
2007         * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
2008         * config/os/generic/ctype_noninline.h: Likewise.
2009         * config/os/generic/ctype_configure_char.cc: Likewise.
2010         * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
2011         * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
2012
2013 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
2014
2015         * include/std/future (future::share): Add.
2016         (packaged_task::result_type): Remove as per LWG 2030.
2017         (packaged_task::packaged_task): Remove redundant constructors, as per
2018         LWG 1514.
2019         * testsuite/30_threads/future/members/share.cc: New.
2020         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
2021
2022 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
2023
2024         * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
2025         members which require a fully established result state.
2026         * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
2027
2028 2011-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
2029
2030         * include/bits/random.h (negative_binomial_distribution<>::
2031         negative_binomial_distribution(_IntType, double),
2032         negative_binomial_distribution<>::
2033         negative_binomial_distribution(const param_type&)): Tweak
2034         construction of _M_gd.
2035         * include/bits/random.tcc (negative_binomial_distribution<>::
2036         operator()): Adjust.
2037
2038 2011-03-24  Paolo Carlini  <paolo.carlini@oracle.com>
2039
2040         * include/bits/random.h (negative_binomial_distribution<>::
2041         negative_binomial_distribution(_IntType, double),
2042         negative_binomial_distribution<>::
2043         negative_binomial_distribution(const param_type&)): Fix
2044         construction of _M_gd.
2045         * include/bits/random.tcc (negative_binomial_distribution<>::
2046         operator()): Fix computation, per Leger's algorithm.
2047         * testsuite/util/testsuite_random.h (discrete_pdf,
2048         negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
2049         (binomial_pdf): Swap last two parameters.
2050         * testsuite/26_numerics/random/discrete_distribution/
2051         operators/values.cc: New.
2052         * testsuite/26_numerics/random/negative_binomial_distribution/
2053         operators/values.cc: Likewise.
2054         * testsuite/26_numerics/random/poisson_distribution/
2055         operators/values.cc: Likewise.
2056         * testsuite/26_numerics/random/uniform_int_distribution/
2057         operators/values.cc: Likewise.
2058         * testsuite/26_numerics/random/binomial_distribution/
2059         operators/values.cc: Adjust.
2060
2061 2011-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2062
2063         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
2064         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2065         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2066         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2067         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2068
2069 2011-03-23  Matthias Klose  <doko@ubuntu.com>
2070
2071         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
2072
2073 2011-03-23  Uros Bizjak  <ubizjak@gmail.com>
2074
2075         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
2076
2077 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
2078
2079         * configure.ac: Don't handle powerpc*-*-gnu*.
2080         * configure: Regenerate.
2081
2082 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
2083
2084         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
2085         Copyright years.
2086         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
2087         Likewise.
2088
2089 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
2090
2091         * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
2092         per DR 1401.
2093         (operator==, operator!=, operator<): Fix per the letter of DR 1401.
2094         * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
2095         * include/bits/unique_ptr.h (operator==, operator!=, operator<,
2096         operator<=, operator>, operator>=): Fix per the letter of DR 1401.
2097         * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
2098         * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
2099         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
2100
2101 2011-03-22  Jakub Jelinek  <jakub@redhat.com>
2102
2103         * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
2104         and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
2105         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
2106         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2107         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2108         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2109         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2110         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2111         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2112         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2113         Likewise.
2114         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2115         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2116         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2117         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2118         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
2119         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2120         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
2121         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
2122         test.
2123
2124 2011-03-21  Jack Howarth  <howarth@bromo.med.uc.edu>
2125
2126         * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
2127         create compact unwind for" warnings.
2128
2129 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
2130
2131         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2132         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2133         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2134         Likewise.
2135         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2136         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2137         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2138         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2139         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2140         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2141         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
2142         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2143         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2144
2145         * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
2146         even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
2147         CXXABI_LDBL_1.3 versions.
2148
2149 2011-03-21  Benjamin Kosnik  <bkoz@redhat.com>
2150
2151         * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
2152
2153 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
2154
2155         * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
2156         (CXXABI_1.3.5): Export _ZTI[PK]*[no].
2157
2158 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2159
2160         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
2161         sparc*-sun-solaris2.10 && lp64.
2162
2163 2011-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
2164
2165         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
2166         to check_v3_target_cmath.
2167         * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
2168         to dg-require-cmath.
2169         * testsuite/26_numerics/random/binomial_distribution/
2170         operators/values.cc: Adjust.
2171
2172 2011-03-18  Diego Novillo  <dnovillo@google.com>
2173
2174         * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
2175         mixed-mode_neg.cc
2176         * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
2177         mixed-mode-arith_neg.cc
2178
2179 2011-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
2180
2181         * testsuite/util/testsuite_random.h: New.
2182         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
2183         * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
2184         * testsuite/26_numerics/random/bernoulli_distribution/
2185         operators/values.cc: New.
2186         * testsuite/26_numerics/random/binomial_distribution/
2187         operators/values.cc: Likewise.
2188         * testsuite/26_numerics/random/geometric_distribution/
2189         operators/values.cc: Likewise.
2190
2191 2011-03-16  Benjamin Kosnik  <bkoz@redhat.com>
2192
2193         * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
2194         * testsuite/19_diagnostics/stdexcept.cc: New.
2195
2196 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
2197
2198         * include/std/thread: Revert.
2199         * src/thread.cc: Same.
2200         * config/abi/pre/gnu.ver: Same.
2201
2202 2011-03-15  Doug Kwan  <dougkwan@google.com>
2203
2204         PR libstdc++/48123
2205         * include/Makefile.am (install-freestanding-headers): Install
2206         cpu_defines.h
2207         * include/Makefile.in: Regenerate.
2208
2209 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
2210
2211         * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
2212         Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
2213
2214 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
2215
2216         PR libstdc++/48130
2217         * src/future.cc: Guard definitions.
2218         * libsupc++/nested_exception.cc: Same.
2219
2220 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
2221
2222         * src/Makefile.am: Add functional.cc, shared_ptr.cc.
2223         * src/Makefile.in: Regenerate.
2224         * libsupc++/Makefile.am: Add nested_exception.cc.
2225         * libsupc++/Makefile.in: Regenerate.
2226         * src/system_error.cc: Add ctor and dtor definitions for error_category.
2227         * src/functional.cc: New. Add dtor definition for bad_function_call.
2228         * src/stdexcept.cc: Add dtor definitions for domain_error,
2229         invalid_argument, length_error, out_of_range, range_error,
2230         overflow_error, underflow_error.
2231         * src/future.cc: Add dtor definition for __future_base::_Result_base.
2232         * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
2233         * src/thread.cc: Add dtor for thread::_Impl_base.
2234         * include/std/system_error: Adjust.
2235         * include/std/stdexcept: Same.
2236         * include/std/future: Same.
2237         * include/std/functional: Same.
2238         * include/std/thread: Same.
2239         * include/bits/shared_ptr_base.h: Same.
2240         * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
2241         * libsupc++/nested_exception.h: Adjust.
2242         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
2243         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2244         * config/abi/pre/gnu.ver: Add new exports.
2245
2246 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
2247
2248         * include/bits/regex_compiler.h: Nest namespace versioning.
2249         * include/bits/regex_grep_matcher.tcc: Same.
2250         * include/bits/regex_grep_matcher.h: Same.
2251         * include/bits/regex_cursor.h: Same.
2252         * include/bits/regex_nfa.h: Same.
2253         * include/bits/regex_nfa.tcc: Same.
2254
2255         * include/bits/regex_grep_matcher.h: Version forward declarations.
2256         * include/bits/c++config: Add namespace association for __regex.
2257         * include/bits/regex.h: Make sub_match consistent.
2258
2259 2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2260
2261         * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
2262         equivalents.
2263         * doc/html/manual/abi.html: Regenerate.
2264
2265 2011-03-14  Tom Tromey  <tromey@redhat.com>
2266
2267         * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
2268         Try to import `gdb.printing' module.
2269         (UniquePointerPrinter.__init__): Add 'typename' argument.
2270         (StdSlistPrinter.__init__): Likewise.
2271         (StdSlistIteratorPrinter.__init__): Likewise.
2272         (StdVectorIteratorPrinter.__init__): Likewise.
2273         (StdRbtreeIteratorPrinter.__init__): Likewise.
2274         (StdDebugIteratorPrinter.__init__): Likewise.
2275         (StdDequeIteratorPrinter.__init__): Likewise.
2276         (StdStringPrinter.__init__): Likewise.
2277         (RxPrinter, Printer): New class.
2278         (libstdcxx_printer): New global.
2279         (register_libstdcxx_printers): Rewrite.
2280         (build_libstdcxx_dictionary): Rewrite.
2281         (pretty_printers_dict): Remove.
2282
2283 2011-03-14  Andrey Zholos  <aaz@althenia.net>
2284
2285         PR libstdc++/48114
2286         * include/bits/random.h (geometric_distribution): Correct formula
2287         in comment, per C++0x.
2288         (geometric_distribution<>::param_type::param_type(double)): Fix check.
2289         (geometric_distribution<>::param_type::_M_initialize):
2290         Store log(1 - p).
2291         * include/bits/random.tcc (geometric_distribution<>::operator()):
2292         Fix computation.
2293         (binomial_distribution<>::operator()): Likewise.
2294
2295 2011-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
2296
2297         * testsuite/util/testsuite_rvalref.h: Minor tweaks.
2298
2299 2011-03-09  Jonathan Wakely  <redi@gcc.gnu.org>
2300             Chris Jefferson  <chris@bubblescope.net>
2301             Paolo Carlini  <paolo.carlini@oracle.com>
2302
2303         * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
2304         New.
2305         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2306         Likewise.
2307         * testsuite/25_algorithms/partial_sort/check_compare_by_value:
2308         Likewise.
2309         * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
2310         Likewise.
2311         * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
2312
2313 2011-03-09  Chris Jefferson  <chris@bubblescope.net>
2314
2315         PR libstdc++/48038
2316         * include/bits/stl_algo.h (__merge_backward): Rename to
2317         __move_merge_backward and change to always move rather than copy.
2318         (__move_merge): New function similar to std::merge except values
2319         are moved instead of copied.
2320         (__merge_adaptive, __merge_sort_loop): Change from using std::merge
2321         and __merge_backward to __move_merge and __move_merge_backward.
2322
2323 2011-03-07  Jason Merrill  <jason@redhat.com>
2324
2325         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
2326         expected errors.
2327
2328 2011-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2329             Matthias Klose  <doko@ubuntu.com>
2330             Jonathan Wakely  <redi@gcc.gnu.org>
2331
2332         PR libstdc++/47145
2333         * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
2334         * configure.ac: Use it.
2335         * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
2336         * configure: Regenerate.
2337         * doc/Makefile.in: Regenerate.
2338
2339 2011-03-04  Benjamin Kosnik  <bkoz@chula>
2340
2341         * src/Makefile.am (inst_sources): Make source instantion files
2342         conditional.
2343         (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
2344         * src/Makefile.in: Regenerate.
2345         * src/valarray-inst.cc: Move to..
2346         * src/valarray.cc: ...this.
2347         * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
2348         * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
2349         * configure: Regenerate.
2350         * include/Makefile.am (stamp-extern-template): Add.
2351         * include/Makefile.in: Regenerate.
2352
2353         * doc/xml/manual/configure.xml: Document --enable-extern-template.
2354
2355         * include/bits/locale_classes.tcc: Adjust comment.
2356         * include/bits/locale_facets.tcc: Same.
2357         * include/bits/basic_ios.tcc: Same.
2358         * include/bits/istream.tcc: Same.
2359         * include/bits/codecvt.h: Same.
2360         * include/bits/ostream.tcc: Same.
2361         * include/bits/sstream.tcc: Same.
2362         * include/bits/c++config: Same.
2363         * include/bits/basic_string.tcc: Same.
2364         * include/bits/ostream_insert.h: Same.
2365         * include/bits/locale_facets_nonio.tcc: Same.
2366         * include/bits/streambuf.tcc: Same.
2367         * include/bits/allocator.h: Same.
2368         * include/bits/fstream.tcc: Same.
2369
2370         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2371
2372 2011-03-02  Benjamin Kosnik  <bkoz@redhat.com>
2373
2374         * testsuite/Makefile.am: Make clean fixups.
2375         * testsuite/Makefile.in: Regenerate.
2376
2377 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
2378
2379         * include/std/ratio (ratio_less): Add comments.
2380
2381 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
2382
2383         PR libstdc++/47913
2384         * include/std/ratio (ratio_add): Avoid denominator overflow.
2385         * testsuite/20_util/ratio/operations/47913.cc: New.
2386
2387 2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
2388
2389         * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
2390         * testsuite/20_util/hash/quality.cc: Same.
2391
2392 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
2393
2394         PR libstdc++/47921
2395         * include/std/streambuf (basic_streambuf<>::__safe_gbump,
2396         __safe_pbump): Add.
2397         * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
2398         xputn): Use the latter.
2399         * include/bits/streambuf_iterator.h: Likewise.
2400         * src/strstream.cc: Likewise.
2401         * src/streambuf.cc: Likewise.
2402         * src/compatibility.cc: Likewise.
2403         * src/istream.cc: Likewise.
2404         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
2405         instead of gbump.
2406         * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
2407         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
2408         seekpos, _M_sync): Use setg, setp, and _M_pbump.
2409         * config/abi/pre/gnu.ver: Tweak.
2410
2411 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
2412
2413         * testsuite/20_util/ratio/comparisons/comp3.cc: New.
2414
2415 2011-02-28  Marc Glisse  <marc.glisse@normalesup.org>
2416
2417         PR libstdc++/42622
2418         * include/std/ratio (ratio_less): Reimplement to never overflow.
2419         * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
2420
2421 2011-02-24  Benjamin Kosnik  <bkoz@redhat.com>
2422
2423         * testsuite/18_support/type_info/fundamental.cc: New.
2424
2425         * testsuite/Makefile.am: Make clean fixups.
2426         * testsuite/Makefile.in: Regenerate.
2427
2428 2011-02-19  François Dumont  <francois.cppdevs@free.fr>
2429
2430         * include/debug/string (basic_string::insert): Add iterator check and
2431         pass normal iterator to normal insert.
2432         * include/debug/macros.h (__glibcxx_check_heap,
2433         __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
2434         already done.
2435
2436 2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
2437
2438         PR libstdc++/47776
2439         * testsuite/ext/vstring/hash/char/1.cc: Fix.
2440         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2441
2442 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
2443
2444         * include/bits/regex.h (basic_regex::traits_type): Add typedef.
2445         (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
2446         (basic_regex::operator=(basic_regex&&)): Likewise.
2447         (basic_regex::assign(basic_regex&&)): Likewise.
2448         (operator==(sub_match,...)): Implement DR 1181.
2449         (match_results::match_results(match_results&&)): Define.
2450         (match_results::operator=(const match_results&)): Fix parameter type.
2451         (match_results::operator=(match_results&&)): Define.
2452
2453 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
2454
2455         PR libstdc++/47724
2456         * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
2457         line anchors as metacharacters.
2458         * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
2459
2460 2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
2461
2462         PR libstdc++/47773
2463         * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
2464         hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
2465         hash<__gnu_cxx::__u32vstring>): Add.
2466         * testsuite/ext/vstring/hash/char/1.cc: New.
2467         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2468
2469 2011-02-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2470
2471         * include/bits/regex.h (match_results::format): Use char_traits.
2472
2473 2011-02-16  Benjamin Kosnik  <bkoz@redhat.com>
2474
2475         * include/std/atomic: Remove atomic_address, uplift to N3225.
2476         * include/bits/atomic_0.h: Same.
2477         * include/bits/atomic_2.h: Same.
2478         * include/bits/atomic_base.h: Same.
2479         * testsuite/29_atomics/atomic_address/*: Delete.
2480
2481 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2482
2483         * include/bits/regex.h (sub_match::sub_match): Add.
2484         (match_results::ready): Add.
2485         (match_results::empty): Adjust.
2486         (match_results::length): Add missing dereference.
2487         (match_results::operator[],prefix,suffix): Add debug mode checks.
2488         (match_results::cend): Re-use end().
2489         (match_results::format): Adjust signatures.
2490         (operator==(match_results,match_results)): Implement.
2491         * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
2492         * include/bits/regex_constants.h (syntax_option_type): Likewise.
2493         * include/bits/regex_grep_matcher.h: Fix comment typo.
2494         (_SpecializedResults::_SpecializedResults): Simplify.
2495         * include/bits/regex_cursor.h: Fix comment typo.
2496         * include/bits/regex_nfa.h: Likewise.
2497         * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
2498         Fix error code, remove xfail.
2499         * testsuite/28_regex/basic_regex/ctors/extended/
2500         string_range_01_02_03.cc: Likewise.
2501
2502 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2503
2504         * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
2505         * include/bits/regex_nfa.h: Remove unnecessary base classes.
2506
2507 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2508
2509         * configure: Regenerate.
2510
2511 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
2512
2513         PR libstdc++/47709
2514         * include/ext/algorithm (is_heap): In C++0x mode import from
2515         namespace std.
2516         * testsuite/ext/is_heap/47709.cc: New.
2517
2518 2011-02-12  Jakub Jelinek  <jakub@redhat.com>
2519             Jonathan Wakely  <jwakely.gcc@gmail.com>
2520
2521         PR libstdc++/47662
2522         * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
2523         * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
2524
2525 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
2526
2527         * include/tr1/cmath (fabs): Define.
2528         * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
2529         in C++0x mode.
2530
2531 2011-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
2532
2533         * testsuite/tr1/headers/c++200x/complex.cc: New.
2534
2535 2011-02-11  Johannes Singler  <singler@kit.edu>
2536
2537         PR libstdc++/47433
2538         * include/parallel/losertree.h
2539         (_LoserTreeUnguarded<>::__delete_min_insert):
2540         Add missing "using std::swap;", as for other variants.
2541
2542 2011-02-10  Benjamin Kosnik  <bkoz@redhat.com>
2543
2544         * src/Makefile.am (sources): Add regex.cc.
2545         * src/Makefile.in: Regenerate.
2546         * src/regex.cc: New.
2547         * include/bits/regex_error.h (error_type): Use constexpr.
2548         (regex_error): Move ctor and dtor out of line.
2549
2550         * testsuite/28_regex/03_requirements: To...
2551         * testsuite/28_regex/requirements: ... this.
2552         * testsuite/28_regex/04_header: To...
2553         * testsuite/28_regex/headers: ... this.
2554         * testsuite/28_regex/05_constants: To...
2555         * testsuite/28_regex/constants: ... this.
2556         * testsuite/28_regex/06_exception_type: To...
2557         * testsuite/28_regex/regex_error: ... this.
2558         * testsuite/28_regex/07_traits: To...
2559         * testsuite/28_regex/traits: ... this.
2560         * testsuite/28_regex/08_basic_regex: To...
2561         * testsuite/28_regex/basic_regex: ... this.
2562         * testsuite/28_regex/09_sub_match: To...
2563         * testsuite/28_regex/sub_match: ... this.
2564         * testsuite/28_regex/10_match_results: To...
2565         * testsuite/28_regex/match_results: ... this.
2566         * testsuite/28_regex/11_algorithms: To...
2567         * testsuite/28_regex/algorithms: ... this.
2568         * testsuite/28_regex/12_iterators: To...
2569         * testsuite/28_regex/iterators: ... this.
2570
2571 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
2572
2573         PR libstdc++/47662
2574         * include/bits/c++config: Do not use alternative token.
2575         * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
2576
2577 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
2578
2579         * src/future.cc (future_error_category::message): Handle no_state.
2580
2581 2011-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
2582
2583         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
2584         not test in C++0x mode.
2585         * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
2586         * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
2587         in C++0x mode too.
2588
2589 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
2590
2591         * doc/xml/manual/status_cxx200x.xml: Update.
2592         * doc/html/*: Regenerate.
2593
2594 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
2595
2596         * doc/xml/manual/debug.xml: Improve data race docs.
2597
2598 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
2599
2600         PR libstdc++/47668
2601         * include/debug/map.h (map): Remove unnecessary using-declaration.
2602         * include/debug/multimap.h (multimap): Likewise.
2603         * include/profile/map.h (map): Likewise.
2604         * include/profile/multimap.h (multimap): Likewise.
2605
2606 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2607
2608         PR libstdc++/43863
2609         * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
2610         Move to ...
2611         * libsupc++/guard_error.cc: ... new file.
2612         * libsupc++/Makefile.am: Update.
2613         * libsupc++/Makefile.in: Regenerate.
2614
2615 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2616
2617         * include/std/future (packaged_task::operator bool): Rename to...
2618         (packaged_task::valid): ...this.
2619         * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
2620         * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
2621         * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
2622         * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
2623         * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
2624         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2625         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2626         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2627         * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
2628         * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
2629         * testsuite/30_threads/packaged_task/members/valid.cc: Add.
2630
2631 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
2632
2633         * doc/xml/manual/io.xml: Fix typo.
2634         * doc/html/manual/streambufs.html: Likewise.
2635
2636 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
2637
2638         * config/abi/pre/gnu.ver: Fix.
2639
2640 2011-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2641
2642         * doc/xml/manual/appendix_porting.xml: Add doc section.
2643         * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
2644         * doc/xml/manual/documentation_hacking.xml: ...here.
2645
2646         * doc/xml/manual/debug_mode.xml: Adjust.
2647         * doc/xml/manual/prerequisites.xml: Adjust.
2648         * doc/Makefile.am (xml_sources): Add dot files,
2649         documentation_hacking.xml.
2650         * doc/Makefile.in: Regenerate.
2651
2652         * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
2653         * doc/xml/images/confdeps.pdf: Add.
2654
2655         * doc/html/*: Regenerate.
2656
2657 2011-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
2658
2659         * doc/xml/gnu/fdl-1.2.xml: Remove.
2660         * doc/xml/gnu/gpl-2.0.xml: Remove.
2661         * doc/Makefile.am: Update.
2662         * doc/Makefile.in: Regenerate.
2663
2664 2011-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
2665
2666         PR libstdc++/47628
2667         * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
2668         iterator)): Add back in C++03 mode.
2669         * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
2670         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
2671
2672 2011-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2673
2674         PR libstdc++/47560 try two
2675         * config/os/hpux/os_defines.h: Guard for C++.
2676
2677 2011-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
2678
2679         * doc/xml/faq.xml: Adjust link to bug database.
2680         Remove old item on broken header files.
2681
2682 2011-02-04  Benjamin Kosnik  <bkoz@redhat.com>
2683
2684         * include/bits/regex_error.h (__throw_regex_error): Not inline.
2685         * src/functexcept.cc: Add definition.
2686         * config/abi/pre/gnu.ver: Export.
2687
2688 2011-02-04  Ralf Corsépius <ralf.corsepius@rtems.org>
2689
2690         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
2691         * configure: Regenerate.
2692
2693 2011-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
2694
2695         PR libstdc++/46914
2696         * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
2697         _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
2698         avoid name conflicts.
2699
2700 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
2701
2702         PR libstdc++/47560
2703         * config/os/hpux/os_defines.h: Remove use of macros on namespace.
2704
2705 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
2706
2707         * scripts/run_doxygen: Allow doxygen 1.7.0 again.
2708         * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
2709         (COMPACT_LATEX): Enable.
2710
2711         * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
2712         * include/profile/impl/profiler_hash_func.h: Same.
2713         * include/bits/hashtable.h: Same.
2714         * include/backward/auto_ptr.h: Same.
2715         * include/backward/strstream: Same.
2716         * include/backward/backward_warning.h: Same.
2717         * include/backward/binders.h: Same.
2718
2719 2011-02-01  Gerald Pfeifer  <gerald@pfeifer.com>
2720
2721         * doc/xml/manual/debug.xml: Use GDB instead of gdb.
2722         Adjust link to GDB manual.
2723
2724 2011-01-31  Benjamin Kosnik  <bkoz@redhat.com>
2725
2726         * include/bits/c++config (_GLIBCXX_DEPRECATED): To
2727         _GLIBCXX_USE_DEPRECATED.
2728         (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
2729         * doc/xml/manual/using.xml: Same.
2730         * include/std/memory: Same.
2731         * include/std/streambuf: Same.
2732         * include/bits/shared_ptr.h: Same.
2733         * include/bits/unique_ptr.h: Same.
2734         * include/bits/shared_ptr_base.h: Same.
2735         * include/bits/stl_function.h: Same.
2736         * include/tr1/shared_ptr.h: Same.
2737         * include/backward/auto_ptr.h: Same.
2738         * include/backward/binders.h: Same.
2739
2740 2011-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
2741
2742         * doc/html/ext/lwg-active.html: Update to Revision D73.
2743         * doc/html/ext/lwg-closed.html: Likewise.
2744         * doc/html/ext/lwg-defects.html: Likewise.
2745         * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
2746
2747 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
2748
2749         PR libstdc++/36104 part four
2750         * include/bits/c++config (_GLIBCXX_STD): Remove.
2751         (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
2752         (_GLIBCXX_P): Now _GLIBCXX_STD_A.
2753         (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
2754          _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
2755         (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
2756          _GLIBCXX_INLINE_PROFILE): Remove.
2757         (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
2758         (_GLIBCXX_END_NAMESPACE): Remove.
2759         (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
2760         (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
2761         (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
2762         (_GLIBCXX_END_NAMESPACE_ALGO): Add.
2763         (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
2764         (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
2765         (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
2766         (_GLIBCXX_END_NAMESPACE_VERSION): Add.
2767         (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
2768         (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
2769         (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
2770         * include/*: Use new macros for namespace scope.
2771         * config/*: Same.
2772         * src/*: Same.
2773
2774         * src/Makefile.am (sources): Remove debug_list.cc, add
2775         compatibility-debug_list-2.cc.
2776         (parallel_sources): Remove parallel_list.cc, add
2777         compatibility-parallel_list-2.cc.
2778         (compatibility-parallel_list-2.[o,lo]): New rule.
2779         * src/Makefile.in: Regenerate.
2780         * src/debug_list.cc: Remove.
2781         * src/parallel_list.cc: Remove.
2782         * src/compatibility-list-2.cc: New.
2783         * src/compatibility-debug_list-2.cc: New.
2784         * src/compatibility-parallel_list-2.cc: New.
2785
2786         * doc/doxygen/user.cfg.in: Adjust macros.
2787
2788         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
2789         * testsuite/20_util/declval/requirements/1_neg.cc: Same.
2790         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
2791         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
2792         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
2793         * testsuite/20_util/forward/c_neg.cc: Same.
2794         * testsuite/20_util/forward/f_neg.cc: Same.
2795         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2796         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2797         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
2798         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
2799         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
2800         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2801         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2802         * testsuite/23_containers/deque/requirements/dr438/
2803         constructor_1_neg.cc: Same.
2804         * testsuite/23_containers/deque/requirements/dr438/
2805         constructor_2_neg.cc: Same.
2806         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2807         * testsuite/23_containers/forward_list/capacity/1.cc: Same.
2808         * testsuite/23_containers/forward_list/requirements/dr438/
2809         assign_neg.cc: Same.
2810         * testsuite/23_containers/forward_list/requirements/dr438/
2811         constructor_1_neg.cc: Same.
2812         * testsuite/23_containers/forward_list/requirements/dr438/
2813         constructor_2_neg.cc: Same.
2814         * testsuite/23_containers/forward_list/requirements/dr438/
2815         insert_neg.cc: Same.
2816         * testsuite/23_containers/list/capacity/29134.cc: Same.
2817         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2818         * testsuite/23_containers/list/requirements/dr438/
2819         constructor_1_neg.cc: Same.
2820         * testsuite/23_containers/list/requirements/dr438/
2821         constructor_2_neg.cc: Same.
2822         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2823         * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
2824         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
2825         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
2826         * testsuite/23_containers/vector/requirements/dr438/
2827         constructor_1_neg.cc: Same.
2828         * testsuite/23_containers/vector/requirements/dr438/
2829         constructor_2_neg.cc: Same.
2830         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2831         * testsuite/25_algorithms/sort/35588.cc: Same.
2832         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2833         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2834         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
2835         * testsuite/ext/profile/profiler_algos.cc: Same.
2836         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
2837         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
2838         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
2839         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
2840         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
2841
2842 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
2843
2844         * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
2845         Improve description of one such reference.
2846
2847 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
2848
2849         * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
2850         Standards Revision Group.
2851         * doc/xml/manual/locale.xml: Ditto.
2852         * doc/xml/manual/messages.xml: Ditto.
2853         * doc/xml/manual/using_exceptions.xml: Ditto.
2854
2855 2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
2856
2857         * include/bits/atomic_base.h: Do not include <stddef.h>.
2858         (kill_dependency): Uglify ret.
2859
2860 2011-01-26  Johannes Singler  <singler@kit.edu>
2861
2862         * include/parallel/numeric (inner_product, partial_sum):
2863         Qualify subsequent call with __gnu_parallel instead of
2864         _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
2865         * include/parallel/algobase.h (equal): Likewise.
2866         * include/parallel/algo.h (find_first_of, search_n, merge,
2867         nth_element, partial_sort, max_element, min_element): Likewise.
2868         * testsuite/25_algorithms/headers/algorithm/
2869         parallel_algorithm_mixed1.cc (main): Add respective test cases.
2870         * testsuite/25_algorithms/headers/algorithm/
2871         parallel_algorithm_mixed2.cc (main): Likewise.
2872         * testsuite/26_numerics/headers/numeric/
2873         parallel_numeric_mixed1.cc (main): Likewise.
2874         * testsuite/26_numerics/headers/numeric/
2875         parallel_numeric_mixed2.cc (main): Likewise.
2876
2877 2011-01-24  Graham Reed  <greed@pobox.com>
2878
2879         PR libstdc++/47387
2880         * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
2881         provided.
2882
2883 2011-01-24  Johannes Singler  <singler@kit.edu>
2884
2885         PR libstdc++/47433
2886         * include/parallel/losertree.h
2887         (_LoserTree<>::__delete_min_insert):
2888         Do not qualify swap with std:: for value type,
2889         but include a using directive instead.
2890         (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
2891         * include/parallel/balanced_quicksort.h (__qsb_divide):
2892         Use std::iter_swap instead of std::swap.
2893         (__qsb_local_sort_with_helping): Likewise.
2894         * include/parallel/partition.h (__parallel_partition):
2895         Likewise. (__parallel_nth_element): Likewise.
2896
2897 2011-01-24  Johannes Singler  <singler@kit.edu>
2898
2899         PR libstdc++/47437
2900         * include/parallel/multiway_merge.h (_UnguardedIterator):
2901         Remove useless "mutable" from reference declaration.
2902
2903 2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>
2904
2905         * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
2906         * include/debug/safe_sequence.h: Same.
2907         * include/debug/safe_iterator.h: Same.
2908         * include/std/forward_list: Same.
2909         * include/std/deque: Same.
2910         * include/std/list: Same.
2911         * include/std/random: Same.
2912         * include/std/streambuf: Same.
2913         * include/std/fstream: Same.
2914         * include/std/istream: Same.
2915         * include/std/string: Same.
2916         * include/std/ostream: Same.
2917         * include/std/sstream: Same.
2918         * include/ext/vstring.h: Same.
2919         * include/bits/basic_ios.h: Same.
2920         * include/bits/locale_classes.h: Same.
2921         * include/bits/locale_facets.h: Same.
2922         * include/bits/valarray_array.h: Same.
2923         * include/bits/locale_facets_nonio.h: Same.
2924         * include/tr1/random: Same.
2925
2926 2011-01-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2927
2928         * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
2929
2930 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2931
2932         PR libstdc++/36104 part three
2933         * src/hashtable_c++0x.cc: Adjust namespace macros.
2934         * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
2935         * config/abi/pre/gnu-versioned-namespace.ver: Update.
2936
2937 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2938
2939         * include/ext/pb_ds/detail/resize_policy/
2940         hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
2941         * include/ext/pb_ds/detail/pat_trie_/
2942         constructors_destructor_fn_imps.hpp: Same.
2943         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
2944         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2945         * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
2946
2947         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
2948         iterations downward when testing in debug mode.
2949         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2950         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2951         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2952         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2953         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2954         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
2955         reduce in debug mode.
2956
2957 2011-01-19  Benjamin Kosnik  <bkoz@redhat.com>
2958
2959         PR libstdc++/36104 part two
2960         * include/bits/hashtable.h: Revert to non-nested macro usage.
2961         * include/bits/hashtable_policy.h: Same.
2962
2963 2011-01-19  Graham Reed  <greed@pobox.com>
2964
2965         PR libstdc++/47354
2966         * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
2967
2968 2011-01-18  Benjamin Kosnik  <bkoz@redhat.com>
2969
2970         * doc/xml/images/confdeps.png: Regenerate.
2971
2972         * include/std/chrono (duration): Mark copy constructor constexpr.
2973         * testsuite/20_util/duration/cons/constexpr.cc: Add test.
2974
2975 2011-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
2976
2977         * include/bits/unique_ptr.h (default_delete<>::default_delete()):
2978         Declare defaulted per DR 1517.
2979         * testsuite/util/testsuite_common_types.h
2980         (constexpr_defaulted_default_constructible): Add.
2981         * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
2982
2983 2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
2984
2985         * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
2986         Implement DR 1198.
2987         * include/bits/stl_stack.h (stack<>::swap): Likewise.
2988
2989 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
2990
2991         PR libstdc++/47323
2992         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
2993         Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
2994
2995 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
2996
2997         PR libstdc++/47320
2998         * testsuite/18_support/numeric_limits/lowest.cc:
2999         Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
3000
3001 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
3002
3003         PR libstdc++/47321
3004         * testsuite/21_strings/basic_string/requirements/typedefs.cc:
3005         Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
3006
3007 2011-01-16  François Dumont  <francois.cppdevs@free.fr>
3008
3009         * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
3010         to this. Use _neg suffix.
3011         * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
3012         this.
3013         * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
3014         Same.
3015         * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
3016         * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
3017         Same.
3018         * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
3019         * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
3020         Same.
3021         * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
3022         * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
3023         Same.
3024         * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
3025         * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
3026         Same.
3027         * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
3028         * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
3029         Same.
3030         * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
3031         * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
3032         Same.
3033         * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
3034         * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
3035         Same.
3036         * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
3037         * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
3038         Same.
3039         * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
3040         * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
3041         Same.
3042         * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
3043         * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
3044         Same.
3045         * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
3046         * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
3047         Same.
3048         * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
3049         * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
3050         Same.
3051         * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
3052         * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
3053         Same.
3054         * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
3055         * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
3056         Same.
3057         * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
3058
3059 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
3060
3061         PR libstdc++/36104
3062         * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
3063         * include/Makefile.in: Regenerate.
3064         * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
3065         (install-stdHEADERS, install-bitsHEADERS): New.
3066         * libsupc++/Makefile.in: Regenerate.
3067
3068         * include/bits/c++config: Update for inline namespaces.
3069         * libsupc++/cxxabi-forced.h: To...
3070         * libsupc++/cxxabi_forced.h: ...this.
3071         * libsupc++/hash_bytes.h: Separate file.
3072         * libsupc++/typeinfo: Use it.
3073         * libsupc++/exception: Adjust for bits subdirectory.
3074         * libsupc++/eh_aux_runtime.cc: Same.
3075         * libsupc++/eh_ptr.cc: Same.
3076         * libsupc++/new_op.cc: Same.
3077         * libsupc++/exception_defines.h: Same.
3078         * libsupc++/nested_exception.h: Same.
3079         * libsupc++/eh_terminate.cc: Same.
3080         * libsupc++/vec.cc: Same.
3081         * libsupc++/vterminate.cc: Same.
3082         * libsupc++/exception_ptr.h: Same.
3083         * libsupc++/eh_personality.cc: Same.
3084         * libsupc++/eh_call.cc: Same.
3085         * libsupc++/new_opnt.cc: Same.
3086         * libsupc++/hash_bytes.cc: Same.
3087         * config/cpu/arm/cxxabi_tweaks.h: Same.
3088         * config/cpu/generic/cxxabi_tweaks.h: Same.
3089         * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
3090         * include/std/bitset: Same.
3091         * include/ext/vstring.tcc: Same.
3092         * include/bits/hashtable.h: Same.
3093         * include/bits/functional_hash.h: Same.
3094         * include/bits/hashtable_policy.h: Same.
3095         * include/bits/basic_string.h: Same.
3096         * include/bits/istream.tcc: Same.
3097         * include/bits/ostream.tcc: Same.
3098         * include/bits/algorithmfwd.h: Same.
3099         * include/bits/basic_string.tcc: Same.
3100         * include/bits/ostream_insert.h: Same.
3101         * include/bits/fstream.tcc: Same.
3102         * include/bits/functexcept.h: Same.
3103
3104         * doc/doxygen/user.cfg.in: Adjust names.
3105
3106         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
3107
3108 2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
3109
3110         * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
3111         tweaks.
3112         * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
3113
3114 2011-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
3115
3116         * testsuite/25_algorithms/is_permutation/check_type.cc: New.
3117         * testsuite/25_algorithms/is_permutation/requirements/
3118         explicit_instantiation/2.cc: Likewise.
3119         * testsuite/25_algorithms/is_permutation/requirements/
3120         explicit_instantiation/pod.cc: Likewise.
3121         * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
3122
3123 2011-01-13  John Lakos  <jlakos@bloomberg.net>
3124             Pablo Halpern  <phalpern@halpernwightsoftware.com>
3125             Paolo Carlini  <paolo.carlini@oracle.com>
3126
3127         * include/bits/stl_algo.h (is_permutation): Add, per N3068.
3128         * include/bits/algorithmfwd.h: Add.
3129
3130 2011-01-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
3131
3132         PR libstdc++/47045
3133         * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
3134
3135 2011-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
3136
3137         * aclocal.m4: Regenerate.
3138
3139 2011-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
3140
3141         PR libstdc++/47185
3142         * src/placeholders.cc: New.
3143         * src/Makefile.am: Adjust.
3144         * src/Makefile.in: Regenerate.
3145         * include/std/functional (placeholders::_1, _2, ..., _29): Declare
3146         extern.
3147         * config/abi/pre/gnu.ver: Export.
3148
3149 2011-01-05  François Dumont  <francois.cppdevs@free.fr>
3150
3151         * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
3152         * include/src/debug.cc: Use latter
3153         * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
3154         correctly handle before_begin iterators.
3155         * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
3156         useless _GLIBCXX_DEBUG checks.
3157
3158 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
3159
3160         PR libstdc++/47145
3161         * configure.ac (AC_CHECK_FILE): Replaced by test -f.
3162         * configure: Regenerated.
3163
3164 2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
3165
3166         PR libstdc++/46922
3167         * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
3168
3169 \f
3170 Copyright (C) 2011 Free Software Foundation, Inc.
3171
3172 Copying and distribution of this file, with or without modification,
3173 are permitted in any medium without royalty provided the copyright
3174 notice and this notice are preserved.