OSDN Git Service

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