OSDN Git Service

PR c++/48322
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2011-11-20  Jason Merrill  <jason@redhat.com>
2
3         PR c++/48322
4         * include/std/tuple (tuple(_UElements&&...)): Fix SFINAE.
5
6         * testsuite/20_util/bind/ref_neg.cc: Adjust error markings.
7
8 2011-11-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
9
10         * include/backward/binders.h: Fix examples in doxygen comments and
11         suggest using std::bind instead.
12
13 2011-11-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
14
15         * doc/xml/manual/status_cxx2011.xml: Fix docbook markup.
16
17 2011-11-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
18
19         * doc/xml/manual/appendix_contributing.xml: Do not use "here" as link
20         text.
21         * doc/xml/faq.xml: Likewise. Do not request standard library issues
22         to be reported to the libstdc++ mailing list.
23         * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
24         behaviour.
25         * doc/xml/manual/status_cxxtr1.xml: Likewise.
26         * doc/xml/manual/utilities.xml: Fix grammar, probably caused by a
27         global search and replace of "part" by "chapter".
28         * doc/xml/manual/shared_ptr.xml: Remove outdated information.
29         * doc/xml/manual/messages.xml: Be more specific about systems where
30         using 'int' for catalog handle is not a problem, mention LWG issue.
31
32 2011-11-19  Paolo Carlini  <paolo.carlini@oracle.com>
33
34         * include/debug/bitset (operator[](size_t) const): Declare constexpr.
35         * include/profile/bitset: Likewise.
36         * testsuite/23_containers/bitset/operations/constexpr.cc: Split out
37         non portable bits to...
38         * testsuite/23_containers/bitset/operations/constexpr-2.cc: ... here.
39
40 2011-11-18  Harti Brandt  <hartmut.brandt@dlr.de>
41
42         PR libstdc++/51209
43         * include/bits/hashtable.h (_Hashtable<>::_M_find_node): Return
44         nullptr when no node is found.
45         * include/tr1/hashtable.h (_Hashtable<>::_M_find_node): Return
46         zero when no node is found.
47
48 2011-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
49
50         * src/hash-long-double-aux.cc: Rename to...
51         * src/hash-long-double-tr1-aux.cc: ... this.
52         * src/compatibility-ldbl.cc: Adjust.
53         * src/hash_tr1.cc: Likewise.
54         * src/hash_c++0x.cc: Don't use src/hash-long-double-aux.cc.
55         * include/bits/functional_hash.h (hash<_Tp*>::operator(), specs
56         for integer types, hash<float>::operator(), hash<double>::operator(),
57         hash<long double>::operator()): Declare noexcept.
58         * include/debug/bitset (hash<__debug::bitset>::operator()): Likewise.
59         * include/debug/vector (hash<__debug::vector>::operator()): Likewise.
60         * include/std/system_error (hash<error_code>::operator()): Likewise.
61         * include/std/thread (hash<thread::id>::operator()): Likewise.
62         * include/std/bitset (hash<bitset>::operator()): Likewise.
63         * include/std/typeindex (hash<type_index>::operator()): Likewise.
64         * include/profile/bitset (hash<__profile::vector>::operator()):
65         Likewise.
66         * include/profile/vector (hash<__profile::vector>::operator()):
67         Likewise.
68         * include/ext/vstring.h (hash<__vstring>::operator(),
69         hash<__wvstring>::operator(), hash<__u16vstring>::operator(),
70         hash<__u32vstring>::operator()): Likewise.
71         * include/bits/shared_ptr.h (hash<shared_ptr>::operator()): Likewise.
72         * include/bits/shared_ptr_base.h (hash<__shared_ptr>::operator()):
73         Likewise.
74         * include/bits/unique_ptr.h (hash<unique_ptr>::operator()): Likewise.
75         * include/bits/basic_string.h (hash<string>::operator(),
76         hash<wstring>::operator(), hash<u16string>::operator(),
77         hash<u32string>::operator()): Likewise.
78         * include/bits/vector.tcc (hash<vector>::operator()): Likewise.
79         * include/bits/stl_bvector.h (hash<vector>::operator()): Likewise.
80         * libsupc++/typeinfo (type_info::hash_code): Use noexcept instead of
81         throw().
82
83 2011-11-17  Richard Henderson  <rth@redhat.com>
84
85         PR libstdc++/51181
86         * libsupc++/eh_tm.cc (free_any_cxa_exception): Protect the use
87         of __sync_sub_and_fetch with _GLIBCXX_ATOMIC_BUILTINS_4.
88
89 2011-11-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
90
91         * testsuite/30_threads/thread/native_handle/typesizes.cc: Do not run
92         on darwin.
93
94 2011-11-17  Jason Merrill  <jason@redhat.com>
95
96         * testsuite/21_strings/basic_string/cons/char/moveable2.cc
97         (tstring): Add defaulted move assignment.
98         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc
99         (tstring): Add defaulted move assignment.
100         * testsuite/util/testsuite_tr1.h (NoexceptMoveConsClass): Add
101         defaulted move assignment operator.
102         (NoexceptMoveAssignClass): Add defaulted move constructor.
103
104 2011-11-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
105
106         * doc/xml/manual/status_cxx2011.xml: Status of piecewise construction
107         and ios_base::failure.
108         * doc/xml/manual/backwards_compatibility.xml: List headers in
109         alphabetical order.
110
111 2011-11-16  Andrew MacLeod  <amacleod@redhat.com>
112
113         PR libstdc++/51102
114         * include/bits/atomic_base.h (ATOMIC_BOOL_LOCK_FREE,
115         ATOMIC_POINTER_LOCK_FREE): New. Add missing macros.
116
117 2011-11-15  Paolo Carlini  <paolo.carlini@oracle.com>
118
119         PR libstdc++/51142
120         * include/debug/unordered_map (unordered_map<>::erase(iterator),
121         unordered_multimap<>::erase(iterator)): Add, consistently with
122         LWG 2059.
123         * include/debug/unordered_set (unordered_set<>::erase(iterator),
124         unordered_multiset<>::erase(iterator)): Likewise.
125         * include/debug/map.h (map<>::erase(iterator)): Likewise.
126         * include/debug/multimap.h (multimap<>::erase(iterator)): Likewise.
127         * include/profile/map.h (map<>::erase(iterator)): Likewise.
128         * include/profile/multimap.h (multimap<>::erase(iterator)): Likewise.
129         * include/bits/hashtable.h (_Hashtable<>::erase(iterator)): Likewise.
130         * include/bits/stl_map.h (map<>::erase(iterator)): Likewise.
131         * include/bits/stl_multimap.h (multimap<>::erase(iterator)): Likewise.
132         * include/bits/stl_tree.h (_Rb_tree<>::erase(iterator)): Likewise.
133         * testsuite/23_containers/unordered_map/erase/51142.cc: New.
134         * testsuite/23_containers/multimap/modifiers/erase/51142.cc: Likewise.
135         * testsuite/23_containers/set/modifiers/erase/51142.cc: Likewise.
136         * testsuite/23_containers/unordered_multimap/erase/51142.cc: Likewise.
137         * testsuite/23_containers/unordered_set/erase/51142.cc: Likewise.
138         * testsuite/23_containers/multiset/modifiers/erase/51142.cc: Likewise.
139         * testsuite/23_containers/unordered_multiset/erase/51142.cc: Likewise.
140         * testsuite/23_containers/map/modifiers/erase/51142.cc: Likewise.
141
142 2011-11-15  Jason Dick  <dickphd@gmail.com>
143
144         PR libstdc++/51133
145         * include/tr1/poly_hermite.tcc (__poly_hermite_recursion): Fix
146         wrong sign in recursion relation.
147
148 2011-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
149
150         * include/c_global/cmath (frexp, modf, remquo): Do not mark constexpr,
151         not viable anyway due to the pointer parameter.
152
153 2011-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
154
155         * include/c_global/cmath (atan2, fmod, pow, copysign, fdim,
156         fma, fmax, fmin, hypot, nextafter, remainder, remquo): Simplify
157         constraining on the return type.
158         * include/tr1/cmath (copysign, fdim, fma, fmax, fmin, hypot,
159         nextafter, remainder, remquo): Likewise.
160
161 2011-11-13  Gerald Pfeifer  <gerald@pfeifer.com>
162
163         * using.xml: Use GNU/Linux.
164
165 2011-11-12  Jason Merrill  <jason@redhat.com>
166
167         PR c++/51060
168         * testsuite/25_algorithms/max/1.cc (test01): Drop references.
169         * testsuite/25_algorithms/min/1.cc (test01): Drop references.
170         * testsuite/25_algorithms/minmax/1.cc (test01): Drop references.
171
172 2011-11-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
173
174         PR libstdc++/51083
175         * include/ext/type_traits.h (__promote): Only define __type member
176         for integral and floating point types, to prevent math functions
177         participating in overload resolution for other types.
178         (__promote_2, __promote_3, __promote_4): Use __promote in default
179         template argument values, so deduction only succeeds for integral and
180         floating point types.
181         * testsuite/26_numerics/cmath/51083.cc: New.
182         * testsuite/26_numerics/complex/51083.cc: New.
183         * testsuite/tr1/8_c_compatibility/cmath/51083.cc: New.
184         * testsuite/tr1/8_c_compatibility/complex/51083.cc: New.
185
186 2011-11-10  Andrew MacLeod  <amacleod@redhat.com>
187
188         PR middle-end/51038
189         * include/bits/atomic_base.h (atomic_thread_fence): Call built-in.
190         (atomic_signal_fence): Call built-in.
191         (test_and_set, clear): Call new atomic built-ins.
192
193 2011-11-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
194
195         * include/bits/allocator.h (__shrink_to_fit_aux::_S_do_it): Create
196         the new object with the same allocator.
197         * testsuite/23_containers/vector/capacity/shrink_to_fit2.cc: New.
198
199 2011-11-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
200
201         * include/profile/unordered_map: Add missing copy constructors.
202         * include/profile/unordered_set: Likewise.
203
204 2011-11-09  Dodji Seketeli  <dodji@redhat.com>
205
206         PR c++/51027
207         * include/ext/pointer.h (rebind): Append missing ';'.
208
209 2011-11-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
210
211         * include/bits/stl_vector.h (vector::_Alloc_traits): Make private.
212         * include/debug/vector: Add allocator-extended constructors, ensure
213         move assignment and swap have same allocator propagation semantics
214         and exceptions specification as base class.
215         * include/profile/vector: Likewise.
216         (vector::push_back(_Tp&&)): Forward argument as rvalue.
217         * testsuite/23_containers/vector/debug/alloc_prop.cc: New.
218         * doc/xml/manual/status_cxx2011.xml: Clarify status of container
219         requirements with respect to allocators.
220         (status.iso.200x): Add anchor for old ID to preserve existing links.
221
222 2011-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
223
224         * include/bits/shared_ptr_base.h (_Sp_counted_ptr): Make 'final'.
225         (_Sp_counted_deleter): Make 'final'. Use allocator_traits.
226         (_Sp_counted_ptr_inplace): Make 'final'. Use allocator_traits.
227         Derive from _Sp_counted_ptr instead of _Sp_counted_deleter to use EBO
228         for the allocator.
229         (__shared_count, __shared_ptr): Use allocator_traits.
230         * include/std/future (__future_base::_Result_alloc): Make 'final'. Use
231         allocator traits.
232         (__future_base::_Task_state): Make 'final'.
233         (__future_base::_Deferred_state): Likewise.
234         (__future_base::_Async_state): Likewise.
235         * testsuite/20_util/shared_ptr/cons/alloc_min.cc: New.
236         * testsuite/20_util/shared_ptr/creation/alloc_min.cc: New.
237         * testsuite/20_util/shared_ptr/creation/private.cc: New.
238         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
239         * testsuite/30_threads/packaged_task/cons/alloc_min.cc: New.
240         * testsuite/30_threads/promise/cons/alloc_min.cc: New.
241
242 2011-11-08  Paolo Carlini  <paolo.carlini@oracle.com>
243
244         * acinclude.m4 ([GLIBCXX_ENABLE_VISIBILITY]): Rename to
245         [GLIBCXX_ENABLE_LIBSTDCXX_VISIBILITY], likewise for the
246         option itself, to --enable-libstdcxx-visibility.
247         * configure.ac: Adjust call.
248         * doc/xml/manual/configure.xml: Update.
249         * configure: Regenerate.
250
251 2011-11-08  Paolo Carlini  <paolo.carlini@oracle.com>
252
253         * testsuite/29_atomics/headers/atomic/macros.cc: Avoid -Wall
254         warnings.
255         * testsuite/29_atomics/atomic/cons/user_pod.cc: Likewise.
256
257 2011-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
258
259         PR libstdc++/51018
260         * testsuite/30_threads/thread/native_handle/typesizes.cc: Do not run
261         on netbsd.
262
263 2011-11-07  Aldy Hernandez  <aldyh@redhat.com>
264             Richard Henderson  <rth@redhat.com>
265
266         Merged from transactional-memory.
267
268         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_TM_1.
269         * libsupc++/eh_tm.cc: New file.
270         * libsupc++/unwind-cxx.h (__cxa_tm_cleanup): Declare.
271         * config/abi/pre/gnu.ver: Export __cxa_tm_cleanup.
272         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
273         * libsupc++/Makefile.am (sources): Add eh_tm.cc.
274         * libsupc++/Makefile.in: Rebuild.
275
276 2011-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
277
278         PR libstdc++/51018
279         * include/profile/impl/profiler_node.h (__stack_hash::
280         operator()(__stack_t)): Just use std::size_t everywhere.
281
282 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
283
284         * include/std/future (__future_base::_Ptr): Use alias-declaration.
285         (__is_same_pkgdtask): Rename to __constrain_pkgdtask and use decay
286         instead of remove_reference so that cv-quals are removed.
287
288 2011-11-07  Ed Smith-Rowland  <3dw4rd@verizon.net>
289
290         * include/precompiled/stdc++.h: Add cstdalign.
291
292 2011-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
293
294         * include/std/complex (complex<>::real(), complex<>::imag()):
295         Remove redundant const qualifiers.
296
297 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
298
299         * include/bits/ptr_traits.h (__rebind): Replace with...
300         (rebind): Implement using alias-declaration.
301         * include/ext/pointer.h (__rebind): Replace with...
302         (rebind): Implement using alias-declaration.
303         * include/bits/alloc_traits.h (__rebind_alloc, __rebind_traits):
304         Replace with...
305         (rebind_alloc, rebind_traits): Implement using alias-declaration.
306         * include/ext/alloc_traits.h (rebind): Use rebind_alloc instead of
307         __rebind_alloc.
308         * include/std/scoped_allocator (rebind): Likewise.
309
310 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
311
312         * include/std/mutex (call_once): Store closure in __once_functor
313         as bound function wrapper might not be copyable.
314
315 2011-11-07  Andrew MacLeod  <amacleod@redhat.com>
316
317         * include/bits/atomic_base.h (atomic_thread_fence): Revert.
318         (atomic_signal_fence): Revert.
319
320 2011-11-07  Andrew MacLeod  <amacleod@redhat.com>
321
322         * include/bits/atomic_base.h (atomic_thread_fence): Call builtin.
323         (atomic_signal_fence): Call builtin.
324         (atomic_flag::test_and_set): Call __atomic_exchange when it is lockfree,
325         otherwise fall back to call __sync_lock_test_and_set.
326         (atomic_flag::clear): Call __atomic_store when it is lockfree,
327         otherwise fall back to call __sync_lock_release.
328
329 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
330
331         PR bootstrap/50982
332         * include/Makefile.am (${host_builddir}/gthr-posix.h): Reflect
333         gthr-posix.h move.
334         * include/Makefile.in: Regenerate.
335
336 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
337
338         * acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define.
339         (GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP): Define.
340         (GLIBCXX_CHECK_SYSCTL_HW_NCPU): Define.
341         * configure.ac: Use new checks.
342         * configure: Regenerate.
343         * config.h.in: Regenerate.
344         * src/thread.cc: Check new config macros.
345         * testsuite/lib/libstdc++.exp: Likewise.
346
347 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
348
349         * config/abi/pre/gnu.ver: Fix exports for string::pop_back.
350
351 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
352
353         * acinclude.m4: Check for <stdalign.h>
354         * configure: Regenerate.
355         * config.h.in: Likewise.
356         * include/Makefile.am: Add <cstdalign>.
357         * include/Makefile.in: Regenerate.
358         * include/c_global/cstdalign: New.
359         * testsuite/18_support/headers/cstdalign/std_c++0x_neg.cc: New.
360         * doc/xml/manual/backwards_compatibility.xml: Update.
361         * doc/xml/manual/status_cxx2011.xml: Update.
362
363 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
364
365         PR libstdc++/50982
366         * include/std/mutex (__once_proxy): Use void parameter list to
367         work on implicit extern "C" systems.
368
369 2011-11-07  Xinliang David Li  <davidxl@google.com>
370
371         * include/backward/hashtable.h: Make __stl_prime_list
372         in comdat section.
373
374 2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
375
376         * include/bits/basic_string.h (basic_string::at): Move adjacent to other
377         overload.
378         (basic_string::pop_back): Define.
379         * include/debug/string (__gnu_debug::basic_string::pop_back): Likewise.
380         * include/ext/vstring.h (__versa_string::pop_back): Likewise.
381         * config/abi/pre/gnu.ver: Add new symbols.
382         * testsuite/21_strings/basic_string/modifiers/char/pop_back.cc: New.
383         * testsuite/21_strings/basic_string/modifiers/wchar_t/pop_back.cc: New.
384         * testsuite/21_strings/basic_string/range_access.cc: Split to ...
385         * testsuite/21_strings/basic_string/range_access/char/1.cc: Here and ...
386         * testsuite/21_strings/basic_string/range_access/wchar_t/1.cc: Here.
387         * testsuite/ext/vstring/modifiers/char/pop_back.cc: New.
388         * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: New.
389
390 2011-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
391
392         * doc/xml/manual/backwards_compatibility.xml: Fix autoconf tests for
393         C++11 compiler features and library headers. Add stable id
394         attributes. Use <filename> element for headers and surround in angle
395         brackets. Use <classname> for classes.
396         * doc/html/*: Regenerate.
397
398 2011-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
399
400         * doc/xml/manual/status_cxx2011.xml: Document <cuchar> and
401         <cstdalign> as missing.
402
403 2011-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
404
405         * doc/xml/faq.xml: Replace references to C++0x with C++11.
406         * doc/xml/manual/intro.xml: Likewise.
407         * doc/xml/manual/backwards_compatibility.xml: Likewise.
408         * doc/xml/manual/shared_ptr.xml: Likewise.
409         * doc/xml/manual/configure.xml: Likewise.
410         * doc/xml/manual/evolution.xml: Likewise.
411         * doc/xml/manual/using.xml: Likewise.
412         * doc/xml/manual/strings.xml: Likewise.
413         * doc/xml/manual/debug_mode.xml: Likewise.
414         * doc/xml/manual/policy_data_structures.xml: Likewise.
415         * doc/xml/manual/extensions.xml: Likewise.
416         * doc/xml/manual/diagnostics.xml: Likewise.
417         * doc/xml/manual/test.xml: Likewise.
418         * doc/xml/manual/status_cxx200x.xml: Likewise, and rename to...
419         * doc/xml/manual/status_cxx2011.xml: Here.
420         * doc/Makefile.am: Rename status_cxx200x.xml.
421         * doc/Makefile.in: Regenerate.
422         * doc/html/*: Regenerate.
423
424 2011-11-06  François Dumont <fdumont@gcc.gnu.org>
425
426         * testsuite/performance/23_containers/insert_erase/41975.cc: Add
427         tests to check performance with or without cache of hash code and with
428         string type that has a costlier hash functor than int type.
429
430 2011-11-06  Benjamin Kosnik  <bkoz@redhat.com>
431             Andrew MacLeod  <amacleod@redhat.com>
432
433         Merged from cxx-mem-model.
434
435         * include/Makefile.am (bits_headers): Remove atomic_0.h, atomic_2.h.
436         * include/Makefile.in: Regenerate.
437         * src/Makefile.am (sources): Rename atomic.cc to
438         compatibility-atomic-c++0x.cc.
439         * src/Makefile.in: Regenerate.
440         * include/bits/atomic_0.h: Remove.
441         * include/bits/atomic_2.h: Incorporate into...
442         * include/bits/atomic_base.h: ...this.  Use new __atomic routines.
443         * include/std/atomic: Add generic atomic calls to basic atomic class.
444         * src/atomic.cc: Move...
445         * src/compatibility-atomic-c++0x.cc: ...here.
446         * src/compatibility-c++0x.cc: Tweak.
447         * testsuite/29_atomics/atomic/cons/user_pod.cc: Fix.
448         * testsuite/29_atomics/atomic/requirements/explicit_instantiation/1.cc:
449           Same.
450         * testsuite/29_atomics/headers/atomic/macros.cc: Same.
451
452 2011-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
453
454         * doc/xml/manual/test.xml: Fix dg-warning examples.
455
456 2011-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
457
458         PR libstdc++/44436
459         * doc/xml/manual/status_cxx200x.xml: Document emplace members are
460         missing.
461
462 2011-11-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
463
464         PR libstdc++/49894
465         PR bootstrap/50982
466         * include/std/mutex (once_flag): Use NSDMI.
467
468 2011-11-04  Benjamin Kosnik  <bkoz@redhat.com>
469
470         * scripts/run_doxygen: Fix sed quoting.
471
472 2011-11-03  Benjamin Kosnik  <bkoz@redhat.com>
473
474         * doc/doxygen/doxygroups.cc: Add markup for namespace tr2.
475         * include/tr2/bool_set: Adjust doxygen markup.
476         * include/tr2/dynamic_bitset: Same.
477         * include/tr2/type_traits: Same.
478
479 2011-11-03  Benjamin Kosnik  <bkoz@redhat.com>
480
481         * doc/html/*: Regenerate.
482
483 2011-11-02  Richard B. Kreckel  <kreckel@ginac.de>
484             Paolo Carlini  <paolo.carlini@oracle.com>
485
486         PR libstdc++/50880
487         * include/std/complex (__complex_acosh): Fix in a better way,
488         use Kahan's formula.
489         * include/tr1/complex (__complex_acosh): Likewise.
490
491 2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
492
493         PR libstdc++/50951
494         * include/bits/random.tcc (operator<<(basic_ostream<>&,
495         const mersenne_twister_engine<>&): Output _M_p too.
496         (operator<<(basic_ostream<>&, const
497         subtract_with_carry_engine<>&): Likewise.
498         (operator>>(basic_istream<>&, mersenne_twister_engine<>&):
499         Reload it.
500         (operator>>(basic_istream<>&, subtract_with_carry_engine<>&):
501         Likewise.
502         * include/bits/random.h (mersenne_twister_engine<>::operator==):
503         Compare _M_p too.
504         (subtract_with_carry_engine<>::operator==): Compare _M_carry
505         and _M_p too.
506         (shuffle_order_engine<>::operator==): Compare _M_v(s) and _M_y too.
507         * testsuite/26_numerics/random/independent_bits_engine/
508         operators/serialize.cc: Extend.
509         * testsuite/26_numerics/random/subtract_with_carry_engine/
510         operators/serialize.cc: Likewise.
511         * testsuite/26_numerics/random/discard_block_engine/
512         operators/serialize.cc: Likewise.
513         * testsuite/26_numerics/random/mersenne_twister_engine/
514         operators/serialize.cc: Likewise.
515         * testsuite/26_numerics/random/linear_congruential_engine/
516         operators/serialize.cc: Likewise.
517         * testsuite/26_numerics/random/shuffle_order_engine/
518         operators/serialize.cc: Likewise.
519
520 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
521
522         * acinclude.m4 (GLIBCXX_CONFIGURE): Determine and substitute
523         toplevel_builddir.
524         (GLIBCXX_ENABLE_THREADS): Remove glibcxx_thread_h,
525         HAVE_GTHR_DEFAULT, enable_thread.
526         (GLIBCXX_CHECK_GTHREADS): Reflect gthr move to libgcc.
527         * include/Makefile.am (thread_host_headers): Remove
528         ${host_builddir}/gthr-tpf.h.
529         (${host_builddir}/gthr.h): Reflect gthr move to libgcc.
530         Use $<.
531         (${host_builddir}/gthr-single.h): Likewise.
532         (${host_builddir}/gthr-posix.h): Likewise.
533         (${host_builddir}/gthr-tpf.h): Remove.
534         (${host_builddir}/gthr-default.h): Likewise.
535         * configure, config.h.in: Regenerate.
536         * Makefile.in, doc/Makefile.in, include/Makefile.in,
537         libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
538         src/Makefile.intestsuite/Makefile.in: Regenerate.
539
540 2011-11-02  Benjamin Kosnik  <bkoz@redhat.com>
541
542         * include/bits/c++config: Add tr2 to versioned namespaces.
543         * scripts/run_doxygen: Adjust generated man files as well.
544         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
545
546 2011-11-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
547
548         * include/std/future (promise): Add constructors for uses-allocator
549         construction from rvalue promise.
550         (packaged_task): Implement LWG 2067. Add additional constructors for
551         uses-allocator construction.
552         * testsuite/30_threads/packaged_task/cons/3.cc: New.
553         * testsuite/30_threads/packaged_task/cons/alloc2.cc: New.
554         * testsuite/30_threads/promise/cons/alloc2.cc: New.
555
556 2011-10-31  Jason Merrill  <jason@redhat.com>
557
558         * include/Makefile.am (install-freestanding-headers): Install
559         c++0x_warning.h.
560         * libsupc++/initializer_list: Include it.
561
562 2011-10-31  Gerald Pfeifer  <gerald@pfeifer.com>
563
564         * acinclude.m4 (GLIBCXX_CONFIGURE): Refer to GNU/Linux.
565         * configure: Regenerate.
566
567 2011-10-31  Jason Merrill  <jason@redhat.com>
568
569         PR c++/50920
570         * include/bits/c++0x_warning.h: Change -std=c++0x to -std=c++11.
571
572 2011-10-30  Gerald Pfeifer  <gerald@pfeifer.com>
573
574         * prerequisites.xml: Refer to GCC (instead of gcc) and GNU/Linux.
575         Remove an obsolete reference to a Red Hat release we do not
576         support any longer.
577         Refer to Debian GNU/Linux.
578
579 2011-10-30  Gerald Pfeifer  <gerald@pfeifer.com>
580
581         * faq.xml (Who's in charge of it?): Refer to the Linux kernel
582         instead of just Linux.
583         (How do I install libstdc++?): Refer to GNU/Linux instead of
584         just Linux.
585
586 2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
587
588         * testsuite/30_threads/condition_variable_any/50862.cc: Trivial
589         formatting fixes.
590
591 2011-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
592
593         * testsuite/23_containers/unordered_map/operations/count.cc: New.
594         * testsuite/23_containers/multimap/operations/count.cc: Likewise.
595         * testsuite/23_containers/set/operations/count.cc: Likewise.
596         * testsuite/23_containers/unordered_multimap/operations/count.cc:
597         Likewise.
598         * testsuite/23_containers/unordered_set/operations/count.cc: Likewise.
599         * testsuite/23_containers/multiset/operations/count.cc: Likewise.
600         * testsuite/23_containers/unordered_multiset/operations/count.cc:
601         Likewise.
602         * testsuite/23_containers/map/operations/count.cc: Likewise.
603
604 2011-10-28  Richard B. Kreckel  <kreckel@ginac.de>
605
606         * include/std/complex (__complex_acosh): Just use '< _Tp()'.
607         * include/tr1/complex (__complex_acosh): Likewise.
608
609 2011-10-27  Richard B. Kreckel  <kreckel@ginac.de>
610             Paolo Carlini  <paolo.carlini@oracle.com>
611
612         PR libstdc++/50880
613         * include/std/complex (__complex_acosh): Fix for __z.real() < 0.
614         * include/tr1/complex (__complex_acosh): Likewise.
615         * testsuite/26_numerics/complex/50880.cc: New.
616         * testsuite/tr1/8_c_compatibility/complex/50880.cc: Likewise.
617
618 2011-10-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
619
620         PR libstdc++/50862
621         * include/std/condition_variable (condition_variable_any::wait): Avoid
622         terminating if relocking user mutex throws during stack-unwinding.
623         * testsuite/30_threads/condition_variable_any/50862.cc: Add dg-require.
624
625 2011-10-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
626
627         * include/std/condition_variable (condition_variable_any): Remove
628         unused native_handle_type typedef.
629         * src/condition_variable.cc (condition_variable): Add missing noexcept
630         specifications.
631         * testsuite/30_threads/condition_variable_any/requirements/
632         typedefs.cc: Remove.
633
634 2011-10-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
635
636         PR libstdc++/50862
637         * include/std/condition_variable (condition_variable_any::wait): Fix
638         deadlock and ensure _Lock::lock() is called on exit.
639         (condition_variable_any::native_handle): Remove, as per LWG 1500.
640         * testsuite/30_threads/condition_variable_any/50862.cc: New.
641
642 2011-10-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
643
644         PR libstdc++/49894
645         * include/std/mutex (__mutex_base,__recursive_mutex_base): Define new
646         base classes to manage construction/destruction of native mutexes,
647         using NSDMI when INIT macros are defined.
648         (mutex,recursive_mutex,timed_mutex,recursive_timed_mutex): Derive from
649         new base classes.
650         * include/std/condition_variable (condition_variable): Use NSDMI when
651         INIT macro is defined. Use noexcept.
652         * src/condition_variable.cc (condition_variable): Explicitly-default
653         constructor/destructor when using NSDMI. Use noexcept.
654         (condition_variable_any): Likewise.
655
656 2011-10-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
657
658         * testsuite/30_threads/async/49668.cc: Add missing dg-require.
659         * testsuite/30_threads/packaged_task/49668.cc: Likewise.
660
661 2011-10-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
662
663         PR libstdc++/50834
664         * doc/xml/manual/using.xml: Update thread safety docs w.r.t. C++11.
665
666 2011-10-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
667
668         PR libstdc++/50196
669         * acinclude.m4 (GLIBCXX_HAS_GTHREADS): Don't depend on _POSIX_TIMEOUTS.
670         * configure: Regenerate.
671         * include/std/mutex (timed_mutex, recursive_timed_mutex): Define
672         conditionally on GTHREADS_HAS_MUTEX_TIMEDLOCK.
673         * testsuite/lib/libstdc++.exp (check_v3_target_gthreads_timed): Define.
674         * testsuite/lib/dg-options.exp (dg-require-gthreads-timed): Define.
675         * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
676         Use dg-require-gthreads-timed instead of dg-require-gthreads.
677         * testsuite/30_threads/recursive_timed_mutex/native_handle/
678         typesizes.cc: Likewise.
679         * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
680         Likewise.
681         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
682         Likewise.
683         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
684         Likewise.
685         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
686         Likewise.
687         * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
688         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
689         Likewise.
690         * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
691         Likewise.
692         * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
693         * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
694         * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
695         * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
696         * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
697         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
698         Likewise.
699         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
700         Likewise.
701         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
702         Likewise.
703         * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
704         * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
705         Likewise.
706         * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
707         * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
708         * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
709         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
710         * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
711         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
712         * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc:
713         Likewise.
714         * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
715         * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
716         * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
717         * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
718         * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
719         * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
720         * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
721         * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
722         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
723         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
724         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
725         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
726
727 2011-10-19  Ed Smith-Rowland  <3dw4rd@verizon.net>
728
729         * include/tr2/bool_set (bool_set): New.
730         * include/tr2/bool_set.tcc: New.
731         * include/tr2/dynamic_bitset (dynamic_bitset): New.
732         * include/tr2/ratio (kibi, mebi, gibi, tebi, pebi, exbi): New.
733         * include/Makefile.am: Add files.
734         * include/Makefile.in: Regenerate.
735
736 2011-10-19  Benjamin Kosnik  <bkoz@redhat.com>
737
738         * doc/doxygen/user.cfg.in: Add tr2 files.
739         * testsuite/tr2/headers/all.cc: New.
740         * testsuite/tr2/headers/using_namespace_std_tr2.cc: New.
741
742         * include/tr2/type_traits: Tweak.
743
744 2011-10-18  Jason Merrill  <jason@redhat.com>
745
746         PR c++/50500
747         * include/bits/shared_ptr.h: Default copy ctor and assignment.
748         * testsuite/util/testsuite_allocator.h: Define copy assignment.
749         * testsuite/util/testsuite_rvalref.h: Default copy assignment.
750         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove note tags.
751
752 2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
753
754         * include/tr2/type_traits (bases, direct_bases, typelist): New.
755
756 2011-10-17  Benjamin Kosnik  <bkoz@redhat.com>
757
758         * libstdc++-v3/include/Makefile.am: Add tr2 directory and includes.
759         * libstdc++-v3/include/Makefile.in: Regenerate.
760
761         * scripts/create_testsuite_files: Search tr2 directory.
762         * testsuite/libstdc++-dg/conformance.exp: Same.
763
764         * testsuite/tr2/bases/requirements/explicit_instantiation.cc: New.
765         * testsuite/tr2/bases/requirements/typedefs.cc: New.
766         * testsuite/tr2/bases/value.cc: New.
767         * testsuite/tr2/direct_bases/requirements/
768         explicit_instantiation.cc: New.
769         * testsuite/tr2/direct_bases/requirements/typedefs.cc: New.
770         * testsuite/tr2/direct_bases/value.cc: New.
771
772 2011-10-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
773
774         PR bootstrap/50715
775         * config/abi/pre/gnu.ver (CXXABI_1.3.6): Remove duplicate
776         __cxa_get_exception_ptr.
777
778 2011-10-14  François Dumont  <francois.cppdevs@free.fr>
779
780         * testsuite/performance/23_containers/insert_erase/41975.cc: New.
781
782 2011-10-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
783
784         * testsuite/22_locale/codecvt_byname/50714.cc: Fix mychar.
785
786 2011-10-14  Jonathan Yong  <jon_y@users.sourceforge.net>
787
788         * configure.host: Use config/os/mingw32-w64 instead of
789         config/os/mingw32 if vendor key is "w64".
790         * config/os/mingw32-w64: Duplicate from config/os/mingw32.
791         * config/os/mingw32-w64/os_defines.h: Enable
792         _GLIBCXX_FULLY_DYNAMIC_STRING if undefined.
793         * acinclude.m4: Set fully-dynamic-string to 1 when enabled,
794         0 when disabled or undefined if unset by user.
795         * include/bits/basic_string.h: Check if
796         _GLIBCXX_FULLY_DYNAMIC_STRING is set to 0 instead of undefined.
797         include/bits/basic_string.tcc: Likewise.
798         * configure: Regenerated.
799         * config.h.in: Likewise.
800
801 2011-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
802
803         PR libstdc++/50714
804         * include/bits/codecvt.h (codecvt<>::codecvt(size_t)): Initialize
805         _M_c_locale_codecvt member.
806         * testsuite/22_locale/codecvt_byname/50714.cc: New.
807
808 2011-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
809
810         PR c++/50594
811         * libsupc++/new (operator new, operator delete): Decorate with
812         __attribute__((__externally_visible__)).
813         * include/bits/c++config: Add _GLIBCXX_THROW.
814         * libsupc++/del_op.cc: Adjust.
815         * libsupc++/del_opv.cc: Likewise.
816         * libsupc++/del_opnt.cc: Likewise.
817         * libsupc++/del_opvnt.cc: Likewise.
818         * libsupc++/new_op.cc: Likewise.
819         * libsupc++/new_opv.cc: Likewise.
820         * libsupc++/new_opnt.cc: Likewise.
821         * libsupc++/new_opvnt.cc: Likewise.
822         * testsuite/18_support/50594.cc: New.
823         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
824         line number.
825
826 2011-10-11  Emil Wojak  <emil@wojak.eu>
827
828         PR c++/50661
829         * include/bits/stl_algobase.h (equal): Compare arrays of pointers
830         too with memcmp.
831
832 2011-10-10  Benjamin Kosnik  <bkoz@redhat.com>
833
834         PR libstdc++/49818
835         * config/abi/pre/gnu.ver (CXXABI_1.3.6): Add symbols.
836         * testsuite/util/testsuite_abi.cc: Same.
837         * libsupc++/unwind-cxx.h: Move required eh API...
838         * libsupc++/cxxabi.h: ... to here. Add required forward declarations.
839         Use _GLIBCXX_NOTHROW.
840         * libsupc++/pure.cc (__cxa_deleted_virtual): Add.
841         * libsupc++/eh_alloc.cc: Use _GLIBCXX_NOTHROW.
842         * libsupc++/eh_catch.cc: Same.
843         * libsupc++/eh_globals.cc: Same.
844         * libsupc++/eh_type.cc: Same.
845
846 2011-10-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
847
848         * testsuite/util/testsuite_allocator.h (uneq_allocator): Add
849         propagate_on_container_swap typedef for C++0x testing.
850
851 2011-10-06  Paolo Carlini  <paolo.carlini@oracle.com>
852
853         * testsuite/27_io/ios_base/cons/assign_neg.cc: Tidy dg- directives,
854         for C++0x testing too.
855         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
856         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
857         * testsuite/24_iterators/istreambuf_iterator/requirements/
858         base_classes.cc: Adjust for C++0x testing.
859         * testsuite/ext/codecvt/char-1.cc: Avoid warnings in C++0x mode.
860         * testsuite/ext/codecvt/char-2.cc: Likewise.
861         * testsuite/ext/codecvt/wchar_t.cc: Likewise.
862
863 2011-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
864
865         * include/ext/pod_char_traits.h: Avoid warnings in C++0x mode
866         when int_type is unsigned.
867
868 2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
869
870         PR libstdc++/49561
871         * include/bits/stl_list.h (_List_base<>::_List_impl::_M_size):
872         Add in C++0x mode.
873         (_List_base<>::_List_impl, _List_base<>::_M_get_node,
874         _List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&),
875         list<>::size, list<>::swap, list<>::splice): Use it.
876         (operator==(const list<>&, const list<>&)): Rewrite in C++0x mode.
877         * include/bits/list.tcc (list<>::erase): Likewise.
878         (list<>::merge): Adjust in C++0x mode.
879         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
880         Adjust dg-error line number.
881         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
882         Likewise.
883         * testsuite/23_containers/list/requirements/dr438/
884         constructor_1_neg.cc: Likewise.
885         * testsuite/23_containers/list/requirements/dr438/
886         constructor_2_neg.cc: Likewise.
887
888 2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
889
890         * testsuite/20_util/bind/48698.cc (g): Fix return type, avoid -Wall
891         warning.
892
893 2011-10-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
894
895         * include/ext/alloc_traits.h (__alloc_traits::max_size): Define.
896         (__alloc_traits::rebind): Define.
897         * include/bits/stl_vector.h: Use them.
898         * testsuite/util/testsuite_allocator.h (SimpleAllocator): Define.
899         * testsuite/23_containers/vector/allocator/minimal.cc: New.
900         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
901         Adjust dg-error line numbers.
902         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
903         Likewise.
904         * testsuite/23_containers/vector/requirements/dr438/
905         constructor_1_neg.cc: Likewise.
906         * testsuite/23_containers/vector/requirements/dr438/
907         constructor_2_neg.cc: Likewise.
908
909 2011-10-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
910
911         * testsuite/20_util/pointer_traits/pointer_to.cc: Define equality
912         operator and use.
913
914 2011-10-03  Paolo Carlini  <paolo.carlini@oracle.com>
915
916         * include/bits/hashtable.h (_Hashtable<>::insert(value_type&&),
917         insert(const_iterator, value_type&&)): Don't define here...
918         * include/bits/unordered_set.h (__unordered_set<>,
919         __unordered_multiset<>): ... define here instead.
920
921 2011-09-29  Jason Merrill  <jason@redhat.com>
922
923         * testsuite/util/testsuite_tr1.h (test_property): Avoid
924         ambiguity.
925
926 2011-10-01  François Dumont  <fdumont@gcc.gnu.org>
927
928         * include/debug/vector (vector<>::erase(iterator, iterator): Check
929         iterators equality using normal iterators.
930         * include/debug/deque (deque<>::erase(iterator, iterator): Likewise.
931
932 2011-09-29  Paolo Carlini  <paolo.carlini@oracle.com>
933
934         * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
935         Remove noexcept from declaration too.
936
937 2011-09-27  Benjamin Kosnik  <bkoz@redhat.com>
938
939         * doc/html/*: Regenerate.
940
941         * doc/Makefile.am: Un-nest the ext output directory.
942         * doc/Makefile.in: Regenerate.
943         * spine.xml: Remove authors, add abstract for short
944         contents. Rename to index.html for html output.
945         * manual/spine.xml: Authors here, manual starts with index.html.
946         * api.xml: Update.
947         * faq.xml: Same.
948
949 2011-09-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
950
951         * libsupc++/tinfo.cc (type_info::operator==): Test __name instead
952         of name().
953
954 2011-09-26  Paolo Carlini  <paolo.carlini@oracle.com>
955
956         PR libstdc++/50529
957         * include/bits/vector.tcc (vector<>::erase(iterator, iterator)):
958         Fix to do nothing if the range is empty.
959         * include/bits/stl_bvector.h: Likewise.
960         * include/bits/deque.tcc: Likewise.
961         * include/debug/vector: Adjust.
962         * include/debug/deque: Likewise.
963         * testsuite/23_containers/vector/modifiers/erase/50529.cc: New.
964         * testsuite/23_containers/deque/modifiers/erase/50529.cc: Likewise.
965         * testsuite/23_containers/deque/modifiers/erase/3.cc: Adjust.
966
967 2011-09-25  Benjamin Kosnik  <bkoz@redhat.com>
968             Jonathan Wakely  <jwakely.gcc@gmail.com>
969
970         PR libstdc++/48698
971         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Set libtool_VERSION here.
972         * configure.ac: Move AC_SUBST of libtool_VERSION past call to
973         GLIBCXX_ENABLE_SYMVERS.
974         * configure: Regenerate.
975         * include/bits/c++config: Use __7 as versioned namespace name.
976         * config/abi/pre/gnu-versioned-namespace.ver: Change mangling as
977         per above.
978         * include/c_global/cwchar: Adjust nested namespaces.
979         * testsuite/20_util/bind/48698.cc: Add test case.
980         * testsuite/ext/profile/mutex_extensions_neg.cc: Change line number.
981
982 2011-09-25  Paolo Carlini  <paolo.carlini@oracle.com>
983
984         Revert (no longer necessary post r179130):
985
986         2010-04-27  Fabien Chêne  <fabien.chene@gmail.com>
987
988         * testsuite/util/testsuite_error.h: Add empty default constructor
989         to __gnu_test::test_category and
990         __gnu_test::test_derived_category.
991         * src/future.cc: Add empty default constructor to
992         future_error_category.
993         * src/system_error.cc: Add default ctor to generic_error_category
994         and system_error_category.
995
996 2011-09-24  John Salmon  <john.salmon@deshaw.com>
997
998         PR libstdc++/50510
999         * include/bits/random.tcc (seed_seq::generate): Fix computation.
1000
1001 2011-09-24  John Salmon  <john.salmon@deshaw.com>
1002
1003         PR libstdc++/50509
1004         * include/bits/random.tcc (seed_seq::generate): Fix computation.
1005
1006 2011-09-21  Benjamin Kosnik  <bkoz@redhat.com
1007
1008         * doc/Makefile.am (stamp-epub-docbook): Fix image directory location.
1009         * doc/Makefile.in: Regenerate.
1010
1011 2011-09-21  Paolo Carlini  <paolo.carlini@oracle.com>
1012
1013         * src/limits.cc: Replace everywhere __int128_t -> __int128, and
1014         __uint128_t -> unsigned __int128.
1015         * include/std/type_traits: Likewise.
1016         * include/std/limits: Likewise.
1017         * testsuite/18_support/numeric_limits/dr559.cc: Likewise.
1018         * testsuite/18_support/numeric_limits/lowest.cc: Likewise.
1019         * testsuite/18_support/numeric_limits/40856.cc: Likewise.
1020         * testsuite/18_support/numeric_limits/max_digits10.cc: Likewise.
1021         * testsuite/util/testsuite_common_types.h: Likewise.
1022         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Likewise.
1023         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
1024         * testsuite/20_util/is_floating_point/value.cc: Likewise.
1025         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Likewise.
1026         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
1027         * testsuite/20_util/is_signed/value.cc: Likewise.
1028         * testsuite/20_util/is_unsigned/value.cc: Likewise.
1029         * testsuite/20_util/is_integral/value.cc: Likewise.
1030         * config/abi/pre/gnu.ver: Likewise.
1031         * acinclude.m4: Likewise.
1032         * configure: Regenerate.
1033         * config.h.in: Likewise.
1034
1035 2011-09-19  Paolo Carlini  <paolo.carlini@oracle.com>
1036
1037         PR libstdc++/40856
1038         * include/std/limits (numeric_limits<__int128_t>,
1039         numeric_limits<__uint128_t>): Add.
1040         * src/limits.cc:Define.
1041         * config/abi/pre/gnu.ver: Export.
1042         * include/ext/typelist.h (_GLIBCXX_TYPELIST_CHAIN16, 20): Add.
1043         * testsuite/util/testsuite_common_types.h (integral_types_gnu): Add
1044         (limits_tl): Use it.
1045         * testsuite/18_support/numeric_limits/requirements/
1046         constexpr_functions.cc: Likewise.
1047         * testsuite/18_support/numeric_limits/40856.cc: New.
1048         * testsuite/18_support/numeric_limits/dr559.cc: Extend.
1049         * testsuite/18_support/numeric_limits/lowest.cc: Likewise.
1050         * testsuite/18_support/numeric_limits/max_digits10.cc: Likewise.
1051         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
1052         line numbers.
1053         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1054         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
1055         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1056         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
1057         Likewise.
1058         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1059         Likewise.
1060         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1061         Likewise.
1062
1063 2011-09-17  Paolo Carlini  <paolo.carlini@oracle.com>
1064
1065         PR libstdc++/50441
1066         * acinclude.m4 ([GLIBCXX_ENABLE_INT128_FLOAT128]): Add.
1067         * configure.ac: Call it.
1068         * include/std/type_traits (__is_integral_helper<__int128_t>,
1069         __is_integral_helper<__uint128_t>,
1070         __is_floating_point_helper<__float128>,
1071         __make_unsigned<__int128_t>, __make_signed<__uint128_t>): Add.
1072         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Extend.
1073         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
1074         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Likewise.
1075         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
1076         * testsuite/20_util/is_signed/value.cc: Likewise.
1077         * testsuite/20_util/is_unsigned/value.cc: Likewise.
1078         * testsuite/20_util/is_integral/value.cc: Likewise.
1079         * testsuite/20_util/is_floating_point/value.cc: New.
1080         * testsuite/20_util/is_floating_point/requirements/typedefs.cc:
1081         Likewise.
1082         * testsuite/20_util/is_floating_point/requirements/
1083         explicit_instantiation.cc: Likewise.
1084         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1085         dg-error line numbers.
1086         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1087         Likewise.
1088         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1089         * configure: Regenerate.
1090         * config.h.in: Likewise.
1091
1092 2011-09-17  François Dumont  <fdumont@gcc.gnu.org>
1093
1094         * include/bits/hashtable.h (_Hashtable<>::__rehash_policy(const
1095         _RehashPolicy&)): Commit the modification of the policy only if no
1096         exception occured.
1097         * testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
1098         New.
1099
1100 2011-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1101
1102         * testsuite/23_containers/array/comparison_operators/
1103         less_or_equal.cc: New.
1104         * testsuite/23_containers/array/comparison_operators/
1105         greater_or_equal.cc: Likewise.
1106         * testsuite/23_containers/array/comparison_operators/less.cc: Likewise.
1107         * testsuite/23_containers/array/comparison_operators/equal.cc: Likewise.
1108         * testsuite/23_containers/array/comparison_operators/not_equal.cc:
1109         Likewise.
1110         * testsuite/23_containers/array/comparison_operators/greater.cc:
1111         Likewise.
1112         * testsuite/23_containers/array/iterators/end_is_one_past.cc: Likewise.
1113         * testsuite/23_containers/array/capacity/empty.cc: Likewise.
1114         * testsuite/23_containers/array/capacity/max_size.cc: Likewise.
1115         * testsuite/23_containers/array/capacity/size.cc: Likewise.
1116         * testsuite/23_containers/array/tuple_interface/tuple_element.cc:
1117         Likewise.
1118         * testsuite/23_containers/array/tuple_interface/tuple_size.cc:
1119         Likewise.
1120         * testsuite/23_containers/array/element_access/at_out_of_range.cc:
1121         Likewise.
1122         * testsuite/23_containers/array/element_access/back.cc: Likewise.
1123         * testsuite/23_containers/array/element_access/front.cc: Likewise.
1124         * testsuite/23_containers/array/element_access/data.cc: Likewise.
1125         * testsuite/23_containers/array/cons/aggregate_initialization.cc:
1126         Likewise.
1127         * testsuite/23_containers/array/requirements/zero_sized_arrays.cc:
1128         Likewise.
1129         * testsuite/23_containers/array/requirements/contiguous.cc: Likewise.
1130         * testsuite/23_containers/array/requirements/member_swap.cc: Likewise.
1131         * testsuite/23_containers/array/specialized_algorithms/swap.cc:
1132         Likewise.
1133         * testsuite/23_containers/array/constexpr_get.cc: Move...
1134         * testsuite/23_containers/array/tuple_interface/constexpr_get.cc:
1135         ... here.
1136         * testsuite/23_containers/array/requirements/get.cc: Move...
1137         * testsuite/23_containers/array/tuple_interface/get: ... here.
1138         * testsuite/23_containers/array/at_neg.cc: Move...
1139         * testsuite/23_containers/array/element_access: ... here.
1140         * testsuite/23_containers/array/requirements/constexpr_functions.cc:
1141         Move...
1142         * testsuite/23_containers/array/capacity: ... here.
1143         * testsuite/23_containers/array/requirements/
1144         constexpr_element_access.cc: Move...
1145         * testsuite/23_containers/array/element_access: ... here.
1146
1147         * testsuite/20_util/duration/cons/1_neg.cc: Avoid -Wall warnings.
1148         * testsuite/20_util/tuple/creation_functions/constexpr.cc: Likewise.
1149         * testsuite/20_util/pair/make_pair/constexpr.cc: Likewise.
1150         * testsuite/20_util/time_point/nonmember/constexpr.cc: Likewise.
1151         * testsuite/23_containers/bitset/operations/constexpr.cc: Likewise.
1152
1153         * testsuite/20_util/duration/cons/1_neg.cc: Discard bogus warning.
1154         * testsuite/20_util/forward/1_neg.cc: Likewise.
1155
1156 2011-09-15  Paolo Carlini  <paolo.carlini@oracle.com>
1157
1158         * include/std/tuple (make_tuple, forward_as_tuple): Declare constexpr.
1159         (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&)): Likewise.
1160         * testsuite/20_util/tuple/creation_functions/constexpr.cc: Enable
1161         make_tuple test.
1162         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1163         line number.
1164
1165 2011-09-14  François Dumont  <fdumont@gcc.gnu.org>
1166             Paolo Carlini  <paolo.carlini@oracle.com>
1167
1168         * include/bits/hashtable.h (_Hashtable<>::_M_rehash): Take and restore
1169         hash policy _M_prev_resize on exception.
1170         (_Hashtable<>::_M_insert_bucket): Capture hash policy next resize
1171         before using it and use latter method to have it restored on exception.
1172         (_Hashtable<>::_M_insert(_Arg&& __v, std::false_type): Likewise.
1173         (_Hashtable<>::insert(_InputIterator, _InputIterator): Likewise.
1174         (_Hashtable<>::rehash): Likewise.
1175         * testsuite/23_containers/unordered_set/insert/hash_policy.cc: New.
1176         * testsuite/23_containers/unordered_multiset/insert/hash_policy.cc:
1177         Likewise.
1178
1179 2011-09-13  Paul Brook  <paul@codesourcery.com>
1180
1181         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Add C6X implementation.
1182         * libsupc++/eh_call.cc (__cxa_call_unexpected): Set rtti_base.
1183         * libsupc++/eh_personality.cc (NO_SIZE_OF_ENCODED_VALUE): Remove
1184         __ARM_EABI_UNWINDER__ check.
1185         (parse_lsda_header): Check _GLIBCXX_OVERRIDE_TTYPE_ENCODING.
1186         (get_ttype_entry): Use generic implementation on ARM EABI.
1187         (check_exception_spec): Use _Unwind_decode_typeinfo_ptr and
1188         UNWIND_STACK_REG.
1189         (PERSONALITY_FUNCTION): Set ttype_base.
1190
1191 2011-09-12  Daniel Krugler  <daniel.kruegler@googlemail.com>
1192             Paolo Carlini  <paolo.carlini@oracle.com>
1193
1194         * include/std/tuple (_Head_base<>::_M_head, _Head_base<>::_M_tail,
1195         _Tuple_impl<>::_M_head, _Tuple_impl<>::_M_tail): Change to static
1196         constexpr functions; adjust everywhere.
1197         (__get_helper, get): Declare constexpr all three overloads.
1198         (tuple_cat): Declare constexpr; use late return type to improve
1199         error messages.
1200         * include/std/utility (__pair_get<>::__get, __pair_get<>::__move_get,
1201         __pair_get<>::__const_get, get): Declare all constexpr.
1202         * include/std/array (get): Likewise.
1203         * testsuite/20_util/tuple/creation_functions/constexpr.cc: Re-enable
1204         tuple_cat test.
1205         * testsuite/23_containers/array/constexpr_get.cc: New.
1206         * testsuite/20_util/tuple/element_access/constexpr_get.cc: Likewise.
1207         * testsuite/20_util/pair/constexpr_get.cc: Likewise.
1208         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1209         line number.
1210
1211 2011-09-12  Jason Merrill  <jason@redhat.com>
1212
1213         * testsuite/20_util/is_constructible/value-2.cc: Adjust
1214         expected values.
1215
1216 2011-09-11  Daniel Krugler  <daniel.kruegler@googlemail.com>
1217
1218         PR libstdc++/50159
1219         * include/std/tuple (tuple_cat): Reimplement according to the
1220         resolution of LWG 1385.
1221         * include/std/type_traits: Define __and_ and __or_ for zero
1222         arguments too; minor tweaks.
1223         * testsuite/20_util/tuple/creation_functions/tuple_cat.cc: New.
1224         * testsuite/20_util/tuple/creation_functions/constexpr.cc: Disable
1225         for now tuple_cat test.
1226         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1227         line numbers.
1228         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
1229         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1230         Likewise.
1231         * doc/xml/manual/status_cxx200x.xml: Update.
1232
1233 2011-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
1234
1235         * include/std/tuple: Use everywhere std::size_t... instead of int...
1236         * include/std/functional: Likewise.
1237         * include/std/scoped_allocator: Likewise.
1238         * include/bits/stl_pair.h: Likewise.
1239
1240 2011-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
1241
1242         PR libstdc++/50336
1243         * include/bits/streambuf_iterator.h (class istreambuf_iterator):
1244         Implement LWG 445 in C++0x mode.
1245         * testsuite/24_iterators/istreambuf_iterator/requirements/dr445.cc:
1246         New.
1247
1248 2011-09-08  Dodji Seketeli  <dodji@redhat.com>
1249
1250         PR c++/33255 - Support -Wunused-local-typedefs warning
1251         * include/ext/bitmap_allocator.h
1252         (__detail::__mini_vector::__lower_bound): Remove unused typedef.
1253         * src/istream.cc (std::operator>>(basic_istream<char>& __in,
1254         basic_string<char>& __str)): Likewise.
1255         (std::getline): Likewise.
1256         * src/valarray.cc (__valarray_product): Likewise.
1257
1258 2011-09-07  François Dumont  <francois.cppdevs@free.fr>
1259
1260         * testsuite/23_containers/array/at.cc: Revert to...
1261         * testsuite/23_containers/array/at_neg.cc: ...this.
1262
1263 2011-09-07  Jason Merrill  <jason@redhat.com>
1264
1265         * testsuite/20_util/bind/ref_neg.cc: Adjust errors.
1266         * testsuite/20_util/duration/cons/1_neg.cc: Adjust errors.
1267
1268 2011-09-06  Benjamin Kosnik  <bkoz@redhat.com>
1269
1270         * include/std/tuple (_Tuple_impl::_M_head, _M_tail): Mark constexpr.
1271         (tuple(tuple&&)): Same.
1272         (tuple(const tuple<_UElements...>& __in)): Same.
1273         (tuple(tuple<_UElements...>&& __in)): Same.
1274         (tuple_cat(const tuple<_TElements...>&, const tuple<_UElements...>&)):
1275         Same.
1276         (get): Same.
1277         * include/std/array: Consolidate array::data usage.
1278         * testsuite/23_containers/array/requirements/constexpr_functions.cc:
1279         Remove extra include.
1280         * testsuite/20_util/tuple/creation_functions/constexpr.cc: New.
1281         * testsuite/20_util/tuple/cons/constexpr-2.cc: Add tests.
1282         * testsuite/20_util/tuple/cons/constexpr-3.cc: Same.
1283         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
1284
1285 2011-09-06  François Dumont  <fdumont@gcc.gnu.org>
1286             Paolo Carlini  <paolo.carlini@oracle.com>
1287
1288         * include/bits/hashtable_policy.h (_Prime_rehash_policy::
1289         _M_next_bkt): Cast _M_max_load_factor to long double.
1290         (_Prime_rehash_policy::_M_bkt_for_elements): Use _M_next_bkt.
1291         (_Prime_rehash_policy::_M_need_rehash): Likewise; cast all
1292         float quantities to long double.
1293
1294 2011-09-06  Paolo Carlini  <paolo.carlini@oracle.com>
1295
1296         PR libstdc++/50257
1297         * include/bits/hashtable_policy.h (_Prime_rehash_policy::
1298         _M_next_bkt): Optimize for small argument.
1299
1300 2011-09-02  François Dumont  <fdumont@gcc.gnu.org>
1301
1302         * testsuite/util/testsuite_allocator.h (tracker_allocator_counter::
1303         allocate): Update allocation count only if allocation succeeded.
1304
1305 2011-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
1306
1307         * include/std/bitset: Trivial formatting fixes.
1308
1309 2011-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
1310             Marc Glisse  <marc.glisse@normalesup.org>
1311
1312         * include/std/bitset (_Base_bitset<>::_M_are_all_aux): Remove.
1313         (_Base_bitset<>::_M_are_all): Add.
1314         (bitset<>::all): Use the latter, improve implementation.
1315
1316 2011-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
1317             Marc Glisse  <marc.glisse@normalesup.org>
1318
1319         PR libstdc++/50268
1320         * include/std/bitset (struct _Sanitize_val): Add.
1321         (bitset<>::bitset(unsigned long long)): Fix.
1322         * testsuite/23_containers/bitset/cons/50268.cc: New.
1323
1324 2011-09-01  Paolo Carlini  <paolo.carlini@oracle.com>
1325
1326         * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
1327         Remove noexcept, the move constructor allocates memory; rearrange
1328         the code in the body to consistently update __ht._M_rehash_policy
1329         before using _M_next_bkt on it.
1330         * include/debug/unordered_map: Adjust.
1331         * include/debug/unordered_set: Likewise.
1332         * include/profile/unordered_map: Likewise.
1333         * include/profile/unordered_set: Likewise.
1334         * testsuite/23_containers/unordered_map/cons/
1335         noexcept_move_construct.cc: Remove.
1336         * testsuite/23_containers/unordered_set/cons/
1337         noexcept_move_construct.cc: Likewise.
1338         * testsuite/23_containers/unordered_multimap/cons/
1339         noexcept_move_construct.cc: Likewise.
1340         * testsuite/23_containers/unordered_multiset/cons/
1341         noexcept_move_construct.cc: Likewise.
1342
1343 2011-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
1344
1345         * include/std/chrono (operator*(const _Rep1&, const duration<>&)):
1346         Fix order of template parameters per LWG 2004.
1347
1348 2011-08-30  Paolo Carlini  <paolo.carlini@oracle.com>
1349
1350         * include/bits/stl_iterator.h (make_move_iterator): Implement DR2061.
1351         * testsuite/24_iterators/move_iterator/dr2061.cc: New.
1352         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1353         line numbers.
1354
1355 2011-08-30  Paolo Carlini  <paolo.carlini@oracle.com>
1356
1357         * config/os/mingw32/error_constants.h: Fix commas.
1358
1359 2011-08-29  Benjamin Kosnik  <bkoz@redhat.com>
1360
1361         * testsuite/20_util/duration/arithmetic/constexpr.cc: Add.
1362
1363 2011-08-29  Kai Tietz  <ktietz@redhat.com>
1364
1365         * configure: Regenerated.
1366         * config.h.in: Regenerated.
1367         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR)  Add
1368         checks for ECHILD, ENOSPC, EPERM, ETIMEDOUT, and
1369         EWOULDBLOCK.
1370         * config/os/mingw32/error_constants.h (errc): Add
1371         enumerator values no_child_process, no_space_on_device,
1372         not_supported, operation_not_permitted, operation_would_block,
1373         timed_out, and value_too_large,
1374
1375 2011-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
1376
1377         PR libstdc++/50118
1378         * include/bits/stl_list.h (_List_base<>::
1379         _List_base(const allocator_type&)): Remove.
1380         (_List_base<>::_List_base(const _Node_alloc_type&)): Add.
1381         (list<>:list(const allocator_type&), list(size_type, const
1382         value_type&, const allocator_type&),
1383         list(initializer_list<, const allocator_type&),
1384         list(_InputIterator, _InputIterator, const allocator_type&),
1385         insert(iterator, size_type, const value_type&),
1386         insert(iterator, _InputIterator, _InputIterator)): Adjust.
1387         * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(const _Compare&,
1388         const allocator_type&)): Fix.
1389         * include/bits/stl_map.h (map<>::map(const _Compare&,
1390         const allocator_type&), map(initializer_list<>,
1391         const _Compare&, const allocator_type&), map(_InputIterator,
1392         _InputIterator, const _Compare&, const allocator_type&),
1393         get_allocator): Adjust.
1394         * include/bits/stl_set.h (set<>::set(const _Compare&,
1395         const allocator_type&), set(initializer_list<>,
1396         const _Compare&, const allocator_type&), set(_InputIterator,
1397         _InputIterator, const _Compare&, const allocator_type&),
1398         get_allocator): Likewise.
1399         * include/bits/stl_multimap.h (multimap<>::multimap(const _Compare&,
1400         const allocator_type&), multimap(initializer_list<>,
1401         const _Compare&, const allocator_type&), multimap(_InputIterator,
1402         _InputIterator, const _Compare&, const allocator_type&),
1403         get_allocator): Likewise.
1404         * include/bits/stl_multiset.h (multiset<>::multiset(const _Compare&,
1405         const allocator_type&), multiset(initializer_list<>,
1406         const _Compare&, const allocator_type&), multiset(_InputIterator,
1407         _InputIterator, const _Compare&, const allocator_type&),
1408         get_allocator): Likewise.
1409         * include/bits/forward_list.h (_Fwd_list_base<>::
1410         _Fwd_list_base(const _Alloc&), _Fwd_list_base(const _Fwd_list_base&,
1411         const _Alloc&), _Fwd_list_base(_Fwd_list_base&&, const _Alloc&)):
1412         Remove.
1413         (_Fwd_list_base<>::_Fwd_list_base(const _Node_alloc_type&),
1414         _Fwd_list_base(const _Fwd_list_base&,
1415         const _Node_alloc_type&), _Fwd_list_base(_Fwd_list_base&&,
1416         const _Node_alloc_type&)): Add.
1417         (forward_list<>::forward_list(const _Alloc&),
1418         forward_list(const forward_list&, const _Alloc&),
1419         forward_list(forward_list&&, const _Alloc&),
1420         forward_list(size_type, const _Tp&, const _Alloc&),
1421         forward_list(_InputIterator, _InputIterator, const _Alloc&),
1422         forward_list(std::initializer_list<>, const _Alloc&),
1423         get_allocator): Adjust.
1424         * include/bits/forward_list.tcc: Adjust.
1425         * testsuite/util/testsuite_allocator.h (ExplicitConsAlloc): Add.
1426         * testsuite/23_containers/unordered_map/requirements/
1427         explicit_instantiation/5.cc: New.
1428         * testsuite/23_containers/multimap/requirements/
1429         explicit_instantiation/5.cc: Likewise.
1430         * testsuite/23_containers/multimap/requirements/
1431         explicit_instantiation/5_c++0x.cc: Likewise.
1432         * testsuite/23_containers/set/requirements/explicit_instantiation/
1433         5.cc: Likewise.
1434         * testsuite/23_containers/set/requirements/explicit_instantiation/
1435         5_c++0x.cc: Likewise.
1436         * testsuite/23_containers/unordered_multimap/requirements/
1437         explicit_instantiation/5.cc: Likewise.
1438         * testsuite/23_containers/forward_list/requirements/
1439         explicit_instantiation/5.cc: Likewise.
1440         * testsuite/23_containers/unordered_set/requirements/
1441         explicit_instantiation/5.cc: Likewise.
1442         testsuite/23_containers/multiset/requirements/explicit_instantiation/
1443         5.cc: Likewise.
1444         * testsuite/23_containers/multiset/requirements/
1445         explicit_instantiation/5_c++0x.cc: Likewise.
1446         * testsuite/23_containers/list/requirements/explicit_instantiation/
1447         5_c++0x.cc: Likewise.
1448         * testsuite/23_containers/list/requirements/explicit_instantiation/
1449         5.cc: Likewise.
1450         * testsuite/23_containers/unordered_multiset/requirements/
1451         explicit_instantiation/5.cc: Likewise.
1452         * testsuite/23_containers/map/requirements/explicit_instantiation/
1453         5.cc: Likewise.
1454         * testsuite/23_containers/map/requirements/explicit_instantiation/
1455         5_c++0x.cc: Likewise.
1456         * testsuite/23_containers/forward_list/requirements/dr438/
1457         assign_neg.cc: Adjust dg-error line number.
1458         * testsuite/23_containers/forward_list/requirements/dr438/
1459         insert_neg.cc: Likewise.
1460         * testsuite/23_containers/forward_list/requirements/dr438/
1461         constructor_1_neg.cc: Likewise.
1462         * testsuite/23_containers/forward_list/requirements/dr438/
1463         constructor_2_neg.cc: Likewise.
1464         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1465         Likewise.
1466         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1467         Likewise.
1468         * testsuite/23_containers/list/requirements/dr438/
1469         constructor_1_neg.cc: Likewise.
1470         * testsuite/23_containers/list/requirements/dr438/
1471         constructor_2_neg.cc: Likewise.
1472
1473 2011-08-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1474
1475         * acinclude.m4 (GLIBCXX_CHECK_MATH_PROTO)
1476         (GLIBCXX_CHECK_STDLIB_PROTO): New tests.
1477         * configure.ac (GLIBCXX_CHECK_MATH_PROTO)
1478         (GLIBCXX_CHECK_STDLIB_PROTO): Call them.
1479         * configure: Regenerate.
1480         * config.h.in: Regenerate.
1481         * config/os/solaris/solaris2.8/os_defines.h
1482         (__CORRECT_ISO_CPP_MATH_H_PROTO2): Don't define.
1483         * config/os/solaris/solaris2.9: Remove.
1484         * configure.host (solaris2.8): Merge with ...
1485         (solaris2.9, solaris2.1[0-9]): ... this.
1486         Always use os/solaris/solaris2.8.
1487
1488 2011-08-28  Paolo Carlini  <paolo.carlini@oracle.com>
1489
1490         * include/bits/move.h (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Remove
1491         workaround for c++/49045.
1492         * include/bits/algorithmfwd.h: Likewise.
1493
1494 2011-08-25  Tom Tromey  <tromey@redhat.com>
1495
1496         * testsuite/libstdc++-prettyprinters/simple.cc: New file.
1497         * testsuite/lib/gdb-test.exp: New file.
1498         * testsuite/libstdc++-prettyprinters/prettyprinters.exp: New
1499         file.
1500
1501 2011-08-18  Marc Glisse  <marc.glisse@normalesup.org>
1502
1503         * include/tr1/cmath: Extend/update comment.
1504
1505 2011-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
1506
1507         PR libstdc++/50119
1508         * include/bits/stl_algo.h (__copy_n(_InputIterator, _Size,
1509         _OutputIterator, input_iterator_tag)): Fix.
1510         * testsuite/25_algorithms/copy_n/50119.cc: New.
1511
1512 2011-08-18  Marc Glisse  <marc.glisse@normalesup.org>
1513             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1514
1515         PR libstdc++/1773
1516         * config/os/solaris2.7: Rename to config/os/solaris2.9.
1517         * config/os/solaris/solaris2.9/os_defines.h
1518         (__CORRECT_ISO_CPP_MATH_H_PROTO1)
1519         (__CORRECT_ISO_CPP_STDLIB_H_PROTO)
1520         (__CORRECT_ISO_CPP_STRING_H_PROTO)
1521         (__CORRECT_ISO_CPP_WCHAR_H_PROTO): Define.
1522         * config/os/solaris2.8/ctype_base.h,
1523         config/os/solaris2.8/ctype_configure_char.cc,
1524         config/solaris2.8/ctype_inline.h,
1525         config/os/solaris2.8/os_defines.h: New files.
1526
1527         * configure.host (solaris2.[89], solaris2.1[0-9]):
1528         Split into ...
1529         (solaris2.8): ... this.
1530         Use os/solaris/solaris2.8.
1531         (solaris2.9, solaris2.1[0-9]): ... and this.
1532         Use os/solaris/solaris2.9.
1533
1534         * include/c_global/cmath (double abs(double)): Wrap in
1535         !__CORRECT_ISO_CPP_MATH_H_PROTO1 &&
1536         !__CORRECT_ISO_CPP_MATH_H_PROTO2.
1537         (float abs(float), long double abs(long double): Wrap in
1538         !__CORRECT_ISO_CPP_MATH_H_PROTO1.
1539         (float acos(float), long double acos(long double)): Likewise.
1540         (float asin(float), long double asin(long double)): Likewise.
1541         (float atan(float), long double atan(long double)): Likewise.
1542         (float atan2(float, float), long double atan2(long double, long
1543         double)): Likewise.
1544         (float ceil(float), long double ceil(long double)): Likewise.
1545         (float cos(float), long double cos(long double)): Likewise.
1546         (float cosh(float), long double cosh(long double)): Likewise.
1547         (float exp(float), long double exp(long double)): Likewise.
1548         (float fabs(float), long double fabs(long double)): Likewise.
1549         (float floor(float), long double floor(long double)): Likewise.
1550         (float fmod(float, float), long double fmod(long double, long
1551         double)): Likewise.
1552         (float frexp(float, int*), long double frexp(long double, int*)):
1553         Likewise.
1554         (float ldexp(float, int), long double ldexp(long double, int)):
1555         Likewise.
1556         (float log(float), long double log(long double)): Likewise.
1557         (float log10(float), long double log10(long double)): Likewise.
1558         (float modf(float, float*), long double modf(long double, long
1559         double*))): Likewise.
1560         (float pow(float, float), long double pow(long double, long
1561         double)): Likewise.
1562         (float sin(float), long double sin(long double)): Likewise.
1563         (float sinh(float), long double sinh(long double)): Likewise.
1564         (float sqrt(float), long double sqrt(long double)): Likewise.
1565         (float tan(float), long double tan(long double)): Likewise.
1566         (float tanh(float), long double tanh(long double)): Likewise.
1567         * include/c_global/cstdlib (long abs(long), ldiv_t div(long,
1568         long)): Wrap in !__CORRECT_ISO_CPP_STDLIB_H_PROTO.
1569         * include/tr1/cmath (float fabs(float), long double fabs(long
1570         double)): Wrap in !__CORRECT_ISO_CPP_MATH_H_PROTO1.
1571
1572 2011-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1573
1574         * doc/xml/images/*: Image and image filename changes.
1575
1576 2011-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1577
1578         * testsuite/data/make_graph_test_infos.xml: Edit.
1579         * testsuite/data/make_graph_htmls.xml: Remove
1580         * scripts/make_graph.py: Edit, fix.
1581         * scripts/make_graphs.py: Remove.
1582
1583         * doc/Makefile.am (doc-svg-performance): New.
1584         (doc-html-performance): Remove.
1585         * doc/Makefile.in: Regenerate.
1586
1587         * doc/xml/manual/test_policy_data_structures.xml: Markup changes.
1588         * doc/xml/manual/policy_data_structures.xml: Same.
1589         * doc/xml/manual/locale.xml: Same.
1590
1591         Testsuite renames.
1592         * performance/ext/pb_ds/priority_queue_text_modify_down_timing.cc:
1593         Rename.
1594         * performance/ext/pb_ds/random_int_find_timing.cc: Same.
1595         * performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
1596         * performance/ext/pb_ds/multimap_text_find_timing.hpp
1597         * performance/ext/pb_ds/priority_queue_random_int_push_timing.cc: Same.
1598         * performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
1599         * performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1600         * performance/ext/pb_ds/multimap_text_insert_mem_usage_large.cc: Same.
1601         * performance/ext/pb_ds/priority_queue_text_push_pop_timing.cc: Same.
1602         * performance/ext/pb_ds/priority_queue_text_join_timing.cc: Same.
1603         * performance/ext/pb_ds/multimap_text_insert_timing_small.cc: Same.
1604         * performance/ext/pb_ds/random_int_subscript_insert_timing.cc: Same.
1605         * performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
1606         * performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc: Same.
1607         * performance/ext/pb_ds/multimap_text_find_timing_small.cc: Same.
1608         * performance/ext/pb_ds/text_find_timing.cc: Same.
1609         * performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
1610         * performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc: Same.
1611         * performance/ext/pb_ds/random_int_subscript_find_timing.cc: Same.
1612         * performance/ext/pb_ds/priority_queue_text_push_timing.cc: Same.
1613         * performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1614         * performance/ext/pb_ds/multimap_text_insert_timing_large.cc: Same.
1615         * performance/ext/pb_ds/priority_queue_text_modify_up_timing.cc: Same.
1616         * performance/ext/pb_ds/multimap_text_find_timing_large.cc: Same.
1617         * performance/ext/pb_ds/priority_queue_random_int_push_pop_timing.cc:
1618         Same.
1619         * performance/ext/pb_ds/multimap_text_insert_timing.hpp
1620         * performance/ext/pb_ds/multimap_text_insert_mem_usage_small.cc: Same.
1621         * performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc: Same.
1622
1623         * performance/ext/pb_ds/all_int_find.cc: To these new files...
1624         * performance/ext/pb_ds/all_int_subscript_find.cc: ...this.
1625         * performance/ext/pb_ds/all_int_subscript_insert.cc: ...this.
1626         * performance/ext/pb_ds/all_text_find.cc: ...this.
1627         * performance/ext/pb_ds/hash_int_erase_mem.cc: ...this.
1628         * performance/ext/pb_ds/hash_zlob_int_find.cc: ...this.
1629         * performance/ext/pb_ds/multimap_text_find.hpp
1630         * performance/ext/pb_ds/multimap_text_find_large.cc: ...this.
1631         * performance/ext/pb_ds/multimap_text_find_small.cc: ...this.
1632         * performance/ext/pb_ds/multimap_text_insert.hpp
1633         * performance/ext/pb_ds/multimap_text_insert_large.cc: ...this.
1634         * performance/ext/pb_ds/multimap_text_insert_mem.hpp
1635         * performance/ext/pb_ds/multimap_text_insert_mem_large.cc: ...this.
1636         * performance/ext/pb_ds/multimap_text_insert_mem_small.cc: ...this.
1637         * performance/ext/pb_ds/multimap_text_insert_small.cc: ...this.
1638         * performance/ext/pb_ds/priority_queue_int_push.cc: ...this.
1639         * performance/ext/pb_ds/priority_queue_int_push_pop.cc: ...this.
1640         * performance/ext/pb_ds/priority_queue_text_join.cc: ...this.
1641         * performance/ext/pb_ds/priority_queue_text_modify_down.cc: ...this.
1642         * performance/ext/pb_ds/priority_queue_text_modify.hpp
1643         * performance/ext/pb_ds/priority_queue_text_modify_up.cc: ...this.
1644         * performance/ext/pb_ds/priority_queue_text_pop_mem.cc: ...this.
1645         * performance/ext/pb_ds/priority_queue_text_push.cc: ...this.
1646         * performance/ext/pb_ds/priority_queue_text_push_pop.cc: ...this.
1647         * performance/ext/pb_ds/tree_order_statistics.cc: ...this.
1648         * performance/ext/pb_ds/tree_split_join.cc: ...this.
1649         * performance/ext/pb_ds/tree_text_insert.cc: ...this.
1650         * performance/ext/pb_ds/tree_text_lor_find.cc: ...this.
1651
1652         * doc/xml/images/*: Image and image filename changes.
1653
1654 2011-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
1655
1656         * include/c_global/cmath (fmod(_Tp, _Up)): Add.
1657         * include/c_std/cmath: Likewise.
1658
1659 2011-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1660
1661         * include/std/future: constexpr functions are implicitly inline.
1662         * include/std/chrono: Likewise.
1663         * include/std/complex: Likewise.
1664         * include/bits/move.h: Likewise.
1665         * include/bits/stl_pair.h: Likewise.
1666
1667 2011-08-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1668
1669         * include/bits/alloc_traits.h: Fix doxygen @headername.
1670
1671 2011-08-06  Benjamin Kosnik  <bkoz@redhat.com>
1672
1673         * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): To NO.
1674
1675 2011-08-06  Benjamin Kosnik  <bkoz@redhat.com>
1676
1677         * doc/doxygen/user.cfg.in: Add scoped_allocator.
1678
1679         * include/debug/safe_sequence.h: Fix doxygen markup.
1680         * include/debug/safe_unordered_base.h: Same.
1681         * include/debug/safe_local_iterator.tcc: Same.
1682         * include/debug/safe_unordered_container.h: Same.
1683         * include/std/valarray: Same.
1684         * include/std/iomanip: Same.
1685         * include/std/streambuf: Same.
1686         * include/std/bitset: Same.
1687         * include/std/fstream: Same.
1688         * include/std/functional: Same.
1689         * include/std/istream: Same.
1690         * include/std/ostream: Same.
1691         * include/std/scoped_allocator: Same.
1692         * include/std/sstream: Same.
1693         * include/parallel/multiway_merge.h: Same.
1694         * include/parallel/base.h: Same.
1695         * include/parallel/for_each_selectors.h: Same.
1696         * include/parallel/multiway_mergesort.h: Same.
1697         * include/parallel/search.h: Same.
1698         * include/parallel/partial_sum.h: Same.
1699         * include/parallel/queue.h: Same.
1700         * include/parallel/sort.h: Same.
1701         * include/parallel/random_number.h: Same.
1702         * include/ext/vstring.h: Same.
1703         * include/ext/algorithm: Same.
1704         * include/ext/pb_ds/assoc_container.h: Same.
1705         * include/ext/bitmap_allocator.h: Same.
1706         * include/ext/stdio_filebuf.h: Same.
1707         * include/ext/memory: Same.
1708         * include/ext/functional: Same.
1709         * include/bits/basic_ios.h: Same.
1710         * include/bits/stl_list.h: Same.
1711         * include/bits/stl_map.h: Same.
1712         * include/bits/stl_algobase.h: Same.
1713         * include/bits/stl_queue.h: Same.
1714         * include/bits/gslice.h: Same.
1715         * include/bits/locale_classes.h: Same.
1716         * include/bits/stl_set.h: Same.
1717         * include/bits/locale_facets.h: Same.
1718         * include/bits/stl_stack.h: Same.
1719         * include/bits/stl_heap.h: Same.
1720         * include/bits/forward_list.h: Same.
1721         * include/bits/stream_iterator.h: Same.
1722         * include/bits/basic_string.h: Same.
1723         * include/bits/stl_multimap.h: Same.
1724         * include/bits/stl_pair.h: Same.
1725         * include/bits/ios_base.h: Same.
1726         * include/bits/stl_numeric.h: Same.
1727         * include/bits/stl_vector.h: Same.
1728         * include/bits/stl_deque.h: Same.
1729         * include/bits/codecvt.h: Same.
1730         * include/bits/stl_multiset.h: Same.
1731         * include/bits/stl_uninitialized.h: Same.
1732         * include/bits/ptr_traits.h: Same.
1733         * include/bits/slice_array.h: Same.
1734         * include/bits/stl_iterator_base_funcs.h: Same.
1735         * include/bits/stl_algo.h: Same.
1736         * include/bits/stl_iterator.h: Same.
1737         * include/bits/stl_tempbuf.h: Same.
1738         * include/bits/regex.h: Same.
1739         * include/bits/range_access.h: Same.
1740         * include/bits/random.h: Same.
1741         * include/bits/alloc_traits.h: Same.
1742         * include/bits/regex_error.h: Same.
1743         * include/bits/locale_facets_nonio.h: Same.
1744         * include/bits/stl_relops.h: Same.
1745         * include/backward/auto_ptr.h: Same.
1746         * libsupc++/initializer_list: Same.
1747
1748         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1749         Adjust line numbers.
1750         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1751         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1752         Same.
1753         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1754         Same.
1755
1756 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1757
1758         * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Point TOPLEVEL_INCLUDES
1759         to $(toplevel_srcdir)/libgcc.
1760         * configure: Regenerate.
1761
1762 2011-08-04  Benjamin Kosnik  <bkoz@redhat.com>
1763
1764         * doc/xml/manual/build_hacking.xml: Use relative fileref for PNG
1765         imagedata.
1766         * doc/xml/manual/test_policy_data_structures.xml: Same.
1767         * doc/xml/manual/policy_data_structures.xml: Same.
1768
1769         * doc/Makefile.am (stamp-html-docbook-images)
1770         (stamp-html-docbook-lwg, stamp-html-docbook-data): New.
1771         (xml_extra): Add lwg html file dependencies.
1772         (xml_images): Add image html file dependencies.
1773         * doc/Makefile.in: Regenerate.
1774         (stamp-html): Change to stamp-html-docbook-data.
1775         (stamp-html-copy): Remove.
1776
1777 2011-08-04  Paolo Carlini  <paolo.carlini@oracle.com>
1778
1779         * src/atomic.cc: Use noexcept.
1780         * include/std/atomic: Likewise.
1781         * include/bits/atomic_0.h: Likewise.
1782         * include/bits/atomic_2.h: Likewise.
1783         * include/bits/atomic_base.h: Likewise.
1784
1785 2011-08-03  Benjamin Kosnik  <bkoz@redhat.com>
1786
1787         * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: Include
1788         unistd.h for unlink.
1789         * testsuite/performance/27_io/ofstream_insert_int.cc: Same.
1790         * testsuite/performance/27_io/ifstream_extract_int.cc: Same.
1791         * testsuite/performance/27_io/ifstream_getline-2.cc: Same.
1792         * testsuite/performance/27_io/fstream_seek_write.cc: Same.
1793         * testsuite/performance/27_io/ifstream_extract_chars.cc: Same.
1794         * testsuite/performance/27_io/ofstream_insert_float.cc: Same.
1795         * testsuite/performance/27_io/ifstream_extract_float.cc: Same.
1796         * testsuite/performance/27_io/filebuf_sputc.cc: Same.
1797
1798 2011-08-03  Benjamin Kosnik  <bkoz@redhat.com>
1799
1800         * include/std/tuple: Mark more constructors constexpr.
1801         * testsuite/20_util/tuple/cons/constexpr.cc: Split into and extend as:
1802         * testsuite/20_util/tuple/cons/constexpr-2.cc: ...this.
1803         * testsuite/20_util/tuple/cons/constexpr-3.cc: ... and this.
1804         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
1805
1806 2011-08-03  Benjamin Kosnik  <bkoz@redhat.com>
1807             François Dumont  <francois.cppdevs@free.fr>
1808
1809         * testsuite/23_containers/array/at_neg.cc: Move...
1810         * testsuite/23_containers/array/at.cc: ...here. Remove
1811         -fno-exceptions, call const at member function.
1812
1813 2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>
1814
1815         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Generated.
1816
1817 2011-08-01  Paolo Carlini  <paolo.carlini@oracle.com>
1818
1819         PR c++/49813
1820         * include/c_global/cmath (isinf): Remove workaround.
1821
1822 2011-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
1823
1824         PR libstdc++/49925
1825         * include/bits/shared_ptr.h (make_shared): Qualify allocate_shared
1826         with std::.
1827         * include/bits/shared_ptr_base.h (__make_shared): Likewise.
1828
1829 2011-07-29  Benjamin Kosnik  <bkoz@redhat.com>
1830
1831         * doc/xml/manual/build_hacking.xml: Markup imagedata changes.
1832         * doc/xml/manual/policy_data_structures.xml: Same.
1833
1834         * doc/xml/class.txml: Remove biblioid.
1835         * doc/xml/manual/allocator.xml: Same.
1836         * doc/xml/manual/ctype.xml: Same.
1837         * doc/xml/manual/codecvt.xml: Same.
1838         * doc/xml/manual/backwards_compatibility.xml: Same.
1839         * doc/xml/manual/abi.xml: Same.
1840         * doc/xml/manual/shared_ptr.xml: Same.
1841         * doc/xml/manual/using_exceptions.xml: Same.
1842         * doc/xml/manual/messages.xml: Same.
1843
1844 2011-07-29  Benjamin Kosnik  <bkoz@redhat.com>
1845
1846         Docbook conversion of existing ext/pb_ds documentation.
1847         * doc/Makefile.am (xml_sources_manual): Add
1848         policy_data_structures.xml and
1849         test_policy_data_structures.xml.
1850         (stamp-html-copy): Remove special-case for ext/pb_ds directory.
1851         (XSLTPROC_FLAGS): Split into XSLT_FLAGS and XSLT_PARAM, use.
1852         * doc/Makefile.in: Regenerate.
1853         * doc/xml/manual/policy_data_structures.xml: New, adapted from
1854           previous html-only instance in doc/html/ext/pb_ds.
1855         * doc/xml/manual/test_policy_data_structures.xml: New, same as above.
1856
1857         * doc/xml/spine.xml: Update copyright.
1858         * doc/xml/manual/spine.xml: Same.
1859         * doc/xml/manual/extensions.xml: Adjust set, chapter, sections.
1860         * doc/xml/manual/bitmap_allocator.xml: Same.
1861         * doc/xml/manual/mt_allocator.xml: Same.
1862
1863         Populate image directory.
1864         * doc/xml/images/(pbds_balls_and_bins.png,
1865         pbds_binary_priority_queue_random_int_push_timing_test_local.pdf,
1866         pbds_binary_priority_queue_random_int_push_timing_test_local.png,
1867         pbds_binary_priority_queue_random_int_push_timing_test_local.svg,
1868         pbds_cc_hash_random_int_find_timing_test_local.pdf,
1869         pbds_cc_hash_random_int_find_timing_test_local.png,
1870         pbds_cc_hash_random_int_find_timing_test_local.svg,
1871         pbds_cc_hash_random_int_subscript_timing_test_find_local.pdf,
1872         pbds_cc_hash_random_int_subscript_timing_test_find_local.png,
1873         pbds_cc_hash_random_int_subscript_timing_test_find_local.svg,
1874         pbds_cc_hash_random_int_subscript_timing_test_insert_local.pdf,
1875         pbds_cc_hash_random_int_subscript_timing_test_insert_local.png,
1876         pbds_cc_hash_random_int_subscript_timing_test_insert_local.svg,
1877         pbds_container_tag_hierarchy.pdf,
1878         pbds_container_tag_hierarchy.png,
1879         pbds_container_tag_hierarchy.svg,
1880         pbds_different_underlying_dss_1.png,
1881         pbds_different_underlying_dss_2.png,
1882         pbds_embedded_lists_1.png, pbds_embedded_lists_2.png,
1883         pbds_embedded_lists_3.png, pbds_exception_hierarchy.pdf,
1884         pbds_exception_hierarchy.png, pbds_exception_hierarchy.svg,
1885         pbds_gp_hash_random_int_find_timing_test_local.pdf,
1886         pbds_gp_hash_random_int_find_timing_test_local.png,
1887         pbds_gp_hash_random_int_find_timing_test_local.svg,
1888         pbds_gp_hash_random_int_subscript_timing_test_find_local.pdf,
1889         pbds_gp_hash_random_int_subscript_timing_test_find_local.png,
1890         pbds_gp_hash_random_int_subscript_timing_test_find_local.svg,
1891         pbds_gp_hash_random_int_subscript_timing_test_insert_local.pdf,
1892         pbds_gp_hash_random_int_subscript_timing_test_insert_local.png,
1893         pbds_gp_hash_random_int_subscript_timing_test_insert_local.svg,
1894         pbds_hash_policy_cd.png,
1895         pbds_hash_random_int_erase_mem_usage_test_local.pdf,
1896         pbds_hash_random_int_erase_mem_usage_test_local.png,
1897         pbds_hash_random_int_erase_mem_usage_test_local.svg,
1898         pbds_hash_ranged_hash_range_hashing_fns.png,
1899         pbds_hash_range_hashing_seq_diagram2.png,
1900         pbds_hash_range_hashing_seq_diagram.png,
1901         pbds_hash_zlob_random_int_find_timing_test_local.pdf,
1902         pbds_hash_zlob_random_int_find_timing_test_local.png,
1903         pbds_hash_zlob_random_int_find_timing_test_local.svg,
1904         pbds_insert_resize_sequence_diagram1.png,
1905         pbds_insert_resize_sequence_diagram2.png,
1906         pbds_insert_resize_sequence_diagram3.png,
1907         pbds_invalidation_guarantee_erase.png,
1908         pbds_invalidation_tag_hierarchy.pdf,
1909         pbds_invalidation_tag_hierarchy.png,
1910         pbds_invalidation_tag_hierarchy.svg, pbds_list_update.png,
1911         pbds_multimap_text_find_timing_test_large_s2p_hash_local.pdf,
1912         pbds_multimap_text_find_timing_test_large_s2p_hash_local.png,
1913         pbds_multimap_text_find_timing_test_large_s2p_hash_local.svg,
1914         pbds_multimap_text_find_timing_test_large_s2p_tree_local.pdf,
1915         pbds_multimap_text_find_timing_test_large_s2p_tree_local.png,
1916         pbds_multimap_text_find_timing_test_large_s2p_tree_local.svg,
1917         pbds_multimap_text_find_timing_test_small_s2p_hash_local.pdf,
1918         pbds_multimap_text_find_timing_test_small_s2p_hash_local.png,
1919         pbds_multimap_text_find_timing_test_small_s2p_hash_local.svg,
1920         pbds_multimap_text_find_timing_test_small_s2p_tree_local.pdf,
1921         pbds_multimap_text_find_timing_test_small_s2p_tree_local.png,
1922         pbds_multimap_text_find_timing_test_small_s2p_tree_local.svg,
1923         pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.pdf,
1924         pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
1925         pbds_multimap_text_insert_mem_usage_test_large_s2p_hash_local.svg,
1926         pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.pdf,
1927         pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
1928         pbds_multimap_text_insert_mem_usage_test_large_s2p_tree_local.svg,
1929         pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.pdf,
1930         pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
1931         pbds_multimap_text_insert_mem_usage_test_small_s2p_hash_local.svg,
1932         pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.pdf,
1933         pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.png,
1934         pbds_multimap_text_insert_mem_usage_test_small_s2p_tree_local.svg,
1935         pbds_multimap_text_insert_timing_test_large_s2p_hash_local.pdf,
1936         pbds_multimap_text_insert_timing_test_large_s2p_hash_local.png,
1937         pbds_multimap_text_insert_timing_test_large_s2p_hash_local.svg,
1938         pbds_multimap_text_insert_timing_test_large_s2p_tree_local.pdf,
1939         pbds_multimap_text_insert_timing_test_large_s2p_tree_local.png,
1940         pbds_multimap_text_insert_timing_test_large_s2p_tree_local.svg,
1941         pbds_multimap_text_insert_timing_test_small_s2p_hash_local.pdf,
1942         pbds_multimap_text_insert_timing_test_small_s2p_hash_local.png,
1943         pbds_multimap_text_insert_timing_test_small_s2p_hash_local.svg,
1944         pbds_multimap_text_insert_timing_test_small_s2p_tree_local.pdf,
1945         pbds_multimap_text_insert_timing_test_small_s2p_tree_local.png,
1946         pbds_multimap_text_insert_timing_test_small_s2p_tree_local.svg,
1947         pbds_node_invariants.png,
1948         pbds_pairing_priority_queue_text_push_pop_timing_test_local.pdf,
1949         pbds_pairing_priority_queue_text_push_pop_timing_test_local.png,
1950         pbds_pairing_priority_queue_text_push_pop_timing_test_local.svg,
1951         pbds_pairing_priority_queue_text_push_timing_test_local.pdf,
1952         pbds_pairing_priority_queue_text_push_timing_test_local.png,
1953         pbds_pairing_priority_queue_text_push_timing_test_local.svg,
1954         pbds_pat_trie.png, pbds_point_iterator_hierarchy.png,
1955         pbds_point_iterators_range_ops_1.png,
1956         pbds_point_iterators_range_ops_2.png,
1957         pbds_priority_queue_different_underlying_dss.png,
1958         pbds_priority_queue_random_int_push_pop_timing_test_local.pdf,
1959         pbds_priority_queue_random_int_push_pop_timing_test_local.png,
1960         pbds_priority_queue_random_int_push_pop_timing_test_local.svg,
1961         pbds_priority_queue_random_int_push_timing_test_local.pdf,
1962         pbds_priority_queue_random_int_push_timing_test_local.png,
1963         pbds_priority_queue_random_int_push_timing_test_local.svg,
1964         pbds_priority_queue_tag_hierarchy.pdf,
1965         pbds_priority_queue_tag_hierarchy.png,
1966         pbds_priority_queue_tag_hierarchy.svg,
1967         pbds_priority_queue_text_join_timing_test_local.pdf,
1968         pbds_priority_queue_text_join_timing_test_local.png,
1969         pbds_priority_queue_text_join_timing_test_local.svg,
1970         pbds_priority_queue_text_modify_down_timing_test_local.pdf,
1971         pbds_priority_queue_text_modify_down_timing_test_local.png,
1972         pbds_priority_queue_text_modify_down_timing_test_local.svg,
1973         pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.pdf,
1974         pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
1975         pbds_priority_queue_text_modify_down_timing_test_pairing_thin_local.svg,
1976         pbds_priority_queue_text_modify_up_timing_test_local.pdf,
1977         pbds_priority_queue_text_modify_up_timing_test_local.png,
1978         pbds_priority_queue_text_modify_up_timing_test_local.svg,
1979         pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.pdf,
1980         pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
1981         pbds_priority_queue_text_modify_up_timing_test_pairing_thin_local.svg,
1982         pbds_priority_queue_text_pop_mem_usage_test_local.pdf,
1983         pbds_priority_queue_text_pop_mem_usage_test_local.png,
1984         pbds_priority_queue_text_pop_mem_usage_test_local.svg,
1985         pbds_priority_queue_text_push_pop_timing_test_local.pdf,
1986         pbds_priority_queue_text_push_pop_timing_test_local.png,
1987         pbds_priority_queue_text_push_pop_timing_test_local.svg,
1988         pbds_priority_queue_text_push_timing_test_local.pdf,
1989         pbds_priority_queue_text_push_timing_test_local.png,
1990         pbds_priority_queue_text_push_timing_test_local.svg,
1991         pbds_rationale_null_node_updator.png,
1992         pbds_resize_policy_cd.png, pbds_restoring_node_invariants.png,
1993         pbds_simple_list.png,
1994         pbds_text_find_timing_test_hash_local.pdf,
1995         pbds_text_find_timing_test_hash_local.png,
1996         pbds_text_find_timing_test_hash_local.svg,
1997         pbds_text_find_timing_test_tree_like_local.pdf,
1998         pbds_text_find_timing_test_tree_like_local.png,
1999         pbds_text_find_timing_test_tree_like_local.svg,
2000         pbds_tree_node_invalidations.png,
2001         pbds_tree_node_invariants.png,
2002         pbds_tree_node_updator_policy_cd.png,
2003         pbds_tree_order_statistics_timing_test_local.pdf,
2004         pbds_tree_order_statistics_timing_test_local.png,
2005         pbds_tree_order_statistics_timing_test_local.svg,
2006         pbds_tree_split_join_timing_test_local.pdf,
2007         pbds_tree_split_join_timing_test_local.png,
2008         pbds_tree_split_join_timing_test_local.svg,
2009         pbds_tree_text_insert_timing_test_node_tree_local.pdf,
2010         pbds_tree_text_insert_timing_test_node_tree_local.png,
2011         pbds_tree_text_insert_timing_test_node_tree_local.svg,
2012         pbds_tree_text_insert_timing_test_pat_trie_local.pdf,
2013         pbds_tree_text_insert_timing_test_pat_trie_local.png,
2014         pbds_tree_text_insert_timing_test_pat_trie_local.svg,
2015         pbds_tree_text_insert_timing_test_vector_tree_local.pdf,
2016         pbds_tree_text_insert_timing_test_vector_tree_local.png,
2017         pbds_tree_text_insert_timing_test_vector_tree_local.svg,
2018         pbds_tree_text_lor_find_timing_test_local.pdf,
2019         pbds_tree_text_lor_find_timing_test_local.png,
2020         pbds_tree_text_lor_find_timing_test_local.svg,
2021         pbds_trie_node_updator_policy_cd.png,
2022         pbds_update_seq_diagram.png): Add.
2023
2024         * doc/html/ext/pb_ds: Remove.
2025         * doc/html/ext/pb_ds/(acks.html, assoc_container_tag_cd.png,
2026         assoc_container_tag_cd.svg, assoc_container_traits.html,
2027         assoc_design.html, assoc_examples.html,
2028         associative_container_tag.html, assoc_performance_tests.html,
2029         assoc_regression_tests.html, assoc_tests.html,
2030         balls_and_bins.png, basic_hash_table.html,
2031         basic_hash_tag.html, basic_invalidation_guarantee.html,
2032         basic_tree_assoc_container_const_node_iterator.html,
2033         basic_tree.html, basic_tree_tag.html, binary_heap_tag.html,
2034         binary_priority_queue_random_int_push_timing_test_gcc.png,
2035         binary_priority_queue_random_int_push_timing_test_local.png,
2036         binary_priority_queue_random_int_push_timing_test_msvc.png,
2037         binomial_heap_tag.html,
2038         ccgp_hash_random_int_subscript_timing_test_insert_gcc.png,
2039         ccgp_hash_random_int_subscript_timing_test_insert_local.png,
2040         ccgp_hash_random_int_subscript_timing_test_insert_msvc.png,
2041         cc_hash_max_collision_check_resize_trigger.html,
2042         cc_hash_random_int_find_timing_test_gcc.png,
2043         cc_hash_random_int_find_timing_test_local.png,
2044         cc_hash_random_int_find_timing_test_msvc.png,
2045         cc_hash_random_int_subscript_timing_test_find_gcc.png,
2046         cc_hash_random_int_subscript_timing_test_find_local.png,
2047         cc_hash_random_int_subscript_timing_test_find_msvc.png,
2048         cc_hash_random_int_subscript_timing_test_insert_gcc.png,
2049         cc_hash_random_int_subscript_timing_test_insert_local.png,
2050         cc_hash_random_int_subscript_timing_test_insert_msvc.png,
2051         cc_hash_table.html, cc_hash_tag.html, checked_by_tidy.gif
2052         concepts.html, contact.html, container_base.html,
2053         container_cd.png, container_cd.svg, container_tag.html,
2054         counter_lu_policy.html, design.html,
2055         different_underlying_dss.png, direct_mask_range_hashing.html,
2056         direct_mod_range_hashing.html, disclaimer.html, ds_gen.html,
2057         embedded_lists_1.png, embedded_lists_2.png,
2058         embedded_lists_3.png, examples.html, exceptions.html,
2059         gp_hash_random_int_find_timing_test_gcc.png,
2060         gp_hash_random_int_find_timing_test_local.png,
2061         gp_hash_random_int_find_timing_test_msvc.png,
2062         gp_hash_random_int_subscript_timing_test_find_gcc.png,
2063         gp_hash_random_int_subscript_timing_test_find_local.png,
2064         gp_hash_random_int_subscript_timing_test_find_msvc.png,
2065         gp_hash_random_int_subscript_timing_test_insert_gcc.png,
2066         gp_hash_random_int_subscript_timing_test_insert_local.png,
2067         gp_hash_random_int_subscript_timing_test_insert_msvc.png,
2068         gp_hash_table.html, gp_hash_tag.html,
2069         hash_based_containers.html, hash_exponential_size_policy.html,
2070         hash_load_check_resize_trigger.html, hash_policy_cd.png,
2071         hash_prime_size_policy.html,
2072         hash_random_int_erase_mem_usage_test_gcc.png,
2073         hash_random_int_erase_mem_usage_test.html,
2074         hash_random_int_erase_mem_usage_test_local.png,
2075         hash_random_int_erase_mem_usage_test_msvc.png,
2076         hash_random_int_find_find_timing_test.html,
2077         hash_random_int_subscript_find_timing_test.html,
2078         hash_random_int_subscript_insert_timing_test.html,
2079         hash_ranged_hash_range_hashing_fns.png,
2080         hash_range_hashing_seq_diagram2.png,
2081         hash_range_hashing_seq_diagram.png,
2082         hash_standard_resize_policy.html,
2083         hash_text_find_find_timing_test.html,
2084         hash_zlob_random_int_find_find_timing_test.html,
2085         hash_zlob_random_int_find_timing_test_gcc.png,
2086         hash_zlob_random_int_find_timing_test_local.png,
2087         hash_zlob_random_int_find_timing_test_msvc.png, index.html,
2088         insert_error.html, insert_resize_sequence_diagram1.png,
2089         insert_resize_sequence_diagram2.png,
2090         insert_resize_sequence_diagram3.png, interface.html,
2091         introduction.html, invalidation_guarantee_cd.png,
2092         invalidation_guarantee_erase.png, join_error.html,
2093         linear_probe_fn.html, list_update.html, list_update_tag.html,
2094         lu_based_containers.html, lu.png, misc.html, motivation.html,
2095         move_to_front_lu_policy.html,
2096         multimap_text_find_timing_test_large.html,
2097         multimap_text_find_timing_test_large_s2p_hash_gcc.png,
2098         multimap_text_find_timing_test_large_s2p_hash_local.png,
2099         multimap_text_find_timing_test_large_s2p_hash_msvc.png,
2100         multimap_text_find_timing_test_large_s2p_tree_gcc.png,
2101         multimap_text_find_timing_test_large_s2p_tree_local.png,
2102         multimap_text_find_timing_test_large_s2p_tree_msvc.png,
2103         multimap_text_find_timing_test_small.html,
2104         multimap_text_find_timing_test_small_s2p_hash_gcc.png,
2105         multimap_text_find_timing_test_small_s2p_hash_local.png,
2106         multimap_text_find_timing_test_small_s2p_hash_msvc.png,
2107         multimap_text_find_timing_test_small_s2p_tree_gcc.png,
2108         multimap_text_find_timing_test_small_s2p_tree_local.png,
2109         multimap_text_find_timing_test_small_s2p_tree_msvc.png,
2110         multimap_text_insert_mem_usage_test_large.html,
2111         multimap_text_insert_mem_usage_test_large_s2p_hash_gcc.png,
2112         multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
2113         multimap_text_insert_mem_usage_test_large_s2p_hash_msvc.png,
2114         multimap_text_insert_mem_usage_test_large_s2p_tree_gcc.png,
2115         multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
2116         multimap_text_insert_mem_usage_test_large_s2p_tree_msvc.png,
2117         multimap_text_insert_mem_usage_test_small.html,
2118         multimap_text_insert_mem_usage_test_small_s2p_hash_gcc.png,
2119         multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
2120         multimap_text_insert_mem_usage_test_small_s2p_hash_msvc.png,
2121         multimap_text_insert_mem_usage_test_small_s2p_tree_gcc.png,
2122         multimap_text_insert_mem_usage_test_small_s2p_tree_local.png,
2123         multimap_text_insert_mem_usage_test_small_s2p_tree_msvc.png,
2124         multimap_text_insert_timing_test_large.html,
2125         multimap_text_insert_timing_test_large_s2p_hash_gcc.png,
2126         multimap_text_insert_timing_test_large_s2p_hash_local.png,
2127         multimap_text_insert_timing_test_large_s2p_hash_msvc.png,
2128         multimap_text_insert_timing_test_large_s2p_tree_gcc.png,
2129         multimap_text_insert_timing_test_large_s2p_tree_local.png,
2130         multimap_text_insert_timing_test_large_s2p_tree_msvc.png,
2131         multimap_text_insert_timing_test_small.html,
2132         multimap_text_insert_timing_test_small_s2p_hash_gcc.png,
2133         multimap_text_insert_timing_test_small_s2p_hash_local.png,
2134         multimap_text_insert_timing_test_small_s2p_hash_msvc.png,
2135         multimap_text_insert_timing_test_small_s2p_tree_gcc.png,
2136         multimap_text_insert_timing_test_small_s2p_tree_local.png,
2137         multimap_text_insert_timing_test_small_s2p_tree_msvc.png,
2138         node_invariant_invalidations.png, node_invariants.png,
2139         null_hash_fn.html, null_lu_metadata.html,
2140         null_mapped_type.html, null_probe_fn.html,
2141         null_tree_node_update.html, null_trie_node_update.html,
2142         ov_tree_tag.html, pairing_heap_tag.html,
2143         pairing_priority_queue_text_push_pop_timing_test_gcc.png,
2144         pairing_priority_queue_text_push_pop_timing_test_local.png,
2145         pairing_priority_queue_text_push_pop_timing_test_msvc.png,
2146         pairing_priority_queue_text_push_timing_test_gcc.png,
2147         pairing_priority_queue_text_push_timing_test_local.png,
2148         pairing_priority_queue_text_push_timing_test_msvc.png,
2149         pat_trie.png, pat_trie_tag.html,
2150         point_invalidation_guarantee.html, point_iterators_cd.png,
2151         point_iterators_range_ops_1.png,
2152         point_iterators_range_ops_2.png, pq_container_traits.html,
2153         pq_design.html, pq_different_underlying_dss.png,
2154         pq_examples.html, pq_performance_tests.html,
2155         pq_regression_tests.html, pq_tests.html, prerequisites.html,
2156         priority_queue.html,
2157         priority_queue_random_int_push_pop_timing_test_gcc.png,
2158         priority_queue_random_int_push_pop_timing_test.html,
2159         priority_queue_random_int_push_pop_timing_test_local.png,
2160         priority_queue_random_int_push_pop_timing_test_msvc.png,
2161         priority_queue_random_int_push_timing_test_gcc.png,
2162         priority_queue_random_int_push_timing_test.html,
2163         priority_queue_random_int_push_timing_test_local.png,
2164         priority_queue_random_int_push_timing_test_msvc.png,
2165         priority_queue_tag_cd.png, priority_queue_tag_cd.svg,
2166         priority_queue_tag.html,
2167         priority_queue_text_join_timing_test_gcc.png,
2168         priority_queue_text_join_timing_test.html,
2169         priority_queue_text_join_timing_test_local.png,
2170         priority_queue_text_join_timing_test_msvc.png,
2171         priority_queue_text_modify_down_timing_test_gcc.png,
2172         priority_queue_text_modify_down_timing_test.html,
2173         priority_queue_text_modify_down_timing_test_local.png,
2174         priority_queue_text_modify_down_timing_test_msvc.png,
2175         priority_queue_text_modify_down_timing_test_pairing_thin_gcc.png,
2176         priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
2177         priority_queue_text_modify_down_timing_test_pairing_thin_msvc.png,
2178         priority_queue_text_modify_up_timing_test_gcc.png,
2179         priority_queue_text_modify_up_timing_test.html,
2180         priority_queue_text_modify_up_timing_test_local.png,
2181         priority_queue_text_modify_up_timing_test_msvc.png,
2182         priority_queue_text_modify_up_timing_test_pairing_thin_gcc.png,
2183         priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
2184         priority_queue_text_modify_up_timing_test_pairing_thin_msvc.png,
2185         priority_queue_text_pop_mem_usage_test_gcc.png,
2186         priority_queue_text_pop_mem_usage_test.html,
2187         priority_queue_text_pop_mem_usage_test_local.png,
2188         priority_queue_text_pop_mem_usage_test_msvc.png,
2189         priority_queue_text_push_pop_timing_test_gcc.png,
2190         priority_queue_text_push_pop_timing_test.html,
2191         priority_queue_text_push_pop_timing_test_local.png,
2192         priority_queue_text_push_pop_timing_test_msvc.png,
2193         priority_queue_text_push_timing_test_gcc.png,
2194         priority_queue_text_push_timing_test.html,
2195         priority_queue_text_push_timing_test_local.png,
2196         priority_queue_text_push_timing_test_msvc.png,
2197         PythonPoweredSmall.gif quadratic_probe_fn.html,
2198         random_int_find_find_timing_test_tree_gcc.png,
2199         random_int_find_find_timing_test_tree_local.png,
2200         random_int_find_find_timing_test_tree_msvc.png,
2201         range_invalidation_guarantee.html,
2202         rationale_null_node_updator.png, rb_tree_tag.html,
2203         rc_binomial_heap_tag.html, references.html, resize_error.html,
2204         resize_policy_cd.png, restoring_node_invariants.png,
2205         sample_probe_fn.html, sample_ranged_hash_fn.html,
2206         sample_ranged_probe_fn.html, sample_range_hashing.html,
2207         sample_resize_policy.html, sample_resize_trigger.html,
2208         sample_size_policy.html, sample_tree_node_update.html,
2209         sample_trie_access_traits.html, sample_trie_node_update.html,
2210         sample_update_policy.html, simple_list.png,
2211         splay_tree_tag.html, tests.html,
2212         text_find_timing_test_hash_gcc.png,
2213         text_find_timing_test_hash_local.png,
2214         text_find_timing_test_hash_msvc.png,
2215         text_find_timing_test_tree_like_gcc.png,
2216         text_find_timing_test_tree_like_local.png,
2217         text_find_timing_test_tree_like_msvc.png, thin_heap_tag.html,
2218         tree_based_containers.html, tree.html,
2219         tree_node_iterator.html, tree_node_updator_policy_cd.png,
2220         tree_order_statistics_node_update.html,
2221         tree_order_statistics_timing_test_gcc.png,
2222         tree_order_statistics_timing_test.html,
2223         tree_order_statistics_timing_test_local.png,
2224         tree_order_statistics_timing_test_msvc.png,
2225         tree_random_int_find_find_timing_test.html,
2226         tree_split_join_timing_test_gcc.png,
2227         tree_split_join_timing_test.html,
2228         tree_split_join_timing_test_local.png,
2229         tree_split_join_timing_test_msvc.png, tree_tag.html,
2230         tree_text_find_find_timing_test.html,
2231         tree_text_insert_timing_test.html,
2232         tree_text_insert_timing_test_node_tree_gcc.png,
2233         tree_text_insert_timing_test_node_tree_local.png,
2234         tree_text_insert_timing_test_node_tree_msvc.png,
2235         tree_text_insert_timing_test_pat_trie_gcc.png,
2236         tree_text_insert_timing_test_pat_trie_local.png,
2237         tree_text_insert_timing_test_pat_trie_msvc.png,
2238         tree_text_insert_timing_test_vector_tree_gcc.png,
2239         tree_text_insert_timing_test_vector_tree_local.png,
2240         tree_text_insert_timing_test_vector_tree_msvc.png,
2241         tree_text_lor_find_find_timing_test.html,
2242         tree_text_lor_find_timing_test_gcc.png,
2243         tree_text_lor_find_timing_test_local.png,
2244         tree_text_lor_find_timing_test_msvc.png,
2245         trie_based_containers.html, trie_const_node_iterator.html,
2246         trie.html, trie_node_iterator.html,
2247         trie_node_updator_policy_cd.png,
2248         trie_order_statistics_node_update.html,
2249         trie_prefix_search_node_update.html,
2250         trie_string_access_traits.html, trie_tag.html,
2251         trivial_iterator_tag.html, tutorial.html,
2252         update_policy_cd.png, update_seq_diagram.png): Remove.
2253
2254 2011-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2255
2256         PR c++/49813
2257         * include/c_global/cmath: Use _GLIBCXX_CONSTEXPR and constexpr.
2258
2259 2011-07-27  Jeffrey Yasskin  <jyasskin@google.com>
2260
2261         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Updated.
2262
2263 2011-07-25  Benjamin Kosnik  <bkoz@redhat.com>
2264
2265         * include/std/array (at): Remove constexpr when -fno-exceptions.
2266         * testsuite/23_containers/array/at_neg.cc: Test.
2267
2268 2011-07-25  Paolo Carlini  <paolo.carlini@oracle.com>
2269             Nathan Ridge  <zeratul976@hotmail.com>
2270
2271         PR libstdc++/49836
2272         * include/bits/stl_vector.h (vector<>::_M_emplace_back_aux):
2273         Declare.
2274         (vector<>::push_back(const value_type&)): Use it.
2275         * include/bits/vector.tcc: Define.
2276         (vector<>::emplace_back(_Args&&...)): Use it.
2277         * testsuite/util/testsuite_tr1.h (CopyConsOnlyType, MoveConsOnlyType):
2278         Add.
2279         * testsuite/23_containers/vector/modifiers/push_back/49836.cc: New.
2280         * testsuite/23_containers/deque/modifiers/push_back/49836.cc:
2281         Likewise.
2282         * testsuite/23_containers/deque/modifiers/push_front/49836.cc:
2283         Likewise.
2284         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2285         Adjust dg-error line number.
2286         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2287         Likewise.
2288         * testsuite/23_containers/vector/requirements/dr438/
2289         constructor_1_neg.cc: Likewise.
2290         * testsuite/23_containers/vector/requirements/dr438/
2291         constructor_2_neg.cc: Likewise.
2292
2293 2011-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
2294
2295         * include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt,
2296         _M_bkt_for_elements, _M_need_rehash): Fix typos in the last commit.
2297
2298 2011-07-24  François Dumont  <francois.cppdevs@free.fr>
2299
2300         * include/bits/hashtable_policy.h (_Prime_rehash_policy): Use
2301         __builtin_floor rather than __builtin_ceil to compute next resize
2302         value.
2303         * testsuite/23_containers/unordered_set/hash_policy/load_factor.cc:
2304         New.
2305
2306 2011-07-22  Benjamin Kosnik  <bkoz@redhat.com>
2307             Daniel Krugler  <daniel.kruegler@googlemail.com>
2308
2309         * include/bits/move.h (move, forward): Mark constexpr.
2310         * include/bits/stl_pair.h (pair): Mark move ctors constexpr.
2311         * testsuite/20_util/pair/make_pair/constexpr.cc: New.
2312         * testsuite/20_util/pair/cons/constexpr.cc: Add tests.
2313
2314 2011-07-22  Ian Lance Taylor  <iant@google.com>
2315
2316         * fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed.
2317         * Makefile.in: Rebuild.
2318         * doc/Makefile.in: Rebuild.
2319         * include/Makefile.in: Rebuild.
2320         * libsupc++/Makefile.in: Rebuild.
2321         * po/Makefile.in: Rebuild.
2322         * python/Makefile.in: Rebuild.
2323         * src/Makefile.in: Rebuild.
2324         * testsuite/Makefile.in: Rebuild.
2325
2326 2011-07-21  Benjamin Kosnik  <bkoz@redhat.com>
2327
2328         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Move...
2329         * testsuite/ext/pb_ds/regression/tree_set_rand.cc: ... here.
2330         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: Move...
2331         * testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc: ... here.
2332         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Move...
2333         * testsuite/ext/pb_ds/regression/tree_map_rand.cc: ... here.
2334         * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: Move...
2335         * testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc: ... here.
2336
2337         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Move...
2338         * testsuite/ext/pb_ds/regression/trie_set_rand.cc: ... here.
2339         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: Move...
2340         * testsuite/ext/pb_ds/regression/trie_set_rand_debug.cc: ... here.
2341         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Move...
2342         * testsuite/ext/pb_ds/regression/trie_map_rand.cc: ... here.
2343         * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: Move...
2344         * testsuite/ext/pb_ds/regression/trie_map_rand_debug.cc: ... here.
2345
2346         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Move.
2347         * testsuite/ext/pb_ds/regression/list_update_set_rand.cc: ...here.
2348         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
2349         Move...
2350         * testsuite/ext/pb_ds/regression/list_update_set_rand_debug.cc: ...here.
2351         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Move...
2352         * testsuite/ext/pb_ds/regression/list_update_map_rand.cc: ...here.
2353         * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
2354         Move...
2355         * testsuite/ext/pb_ds/regression/list_update_map_rand_debug.cc: ...here.
2356
2357         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Move...
2358         * testsuite/ext/pb_ds/regression/hash_set_rand.cc: ...here.
2359         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: Move...
2360         * testsuite/ext/pb_ds/regression/hash_set_rand_debug.cc: ...here.
2361
2362         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Move...
2363         * testsuite/ext/pb_ds/regression/hash_map_rand.cc: ...here.
2364         * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: Move...
2365         * testsuite/ext/pb_ds/regression/hash_map_rand_debug.cc: ...here.
2366
2367 2011-07-21  François Dumont  <francois.cppdevs@free.fr>
2368
2369         * include/debug/safe_unordered_sequence.h,
2370         safe_unordered_sequence.tcc: Rename respectively in...
2371         * include/debug/safe_unordered_container.h,
2372         safe_unordered_container.tcc: ...those. _Safe_unordered_sequence
2373         rename _Safe_unordered_container.
2374         * include/debug/safe_unordered_base.h: _Safe_unordered_sequence_base
2375         rename _Safe_unordered_container_base.
2376         * include/debug/unordered_map, unordered_set: Adapt to previous
2377         modifications.
2378         * config/abi/pre/gnu.ver: Likewise.
2379         * src/debug.cc: Likewise.
2380         * include/Makefile.am: Likewise.
2381         * include/Makefile.in: Regenerate.
2382
2383 2011-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
2384
2385         * include/std/mutex (timed_mutex, recursive_timed_mutex): Update
2386         to use steady_clock instead of monotonic_clock.
2387         * config/abi/pre/gnu.ver: Export steady_clock::now.
2388
2389 2011-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2390             Daniel Krugler  <daniel.kruegler@googlemail.com>
2391
2392         * include/std/array (array::at, array::operator[]): Mark constexpr.
2393         * testsuite/23_containers/array/requirements/
2394         constexpr_element_access.cc: Add.
2395
2396 2011-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2397             Daniel Krugler  <daniel.kruegler@googlemail.com>
2398
2399         * include/std/chrono: (system_clock::is_steady): Update to N3291
2400         from is_monotonic.
2401         (time_point): Mark nonmember arithmetic operators constexpr.
2402         * src/chrono.cc: Modify for above.
2403         * src/compatibility-c++0x.cc: Same.
2404         * testsuite/20_util/time_point/nonmember/constexpr.cc: New.
2405         * testsuite/20_util/time_point/1.cc: Modify.
2406         * testsuite/20_util/system_clock/constexpr_data.cc: Modify.
2407         * testsuite/20_util/system_clock/1.cc: Modify.
2408         * testsuite/20_util/monotonic_clock/constexpr_data.cc: Move to...
2409         * testsuite/20_util/steady_clock/constexpr_data.cc: ...here.
2410         * testsuite/30_threads/condition_variable/members/2.cc: Modify.
2411         * testsuite/30_threads/condition_variable_any/members/2.cc: Modify.
2412
2413 2011-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
2414
2415         * include/std/system_error: Use noexcept.
2416         * src/system_error.cc: Likewise.
2417         * testsuite/19_diagnostics/error_condition/modifiers/39881.cc: Adjust.
2418         * testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
2419         * testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
2420         * testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
2421         * testsuite/util/testsuite_error.h: Likewise.
2422
2423         * include/std/system_error (error_code::error_code(_ErrorCodeEnum)):
2424         Use enable_if on template parameter default.
2425         (error_condition::error_condition(_ErrorConditionEnum)): Likewise.
2426
2427 2011-07-20  Ed Smith-Rowland  <3dw4rd@verizon.net>
2428
2429         * include/precompiled/stdc++.h: Add scoped_allocator.
2430
2431 2011-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2432
2433         * include/std/bitset (operator[]): Make constexpr.
2434         * testsuite/23_containers/bitset/operations/constexpr.cc: New.
2435
2436 2011-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
2437
2438         * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
2439         _Safe_local_iterator(const _Iterator&, size_type, const _Sequence*)):
2440         Fix typo.
2441
2442 2011-07-19  François Dumont  <francois.cppdevs@free.fr>
2443
2444         * include/debug/safe_unordered_base.h, safe_unordered_sequence.h,
2445         safe_unordered_sequence.tcc, safe_local_iterator.h,
2446         safe_local_iterator.tcc: New, support for unordered sequence safe
2447         local iterators.
2448         * include/Makefile.am: Add previous files.
2449         * include/Makefile.in: Regenerate.
2450         * include/debug/unordered_map, unordered_set: Implement
2451         _Safe_unordered_sequence and expose _Safe_local_iterator.
2452         * include/debug/safe_iterator.h, safe_iterator.tcc: Refactor
2453         _Safe_iterator::_M_get_distance static method to expose it as
2454         __get_distance function and use it in _Safe_local_iterator type.
2455         * include/debug/formatter.h: Add __msg_local_iter_compare_bad
2456         _Debug_msg_id enum entry to notify invalid comparison between local
2457         iterators from different buckets. Add _Parameter constructor from
2458         _Safe_local_iterator.
2459         * include/debug/functions.h: Add __valid_range overload for
2460         _Safe_local_iterator.
2461         * src/debug.cc: Add _Safe_unordered_sequence_base and
2462         _Safe_local_iterator_base methods implementations.
2463         * config/abi/pre/gnu.ver: Add export of some
2464         _Safe_unordered_sequence_base and _Safe_local_iterator_base methods.
2465         * testsuite/util/debug/checks.h: Add use_invalid_iterator function to
2466         simulate use of a singular iterator.
2467         * testsuite/util/debug/unordered_checks.h: New, several functions
2468         to simulate classic invalid usage of unordered sequence local
2469         iterators.
2470         * testsuite/23_containers/unordered_map/debug/
2471         use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
2472         use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
2473         invalid_local_iterator_compare_neg.cc: New.
2474         * testsuite/23_containers/unordered_multimap/debug/
2475         use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
2476         use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
2477         invalid_local_iterator_compare_neg.cc: New.
2478         * testsuite/23_containers/unordered_set/debug/
2479         use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
2480         use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
2481         invalid_local_iterator_compare_neg.cc: New.
2482         * testsuite/23_containers/unordered_multiset/debug/
2483         use_erased_local_iterator_neg.cc, invalid_local_iterator_range_neg.cc,
2484         use_invalid_local_iterator_neg.cc, use_invalid_iterator_neg.cc,
2485         invalid_local_iterator_compare_neg.cc: New.
2486
2487 2011-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
2488
2489         PR libstdc++/48430
2490         * include/bits/shared_ptr.h (struct hash<shared_ptr<>>): Use
2491         __hash_base.
2492         * include/bits/unique_ptr.h (struct hash<unique_ptr<>>): Likewise.
2493
2494 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2495
2496         * crossconfig.m4 (*-netware): Remove.
2497         * configure: Regenerate.
2498
2499 2011-07-15  Yufeng Zhang  <yufeng.zhang@arm.com>
2500
2501         * config/locale/newlib/ctype_members.cc: New file.
2502         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale
2503         kind: newlib.  Configure to use the newlib specific
2504         ctype_members.cc when with_newlib is enabled.
2505         * configure: Regenerate.
2506
2507 2011-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
2508             Jakub Jelinek  <jakub@redhat.com>
2509
2510         PR libstdc++/49745
2511         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
2512         _POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
2513         * libsupc++/guard.cc: Include <unistd.h>.
2514         * testsuite/17_intro/headers/c++1998/49745.cc: New.
2515         * configure: Regenerate.
2516         * config.h.in: Likewise.
2517
2518 2011-07-11  Paolo Carlini  <paolo.carlini@oracle.com>
2519
2520         PR libstdc++/49559
2521         * include/bits/stl_algo.h (__move_merge_backward): Remove.
2522         (__move_merge_adaptive, __move_merge_adaptive_backward): New.
2523         (__merge_adaptive): Use the latter two.
2524         (__rotate_adaptive): Avoid self move-assignment.
2525         * include/bits/stl_algobase.h (move_backward): Fix comment.
2526         * testsuite/25_algorithms/stable_sort/49559.cc: New.
2527         * testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
2528         * testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
2529         * testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
2530         * testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
2531         (rvalstruct&&)): Check for self move-assignment.
2532
2533 2011-07-11  Paolo Carlini  <paolo.carlini@oracle.com>
2534
2535         * testsuite/util/testsuite_allocator.h (propagating_allocator<>::
2536         operator=(const propagating_allocator<>&)): Retun *this.
2537
2538 2011-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2539
2540         * include/Makefile.am: Add new header.
2541         * include/Makefile.in: Regenerate.
2542         * include/std/scoped_allocator: New.
2543         * doc/xml/manual/status_cxx200x.xml: Update.
2544         * testsuite/20_util/scoped_allocator/1.cc: New.
2545         * testsuite/20_util/scoped_allocator/propagation.cc: New.
2546         * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
2547         * testsuite/20_util/scoped_allocator/requirements/
2548         explicit_instantiation.cc: New.
2549
2550 2011-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2551
2552         * include/bits/stl_vector.h: Use new allocator model in C++0x mode.
2553         * include/bits/vector.tcc: Likewise.
2554         * testsuite/util/testsuite_allocator.h (propagating_allocator): Define.
2555         * testsuite/23_containers/vector/allocator/copy_assign.cc: New.
2556         * testsuite/23_containers/vector/allocator/noexcept.cc: New.
2557         * testsuite/23_containers/vector/allocator/copy.cc: New.
2558         * testsuite/23_containers/vector/allocator/swap.cc: New.
2559         * testsuite/23_containers/vector/allocator/move_assign.cc: New.
2560         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2561         Adjust dg-error line numbers.
2562         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2563         Likewise.
2564         * testsuite/23_containers/vector/requirements/dr438/
2565         constructor_1_neg.cc: Likewise.
2566         * testsuite/23_containers/vector/requirements/dr438/
2567         constructor_2_neg.cc: Likewise.
2568
2569 2011-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2570
2571         * include/ext/alloc_traits.h (__allocator_always_compares_equal): New
2572         trait, provide partial specializations for known allocators.
2573         (__alloc_traits::construct, __alloc_traits::destroy): Overload for
2574         non-standard pointer types.
2575         (__alloc_traits::_S_always_equal): New trait for use with noexcept.
2576         (__alloc_traits::_S_nothrow_move): Likewise.
2577         (__alloc_traits::_S_nothrow_swap): Likewise.
2578
2579 2011-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2580
2581         * include/ext/cast.h: Fix typo in include guard.
2582         * include/ext/pointer.h (_Unqualified_type): Remove redundant
2583         partial specializations for volatile types. Fix typos in comments.
2584         (pointer_traits<_Pointer_adaptor<Tp>>::pointer_to): Define.
2585
2586 2011-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2587
2588         PR libstdc++/49668
2589         * include/std/functional (__bind_simple): Define.
2590         * include/std/future (_Task_setter): Parameterize by type of result
2591         pointer instead of state object.
2592         (_S_task_setter): Type deduction helper.
2593         (_Task_state): Use _S_task_setter and __bind_simple.
2594         (_Deferred_state, _Async_state): Store call wrapper directly not as
2595         std::function. Use _S_task_setter and __bind_simple.
2596         (_S_make_deferred_state, _S_make_async_state): Type deduction helpers.
2597         (async): Use new functions and __bind_simple.
2598         * include/std/mutex (call_once): Use __bind_simple.
2599         * include/std/thread (thread): Likewise. Remove unused headers.
2600         * src/thread.cc: Add header.
2601         * testsuite/30_threads/async/49668.cc: New.
2602         * testsuite/30_threads/call_once/49668.cc: New.
2603         * testsuite/30_threads/thread/cons/49668.cc: New.
2604         * testsuite/30_threads/thread/cons/moveable.cc: Remove unused bool.
2605
2606 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2607
2608         * configure.host (abi_baseline_subdir_switch): Describe.
2609         Provide default.
2610         (*-*-solaris2.[89], *-*-solaris2.1[0-9]): Override.
2611         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Substitute
2612         baseline_subdir_switch.
2613         * testsuite/Makefile.am (site.exp): Emit it.
2614         (baseline_subdir): Use it.
2615         * testsuite/libstdc++-abi/abi.exp: Use it.
2616         * configure: Regenerate.
2617         * Makefile.in: Regenerate.
2618         * doc/Makefile.in: Regenerate.
2619         * include/Makefile.in: Regenerate.
2620         * libsupc++/Makefile.in: Regenerate.
2621         * po/Makefile.in: Regenerate.
2622         * python/Makefile.in: Regenerate.
2623         * src/Makefile.in: Regenerate.
2624         * testsuite/Makefile.in: Regenerate.
2625
2626 2011-06-29  François Dumont  <francois.cppdevs@free.fr>
2627
2628         * include/debug/set.h, unordered_map, multiset.h, forward_list,
2629         unordered_set, vector, deque, string, list, multimap.h: Remove
2630         base class default constructor calls.
2631         * include/debug/map.h: Likewise and cleanup several redefinition of
2632         base iterator typedef.
2633
2634 2011-06-29  Nathan Sidwell  <nathan@codesourcery.com>
2635
2636         * libsupc++/eh_arm.c (__cxa_type_match): Construct address of
2637         thrown object here.  Return succeded_with_ptr_to_base for all
2638         pointer cases.
2639
2640 2011-06-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
2641
2642         * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Fix for
2643         C++0x mode.
2644         * testsuite/25_algorithms/sort/35588.cc: Likewise.
2645         * testsuite/26_numerics/headers/complex/synopsis.cc: Likewise.
2646
2647 2011-06-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
2648
2649         * testsuite/20_util/bind/socket.cc: Use variable and remove attribute.
2650
2651 2011-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
2652
2653         * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Avoid -Wall
2654         warning.
2655
2656 2011-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
2657
2658         * testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings.
2659         * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
2660         * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
2661         * testsuite/20_util/allocator_traits/members/allocate_hint.cc:
2662         Likewise.
2663         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
2664         * testsuite/20_util/bind/socket.cc: Likewise.
2665         * testsuite/20_util/pointer_traits/pointer_to.cc: Likewise.
2666         * testsuite/util/testsuite_random.h: Likewise.
2667
2668 2011-06-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
2669
2670         * include/Makefile.am: Add alloc_traits.h headers.
2671         * include/Makefile.in: Regenerate.
2672         * include/std/memory: Include uses_allocator.h explicitly.
2673         * include/bits/allocator.h (allocator_traits): Move to ...
2674         * include/bits/alloc_traits.h: New header.
2675         * include/ext/alloc_traits.h (__alloc_traits): Extension to provide
2676         a common allocator interface for C++98 and C++0x.
2677         * include/bits/stl_construct.h: Use __alloc_traits.
2678         * include/bits/stl_uninitialized.h: Likewise.
2679
2680 2011-06-22  Daniel Krugler  <daniel.kruegler@googlemail.com>
2681             Paolo Carlini  <paolo.carlini@oracle.com>
2682
2683         * include/bits/move.h (__is_nothrow_swappable): Add.
2684         (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Use noexcept.
2685         * include/bits/algorithmfwd.h: Adjust.
2686         * testsuite/25_algorithms/swap/noexcept.cc: New.
2687
2688 2011-06-21  Jakub Jelinek  <jakub@redhat.com>
2689
2690         * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add
2691         check-DEJAGNUnormal[4-9].
2692         (check-DEJAGNU): Split into 10 jobs for parallel testing instead of 4.
2693         * testsuite/Makefile.in: Regenerated.
2694
2695 2011-06-20  Daniel Krugler  <daniel.kruegler@googlemail.com>
2696             Paolo Carlini  <paolo.carlini@oracle.com>
2697
2698         * include/std/tuple (__conv_types, __one_by_one_convertible,
2699         __all_convertible): Add.
2700         (tuple): Use the latter.
2701         (tuple<_T1>): Remove.
2702         * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error
2703         line number.
2704         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2705
2706 2011-06-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2707
2708         * include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use
2709         noexcept.
2710
2711 2011-06-14  Paolo Carlini  <paolo.carlini@oracle.com>
2712
2713         * include/std/valarray (~valarray): Use noexcept.
2714         * include/bits/unique_ptr.h (~unique_ptr): Likewise.
2715         * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New.
2716         * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc:
2717         Likewise.
2718         * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc:
2719         Likewise.
2720         * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc:
2721         Likewise.
2722
2723 2011-06-14  Paolo Carlini  <paolo.carlini@oracle.com>
2724
2725         * include/std/functional: Use noexcept.
2726         * include/bits/stl_tempbuf.h: Likewise.
2727
2728 2011-06-12  François Dumont  <francois.cppdevs@free.fr>
2729             Paolo Carlini  <paolo.carlini@oracle.com>
2730
2731         * include/bits/allocator.h (__shrink_to_fit): Rename to
2732         __shrink_to_fit_aux, fix.
2733         * include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
2734         (shrink_to_fit): Use the latter.
2735         * include/debug/vector (shrink_to_fit): Likewise.
2736         * include/bits/vector.tcc (_M_shrink_to_fit): Define.
2737         * include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
2738         (shrink_to_fit): Use the latter.
2739         * include/debug/deque (shrink_to_fit): Likewise.
2740         * include/bits/deque.tcc (_M_shrink_to_fit): Define.
2741         * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
2742         * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
2743         (shrink_to_fit): Use the latter.
2744         (reserve): Use _M_reallocate, move inline.
2745         (_Bvector_base<>::_S_nword): Add, use it throughout.
2746         * include/debug/string (shrink_to_fit): Redo.
2747         * include/ext/vstring.h (shrink_to_fit): Optimize.
2748         * include/bits/basic_string.h (shrink_to_fit): Likewise.
2749         * testsuite/21_strings/debug/shrink_to_fit.cc: New.
2750         * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
2751         * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
2752         Likewise.
2753         * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
2754         Likewise.
2755         * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
2756
2757 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2758
2759         * include/ext/extptr_allocator.h (construct, destroy): Fix for C++0x
2760         mode by overloading to take allocator's pointer type.
2761         * testsuite/23_containers/vector/ext_pointer/types/2.cc: New.
2762         * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
2763         2.cc: New.
2764
2765 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2766
2767         * testsuite/20_util/allocator_traits/requirements/
2768         explicit_instantiation.cc: Add another instantiation.
2769
2770 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2771
2772         * testsuite/20_util/allocator_traits/requirements/typedefs.cc: Check
2773         for allocator_type and value_type.
2774
2775 2011-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2776
2777         * testsuite/30_threads/packaged_task/uses_allocator.cc: New.
2778         * testsuite/30_threads/promise/uses_allocator.cc: Likewise.
2779
2780 2011-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
2781
2782         * include/ext/throw_allocator.h: Use noexcept.
2783         * include/ext/pool_allocator.h: Likewise.
2784         * include/ext/bitmap_allocator.h: Likewise.
2785         * include/ext/new_allocator.h: Likewise.
2786         * include/ext/malloc_allocator.h: Likewise.
2787         * include/ext/array_allocator.h: Likewise.
2788         * include/ext/mt_allocator.h: Likewise.
2789         * include/ext/extptr_allocator.h: Likewise.
2790         * testsuite/util/testsuite_allocator.h: Likewise; do not include
2791         <cassert> directly, include <testsuite_hooks.h> instead.
2792
2793 2011-06-10  Benjamin Kosnik  <bkoz@redhat.com>
2794
2795         * include/ext/pb_ds/*: Doxygen markup redo.
2796         * include/Makefile.am: Fold in constructors_destructor_fn_imps.hpp.
2797         * include/Makefile.in: Regenerate.
2798
2799 2011-06-10  Jason Merrill  <jason@redhat.com>
2800
2801         * testsuite/20_util/bind/ref_neg.cc: Remove wrong test lines.
2802
2803         * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
2804         fix dg-error markup.
2805
2806 2011-06-09  Jason Merrill  <jason@redhat.com>
2807
2808         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
2809
2810         * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
2811         * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
2812         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2813         * testsuite/20_util/forward/1_neg.cc: Likewise.
2814         * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
2815         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
2816         * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
2817         * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
2818         * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
2819         Likewise.
2820         * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
2821         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
2822         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
2823         Likewise.
2824         * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
2825         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
2826         * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
2827         Likewise.
2828         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
2829         auto_ptr_rvalue_neg.cc: Likewise.
2830         * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
2831         Likewise.
2832         * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
2833         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2834         Likewise.
2835         * testsuite/23_containers/deque/requirements/dr438/
2836         constructor_1_neg.cc: Likewise.
2837         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2838         Likewise.
2839         * testsuite/23_containers/forward_list/requirements/dr438/
2840         assign_neg.cc: Likewise.
2841         * testsuite/23_containers/forward_list/requirements/dr438/
2842         constructor_1_neg.cc: Likewise.
2843         * testsuite/23_containers/forward_list/requirements/dr438/
2844         constructor_2_neg.cc: Likewise.
2845         * testsuite/23_containers/forward_list/requirements/dr438/
2846         insert_neg.cc: Likewise.
2847         * testsuite/23_containers/list/requirements/dr438/
2848         assign_neg.cc: Likewise.
2849         * testsuite/23_containers/list/requirements/dr438/
2850         constructor_1_neg.cc: Likewise.
2851         * testsuite/23_containers/list/requirements/dr438/
2852         constructor_2_neg.cc: Likewise.
2853         * testsuite/23_containers/list/requirements/dr438/
2854         insert_neg.cc: Likewise.
2855         * testsuite/23_containers/vector/requirements/dr438/
2856         assign_neg.cc: Likewise.
2857         * testsuite/23_containers/vector/requirements/dr438/
2858         constructor_1_neg.cc: Likewise.
2859         * testsuite/23_containers/vector/requirements/dr438/
2860         constructor_2_neg.cc: Likewise.
2861         * testsuite/23_containers/vector/requirements/dr438/
2862         insert_neg.cc: Likewise.
2863         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
2864         * testsuite/29_atomics/atomic_integral/operators/
2865         bitwise_neg.cc: Likewise.
2866         * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
2867         * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
2868         * testsuite/decimal/operator_neg.cc: Likewise.
2869
2870 2011-06-09  Simon Baldwin  <simonb@google.com>
2871
2872         * scripts/extract_symvers.in: Handle processor/OS specific or
2873         unknown symbol binding strings from readelf.
2874
2875 2011-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2876
2877         * include/std/type_traits (__is_copy_assignable_impl,
2878         __is_nt_copy_assignable_impl): Fix typo.
2879
2880 2011-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
2881
2882         * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
2883         instead of <limits>.
2884         * include/bits/allocator.h: Likewise.
2885
2886         * include/std/chrono (duration_values<>::min): Call lowest, not min.
2887
2888 2011-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
2889
2890         * include/bits/allocator.h (__shrink_to_fit): Simplify.
2891         * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
2892         * include/bits/stl_deque.h: Likewise.
2893         * include/bits/stl_bvector.h: Likewise.
2894
2895 2011-06-07  Jason Merrill  <jason@redhat.com>
2896
2897         * testsuite/lib/prune.exp: s/required/instantiated/.
2898         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2899         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
2900         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2901         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2902         * testsuite/20_util/forward/1_neg.cc: Likewise.
2903         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
2904         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2905         Likewise.
2906         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
2907         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
2908         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
2909         * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
2910         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
2911         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
2912         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
2913         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
2914         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
2915         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
2916         shared_ptr_neg.cc: Likewise.
2917
2918 2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
2919
2920         * include/bits/move.h (struct __move_if_noexcept_cond): Add.
2921         (move_if_noexcept): Use the latter.
2922         * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
2923         _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
2924         * include/bits/stl_uninitialized.h
2925         (__uninitialized_move_if_noexcept_a): Add.
2926         * include/bits/vector.tcc (vector<>::reserve): Use
2927         _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
2928         (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
2929         _M_range_insert): Use __uninitialized_move_if_noexcept_a.
2930         * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
2931         Add.
2932         (copycounter::copycounter(copycounter&&)): Use noexcept.
2933         * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
2934         * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
2935         Likewise.
2936         * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
2937         Likewise.
2938
2939 2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
2940
2941         PR libstdc++/49293
2942         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
2943         for glibc 2.14.
2944         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
2945
2946 2011-06-06  Paolo Carlini  <paolo.carlini@oracle.com>
2947
2948         * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
2949
2950 2011-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2951
2952         * include/bits/ptr_traits.h (pointer_traits): Fix typos.
2953         * include/ext/pointer.h (pointer_traits): Add partial specialization
2954         for _Pointer_adapter.
2955
2956 2011-06-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
2957
2958         * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
2959         Update to C++0x definition using type to construct as template
2960         parameter.
2961         (tracker_allocator::destroy): Likewise for type to destroy.
2962         (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
2963
2964 2011-06-01  Paolo Carlini  <paolo.carlini@oracle.com>
2965
2966         * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
2967         Use std::move on the allocator, use noexcept.
2968         (_Hashtable<>::~_Hashtable): Use noexcept.
2969         * include/bits/stl_list.h: Likewise.
2970         * include/bits/forward_list.h: Likewise.
2971         * include/bits/stl_vector.h: Likewise.
2972         * include/bits/stl_bvector.h: Likewise.
2973         * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
2974         * include/bits/stl_set.h: Likewise.
2975         * include/bits/stl_multimap.h: Likewise.
2976         * include/bits/stl_multiset.h: Likewise.
2977         * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
2978         std::move on the allocator.
2979         (_Rb_tree<>::~_Rb_tree): Use noexcept.
2980         * include/bits/stl_deque.h: Likewise.
2981         * include/bits/basic_string.h (basic_string<>::~basic_string): Use
2982         noexcept.
2983         * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
2984         * include/debug/set.h: Adjust.
2985         * include/debug/unordered_map: Likewise.
2986         * include/debug/multiset.h: Likewise.
2987         * include/debug/forward_list: Likewise.
2988         * include/debug/vector: Likewise.
2989         * include/debug/unordered_set: Likewise.
2990         * include/debug/deque: Likewise.
2991         * include/debug/map.h: Likewise.
2992         * include/debug/string: Likewise.
2993         * include/debug/list: Likewise.
2994         * include/debug/multimap.h: Likewise.
2995         * include/profile/set.h: Likewise.
2996         * include/profile/unordered_map: Likewise.
2997         * include/profile/multiset.h: Likewise.
2998         * include/profile/forward_list: Likewise.
2999         * include/profile/unordered_set: Likewise.
3000         * include/profile/vector: Likewise.
3001         * include/profile/deque: Likewise.
3002         * include/profile/map.h: Likewise.
3003         * include/profile/list: Likewise.
3004         * include/profile/multimap.h: Likewise.
3005         * testsuite/21_strings/basic_string/cons/wchar_t/
3006         noexcept_move_construct.cc: New.
3007         * testsuite/21_strings/basic_string/cons/char/
3008         noexcept_move_construct.cc: Likewise.
3009         * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
3010         * testsuite/23_containers/unordered_map/cons/
3011         noexcept_move_construct.cc: Likewise.
3012         * testsuite/23_containers/multimap/cons/
3013         noexcept_move_construct.cc: Likewise.
3014         * testsuite/23_containers/set/cons/
3015         noexcept_move_construct.cc: Likewise.
3016         * testsuite/23_containers/unordered_multimap/cons/
3017         noexcept_move_construct.cc: Likewise.
3018         * testsuite/23_containers/forward_list/cons/
3019         noexcept_move_construct.cc: Likewise.
3020         * testsuite/23_containers/unordered_set/cons/
3021         noexcept_move_construct.cc: Likewise.
3022         * testsuite/23_containers/vector/bool/cons/
3023         noexcept_move_construct.cc: Likewise.
3024         * testsuite/23_containers/vector/cons/
3025         noexcept_move_construct.cc: Likewise.
3026         * testsuite/23_containers/multiset/cons/
3027         noexcept_move_construct.cc: Likewise.
3028         * testsuite/23_containers/list/cons/
3029         noexcept_move_construct.cc: Likewise.
3030         * testsuite/23_containers/unordered_multiset/cons/
3031         noexcept_move_construct.cc: Likewise.
3032         * testsuite/23_containers/map/cons/noexcept_move_construct.cc
3033         * testsuite/23_containers/forward_list/requirements/dr438/
3034         assign_neg.cc: Adjust dg-error line numbers.
3035         * testsuite/23_containers/forward_list/requirements/dr438/
3036         insert_neg.cc: Likewise.
3037         * testsuite/23_containers/forward_list/requirements/dr438/
3038         constructor_1_neg.cc: Likewise.
3039         * testsuite/23_containers/forward_list/requirements/dr438/
3040         constructor_2_neg.cc: Likewise.
3041         * testsuite/23_containers/vector/requirements/dr438/
3042         assign_neg.cc: Likewise.
3043         * testsuite/23_containers/vector/requirements/dr438/
3044         insert_neg.cc: Likewise.
3045         * testsuite/23_containers/vector/requirements/dr438/
3046         constructor_1_neg.cc: Likewise.
3047         * testsuite/23_containers/vector/requirements/dr438/
3048         constructor_2_neg.cc: Likewise.
3049         * testsuite/23_containers/deque/requirements/dr438/
3050         assign_neg.cc: Likewise.
3051         * testsuite/23_containers/deque/requirements/dr438/
3052         insert_neg.cc: Likewise.
3053         * testsuite/23_containers/deque/requirements/dr438/
3054         constructor_1_neg.cc: Likewise.
3055         * testsuite/23_containers/deque/requirements/dr438/
3056         constructor_2_neg.cc: Likewise.
3057         * testsuite/23_containers/list/requirements/dr438/
3058         assign_neg.cc: Likewise.
3059         * testsuite/23_containers/list/requirements/dr438/
3060         insert_neg.cc: Likewise.
3061         * testsuite/23_containers/list/requirements/dr438/
3062         constructor_1_neg.cc: Likewise.
3063         * testsuite/23_containers/list/requirements/dr438/
3064         constructor_2_neg.cc: Likewise.
3065
3066         * include/bits/move.h (swap): Use __and_ in the noexcept.
3067         * include/bits/algorithmfwd.h: Adjust.
3068
3069 2011-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
3070
3071         * include/bits/basic_string.h: Use noexcept per the FDIS (minus
3072         compare(const string&), which uses char_traits::compare, which
3073         isn't noexcept; also no noexcept in the move assignment operator
3074         and move assign, see c++std-lib-30855).
3075         * include/bits/basic_string.tcc: Likewise.
3076         * include/ext/vstring.h: Likewise.
3077         * include/ext/vstring.tcc: Likewise.
3078         * include/debug/string: Likewise.
3079
3080 2011-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
3081
3082         * doc/xml/manual/status_cxx200x.xml: Update.
3083         * doc/html/*: Regenerate.
3084
3085 2011-05-30  Paolo Carlini  <paolo.carlini@oracle.com>
3086
3087         * include/std/type_traits (__or_, __and_): Add trivial definitions
3088         for a single element.
3089         * include/bits/stl_pair.h: Use __and_ in noexcept specs and
3090         constraints.
3091         (pair<>::pair(pair&&)): Define.
3092         (pair<>::pair(const pair<>&)): Constrain with is_convertible.
3093         (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
3094         * include/std/tuple: Use __and_ in noexcept specs and constraints.
3095         (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
3096         _Tuple_impl&&)): Remove noexcept.
3097         (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
3098         tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
3099         tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
3100         * testsuite/20_util/tuple/moveable2.cc: Use = delete.
3101         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3102         Adjust dg-error line numbers.
3103         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3104         Likewise.
3105         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3106         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
3107         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
3108
3109 2011-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
3110
3111         * include/std/tuple: Restore is_convertible constraint.
3112         * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
3113
3114 2011-05-30  Paolo Carlini  <paolo.carlini@oracle.com>
3115
3116         PR libstdc++/49236
3117         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
3118         line number.
3119
3120 2011-05-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
3121
3122         * include/std/tuple: Implement uses-allocator construction.
3123         * include/bits/allocator.h (uses_allocator): Move to ...
3124         * include/bits/uses_allocator.h: New file.
3125         * include/Makefile.am: Add new header.
3126         * include/Makefile.in: Regenerate.
3127         * testsuite/20_util/uses_allocator/cons_neg.cc: New.
3128         * testsuite/20_util/uses_allocator/construction.cc: New.
3129         * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
3130         * testsuite/20_util/tuple/cons/allocators.cc: New.
3131
3132 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
3133
3134         * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
3135
3136 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
3137
3138         * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
3139         GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
3140         * configure.ac: Use them. Increase minor version.
3141         * configure: Regenerate.
3142         * config.h.in: Regenerate.
3143         * include/std/thread (thread::hardware_concurrency): Remove inline
3144         definition.
3145         * src/thread.cc (thread::hardware_concurrency): Define.
3146         * config/abi/pre/gnu.ver: Export new symbol @3.4.17
3147         * testsuite/util/testsuite_abi.cc: Add new version.
3148         * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
3149         * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
3150         * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
3151         dg-require-nprocs and verify hardware_concurrency returns non-zero.
3152
3153 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
3154
3155         * testsuite/20_util/pointer_traits/pointer_to.cc: New.
3156
3157 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
3158
3159         * include/Makefile.am: Add new ptr_traits.h header.
3160         * include/Makefile.in: Regenerate.
3161         * include/bits/ptr_traits.h (pointer_traits): New.
3162         * include/bits/allocator.h (allocator_traits): Add.
3163         * include/ext/array_allocator.h (construct, destroy): Update C++0x
3164         versions.
3165         * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
3166         * include/ext/extptr_allocator.h (construct, destroy): Likewise.
3167         * include/ext/malloc_allocator.h (construct, destroy): Likewise.
3168         * include/ext/mt_allocator.h (construct, destroy): Likewise.
3169         * include/ext/new_allocator.h (construct, destroy): Likewise.
3170         * include/ext/pool_allocator.h (construct, destroy): Likewise.
3171         * include/ext/throw_allocator.h (construct, destroy): Likewise.
3172         * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
3173         * testsuite/20_util/allocator_traits/requirements/
3174         explicit_instantiation.cc: New.
3175         * testsuite/20_util/allocator_traits/members/max_size.cc: New.
3176         * testsuite/20_util/allocator_traits/members/select.cc: New.
3177         * testsuite/20_util/allocator_traits/members/construct.cc: New.
3178         * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
3179         * testsuite/20_util/allocator_traits/members/destroy.cc: New.
3180         * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
3181         * testsuite/20_util/pointer_traits/requirements/
3182         explicit_instantiation.cc: New.
3183
3184 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
3185
3186         * include/std/future (launch): Update enumerators and define
3187         operators required for bitmask type. Remove trailing whitespace.
3188         * src/future.cc: Remove trailing whitespace.
3189         * testsuite/30_threads/async/any.cc: Adjust.
3190         * testsuite/30_threads/async/sync.cc: Adjust.
3191         * testsuite/30_threads/async/launch.cc: New.
3192
3193 2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
3194
3195         * include/std/future: Use noexcept.
3196         * src/future.cc: Likewise.
3197
3198 2011-05-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
3199
3200         * include/std/thread (this_thread::sleep_until): Move after sleep_for.
3201
3202 2011-05-27  Paolo Carlini  <paolo.carlini@oracle.com>
3203
3204         PR libstdc++/49187
3205         * include/parallel/losertree.h: Add missing using declarations
3206         of _Base::_M_comp.
3207         * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
3208         * include/parallel/multiway_merge.h: Include <parallel/
3209         multiseq_selection.h>, forward declare __merge_advance.
3210         * include/parallel/multiseq_selection.h: Don't include <parallel/
3211         sort.h> here.
3212         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
3213         qualification of upper_bound.
3214
3215         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
3216         Use dg-require-debug-mode.
3217         * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
3218         Likewise.
3219         * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
3220         Likewise.
3221         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
3222         Likewise.
3223         * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
3224         Likewise.
3225         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
3226         Likewise.
3227         * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
3228         Likewise.
3229         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
3230         Likewise.
3231         * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
3232         Likewise.
3233
3234         * include/parallel/algo.h: Minor uglification fixes.
3235
3236 2011-05-26  Paolo Carlini  <paolo.carlini@oracle.com>
3237
3238         * src/list.cc: Use noexcept per the FDIS.
3239         * src/compatibility-list-2.cc: Likewise.
3240         * include/debug/set.h: Likewise.
3241         * include/debug/unordered_map: Likewise.
3242         * include/debug/multiset.h: Likewise.
3243         * include/debug/forward_list: Likewise.
3244         * include/debug/unordered_set: Likewise.
3245         * include/debug/vector: Likewise.
3246         * include/debug/map.h: Likewise.
3247         * include/debug/deque: Likewise.
3248         * include/debug/list: Likewise.
3249         * include/debug/multimap.h: Likewise.
3250         * include/profile/set.h: Likewise.
3251         * include/profile/unordered_map: Likewise.
3252         * include/profile/multiset.h: Likewise.
3253         * include/profile/forward_list: Likewise.
3254         * include/profile/vector: Likewise.
3255         * include/profile/unordered_set: Likewise.
3256         * include/profile/map.h: Likewise.
3257         * include/profile/deque: Likewise.
3258         * include/profile/list: Likewise.
3259         * include/profile/multimap.h: Likewise.
3260         * include/bits/hashtable.h: Likewise.
3261         * include/bits/stl_list.h: Likewise.
3262         * include/bits/stl_map.h: Likewise.
3263         * include/bits/hashtable_policy.h: Likewise.
3264         * include/bits/stl_set.h: Likewise.
3265         * include/bits/forward_list.h: Likewise.