OSDN Git Service

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