OSDN Git Service

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