OSDN Git Service

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