Correct lexing of exponents.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob6feb439d8523e85aeb4fb3dbb1d0e71bfd47513a
1 2010-12-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3         PR libstdc++/46869
4         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
5         Compile with -g0.
6         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
7         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
8         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
10 2010-12-19  Paolo Carlini  <paolo.carlini@oracle.com>
12         * include/bits/basic_string.h (operator+(basic_string<>&&,
13         basic_string<>&&)): Optimize better.
14         * include/ext/vstring.h (operator+(__versa_string<>&&,
15         __versa_string<>&)): Likewise.
17 2010-12-19  Paolo Carlini  <paolo.carlini@oracle.com>
19         * testsuite/21_strings/basic_string/operators/char/4.cc: New.
20         * testsuite/21_strings/basic_string/operators/wchar_t/4.cc: Likewise.
21         * testsuite/ext/vstring/operators/2.cc: Likewise.
23 2010-11-18  Benjamin Kosnik  <bkoz@redhat.com>
25         * config/*/*: Use headername alias to associate private includes
26         to public includes.
27         * include/*/*: Same.
29         * scripts/run_doxygen: Update for doxygen 1.7.2.
30         * doc/doxygen/user.cfg.in: Same.
31         * doc/doxygen/TODO: Remove.
33         * testsuite/*/std_c++0x_neg.cc: Adjust line number.
35 2010-12-17  Paolo Carlini  <paolo.carlini@oracle.com>
37         * include/bits/basic_string.h (operator+(basic_string<>&&,
38         const basic_string<>&), operator+(const basic_string<>&,
39         basic_string<>&&), operator+(basic_string<>&&, basic_string<>&&),
40         operator+(const _CharT*, basic_string<>&&), operator+(_CharT,
41         basic_string<>&&), operator+(basic_string<>&&, const _CharT*),
42         operator+(basic_string<>&&, _CharT)): Add.
43         * testsuite/21_strings/basic_string/operators/char/3.cc: New.
44         * testsuite/21_strings/basic_string/operators/wchar_t/3.cc: Likewise.
46 2010-12-17  Paolo Carlini  <paolo.carlini@oracle.com>
48         * aclocal.m4: Regenerate.
49         * Makefile.in: Likewise.
50         * testsuite/Makefile.in: Likewise.
51         * libsupc++/Makefile.in: Likewise.
52         * include/Makefile.in: Likewise.
53         * po/Makefile.in: Likewise.
54         * doc/Makefile.in: Likewise.
55         * src/Makefile.in: Likewise.
56         * python/Makefile.in: Likewise.
58 2010-11-16  Benjamin Kosnik  <bkoz@redhat.com>
60         * testsuite/util/testsuite_iterators.h: Guard move.h includes.
61         * testsuite/util/testsuite_allocator.h: Same.
63         * testsuite/20_util/temporary_buffer.cc: Use typedef, qualify.
65         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Define
66         PB_DS_REGRESSION in the source file.
67         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
68         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
69         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
70         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
71         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
72         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
73         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
74         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
76         * testsuite/21_strings/c_strings/wchar_t/3_neg.cc: Move to this.
77         Use _neg suffix.
78         * testsuite/21_strings/c_strings/wchar_t/3.cc: ...from this.
79         * testsuite/21_strings/c_strings/char/3_neg.cc: Same.
80         * testsuite/21_strings/c_strings/char/3.cc: Same.
81         * testsuite/ext/slist/23781_neg.cc: Same.
82         * testsuite/ext/slist/23781.cc: Same.
83         * testsuite/ext/profile/mutex_extensions.cc: Same.
84         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
85         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Same.
86         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
87         * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
88         Same.
89         * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: Same.
90         * testsuite/23_containers/multimap/23781_neg.cc: Same.
91         * testsuite/23_containers/multimap/23781.cc: Same.
92         * testsuite/23_containers/set/23781_neg.cc: Same.
93         * testsuite/23_containers/set/23781.cc: Same.
94         * testsuite/23_containers/multiset/23781_neg.cc: Same.
95         * testsuite/23_containers/multiset/23781.cc: Same.
96         * testsuite/23_containers/list/23781_neg.cc: Same.
97         * testsuite/23_containers/list/23781.cc: Same.
98         * testsuite/23_containers/map/23781_neg.cc: Same.
99         * testsuite/23_containers/map/23781.cc: Same.
100         * testsuite/20_util/duration/cons/dr974_neg.cc: Same.
101         * testsuite/20_util/duration/cons/dr974.cc: Same.
102         * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Same.
103         * testsuite/20_util/tuple/comparison_operators/35480.cc: Same.
104         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
105         * testsuite/20_util/shared_ptr/cons/43820.cc: Same.
106         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc:
107         Same.
108         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc: Same.
110 2010-12-15  Paolo Carlini  <paolo.carlini@oracle.com>
112         * include/ext/vstring.h (operator+(__versa_string<>&&,
113         const __versa_string<>&), operator+(const __versa_string<>&,
114         __versa_string<>&&), operator+(__versa_string<>&&,
115         __versa_string<>&&), operator+(const _CharT*,
116         __versa_string<>&&), operator+(_CharT, __versa_string<>&&),
117         operator+(__versa_string<>&&, const _CharT*),
118         operator+(__versa_string<>&&, _CharT)): Add.
119         * testsuite/ext/vstring/operators/1.cc: New.
121 2010-12-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
123         PR libstdc++/46951
124         * testsuite/30_threads/future/members/45133.cc: Fix dg-options.
125         * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
127 2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
129         PR libstdc++/45133
130         * include/std/future (__basic_future::wait): Throw if not valid.
131         (__basic_future::wait_for): Likewise.
132         (__basic_future::wait_until): Likewise.
133         (__basic_future::_M_get_result): Likewise.
134         * testsuite/30_threads/future/members/45133.cc: New.
135         * testsuite/30_threads/shared_future/members/45133.cc: New.
137 2010-12-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
139         PR libstdc++/46910
140         * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Do not
141         derive from _Sp_counted_ptr.
142         * testsuite/20_util/shared_ptr/cons/46910.cc: New.
143         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
144         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
146 2010-12-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
148         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
149         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
150         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
151         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
152         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
154 2010-12-12  Paolo Carlini  <paolo.carlini@oracle.com>
156         * testsuite/util/testsuite_abi.cc (check_version): Don't push back
157         GLIBCXX_3.4.16, unused.
159 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
161         * testsuite/lib/libstdc++.exp (v3-build_support): Delete
162         libtestc++.a before creation.
164 2010-12-10  Jack Howarth  <howarth@bromo.med.uc.edu>
165             Iain Sandoe  <iains@gcc.gnu.org>
167         PR 43751/target
168         * testsuite/lib/prune.exp: Prune dsymutil warnings.
170 2010-12-08  Nathan Froyd  <froydnj@codesourcery.com>
172         PR testsuite/46860
173         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust.
174         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
175         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
177 2010-12-08  Paolo Carlini  <paolo.carlini@oracle.com>
179         * include/std/bitset (_Base_bitset<>::_Base_bitset(),
180         _Base_bitset(unsigned long)): Simplify.
182 2010-12-07  François Dumont  <francois.cppdevs@free.fr>
184         * include/bits/stl_iterator.h: Add move_iterator operators overloads
185         to make it robust to template abuses.
186         * testsuite/util/testsuite_greedy_ops.h: New.
187         * testsuite/23_containers/vector/types/1.cc: Use latter.
188         * testsuite/23_containers/deque/types/1.cc: Likewise.
189         * testsuite/24_iterators/move_iterator/greedy_ops.cc: New.
190         * testsuite/24_iterators/normal_iterator/greedy_ops.cc: New.
191         * testsuite/24_iterators/reverse_iterator/greedy_ops.cc: New.
192         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
193         line numbers.
195 2010-12-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
197         PR libstdc++/46830
198         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
199         Early return when this == &__rcs.
201 2010-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
203         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr(_Tp1*, _Deleter,
204         const _Alloc&), shared_ptr(nullptr_t, _Deleter, const _Alloc&)): Take
205         the allocator by value, per N3225.
206         (shared_ptr<>::shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...),
207         allocate_shared(_Alloc, _Args&&...): Viceversa, take the allocator
208         by const lvalue ref.
209         * include/bits/shared_ptr_base.h (__shared_count<>::
210         __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...),
211         __shared_ptr<>::__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...),
212         __allocate_shared(_Alloc, _Args&&...)): Likewise.
213         (__shared_ptr<>::__shared_ptr(_Tp1*, _Deleter, const _Alloc&),
214         __shared_ptr(nullptr_t, _Deleter, const _Alloc&), reset(_Tp1*,
215         _Deleter, const _Alloc&)): Take the allocator by value.
216         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
217         numbers.
218         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
220 2010-12-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
222         * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no.
223         * configure: Regenerate.
225 2010-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
227         PR libstdc++/46821
228         * include/std/tuple (_Head_base<,, true>::_M_swap_impl):
229         Swap the empty bases.
230         (_Head_base<,, false>::_M_swap_impl): Minor tweak.
231         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
232         line number.
234 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
236         PR target/40125
237         PR lto/46695
238         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
239         * configure.host (OPT_LDFLAGS): Use lt_host_flags for cygming.
240         * aclocal.m4: Regenerate.
241         * configure: Regenerate.
242         * Makefile.in: Regenerate.
243         * doc/Makefile.in: Regenerate.
244         * include/Makefile.in: Regenerate.
245         * libsupc++/Makefile.in: Regenerate.
246         * po/Makefile.in: Regenerate.
247         * python/Makefile.in: Regenerate.
248         * src/Makefile.in: Regenerate.
249         * testsuite/Makefile.in: Regenerate.
251 2010-12-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
253         * include/std/mutex (try_lock, __try_lock_impl): Fix.
254         (lock): Implement using __try_lock_impl.
255         * testsuite/30_threads/try_lock/2.cc: Fix logic.
256         * testsuite/30_threads/try_lock/4.cc: New.
257         * testsuite/30_threads/lock/1.cc: New.
258         * testsuite/30_threads/lock/2.cc: New.
259         * testsuite/30_threads/lock/3.cc: New.
260         * testsuite/30_threads/lock/4.cc: New.
262 2010-12-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
264         * src/future.cc (future_category): Export compatibility symbol.
265         * config/abi/pre/gnu.ver: Move _ZSt15future_categoryv to 3.4.15
266         version.
268 2010-12-02  François Dumont  <francois.cppdevs@free.fr>
270         * testsuite/23_containers/vector/requirements/explicit_instantiation/
271         2.cc: Hide explicit instantiation with non default constructible type
272         in C++0x mode.
273         * testsuite/23_containers/deque/requirements/explicit_instantiation/
274         2.cc: Likewise.
275         * testsuite/23_containers/list/requirements/explicit_instantiation/
276         2.cc: Likewise.
278 2010-12-02  Kai Tietz  <kai.tietz@onevision.com>
280         PR libstdc++/43738
281         * config/io/basic_file_stdio.cc (showmanyc): Check _GLIBCXX_NO_IOCTL
282         before use of ioctl.
283         * config/os/mingw32/os_defines.h (_GLIBCXX_NO_IOCTL): New.
285 2010-12-01  François Dumont  <francois.cppdevs@free.fr>
287         * testsuite/23_containers/deque/cons/2.cc: Fix to explicitly invoke
288         the copy constructor with or without C++0x mode.
289         * testsuite/23_containers/vector/cons/4.cc: Likewise.
291 2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
293         * scripts/extract_symvers.pl: New file.
294         * scripts/extract_symvers: Rename to ...
295         * scripts/extract_symvers.in: ... this.
296         Use extract_symvers.pl on SunOS.
297         * configure.ac: Add scripts/extract_symvers to AC_CONFIG_FILES.
298         * configure: Regenerate.
299         * Makefile.in: Regenerate.
300         * testsuite/Makefile.am (extract_symvers): Call extract_symvers
301         from $(glibcxx_builddir).
302         * testsuite/Makefile.in: Regenerate.
303         * testsuite/libstdc++-abi/abi.exp: Call extract_symvers from
304         $objdir.
306         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
307         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
308         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
309         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
310         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
312 2010-11-30  Paolo Carlini  <paolo.carlini@oracle.com>
314         PR libstdc++/46718
315         * include/std/type_traits (__is_nullptr_t): Add.
316         (is_scalar): Use the latter.
317         * testsuite/20_util/is_scalar/value.cc: New.
318         * testsuite/20_util/is_scalar/requirements/typedefs.cc: Likewise.
319         * testsuite/20_util/is_scalar/requirements/explicit_instantiation.cc:
320         Likewise.
321         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
322         Adjust dg-error line numbers.
323         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
324         Likewise.
325         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
327 2010-11-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
329         PR libstdc++/46689
330         * testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for
331         invalid comparisons.
333 2010-11-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
335         * include/bits/shared_ptr_base.h (operator>, operator>=, operator<=):
336         Remove comparisons not specified in the C++0x draft.
338 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
340         * include/debug/unordered_map (unordered_multimap<>::erase): Fix to
341         erase all elements associated to the key.
342         * include/debug/unordered_set (unordered_multiset<>::erase): Likewise.
343         * testsuite/23_containers/unordered_multimap/erase/1.cc: Modify to
344         check for multiple erase.
345         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
347 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
349         * include/debug/unordered_map, unordered_set (unordered_map<>::insert,
350         unordered_multimap<>::insert, unordered_set<>::insert,
351         unordered_multiset<>::insert) Debug check iterator hint and pass it to
352         normal implementation.
354 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
356         * include/debug/bitset (bitset<>::reference): Clean code, use normal
357         reference type in experimental mode.
358         * testsuite/23_containers/bitset/debug/invalid/1.cc: Fix for
359         experimental mode.
361 2010-11-26  François Dumont  <francois.cppdevs@free.fr>
363         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Use
364         remote_file delete for generated exe.
365         ([check_v3_target_profile_mode]): Add.
366         * testsuite/lib/dg-options.exp ([dg-require-profile-mode]): Add
367         * testsuite/ext/profile/mh.cc, profiler_algos.cc, all.cc: Use
368         dg-require-profile-mode, remove explicit _GLIBCXX_PROFILE definition.
370 2010-11-25  François Dumont  <francois.cppdevs@free.fr>
372         * src/debug.cc: Introduce a mutex pool in get_safe_base_mutex.
373         Move code used to manipulate sequence safe iterators from safe
374         iterator methods to safe sequence ones. Remove usage of safe iterator
375         mutex, keep _Safe_iterator_base::_M_get_mutex for library backward
376         binary compatibility.
377         * src/Makefile.am: Build debug.cc in gnu++0x mode for _Hash_impl usage.
378         * src/Makefile.in: Regenerate
379         * include/debug/safe_base.h: Add _Safe_iterator_base _M_invalidate
380         and _M_reset. Add _Safe_sequence_base _M_attach, _M_attach_single,
381         _M_detach and _M_detach_single.
382         * include/debug.safe_iterator.h, safe_iterator.tcc: Remove
383         _Safe_iterator _M_invalidate and _M_invalidate_single. Implement all
384         methods in terms of normal iterators rather than safe ones.
385         * include/debug/safe_sequence.h: Replace _Safe_sequence
386         _M_transfe_iter with _M_transfer_from_if taking the source sequence
387         and a predicate signaling when a safe iterator shall be transfered.
388         Add _Equal_to predicate.
389         * include/debug/safe_sequence.tcc: New.
390         * include/Makefile.am: Adjust.
391         * include/Makefile.in: Regenerate.
392         * include/debug/forward_list: Swap safe iterators in move constructor.
393         Do not invalidate before begin in _M_invalidate_all method.
394         Reimplement safe methods using normal iterators rather than safe ones.
395         * include/debug/set.h, unordered_map, multiset.h, vector,
396         unordered_set, deque, map.h, list, multimap.h: Reimplement safe method
397         using normal iterators rather than safe ones.
398         * testsuite/23_containers/forward_list/debug/clear.cc, swap.cc,
399         move_constructor.cc, splice_after.cc, splice_after1.cc,
400         splice_after2.cc, splice_after3.cc, splice_after4.cc: New.
401         * testsuite/23_containers/vector/debug/multithreaded_swap.cc: New.
403 2010-11-24  Benjamin Kosnik  <bkoz@redhat.com>
405         * include/std/tuple: Mark more constructors constexpr.
406         * include/bits/stl_pair.h: Same.
407         * testsuite/20_util/tuple/requirements/dr801.cc: New.
408         * testsuite/20_util/pair/requirements/dr801.cc: New.
409         * testsuite/20_util/tuple/cons/constexpr.cc: Add cases for new
410         constexpr constructors.
411         * testsuite/20_util/pair/cons/constexpr.cc: Same.
412         * testsuite/20_util/pair/comparison_operators/constexpr.cc: New.
414         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
416 2010-11-24  Paolo Carlini  <paolo.carlini@oracle.com>
418         * testsuite/30_threads/future/cons/constexpr.cc: Add dg-require*
419         directives.
420         * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
422 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
424         * include/std/chrono: Constexpr markup for is_monotonic.
425         * src/chrono.cc: Same.
426         * testsuite/20_util/clocks/1.cc: Move...
427         * testsuite/20_util/system_clock/1.cc: ...here.
428         * testsuite/20_util/system_clock/constexpr_data.cc
429         * testsuite/20_util/monotonic_clock/constexpr_data.cc
431         * include/std/complex: Mark primary template constexpr.
432         * testsuite/26_numerics/complex/cons/constexpr_primary.cc: Add.
433         * testsuite/26_numerics/complex/complex_value.cc: Move...
434         * testsuite/26_numerics/complex/dr387.cc: Move...
435         * testsuite/26_numerics/complex/value_operations/1.cc: ... here.
436         * testsuite/26_numerics/complex/value_operations/dr387.cc: ...here.
437         * testsuite/26_numerics/complex/value_operations/constexpr.cc: New.
439 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
440             Jason Merrill  <jason@redhat.com>
442         * testsuite/lib/libstdc++.exp: Use scanasm.
443         * testsuite/util/testsuite_common_types.h
444         (constexpr_default_constructible): Add support for non-literal types.
445         (constexpr_single_value_constructible): Same.
446         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
447         Remove xfail.
448         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Add.
449         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Add.
450         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Add.
451         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
453 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
454             Jonathan Wakely  <jwakely.gcc@gmail.com>
456         * include/std/future (shared_future): Default ctor constexpr.
457         (future): Same.
458         * testsuite/30_threads/shared_future/cons/constexpr.cc: New.
459         * testsuite/30_threads/future/cons/constexpr.cc: New.
461 2010-11-23  Uros Bizjak  <ubizjak@gmail.com>
463         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Require
464         additional locale name.
465         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Ditto.
467 2010-11-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
469         PR libstdc++/46455
470         * include/std/mutex: Define destructors for mutex types which use an
471         init function.
472         * include/ext/concurrence.h: Likewise.
474 2010-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
476         PR libstdc++/26211 + N3168
477         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
478         seekg(off_type, ios_base::seekdir)): Construct a sentry.
479         (basic_istream<>::seekg(pos_type), seekg(off_type, ios_base::seekdir)
480         putback, unget): Clear eofbit first, per N3168.
481         * testsuite/27_io/basic_istream/seekg/char/26211.cc: New.
482         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
483         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
484         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
485         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Tweak.
486         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
488 2010-11-18  H.J. Lu  <hongjiu.lu@intel.com>
490         PR other/42670
491         * testsuite/abi/demangle/regression/cw-13.cc: Updated.
493 2010-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
495         * include/debug/formatter.h (__truth): Remove, unused.
496         (__is_same): Remove, include cpp_type_traits.h instead.
497         (_Parameter::_Parameter(const _Safe_iterator<>&, const char*,
498         _Is_iterator)): Adjust.
499         * include/debug/safe_iterator.h (_Safe_iterator<>::_M_constant):
500         Likewise.
502 2010-11-17  François Dumont  <francois.cppdevs@free.fr>
504         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Clean
505         built exe.
507 2010-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
509         PR libstdc++/45711
510         * src/Makefile.am (stamp-debug): Also adjust VPATH.
511         * src/Makefile.in: Regenerate.
513 2010-11-15  Jie Zhang  <jie@codesourcery.com>
515         * testsuite/ext/profile/mh.cc: Add xfail for uclibc.
517 2010-11-14  Matthias Klose  <doko@ubuntu.com>
519         * testsuite/28_regex/13_ecmascript: Remove, empty directory.
520         * testsuite/28_regex/02_definitions: Likewise.
521         * testsuite/29_atomics/headers/stdatomic.h: Likewise.
523 2010-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
525         * include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Remove.
526         (_Rb_tree_const_iterator<>::_M_const_cast): Add.
527         (_Rb_tree<>::erase, _M_insert_unique_): Adjust.
528         * include/debug/map.h (map<>::erase, insert): Fix C++0x signatures.
529         * include/debug/multimap.h (multimap<>::erase, insert): Likewise.
530         * include/debug/set.h (set<>::erase, insert): Fix, only cosmetic
531         changes in this case.
532         * include/debug/multiset.h (multiset<>::erase, insert): Likewise.
533         * include/profile/set.h (set<>::insert): Remove redundant macro.
534         * include/profile/multiset.h (multiset<>::insert): Likewise.
535         * include/bits/stl_set.h (set<>::insert): Likewise.
536         * include/bits/stl_multiset.h (multiset<>::insert): Likewise.
538 2010-11-12  Ian Lance Taylor  <iant@google.com>
540         PR other/46332
541         * testsuite/abi/demangle/abi_examples/14.cc (main): Change
542         expected demangling.
544 2010-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
546         * include/bits/move.h (forward): Implement N3143, resolving US 90.
547         * testsuite/20_util/forward/a.cc: New.
548         * testsuite/20_util/forward/b.cc: Likewise.
549         * testsuite/20_util/forward/c_neg.cc: Likewise.
550         * testsuite/20_util/forward/d.cc: Likewise.
551         * testsuite/20_util/forward/e.cc: Likewise.
552         * testsuite/20_util/forward/f_neg.cc: Likewise.
554 2010-11-10  François Dumont  <francois.cppdevs@free.fr>
556         * include/profile/unordered_map (unordered_map<>::_M_profile_size):
557         Simplify, don't take a __new_size argument; adjust all callers.
559 2010-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
561         PR libstdc++/44436 (partial)
562         PR libstdc++/46148
563         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_, _M_insert_lower,
564         _M_insert_equal_lower, _M_insert_unique, _M_insert_equal,
565         _M_insert_unique_, _M_insert_equal_): Templatize in C++0x mode,
566         use _GLIBCXX_FORWARD throughout.
567         * include/bits/stl_map.h (map<>::insert(_Pair&&),
568         insert(const_iterator, _Pair&&), operator[](key_type&&): Add.
569         * include/bits/stl_set.h (set<>::insert(value_type&&),
570         insert(const_iterator, value_type&&)): Likewise.
571         * include/bits/stl_multimap.h (multimap<>::insert(_Pair&&),
572         insert(const_iterator, _Pair&&)): Likewise.
573         * include/bits/stl_multiset.h (multiset<>::insert(value_type&&),
574         insert(const_iterator, value_type&&)): Likewise.
575         * include/debug/set.h: Adjust.
576         * include/debug/multiset.h: Likewise.
577         * include/debug/map.h: Likewise.
578         * include/debug/multimap.h: Likewise.
579         * include/profile/set.h: Likewise.
580         * include/profile/multiset.h: Likewise.
581         * include/profile/map.h: Likewise.
582         * include/profile/multimap.h: Likewise.
583         * testsuite/23_containers/multimap/modifiers/insert/1.cc: New.
584         * testsuite/23_containers/multimap/modifiers/insert/2.cc: Likewise.
585         * testsuite/23_containers/multimap/modifiers/insert/3.cc: Likewise.
586         * testsuite/23_containers/multimap/modifiers/insert/4.cc: Likewise.
587         * testsuite/23_containers/set/modifiers/insert/2.cc: Likewise.
588         * testsuite/23_containers/set/modifiers/insert/3.cc: Likewise.
589         * testsuite/23_containers/multiset/modifiers/insert/3.cc: Likewise.
590         * testsuite/23_containers/multiset/modifiers/insert/4.cc: Likewise.
591         * testsuite/23_containers/map/modifiers/insert/2.cc: Likewise.
592         * testsuite/23_containers/map/modifiers/insert/3.cc: Likewise.
593         * testsuite/23_containers/map/modifiers/insert/4.cc: Likewise.
594         * testsuite/23_containers/map/modifiers/insert/5.cc: Likewise.
595         * testsuite/23_containers/map/element_access/2.cc: Likewise.
596         * testsuite/23_containers/map/element_access/46148.cc: Likewise.
598         * include/bits/hashtable.h: Trivial naming changes.
600 2010-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
602         * include/bits/hashtable.h (_Hashtable<>::_Insert_Conv_Type,
603         _Hashtable<>::_Insert_Return_Type): Change to private.
605 2010-11-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
607         * include/bits/unique_ptr.h: Use static_assert in constexpr
608         constructors.
609         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Remove xfails.
610         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
611         line number.
613 2010-11-09  François Dumont  <francois.cppdevs@free.fr>
614             Johannes Singler  <singler@kit.edu>
616         * include/parallel/algobase.h (equal):  Call parallel variant
617         for applicable overloads.
619 2010-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
621         * include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Add
622         and use it throughout.
624 2010-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
626         PR libstdc++/46385
627         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
628         line number.
630 2010-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
632         * include/bits/unique_ptr.h: Move misplaced static_assert and use
633         tuple's constexpr constructor in constexpr constructors.
634         * testsuite/20_util/unique_ptr/cons/ptr_deleter.cc: New.
635         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: New.
637 2010-11-08  Benjamin Kosnik  <bkoz@redhat.com>
639         * doc/doxygen/user.cfg.in: Adjust scanned includes.
640         * include/std/forward_list: Make doxygen file markup unambiguous.
642 2010-11-08  Jason Merrill  <jason@redhat.com>
644         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
645         expected error.
647 2010-11-08  Benjamin Kosnik  <bkoz@redhat.com>
649         * include/std/complex (operator==, !=): Mark constexpr.
650         * testsuite/26_numerics/complex/comparison_operators/constexpr.cc: New.
652 2010-11-08  Paolo Carlini  <paolo.carlini@oracle.com>
654         * include/bits/stl_tree.h (_Rb_tree<>::_M_erase_aux): Add.
655         (_Rb_tree<>::erase(iterator)): Fix in C++0x mode to take
656         const_iterator; remove redundant overload in C++03 mode.
657         (_Rb_tree<>::erase(iterator, iterator)): Likewise.
658         * include/bits/stl_map.h (map<>::erase): Adjust.
659         (map<>::insert): Fix signature in C++0x mode.
660         * include/bits/stl_set.h (set<>::erase): Likewise.
661         (set<>::insert): Likewise.
662         * include/bits/stl_multimap.h (multimap<>::erase): Likewise.
663         (multimap<>::insert): Likewise.
664         * include/bits/stl_multiset.h (multiset<>::erase): Likewise.
665         (multiset<>::insert): Fix signature in C++0x mode.
666         * include/profile/set.h: Adjust.
667         * include/profile/multiset.h: Likewise.
668         * include/profile/map.h: Likewise.
669         * include/profile/multimap.h: Likewise.
670         * testsuite/util/exception/safety.h (erase_base, insert_base):
671         Update.
673 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
675         * include/profile/unordered_map (unordered_map<>::operator[](_Key&&)):
676         Add.
678 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
680         * include/profile/bitset (bitset<>::bitset(), bitset<>::
681         bitset(unsigned long long)): Add constexpr specifier.
683 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
685         * include/debug/bitset: Do not derive from _Safe_sequence_base in
686         C++0x mode, otherwise std::bitset isn't a literal type anymore;
687         adjust everywhere.
689         * include/debug/bitset (bitset<>::bitset(), bitset<>::
690         bitset(unsigned long long)):  Add missing constexpr specifier.
692 2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
694         * doc/doxygen/user.cfg.in: Add typeindex.
696         * testsuite/util/testsuite_common_types.h (constexpr_comparison_eq_ne,
697         constexpr_comparison_operators): New.
698         * testsuite/20_util/duration/comparisons: Move...
699         * testsuite/20_util/duration/comparison_operators: ...here.
700         * testsuite/20_util/duration/comparison_operators/constexpr.cc: New.
701         * testsuite/20_util/time_point/comparison_operators/constexpr.cc: Add.
703         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust line
704         numbers.
705         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
706         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
707         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
709 2010-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
711         * include/bits/shared_ptr.h (shared_ptr<>::__shared_ptr(),
712         shared_ptr<>::shared_ptr(nullptr_t), weak_ptr<>::weak_ptr(),
713         enable_shared_from_this::enable_shared_from_this()): Add constexpr
714         specifier.
715         * include/bits/shared_ptr_base.h (__shared_count::__shared_count(),
716         __shared_count::__shared_count(), __shared_ptr<>::__shared_ptr(),
717         __shared_ptr<>::__shared_ptr(nullptr_t), __weak_ptr<>::__weak_ptr(),
718         __enable_shared_from_this::__enable_shared_from_this()): Likewise.
719         * include/bits/unique_ptr.h (default_delete,
720         unique_ptr<>::unique_ptr(), unique_ptr<>::unique_ptr(nullptr_t)):
721         Likewise.
722         * testsuite/20_util/default_delete/cons/constexpr.cc: Do not xfail.
723         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Remove, the test
724         cannot work for a non-literal type like std::shared_ptr.
725         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
726         * testsuite/util/testsuite_common_types.h: Add comments.
727         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
728         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
729         numbers.
730         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
732 2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
734         * doc/doxygen/user.cfg.in: Remove tr1_impl headers.
736         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
737         constexpr_data.cc: New.
739         * testsuite/util/testsuite_tr1.h (LType, LTypeDerived, NLType): New.
740         * testsuite/20_util/is_literal_type/value.cc: New.
741         * testsuite/20_util/is_literal_type/requirements/typedefs.cc: Name.
742         * testsuite/20_util/is_literal_type/requirements/
743         explicit_instantiation.cc: New.
745 2010-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
747         PR libstdc++/46303
748         * testsuite/30_threads/call_once/constexpr.cc: Add missing dg-require
749         directives.
750         * testsuite/30_threads/mutex/cons/constexpr.cc: Likewise.
751         * testsuite/30_threads/once_flag/cons/constexpr.cc: Likewise.
753 2010-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
755         * include/std/ratio (ratio_add, ratio_subtract, ratio_multiply,
756         ratio_divide): Declare the data members constexpr.
757         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Extend.
759 2010-11-03  Benjamin Kosnik  <bkoz@redhat.com>
761         * include/std/tuple (tuple): Make default constructors constexpr.
762         * testsuite/20_util/tuple/cons/constexpr.cc: Add.
764         * testsuite/18_support/initializer_list/requirements/
765         constexpr_functions.cc: Add.
766         * testsuite/18_support/initializer_list/constexpr.cc: Add.
768 2010-11-03  Paolo Carlini  <paolo.carlini@oracle.com>
770         * include/std/limits (__glibcxx_digits10, __glibcxx_max_digits10):
771         Use 643L instead of 643 to avoid overflows on 16-bit machines.
772         * include/ext/numeric_traits.h (__glibcxx_max_digits10): Likewise.
774 2010-11-02  Benjamin Kosnik  <bkoz@redhat.com>
776         * include/std/chrono: Use typedefs.
777         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
778         line numbers.
779         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
780         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
781         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
783 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
785         * include/c_global/cmath (fpclassify, isfinite, isinf, isnan,
786         isnormal, signbit, isgreater, isgreaterequal, isless, islessequal,
787         islessgreater, isunordered): Remove spurious duplicate definition
788         added in the last commit.
790         * include/tr1/cmath: Remove tr1_impl leftover macro.
792 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
794         * include/tr1_impl/cinttypes: Remove, move contents to C++0x
795         and TR1 headers.
796         * include/tr1_impl/cstdlib: Likewise.
797         * include/tr1_impl/cstdio: Likewise.
798         * include/tr1_impl/cctype: Likewise.
799         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
800         * include/tr1_impl/cmath: Likewise.
801         * include/tr1_impl/cfenv: Likewise.
802         * include/tr1_impl/utility: Likewise.
803         * include/tr1_impl/complex: Likewise.
804         * include/tr1_impl/cwchar: Likewise.
805         * include/tr1_impl/type_traits: Likewise.
806         * include/tr1_impl/cstdint: Likewise.
807         * include/tr1_impl/regex: Likewise.
808         * include/tr1_impl/array: Likewise.
809         * include/tr1_impl/cwctype: Likewise.
810         * include/Makefile.am: Adjust.
811         * include/Makefile.in: Regenerate.
812         * src/condition_variable.cc: Adjust; consistently use
813         _GLIBCXX_BEGIN_NAMESPACE and _GLIBCXX_END_NAMESPACE.
814         * src/mutex.cc: Likewise.
815         * src/future.cc: Likewise.
816         * src/atomic.cc: Likewise.
817         * src/chrono.cc: Likewise.
818         * src/thread.cc: Likewise.
819         * include/std/tuple: Likewise.
820         * include/std/utility: Likewise.
821         * include/std/thread: Likewise.: Likewise.
822         * include/std/type_traits: Likewise.
823         * include/std/memory: Likewise.
824         * include/std/future: Likewise.
825         * include/std/ratio: Likewise.
826         * include/std/chrono: Likewise.
827         * include/std/condition_variable: Likewise.
828         * include/std/mutex: Likewise.
829         * include/std/functional: Likewise.
830         * include/std/complex: Likewise.
831         * include/std/typeindex: Likewise.
832         * include/std/array: Likewise.
833         * include/bits/regex_compiler.h: Likewise.
834         * include/bits/regex_grep_matcher.tcc: Likewise.
835         * include/bits/regex_grep_matcher.h: Likewise.
836         * include/bits/regex_constants.h: Likewise.
837         * include/bits/regex_cursor.h: Likewise.
838         * include/bits/regex_nfa.tcc: Likewise.
839         * include/bits/shared_ptr_base.h: Likewise.
840         * include/bits/regex_nfa.h: Likewise.
841         * include/bits/random.tcc: Likewise.
842         * include/bits/regex.h: Likewise.
843         * include/bits/random.h: Likewise.
844         * include/bits/regex_error.h: Likewise.
845         * include/c_global/cinttypes: Likewise.
846         * include/c_global/cstdlib: Likewise.
847         * include/c_global/cstdio: Likewise.
848         * include/c_global/cctype: Likewise.
849         * include/c_global/cmath: Likewise.
850         * include/c_global/cfenv: Likewise.
851         * include/c_global/cwchar: Likewise.
852         * include/c_global/cstdint: Likewise.
853         * include/c_global/cwctype: Likewise.
854         * include/tr1/shared_ptr.h: Likewise.
855         * include/tr1/cinttypes: Likewise.
856         * include/tr1/cstdio: Likewise.
857         * include/tr1/cfenv: Likewise.
858         * include/tr1/utility: Likewise.
859         * include/tr1/cwchar: Likewise.
860         * include/tr1/type_traits: Likewise.
861         * include/tr1/memory: Likewise.
862         * include/tr1/cstdint: Likewise.
863         * include/tr1/regex: Likewise.
864         * include/tr1/cwctype: Likewise.
865         * include/tr1/cstdlib: Likewise.
866         * include/tr1/cctype: Likewise.
867         * include/tr1/cmath: Likewise.
868         * include/tr1/complex: Likewise.
869         * include/tr1/array: Likewise.
870         * include/c_compatibility/fenv.h: Likewise.
871         * include/c_compatibility/stdint.h: Likewise.
872         * include/c_compatibility/inttypes.h: Likewise.
873         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Adjust
874         dg-error line numbers.
875         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
876         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
877         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
878         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
879         * testsuite/20_util/make_unsigned/requirements/
880         typedefs_neg.cc: Likewise.
881         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
882         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
883         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
885 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com
887         * testsuite/28_regex/05_constants/syntax_option_type.cc: Avoid
888         -Wall warnings.
889         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
890         Likewise.
891         * testsuite/18_support/numeric_limits/requirements/
892         constexpr_functions.cc: Likewise.
893         * testsuite/18_support/numeric_limits/requirements/
894         constexpr_data.cc: Likewise.
895         * testsuite/21_strings/char_traits/requirements/
896         constexpr_functions.cc: Likewise.
897         * testsuite/26_numerics/random/independent_bits_engine/requirements/
898         constexpr_functions.cc: Likewise.
899         * testsuite/26_numerics/random/subtract_with_carry_engine/
900         requirements/constexpr_functions.cc: Likewise.
901         * testsuite/26_numerics/random/subtract_with_carry_engine/
902         requirements/constexpr_data.cc: Likewise.
903         * testsuite/26_numerics/random/discard_block_engine/requirements/
904         constexpr_functions.cc: Likewise.
905         * testsuite/26_numerics/random/discard_block_engine/requirements/
906         constexpr_data.cc: Likewise.
907         * testsuite/26_numerics/random/mersenne_twister_engine/
908         requirements/constexpr_functions.cc: Likewise.
909         * testsuite/26_numerics/random/mersenne_twister_engine/
910         requirements/constexpr_data.cc: Likewise.
911         * testsuite/26_numerics/random/linear_congruential_engine/
912         requirements/constexpr_functions.cc: Likewise.
913         * testsuite/26_numerics/random/linear_congruential_engine/
914         requirements/constexpr_data.cc: Likewise.
915         * testsuite/26_numerics/random/shuffle_order_engine/
916         requirements/constexpr_functions.cc: Likewise.
917         * testsuite/26_numerics/random/shuffle_order_engine/
918         requirements/constexpr_data.cc: Likewise.
919         * testsuite/26_numerics/complex/requirements/
920         constexpr_functions.cc: Likewise.
921         * testsuite/23_containers/bitset/requirements/
922         constexpr_functions.cc: Likewise.
923         * testsuite/23_containers/array/requirements/
924         constexpr_functions.cc: Likewise.
925         * testsuite/util/testsuite_common_types.h: Likewise.
926         * testsuite/20_util/duration/requirements/
927         constexpr_functions.cc: Likewise.
928         * testsuite/20_util/duration_cast/constexpr.cc: Likewise.
929         * testsuite/20_util/time_point/requirements/
930         constexpr_functions.cc: Likewise.
931         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Likewise.
933         * testsuite/tr1/4_metaprogramming/integral_constant/
934         requirements/constexpr_data.cc: Remove.
936 2010-11-02  Jason Merrill  <jason@redhat.com>
938         * include/bits/atomic_0.h (_ATOMIC_CMPEXCHNG_): Use C-style cast.
940 2010-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
942         PR target/45693
943         * configure.host (osf*): Set os_include_dir to os/generic.
944         Add -lpthread to OPT_LDFLAGS.
946 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
948         * include/std/bitset (_Base_bitset<>_Base_bitset(unsigned long long)):
949         Convert __val to _WordT.
951 2010-11-01  Benjamin Kosnik  <bkoz@redhat.com>
953         * include/std/chrono: Extend constexpr application.
954         * testsuite/util/testsuite_common_types.h
955         (constexpr_default_constructible, constexpr_single_value_constructible)
956         : Add comments about implied constraints.
957         * testsuite/20_util/duration/cons/constexpr.cc: Activate all tests.
958         * testsuite/20_util/time_point/cons/constexpr.cc: Same.
959         * testsuite/20_util/time_point/requirements/constexpr_functions.cc:
960         Same.
961         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust line
962         numbers.
963         * testsuite/20_util/time_point_cast/constexpr.cc: New.
965         * include/std/bitset: Use __SIZEOF_* macros to re-create original
966         logic instead of slipshod application of
967         std::numeric_limits<T>::max() macros.
968         * testsuite/util/testsuite_common_types.h
969         (constexpr_default_constructible): Modify.
971         * include/std/chrono: Tested constexpr.
972         * testsuite/20_util/duration_cast/constexpr.cc: New.
973         * testsuite/20_util/time_point/cons/constexpr.cc: New.
975         * testsuite/20_util/duration/cons/constexpr.cc: Add single_value tests.
976         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
977         line numbers.
978         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
979         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
980         * testsuite/20_util/time_point/cons/constexpr.cc: Add single_value
981         tests.
982         * testsuite/20_util/time_point/requirements/constexpr_functions.cc: Add.
984         * testsuite/util/testsuite_common_types.h: Adjust init.
986         * include/std/chrono (duration): Remove defaulted constructor,
987         replace with mem-init list.
988         * testsuite/20_util/duration/cons/constexpr.cc: Add single value.
989         * testsuite/20_util/duration/requirements/constexpr_functions.cc:
990         Add non-static member functions.
992         * testsuite/20_util/default_delete/cons/constexpr.cc: New, xfail.
993         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Same.
994         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Same.
995         * testsuite/20_util/time_point/requirements/constexpr_functions.cc:
996         Same.
997         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Same.
998         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Same.
1000         * include/std/bitset: Add constexpr as per N3126 draft.
1001         * testsuite/23_containers/bitset/cons/constexpr.cc: New.
1002         * testsuite/23_containers/bitset/requirements/constexpr_functions.cc:
1003         New.
1005         * testsuite/util/testsuite_common_types.h: Reset condition.
1007         * include/bits/random.h: Remove misleading comments.
1008         * include/bits/regex.h: Add constexpr.
1009         * testsuite/28_regex/05_constants/syntax_option_type.cc: Add tests.
1010         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc: New.
1012         PR libstdc++/46134
1013         * include/std/chrono: Use default constructor.
1014         * testsuite/util/testsuite_common_types.h
1015         (constexpr_default_constructible): Adjust condition.
1017         PR libstdc++/46133
1018         * include/std/complex: Adjust complex specialization default
1019         constructors for constexpr.
1020         * testsuite/26_numerics/complex/cons/constexpr.cc: Enable tests.
1022         * include/bits/random.h: Adjust for constexpr as per N3126 draft.
1023         * testsuite/26_numerics/random/discard_block_engine/requirements/
1024         constexpr_data.cc: New.
1025         * testsuite/26_numerics/random/discard_block_engine/requirements/
1026         constexpr_functions.cc: New.
1027         * testsuite/26_numerics/random/independent_bits_engine/requirements/
1028         constexpr_functions.cc: New.
1029         * testsuite/26_numerics/random/linear_congruential_engine/requirements/
1030         constexpr_data.cc: New.
1031         * testsuite/26_numerics/random/linear_congruential_engine/requirements/
1032         constexpr_functions.cc: New.
1033         * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
1034         constexpr_data.cc: New.
1035         * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
1036         constexpr_functions.cc: New.
1037         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
1038         constexpr_data.cc: New.
1039         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
1040         constexpr_functions.cc: New.
1041         * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
1042         constexpr_data.cc: New.
1043         * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
1044         constexpr_functions.cc: New.
1046         * include/bits/stream_iterator.h: Add constexpr as per N3126 draft.
1047         * include/bits/streambuf_iterator.h: Same.
1048         * include/std/complex: Same.
1049         * testsuite/24_iterators/istream_iterator/cons/constexpr.cc: New.
1050         * testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc: New.
1051         * testsuite/26_numerics/complex/cons/constexpr.cc: New.
1052         * testsuite/26_numerics/complex/requirements/constexpr_functions.cc:
1053         New.
1055         * include/bits/char_traits.h: Add constexpr as per N3126 draft.
1056         * testsuite/21_strings/char_traits/requirements/constexpr_functions.cc:
1057         New.
1059         * include/tr1_impl/array: Add constexpr as per N3126 draft.
1060         * testsuite/23_containers/array/requirements/
1061         constexpr_functions.cc: New.
1063         * include/bits/shared_ptr.h: Revert changes.
1064         * include/bits/unique_ptr.h: Same.
1066         * include/std/chrono: Adjust.
1067         * include/tr1_impl/type_traits: Same.
1069         * testsuite/util/testsuite_common_types.h: Add test functors.
1070         * testsuite/20_util/duration/cons/constexpr.cc: New.
1071         * testsuite/20_util/duration/requirements/constexpr_functions.cc: Same.
1072         * testsuite/20_util/pair/cons/constexpr.cc: Same.
1073         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Same.
1074         * testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc: Same.
1075         * testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc: Same.
1076         * testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc: Same.
1077         * testsuite/30_threads/call_once/constexpr.cc: Same.
1078         * testsuite/30_threads/mutex/cons/constexpr.cc: Same.
1079         * testsuite/30_threads/once_flag/cons/constexpr.cc: Same.
1080         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
1081         constexpr_data.cc: Same.
1083         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1084         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1085         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
1086         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
1087         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
1089         * include/bits/allocator.h: Add constexpr as per N3126 draft.
1090         * include/bits/ios_base.h: Same.
1091         * include/bits/shared_ptr.h: Same.
1092         * include/bits/unique_ptr.h: Same.
1093         * include/bits/stl_iterator.h: Same.
1094         * include/bits/stl_pair.h: Same.
1095         * include/std/tuple: Same.
1096         * include/tr1_impl/type_traits: Same.
1097         * include/std/chrono: Same.
1098         * include/std/ratio: Same.
1099         * include/std/mutex: Same.
1100         * src/mutex.cc: Same.
1101         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
1102         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1103         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1104         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1105         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1106         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1108         * doc/doxygen/user.cfg.in: Replace _GLIBCXX_USE_CONSTEXPR,
1109         _GLIBCXX_CONSTEXPR for doxygen generation.
1111         * src/limits.cc: Undef.
1112         * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust.
1113         * testsuite/29_atomics/atomic_address/cons/constexpr.cc: Same.
1114         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
1115         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.c: Same.
1116         * testsuite/18_support/numeric_limits/constexpr.cc: To...
1117         * testsuite/18_support/numeric_limits/requirements/
1118         constexpr_data.cc, constexpr_functions.cc: ...this
1120         * testsuite/util/testsuite_common_types.h
1121         (constexpr_single_value_constructible): Add.
1122         * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust name.
1123         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
1124         * testsuite/29_atomics/atomic_address/cons/constexpr.cc: New.
1125         * testsuite/18_support/numeric_limits/constexpr.cc: New.
1127         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1128         * testsuite/29_atomics/atomic/cons/constexpr.cc: Same.
1129         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1130         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
1131         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
1132         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
1133         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
1134         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: Same.
1135         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: Same.
1137         * include/bits/c++config (_GLIBCXX_CONSTEXPR): Add.
1138         (_GLIBCXX_USE_CONSTEXPR): Add.
1139         * include/std/limits: Use it.
1140         * src/limits.cc: Adjust.
1141         * testsuite/ext/profile/mutex_extensions.cc: Change line number.
1143         * include/bits/atomic_0.h: Rework for N3126 draft, add constexpr.
1144         * include/bits/atomic_2.h: Same.
1145         * include/bits/atomic_base.h: Same.
1146         * include/std/atomic: Same.
1147         * src/atomic.cc: Same.
1148         * include/bits/atomicfwd_c.h: Remove.
1149         * include/bits/atomicfwd_cxx.h: Remove.
1150         * include/c_compatibility/stdatomic.h: Remove.
1151         * include/Makefile.am: Remove atomicfwd_c.h, atomicfwd_cxx.h,
1152         stdatomic.h.
1153         * include/Makefile.in: Regenerate.
1154         * doc/xml/manual/using.xml: Update list of header files for changes.
1155         * testsuite/util/testsuite_common_types.h
1156         (constexpr_constructible): Add.
1157         * testsuite/29_atomics/atomic/cons/constexpr.cc: New.
1158         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: New.
1159         * testsuite/17_intro/headers/c++200x/stdc++.cc: Modify.
1160         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
1161         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
1162         * testsuite/29_atomics/atomic_flag/cons/1.cc: Same.
1163         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
1164         * testsuite/29_atomics/headers/atomic/macros.cc: Same.
1165         * testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Same.
1166         * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Same.
1167         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Remove.
1168         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
1169         * testsuite/29_atomics/atomic_flag/clear/1.c: Same.
1170         * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: Same.
1171         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
1172         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
1173         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
1175         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1177 2010-11-01  Jason Merrill  <jason@redhat.com>
1179         * libsupc++/initializer_list: Decorate with constexpr.
1181 2010-11-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
1183         PR libstdc++/45999
1184         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Replace
1185         conditional expression with backward-compatible if-else.
1187 2010-11-01  Jie Zhang  <jie@codesourcery.com>
1189         * config/abi/pre/gnu.ver: Export __emutls_v._ZSt11__once_call
1190         and __emutls_v._ZSt15__once_callable.
1192 2010-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
1194         * testsuite/23_containers/bitset/cons/dr1325-2.cc: Fix typo.
1195         * testsuite/20_util/hash/quality.cc: Avoid -Wall warnings.
1196         * testsuite/20_util/hash/chi2_quality.cc: Likewise.
1198 2010-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
1200         * include/bits/stl_function.h (_Select1st<>::operator()): Add
1201         templatized overloads.
1202         * include/bits/hashtable_policy.h (_Select1st): Remove; revert
1203         everything to std::_Select1st.
1204         * include/bits/unordered_map.h: Likewise.
1206 2010-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
1208         PR libstdc++/44436 (partial)
1209         * include/bits/hashtable.h (_Hashtable<>::insert(value_type&&),
1210         insert(_Pair&&), insert(const_iterator, value_type&&),
1211         insert(const_iterator, _Pair&&)): Add.
1212         (_M_allocate_node, _M_insert, _M_insert_bucket): Templatize.
1213         * include/bits/hashtable_policy.h (__detail::_Select1st): Add; use
1214         it throughout.
1215         (_Map_base<>::operator[](_Key&&)): Add.
1216         * include/bits/unordered_map.h: Use __detail::_Select1st throughout.
1217         * include/debug/unordered_map: Update.
1218         * include/debug/unordered_set: Likewise.
1219         * include/profile/unordered_map: Likewise.
1220         * include/profile/unordered_set: Likewise.
1221         * testsuite/util/testsuite_rvalref.h (struct hash<rvalstruct>): Add;
1222         minor tweaks throughout, use deleted special members.
1223         * testsuite/23_containers/unordered_map/insert/map_single_move-1.cc:
1224         New.
1225         * testsuite/23_containers/unordered_map/insert/map_single_move-2.cc:
1226         Likewise.
1227         * testsuite/23_containers/unordered_map/insert/array_syntax_move.cc:
1228         Likewise.
1229         * testsuite/23_containers/unordered_multimap/insert/
1230         multimap_single_move-1.cc: Likewise.
1231         * testsuite/23_containers/unordered_multimap/insert/
1232         multimap_single_move-2.cc: Likewise.
1233         * testsuite/23_containers/unordered_set/insert/set_single_move.cc:
1234         Likewise.
1235         * testsuite/23_containers/unordered_multiset/insert/
1236         multiset_single_move.cc: Likewise.
1238         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
1239         Minor cosmetic changes.
1241 2010-10-27  Jason Merrill  <jason@redhat.com>
1243         * include/std/type_traits (is_literal_type): New.
1244         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1245         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust.
1246         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust.
1248 2010-10-26  Paolo Carlini  <paolo.carlini@oracle.com>
1250         * testsuite/lib/libstdc++.exp ([check_v3_target_normal_mode]): Add.
1251         * testsuite/lib/dg-options.exp ([dg-require-normal-mode]): Likewise.
1252         * testsuite/23_containers/headers/forward_list/synopsis.cc: Use the
1253         latter.
1254         * testsuite/23_containers/headers/vector/synopsis.cc: Likewise.
1255         * testsuite/23_containers/headers/deque/synopsis.cc: Likewise.
1256         * testsuite/23_containers/headers/bitset/synopsis.cc: Likewise.
1257         * testsuite/23_containers/headers/list/synopsis.cc: Likewise.
1258         * testsuite/23_containers/headers/set/synopsis.cc: Likewise.
1259         * testsuite/23_containers/headers/map/synopsis.cc: Likewise.
1261 2010-10-25  Paolo Carlini  <paolo.carlini@oracle.com>
1263         * include/bits/forward_list.h (_Fwd_list_node_base::swap): Remove.
1264         (_Fwd_list_base<>::_Fwd_list_base(_Fwd_list_base&&),
1265         _Fwd_list_base<>::_Fwd_list_base(_Fwd_list_base&&, const _Alloc&)):
1266         Don't use swap.
1267         (forward_list<>::swap): Just use std::swap.
1269         * include/bits/forward_list.h (_Fwd_list_base<>::_Fwd_list_base(),
1270         _Fwd_list_base(const _Alloc&)): Don't zero again _M_next.
1272         * testsuite/23_containers/forward_list/requirements/dr438/
1273         assign_neg.cc: Adjust dg-error line number.
1274         * testsuite/23_containers/forward_list/requirements/dr438/
1275         insert_neg.cc: Likewise.
1276         * testsuite/23_containers/forward_list/requirements/dr438/
1277         constructor_1_neg.cc: Likewise.
1278         * testsuite/23_containers/forward_list/requirements/dr438/
1279         constructor_2_neg.cc: Likewise.
1281 2010-10-25  Paolo Carlini  <paolo.carlini@oracle.com>
1283         * include/bits/hashtable.h (_Hashtable<>:_M_get_Value_allocator):
1284         Remove, unused.
1286 2010-10-24  François Dumont  <francois.cppdevs@free.fr>
1288         * src/debug.cc: Fix parameter indexes in __msg_valid_range2 message.
1289         Replace 'before begin' decription in 'before-begin' for consistency
1290         with 'paste-the-end'.
1292 2010-10-18  Paolo Carlini  <paolo.carlini@oracle.com>
1294         PR libstdc++/45866
1295         * include/std/ratio (ratio<>::type): Add.
1296         (ratio_add<>::num, ratio_add<>::den,
1297         ratio_subtract<>::num, ratio_subtract<>::den,
1298         ratio_multiply<>::num, ratio_multiply<>::den,
1299         ratio_divide<>::num, ratio_divide<>::den): Likewise.
1300         * testsuite/20_util/ratio/operations/45866.cc: New.
1302 2010-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1304         * include/bits/forward_list.h (forward_list<>::erase_after): Return
1305         an iterator.
1306         (_M_erase_after): Return _Fwd_list_node_base*.
1307         * include/bits/forward_list.tcc: Likewise.
1308         * include/debug/forward_list: Likewise.
1309         * testsuite/23_containers/forward_list/modifiers/3.cc: Update
1310         and extend.
1311         * testsuite/util/exception/safety.h (erase_base<forward_list<>>):
1312         Adjust.
1313         * testsuite/23_containers/forward_list/requirements/dr438/
1314         assign_neg.cc: Adjust dg-error line number.
1315         * testsuite/23_containers/forward_list/requirements/dr438/
1316         insert_neg.cc: Likewise.
1317         * testsuite/23_containers/forward_list/requirements/dr438/
1318         constructor_1_neg.cc: Likewise.
1319         * testsuite/23_containers/forward_list/requirements/dr438/
1320         constructor_2_neg.cc: Likewise.
1322 2010-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1324         PR libstdc++/43554
1325         * include/profile/forward_list: New file.
1326         * include/std/forward_list: Include <profile/forward_list>.
1327         * include/Makefile.am: Add.
1328         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1329         * include/Makefile.in: Regenerate.
1331 2010-10-15  Paolo Carlini  <paolo.carlini@oracle.com>
1333         * include/std/functional (function<>::operator==, operator!=):
1334         Remove, per LWG 1240.
1335         * testsuite/20_util/function/cmp/cmp_neg.cc: Adjust dg-* directives.
1337 2010-10-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
1339         PR libstdc++/45990
1340         * include/bits/regex.h (regex_traits::isctype): DR 1337.
1342 2010-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
1344         * include/bits/random.h (discrete_distribution<>::param_type::
1345         param_type()): Default construct the vectors.
1346         (discrete_distribution<>::param_type::probabilities): Adjust.
1347         (discrete_distribution<>::probabilities): Likewise.
1348         (discrete_distribution<>::max): Likewise.
1349         (piecewise_constant_distribution<>::param_type::
1350         param_type()): Default construct the vectors.
1351         (piecewise_constant_distribution<>::param_type::intervals): Adjust.
1352         (piecewise_constant_distribution<>::param_type::densities): Likewise.
1353         (piecewise_constant_distribution<>::intervals): Likewise.
1354         (piecewise_constant_distribution<>::densities): Likewise.
1355         (piecewise_constant_distribution<>::min): Likewise.
1356         (piecewise_constant_distribution<>::max): Likewise.
1357         (piecewise_linear_distribution<>::param_type::
1358         param_type()): Default construct the vectors.
1359         (piecewise_linear_distribution<>::param_type::intervals): Adjust.
1360         (piecewise_linear_distribution<>::param_type::densities): Likewise.
1361         (piecewise_linear_distribution<>::intervals): Likewise.
1362         (piecewise_linear_distribution<>::densities): Likewise.
1363         (piecewise_linear_distribution<>::min): Likewise.
1364         (piecewise_linear_distribution<>::max): Likewise.
1365         * include/bits/random.tcc (discrete_distribution<>::param_type::
1366         _M_initialize): Deal quickly with raw _M_prob equivalent to
1367         a default constructed param_type, just clear the vector.
1368         (discrete_distribution<>::operator()): Early return 0 for a
1369         default constructed distribution.
1370         (piecewise_constant_distribution<>::param_type::_M_initialize):
1371         Likewise for _M_int and _M_den.
1372         (piecewise_constant_distribution<>::operator()): Early return
1373         for a default constructed distribution.
1374         (piecewise_linear_distribution<>::param_type::_M_initialize):
1375         Likewise.
1376         (piecewise_linear_distribution<>::operator()): Early return
1377         for a default constructed distribution.
1378         * testsuite/26_numerics/random/discrete_distribution/operators/
1379         call-default.cc: New.
1380         * testsuite/26_numerics/random/piecewise_constant_distribution/
1381         operators/call-default.cc: Likewise.
1383 2010-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
1385         * include/bits/random.h (discrete_distribution<>::param_type):
1386         Disable move operations.
1387         (piecewise_constant_distribution<>::param_type): Likewise.
1388         (piecewise_linear_distribution<>::param_type): Likewise.
1390         * include/bits/random.h (discrete_distribution<>::param_type::
1391         param_type()): Simplify, don't use _M_initialize.
1392         (piecewise_constant_distribution<>::param_type::param_type()):
1393         Likewise.
1394         (piecewise_linear_distribution<>::param_type::param_type()):
1395         Likewise.
1397 2010-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
1399         * include/bits/random.tcc (piecewise_linear_distribution<>::
1400         operator()): Don't crash when the dist is default-constructed.
1401         * testsuite/26_numerics/random/piecewise_linear_distribution/
1402         operators/call-default.cc: New.
1404 2010-10-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1406         * testsuite/23_containers/bitset/cons/2.cc: Tweak.
1408 2010-10-11  Paolo Carlini  <paolo.carlini@oracle.com>
1410         * include/std/bitset (bitset<>::bitset(const _CharT*,
1411         typename std::basic_string<>::size_type, _CharT, _CharT)):
1412         Implement new proposed resolution for DR 1325.
1413         * include/debug/bitset: Likewise.
1414         * include/profile/bitset: Likewise.
1415         * testsuite/23_containers/bitset/cons/dr1325-1.cc: New.
1416         * testsuite/23_containers/bitset/cons/dr1325-2.cc: Likewise.
1418 2010-10-11  Benjamin Kosnik  <bkoz@redhat.com>
1420         * doc/xml/api.xml: Add link to 4.5 generated docs.
1422 2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
1424         * include/std/future (_Result_alloc): Derive from _Alloc,
1425         exploit the Empty Base Optimization.
1427 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1429         PR libstdc++/45403
1430         * python/libstdcxx/v6/printers.py: Check for lazy_string support.
1432 2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
1434         * include/std/future (uses_allocator<packaged_task<>,>): Add;
1435         minor formatting tweaks.
1437 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1439         * include/std/future: Enable allocator support.
1440         * testsuite/30_threads/packaged_task/cons/alloc.cc: Expect PASS.
1441         * testsuite/30_threads/promise/cons/alloc.cc: Expect PASS.
1443 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1445         PR libstdc++/45893
1446         * include/std/functional (bind): Implement DR 817 and add support
1447         for volatile-qualified call wrappers.
1448         * include/std/mutex (call_once): Implement DR 891.
1449         * include/std/thread (thread::thread): Implement DR 929.
1450         * include/std/future: Optimise use of std::bind.
1451         * testsuite/20_util/bind/cv_quals.cc: Test volatile-qualification.
1452         * testsuite/20_util/bind/move.cc: New.
1454 2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
1456         PR libstdc++/45841
1457         * testsuite/lib/libstdc++.exp (check_v3_target_fileio): Rewrite to
1458         use an actual testsuite file and machinery, not ".".  Specifically
1459         check that incorrectly seeking backwards from 0 yields an error,
1460         and that reading, seeking backwards and reading again works.
1462         * testsuite/libstdc++-dg/conformance.exp: Apply
1463         check_v3_target_fileio as a gate for tests in
1464         subdirectories matching the substring _filebuf.
1466 2010-10-07  Paolo Carlini  <paolo.carlini@oracle.com>
1468         * include/bits/locale_facets_nonio.tcc (time_get<>::
1469         _M_extract_via_format): Tighten somewhat error checking.
1470         * testsuite/22_locale/time_get/get_time/char/6.cc: New.
1471         * testsuite/22_locale/time_get/get_time/wchar_t/6.cc: Likewise.
1473 2010-10-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1475         PR libstdc++/45924
1476         * include/std/functional (_Bind_result::operator()): Do not expand
1477         template parameter pack in forward call.
1478         * testsuite/20_util/bind/45924.cc: New.
1480 2010-10-06  Paolo Carlini  <paolo.carlini@oracle.com>
1482         * include/std/functional (struct _Weak_result_type_impl): Add
1483         specializazions for cv-qualified function types, for variadic
1484         function types and pointers and references to function types,
1485         and for pointers to member function types.
1486         (struct _Reference_wrapper_base): Add specializations for
1487         cv-qualified unary and binary function types.
1488         * testsuite/20_util/reference_wrapper/result_type.cc: New.
1489         * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
1491 2010-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1493         PR libstdc++/45863
1494         * scripts/extract_symvers: Restore revision 164879.
1495         Only use pvs on SunOS.
1497 2010-10-05  David Krauss  <potswa@mac.com>
1499         PR libstdc++/45841
1500         * include/bits/fstream.h (basic_filebuf::underflow): Overflow
1501         success does not preclude returning failure.
1502         (basic_filebuf::pbackfail): Likewise.
1503         (basic_filebuf::xsputn): Fix indentation problem.
1504         (basic_filebuf::xsgetn): Likewise. Also, add similar overflow
1505         call to enable optimized case from write mode.
1506         * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: New.
1507         * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
1509 2010-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1511         * include/bits/locale_facets_nonio.h (time_get::get_time): Doc typo.
1512         (time_get::get_date): Likewise.
1514 2010-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
1516         * include/std/type_traits (_GLIBCXX_HAS_NESTED_TYPE): Add.
1517         * include/std/functional (_Has_result_type_helper,
1518         _Has_result_type): Remove; use the above to define __has_result_type.
1519         * include/bits/stl_iterator_base_types.h: Use the above to define
1520         __has_iterator_category.
1521         * include/bits/allocator.h (__has_allocator_type): Use the above.
1522         * include/bits/cpp_type_traits.h (__has_iterator_category,
1523         __is_iterator): Remove.
1525 2010-10-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1526             Jonathan Wakely  <jwakely.gcc@gmail.com>
1528         PR libstdc++/44647
1529         * libsupc++/Makefile.am (sources): Add bad_alloc.cc.
1530         * libsupc++/new_handler.cc (bad_alloc): Move to ...
1531         * libsupc++/bad_alloc.cc (bad_alloc): ... here, new file.
1532         * libsupc++/Makefile.in: Regenerate.
1534 2010-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
1536         * include/std/functional (function<>::swap): Use std::swap.
1537         * include/tr1/functional (function<>::swap): Likewise.
1539 2010-10-04  Andreas Schwab  <schwab@redhat.com>
1541         * acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to
1542         AC_HELP_STRING.  Double quote expansion of _g_help.
1543         (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Double quote third argument of
1544         GLIBCXX_ENABLE.
1545         (GLIBCXX_ENABLE_CHEADERS): Likewise.
1546         (GLIBCXX_ENABLE_CLOCALE): Likewise.
1547         (GLIBCXX_ENABLE_ALLOCATOR): Likewise.
1548         (GLIBCXX_ENABLE_CSTDIO): Likewise.
1549         (GLIBCXX_ENABLE_SYMVERS): Likewise.
1550         * configure: Regenerate.
1552 2010-10-02  H.J. Lu  <hongjiu.lu@intel.com>
1554         PR libstdc++/45863
1555         * scripts/extract_symvers: Revert the pvs change.
1557 2010-10-01  Benjamin Kosnik  <bkoz@redhat.com>
1559         * scripts/extract_symvers: Add support for tracking TLS symbols.
1560         * testsuite/util/testsuite_abi.h (symbol::category): Add tls type.
1561         * testsuite/util/testsuite_abi.cc: Set symbol type to tls when
1562         appropriate, collect size info.
1564 2010-10-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1566         * scripts/extract_symvers: Use pvs if present.
1567         * config/abi/post/solaris2.8/baseline_symbols.txt: New file.
1568         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1569         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1570         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1571         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1572         * configure.host (i?86-*-solaris2*): Remove.
1573         (sparc*-*-solaris2*): Remove.
1574         (*-*-solaris2.[89]): Use solaris2.8 baseline.
1575         (*-*-solaris2.1[0-9]): Use solaris2.10 baseline.
1576         * testsuite/Makefile.am (new-abi-baseline): Add missing /.
1577         * testsuite/Makefile.in: Regenerate.
1579 2010-09-30  Michael Eager  <eager@eagercon.com>
1581         * config/cpu/microblaze/cpu_defines.h: New. Define
1582         _GLIBCXX_NO_VERBOSE_TERMINATE for MicroBlaze.
1584 2010-09-29  Paolo Carlini  <paolo.carlini@oracle.com>
1586         * include/Makefile.am: Add debug/forward_list.
1587         * include/Makefile.in: Regenerate.
1589         * testsuite/util/testsuite_container_traits.h (traits_base):
1590         Add has_erase_after and hash_insert_after typedefs.
1591         (traits<forward_list<>>): Adjust.
1592         * testsuite/util/exception/safety.h (erase_point, erase_range,
1593         insert_point): Deal correctly with forward_list.
1594         * include/Makefile.am: Add.
1596 2010-09-29  François Dumont  <francois.cppdevs@free.fr>
1598         * src/debug.cc: Add forward_list specific debug messages.
1599         * include/debug/forward_list: New.
1600         * include/debug/formatter.h: Add debug message ids and before begin
1601         iterator state.
1602         * include/debug/macros.h (__glibcxx_check_insert_after,
1603         __glibcxx_check_insert_range_after, __glibcxx_check_erase_after,
1604         __glibcxx_check_erase_range_after): Add.
1605         * include/debug/safe_iterator.h (_BeforeBeginHelper): Add.
1606         (_Safe_iterator<>::_M_before_dereferenceable,
1607         _Safe_iterator<>::_M_is_before_begin): Add.
1608         (_Safe_iterator<>::_M_dereferenceable, _Safe_iterator<>::_M_is_end,
1609         _Safe_iterator<>::_M_incrementable): Adjust.
1610         * include/std/forward_list: Include debug/forward when _GLIBCXX_DEBUG
1611         defined.
1612         * include/bits/forward_list.h, forward_list.tcc: Put in std::__norm
1613         when debug mode is active.
1614         * testsuite/23_containers/forward_list/capacity/1.cc: Fix to compile
1615         even in debug mode.
1616         * testsuite/23_containers/forward_list/debug/erase_after1.cc,
1617         erase_after2.cc, erase_after3.cc, erase_after4.cc, erase_after5.cc,
1618         insert_after1.cc,erase_after6.cc, erase_after7.cc, insert_after2.cc,
1619         erase_after8.cc, insert_after3.cc, erase_after9.cc: New
1621 2010-09-28  DJ Delorie  <dj@redhat.com>
1623         * libsupc++/hash_bytes.cc (_Hash_bytes): Replace "clength" with
1624         "len" for "unusual sizeof(size_t)" case.
1626 2010-09-28  Matt Austern  <austern@google.com>
1628         * testsuite/20_util/hash/chi2_quality.cc: New.
1629         * testsuite/20_util/hash/quality.cc: Likewise.
1631 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
1633         * include/bits/allocator.h (allocator_arg_t, allocator_arg,
1634         uses_allocator): Add.
1635         * testsuite/20_util/uses_allocator/value.cc: New.
1636         * testsuite/20_util/uses_allocator/requirements/typedefs.cc: Likewise.
1637         * testsuite/20_util/uses_allocator/requirements/
1638         explicit_instantiation.cc: Likewise.
1639         * include/bits/stl_queue.h (uses_allocator<queue>,
1640         uses_allocator<priority_queue>): Add.
1641         * include/bits/stl_stack.h (uses_allocator<stack>): Likewise.
1643         * include/bits/stl_pair.h (piecewise_construct): Add.
1644         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1645         line number.
1647 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
1649         * include/c_std/cmath (__pow_helper): Remove.
1650         (__cmath_power): Remove declaration.
1651         * include/c_global/cmath: Likewise.
1652         * include/std/complex (__complex_pow_unsigned): Add.
1653         (pow(const complex<_Tp>&, int)): Use the latter.
1654         * include/c_std/cmath.tcc: Remove file.
1655         * include/c_global/cmath.tcc: Likewise.
1656         * acinclude.m4: Adjust.
1657         * include/Makefile.am: Likewise.
1658         * configure: Regenerate.
1659         * include/Makefile.in: Likewise.
1661 2010-09-22  David Krauss  <potswa@mac.com>
1663         PR libstdc++/45628
1664         * include/bits/fstream.tcc (basic_filebuf::underflow): Add state
1665         transition to avoid modality requiring seekoff(0,ios::cur).
1666         (basic_filebuf::pbackfail): Likewise.
1667         (basic_filebuf::overflow): Likewise.
1668         (basic_filebuf::_M_seek): Avoid minor unnecessary conversion.
1669         (basic_filebuf::seekoff): Remove code to _M_get_ext_pos; make
1670         (0, ios::cur) a special case preserving buffer contents.
1671         (basic_filebuf::_M_get_ext_pos): New function to obtain status
1672         about codecvt extern_t buffer for overflow and seekoff.
1673         * include/std/fstream (basic_filebuf::_M_get_ext_pos): Likewise.
1674         * config/abi/pre/gnu.ver: Export new symbols.
1675         * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: New,
1676         verifies that seekoff(0, ios::cur) preserves buffers.
1677         * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise.
1678         for codecvt case. More lenient as it may still flush put area.
1679         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Modify to
1680         check that seekoff is not required between read and write.
1681         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
1682         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Remove.
1683         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Likewise.
1684         * testsuite/util/testsuite_character.h (codecvt::do_length): Comply
1685         with 22.2.1.5.2/10 "Returns ... the LARGEST value in the range..."
1687 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1689         * include/bits/functional_hash.h (__hash_base): Add.
1690         (hash): Derive from __hash_base instead.
1691         * include/debug/bitset (hash): Likewise.
1692         * include/debug/vector (hash): Likewise.
1693         * include/std/system_error (hash): Likewise.
1694         * include/std/thread (hash): Likewise.
1695         * include/std/bitset (hash): Likewise.
1696         * include/profile/bitset (hash): Likewise.
1697         * include/profile/vector (hash): Likewise.
1698         * include/bits/basic_string.h (hash): Likewise.
1699         * include/bits/stl_bvector.h (hash): Likewise.
1700         * include/std/typeindex (hash): Do not derive from unary_function,
1701         add result_type and argument_type typedefs; trim includes.
1703 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1705         * include/std/typeindex: New.
1706         * include/Makefile.am: Add.
1707         * include/Makefile.in: Regenerate.
1708         * include/precompiled/stdc++.h: Add.
1709         * testsuite/20_util/typeindex/comparison_operators.cc: New.
1710         * testsuite/20_util/typeindex/hash.cc: Likewise.
1711         * testsuite/20_util/typeindex/hash_code.cc: Likewise.
1712         * testsuite/20_util/typeindex/name.cc: Likewise.
1714         * testsuite/18_support/type_info/hash_code.cc: Tweak.
1716 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1718         * src/hash_bytes.cc: Move...
1719         * libsupc++/hash_bytes.cc: ... here.
1720         * src/Makefile.am: Adjust.
1721         * libsupc++/Makefile.am: Likewise.
1722         * config/abi/pre/gnu.ver: Likewise.
1723         * libsupc++/typeinfo (type_info::hash_code): Add in C++0x mode.
1724         * src/Makefile.in: Regenerate.
1725         * libsupc++/Makefile.am: Likewise.
1726         * testsuite/18_support/type_info/hash_code.cc: New.
1728 2010-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1730         PR libstdc++/45711
1731         * src/Makefile.am (stamp-debug): Also adjust possibly-relative
1732         file names in MKDIR_P, and, for consistency, also top_build_prefix.
1733         * src/Makefile.in: Regenerate.
1735 2010-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1737         * include/ext/throw_allocator.h
1738         (hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
1739         (hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
1740         * include/parallel/set_operations.h (__symmetric_difference_func):
1741         Uglify remaining arguments to __count, __first_empty, _M_invoke.
1742         (__difference_func): Likewise for __count.
1743         * include/profile/impl/profiler_node.h
1744         (__object_info_base::__write): Uglify parameter.
1746 2010-09-19  Paolo Carlini  <paolo.carlini@oracle.com>
1748         * src/hash_bytes.cc: Compile load_bytes and shift_mix only when
1749         __SIZEOF_SIZE_T__ == 8.
1751 2010-09-17  Luc Hermitte  <hermitte@free.fr>
1752             Paolo Carlini  <paolo.carlini@oracle.com>
1754         PR libstdc++/45713
1755         * include/std/bitset: Fix _GLIBCXX_BITSET_WORDS macro.
1756         * testsuite/23_containers/bitset/45713.cc: New.
1758 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1760         * include/bits/stl_raw_storage_iter.h (raw_storage_iterator<>::
1761         operator=(const _Tp&)): Use std::__addressof.
1763 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1765         * include/std/system_error (system_error::system_error(error_code),
1766         system_error(error_code, const string&), system_error(int, const
1767         error_category&), system_error(int, const error_category&,
1768         const string&)): Fix for what() to return the NBTS recommended in
1769         the Note in 19.5.6.2/14.
1770         * testsuite/19_diagnostics/system_error/cons-1.cc: Adjust.
1771         * testsuite/19_diagnostics/system_error/what-1.cc: Likewise.
1772         * testsuite/19_diagnostics/system_error/what-2.cc: Likewise.
1773         * testsuite/19_diagnostics/system_error/what-big.cc: Likewise.
1774         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
1776         * testsuite/19_diagnostics/system_error/what-4.cc: Tidy includes.
1778 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1780         * include/std/complex (complex<float>::operator=(float),
1781         complex<float>::operator+=(float),
1782         complex<float>::operator-=(float),
1783         complex<double>::operator=(double),
1784         complex<double>::operator+=(double),
1785         complex<double>::operator-=(double),
1786         complex<long double>::operator=(long double),
1787         complex<long double>::operator+=(long double),
1788         complex<long double>::operator-=(long double)): Simplify a tad,
1789         just forward to the underlying __complex__ T operators, as
1790         operator*= and operator/= already do.
1792         * include/std/complex (complex<float>, complex<double>,
1793         complex<long double>): Simplify spelling of return types, just
1794         say complex, instead of complex<float>, complex<double>,
1795         complex<long double>, respectively.
1797 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
1799         * testsuite/lib/libstdc++.exp,([check_v3_target_namedlocale]):
1800         Clean temporary source file once compiled.
1802 2010-09-15  Paolo Carlini  <paolo.carlini@oracle.com>
1804         * doc/xml/manual/prerequisites.xml: Update "C" library locale
1805         information prerequisites.
1807 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
1809         * testsuite/lib/libstdc++.exp, dg-options.exp
1810         ([check_v3_target_namedlocale]): Take the name of the required locale.
1811         * testsuite/27_io/objects/wchar_t/9520.cc, 11.cc, 13.cc, 10.cc, 12.cc:
1812         Specify locale name to check.
1813         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc, 13007-1.cc,
1814         13007-2.cc: Likewise.
1815         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc, 13007-1.cc,
1816         13007-2.cc: Likewise.
1817         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
1818         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
1819         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
1820         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
1821         Likewise.
1822         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
1823         Likewise.
1824         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc, 2.cc:
1825         Likewise.
1826         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc, 9322.cc,
1827         13582-2.cc, 2.cc, 13582-3.cc, 12868.cc, 14975-2.cc, 13007.cc: Likewise.
1828         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc, 13171-4.cc,
1829         9322.cc, 13582-2.cc, 2.cc, 14975-1.cc, 13007.cc, 13171-1.cc: Likewise.
1830         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc,
1831         11305-2.cc, 11305-3.cc, 11305-4.cc: Likewise.
1832         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc, 1.cc, 2.cc,
1833         3.cc, 11389-1.cc, 4.cc, 11389-2.cc, 5.cc, 11389-3.cc, 11389-4.cc:
1834         Likewise.
1835         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
1836         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
1837         Likewise.
1838         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
1839         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
1840         Likewise.
1841         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise.
1842         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1843         * testsuite/22_locale/money_put/put/wchar_t/1.cc, 2.cc, 3.cc,
1844         wrapped_locale.cc, wrapped_env.cc: Likewise.
1845         * testsuite/22_locale/money_put/put/char/1.cc, 2.cc, 3.cc, 9780-3.cc,
1846         wrapped_locale.cc, wrapped_env.cc: Likewise.
1847         * testsuite/22_locale/facet/2.cc: Likewise.
1848         * testsuite/22_locale/collate/hash/wchar_t/2.cc, wrapped_locale.cc,
1849         wrapped_env.cc: Likewise.
1850         * testsuite/22_locale/collate/hash/char/2.cc, wrapped_locale.cc,
1851         wrapped_env.cc: Likewise.
1852         * testsuite/22_locale/collate/compare/wchar_t/1.cc, 2.cc, 3.cc,
1853         wrapped_locale.cc, wrapped_env.cc: Likewise.
1854         * testsuite/22_locale/collate/compare/char/1.cc, 2.cc, 3.cc,
1855         wrapped_locale.cc, wrapped_env.cc: Likewise.
1856         * testsuite/22_locale/collate/transform/wchar_t/2.cc, 3.cc,
1857         wrapped_locale.cc, wrapped_env.cc: Likewise.
1858         * testsuite/22_locale/collate/transform/char/2.cc, 3.cc,
1859         wrapped_locale.cc, wrapped_env.cc: Likewise.
1860         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc,
1861         wrapped_env.cc: Likewise.
1862         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc,
1863         wrapped_env.cc: Likewise.
1864         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc, wrapped_env.cc:
1865         Likewise.
1866         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc,
1867         wrapped_env.cc: Likewise.
1868         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc,
1869         wrapped_env.cc: Likewise.
1870         * testsuite/22_locale/ctype/widen/wchar_t/2.cc, 3.cc,
1871         wrapped_locale.cc, wrapped_env.cc: Likewise.
1872         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc,
1873         wrapped_env.cc: Likewise.
1874         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc, wrapped_locale.cc,
1875         wrapped_env.cc: Likewise.
1876         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc,
1877         wrapped_env.cc: Likewise.
1878         * testsuite/22_locale/ctype/is/wchar_t/2.cc,wrapped_locale.cc,
1879         wrapped_env.cc: Likewise
1880         * testsuite/22_locale/ctype/is/char/2.cc, wrapped_locale.cc,
1881         wrapped_env.cc: Likewise.
1882         * testsuite/22_locale/time_put/put/wchar_t/2.cc, 3.cc, 4.cc, 6.cc,
1883         7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc: Likewise.
1884         * testsuite/22_locale/time_put/put/char/2.cc, 3.cc, 4.cc, 6.cc,
1885         9780-1.cc, 7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc:
1886         Likewise.
1887         * testsuite/22_locale/money_get/get/wchar_t/1.cc, 2.cc, 3.cc, 4.cc,
1888         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
1889         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise.
1890         * testsuite/22_locale/money_get/get/char/1.cc, 2.cc, 3.cc, 4.cc,
1891         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
1892         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise
1893         * testsuite/22_locale/num_put/put/wchar_t/1.cc, 3.cc, 5.cc,
1894         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
1895         * testsuite/22_locale/num_put/put/char/1.cc, 3.cc, 5.cc, 9780-2.cc,
1896         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
1897         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc, wrapped_locale.cc,
1898         3.cc, 4.cc, wrapped_env.cc: Likewise.
1899         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc,
1900         wrapped_env.cc: Likewise.
1901         testsuite/22_locale/codecvt/length/wchar_t/2.cc, wrapped_locale.cc,
1902         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
1903         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc,
1904         wrapped_env.cc: Likewise.
1905         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc,
1906         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
1907         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc,
1908         wrapped_env.cc: Likewise.
1909         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc, wrapped_locale.cc,
1910         3.cc, 4.cc, wrapped_env.cc: Likewise.
1911         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc,
1912         wrapped_env.cc: Likewise.
1913         * testsuite/22_locale/codecvt/in/wchar_t/2.cc, wrapped_locale.cc, 3.cc,
1914         4.cc, 7.cc, 8.cc, 9.cc, wrapped_env.cc: Likewise.
1915         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc,
1916         wrapped_env.cc: Likewise.
1917         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc,
1918         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
1919         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc,
1920         wrapped_env.cc: Likewise.
1921         * testsuite/22_locale/codecvt/out/wchar_t/2.cc, wrapped_locale.cc,
1922         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
1923         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc,
1924         wrapped_env.cc: Likewise.
1925         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
1926         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc,
1927         wrapped_env.cc: Likewise.
1928         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc,
1929         wrapped_env.cc: Likewise.
1930         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc,
1931         wrapped_locale.cc, wrapped_env.cc: Likewise.
1932         * testsuite/22_locale/time_get/get_monthname/char/2.cc,
1933         wrapped_locale.cc, wrapped_env.cc: Likewise.
1934         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc,
1935         wrapped_env.cc: Likewise.
1936         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc,
1937         wrapped_env.cc: Likewise.
1938         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc,
1939         wrapped_locale.cc, wrapped_env.cc: Likewise.
1940         * testsuite/22_locale/time_get/get_weekday/char/2.cc, 38081-1.cc,
1941         wrapped_locale.cc, 38081-2.cc, wrapped_env.cc: Likewise.
1942         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc, 26701.cc,
1943         2.cc, wrapped_locale.cc, 4.cc, wrapped_env.cc: Likewise.
1944         * testsuite/22_locale/time_get/get_date/char/12750.cc, 26701.cc,
1945         2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise.
1946         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc, 2.cc,
1947         wrapped_locale.cc, wrapped_env.cc: Likewise.
1948         * testsuite/22_locale/time_get/get_time/char/1.cc, 2.cc,
1949         wrapped_locale.cc, wrapped_env.cc: Likewise.
1950         * testsuite/22_locale/num_get/get/wchar_t/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
1951         wrapped_env.cc, wrapped_locale.cc: Likewise.
1952         * testsuite/22_locale/num_get/get/char/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
1953         wrapped_env.cc, wrapped_locale.cc: Likewise.
1954         * testsuite/22_locale/locale/cons/38368.cc, 2.cc, 4.cc, 5.cc, 7.cc,
1955         12658_thread-1.cc, 12658_thread-2.cc, 40184.cc, 29217.cc, 38365.cc:
1956         Likewise.
1957         * testsuite/22_locale/locale/global_locale_objects/14071.cc, 2.cc:
1958         Likewise.
1959         * testsuite/22_locale/moneypunct/40712.cc: Likewise.
1960         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc,
1961         wrapped_locale.cc, wrapped_env.cc: Likewise.
1962         * testsuite/22_locale/moneypunct/members/char/2.cc, wrapped_locale.cc,
1963         wrapped_env.cc: Likewise.
1964         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
1965         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
1966         * testsuite/22_locale/messages/members/char/1.cc, 2.cc,
1967         wrapped_locale.cc, 3.cc, wrapped_env.cc: Likewise.
1968         * testsuite/22_locale/numpunct/members/wchar_t/2.cc, wrapped_locale.cc,
1969         wrapped_env.cc: Likewise.
1970         * testsuite/22_locale/numpunct/members/char/2.cc, wrapped_locale.cc,
1971         3.cc, wrapped_env.cc: Likewise.
1972         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
1974 2010-09-14  Matt Austern  <austern@google.com>
1975             Paolo Carlini  <paolo.carlini@oracle.com>
1977         * testsuite/performance/21_strings/hash.cc: New.
1979 2010-09-14  Paolo Carlini  <paolo.carlini@oracle.com>
1981         * testsuite/performance/21_strings/string_append.cc: Rename to...
1982         * testsuite/performance/21_strings/append-1.cc: ... this.
1983         * testsuite/performance/21_strings/string_append_2.cc: Rename to...
1984         * testsuite/performance/21_strings/append-2.cc: ... this.
1985         * testsuite/performance/21_strings/string_cons_input_iterator.cc:
1986         Rename to...
1987         * testsuite/performance/21_strings/cons_input_iterator.cc: ... this.
1988         * testsuite/performance/21_strings/string_copy_cons_and_dest.cc:
1989         Rename to...
1990         * testsuite/performance/21_strings/copy_cons_and_dest.cc: ... this.
1991         * testsuite/performance/21_strings/string_find.cc: Rename to...
1992         * testsuite/performance/21_strings/find.cc: ... this.
1994 2010-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1996         * doc/xml/api.xml: Add title.
1997         * doc/xml/manual/spine.xml: Same.
1998         * doc/xml/spine.xml: Same.
2000 2010-09-13  Matt Austern  <austern@google.com>
2002         * src/hash_bytes.cc: New file, exports _Hash_bytes (a Murmur hash),
2003         and _Fnv_hash_bytes (based on a FNV algorithm).
2004         * src/compatibility-c++0x.cc (hash<string>::operator(),
2005         hash<const string&>::operator(), hash<wstring>::operator(),
2006         hash<const wstring&>::operator(), hash<error_code>::operator()):
2007         Adjust, use _Hash_bytes.
2008         * include/std/system_error (hash<error_code>::operator()): Likewise.
2009         * include/std/thread (hash<thread::id>operator()): Likewise.
2010         * include/std/bitset (hash<bitset>operator()): Likewise.
2011         * include/bits/basic_string.h (hash<string>::operator(),
2012         hash<wstring>::operator(), hash<u16string>::operator(),
2013         hash<u32string>::operator()): Adjust.
2014         * include/bits/vector.tcc (hash<vector<bool>>::operator()): Adjust.
2015         * include/bits/functional_hash.h (_Hash_bytes, _Fnv_hash_bytes):
2016         Declare.
2017         (struct _Hash_impl, struct _Fnv_hash_impl): Add, use _Hash_bytes
2018         and _Fnv_hash_bytes, respectively.
2019         (hash<float>::operator(), hash<double>::operator()): Adjust.
2020         * config/abi/pre/gnu.ver: Add exports.
2021         * src/Makefile.am: Add.
2022         * src/Makefile.in: Regenerate.
2024 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
2026         * include/bits/forward_list.h (forward_list<>::resize(size_type,
2027         value_type)): Fix signature, per LWG 1340.
2028         * include/bits/forward_list.tcc: Adjust definition.
2030 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
2032         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: New.
2033         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
2035 2010-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
2037         * src/hash-string-aux.cc: Remove. Move contents...
2038         * src/hash_tr1.cc: ... here.
2039         * src/compatibility-c++0x.cc: ... and here.
2041 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
2043         PR libstdc++/45613
2044         * include/bits/random.tcc: Add missing include guards.
2045         * include/bits/random.h: Likewise.
2046         * include/tr1/random.tcc: Likewise.
2048 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
2050         * libsupc++/cxxabi.h: Uglify nothrow to __nothrow__; fix a few
2051         inconsistent uglifications everywhere.
2053 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
2054             Marc Glisse  <marc.glisse@normalesup.org>
2056         PR libstdc++/45549
2057         * include/bits/cpp_type_traits.h (__is_iterator_helper): Rename to
2058         __has_iterator_category.
2059         (__is_iterator): Adjust.
2060         * include/bits/stl_iterator_base_types.h (__iterator_traits): Add
2061         in C++0x mode, use the latter.
2062         (iterator_traits): In C++0x mode, derive from the latter.
2063         * include/bits/stl_iterator_base_funcs.h (next, prev): Remove
2064         enable_if on the return type.
2066 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
2068         PR libstdc++/45398
2069         * include/std/atomic (atomic<_TP*>::store): Define.
2071         * include/std/atomic (atomic<_TP*>::load, exchange): Define inline.
2073 2010-09-06  Jason Merrill  <jason@redhat.com>
2075         * testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to
2076         abi_check FAIL message.
2078 2010-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
2080         PR libstdc++/45347
2081         * include/ext/concurrence.h: Add #pragma GCC system_header.
2083 2010-09-03  François Dumont <francois.cppdevs@free.fr>
2085         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Fix so
2086         that it really detects when debug mode is activated.
2087         * testsuite/util/debug/construct_neg.h, insert_neg.h, assign_neg.h:
2088         Remove, content moved...
2089         * testsuite/util/debug/checks.h: ... here. Modify checks to take the
2090         type of the container to test rather than an intermediate container
2091         type traits helper.
2092         * testsuite/23_containers/unordered_map/debug/insert1_neg.cc: Update to
2093         use dg-require-debug-mode when necessary and use new check functions.
2094         * testsuite/23_containers/unordered_map/debug/construct1_neg.cc:
2095         Likewise.
2096         * testsuite/23_containers/unordered_map/debug/construct2_neg.cc:
2097         Likewise.
2098         * testsuite/23_containers/unordered_map/debug/insert2_neg.cc: Likewise.
2099         * testsuite/23_containers/unordered_map/debug/construct3_neg.cc:
2100         Likewise.
2101         * testsuite/23_containers/unordered_map/debug/insert3_neg.cc: Likewise.
2102         * testsuite/23_containers/unordered_map/debug/construct4_neg.cc:
2103         Likewise.
2104         * testsuite/23_containers/unordered_map/debug/insert4_neg.cc: Likewise.
2105         * testsuite/23_containers/multimap/debug/insert1_neg.cc: Likewise.
2106         * testsuite/23_containers/multimap/debug/construct1_neg.cc: Likewise.
2107         * testsuite/23_containers/multimap/debug/construct2_neg.cc: Likewise.
2108         * testsuite/23_containers/multimap/debug/insert2_neg.cc: Likewise.
2109         * testsuite/23_containers/multimap/debug/construct3_neg.cc: Likewise.
2110         * testsuite/23_containers/multimap/debug/insert3_neg.cc: Likewise.
2111         * testsuite/23_containers/multimap/debug/construct4_neg.cc: Likewise.
2112         * testsuite/23_containers/multimap/debug/insert4_neg.cc: Likewise.
2113         * testsuite/23_containers/set/debug/insert1_neg.cc: Likewise.
2114         * testsuite/23_containers/set/debug/construct1_neg.cc: Likewise.
2115         * testsuite/23_containers/set/debug/construct2_neg.cc: Likewise.
2116         * testsuite/23_containers/set/debug/insert2_neg.cc: Likewise.
2117         * testsuite/23_containers/set/debug/construct3_neg.cc: Likewise.
2118         * testsuite/23_containers/set/debug/insert3_neg.cc: Likewise.
2119         * testsuite/23_containers/set/debug/construct4_neg.cc: Likewise.
2120         * testsuite/23_containers/set/debug/insert4_neg.cc: Likewise.
2121         * testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc:
2122         Likewise.
2123         * testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc:
2124         Likewise.
2125         * testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc:
2126         Likewise.
2127         * testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc:
2128         Likewise.
2129         * testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc:
2130         Likewise.
2131         * testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc:
2132         Likewise.
2133         * testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc:
2134         Likewise.
2135         * testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc:
2136         Likewise.
2137         * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise.
2138         * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise.
2139         * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise.
2140         * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise.
2141         * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise.
2142         * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise.
2143         * testsuite/23_containers/vector/debug/construct4_neg.cc: Likewise.
2144         * testsuite/23_containers/vector/debug/assign4_neg.cc: Likewise.
2145         * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise.
2146         * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise.
2147         * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise.
2148         * testsuite/23_containers/vector/debug/insert4_neg.cc: Likewise.
2149         * testsuite/23_containers/unordered_set/debug/insert1_neg.cc: Likewise.
2150         * testsuite/23_containers/unordered_set/debug/construct1_neg.cc:
2151         Likewise.
2152         * testsuite/23_containers/unordered_set/debug/construct2_neg.cc:
2153         Likewise.
2154         * testsuite/23_containers/unordered_set/debug/insert2_neg.cc: Likewise.
2155         * testsuite/23_containers/unordered_set/debug/construct3_neg.cc:
2156         Likewise.
2157         * testsuite/23_containers/unordered_set/debug/insert3_neg.cc: Likewise.
2158         * testsuite/23_containers/unordered_set/debug/construct4_neg.cc:
2159         Likewise.
2160         * testsuite/23_containers/unordered_set/debug/insert4_neg.cc: Likewise.
2161         * testsuite/23_containers/deque/debug/assign1_neg.cc: Likewise.
2162         * testsuite/23_containers/deque/debug/construct1_neg.cc: Likewise.
2163         * testsuite/23_containers/deque/debug/construct2_neg.cc: Likewise.
2164         * testsuite/23_containers/deque/debug/assign2_neg.cc: Likewise.
2165         * testsuite/23_containers/deque/debug/construct3_neg.cc: Likewise.
2166         * testsuite/23_containers/deque/debug/assign3_neg.cc: Likewise.
2167         * testsuite/23_containers/deque/debug/construct4_neg.cc: Likewise.
2168         * testsuite/23_containers/deque/debug/assign4_neg.cc: Likewise.
2169         * testsuite/23_containers/deque/debug/insert1_neg.cc: Likewise.
2170         * testsuite/23_containers/deque/debug/insert2_neg.cc: Likewise.
2171         * testsuite/23_containers/deque/debug/insert3_neg.cc: Likewise.
2172         * testsuite/23_containers/deque/debug/insert4_neg.cc: Likewise.
2173         * testsuite/23_containers/multiset/debug/insert1_neg.cc: Likewise.
2174         * testsuite/23_containers/multiset/debug/construct1_neg.cc: Likewise.
2175         * testsuite/23_containers/multiset/debug/construct2_neg.cc: Likewise.
2176         * testsuite/23_containers/multiset/debug/insert2_neg.cc: Likewise.
2177         * testsuite/23_containers/multiset/debug/construct3_neg.cc: Likewise.
2178         * testsuite/23_containers/multiset/debug/insert3_neg.cc: Likewise.
2179         * testsuite/23_containers/multiset/debug/construct4_neg.cc: Likewise.
2180         * testsuite/23_containers/multiset/debug/insert4_neg.cc: Likewise.
2181         * testsuite/23_containers/list/debug/assign1_neg.cc: Likewise.
2182         * testsuite/23_containers/list/debug/construct1_neg.cc: Likewise.
2183         * testsuite/23_containers/list/debug/construct2_neg.cc: Likewise.
2184         * testsuite/23_containers/list/debug/assign2_neg.cc: Likewise.
2185         * testsuite/23_containers/list/debug/construct3_neg.cc: Likewise.
2186         * testsuite/23_containers/list/debug/assign3_neg.cc: Likewise.
2187         * testsuite/23_containers/list/debug/construct4_neg.cc: Likewise.
2188         * testsuite/23_containers/list/debug/assign4_neg.cc: Likewise.
2189         * testsuite/23_containers/list/debug/insert1_neg.cc: Likewise.
2190         * testsuite/23_containers/list/debug/insert2_neg.cc: Likewise.
2191         * testsuite/23_containers/list/debug/insert3_neg.cc: Likewise.
2192         * testsuite/23_containers/list/debug/insert4_neg.cc: Likewise.
2193         * testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc:
2194         Likewise.
2195         * testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc:
2196         Likewise.
2197         * testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc:
2198         Likewise.
2199         * testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc:
2200         Likewise.
2201         * testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc:
2202         Likewise.
2203         * testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc:
2204         Likewise.
2205         * testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc:
2206         Likewise.
2207         * testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc:
2208         Likewise.
2209         * testsuite/23_containers/map/debug/insert1_neg.cc: Likewise.
2210         * testsuite/23_containers/map/debug/construct1_neg.cc: Likewise.
2211         * testsuite/23_containers/map/debug/construct2_neg.cc: Likewise.
2212         * testsuite/23_containers/map/debug/insert2_neg.cc: Likewise.
2213         * testsuite/23_containers/map/debug/construct3_neg.cc: Likewise.
2214         * testsuite/23_containers/map/debug/insert3_neg.cc: Likewise.
2215         * testsuite/23_containers/map/debug/construct4_neg.cc: Likewise.
2216         * testsuite/23_containers/map/debug/insert4_neg.cc: Likewise.
2218         * testsuite/23_containers/unordered_map/debug/cont_traits.h: Remove.
2219         * testsuite/23_containers/unordered_map/debug/debug_cont_traits.h:
2220         Likewise.
2221         * testsuite/23_containers/multimap/debug/cont_traits.h: Likewise.
2222         * testsuite/23_containers/multimap/debug/debug_cont_traits.h: Likewise.
2223         * testsuite/23_containers/set/debug/cont_traits.h: Likewise.
2224         * testsuite/23_containers/set/debug/debug_cont_traits.h: Likewise.
2225         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h:
2226         Likewise.
2227         * testsuite/23_containers/unordered_multimap/debug/
2228         debug_cont_traits.h: Likewise.
2229         * testsuite/23_containers/vector/debug/cont_traits.h: Likewise.
2230         * testsuite/23_containers/vector/debug/debug_cont_traits.h: Likewise.
2231         * testsuite/23_containers/unordered_set/debug/cont_traits.h: Likewise.
2232         * testsuite/23_containers/unordered_set/debug/debug_cont_traits.h:
2233         Likewise.
2234         * testsuite/23_containers/deque/debug/cont_traits.h: Likewise.
2235         * testsuite/23_containers/deque/debug/debug_cont_traits.h: Likewise.
2236         * testsuite/23_containers/multiset/debug/cont_traits.h: Likewise.
2237         * testsuite/23_containers/multiset/debug/debug_cont_traits.h: Likewise.
2238         * testsuite/23_containers/list/debug/cont_traits.h: Likewise.
2239         * testsuite/23_containers/list/debug/debug_cont_traits.h: Likewise.
2240         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h:
2241         Likewise.
2242         * testsuite/23_containers/unordered_multiset/debug/
2243         debug_cont_traits.h: Likewise.
2244         * testsuite/23_containers/map/debug/cont_traits.h: Likewise.
2245         * testsuite/23_containers/map/debug/debug_cont_traits.h: Likewise.
2247         * testsuite/21_strings/basic_string/element_access/char: Tidy.
2248         * testsuite/21_strings/basic_string/element_access/wchar_t: Likewise.
2250 2010-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
2252         PR libstdc++/40974
2253         * include/Makefile.am: Add -nostdinc++ to PCHFLAGS.
2254         * include/Makefile.in: Regenerate.
2256 2010-09-01  Christopher Yeleighton  <giecrilj@stegny.2a.pl>
2257             Paolo Carlini  <paolo.carlini@oracle.com>
2259         PR libstdc++/45488
2260         * include/bits/stl_algobase.h (lower_bound): Clean-up a tad, move
2261         two variables inside the main loop.
2262         * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range):
2263         Likewise.
2265 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
2267         PR libstdc++/44480
2268         * include/bits/hashtable.h (_Hashtable<>::_M_begin_bucket_index):
2269         Add, caching the index of the first non-empty bucket.
2270         (begin, cbegin): Use it.
2271         (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator, ...),
2272         _Hashtable(const _Hashtable&), _Hashtable(_Hashtable&&),
2273         swap(_Hashtable&), clear): Adjust.
2274         (_M_insert_bucket, _M_insert, erase(const_iterator),
2275         erase(const key_type&), _M_rehash): Update it.
2277         * include/bits/hashtable.h (_Hashtable<>::_M_erase): Remove.
2278         (erase(const_iterator)): Inline the latter.
2280 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
2282         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
2283         Fix test01 return type to void.
2284         * testsuite/util/exception/safety.h: Avoid -Wall -m32 warnings.
2285         * testsuite/util/replacement_memory_operators.h: Likewise.
2287 2010-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
2289         * testsuite/23_containers/bitset/invalidation: Move...
2290         * testsuite/23_containers/bitset/debug/invalidation: ... here.
2291         * testsuite/23_containers/deque/invalidation: Move...
2292         * testsuite/23_containers/deque/debug/invalidation: ... here.
2293         * testsuite/23_containers/list/invalidation: Move...
2294         * testsuite/23_containers/list/debug/invalidation: ... here.
2295         * testsuite/23_containers/map/invalidation: Move...
2296         * testsuite/23_containers/map/debug/invalidation: ... here.
2297         * testsuite/23_containers/multimap/invalidation: Move...
2298         * testsuite/23_containers/multimap/debug/invalidation: ... here.
2299         * testsuite/23_containers/set/invalidation: Move...
2300         * testsuite/23_containers/set/debug/invalidation: ... here.
2301         * testsuite/23_containers/multiset/invalidation: Move...
2302         * testsuite/23_containers/multiset/debug/invalidation: ... here.
2303         * testsuite/23_containers/vector/invalidation: Move...
2304         * testsuite/23_containers/vector/debug/invalidation: ... here.
2306 2010-08-29  François Dumont  <francois.cppdevs@free.fr>
2308         * include/bits/stl_algobase.h (_Iter_base):  Move...
2309         * include/bits/stl_iterator_base_types.h: ...here.
2310         * include/debug/functions.h (__check_valid_range, __check_string,
2311         __check_sorted): Fix to not depend on _GLIBCXX_DEBUG; include
2312         formatter.h and use formatting macros for a consistent debug result.
2313         * include/debug/formatter.h (__check_singular): Declare; do not
2314         include debug.h.
2315         * include/debug/debug.h: Do not include formatter.h.
2316         * include/debug/safe_iterator.h (_Safe_iterator::_Base_Iterator)
2317         rename to iterator_type.
2318         (__gnu_debug::__base): Add.
2319         * include/debug/set.h: Use everywhere __gnu_debug::__base once
2320         iterator range valided.
2321         * include/debug/unordered_map: Likewise.
2322         * include/debug/multiset.h: Likewise.
2323         * include/debug/vector: Likewise.
2324         * include/debug/unordered_set: Likewise.
2325         * include/debug/deque: Likewise.
2326         * include/debug/map.h: Likewise.
2327         * include/debug/string: Likewise.
2328         * include/debug/list: Likewise.
2329         * include/debug/multimap.h: Likewise.
2330         * testsuite/23_containers/util/debug/assign_neg.h: New test cases on
2331         debug checks performed on container assign operation.
2332         * testsuite/23_containers/util/debug/construct_neg.h: New test cases
2333         on debug checks on constructors.
2334         * testsuite/23_containers/util/debug/insert_neg.h: New test cases on
2335         debug checks performed on container insert operations.
2336         * testsuite/23_containers/unordered_map/debug/cont_traits.h,
2337         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2338         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2339         insert3_neg.cc, insert4_neg.cc: New.
2340         * testsuite/23_containers/multimap/debug/cont_traits.h,
2341         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2342         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2343         insert3_neg.cc, insert4_neg.cc: Likewise.
2344         * testsuite/23_containers/set/debug/cont_traits.h,
2345         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2346         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2347         insert3_neg.cc, insert4_neg.cc: Likewise.
2348         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h,
2349         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2350         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2351         insert3_neg.cc, insert4_neg.cc: Likewise.
2352         * testsuite/23_containers/unordered_set/debug/cont_traits.h,
2353         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2354         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2355         insert3_neg.cc, insert4_neg.cc: Likewise.
2356         * testsuite/23_containers/multiset/debug/cont_traits.h,
2357         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2358         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2359         insert3_neg.cc, insert4_neg.cc: Likewise.
2360         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h,
2361         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2362         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2363         insert3_neg.cc, insert4_neg.cc: Likewise.
2364         * testsuite/23_containers/map/debug/cont_traits.h,
2365         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2366         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2367         insert3_neg.cc, insert4_neg.cc: Likewise.
2368         * testsuite/23_containers/vector/debug/cont_traits.h,
2369         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2370         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2371         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2372         insert3_neg.cc, insert4_neg.cc: Likewise.
2373         * testsuite/23_containers/deque/debug/cont_traits.h,
2374         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2375         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2376         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2377         insert3_neg.cc, insert4_neg.cc: Likewise.
2378         * testsuite/23_containers/list/debug/cont_traits.h,
2379         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2380         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2381         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2382         insert3_neg.cc, insert4_neg.cc: Likewise.
2383         * testsuite/performance/23_containers/range_construct/
2384         list_construct1.cc: New, validate performance impact of the patch
2385         on the debug mode.
2386         * testsuite/performance/23_containers/range_construct/
2387         list_construct2.cc: Likewise.
2388         * testsuite/performance/23_containers/range_construct/
2389         vector_construct.cc: Likewise.
2390         * testsuite/performance/23_containers/range_construct/
2391         deque_construct.cc: Likewise.
2393 2010-08-26  Benjamin Kosnik  <bkoz@redhat.com>
2395         * include/bits/stl_iterator_base_types.h: Fix doxygen warning.
2397 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2399         * configure: Regenerate.
2401 2010-08-18  Kostya Serebryany <kcc@google.com>
2402             Paolo Carlini  <paolo.carlini@oracle.com>
2404         PR libstdc++/45276
2405         * doc/xml/manual/debug.xml ([debug.races]): Add.
2407 2010-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
2409         PR libstdc++/45300
2410         * include/c_std/cwchar: Replace 'restrict' -> '__restrict'.
2411         * include/c_global/cwchar: Likewise.
2413 2010-08-16  Paolo Carlini  <paolo.carlini@oracle.com>
2415         PR libstdc++/45300
2416         * include/c_std/cstdlib: Replace 'restrict' -> '__restrict'.
2417         * include/c_std/cstdio: Likewise.
2418         * include/c_global/cstdlib: Likewise.
2419         * include/c_global/cstdio: Likewise.
2421 2010-08-16  Chris Moller  <cmoller@redhat.com>
2423         http://sourceware.org/bugzilla/show_bug.cgi?id=11874
2424         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Added stuff
2425         to handle pretty-printing of std::vector<bool>.
2427 2010-08-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2429         PR libstdc++/45283
2430         * testsuite/performance/30_threads/future/polling.cc: Replace calls to
2431         shared_future::is_ready.
2433 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2435         * include/bits/hashtable.h (_Hashtable<>::operator=(const
2436         _Hashtable&)): Move inline.
2437         (operator=(_Hashtable&&)): Define.
2438         * include/bits/unordered_map.h (unordered_map(unordered_map&&),
2439         unordered_map(const unordered_map&), unordered_multimap
2440         (unordered_multimap&&), unordered_multimap(const unordered_multimap&),
2441         __unordered_map(__unordered_map&&), __unordered_map(const
2442         __unordered_map&), __unordered_multimap(__unordered_multimap&&),
2443         __unordered_multimap(const __unordered_multimap&)): Do not define,
2444         leave implicit.
2445         * include/bits/unordered_set.h (unordered_set(unordered_set&&),
2446         unordered_set(const unordered_set&), unordered_multiset
2447         (unordered_multiset&&), unordered_multiset(const unordered_multiset&),
2448         __unordered_set(__unordered_set&&), __unordered_set(const
2449         __unordered_set&), __unordered_multiset(__unordered_multiset&&),
2450         __unordered_multiset(const __unordered_multiset&)): Likewise.
2452         * include/bits/unordered_map.h (__unordered_map(initializer_list<>),
2453         __unordered_map<>::operator=(initializer_list<>),
2454         __unordered_multimap(initializer_list<>), __unordered_multimap<>::
2455         operator=(initializer_list<>)): Add.
2456         * include/bits/unordered_set.h (__unordered_set(initializer_list<>),
2457         __unordered_set<>::operator=(initializer_list<>),
2458         __unordered_multiset(initializer_list<>), __unordered_multiset<>::
2459         operator=(initializer_list<>)): Likewise.
2461         * include/bits/unordered_map.h (__unordered_map(_InputIterator,
2462         _InputIterator, size_type __n), unordered_map(_InputIterator,
2463         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2464         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2465         Fix __n default to 0.
2466         * include/bits/unordered_set.h (__unordered_set(_InputIterator,
2467         _InputIterator, size_type __n), unordered_set(_InputIterator,
2468         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2469         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2470         Likewise.
2471         * include/debug/unordered_map (unordered_map(_InputIterator,
2472         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2473         size_type __n), unordered_map(_InputIterator, _InputIterator,
2474         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2475         Likewise.
2476         * include/debug/unordered_set (unordered_set(_InputIterator,
2477         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2478         size_type __n), unordered_set(_InputIterator, _InputIterator,
2479         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2480         Likewise.
2481         * include/profile/unordered_map (unordered_map(_InputIterator,
2482         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2483         size_type __n), unordered_map(_InputIterator, _InputIterator,
2484         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2485         Likewise.
2486         * include/profile/unordered_set (unordered_set(_InputIterator,
2487         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2488         size_type __n), unordered_set(_InputIterator, _InputIterator,
2489         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2490         Likewise.
2492 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2494         PR libstdc++/45281
2495         * include/bits/stl_queue.h (queue(queue&&), operator=(queue&&),
2496         priority_queue(priority_queue&&), operator=(priority_queue&&)):
2497         Remove, per CH 15.
2499 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2501         * testsuite/23_containers/unordered_map/dr1189.cc: Move to...
2502         * testsuite/23_containers/unordered_map/hash_policy/dr1189.cc:
2503         ... here.
2504         * testsuite/23_containers/unordered_set/dr1189.cc: Move to...
2505         * testsuite/23_containers/unordered_set/hash_policy/dr1189.cc:
2506         ... here.
2507         * testsuite/23_containers/unordered_multimap/dr1189.cc: Move to...
2508         * testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc:
2509         ... here.
2510         * testsuite/23_containers/unordered_multiset/dr1189.cc: Move to...
2511         * testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc:
2512         ... here.
2514         * testsuite/23_containers/unordered_set/hash_policy/26132.cc: New.
2516 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2518         * src/ios_init.cc (ios_base::Init::~Init): Add back semicolon
2519         at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS_* macros,
2520         removed by mistake.
2521         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
2522         * include/ext/rc_string_base.h: Likewise.
2523         * include/bits/locale_classes.h: Likewise.
2524         * include/bits/basic_string.h: Likewise.
2525         * include/bits/ios_base.h: Likewise.
2526         * include/bits/c++config: Adjust comment.
2528 2010-08-12  Kostya Serebryany <kcc@google.com>
2529             Paolo Carlini  <paolo.carlini@oracle.com>
2531         * include/bits/c++config (_GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE,
2532         _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER): Add.
2533         * src/ios_init.cc (ios_base::Init::~Init): Decorate with the
2534         latter.
2535         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
2536         * include/ext/rc_string_base.h: Likewise.
2537         * include/bits/locale_classes.h: Likewise.
2538         * include/bits/basic_string.h: Likewise.
2539         * include/bits/ios_base.h: Likewise.
2540         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
2541         line number.
2542         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2543         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
2545 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2547         * include/bits/hashtable.h (_Hashtable<>::erase(const key_type&)):
2548         Use std::__addressof.
2550         * include/bits/forward_list.tcc (forward_list<>::remove): Deal
2551         correctly with &__tmp->_M_value == &__val.
2552         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
2553         New.
2555 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2557         * include/bits/stl_algo.h (shuffle): Change signature consistently
2558         with random_shuffle (US 121).
2559         * include/bits/algorithmfwd.h: Adjust.
2560         * testsuite/25_algorithms/shuffle/requirements/
2561         explicit_instantiation/2.cc: Likewise.
2562         * testsuite/25_algorithms/shuffle/requirements/
2563         explicit_instantiation/pod.cc: Likewise.
2565 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2567         * include/bits/move.h (forward): Reinstate the N2835 version.
2569 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2571         PR libstdc++/42925
2572         * include/bits/unique_ptr.h (operator==(const unique_ptr<>&,
2573         nullptr_t), operator==(nullptr_t, const unique_ptr<>&),
2574         operator!=(const unique_ptr<>&, nullptr_t),
2575         operator!=(nullptr_t, const unique_ptr<>&)): Add.
2576         * include/bits/shared_ptr_base.h (operator==(const __shared_ptr<>&,
2577         nullptr_t), operator==(nullptr_t, const __shared_ptr<>&),
2578         operator!=(const __shared_ptr<>&, nullptr_t),
2579         operator!=(nullptr_t, const __shared_ptr<>&)): Likewise.
2580         * include/bits/shared_ptr.h (operator==(const shared_ptr<>&,
2581         nullptr_t), operator==(nullptr_t, const shared_ptr<>&),
2582         operator!=(const shared_ptr<>&, nullptr_t),
2583         operator!=(nullptr_t, const shared_ptr<>&)): Likewise.
2584         * testsuite/20_util/unique_ptr/comparison/42925.cc: New.
2585         * testsuite/20_util/shared_ptr/comparison/42925.cc: Likewise.
2586         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2587         dg-error line numbers.
2589 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2591         * include/bits/unique_ptr.h: Replace _Tp_Deleter -> _Dp, and
2592         _Up_Deleter -> _Ep.
2594 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2596         * include/bits/shared_ptr_base.h: Remove a few now redundant
2597         __glibcxx_function_requires(_ConvertibleConcept...).
2598         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error
2599         line number.
2600         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2602 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2604         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Avoid -Wall
2605         warnings.
2606         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
2608 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2610         * testsuite/23_containers/array/range_access.cc: Avoid -Wall
2611         warnings.
2613 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2615         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
2616         warnings.
2618         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
2619         (const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
2620         weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
2621         Constrain appropriately via std::is_convertible, etc.
2622         * include/bits/shared_ptr_base.h: Likewise.
2623         * include/bits/unique_ptr.h (default_delete<>::
2624         default_delete(const default_delete<>&),
2625         unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
2626         Likewise.
2628         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2629         line numbers.
2630         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
2632         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
2633         Add.
2634         * include/std/memory: Adjust includes order.
2635         * testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
2636         * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
2637         * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.
2639 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2641         PR libstdc++/45228
2642         * include/std/tuple (tuple<typename... _Elements>): Constrain
2643         converting constructors and assignment operators with
2644         sizeof...(_UElements) == sizeof...(_Elements).
2645         (tuple(tuple<_UElements...>&): Remove.
2646         (tuple<typename _T1>): Add.
2647         * testsuite/20_util/tuple/cons/45228.cc: New.
2648         * testsuite/20_util/tuple/cons/converting.cc: Likewise.
2649         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2650         dg-error line number.
2652         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(const _Tuple_impl&)):
2653         Defaulted.
2655         * include/std/tuple (tuple<typename _T1, typename _T2>
2656         ::operator=(pair<_U1, _U2>&&)): Use forward.
2658 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
2660         PR libstdc++/44963
2661         * include/bits/stl_iterator.h (insert_iterator<>::
2662         operator=(const typename _Container::value_type&,
2663         back_insert_iterator<>::
2664         operator=(const typename _Container::value_type&),
2665         front_insert_iterator<>::
2666         operator=(const typename _Container::value_type&))): Add
2667         in C++0x mode.
2668         * testsuite/ext/rope/44963.cc: New.
2669         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2670         dg-error line number.
2672 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
2674         * include/c_global/cmath: Implement US 136.
2675         * include/tr1_impl/cmath: Do not bring fpclassify, etc from namespace
2676         std, define namespace tr1.
2677         * testsuite/26_numerics/headers/cmath/
2678         c99_classification_macros_c++0x.cc: New.
2680 2010-08-06  David Malcolm  <dmalcolm@redhat.com>
2681             Jan Kratochvil  <jan.kratochvil@redhat.com>
2683         * python/hook.in: Rename variable dir to dir_.
2685 2010-08-06  Jason Merrill  <jason@redhat.com>
2687         * include/std/thread: Add deleted thread(thread&).
2688         * testsuite/30_threads/thread/cons/copy_neg.cc: Remove XFAIL.
2690 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2692         * include/std/tuple (pack_arguments): Rename to forward_as_tuple
2693         and simplify, per US 98 and US 99.
2694         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc:
2695         Rename to...
2696         * testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc:
2697         ... this, adjust.
2698         * testsuite/20_util/pair/piecewise.cc: Adjust.
2700 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2702         * include/std/tuple (begin, end): Remove per GB 87.
2703         * testsuite/20_util/tuple/range_access.cc: Remove.
2705 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2707         * include/std/ratio (ratio_less): Improve, use ratio_divide to avoid
2708         more overflows.
2709         * testsuite/20_util/ratio/comparisons/comp1.cc: Extend.
2710         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2712 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
2714         * include/tr1_impl/utility (begin, end): Remove per GB 85.
2715         * testsuite/20_util/pair/range_access.cc: Remove.
2717         * include/std/functional (function<>::function()): Remove explicit,
2718         per JP 3.
2720 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
2722         * include/bits/move.h (forward): Update to N3092.
2723         (identity): Remove (US 92 is NAD).
2724         * include/debug/set.h: Fix move constructor to simply use move.
2725         * include/debug/unordered_map: Likewise.
2726         * include/debug/multiset.h: Likewise.
2727         * include/debug/vector: Likewise.
2728         * include/debug/unordered_set: Likewise.
2729         * include/debug/deque: Likewise.
2730         * include/debug/map.h: Likewise.
2731         * include/debug/string: Likewise.
2732         * include/debug/list: Likewise.
2733         * include/debug/multimap.h: Likewise.
2734         * include/profile/set.h: Likewise.
2735         * include/profile/unordered_map: Likewise.
2736         * include/profile/multiset.h: Likewise.
2737         * include/profile/unordered_set: Likewise.
2738         * include/profile/vector: Likewise.
2739         * include/profile/deque: Likewise.
2740         * include/profile/map.h: Likewise.
2741         * include/profile/list: Likewise.
2742         * include/profile/multimap.h: Likewise.
2743         * include/ext/vstring.h: Likewise.
2744         * include/bits/stl_list.h: Likewise.
2745         * include/bits/stl_map.h: Likewise.
2746         * include/bits/stl_set.h: Likewise.
2747         * include/bits/forward_list.h: Likewise.
2748         * include/bits/stl_multimap.h: Likewise.
2749         * include/bits/unordered_map.h: Likewise.
2750         * include/bits/stl_vector.h: Likewise.
2751         * include/bits/stl_deque.h: Likewise.
2752         * include/bits/stl_multiset.h: Likewise.
2753         * include/bits/unordered_set.h: Likewise.
2754         * include/bits/stl_bvector.h: Likewise.
2755         * testsuite/20_util/identity/value.cc: Remove
2756         * testsuite/20_util/identity/requirements/typedefs.cc: Likewise.
2757         * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
2758         Likewise.
2760 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2762         * acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix
2763         messages.
2764         * configure: Regenerate.
2766 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2768         * include/ext/vstring_util.h: Include bits/range_access.h.
2769         * testsuite/ext/vstring/range_access.cc: New test.
2771 2010-07-27  Ed Smith-Rowland  <3dw4rd@verizon.net>
2773         * include/bits/range_access.h: New.
2774         * include/Makefile.in: Add bits/range_access.h.
2775         * include/Makefile.am: Regenerate.
2776         * include/std/array: Include bits/range_access.h.
2777         * include/std/deque: Ditto.
2778         * include/std/forward_list: Ditto.
2779         * include/std/iterator: Ditto.
2780         * include/std/list: Ditto.
2781         * include/std/map: Ditto.
2782         * include/std/regex: Ditto.
2783         * include/std/set: Ditto.
2784         * include/std/string: Ditto.
2785         * include/std/unordered_map: Ditto.
2786         * include/std/unordered_set: Ditto.
2787         * include/std/vector: Ditto.
2788         * include/std/valarray: Add begin() and end().
2789         * libsupc++/initializer_list: Ditto.
2790         * include/tr1_impl/utility: Add begin() and end().
2791         * include/std/tuple: Ditto.
2792         * testsuite/24_iterators/headers/iterator/range_access.cc: New test.
2793         * testsuite/24_iterators/range_access.cc: Ditto.
2794         * testsuite/28_regex/range_access.cc: Ditto.
2795         * testsuite/18_support/initializer_list/range_access.cc: Ditto.
2796         * testsuite/21_strings/basic_string/range_access.cc: Ditto.
2797         * testsuite/26_numerics/valarray/range_access.cc: Ditto.
2798         * testsuite/23_containers/unordered_map/range_access.cc: Ditto.
2799         * testsuite/23_containers/multimap/range_access.cc: Ditto.
2800         * testsuite/23_containers/set/range_access.cc: Ditto.
2801         * testsuite/23_containers/unordered_multimap/range_access.cc: Ditto.
2802         * testsuite/23_containers/forward_list/range_access.cc: Ditto.
2803         * testsuite/23_containers/unordered_set/range_access.cc: Ditto.
2804         * testsuite/23_containers/vector/range_access.cc: Ditto.
2805         * testsuite/23_containers/deque/range_access.cc: Ditto.
2806         * testsuite/23_containers/multiset/range_access.cc: Ditto.
2807         * testsuite/23_containers/list/range_access.cc: Ditto.
2808         * testsuite/23_containers/unordered_multiset/range_access.cc: Ditto.
2809         * testsuite/23_containers/map/range_access.cc: Ditto.
2810         * testsuite/23_containers/array/range_access.cc: Ditto.
2811         * testsuite/20_util/tuple/range_access.cc: Ditto.
2812         * testsuite/20_util/pair/range_access.cc: Ditto.
2814 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2815             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2817         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove.
2818         ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Add, actually
2819         compute the constants via AC_COMPUTE_INT.
2820         * configure.ac: Call the latter.
2821         * include/bits/ios_base.h: Adjust.
2822         * include/bits/char_traits.h: Likewise.
2823         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
2824         line number.
2825         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2826         * config.h.in: Regenerate.
2827         * configure: Likewise.
2829 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2831         * config/io/c_io_stdio.h: Do not include <cstddef>.
2833 2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2835         * testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
2836         9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
2837         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
2838         Solaris 9/x86 and 32-bit Solaris 10/x86.
2840         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
2841         Only XFAIL on Solaris 8 and 9.
2842         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
2843         Likewise.
2845         * testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.
2847 2010-07-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
2849         PR libstdc++/45060
2850         * include/bits/hashtable.h (_Hashtable::_Hashtable(_Hashtable&&)):
2851         Reorder mem-initializers.
2853 2010-07-22  Benjamin Kosnik  <bkoz@redhat.com>
2855         DocBook 4.5 to 5.0 transition.
2856         * doc/xml/authors.xml: Update markup to DocBook 5.0.
2857         * doc/xml/faq.xml: Same.
2858         * doc/xml/api.xml: Same.
2859         * doc/xml/class.txml
2860         * doc/xml/gnu/gpl-3.0.xml: Same.
2861         * doc/xml/gnu/fdl-1.2.xml: Same.
2862         * doc/xml/gnu/fdl-1.3.xml: Same.
2863         * doc/xml/gnu/gpl-2.0.xml: Same.
2864         * doc/xml/chapter.txml: Same.
2865         * doc/xml/manual/mt_allocator.xml: Same.
2866         * doc/xml/manual/allocator.xml: Same.
2867         * doc/xml/manual/ctype.xml: Same.
2868         * doc/xml/manual/numerics.xml: Same.
2869         * doc/xml/manual/codecvt.xml: Same.
2870         * doc/xml/manual/backwards_compatibility.xml: Same.
2871         * doc/xml/manual/concurrency.xml: Same.
2872         * doc/xml/manual/intro.xml: Same.
2873         * doc/xml/manual/abi.xml: Same.
2874         * doc/xml/manual/shared_ptr.xml: Same.
2875         * doc/xml/manual/status_cxxtr1.xml: Same.
2876         * doc/xml/manual/auto_ptr.xml: Same.
2877         * doc/xml/manual/internals.xml: Same.
2878         * doc/xml/manual/atomics.xml: Same.
2879         * doc/xml/manual/parallel_mode.xml: Same.
2880         * doc/xml/manual/status_cxx1998.xml: Same.
2881         * doc/xml/manual/profile_mode.xml: Same.
2882         * doc/xml/manual/containers.xml: Same.
2883         * doc/xml/manual/io.xml: Same.
2884         * doc/xml/manual/concurrency_extensions.xml: Same.
2885         * doc/xml/manual/appendix_porting.xml: Same.
2886         * doc/xml/manual/utilities.xml: Same.
2887         * doc/xml/manual/support.xml: Same.
2888         * doc/xml/manual/bitmap_allocator.xml: Same.
2889         * doc/xml/manual/configure.xml: Same.
2890         * doc/xml/manual/build_hacking.xml: Same.
2891         * doc/xml/manual/evolution.xml: Same.
2892         * doc/xml/manual/using.xml: Same.
2893         * doc/xml/manual/using_exceptions.xml: Same.
2894         * doc/xml/manual/debug.xml: Same.
2895         * doc/xml/manual/localization.xml: Same.
2896         * doc/xml/manual/strings.xml: Same.
2897         * doc/xml/manual/debug_mode.xml: Same.
2898         * doc/xml/manual/locale.xml: Same.
2899         * doc/xml/manual/extensions.xml: Same.
2900         * doc/xml/manual/appendix_contributing.xml: Same.
2901         * doc/xml/manual/prerequisites.xml: Same.
2902         * doc/xml/manual/messages.xml: Same.
2903         * doc/xml/manual/diagnostics.xml: Same.
2904         * doc/xml/manual/algorithms.xml: Same.
2905         * doc/xml/manual/appendix_free.xml: Same.
2906         * doc/xml/manual/iterators.xml: Same.
2907         * doc/xml/manual/spine.xml: Same.
2908         * doc/xml/manual/status_cxxtr24733.xml: Same.
2909         * doc/xml/manual/status_cxx200x.xml: Same.
2910         * doc/xml/manual/test.xml: Same.
2911         * doc/xml/book.txml: Same.
2912         * doc/xml/spine.xml: Same.
2913         * doc/Makefile.am: Same.
2914         * doc/Makefile.in: Regenerate.
2916 2010-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2918         * doc/xml/manual/appendix_contributing.xml: Update for new reality.
2919         * doc/Makefile.am (doc-xml): New default rule for XML output.
2920         (doc-xml-single-doxygen): Standardize output names.
2921         * doc/Makefile.in: Regenerate.
2923         * doc/doxygen/user.cfg.in: Tweak.
2925 2010-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
2927         * libsupc++/unwind-cxx.h: Minor formatting / stylistic tweaks.
2929 2010-07-20  Mikael Pettersson  <mikpe@it.uu.se>
2931         PR libstdc++/44902
2932         * libsupc++/unwind-cxx.h (__cxa_type_match): Correct prototype.
2933         (__cxa_begin_cleanup): Likewise.
2935 2010-07-19  Benjamin Kosnik  <bkoz@redhat.com>
2937         * doc/Makefile.am (doc-texinfo): New rule.
2938         (doc-texinfo-docbook): New rule.
2939         (DB2TEXI_FLAGS): New.
2940         (doc-xml-single-docbook): Just the manual, not the set. Tweak flags.
2941         * doc/Makefile.in: Regenerate.
2943 2010-07-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2945         * doc/xml/manual/shared_ptr.xml: Update.
2946         * doc/html/*: Regenerate.
2948 2010-07-13  Benjamin Kosnik  <bkoz@redhat.com>
2950         * doc/Makefile.am: Edit pdf rules.
2951         (doc-man, doc-pdf, doc-html): Expand default rules.
2952         * doc/Makefile.in: Regenerate.
2953         * doc/doxygen/user.cfg.in: Update to Doxygen 1.7.1.
2955 2010-07-11  Paolo Carlini  <paolo.carlini@oracle.com>
2957         * include/std/type_traits (is_convertible): Use SFINAE.
2958         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2959         dg-error line numbers.
2960         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2961         Likewise.
2962         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2964 2010-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2966         PR libstdc++/44875
2967         * doc/xml/manual/status_cxx200x.xml: Corrections to status.
2968         * doc/html/*: Regenerate.
2970 2010-07-08  Benjamin Kosnik  <bkoz@redhat.com>
2972         * include/bits/stl_heap.h: Update markup.
2973         * include/bits/move.h: Same.
2974         * include/bits/algorithmfwd.h: Same.
2975         * include/bits/regex.h: Same.
2976         * include/bits/random.h: Same.
2977         * doc/doxygen/doxygroups.cc: Same.
2978         * doc/doxygen/user.cfg.in: Remove include/tr1_impl/regex from
2979         input file list.
2980         * doc/Makefile.am (doc-pdf-doxygen): Add comment, put generated
2981         pdf in location consistent with docbook pdf generation.
2982         * doc/Makefile.in: Regenerate.
2984 2010-07-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2986         * doc/xml/manual/status_cxx200x.xml: Add some missing features.
2987         * doc/html/*: Regenerate.
2989 2010-07-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
2991         * include/bits/regex_compiler.h: Fix filename in doxygen comment.
2992         * include/bits/regex_constants.h: Likewise.
2993         * include/bits/regex_error.h: Likewise.
2994         * include/bits/regex_grep_matcher.h: Likewise.
2995         * include/bits/regex_grep_matcher.tcc: Likewise.
2996         * include/bits/regex_nfa.tcc: Likewise.
2998 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3000         * acinclude.m4 (symvers_renaming): Define
3001         HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT instead of
3002         _GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
3003         Fix syntax error.
3004         * config.h.in: Regenerate.
3005         * configure: Regenerate.
3007 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3009         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle sun style.
3010         Require GCC_PROG_GNU_CXXFILT.
3011         (_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define
3012         unless targetting solaris2*.
3013         Include ../config/gc++filt.m4.
3014         * configure.host (i?86-*-solaris2*): Set abi_baseline_pair.
3015         (sparc-*-solaris2*): Likewise.
3016         * src/Makefile.am [ENABLE_SYMVERS_SUN] (version_dep, version_arg):
3017         New variables.
3018         (libstdc++-symbols.ver-sun): New target.
3019         * configure: Regenerate.
3020         * config.h.in: Regenerate.
3021         * Makefile.in: Likewise.
3022         * doc/Makefile.in: Likewise.
3023         * include/Makefile.in: Likewise.
3024         * libsupc++/Makefile.in: Likewise.
3025         * po/Makefile.in: Likewise.
3026         * python/Makefile.in: Likewise.
3027         * src/Makefile.in: Likewise.
3028         * src/atomic.cc: Only define/use _GLIBCXX_ASM_SYMVER if
3029         _GLIBCXX_HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
3030         * src/compatibility.cc: Likewise.
3031         * testsuite/Makefile.am (baseline_subdir): Define.
3032         (baseline_symbols): Use it.
3033         (new-abi-baseline): Likewise.
3034         * testsuite/Makefile.in: Regenerate.
3036         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5): Enclose duplicates in
3037         #ifdef HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
3038         (GLIBCXX_3.4.6): Likewise.
3040         * doc/xml/manual/configure.xml (--enable-symvers): Document sun
3041         style.
3043         * doc/xml/manual/abi.xml: Fix grammar.
3044         (Symbol versioning on the libstdc++.so binary): Fix mapfile path.
3045         (Incremental bumping of a library pre-defined macro): Fix
3046         c++config path.
3047         (Incremental bumping of a library pre-defined macro,
3048         _GLIBCPP_VERSION): Likewise.
3049         (Matching each specific C++ compiler release to a specific set of
3050         C++ include files): Fix acinclude.m4 path.
3051         (Prerequisites): Allow for Sun linker on Solaris 2.5+.
3052         Use proper link to Configuring.
3053         Fix acinclude.m4 path.
3054         (Checking Active): Allow for additional symbol versioning styles.
3055         Provide Solaris 2 example with pvs -r.
3056         (Bibliography): Update Linker and Libraries Guide, C++ Migration
3057         Guide entries.
3059 2010-06-29  Jason Merrill  <jason@redhat.com>
3061         Enable implicitly declared move constructor/operator= (N3053).
3062         * include/bits/unordered_map.h: Explicitly default copy constructors.
3063         * include/bits/unordered_set.h: Likewise.
3065         * 19_diagnostics/error_category/cons/copy_neg.cc: Adjust expected
3066         errors, use dg-prune-output.
3067         * 20_util/function/cmp/cmp_neg.cc: Likewise.
3068         * 20_util/unique_ptr/assign/assign_neg.cc: Likewise.
3069         * 20_util/unique_ptr/cons/pointer_array_convertible.cc: Likewise.
3070         * 20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
3071         * 29_atomics/atomic/cons/assign_neg.cc: Likewise.
3072         * 29_atomics/atomic/cons/copy_neg.cc: Likewise.
3073         * 29_atomics/atomic_address/cons/assign_neg.cc: Likewise.
3074         * 29_atomics/atomic_address/cons/copy_neg.cc: Likewise.
3075         * 29_atomics/atomic_flag/cons/assign_neg.cc: Likewise.
3076         * 29_atomics/atomic_flag/cons/copy_neg.cc: Likewise.
3077         * 29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
3078         * 29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
3079         * 29_atomics/condition_variable/cons/assign_neg.cc: Likewise.
3080         * 30_threads/condition_variable/cons/copy_neg.cc: Likewise.
3081         * 30_threads/condition_variable_any/cons/assign_neg.cc: Likewise.
3082         * 30_threads/condition_variable_any/cons/copy_neg.cc: Likewise.
3083         * 30_threads/future/cons/assign_neg.cc: Likewise.
3084         * 30_threads/future/cons/copy_neg.cc: Likewise.
3085         * 30_threads/mutex/cons/assign_neg.cc: Likewise.
3086         * 30_threads/mutex/cons/copy_neg.cc: Likewise.
3087         * 30_threads/packaged_task/cons/assign_neg.cc: Likewise.
3088         * 30_threads/packaged_task/cons/copy_neg.cc: Likewise.
3089         * 30_threads/promise/cons/assign_neg.cc: Likewise.
3090         * 30_threads/promise/cons/copy_neg.cc: Likewise.
3091         * 30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
3092         * 30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
3093         * 30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise.
3094         * 30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
3095         * 30_threads/thread/cons/assign_neg.cc: Likewise.
3096         * 30_threads/thread/cons/copy_neg.cc: Likewise.
3097         * 30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
3098         * 30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
3099         * ext/ext_pointer/1_neg.cc: Likewise.
3101 2010-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
3103         PR libstdc++/44708
3104         * include/ext/algorithm (copy_n): Qualify __copy_n call with
3105         __gnu_cxx::
3106         * testsuite/ext/rope/44708.cc: New.
3108 2010-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
3110         * include/bits/regex_compiler.h: Trivial formatting / stylistic fixes.
3111         * include/bits/regex_grep_matcher.tcc: Likewise.
3112         * include/bits/regex_cursor.h: Likewise.
3113         * include/bits/regex.h: Likewise.
3115 2010-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
3117         * testsuite/util/testsuite_hooks.h: Cast fn to bool.
3119 2010-06-26  Kees Cook  <kees.cook@canonical.com>
3121         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Verify freopen.
3122         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
3123         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3124         * testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
3125         * testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
3126         * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
3127         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
3128         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
3129         * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
3130         * testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
3131         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3132         * testsuite/27_io/objects/char/12048-2.cc: Likewise.
3133         * testsuite/27_io/objects/char/12048-4.cc: Likewise.
3134         * testsuite/27_io/objects/char/9.cc: Likewise.
3135         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
3136         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
3137         * testsuite/27_io/objects/char/12048-5.cc: Likewise.
3138         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3139         * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Verify fgets.
3140         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Verify
3141         fwrite.
3142         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
3143         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Likewise.
3145 2010-06-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
3147         * doc/xml/faq.xml: Fix typo.
3148         * doc/html/faq.xml: Likewise.
3150 2010-06-25  Stephen M. Webb  <stephen.webb@bregmasoft.ca>
3152         Initial regex implementation.
3153         * include/std/regex: Modified to use bits/regex_* headers.
3154         * include/bits/regex_compiler.h: New.
3155         * include/bits/regex_constants.h: Likewise.
3156         * include/bits/regex_cursor.h: Likewise.
3157         * include/bits/regex_error.h: Likewise.
3158         * include/bits/regex_grep_matcher.h: Likewise.
3159         * include/bits/regex_grep_matcher.tcc: Likewise.
3160         * include/bits/regex.h: Likewise.
3161         * include/bits/regex_nfa.h: Likewise.
3162         * include/bits/regex_nfa.tcc: Likewise.
3163         * include/Makefile.am: Add.
3164         * include/Makefile.in: Regenerated.
3165         * testsuite/28_regex/02_definitions: New.
3166         * testsuite/28_regex/03_requirements: Likewise.
3167         * testsuite/28_regex/03_requirements/typedefs.cc: Likewise.
3168         * testsuite/28_regex/04_header: Likewise.
3169         * testsuite/28_regex/04_header/regex: Likewise.
3170         * testsuite/28_regex/04_header/regex/std_c++0x_neg.cc: Likewise.
3171         * testsuite/28_regex/05_constants: Likewise.
3172         * testsuite/28_regex/05_constants/error_type.cc: Likewise.
3173         * testsuite/28_regex/05_constants/match_flag_type.cc: Likewise.
3174         * testsuite/28_regex/05_constants/syntax_option_type.cc: Likewise.
3175         * testsuite/28_regex/06_exception_type: Likewise.
3176         * testsuite/28_regex/06_exception_type/regex_error.cc: Likewise.
3177         * testsuite/28_regex/07_traits: Likewise.
3178         * testsuite/28_regex/07_traits/char: Likewise.
3179         * testsuite/28_regex/07_traits/char/ctor.cc: Likewise.
3180         * testsuite/28_regex/07_traits/char/isctype.cc: Likewise.
3181         * testsuite/28_regex/07_traits/char/length.cc: Likewise.
3182         * testsuite/28_regex/07_traits/char/lookup_classname.cc: Likewise.
3183         * testsuite/28_regex/07_traits/char/lookup_collatename.cc: Likewise.
3184         * testsuite/28_regex/07_traits/char/transform.cc: Likewise.
3185         * testsuite/28_regex/07_traits/char/transform_primary.cc: Likewise.
3186         * testsuite/28_regex/07_traits/char/translate.cc: Likewise.
3187         * testsuite/28_regex/07_traits/char/translate_nocase.cc: Likewise.
3188         * testsuite/28_regex/07_traits/char/value.cc: Likewise.
3189         * testsuite/28_regex/07_traits/wchar_t: Likewise.
3190         * testsuite/28_regex/07_traits/wchar_t/ctor.cc: Likewise.
3191         * testsuite/28_regex/07_traits/wchar_t/length.cc: Likewise.
3192         * testsuite/28_regex/07_traits/wchar_t/transform.cc: Likewise.
3193         * testsuite/28_regex/07_traits/wchar_t/translate.cc: Likewise.
3194         * testsuite/28_regex/07_traits/wchar_t/translate_nocase.cc: Likewise.
3195         * testsuite/28_regex/07_traits/wchar_t/value.cc: Likewise.
3196         * testsuite/28_regex/08_basic_regex: Likewise.
3197         * testsuite/28_regex/08_basic_regex/assign: Likewise.
3198         * testsuite/28_regex/08_basic_regex/assign/char: Likewise.
3199         * testsuite/28_regex/08_basic_regex/assign/char/cstring.cc: Likewise.
3200         * testsuite/28_regex/08_basic_regex/assign/char/cstring_op.cc: Likewise.
3201         * testsuite/28_regex/08_basic_regex/assign/char/moveable.cc: Likewise.
3202         * testsuite/28_regex/08_basic_regex/assign/char/pstring.cc: Likewise.
3203         * testsuite/28_regex/08_basic_regex/assign/char/range.cc: Likewise.
3204         * testsuite/28_regex/08_basic_regex/assign/char/string.cc: Likewise.
3205         * testsuite/28_regex/08_basic_regex/assign/char/string_op.cc: Likewise.
3206         * testsuite/28_regex/08_basic_regex/assign/wchar_t: Likewise.
3207         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring.cc: Likewise.
3208         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring_op.cc:
3209         Likewise.
3210         * testsuite/28_regex/08_basic_regex/assign/wchar_t/pstring.cc: Likewise.
3211         * testsuite/28_regex/08_basic_regex/assign/wchar_t/range.cc: Likewise.
3212         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string.cc: Likewise.
3213         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string_op.cc:
3214         Likewise.
3215         * testsuite/28_regex/08_basic_regex/ctors: Likewise.
3216         * testsuite/28_regex/08_basic_regex/ctors/basic: Likewise.
3217         * testsuite/28_regex/08_basic_regex/ctors/basic/cstring.cc: Likewise.
3218         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_char.cc:
3219         Likewise.
3220         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_wchar_t.cc:
3221         Likewise.
3222         * testsuite/28_regex/08_basic_regex/ctors/basic/
3223         string_range_01_02_03.cc: Likewise.
3224         * testsuite/28_regex/08_basic_regex/ctors/char: Likewise.
3225         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_awk.cc: Likewise.
3226         * testsuite/28_regex/08_basic_regex/ctors/char/cstring.cc: Likewise.
3227         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_ecma.cc:
3228         Likewise.
3229         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_egrep.cc:
3230         Likewise.
3231         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_grep.cc:
3232         Likewise.
3233         * testsuite/28_regex/08_basic_regex/ctors/char/default.cc: Likewise.
3234         * testsuite/28_regex/08_basic_regex/ctors/char/range.cc: Likewise.
3235         * testsuite/28_regex/08_basic_regex/ctors/copy_char.cc: Likewise.
3236         * testsuite/28_regex/08_basic_regex/ctors/extended: Likewise.
3237         * testsuite/28_regex/08_basic_regex/ctors/extended/cstring.cc: Likewise.
3238         * testsuite/28_regex/08_basic_regex/ctors/extended/
3239         string_range_01_02_03.cc: Likewise.
3240         * testsuite/28_regex/08_basic_regex/ctors/move_char.cc: Likewise.
3241         * testsuite/28_regex/08_basic_regex/ctors/string_char.cc: Likewise.
3242         * testsuite/28_regex/08_basic_regex/ctors/string_wchar_t.cc: Likewise.
3243         * testsuite/28_regex/08_basic_regex/ctors/wchar_t: Likewise.
3244         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/cstring.cc: Likewise.
3245         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/default.cc: Likewise.
3246         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/range.cc: Likewise.
3247         * testsuite/28_regex/08_basic_regex/regex.cc: Likewise.
3248         * testsuite/28_regex/09_sub_match: Likewise.
3249         * testsuite/28_regex/09_sub_match/cast_char.cc: Likewise.
3250         * testsuite/28_regex/09_sub_match/cast_wchar_t.cc: Likewise.
3251         * testsuite/28_regex/09_sub_match/length.cc: Likewise.
3252         * testsuite/28_regex/09_sub_match/typedefs.cc: Likewise.
3253         * testsuite/28_regex/10_match_results: Likewise.
3254         * testsuite/28_regex/10_match_results/ctors: Likewise.
3255         * testsuite/28_regex/10_match_results/ctors/char: Likewise.
3256         * testsuite/28_regex/10_match_results/ctors/char/default.cc: Likewise.
3257         * testsuite/28_regex/10_match_results/ctors/wchar_t: Likewise.
3258         * testsuite/28_regex/10_match_results/ctors/wchar_t/default.cc:
3259         Likewise.
3260         * testsuite/28_regex/10_match_results/typedefs.cc: Likewise.
3261         * testsuite/28_regex/11_algorithms: Likewise.
3262         * testsuite/28_regex/11_algorithms/02_match: Likewise.
3263         * testsuite/28_regex/11_algorithms/02_match/basic: Likewise.
3264         * testsuite/28_regex/11_algorithms/02_match/basic/string_01.cc:
3265         Likewise.
3266         * testsuite/28_regex/11_algorithms/02_match/basic/
3267         string_range_00_03.cc: Likewise.
3268         * testsuite/28_regex/11_algorithms/02_match/basic/
3269         string_range_01_03.cc: Likewise.
3270         * testsuite/28_regex/11_algorithms/02_match/basic/
3271         string_range_02_03.cc: Likewise.
3272         * testsuite/28_regex/11_algorithms/02_match/extended: Likewise.
3273         * testsuite/28_regex/11_algorithms/02_match/extended/cstring_plus.cc:
3274         Likewise.
3275         * testsuite/28_regex/11_algorithms/02_match/extended/
3276         cstring_questionmark.cc: Likewise.
3277         * testsuite/28_regex/11_algorithms/02_match/extended/string_any.cc:
3278         Likewise.
3279         * testsuite/28_regex/11_algorithms/02_match/extended/
3280         string_range_00_03.cc: Likewise.
3281         * testsuite/28_regex/11_algorithms/02_match/extended/
3282         string_range_01_03.cc: Likewise.
3283         * testsuite/28_regex/11_algorithms/02_match/extended/
3284         string_range_02_03.cc: Likewise.
3285         * testsuite/28_regex/12_iterators: Likewise.
3286         * testsuite/28_regex/12_iterators/regex_iterator: Likewise.
3287         * testsuite/28_regex/12_iterators/regex_iterator/ctors: Likewise.
3288         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char: Likewise.
3289         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char/
3290         default.cc: Likewise.
3291         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t:
3292         Likewise.
3293         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t/
3294         default.cc: Likewise.
3295         * testsuite/28_regex/12_iterators/regex_iterator/typedefs.cc: Likewise.
3296         * testsuite/28_regex/12_iterators/regex_token_iterator: Likewise.
3297         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors: Likewise.
3298         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char:
3299         Likewise.
3300         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char/
3301         default.cc: Likewise.
3302         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
3303         wchar_t: Likewise.
3304         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
3305         wchar_t/default.cc: Likewise.
3306         * testsuite/28_regex/12_iterators/regex_token_iterator/
3307         typedefs.cc: Likewise.
3308         * testsuite/28_regex/13_ecmascript: Likewise.
3310 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
3312         * include/profile/impl/profiler_list_to_slist.h: Remove spurious
3313         semicolon; prefer pre-increment.
3314         * include/profile/impl/profiler_container_size.h: Use everywhere
3315         qualified std::size_t.
3316         * include/profile/impl/profiler_trace.h (__trace_base<>::
3317         __collect_warnings): Tidy loop.
3318         * include/profile/impl/profiler_vector_to_list.h: Minor formatting
3319         changes.
3321 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
3323         * include/profile/impl/profiler_trace.h: Uglify it to __it, use
3324         everywhere std::size_t instead of size_t.
3326 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
3328         * include/profile/impl/profiler_trace.h (__trace_base<>::
3329         __trace_base()): Move inline, simplify; formatting tweaks.
3330         * include/profile/impl/profiler_hash_func.h: Formatting tweaks.
3332 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
3334         * include/profile/impl/profiler_trace.h (__warning_data::
3335         __warning_message): Change to std::string; clean-up includes,
3336         qualify size_t, fprintf, etc, with std everywhere.
3337         (struct __warn::operator()): Adjust.
3338         * include/profile/impl/profiler_list_to_slist.h
3339         (__list2slist_info::__advice): Change to return a std::string;
3340         clean-up includes, qualify size_t, fprintf, etc, with std.
3341         * include/profile/impl/profiler_container_size.h
3342         (__container_size_info::__advice): Likewise.
3343         * include/profile/impl/profiler_hash_func.h (__hashfunc_info::
3344         __advice): Likewise.
3345         * include/profile/impl/profiler_list_to_vector.h
3346         (__list2vector_info::__advice): Likewise.
3347         * include/profile/impl/profiler_vector_to_list.h
3348         (__vector2list_info::__advice): Likewise.
3349         * include/profile/impl/profiler_map_to_unordered_map.h
3350         (__map2umap_info::__advice): Likewise.
3351         * include/profile/impl/profiler.h: Likewise.
3352         * include/profile/impl/profiler_hashtable_size.h: Likewise.
3353         * include/profile/impl/profiler_node.h: Likewise.
3354         * include/profile/impl/profiler_vector_size.h: Likewise.
3356         * include/profile/iterator_tracker.h: Formatting and stylistic
3357         tweaks.
3358         * include/profile/base.h: Likewise.
3359         * include/profile/map.h: Likewise.
3361 2010-06-23  Paolo Carlini <paolo.carlini@oracle.com>
3363         * include/bits/stl_tree.h (erase(iterator), erase(const_iterator)):
3364         Remove inline specifier.
3366 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
3368         * include/profile/impl/profiler_list_to_slist.h: Fix formatting,
3369         other minor stylistic changes.
3370         * include/profile/impl/profiler_container_size.h: Likewise.
3371         * include/profile/impl/profiler_vector_size.h: Likewise.
3372         * include/profile/impl/profiler_hash_func.h: Likewise.
3373         * include/profile/impl/profiler_trace.h: Likewise.
3374         * include/profile/impl/profiler_list_to_vector.h: Likewise.
3375         * include/profile/impl/profiler_vector_to_list.h: Likewise.
3376         * include/profile/impl/profiler_state.h: Likewise.
3377         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
3378         * include/profile/impl/profiler_hashtable_size.h: Likewise.
3379         * include/profile/impl/profiler_node.h: Likewise.
3381 2010-06-22  Matthias Klose  <doko@ubuntu.com>
3383         * python/libstdcxx/v6/printers.py: Don't use string exceptions.
3385 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
3387         PR libstdc++/44630
3388         * include/profile/impl/profiler_trace.h (__min, __max): Remove,
3389         use std::min, std::max everywhere.
3390         * include/profile/impl/profiler_container_size.h: Use std::min and
3391         std::max.
3392         * include/profile/impl/profiler_hash_func.h: Likewise.
3393         * include/profile/impl/profiler_list_to_vector.h: Likewise.
3395 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3397         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
3398         Add *-*-solaris2.1[0-9]* to dg-xfail-if, dg-excess-errors.
3400 2010-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
3401             Kai-Uwe Bux  <bux@kubux.net>
3403         * include/bits/random.tcc (uniform_int_distribution<>::operator()):
3404         Fix to work well for arbitrary urng.max() and urng.min().
3406 2010-06-18  Paolo Carlini  <paolo.carlini@oracle.com>
3408         PR libstdc++/32618
3409         * include/bits/stl_list.h (vector<>::_M_default_initialize,
3410         _M_default_append): Declare.
3411         (list<>::list(size_type), resize(size_type)): Add in C++0x mode,
3412         use the latter.
3413         * include/bits/list.tcc (list<>::resize, _M_default_append): Define.
3414         * include/bits/stl_vector.h (vector<>::_M_default_initialize,
3415         _M_default_append): Declare.
3416         (vector<>::vector(size_type), resize(size_type)): Add in C++0x mode,
3417         use the latter.
3418         * include/bits/vector.tcc (vector<>::_M_default_append): Define.
3419         * include/bits/stl_deque.h (deque<>::_M_default_initialize,
3420         _M_default_append): Declare.
3421         (deque<>::deque(size_type), resize(size_type)): Add in C++0x mode,
3422         use the latter.
3423         * include/bits/deque.tcc (deque<>::_M_default_append): Define.
3424         * include/debug/vector: Update.
3425         * include/debug/deque: Likewise.
3426         * include/debug/list: Likewise.
3427         * include/profile/vector: Likewise.
3428         * include/profile/deque: Likewise.
3429         * include/profile/list: Likewise.
3430         * include/bits/forward_list.h (_M_default_initialize,
3431         _M_default_insert_after): Declare.
3432         (forward_list<>::forward_list(size_type), resize(size_type)): Fix,
3433         use the latter.
3434         * include/bits/forward_list.tcc (forward_list<>::_M_default_append,
3435         _M_default_insert_after): Define.
3436         * testsuite/util/testsuite_api.h (NonCopyConstructible): Add.
3437         * testsuite/23_containers/forward_list/modifiers/6.cc: Move to...
3438         * testsuite/23_containers/forward_list/capacity/resize_size.cc:
3439         ... here.
3440         * testsuite/23_containers/forward_list/cons/10.cc: Move to...
3441         * testsuite/23_containers/forward_list/cons/cons_size.cc: ... here.
3442         * testsuite/23_containers/vector/resize/1.cc: Move to...
3443         * testsuite/23_containers/vector/capacity/resize/1.cc: ... here.
3444         * testsuite/23_containers/vector/resize/moveable.cc: Move to...
3445         * testsuite/23_containers/vector/resize/capacity/moveable.cc: ... here.
3446         * testsuite/23_containers/vector/cons/cons_size.cc: New.
3447         * testsuite/23_containers/vector/capacity/resize/resize_size.cc:
3448         Likewise.
3449         * testsuite/23_containers/deque/cons/cons_size.cc: Likewise.
3450         * testsuite/23_containers/deque/capacity/resize_size.cc: Likewise.
3451         * testsuite/23_containers/list/cons/cons_size.cc: Likewise.
3452         * testsuite/23_containers/list/capacity/resize_size.cc: Likewise.
3453         * testsuite/23_containers/vector/capacity/resize/moveable.cc: Adjust.
3454         * testsuite/23_containers/deque/capacity/moveable.cc: Likewise.
3455         * testsuite/23_containers/forward_list/requirements/dr438/
3456         assign_neg.cc: Adjust dg-error line numbers.
3457         * testsuite/23_containers/forward_list/requirements/dr438/
3458         insert_neg.cc: Likewise.
3459         * testsuite/23_containers/forward_list/requirements/dr438/
3460         constructor_1_neg.cc: Likewise.
3461         * testsuite/23_containers/forward_list/requirements/dr438/
3462         constructor_2_neg.cc: Likewise.
3463         * testsuite/23_containers/vector/requirements/dr438/
3464         assign_neg.cc: Likewise.
3465         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3466         Likewise.
3467         * testsuite/23_containers/vector/requirements/dr438/
3468         constructor_1_neg.cc: Likewise.
3469         * testsuite/23_containers/vector/requirements/dr438/
3470         constructor_2_neg.cc: Likewise.
3471         * testsuite/23_containers/deque/requirements/dr438/
3472         assign_neg.cc: Likewise.
3473         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3474         Likewise.
3475         * testsuite/23_containers/deque/requirements/dr438/
3476         constructor_1_neg.cc: Likewise.
3477         * testsuite/23_containers/deque/requirements/dr438/
3478         constructor_2_neg.cc: Likewise.
3479         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3480         Likewise.
3481         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3482         Likewise.
3483         * testsuite/23_containers/list/requirements/dr438/
3484         constructor_1_neg.cc: Likewise.
3485         * testsuite/23_containers/list/requirements/dr438/
3486         constructor_2_neg.cc: Likewise.
3488 2010-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
3490         * include/bits/stl_uninitialized.h (__uninitialized_default,
3491         __uninitialized_default_n, __uninitialized_default_a,
3492         __uninitialized_default_n_a): Add.
3494         * include/bits/stl_uninitialized.h (uninitialized_copy,
3495         uninitialized_fill, uninitialized_fill_n): Use __is_trivial
3496         instead of __is_pod.
3497         * include/bits/valarray_array.h: Likewise.
3498         * include/bits/stl_algobase.h (__copy_move_backward_a,
3499         __copy_move_a): Likewise.
3501 2010-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
3503         * include/bits/stl_construct.h (_Construct): Change to variadic in
3504         C++0x mode, consistently with allocator::construct.
3505         * include/bits/stl_uninitialized.h (__uninitialized_copy_n): Use
3506         _Construct.
3507         (__uninitialized_construct_range): Move to...
3508         * include/bits/stl_tempbuf.h (__uninitialized_construct_buf): ... here.
3510 2010-06-16  Matthias Klose  <doko@ubuntu.com>
3512         * src/compatibility.cc: Export long double versions of "C" math
3513         library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire),
3514         mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit).
3516 2010-06-15  Jason Merrill  <jason@redhat.com>
3518         * testsuite/lib/libstdc++.exp: Set additional_prunes.
3519         (libstdc++-dg-test): Don't prune here.
3520         * testsuite/lib/prune.exp (dg-prune-output): New.
3521         (libstdc++-dg-prune): Rename from prune_g++_output.
3522         Add a bunch of prunes from gcc's prune.exp.
3523         * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc:
3524         Remove dg-excess-errors.
3525         * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Likewise.
3526         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
3527         * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc:
3528         Likewise.
3529         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3530         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
3531         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
3532         * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Likewise.
3533         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
3534         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3535         Likewise.
3536         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
3537         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
3538         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
3539         * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Likewise.
3540         * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Likewise.
3541         * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc:
3542         Likewise.
3543         * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc:
3544         Likewise.
3545         * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Likewise.
3546         * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Likewise.
3547         * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Likewise.
3548         * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Likewise.
3549         * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Likewise.
3550         * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Likewise.
3551         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3552         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
3553         Likewise.
3554         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
3555         Likewise.
3556         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc:
3557         Likewise.
3558         * testsuite/30_threads/headers/future/std_c++0x_neg.cc: Likewise.
3559         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: Likewise.
3560         * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
3561         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
3562         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
3563         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
3564         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
3565         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
3566         shared_ptr_neg.cc: Likewise.
3567         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Likewise.
3569 2010-06-13  Paolo Carlini <paolo.carlini@oracle.com>
3571         * include/parallel/base.h (min, max): Mark inline.
3572         * include/parallel/set_operations.h (__parallel_set_operation):
3573         Uglify the Operation template parameter.
3575 2010-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
3577         * include/bits/shared_ptr.h (hash<shared_ptr>): Add.
3578         * include/bits/shared_ptr_base.h (hash<__shared_ptr>): Likewise.
3579         * include/bits/unique_ptr.h (hash<unique_ptr>): Likewise.
3580         * testsuite/20_util/shared_ptr/hash/1.cc: New.
3581         * testsuite/20_util/unique_ptr/hash/1.cc: Likewise.
3583 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3585         * doc/xml/manual/appendix_contributing.xml: Indent code examples
3586         to match original C++STYLE document. Fix typos and syntax errors.
3587         Add some basic docbook markup.
3588         * doc/html/*: Regenerate.
3590 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3592         PR libstdc++/44268
3593         * doc/xml/manual/abi.xml: Fix libgcc version for hppa-linux.
3595 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3597         * include/std/tuple (_Swallow_assign::operator=): Add const.
3598         (ignore): Replace anonymous namespace member with const instance.
3600 2010-06-10  Suresh Gumpula  <suresh.gumpula@amd.com>
3602         PR libstdc++/43918
3603         * config/os/djgpp/error_constants.h: New.
3604         * configure.host: Use it.
3606 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
3608         * include/std/tuple (tuple(const tuple&)): Define explicitly-defaulted.
3609         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
3610         line number.
3612 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
3614         PR libstdc++/44487
3615         * include/bits/stl_pair.h (pair(pair&&)): Remove.
3616         (pair(pair<_U1, _U2>&&): Use forward, consistently with Bullet 5
3617         of LWG 1326.
3618         * include/std/tuple (tuple(pair<_U1, _U2>&&)): Likewise.
3619         * testsuite/20_util/pair/44487.cc: Add.
3620         * testsuite/20_util/tuple/cons/44487.cc: Likewise.
3621         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
3622         line numbers.
3624 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3626         * include/std/type_traits (is_nothrow_constructible): Add.
3627         (declval): Add noexcept specification.
3628         * testsuite/util/testsuite_tr1.h (struct NothrowExplicitClass,
3629         ThrowExplicitClass, NoexceptExplicitClass, ExceptExplicitClass):
3630         Add.
3631         * testsuite/20_util/is_nothrow_constructible/value.cc: New.
3632         * testsuite/20_util/is_nothrow_constructible/requirements/
3633         typedefs.cc: Likewise.
3634         * testsuite/20_util/is_nothrow_constructible/requirements/
3635         explicit_instantiation.cc: Likewise.
3636         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3637         Adjust dg-error line numbers.
3638         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3639         Likewise.
3640         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3642 2010-06-09  Khem Raj  <raj.khem@gmail.com>
3644         PR libstdc++/44461
3645         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Use .pushsection/.popsection
3646         to emit inline assembly into .text section.
3648 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3650         Revert:
3651         2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3653         PR libstdc++/44413
3654         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
3655         Simplify, just return -1, 0, 1.
3657 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
3659         PR bootstrap/43170
3660         * configure: Regenerate.
3662 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3664         PR libstdc++/44413
3665         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
3666         Simplify, just return -1, 0, 1.
3668 2010-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
3670         * include/std/type_traits (has_nothrow_assign): Rename to
3671         has_nothrow_copy_assign.
3672         (has_trivial_assign): Rename to has_trivial_copy_assign.
3673         * testsuite/20_util/has_nothrow_copy_assign/value.cc: New.
3674         * testsuite/20_util/has_nothrow_copy_assign/requirements/
3675         typedefs.cc: Likewise.
3676         * testsuite/20_util/has_nothrow_copy_assign/requirements/
3677         explicit_instantiation.cc: Likewise.
3678         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
3679         * testsuite/20_util/has_trivial_copy_assign/requirements/
3680         typedefs.cc: Likewise.
3681         * testsuite/20_util/has_trivial_copy_assign/requirements/
3682         explicit_instantiation.cc: Likewise.
3684 2010-06-08  Johannes Singler  <singler@kit.edu>
3686         * include/parallel/find.h
3687         (__find_template(.., growing_blocks_tag)): Make block size
3688         proportional to current position.
3689         * include/parallel/settings.h (_Settings): Introduce new tuning
3690         parameter find_scale_factor to the end of the struct, defaults to
3691         0.01f.
3693 2010-06-08  Johannes Singler  <singler@kit.edu>
3695         * include/parallel/partial_sum.h
3696         (__parallel_partial_sum_linear):
3697         Correctly calculate part lengths for partial_sum_dilation!=1.
3699 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
3701         PR libstdc++/44417
3702         * include/c_std/cwctype: Provide a workaround for bug glibc
3703         BZ 9694 affecting glibc 2.9 and older.
3704         * include/c_global/cwctype: Likewise.
3705         * testsuite/util/testsuite_abi.h: Remove temporary workaround.
3706         * testsuite/util/testsuite_allocator.h: Use everywhere std::size_t
3707         and std::ptrdiff_t, don't include <cstddef>.
3709         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3710         error_code.cc: Minor tweak, prefer <cwchar> to <wchar.h>.
3712 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
3714         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp:
3715         Avoid -Wall warnings.
3716         * testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
3717         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
3718         * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
3719         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
3720         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
3721         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
3722         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
3723         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
3724         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
3725         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
3726         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
3727         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
3728         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
3729         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
3730         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
3731         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
3732         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
3733         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
3734         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
3735         * testsuite/27_io/types/2.cc: Likewise.
3736         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
3737         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
3738         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
3739         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
3740         * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
3741         * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
3742         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
3743         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
3744         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
3745         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
3746         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc:
3747         Likewise.
3748         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
3749         Likewise.
3750         * testsuite/27_io/fpos/mbstate_t/4_neg.cc: Likewise.
3751         * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
3752         * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
3753         * testsuite/27_io/fpos/mbstate_t/5.cc: Likewise.
3754         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc:
3755         Likewise.
3756         * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
3757         Likewise.
3758         * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
3759         * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
3760         * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
3761         * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
3762         * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
3763         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
3764         * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
3765         * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
3766         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
3767         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
3768         * testsuite/25_algorithms/minmax/3.cc: Likewise.
3769         * testsuite/19_diagnostics/logic_error/what-3.cc: Likewise.
3770         * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
3771         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
3772         * testsuite/24_iterators/front_insert_iterator/2.cc: Likewise.
3773         * testsuite/24_iterators/back_insert_iterator/2.cc: Likewise.
3774         * testsuite/24_iterators/insert_iterator/2.cc: Likewise.
3775         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: Likewise.
3776         * testsuite/21_strings/c_strings/wchar_t/1.cc: Likewise.
3777         * testsuite/21_strings/c_strings/wchar_t/2.cc: Likewise.
3778         * testsuite/21_strings/c_strings/char/1.cc: Likewise.
3779         * testsuite/21_strings/c_strings/char/2.cc: Likewise.
3780         * testsuite/26_numerics/random/independent_bits_engine/cons/
3781         copy.cc: Likewise.
3782         * testsuite/26_numerics/random/subtract_with_carry_engine/
3783         cons/copy.cc: Likewise.
3784         * testsuite/26_numerics/random/subtract_with_carry_engine/
3785         requirements/constants.cc: Likewise.
3786         * testsuite/26_numerics/random/discard_block_engine/
3787         cons/copy.cc: Likewise.
3788         * testsuite/26_numerics/random/mersenne_twister_engine/
3789         cons/copy.cc: Likewise.
3790         * testsuite/26_numerics/random/mersenne_twister_engine/
3791         requirements/constants.cc: Likewise.
3792         * testsuite/26_numerics/random/linear_congruential_engine/
3793         cons/copy.cc: Likewise.
3794         * testsuite/26_numerics/random/linear_congruential_engine/
3795         requirements/constants.cc: Likewise.
3796         * testsuite/26_numerics/random/shuffle_order_engine/
3797         cons/copy.cc: Likewise.
3798         * testsuite/26_numerics/random/shuffle_order_engine/
3799         requirements/constants.cc: Likewise.
3800         * testsuite/26_numerics/complex/complex_value.cc: Likewise.
3801         * testsuite/26_numerics/headers/cmath/overloads.cc: Likewise.
3802         * testsuite/26_numerics/headers/cmath/
3803         c99_classification_macros_c++.cc: Likewise.
3804         * testsuite/26_numerics/slice_array/array_assignment.cc: Likewise.
3805         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
3806         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
3807         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
3808         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
3809         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
3810         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
3811         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
3812         * testsuite/22_locale/money_put/put/char/12971.cc: Likewise.
3813         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
3814         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
3815         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
3816         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3817         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
3818         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
3819         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
3820         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
3821         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
3822         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
3823         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
3824         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
3825         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
3826         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
3827         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
3828         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
3829         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
3830         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
3831         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
3832         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
3833         * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise.
3834         * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
3835         * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
3836         * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
3837         * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
3838         * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
3839         * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
3840         * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
3841         * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
3842         * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
3843         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
3844         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
3845         * testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise.
3846         * testsuite/22_locale/moneypunct/members/char/1.cc: Likewise.
3847         * testsuite/22_locale/ctype_base/mask.cc: Likewise.
3848         * testsuite/tr1/5_numerical_facilities/random/
3849         subtract_with_carry/requirements/constants.cc: Likewise.
3850         * testsuite/tr1/5_numerical_facilities/random/
3851         subtract_with_carry_01/requirements/constants.cc: Likewise.
3852         * testsuite/tr1/5_numerical_facilities/random/
3853         discard_block/requirements/constants.cc: Likewise.
3854         * testsuite/tr1/5_numerical_facilities/random/
3855         linear_congruential/requirements/constants.cc: Likewise.
3856         * testsuite/tr1/5_numerical_facilities/random/
3857         mersenne_twister/requirements/constants.cc: Likewise.
3858         * testsuite/tr1/5_numerical_facilities/random/
3859         xor_combine/requirements/constants.cc: Likewise.
3860         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Likewise.
3861         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
3862         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
3863         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: Likewise.
3864         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
3865         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Likewise.
3866         * testsuite/tr1/8_c_compatibility/cmath/templates.cc: Likewise.
3867         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Likewise.
3868         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
3869         * testsuite/tr1/6_containers/utility/pair.cc: Likewise.
3870         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
3871         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
3872         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
3873         * testsuite/29_atomics/atomic_integral/operators/
3874         increment_neg.cc: Likewise.
3875         * testsuite/29_atomics/atomic_integral/operators/
3876         bitwise_neg.cc: Likewise.
3877         * testsuite/29_atomics/atomic_integral/operators/
3878         decrement_neg.cc: Likewise.
3879         * testsuite/29_atomics/atomic_flag/cons/1.cc: Likewise.
3880         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
3881         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3882         * testsuite/23_containers/priority_queue/members/7161.cc
3883         * testsuite/23_containers/set/dr130.cc: Likewise.
3884         * testsuite/23_containers/list/pthread5.cc: Likewise.
3885         * testsuite/23_containers/map/dr130.cc: Likewise.
3886         * testsuite/util/exception/safety.h: Likewise.
3887         * testsuite/util/testsuite_common_types.h: Likewise.
3888         * testsuite/20_util/clocks/1.cc: Likewise.
3890 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3892         * doc/Makefile.am, doc/Makefile.in (xml_sources_extra): Add
3893         fdl-1.3.xml.
3894         * doc/xml/manual/intro.xml: Update FDL link.
3895         * doc/xml/manual/spine.xml: Update FDL include.
3896         * doc/xml/gnu/fdl-1.3.xml: Add.
3897         * doc/html/*: Regenerate.
3899 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3901         * include/ext/pointer.h (_Pointer_adapter::operator++): Remove
3902         name of unused parameter.
3904 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3906         PR libstdc++/40296
3907         * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace
3908         __safe_bool constructor with nullptr_t constructor in C++0x mode.
3909         (exception_ptr::operator bool): Add explicit conversion to bool.
3910         (swap(exception_ptr&, exception_ptr&)): Add.
3911         (exception_ptr::_M_safe_bool_dummy): Only declare for old ABI.
3912         * libsupc++/eh_ptr.cc (exception_ptr::_M_safe_bool_dummy): Move
3913         next to other functions retained for ABI compatibility.
3914         * testsuite/18_support/exception_ptr/requirements.cc: New.
3915         * testsuite/18_support/exception_ptr/requirements_neg.cc: New.
3917 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3919         * include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
3920         nullptr_t specializations inline.
3922 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3924         * doc/xml/manual/status_cxx200x.xml: Update.
3926 2010-06-05  Magnus Fromreide  <magfr@lysator.liu.se>
3927             Jonathan Wakely  <jwakely.gcc@gmail.com>
3929         * include/std/functional (function): Add nullptr_t support.
3930         * include/bits/shared_ptr.h (shared_ptr): Likewise.
3931         * include/bits/unique_ptr.h (unique_ptr): Likewise.
3933 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3935         * include/bits/shared_ptr_base.h (__shared_ptr): Add nullptr_t support.
3936         (__shared_count): Add nullptr_t support and make constructors explicit.
3937         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
3938         * testsuite/20_util/shared_ptr/cons/nullptr.cc: New.
3939         * testsuite/20_util/unique_ptr/cons/nullptr.cc: New.
3940         * testsuite/20_util/unique_ptr/assign/nullptr.cc: New.
3941         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
3942         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
3943         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
3945 2010-06-04  Jason Merrill  <jason@redhat.com>
3947         * testsuite/util/testsuite_abi.h: Work around glibc BZ 9694.
3949 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
3951         * testsuite/util/testsuite_iterators.h: Don't include <cstddef>,
3952         don't use NULL, use std::size_t and std::ptrdiff_t.
3953         * testsuite/18_support/exception/38732.cc: Likewise.
3954         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
3955         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
3956         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
3957         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
3958         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
3959         * testsuite/23_containers/list/pthread1.cc: Likewise.
3960         * testsuite/23_containers/map/pthread6.cc: Likewise.
3961         * testsuite/util/testsuite_hooks.cc: Likewise.
3962         * config/locale/gnu/codecvt_members.cc: Likewise.
3963         * config/locale/gnu/messages_members.cc: Likewise.
3964         * config/locale/gnu/c_locale.h: Likewise.
3965         * config/locale/gnu/messages_members.h: Likewise.
3966         * config/locale/gnu/monetary_members.cc: Likewise.
3967         * config/locale/gnu/time_members.cc: Likewise.
3968         * config/locale/gnu/time_members.h: Likewise.
3969         * config/locale/generic/c_locale.cc: Likewise.
3970         * config/locale/generic/codecvt_members.cc: Likewise.
3971         * config/locale/generic/c_locale.h: Likewise.
3972         * config/locale/generic/time_members.cc: Likewise.
3973         * config/locale/generic/time_members.h: Likewise.
3975 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
3977         * include/bits/c++config (std::size_t, std::ptrdiff_t,
3978         std::nullptr_t): Provide typedefs.
3979         * include/c_std/cstddef: Don't provide std::size_t and
3980         std::ptrdiff_t here.
3981         * include/c_global/cstddef: Likewise.
3982         * src/condition_variable.cc: Don't include <cstddef>,
3983         don't use NULL, use std::size_t and std::ptrdiff_t.
3984         * src/mt_allocator.cc: Likewise.
3985         * src/localename.cc: Likewise.
3986         * src/chrono.cc: Likewise.
3987         * src/thread.cc: Likewise.
3988         * include/debug/formatter.h: Likewise.
3989         * include/debug/functions.h: Likewise.
3990         * include/std/valarray: Likewise.
3991         * include/std/thread: Likewise.
3992         * include/std/type_traits: Likewise.
3993         * include/std/atomic: Likewise.
3994         * include/std/iterator: Likewise.
3995         * include/std/bitset: Likewise.
3996         * include/std/fstream: Likewise.
3997         * include/std/mutex: Likewise.
3998         * include/c_std/cstdlib: Likewise.
3999         * include/c_std/cstdio: Likewise.
4000         * include/c_std/ctime: Likewise.
4001         * include/c_std/cwchar: Likewise.
4002         * include/c_std/cstring: Likewise.
4003         * include/parallel/multiway_merge.h: Likewise.
4004         * include/parallel/multiseq_selection.h: Likewise.
4005         * include/parallel/base.h: Likewise.
4006         * include/parallel/basic_iterator.h: Likewise.
4007         * include/parallel/multiway_mergesort.h
4008         * include/parallel/partition.h: Likewise.
4009         * include/ext/string_conversions.h: Likewise.
4010         * include/ext/pb_ds/assoc_container.hpp: Likewise.
4011         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp:
4012         Likewise.
4013         * include/ext/pb_ds/detail/resize_policy/
4014         hash_prime_size_policy_imp.hpp: Likewise.
4015         * include/ext/pb_ds/detail/resize_policy/
4016         sample_resize_policy.hpp: Likewise.
4017         * include/ext/pb_ds/detail/resize_policy/
4018         sample_resize_trigger.hpp: Likewise.
4019         * include/ext/pb_ds/detail/binomial_heap_base_/
4020         erase_fn_imps.hpp: Likewise.
4021         * include/ext/pb_ds/detail/binomial_heap_base_/
4022         find_fn_imps.hpp: Likewise.
4023         * include/ext/pb_ds/detail/binomial_heap_base_/
4024         insert_fn_imps.hpp: Likewise.
4025         * include/ext/pb_ds/detail/binomial_heap_base_/
4026         constructors_destructor_fn_imps.hpp: Likewise.
4027         * include/ext/pb_ds/detail/binomial_heap_base_/
4028         debug_fn_imps.hpp: Likewise.
4029         * include/ext/pb_ds/detail/binomial_heap_base_/
4030         split_join_fn_imps.hpp: Likewise.
4031         * include/ext/pb_ds/detail/cc_hash_table_map_/
4032         erase_store_hash_fn_imps.hpp: Likewise.
4033         * include/ext/pb_ds/d: Likewise.etail/cc_hash_table_map_/
4034         insert_no_store_hash_fn_imps.hpp
4035         * include/ext/pb_ds/detail/cc_hash_table_map_/
4036         cmp_fn_imps.hpp: Likewise.
4037         * include/ext/pb_ds/detail/cc_hash_table_map_/
4038         find_fn_imps.hpp: Likewise.
4039         * include/ext/pb_ds/detail/cc_hash_table_map_/
4040         insert_store_hash_fn_imps.hpp: Likewise.
4041         * include/ext/pb_ds/detail/cc_hash_table_map_/
4042         debug_fn_imps.hpp: Likewise.
4043         * include/ext/pb_ds/detail/cc_hash_table_map_/
4044         info_fn_imps.hpp: Likewise.
4045         * include/ext/pb_ds/detail/cc_hash_table_map_/
4046         entry_list_fn_imps.hpp: Likewise.
4047         * include/ext/pb_ds/detail/cc_hash_table_map_/
4048         trace_fn_imps.hpp: Likewise.
4049         * include/ext/pb_ds/detail/cc_hash_table_map_/
4050         erase_fn_imps.hpp: Likewise.
4051         * include/ext/pb_ds/detail/cc_hash_table_map_/
4052         cc_ht_map_.hpp: Likewise.
4053         * include/ext/pb_ds/detail/cc_hash_table_map_/
4054         resize_fn_imps.hpp: Likewise.
4055         * include/ext/pb_ds/detail/cc_hash_table_map_/
4056         constructor_destructor_fn_imps.hpp: Likewise.
4057         * include/ext/pb_ds/detail/cc_hash_table_map_/
4058         erase_no_store_hash_fn_imps.hpp: Likewise.
4059         * include/ext/pb_ds/detail/unordered_iterator/
4060         iterator.hpp: Likewise.
4061         * include/ext/pb_ds/detail/unordered_iterator/
4062         const_iterator.hpp: Likewise.
4063         * include/ext/pb_ds/detail/unordered_iterator/
4064         point_iterator.hpp: Likewise.
4065         * include/ext/pb_ds/detail/unordered_iterator/
4066         const_point_iterator.hpp: Likewise.
4067         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Likewise.
4068         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Likewise.
4069         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Likewise.
4070         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Likewise.
4071         * include/ext/pb_ds/detail/pat_trie_/
4072         insert_join_fn_imps.hpp: Likewise.
4073         * include/ext/pb_ds/detail/pat_trie_/
4074         constructors_destructor_fn_imps.hpp: Likewise.
4075         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Likewise.
4076         * include/ext/pb_ds/detail/pat_trie_/
4077         const_child_iterator.hpp: Likewise.
4078         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Likewise.
4079         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Likewise.
4080         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Likewise.
4081         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Likewise.
4082         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Likewise.
4083         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Likewise.
4084         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Likewise.
4085         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Likewise.
4086         * include/ext/pb_ds/detail/bin_search_tree_/
4087         find_fn_imps.hpp: Likewise.
4088         * include/ext/pb_ds/detail/bin_search_tree_/
4089         r_erase_fn_imps.hpp: Likewise.
4090         * include/ext/pb_ds/detail/bin_search_tree_/
4091         constructors_destructor_fn_imps.hpp: Likewise.
4092         * include/ext/pb_ds/detail/bin_search_tree_/
4093         debug_fn_imps.hpp: Likewise.
4094         * include/ext/pb_ds/detail/bin_search_tree_/
4095         rotate_fn_imps.hpp: Likewise.
4096         * include/ext/pb_ds/detail/bin_search_tree_/
4097         erase_fn_imps.hpp: Likewise.
4098         * include/ext/pb_ds/detail/bin_search_tree_/
4099         insert_fn_imps.hpp: Likewise.
4100         * include/ext/pb_ds/detail/bin_search_tree_/
4101         node_iterators.hpp: Likewise.
4102         * include/ext/pb_ds/detail/bin_search_tree_/
4103         point_iterators.hpp: Likewise.
4104         * include/ext/pb_ds/detail/bin_search_tree_/
4105         split_join_fn_imps.hpp: Likewise.
4106         * include/ext/pb_ds/detail/bin_search_tree_/
4107         iterators_fn_imps.hpp: Likewise.
4108         * include/ext/pb_ds/detail/gp_hash_table_map_/
4109         find_fn_imps.hpp: Likewise.
4110         * include/ext/pb_ds/detail/gp_hash_table_map_/
4111         gp_ht_map_.hpp: Likewise.
4112         * include/ext/pb_ds/detail/gp_hash_table_map_/
4113         resize_fn_imps.hpp: Likewise.
4114         * include/ext/pb_ds/detail/gp_hash_table_map_/
4115         standard_policies.hpp: Likewise.
4116         * include/ext/pb_ds/detail/tree_policy/
4117         sample_tree_node_update.hpp: Likewise.
4118         * include/ext/pb_ds/detail/basic_tree_policy/
4119         null_node_metadata.hpp: Likewise.
4120         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Likewise.
4121         * include/ext/pb_ds/detail/binary_heap_/
4122         const_point_iterator.hpp: Likewise.
4123         * include/ext/pb_ds/detail/binary_heap_/
4124         split_join_fn_imps.hpp: Likewise.
4125         * include/ext/pb_ds/detail/trie_policy/
4126         sample_trie_node_update.hpp: Likewise.
4127         * include/ext/pb_ds/detail/trie_policy/
4128         sample_trie_e_access_traits.hpp: Likewise.
4129         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Likewise.
4130         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Likewise.
4131         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Likewise.
4132         * include/ext/pb_ds/detail/pairing_heap_/
4133         split_join_fn_imps.hpp: Likewise.
4134         * include/ext/pb_ds/detail/list_update_policy/
4135         counter_lu_metadata.hpp: Likewise.
4136         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4137         trace_fn_imps.hpp: Likewise.
4138         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4139         erase_fn_imps.hpp: Likewise.
4140         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4141         null_metadata.hpp: Likewise.
4142         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4143         const_iterator.hpp: Likewise.
4144         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4145         insert_fn_imps.hpp: Likewise.
4146         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4147         constructors_destructor_fn_imps.hpp: Likewise.
4148         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4149         debug_fn_imps.hpp: Likewise.
4150         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4151         iterators_fn_imps.hpp: Likewise.
4152         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
4153         const_point_iterator.hpp: Likewise.
4154         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Likewise.
4155         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Likewise.
4156         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Likewise.
4157         * include/ext/pb_ds/detail/thin_heap_/
4158         constructors_destructor_fn_imps.hpp: Likewise.
4159         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Likewise.
4160         * include/ext/pb_ds/detail/thin_heap_/
4161         split_join_fn_imps.hpp: Likewise.
4162         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Likewise.
4163         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Likewise.
4164         * include/ext/pb_ds/detail/ov_tree_map_/
4165         constructors_destructor_fn_imps.hpp: Likewise.
4166         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Likewise.
4167         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Likewise.
4168         * include/ext/pb_ds/detail/ov_tree_map_/
4169         iterators_fn_imps.hpp: Likewise.
4170         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Likewise.
4171         * include/ext/pb_ds/detail/hash_fn/
4172         sample_ranged_probe_fn.hpp: Likewise.
4173         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Likewise.
4174         * include/ext/pb_ds/detail/hash_fn/
4175         sample_ranged_hash_fn.hpp: Likewise.
4176         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
4177         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Likewise.
4178         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
4179         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Likewise.
4180         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
4181         * include/ext/pb_ds/detail/splay_tree_/
4182         split_join_fn_imps.hpp: Likewise.
4183         * include/ext/pb_ds/detail/list_update_map_/
4184         trace_fn_imps.hpp: Likewise.
4185         * include/ext/pb_ds/detail/list_update_map_/
4186         erase_fn_imps.hpp: Likewise.
4187         * include/ext/pb_ds/detail/list_update_map_/
4188         find_fn_imps.hpp: Likewise.
4189         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Likewise.
4190         * include/ext/pb_ds/detail/list_update_map_/
4191         constructor_destructor_fn_imps.hpp: Likewise.
4192         * include/ext/pb_ds/detail/list_update_map_/
4193         insert_fn_imps.hpp: Likewise.
4194         * include/ext/pb_ds/detail/list_update_map_/
4195         info_fn_imps.hpp: Likewise.
4196         * include/ext/pb_ds/detail/list_update_map_/
4197         iterators_fn_imps.hpp: Likewise.
4198         * include/ext/pb_ds/detail/rc_binomial_heap_/
4199         erase_fn_imps.hpp: Likewise.
4200         * include/ext/pb_ds/detail/rc_binomial_heap_/
4201         insert_fn_imps.hpp: Likewise.
4202         * include/ext/pb_ds/detail/rc_binomial_heap_/
4203         debug_fn_imps.hpp: Likewise.
4204         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
4205         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Likewise.
4206         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Likewise.
4207         * include/ext/pb_ds/detail/rb_tree_map_/
4208         split_join_fn_imps.hpp: Likewise.
4209         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Likewise.
4210         * include/ext/pb_ds/list_update_policy.hpp: Likewise.
4211         * include/ext/pb_ds/exception.hpp: Likewise.
4212         * include/ext/pb_ds/tree_policy.hpp: Likewise.
4213         * include/ext/pb_ds/tag_and_trait.hpp: Likewise.
4214         * include/ext/pb_ds/hash_policy.hpp: Likewise.
4215         * include/ext/pb_ds/trie_policy.hpp: Likewise.
4216         * include/ext/pb_ds/priority_queue.hpp: Likewise.
4217         * include/ext/throw_allocator.h: Likewis: Likewise.e.
4218         * include/ext/bitmap_allocator.h
4219         * include/ext/rc_string_base.h: Likewise.
4220         * include/ext/new_allocator.h: Likewise.
4221         * include/ext/codecvt_specializations.h: Likewise.
4222         * include/ext/functional: Likewise.: Likewise.
4223         * include/ext/array_allocator.h: Likewise.
4224         * include/ext/mt_allocator.h: Likewise.
4225         * include/ext/sso_string_base.h: Likewise.
4226         * include/profile/impl/profiler_trace.h: Likewise.
4227         * include/profile/impl/profiler_node.h: Likewise.
4228         * include/bits/stl_algobase.h: Likewise.
4229         * include/bits/functional_hash.h: Likewise.
4230         * include/bits/locale_facets.tcc: Likewise.
4231         * include/bits/locale_facets.h: Likewise.
4232         * include/bits/stl_iterator_base_types.h: Likewise.
4233         * include/bits/move.h: Likewise.
4234         * include/bits/boost_concept_check.h: Likewise.
4235         * include/bits/basic_string.tcc: Likewise.
4236         * include/bits/locale_facets_nonio.tcc: Likewise.
4237         * include/bits/fstream.tcc: Likewise.
4238         * include/bits/locale_facets_nonio.h: Likewise.
4239         * include/c_global/cstdlib: Likewise.
4240         * include/c_global/cstdio: Likewise.
4241         * include/c_global/ctime: Likewise.
4242         * include/c_global/cwchar: Likewise.
4243         * include/c_global/cstring
4244         * include/tr1/type_traits: Likewise.
4245         * include/backward/hash_fun.h: Likewise.
4246         * libsupc++/new: Likewise.
4247         * libsupc++/initializer_list: Likewise.
4248         * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
4249         * testsuite/27_io/basic_iostream/cons/2020.cc: Likewise.
4250         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
4251         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
4252         * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise.
4253         * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
4254         * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
4255         * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
4256         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1057.cc: Likewise.
4257         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
4258         * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
4259         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
4260         * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
4261         * testsuite/27_io/basic_streambuf/sputc/char/1057.cc: Likewise.
4262         * testsuite/27_io/objects/wchar_t/5268.cc: Likewise.
4263         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4264         * testsuite/27_io/objects/char/5268.cc: Likewise.
4265         * testsuite/27_io/objects/char/10.cc: Likewise.
4266         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise.
4267         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
4268         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
4269         * testsuite/27_io/basic_ios/locales/char/1.cc: Likewise.
4270         * testsuite/27_io/basic_ios/clear/char/1.cc: Likewise.
4271         * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
4272         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1057.cc: Likewise.
4273         * testsuite/27_io/basic_stringbuf/sputc/char/1057.cc: Likewise.
4274         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1057.cc: Likewise.
4275         * testsuite/27_io/basic_stringbuf/sputn/char/1057.cc: Likewise.
4276         * testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise.
4277         * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
4278         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
4279         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
4280         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
4281         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
4282         * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise.
4283         * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
4284         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
4285         exceptions_null.cc
4286         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
4287         1.cc: Likewise.
4288         * testsuite/27_io/basic_istream/extractors_other/char/
4289         exceptions_null.cc: Likewise.
4290         * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise.
4291         * testsuite/27_io/basic_istream/cons/3.cc: Likewise.
4292         * testsuite/27_io/basic_istream/extractors_arithmetic/
4293         wchar_t/01.cc: Likewise.
4294         * testsuite/27_io/basic_istream/extractors_arithmetic/
4295         char/01.cc: Likewise.
4296         * testsuite/27_io/basic_istream/extractors_character/
4297         wchar_t/1.cc: Likewise.
4298         * testsuite/27_io/basic_istream/extractors_character/
4299         wchar_t/2.cc: Likewise.
4300         * testsuite/27_io/basic_istream/extractors_character/
4301         wchar_t/3.cc: Likewise.
4302         * testsuite/27_io/basic_istream/extractors_character/
4303         char/1.cc: Likewise.
4304         * testsuite/27_io/basic_istream/extractors_character/
4305         char/2.cc: Likewise.
4306         * testsuite/27_io/basic_istream/extractors_character/
4307         char/3.cc: Likewise.
4308         * testsuite/27_io/basic_istream/extractors_character/
4309         char/9826.cc: Likewise.
4310         * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
4311         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
4312         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4313         exceptions_null.cc: Likewise.
4314         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
4315         1.cc: Likewise.
4316         * testsuite/27_io/basic_ostream/inserters_other/char/
4317         exceptions_null.cc: Likewise.
4318         * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise.
4319         * testsuite/27_io/basic_ostream/cons/2020.cc: Likewise.
4320         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
4321         * testsuite/27_io/basic_ostream/inserters_character/
4322         wchar_t/8.cc: Likewise.
4323         * testsuite/27_io/basic_ostream/inserters_character/
4324         char/8.cc: Likewise.
4325         * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise.
4326         * testsuite/27_io/basic_filebuf/sputc/char/1057.cc: Likewise.
4327         * testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise.
4328         * testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise.
4329         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4330         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
4331         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
4332         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
4333         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
4334         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
4335         * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
4336         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4337         * testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise.
4338         * testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise.
4339         * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise.
4340         * testsuite/27_io/basic_filebuf/sputn/char/1057.cc: Likewise.
4341         * testsuite/24_iterators/ostreambuf_iterator/2.cc: Likewise.
4342         * testsuite/18_support/bad_exception/23591_thread-1.c
4343         * testsuite/18_support/new_delete_placement.cc: Likewise.
4344         * testsuite/18_support/pthread_guard.cc: Likewise.
4345         * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: Likewise.
4346         * testsuite/21_strings/basic_string/operations/char/1.cc: Likewise.
4347         * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
4348         * testsuite/21_strings/basic_string/cons/wchar_t/5.cc: Likewise.
4349         * testsuite/21_strings/basic_string/cons/char/5.cc: Likewise.
4350         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
4351         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
4352         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
4353         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
4354         * testsuite/30_threads/mutex/cons/assign_neg.cc: Likewise.
4355         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
4356         * testsuite/30_threads/thread/cons/assign_neg.cc: Likewise.
4357         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
4358         * testsuite/30_threads/recursive_timed_mutex/cons/
4359         assign_neg.cc: Likewise.
4360         * testsuite/30_threads/recursive_timed_mutex/cons/
4361         copy_neg.cc: Likewise.
4362         * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
4363         * testsuite/ext/slist/23781.cc: Likewise.
4364         * testsuite/ext/rope/pthread7-rope.cc: Likewise.
4365         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise.
4366         * testsuite/22_locale/ctype/is/wchar_t/1.cc: Likewise.
4367         * testsuite/22_locale/ctype/is/char/1.cc: Likewise.
4368         * testsuite/22_locale/time_put/put/char/12439_1.cc: Likewise.
4369         * testsuite/22_locale/time_put/put/char/12439_3.cc: Likewise.
4370         * testsuite/22_locale/locale/cons/2.cc: Likewise.
4371         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
4372         * testsuite/22_locale/locale/cons/29217.cc: Likewise.
4373         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
4374         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
4375         * testsuite/tr1/6_containers/unordered_multimap/
4376         requirements/iterator_null_neg.cc: Likewise.
4377         * testsuite/tr1/6_containers/unordered_multiset/
4378         requirements/iterator_null_neg.cc: Likewise.
4379         * testsuite/29_atomics/atomic_address/cons/single_value.cc: Likewise.
4380         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
4381         * testsuite/23_containers/multimap/23781.cc: Likewise.
4382         * testsuite/23_containers/set/23781.cc: Likewise.
4383         * testsuite/23_containers/multiset/23781.cc: Likewise.
4384         * testsuite/23_containers/list/pthread1.cc: Likewise.
4385         * testsuite/23_containers/list/23781.cc: Likewise.
4386         * testsuite/23_containers/map/pthread6.cc: Likewise.
4387         * testsuite/23_containers/map/23781.cc: Likewise.
4388         * testsuite/util/regression/rand/priority_queue/
4389         rand_regression_test.hpp: Likewise.
4390         * testsuite/util/regression/rand/priority_queue/
4391         container_rand_regression_test.tcc: Likewise.
4392         * testsuite/util/regression/rand/assoc/
4393         rand_regression_test.hpp: Likewise.
4394         * testsuite/util/regression/rand/assoc/
4395         container_rand_regression_test.tcc: Likewise.
4396         * testsuite/util/testsuite_hooks.cc: Likewise.
4397         * testsuite/util/testsuite_io.h: Likewise.
4398         * testsuite/util/testsuite_iterators.h: Likewise.
4399         * testsuite/util/replacement_memory_operators.h: Likewise.
4400         * testsuite/util/testsuite_allocator.h: Likewise.
4401         * testsuite/util/testsuite_performance.h: Likewise.
4403 2010-06-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4405         * testsuite/tr1/2_general_utilities/shared_ptr/cons/pointer.cc: Fix
4406         which tests are run.
4407         * testsuite/20_util/shared_ptr/cons/pointer.cc: Likewise.
4409 2010-06-01  Maxim Kuvyrkov  <maxim@codesourcery.com>
4411         * acinclude.m4, configure.host: Support Bionic C library.
4412         * configure: Regenerate.
4413         * config/os/bionic/ctype_base.h, config/os/bionic/ctype_inline.h,
4414         * config/os/bionic/ctype_noincline.h, config/os/bionic/os_defines.h:
4415         New files, based on config/os/newlib/*.
4417 2010-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
4419         PR libstdc++/43820
4420         * include/bits/shared_ptr_base.h: Require complete type.
4421         * include/tr1/shared_ptr.h: Likewise.
4422         * testsuite/20_util/shared_ptr/cons/43820.cc: New.
4423         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.
4425 2010-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
4427         * include/bits/basic_string.h (front, back): Add.
4428         * include/debug/string: Adjust.
4429         * include/ext/vstring.h (front, back): Tweak the implementation
4430         to follow more closely the letter of the specs.
4431         * testsuite/21_strings/basic_string/element_access/char/
4432         front_back.cc: New.
4433         * testsuite/21_strings/basic_string/element_access/wchar_t/
4434         front_back.cc: Likewise.
4435         * config/abi/pre/gnu.ver: Export new symbols.
4436         * testsuite/util/testsuite_abi.cc: Adjust.
4437         * configure.ac: Bump minor version to 6:15:0.
4438         * configure: Regenerate.
4440 2010-05-28  Paolo Carlini  <paolo.carlini@oracle.com>
4442         * include/bits/stl_vector.h (vector<>::data): Fix return type
4443         in c++0x mode.
4444         * testsuite/23_containers/vector/requirements/dr438/
4445         assign_neg.cc: Adjust dg-error line number.
4446         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
4447         Likewise.
4448         * testsuite/23_containers/vector/requirements/dr438/
4449         constructor_1_neg.cc: Likewise.
4450         * testsuite/23_containers/vector/requirements/dr438/
4451         constructor_2_neg.cc: Likewise.
4453 2010-05-27  Jason Merrill  <jason@redhat.com>
4455         Revert:
4456         PR libstdc++/42832
4457         * include/std/functional (function<>::swap): Perform bytewise
4458         swap of _M_functor.
4459         * include/tr1/functional (function<>::swap): Likewise.
4461 2010-05-27  Paolo Carlini  <paolo.carlini@oracle.com>
4463         PR libstdc++/40497
4464         * include/bits/cpp_type_traits.h (__is_iterator): Add.
4465         * include/bits/stl_iterator_base_funcs.h (next, prev): Use it.
4466         * testsuite/24_iterators/operations/40497.cc: New.
4468 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
4470         PR libstdc++/25306
4471         * include/bits/stl_algobase.h (fill_n): Use a properly typed __niter
4472         initialized to __n.
4473         * include/bits/stl_algo.h (generate_n): Likewise.
4474         * testsuite/25_algorithms/fill_n/25306.cc: New.
4475         * testsuite/25_algorithms/generate_n/25306.cc: Likewise.
4477 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
4479         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Use GNU locale model for
4480         glibc 2.3 and later, but not uClibc, without an execution test.
4481         * configure: Regenerate.
4482         * doc/xml/manual/configure.xml, doc/xml/manual/prerequisites.xml,
4483         doc/xml/faq.xml: Update.
4485 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
4487         * include/tr1/functional: Use std::__addressof.
4488         * include/tr1/hashtable_policy.h: Likewise.
4490 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
4492         PR libstdc++/41792
4493         * include/tr1_impl/array: Use std::__addressof.
4494         * include/std/functional (reference_wrapper): Likewise.
4495         * include/ext/throw_allocator.h: Likewise.
4496         * include/ext/pool_allocator.h: Likewise.
4497         * include/ext/bitmap_allocator.h: Likewise.
4498         * include/ext/new_allocator.h: Likewise.
4499         * include/ext/malloc_allocator.h: Likewise.
4500         * include/ext/array_allocator.h: Likewise.
4501         * include/ext/mt_allocator.h: Likewise.
4502         * include/ext/extptr_allocator.h: Likewise.
4503         * include/bits/stl_list.h: Likewise.
4504         * include/bits/hashtable_policy.h: Likewise.
4505         * include/bits/forward_list.h: Likewise.
4506         * include/bits/stl_uninitialized.h: Likewise.
4507         * include/bits/list.tcc: Likewise.
4508         * include/bits/stl_construct.h: Likewise.
4509         * include/bits/stl_tree.h: Likewise.
4510         * testsuite/20_util/reference_wrapper/41792.cc: New.
4511         * testsuite/23_containers/unordered_map/requirements/
4512         explicit_instantiation/4.cc: Likewise.
4513         * testsuite/23_containers/multimap/requirements/
4514         explicit_instantiation/4.cc: Likewise.
4515         * testsuite/23_containers/set/requirements/
4516         explicit_instantiation/4.cc: Likewise.
4517         * testsuite/23_containers/unordered_multimap/requirements/
4518         explicit_instantiation/4.cc: Likewise.
4519         * testsuite/23_containers/forward_list/requirements/
4520         explicit_instantiation/4.cc: Likewise.
4521         * testsuite/23_containers/unordered_set/requirements/
4522         explicit_instantiation/4.cc: Likewise.
4523         * testsuite/23_containers/vector/requirements/
4524         explicit_instantiation/4.cc: Likewise.
4525         * testsuite/23_containers/deque/requirements/
4526         explicit_instantiation/4.cc: Likewise.
4527         * testsuite/23_containers/multiset/requirements/
4528         explicit_instantiation/4.cc: Likewise.
4529         * testsuite/23_containers/list/requirements/
4530         explicit_instantiation/4.cc: Likewise.
4531         * testsuite/23_containers/unordered_multiset/requirements/
4532         explicit_instantiation/4.cc: Likewise.
4533         * testsuite/23_containers/map/requirements/
4534         explicit_instantiation/4.cc: Likewise.
4535         * testsuite/23_containers/array/requirements/
4536         explicit_instantiation/3.cc: Likewise.
4537         * testsuite/23_containers/forward_list/requirements/
4538         dr438/assign_neg.cc: Adjust dg-error line numbers.
4539         * testsuite/23_containers/forward_list/requirements/dr438/
4540         insert_neg.cc: Likewise.
4541         * testsuite/23_containers/forward_list/requirements/dr438/
4542         constructor_1_neg.cc: Likewise.
4543         * testsuite/23_containers/forward_list/requirements/dr438/
4544         constructor_2_neg.cc: Likewise.
4545         * testsuite/23_containers/list/requirements/dr438/
4546         assign_neg.cc: Likewise.
4547         * testsuite/23_containers/list/requirements/dr438/
4548         insert_neg.cc: Likewise.
4549         * testsuite/23_containers/list/requirements/dr438/
4550         constructor_1_neg.cc: Likewise.
4551         * testsuite/23_containers/list/requirements/dr438/
4552         constructor_2_neg.cc: Likewise.
4554 2010-05-20  Peter Dimov  <pdimov@pdimov.com>
4555             Paolo Carlini  <paolo.carlini@oracle.com>
4557         * include/bits/move.h (__addressof, addressof): Add.
4558         * testsuite/util/testsuite_api.h (struct OverloadedAddress): Add.
4559         * testsuite/20_util/addressof/requirements/
4560         explicit_instantiation.cc: New.
4561         * testsuite/20_util/addressof/1.cc: Likewise.
4563 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
4565         * include/bits/stl_pair.h (pair<>::pair(const pair&)): Defaulted
4566         in C++0x mode.
4567         (pair<>::operator=(const pair<>&)): Add in C++0x mode.
4568         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
4569         line number.
4571 2010-05-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
4573         * testsuite/30_threads/future/members/wait.cc (wait): Rename.
4574         * testsuite/30_threads/shared_future/members/wait.cc (wait): Likewise.
4576 2010-05-18  Eelis van der Weegen  <gcc-bugzilla@contacts.eelis.net>
4578         PR libstdc++/44190
4579         * include/debug/vector (vector<>::resize): Call
4580         _M_update_guaranteed_capacity.
4581         * testsuite/23_containers/vector/capacity/44190.cc: New.
4583 2010-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
4585         * include/std/functional (result_of): Move...
4586         * include/std/type_traits: ... here.
4587         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
4588         line number.
4590 2010-05-12  Jason Merrill  <jason@redhat.com>
4592         * testsuite/20_util/auto_ptr/assign_neg.cc: Expect template
4593         candidate messages.
4594         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
4595         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
4597 2010-05-11  Silvius Rus  <silvius.rus@gmail.com>
4599         PR libstdc++/43259
4600         * include/profile/impl/profiler_algos.h: New.
4601         * include/Makefile.am: Add.
4602         * include/Makefile.in: Regenerate.
4603         * include/profile/impl/profiler.h
4604         (_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add.
4605         * include/profile/impl/profiler_trace.h
4606         (__mutex_t, __lock, __unlock): Remove.
4607         (__lock_object_table, __lock_stack_table): Remove. Replace uses with
4608         calls to __gnu_cxx::__mutex::lock.
4609         (__unlock_object_table, __unlock_stack_table): Remove. Replace uses
4610         with calls to __gnu_cxx::__mutex::unlock.
4611         (__warn, __cost_factor_writer, __cost_factor_setter): Add.
4612         * testsuite/ext/profile/profiler_algos.cc: New.
4614 2010-05-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
4616         * libsupc++/exception_ptr.h (make_exception_ptr): Add.
4617         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: New.
4619 2010-05-06  Jason Merrill  <jason@redhat.com>
4621         * config/abi/pre/gnu.ver: Move decltype(nullptr) into CXXABI_1.3.5.
4622         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.5.
4624         * config/abi/pre/gnu.ver: Add typeinfo for decltype(nullptr).
4626 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
4628         * include/bits/basic_string.h: Escape class names in doxygen docs.
4630 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
4632         PR libstdc++/44014
4633         * include/bits/stringfwd.h: Add doxygen comments and new group.
4634         * include/bits/basic_string.h: Add to new doxygen group.
4635         * doc/doxygen/user.cfg.in (ALIASES): Link to correct group.
4637 2010-05-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4639         * configure.host: Removed irix[1-6], irix[1-5].*, irix6.[0-4]*
4640         support.
4641         * config/os/irix/irix5.2: Removed.
4643 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
4645         * testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust
4646         for profile-mode too.
4647         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
4648         Likewise.
4650 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
4652         * include/profile/unordered_map (unordered_map<>::insert(_InputIter,
4653         _InputIter), unordered_multimap<>::insert(_InputIter, _InputIter)):
4654         Fix typo, don't call base() on __first and __last.
4656 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
4658         Fix profile-mode vs -std=c++0x
4659         * include/profile/impl/profiler_trace.h: Do not include the
4660         whole <algorithm>, include <bits/stl_heap.h> (additionally
4661         to <bits/stl_algobase.h>).
4662         (__write_cost_factors): Replace std::for_each with open-coding.
4663         (__set_cost_factors): Likewise.
4664         (__report): Likewise; use std::make_heap / std::sort_heap
4665         instead of std::sort.
4666         (__report_cost_factors): Replace std::remove with open-coding.
4667         (__warn, __cost_factor_writer, __cost_factor_setter): Remove.
4669 2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4671         PR other/43620
4672         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
4673         * configure: Regenerate.
4674         * Makefile.in: Regenerate.
4675         * doc/Makefile.in: Regenerate.
4676         * include/Makefile.in: Regenerate.
4677         * libsupc++/Makefile.in: Regenerate.
4678         * po/Makefile.in: Regenerate.
4679         * python/Makefile.in: Regenerate.
4680         * src/Makefile.in: Regenerate.
4681         * testsuite/Makefile.in: Regenerate.
4683 2010-05-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
4685         * doc/xml/faq.xml: Fix anachronisms.
4686         * doc/xml/manual/intro.xml (Make): Tweak grammar and whitespace.
4687         * doc/xml/manual/support.xml (NULL): Use inline <code> element
4688         instead of <programlisting> block.
4689         * doc/html/*: Regenerate.
4691 2010-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
4693         * include/bits/stl_pair.h (piecewise_construct_t,
4694         pair<>::pair(piecewise_construct_t, tuple, tuple)): Add.
4695         (pair<>::__cons, pair<>::__do_cons): Declare.
4696         (__decay_and_strip, __strip_reference_wrapper): Move...
4697         * include/std/type_traits: ... here.
4698         * include/std/functional (_Index_tuple, _Build_index_tuple): Move...
4699         * include/std/tuple: ... here.
4700         (pack_arguments): Add.
4701         (pair<>::__cons, pair<>::__do_cons): Define.
4702         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc: New.
4703         * testsuite/20_util/pair/piecewise.cc: Likewise.
4704         * testsuite/20_util/tuple/cons/big_tuples.cc: Include <utility>.
4705         * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
4706         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
4707         dg-error line numbers.
4708         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
4709         Likewise.
4710         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
4712 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
4714         PR libstdc++/43865
4715         * include/c_global/cstdlib (abort, exit): _GLIBCXX_NORETURN typo.
4717 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
4719         * doc/xml/manual/status_cxx200x.xml: Update quick_exit status.
4720         * doc/html/*: Regenerate.
4722 2010-04-27  Fabien Chêne  <fabien.chene@gmail.com>
4724         * testsuite/util/testsuite_error.h: Add empty default constructor
4725         to __gnu_test::test_category and
4726         __gnu_test::test_derived_category.
4727         * src/future.cc: Add empty default constructor to
4728         future_error_category.
4729         * src/system_error.cc: Add default ctor to generic_error_category
4730         and system_error_category.
4732 2010-04-27  Alexander Monakov  <amonakov@ispras.ru>
4734         * testsuite/22_locale/codecvt/unshift/char/1.cc (test01): Clarify size
4735         definition.  Use memcpy and memcmp to avoid access beyond allocated
4736         memory.
4738 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
4740         * doc/xml/manual/status_cxx200x.xml: Update to match n3092.
4741         * doc/html/*: Regenerate.
4743 2010-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
4745         * doc/xml/manual/status_cxx200x.xml: Update Threads status.
4746         * doc/html/manual/status.html: Regenerate.
4748 2010-04-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
4750         * include/bits/unique_ptr (unique_ptr::pointer): Use deleter's
4751         pointer type if it exists.
4752         * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: New.
4753         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
4754         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
4756 2010-04-22  Johannes Singler  <singler@kit.edu>
4758         * include/parallel/partition.h (__parallel_partition):
4759         Improve scalability by:
4760         -introducing new variables __leftold, __rightold, __dist, thus
4761         -getting rid of omp lock by using atomic operations
4762         -getting rid of two omp barriers
4764 2010-04-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
4766         * doc/xml/faq.xml: Link to manual.
4767         * doc/xml/manual/using.xml: Expand dynamic libraries section.
4768         * doc/xml/manual/strings.xml: Mention shrink_to_fit() member.
4769         * doc/xml/manual/prerequisites.xml: Link to doxygen requirements.
4770         * doc/xml/manual/appendix_contributing.xml: Update Bash version.
4771         * doc/html/*: Regenerate.
4773 2010-04-13  Ian Lance Taylor  <iant@google.com>
4775         * include/backward/hash_map: Don't #include "backward_warning.h"
4776         if _GLIBCXX_PERMIT_BACKWARD_HASH is defined.
4777         * include/backward/hash_set: Likewise.
4779 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4781         * configure.host (os_include_dir): Removed solaris2.7 support.
4782         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Likewise.
4783         * configure: Regenerate.
4785 2010-04-06  Matthias Klose  <doko@ubuntu.com>
4787         * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Show test result.
4788         * configure: Regenerate.
4789         * doc/xml/manual/configure.xml, doc/html/manual/configure.html:
4790         Document --enable-libstdcxx-time as the short form for
4791         --enable-libstdcxx-time=yes.
4793 2010-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
4795         * include/bits/basic_string.h: Fix pasto in comment.
4796         * include/ext/vstring.h: Likewise.
4798 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4800         * Makefile.in: Regenerate.
4801         * aclocal.m4: Regenerate.
4802         * doc/Makefile.in: Regenerate.
4803         * include/Makefile.in: Regenerate.
4804         * libsupc++/Makefile.in: Regenerate.
4805         * po/Makefile.in: Regenerate.
4806         * python/Makefile.in: Regenerate.
4807         * src/Makefile.in: Regenerate.
4808         * testsuite/Makefile.in: Regenerate.
4810 2010-03-30  Johannes Singler  <singler@kit.edu>
4812         * include/parallel/random_shuffle.h
4813         (__parallel_random_shuffle_drs) : Take as many threads as
4814         possible, i. e. favor parallelism over cache efficiency.
4815         Use own PRNG also for the 1 thread case.
4817 2010-03-30  Paolo Carlini  <paolo.carlini@oracle.com>
4819         * include/debug/unordered_map: Clean-up includes and guards.
4820         * include/debug/unordered_set: Likewise.
4821         * include/debug/list: Likewise.
4822         * include/profile/unordered_map: Likewise.
4823         * include/profile/unordered_set: Likewise.
4825 2010-03-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4827         PR target/43458
4828         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
4829         Xfail hppa*-*-hpux*.
4831 2010-03-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4833         * doc/xml/manual/profile_mode.xml (Profile Diagnostics): Correct
4834         cols.
4835         * doc/xml/manual/using.xml (C++ 1998 Library Headers): Add missing
4836         c5 colspec.
4837         (C++ 1998 Library Headers for C Library Facilities): Likewise.
4838         (C++ 200x Library Headers): Likewise.
4840 2010-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
4842         * include/bits/unordered_map.h (operator==, operator!=): Add per N3068.
4843         * include/bits/unordered_set.h (operator==, operator!=): Likewise.
4844         * include/debug/unordered_map (operator==, operator!=): Likewise.
4845         * include/debug/unordered_set: Likewise.
4846         * include/profile/unordered_map: Likewise.
4847         * include/profile/unordered_set: Likewise.
4848         * testsuite/23_containers/unordered_map/operators/1.cc: New.
4849         * testsuite/23_containers/unordered_multimap/operators/1.cc: Likewise.
4850         * testsuite/23_containers/unordered_multimap/operators/2.cc: Likewise.
4851         * testsuite/23_containers/unordered_set/operators/1.cc: Likewise.
4852         * testsuite/23_containers/unordered_multiset/operators/1.cc: Likewise.
4854 2010-03-25  John Lakos  <jlakos@bloomberg.net>
4855             Pablo Halpern  <phalpern@halpernwightsoftware.com>
4856             Paolo Carlini  <paolo.carlini@oracle.com>
4858         * include/bits/hashtable_policy.h (struct _Equality_base): Add.
4859         * include/bits/hashtable.h (_Hashtable<>): Derive from the latter.
4861 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
4863         * testsuite/util/testsuite_tr1.h (NType, TType, SLType, PODType): Add.
4864         * testsuite/20_util/is_trivial/value.cc: Adjust.
4865         * testsuite/20_util/is_standard_layout/value.cc: Likewise.
4866         * testsuite/20_util/is_pod/value.cc: Likewise.
4868 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
4870         * testsuite/20_util/is_trivial/value.cc: New.
4871         * testsuite/20_util/is_standard_layout/value.cc: Likewise.
4872         * testsuite/20_util/is_pod/value.cc: Extend.
4874 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
4876         * include/bits/stl_algobase.h (lower_bound(_ForwardIterator,
4877         _ForwardIterator, const _Tp&, _Compare)): Move...
4878         * include/bits/stl_algo.h: ... here.
4880 2010-03-22  Johannes Singler  <singler@kit.edu>
4882         * include/parallel/numeric (inner_product, partial_sum):
4883         Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity
4884         between __gnu_parallel:: and std::
4885         * include/parallel/algobase.h (equal): Likewise.
4886         * include/parallel/algo.h (find_first_of, search_n, merge, nth_element,
4887         partial_sort, max_element, min_element): Likewise.
4888         * include/parallel/partial_sum.h (__parallel_partial_sum_linear):
4889         Qualify accumulate call with __gnu_parallel::.
4891 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
4893         * include/parallel/base.h (_PseudoSequence): Do not forward declare.
4894         (_VoidFunctor): Remove, unused.
4895         (__median_of_three_iterators): Take __comp by value.
4896         (_PseudoSequenceIterator<>::operator++(int)): Do not const qualify
4897         the return type.
4898         (_PseudoSequenceIterator<>::operator!=): Fix return type to bool.
4900 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
4902         * include/parallel/base.h (_Less): Use std::less.
4903         (_Plus): Likewise use std::plus.
4904         (_Multiplies): Likewise use std::multiplies.
4905         * include/parallel/numeric: Adjust.
4907 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
4909         * testsuite/17_intro/freestanding.cc: Avoid -Wall warnings.
4911 2010-03-19  Rodolfo Lima  <rodolfo@rodsoft.org>
4913         * include/bits/shared_ptr.h (shared_ptr(unique_ptr&&),
4914         shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925).
4915         * include/bits/shared_ptr_base.h: Likewise.
4916         * testsuite/20_util/shared_ptr/creation/dr925.cc: New.
4918 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
4920         * include/bits/random.tcc: Minor formatting changes.
4922 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
4924         * include/bits/stl_algo.h (shuffle): Fix typo in signature.
4925         * include/bits/algorithmfwd.h: Adjust.
4926         * testsuite/25_algorithms/shuffle/requirements/
4927         explicit_instantiation/2.cc: Likewise.
4928         * testsuite/25_algorithms/shuffle/requirements/
4929         explicit_instantiation/pod.cc: Likewise.
4931 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
4933         * include/bits/stl_algo.h (shuffle): Add, per D3056.
4934         (random_shuffle): Fix signature in C++0x mode.
4935         (lower_bound, __lg): Move...
4936         * include/bits/stl_algobase.h: ... here.
4937         * include/bits/algorithmfwd.h: Adjust.
4938         * include/parallel/algorithmfwd.h: Likewise.
4939         * include/parallel/algo.h: Likewise.
4940         * include/bits/hashtable_policy.h (__lower_bound): Remove,
4941         adjust callers.
4942         * include/tr1/hashtable_policy.h (__lower_bound): Likewise.
4943         * include/bits/random.tcc (__detail::__transform): Add,
4944         adjust std::transform callers; don't include <algorithm>.
4945         * testsuite/25_algorithms/shuffle/1.cc: Add.
4946         * testsuite/25_algorithms/shuffle/requirements/
4947         explicit_instantiation/2.cc: Likewise.
4948         * testsuite/25_algorithms/shuffle/requirements/
4949         explicit_instantiation/pod.cc: Likewise.
4951         * include/bits/random.h: Add comments.
4953 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
4955         * doc/xml/manual/debug_mode.xml: Correct debug headers.
4957 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
4959         PR libstdc++/43397
4960         * include/std/functional (_Mem_fn): Use perfect forwarding.
4961         * testsuite/20_util/function/43397.cc: New.
4963 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
4965         PR libstdc++/43394
4966         * include/parallel/compatibility.h: Add __k8 and __core2 among the
4967         i386 targets supporting atomic operations.
4969 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
4971         * include/backward/hash_map: Use consistently the _BACKWARD_*
4972         prefix for the include guard.
4973         * include/backward/hash_fun.h: Likewise.
4974         * include/backward/hashtable.h: Likewise.
4975         * include/backward/auto_ptr.h: Likewise.
4976         * include/backward/strstream: Likewise.
4977         * include/backward/binders.h: Likewise.
4978         * include/backward/hash_set: Likewise.
4980 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
4982         * include/bits/random.h (operator==(const uniform_int_distribution<>&,
4983         const uniform_int_distribution<>&), operator==(const
4984         uniform_real_distribution<>&, const uniform_real_distribution<>&),
4985         operator==(const lognormal_distribution<>&,
4986         const lognormal_distribution<>&), operator==(const
4987         chi_squared_distribution<>&, const chi_squared_distribution<>&),
4988         operator==(const cauchy_distribution<>&, const cauchy_distribution<>&),
4989         operator==(const fisher_distribution<>&, const fisher_distribution<>&),
4990         operator==(const student_t_distribution<>&,
4991         const student_t_distribution<>&), operator==(const
4992         bernoulli_distribution<>&, const bernoulli_distribution<>&),
4993         operator==(const binomial_distribution<>&, const
4994         binomial_distribution<>&), operator==(const geometric_distribution<>&,
4995         const geometric_distribution<>&), operator==(const
4996         negative_binomial_distribution<>&, const
4997         negative_binomial_distribution<>&), operator==(const
4998         poisson_distribution<>&, const poisson_distribution<>&),
4999         operator==(const exponential_distribution<>&,
5000         const exponential_distribution<>&), operator==(const
5001         gamma_distribution<>&, const gamma_distribution<>&), operator==(const
5002         weibull_distribution<>&, const weibull_distribution<>&),
5003         operator==(const extreme_value_distribution<>&,
5004         const extreme_value_distribution<>&), operator==(const
5005         discrete_distribution<>&, const discrete_distribution<>&),
5006         operator==(const piecewise_constant_distribution<>&,
5007         const piecewise_constant_distribution<>&), operator==(const
5008         piecewise_linear_distribution<>&, const
5009         piecewise_linear_distribution<>&)): Add, likewise for operator!=.
5010         (operator!=(const independent_bits_engine<>&, const
5011         independent_bits_engine<>&), operator!=(const
5012         subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&),
5013         operator!=(const discard_block_engine<>&, const
5014         discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&,
5015         const mersenne_twister_engine<>&), operator!=(const
5016         linear_congruential_engine<>&, const linear_congruential_engine<>&),
5017         operator!=(const shuffle_order_engine<>&, const
5018         shuffle_order_engine<>&): Add.
5019         * include/bits/random.tcc (operator==(const normal_distribution<>&,
5020         const normal_distribution<>&)): Add.
5021         * testsuite/26_numerics/random/uniform_real_distribution/operators/
5022         inequal.cc: New.
5023         * testsuite/26_numerics/random/uniform_real_distribution/operators/
5024         equal.cc: Likewise.
5025         * testsuite/26_numerics/random/piecewise_constant_distribution/
5026         operators/inequal.cc: Likewise.
5027         * testsuite/26_numerics/random/piecewise_constant_distribution/
5028         operators/equal.cc: Likewise.
5029         * testsuite/26_numerics/random/chi_squared_distribution/operators/
5030         inequal.cc: Likewise.
5031         * testsuite/26_numerics/random/chi_squared_distribution/operators/
5032         equal.cc: Likewise.
5033         * testsuite/26_numerics/random/normal_distribution/operators/
5034         inequal.cc: Likewise.
5035         * testsuite/26_numerics/random/normal_distribution/operators/
5036         equal.cc: Likewise.
5037         * testsuite/26_numerics/random/uniform_int_distribution/operators/
5038         inequal.cc: Likewise.
5039         * testsuite/26_numerics/random/uniform_int_distribution/operators/
5040         equal.cc: Likewise.
5041         * testsuite/26_numerics/random/poisson_distribution/operators/
5042         inequal.cc: Likewise.
5043         * testsuite/26_numerics/random/poisson_distribution/operators/
5044         equal.cc: Likewise.
5045         * testsuite/26_numerics/random/bernoulli_distribution/operators/
5046         inequal.cc: Likewise.
5047         * testsuite/26_numerics/random/bernoulli_distribution/operators/
5048         equal.cc: Likewise.
5049         * testsuite/26_numerics/random/discrete_distribution/operators/
5050         inequal.cc: Likewise.
5051         * testsuite/26_numerics/random/discrete_distribution/operators/
5052         equal.cc: Likewise.
5053         * testsuite/26_numerics/random/weibull_distribution/operators/
5054         inequal.cc: Likewise.
5055         * testsuite/26_numerics/random/weibull_distribution/operators/
5056         equal.cc: Likewise.
5057         * testsuite/26_numerics/random/independent_bits_engine/operators/
5058         inequal.cc: Likewise.
5059         * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
5060         inequal.cc: Likewise.
5061         * testsuite/26_numerics/random/discard_block_engine/operators/
5062         inequal.cc: Likewise.
5063         * testsuite/26_numerics/random/cauchy_distribution/operators/
5064         inequal.cc: Likewise.
5065         * testsuite/26_numerics/random/cauchy_distribution/operators/
5066         equal.cc: Likewise.
5067         * testsuite/26_numerics/random/negative_binomial_distribution/
5068         operators/inequal.cc: Likewise.
5069         * testsuite/26_numerics/random/negative_binomial_distribution/
5070         operators/equal.cc: Likewise.
5071         * testsuite/26_numerics/random/gamma_distribution/operators/
5072         inequal.cc: Likewise.
5073         * testsuite/26_numerics/random/gamma_distribution/operators/
5074         equal.cc: Likewise.
5075         * testsuite/26_numerics/random/mersenne_twister_engine/operators/
5076         inequal.cc: Likewise.
5077         * testsuite/26_numerics/random/fisher_f_distribution/operators/
5078         inequal.cc: Likewise.
5079         * testsuite/26_numerics/random/fisher_f_distribution/operators/
5080         equal.cc: Likewise.
5081         * testsuite/26_numerics/random/exponential_distribution/operators/
5082         inequal.cc: Likewise.
5083         * testsuite/26_numerics/random/exponential_distribution/operators/
5084         equal.cc: Likewise.
5085         * testsuite/26_numerics/random/binomial_distribution/operators/
5086         inequal.cc: Likewise.
5087         * testsuite/26_numerics/random/binomial_distribution/operators/
5088         equal.cc: Likewise.
5089         * testsuite/26_numerics/random/lognormal_distribution/operators/
5090         inequal.cc: Likewise.
5091         * testsuite/26_numerics/random/lognormal_distribution/operators/
5092         equal.cc: Likewise.
5093         * testsuite/26_numerics/random/extreme_value_distribution/operators/
5094         inequal.cc: Likewise.
5095         * testsuite/26_numerics/random/extreme_value_distribution/operators/
5096         equal.cc: Likewise.
5097         * testsuite/26_numerics/random/piecewise_linear_distribution/
5098         operators/inequal.cc: Likewise.
5099         * testsuite/26_numerics/random/piecewise_linear_distribution/
5100         operators/equal.cc: Likewise.
5101         * testsuite/26_numerics/random/student_t_distribution/operators/
5102         inequal.cc: Likewise.
5103         * testsuite/26_numerics/random/student_t_distribution/operators/
5104         equal.cc: Likewise.
5105         * testsuite/26_numerics/random/linear_congruential_engine/operators/
5106         inequal.cc: Likewise.
5107         * testsuite/26_numerics/random/shuffle_order_engine/operators/
5108         inequal.cc: Likewise.
5109         * testsuite/26_numerics/random/geometric_distribution/operators/
5110         inequal.cc: Likewise.
5111         * testsuite/26_numerics/random/geometric_distribution/operators/
5112         equal.cc: Likewise.
5114 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
5116         * include/bits/forward_list.tcc (_Fwd_list_node_base::
5117         _M_transfer_after): Return _Fwd_list_node_base*.
5118         (forward_list<>::_M_splice_after): Add.
5119         (forward_list<>::insert_after(const_iterator, size_type, const _Tp&),
5120         insert_after(const_iterator, _InputIterator, _InputIterator),
5121         insert_after(const_iterator, initializer_list<>)): Use the above,
5122         implement DR 1278 ([Ready] in Pittsburgh).
5123         * include/bits/forward_list.h (insert_after(const_iterator,
5124         size_type, const _Tp&), insert_after(const_iterator, _InputIterator,
5125         _InputIterator), insert_after(const_iterator, initializer_list<>)):
5126         Only declare.
5127         * testsuite/23_containers/forward_list/modifiers/2.cc: Adjust.
5128         * testsuite/23_containers/forward_list/requirements/dr438/
5129         assign_neg.cc: Adjust dg-error line number.
5130         * testsuite/23_containers/forward_list/requirements/dr438/
5131         insert_neg.cc: Likewise.
5132         * testsuite/23_containers/forward_list/requirements/dr438/
5133         constructor_1_neg.cc: Likewise.
5134         * testsuite/23_containers/forward_list/requirements/dr438/
5135         constructor_2_neg.cc: Likewise.
5137 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
5139         * testsuite/23_containers/forward_list/requirements/dr438/
5140         assign_neg.cc: Adjust dg-error line number.
5141         * testsuite/23_containers/forward_list/requirements/dr438/
5142         constructor_1_neg.cc: Likewise.
5143         * testsuite/23_containers/forward_list/requirements/dr438/
5144         constructor_2_neg.cc: Likewise.
5145         * testsuite/23_containers/forward_list/requirements/dr438/
5146         insert_neg.cc: Likewise.
5147         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
5149         Revert:
5150         2008-11-11  Bob Walters  <bob.s.walters@gmail.com>
5152         * include/bits/forward_list.h: Support non-standard pointer types
5153         (_Fwd_list_node_base): Add _Alloc template parameter.
5154         (_Fwd_list_node<>): Likewise.
5155         (_Fwd_list_iterator<>): Likewise.
5156         (_Fwd_list_const_iterator<>): Likewise.
5157         (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
5158         Use _Alloc<_Tp>::pointer.
5159         (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
5160         (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
5161         _M_insert_after, _M_put_node, _M_erase_after): Likewise.
5162         (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
5163         (forward_list<>): Use __static_pointer_cast in place of static_cast,
5164         and __const_pointer_cast in place of const_cast.
5165         * include/bits/forward_list.tcc
5166         (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
5167         of standard pointers, __static_pointer_cast in place of static_cast.
5168         (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
5169         Likewise.
5170         (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
5171         splice_after, remove, remove_if, merge): Likewise.
5172         * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
5173         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
5174         Likewise.
5175         * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
5176         Likewise.
5177         * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
5178         Likewise.
5179         * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
5180         Likewise.
5181         * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
5182         Likewise.
5183         * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
5184         Likewise.
5185         * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
5186         Likewise.
5187         * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
5188         Likewise.
5189         * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
5190         Likewise.
5191         * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
5192         Likewise.
5193         * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
5194         Likewise.
5195         * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
5196         Likewise.
5197         * testsuite/23_containers/forward_list/ext_pointer/requirements/
5198         explicit_instantiation/1.cc: Likewise.
5199         * testsuite/23_containers/forward_list/ext_pointer/requirements/
5200         explicit_instantiation/3.cc: Likewise.
5201         * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
5203 2010-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
5205         * include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.
5207         * include/bits/stl_algo.h: Improve comment.
5209 2010-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5211         * scripts/run_doxygen: Adjust.
5212         * doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
5213         * doc/xml/api.xml: Update.
5214         * doc/Makefile.am: Re-do stamp rules.
5215         * doc/Makefile.in: Regenerate.
5217 2010-03-10  Paolo Carlini  <paolo.carlini@oracle.com>
5219         * include/bits/hashtable_policy.h (_Rehash_base<_Prime_rehash_policy,
5220         _Hashtable>::reserve): Add, per DR 1189.
5221         * include/bits/hashtable.h (_Hashtable<>::size_type,
5222         _Hashtable<>::difference_type): Do not typedef from _Allocator.
5223         * testsuite/23_containers/unordered_map/dr1189.cc: New.
5224         * testsuite/23_containers/unordered_set/dr1189.cc: Likewise.
5225         * testsuite/23_containers/unordered_multimap/dr1189.cc: Likewise.
5226         * testsuite/23_containers/unordered_multiset/dr1189.cc: Likewise.
5228 2010-03-08  Paolo Carlini  <paolo.carlini@oracle.com>
5230         Revert:
5231         2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
5233         PR libstdc++/41975, DR 579
5234         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
5235         (erase(const_iterator), erase(const_iterator, const_iterator)):
5236         Change return type to void.
5237         * include/debug/unordered_map: Adjust.
5238         * include/debug/unordered_set: Likewise.
5239         * testsuite/util/exception/safety.h: Likewise.
5240         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
5241         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
5242         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
5243         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
5244         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
5245         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
5246         Likewise.
5247         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
5248         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
5249         Likewise.
5251 2010-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
5253         * testsuite/util/testsuite_container_traits.h (traits_base): Add
5254         has_throwing_erase trait.
5255         (traits<vector>, traits<deque>): Typedef the latter to true_type.
5256         * testsuite/util/exception/safety.h (generation_prohibited):
5257         Do not test vector::erase and deque::erase: can throw if
5258         either copy constructor or assignment operator of value_type
5259         throws.
5260         * testsuite/23_containers/vector/requirements/exception/
5261         generation_prohibited.cc: Remove xfail.
5262         * testsuite/23_containers/deque/requirements/exception/
5263         generation_prohibited.cc: Likewise.
5265         * include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>::
5266         operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass
5267         argument by const ref.
5269         * testsuite/util/testsuite_container_traits.h (traits<map>,
5270         traits<multimap>, traits<set>, traits<multiset>,
5271         traits<unordered_map>, traits<unordered_multimap>,
5272         traits<unordered_set>, traits<unordered_multiset>): Typedef
5273         consistently has_erase and has_insert as true_type.
5275         * testsuite/util/testsuite_container_traits.h
5276         (traits<unordered_map>, traits<unordered_multimap>,
5277         traits<unordered_set>, traits<unordered_multiset>): Do not wrongly
5278         typedef has_size_type_constructor as true_type: the constructor
5279         accepting a size_type actually gets the initial number of
5280         buckets.
5282 2010-03-03  Benjamin Kosnik  <bkoz@redhat.com>
5284         * doc/Makefile.am: Re-organize xml sources.
5285         (doc-latex-doxygen): New.
5286         (doc-pdf-doxygen): New.
5287         (stamp-xml-doxygen, stamp-latex-doxygen): New.
5288         * doc/Makefile.in: Regenerate.
5289         * doc/doxygen/user.cfg.in: Add support here.
5290         * doc/xml/manual/appendix_contributing.xml: Add specifics.
5292         * doc/xml/manual/concurrency.xml: New.
5293         * doc/xml/manual/atomics.xml: New.
5294         * doc/xml/manual/spine.xml: Adjust.
5295         * doc/xml/manual/diagnostics.xml: Adjust.
5297 2010-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
5298             Jonathan Wakely  <jwakely.gcc@gmail.com>
5300         * include/bits/unique_ptr.h (unique_ptr<>::get_deleter): Simplify
5301         return type.
5302         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
5303         dg-error line number.
5304         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
5306 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
5308         * include/debug/bitset (hash): Minor tweaks.
5309         * include/debug/vector (hash): Likewise.
5310         * include/profile/bitset (hash): Likewise.
5311         * include/profile/vector (hash): Likewise.
5313 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
5315         * include/bits/functional_hash.h (_Fnv_hash_base<>::hash): Change
5316         to template.
5317         * include/tr1/functional_hash.h (_Fnv_hash_base<>::hash): Likewise.
5318         * include/bits/vector.tcc (hash): Adjust.
5319         * include/bits/basic_string.h (hash): Likewise.
5320         * include/std/bitset (hash): Likewise.
5321         * src/hash-string-aux.cc (hash): Likewise.
5323 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5325         * include/std/mutex (lock_guard::lock_guard): Do not lock mutex when
5326         adopt_lock_t constructor is used.
5327         * testsuite/30_threads/lock_guard/cons/1.cc: New.
5329 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
5331         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>::
5332         operator()(const vector<bool, _Alloc>&)): Move definition...
5333         * include/bits/vector.tcc: ... here.
5335 2010-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5337         * testsuite/Makefile.am (check-DEJAGNU): Include de* in normal0
5338         dirs.
5339         * testsuite/Makefile.in: Regenerate.
5341 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
5343         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>): Add.
5344         * include/debug/vector (hash<__debug::vector<bool, _Alloc>>):
5345         Likewise.
5346         * include/profile/vector (hash<__profile::vector<bool, _Alloc>>):
5347         Likewise.
5348         * testsuite/23_containers/vector/bool/hash/1.cc: New.
5350         * include/std/bitset (hash<bitset<_Nb>>): Small tweaks.
5351         (hash<bitset<0>>): Add.
5352         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Forward to
5353         hash<bitset<_Nb>>.
5354         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
5355         * testsuite/23_containers/bitset/hash/1.cc: Improve.
5357 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5359         PR libstdc++/43230
5360         * testsuite/30_threads/promise/members/set_value3.cc
5361         (tester::~tester): Remove.
5363 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
5365         * include/std/bitset (_Base_bitset<>::_M_getdata()): Add.
5366         (hash<bitset<_Nb>>): Add, use the latter.
5367         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Add.
5368         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
5369         * testsuite/23_containers/bitset/hash/1.cc: New.
5371 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5373         PR libstdc++/43183
5374         * include/bits/unique_ptr.h (reset): Fix as per working paper.
5375         (operator*, operator->, operator[], operator bool, release): Use
5376         pointer's null value instead of 0.
5377         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
5378         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
5379         * testsuite/20_util/unique_ptr/modifiers/43183.cc: New.
5381 2010-03-01  Paolo Carlini  <paolo.carlini@oracle.com>
5383         * include/std/iomanip (get_money, put_money): Add in C++0x mode; tidy.
5384         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: New.
5385         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
5386         Likewise.
5387         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
5388         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
5389         Likewise.
5391 2010-03-01  Benjamin Kosnik  <bkoz@redhat.com>
5393         * include/bits/atomicfwd_cxx.h: Add typedefs to group.
5395 2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5397         PR libstdc++/32499
5398         * testsuite/Makefile.am (check-DEJAGNU
5399         $(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
5400         * testsuite/Makefile.in: Regenerate.
5402 2010-02-28  Gerald Pfeifer  <gerald@pfeifer.com>
5404         * doc/html/ext/pb_ds/references.html: Adjust link to SGI's STL
5405         site.
5407 2010-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
5409         * src/hash-long-double-aux.cc (hash<long double>::
5410         operator()(long double)): Hash both -0 and +0 to 0.
5412 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
5414         * include/bits/random.tcc (operator<<): Use max_digits10.
5416 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
5418         * include/std/limits (__numeric_limits_base::max_digits10,
5419         numeric_limits<>::max_digits10, numeric_limits<>::lowest): Add.
5420         * src/limits.cc: Define max_digits10.
5421         * config/abi/pre/gnu.ver: Adjust.
5422         * testsuite/18_support/numeric_limits/dr559.cc: Test max_digits10
5423         and lowest too.
5424         * testsuite/18_support/numeric_limits/lowest.cc: New.
5425         * testsuite/18_support/numeric_limits/max_digits10.cc: New.
5427 2010-02-25  Paolo Carlini  <paolo.carlini@oracle.com>
5429         * include/bits/functional_hash.h (__hash_combine): Remove.
5430         (_Fnv_hash_base<>::hash(const char*, size_t)): Add defaulted
5431         hash parameter.
5432         (_Fnv_hash::__hash_combine(const _Tp&, size_t)): Add.
5433         * include/std/system_error (hash<system_error>): Adjust.
5434         * src/compatibility-c++0x.cc (hash<system_error>): Likewise.
5436 2010-02-24  Benjamin Kosnik  <bkoz@redhat.com>
5438         * doc/xml/faq.xml: Adjust structure for pdf index.
5439         * doc/xml/manual/mt_allocator.xml: Same.
5440         * doc/xml/manual/allocator.xml: Same.
5441         * doc/xml/manual/ctype.xml: Same.
5442         * doc/xml/manual/numerics.xml: Same.
5443         * doc/xml/manual/codecvt.xml: Same.
5444         * doc/xml/manual/intro.xml: Same.
5445         * doc/xml/manual/shared_ptr.xml: Same.
5446         * doc/xml/manual/status_cxxtr1.xml: Same.
5447         * doc/xml/manual/auto_ptr.xml: Same.
5448         * doc/xml/manual/internals.xml: Same.
5449         * doc/xml/manual/status_cxx1998.xml: Same.
5450         * doc/xml/manual/parallel_mode.xml: Same.
5451         * doc/xml/manual/profile_mode.xml: Same.
5452         * doc/xml/manual/containers.xml: Same.
5453         * doc/xml/manual/io.xml: Same.
5454         * doc/xml/manual/concurrency_extensions.xml: Same.
5455         * doc/xml/manual/appendix_porting.xml: Same.
5456         * doc/xml/manual/utilities.xml: Same.
5457         * doc/xml/manual/support.xml: Same.
5458         * doc/xml/manual/bitmap_allocator.xml: Same.
5459         * doc/xml/manual/configure.xml: Same.
5460         * doc/xml/manual/build_hacking.xml: Same.
5461         * doc/xml/manual/evolution.xml: Same.
5462         * doc/xml/manual/using.xml: Same.
5463         * doc/xml/manual/debug.xml: Same.
5464         * doc/xml/manual/localization.xml: Same.
5465         * doc/xml/manual/strings.xml: Same.
5466         * doc/xml/manual/debug_mode.xml: Same.
5467         * doc/xml/manual/locale.xml: Same.
5468         * doc/xml/manual/extensions.xml: Same.
5469         * doc/xml/manual/appendix_contributing.xml: Same.
5470         * doc/xml/manual/prerequisites.xml: Same.
5471         * doc/xml/manual/messages.xml: Same.
5472         * doc/xml/manual/diagnostics.xml: Same.
5473         * doc/xml/manual/algorithms.xml: Same.
5474         * doc/xml/manual/appendix_free.xml: Same.
5475         * doc/xml/manual/iterators.xml: Same.
5476         * doc/xml/manual/spine.xml: Same.
5477         * doc/xml/manual/status_cxxtr24733.xml: Same.
5478         * doc/xml/manual/status_cxx200x.xml: Same.
5479         * doc/Makefile.am: Refactor.
5480         * doc/Makefile.in: Regenerate.
5482         * include/bits/c++0x_warning.h: Tweak doxygen file markup.
5484 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5486         * testsuite/ext/new_allocator/deallocate_global.cc: Require
5487         __cxa_atexit.
5488         * testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
5490 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5492         * doc/xml/manual/concurrency.xml: Move...
5493         * doc/xml/manual/concurrency_extensions.xml: ...here.
5494         * doc/xml/manual/extensions.xml: Adjust.
5495         * doc/Makefile.am: Adjust.
5496         * doc/Makefile.in: Regenerate.
5498 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5500         * include/bits/random.h: Doxygen group markup fixes.
5502 2010-02-23  Paolo Carlini  <paolo.carlini@oracle.com>
5504         * include/bits/functional_hash.h (struct _Fnv_hash): Rename
5505         to _Fnv_hash_base.
5506         (struct _Fnv_hash): Add, derives from the latter.
5507         (__hash_combine): Add.
5508         (hash<float>::operator()(float), hash<double>::operator()(double)):
5509         Adjust.
5510         * include/bits/basic_string.h (hash<string>, hash<wstring>,
5511         hash<u16string>, hash<u32string>): Adjust.
5512         * src/hash-string-aux.cc: Adjust.
5513         * src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine.
5514         * include/std/system_error (hash<error_code>): Likewise.
5515         * include/std/thread (struct hash<thread::id>): Add.
5516         * include/tr1/functional_hash.h : Rename to _Fnv_hash_base.
5517         (struct _Fnv_hash): Add, derives from the latter.
5518         (hash<float>::operator()(float), hash<double>::operator()(double)):
5519         Adjust.
5520         * testsuite/30_threads/thread/id/hash.cc: New.
5521         * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error
5522         line number.
5523         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
5525 2010-02-22  Janis Johnson  <janis187@us.ibm.com>
5527         * src/compatibility-ldbl.cc: Include new hash-long-double-aux.cc.
5529 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
5531         * src/hash-aux.cc: Rename to...
5532         * src/hash-string-aux.cc: ... this.
5533         * src/hash-long-double-aux.cc: New.
5534         * src/hash_c++0x.cc: Adjust.
5535         * src/hash_tr1.cc: Likewise.
5536         * src/compatibility-c++0x.cc: Likewise.
5538 2010-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5540         * doc/xml/class.txml: Adjust biblio markup.
5541         * doc/xml/manual/allocator.xml: Same.
5542         * doc/xml/manual/ctype.xml: Same.
5543         * doc/xml/manual/codecvt.xml: Same.
5544         * doc/xml/manual/backwards_compatibility.xml: Same.
5545         * doc/xml/manual/abi.xml: Same.
5546         * doc/xml/manual/shared_ptr.xml: Same.
5547         * doc/xml/manual/profile_mode.xml: Same.
5548         * doc/xml/manual/using_exceptions.xml: Same.
5549         * doc/xml/manual/locale.xml: Same.
5550         * doc/xml/manual/appendix_contributing.xml: Same.
5551         * doc/xml/manual/messages.xml: Same.
5552         * doc/Makefile.am (DBLATEX_FLAGS): Adjust.
5553         * doc/Makefile.in: Regenerate.
5555 2010-02-22  François Dumont  <francois.cppdevs@free.fr>
5557         * doc/xml/manual/profile_mode.xml: Minor updates and fixes.
5558         * doc/xml/manual/debug_mode.xml: Likewise.
5559         * doc/xml/manual/test.xml: Likewise.
5561 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
5563         * include/tr1_impl/complex (arg): Use std::signbit only when
5564         available.
5566 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
5568         * include/bits/functional_hash.h (hash<string>, hash<wstring>,
5569         hash<u16string>, hash<u32string>, hash<error_code>): Move, per
5570         DR 1182 to...
5571         * include/bits/basic_string.h: ... here.
5572         * include/std/system_error: ... and here, respectively.
5573         * src/hash-aux.cc (hash<long double>::operator()(long double)):
5574         Move definition...
5575         * src/hash_c++0x.cc: ... here, new file.
5576         * src/hash_tr1.cc: ... and here, tweak includes.
5577         * src/compatibility-c++0x.cc (hash, _Fnv_hash): Remove.
5578         * src/Makefile.am: Adjust.
5579         * src/Makefile.in: Regenerate.
5580         * include/std/functional: Include <bits/functexcept.h>.
5581         * include/std/unordered_set: Remove redundant include.
5582         * include/std/unordered_map: Likewise.
5583         * include/tr1/functional_hash.h: Remove spurious trailing semicolon.
5584         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove
5585         dg-excess.
5587 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
5589         * include/std/complex (proj): Change return type per DR 1137.
5590         (conj): Copy from tr1_impl, likewise adjust return type.
5591         * include/tr1_impl/complex (conj): Remove.
5592         * include/tr1/complex (conj): Add both overloads.
5593         * testsuite/26_numerics/complex/dr781.cc: Rename to...
5594         * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend.
5596         * include/tr1_impl/complex (arg): Optimize.
5598 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
5600         * testsuite/20_util/is_trivial/requirements/typedefs.cc: New.
5601         * testsuite/20_util/is_trivial/requirements/
5602         explicit_instantiation.cc: Likewise.
5603         * testsuite/20_util/is_pod/value.cc: Likewise.
5604         * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
5605         * testsuite/20_util/is_pod/requirements/
5606         explicit_instantiation.cc: Likewise.
5607         * testsuite/20_util/is_standard_layout/requiremenents/
5608         typedefs.cc: Likewise.
5609         * testsuite/20_util/is_standard_layout/requiremenents/
5610         explicit_instantiation.cc: Likewise.
5612 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
5614         PR c++/35669
5615         * testsuite/18_support/headers/cstddef/macros.cc: Add
5616         -Wno-conversion-null.
5618 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
5620         * include/tr1_impl/array (array): Add pointer and const_pointer
5621         typedefs in C++0x mode, per DR 1306.
5622         * testsuite/util/testsuite_containers.h (basic_types): Add pointer
5623         and const_pointer typedefs.
5624         (pointer_aware_types): Remove.
5625         * testsuite/util/testsuite_container_traits.h: Adjust.
5627 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
5629         * include/bits/stl_algo.h (for_each): Implement resolution of DR 1110.
5630         * testsuite/25_algorithms/for_each/1.cc: New.
5632 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
5634         * include/bits/shared_ptr_base.h (__weak_ptr): Remove deleted
5635         comparison operators, per DR 1256.
5636         * include/bits/shared_ptr.h (weak_ptr): Likewise.
5637         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
5639 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
5641         * scripts/run_doxygen: Add shortnames option.
5642         * doc/Makefile.am (doc-man-doxygen): Use it.
5643         (doc-html-doxygen): Use it.
5644         (doc-xml-doxygen): Use it, but default to NO.
5645         (doc-pdf-dblatex): Add.
5646         * doc/Makefile.in: Regenerate.
5647         * doc/doxygen/user.cfg.in: Update filelist.
5648         * include/bits/locale_facets.h: Fix markup warning.
5650 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
5652         * doc/xml/manual/using.xml: Update.
5653         * doc/xml/manual/status_cxx1998.xml: Same.
5654         * doc/xml/manual/status_cxx200x.xml: Add link.
5655         * doc/html/*: Regenerate.
5657         * testsuite/17_intro/freestanding.cc: Add.
5659 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
5661         * libsupc++/typeinfo: Add system_header pragma.
5662         * libsupc++/exception: Likewise.
5663         * libsupc++/cxxabi-forced.h: Likewise.
5664         * libsupc++/new: Likewise.
5665         * libsupc++/cxxabi.h: Likewise.
5666         * libsupc++/initializer_list: Likewise.
5668 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
5670         * libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.
5672 2010-02-17  Benjamin Kosnik  <bkoz@redhat.com>
5674         * doc/xml/manual/appendix_contributing.xml: Update markup rules
5675         for quoting and functions.
5677 2010-02-17  Chris Jefferson  <chris@bubblescope.net>
5679         * include/bits/locale_facets.h (__convert_to_v): Add empty
5680         exception-specification.
5682 2010-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
5684         * include/std/limits: Implement resolution of DR 559 (CD1) in
5685         C++0x mode.
5686         * testsuite/18_support/numeric_limits/dr559.cc: New.
5688 2010-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5690         * src/ios_locale.cc: Fixes for -pedantic.
5691         * src/system_error.cc: Same.
5692         * src/locale.cc: Same.
5693         * src/list.cc: Same.
5694         * src/locale_facets.cc: Same.
5695         * src/locale_init.cc: Same.
5696         * src/ios.cc: Same.
5697         * config/locale/darwin/ctype_members.cc: Same.
5698         * config/locale/gnu/collate_members.cc: Same.
5699         * config/locale/gnu/ctype_members.cc: Same.
5700         * config/locale/gnu/c_locale.cc: Same.
5701         * config/locale/gnu/monetary_members.cc: Same.
5702         * config/locale/gnu/time_members.cc: Same.
5703         * config/locale/ieee_1003.1-2001/c_locale.cc: Same.
5704         * config/locale/generic/collate_members.cc: Same.
5705         * config/locale/generic/ctype_members.cc: Same.
5706         * config/locale/generic/c_locale.cc: Same.
5707         * config/locale/generic/monetary_members.cc: Same.
5708         * config/locale/generic/time_members.cc: Same.
5709         * config/io/basic_file_stdio.cc: Same.
5711         * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
5712         * libsupc++/pointer_type_info.cc: Same.
5713         * libsupc++/eh_personality.cc: Same.
5715         * include/std/system_error: Throw spacing.
5716         * include/bits/locale_classes.h: Same.
5717         * include/bits/locale_facets.h: Same.
5718         * include/bits/ios_base.h: Same.
5720         * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
5721         * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New.
5723 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
5725         * include/bits/random.h (linear_congruential_engine(_Sseq&),
5726         mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
5727         Do not enable for the type itself.
5728         (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
5729         shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
5730         (linear_congruential_engine<>::seed(_Sseq&),
5731         mersenne_twister_engine<>::seed(_Sseq&),
5732         subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
5733         return type.
5734         (discard_block_engine<>::seed(_Sseq&),
5735         independent_bits_engine<>::seed(_Sseq&),
5736         shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
5737         * include/bits/random.tcc: Adjust definitions.
5738         * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
5739         New.
5740         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
5741         copy.cc: Likewise.
5742         * testsuite/26_numerics/random/discard_block_engine/cons/
5743         copy.cc: Likewise.
5744         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
5745         copy.cc: Likewise.
5746         * testsuite/26_numerics/random/linear_congruential_engine/cons/
5747         copy.cc: Likewise.
5748         * testsuite/26_numerics/random/shuffle_order_engine/cons/
5749         copy.cc: Likewise.
5751         * testsuite/26_numerics/random/independent_bits_engine/cons/
5752         base_move.cc: Minor tweaks.
5753         * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
5754         Likewise.
5755         * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
5756         Likewise.
5757         * testsuite/26_numerics/random/independent_bits_engine/cons/
5758         base_copy.cc: Likewise.
5759         * testsuite/26_numerics/random/independent_bits_engine/cons/
5760         default.cc: Likewise.
5761         * testsuite/26_numerics/random/independent_bits_engine/cons/
5762         seed_seq.cc: Likewise.
5763         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
5764         seed1.cc: Likewise.
5765         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
5766         seed2.cc: Likewise.
5767         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
5768         default.cc: Likewise.
5769         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
5770         seed_seq.cc: Likewise.
5771         * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
5772         Likewise.
5773         * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
5774         Likewise.
5775         * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
5776         Likewise.
5777         * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
5778         Likewise.
5779         * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
5780         Likewise.
5781         * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
5782         Likewise.
5783         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
5784         Likewise.
5785         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
5786         Likewise.
5787         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
5788         default.cc: Likewise.
5789         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
5790         seed_seq.cc: Likewise.
5791         * testsuite/26_numerics/random/linear_congruential_engine/cons/
5792         seed1.cc: Likewise.
5793         * testsuite/26_numerics/random/linear_congruential_engine/cons/
5794         seed2.cc: Likewise.
5795         * testsuite/26_numerics/random/linear_congruential_engine/cons/
5796         seed_seq.cc: Likewise.
5797         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
5798         Likewise.
5799         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
5800         Likewise.
5801         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
5802         Likewise.
5803         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
5804         Likewise.
5805         * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
5806         Likewise.
5807         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
5808         Likewise.
5810 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
5812         * include/bits/unique_ptr.h: (unique_ptr<>::
5813         unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
5814         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
5815         per DR 1303.
5816         * include/bits/shared_ptr.h (shared_ptr<>::
5817         shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
5818         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
5819         * include/bits/shared_ptr_base.h (__shared_ptr<>::
5820         __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
5821         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
5822         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
5823         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
5824         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
5825         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
5826         Likewise.
5828 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
5830         * testsuite/ext/median.cc: Adjust.
5832 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
5834         * include/bits/stl_algo.h (__median): Move...
5835         * include/ext/algorithm: ... here, being an SGI extension.
5837 2010-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
5838             Paolo Carlini  <paolo.carlini@oracle.com>
5840         PR libstdc++/42819, DR 1315
5841         * include/std/future (async): Use std::result_of for the template
5842         argument of the std::future return type; adjust everywhere.
5843         * testsuite/30_threads/async/42819.cc: New.
5844         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
5845         dg-error line number.
5846         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
5847         * testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
5848         * testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
5849         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
5850         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
5852 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
5854         * config/abi/pre/gnu.ver: Revert last changes.
5856 2010-02-11  Jason Merrill  <jason@redhat.com>
5858         * include/std/thread (~_Impl_base): Declare inline.
5859         * libsupc++/nested_exception.h (~nested_exception): Likewise.
5861 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
5863         PR libstdc++/41975, DR 579
5864         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
5865         (erase(const_iterator), erase(const_iterator, const_iterator)):
5866         Change return type to void.
5867         * include/debug/unordered_map: Adjust.
5868         * include/debug/unordered_set: Likewise.
5869         * testsuite/util/exception/safety.h: Likewise.
5870         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
5871         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
5872         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
5873         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
5874         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
5875         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
5876         Likewise.
5877         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
5878         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
5879         Likewise.
5881 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
5883         * config/abi/pre/gnu.ver: Avoid exporting inadvertently
5884         std::nested_exception symbols at GLIBCXX_3.4.
5886 2010-02-10  Jason Merrill  <jason@redhat.com>
5888         Core issue 906
5889         * include/std/thread (~_Impl_base): Move defaulted dtor out of line.
5890         * libsupc++/nested_exception.h (~nested_exception): Likewise.
5891         * testsuite/18_support/nested_exception/throw_with_nested.cc: Likewise.
5892         * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise.
5894 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
5896         * include/tr1/hashtable.h: Fold in include/tr1_impl/hashtable.h
5897         contents.
5898         * include/tr1_impl/hashtable.h: Remove.
5899         * include/tr1_impl/hashtable_policy.h: Move and rename...
5900         * include/tr1/hashtable_policy.h: ... here.
5901         * include/tr1_impl/unordered_map: Move and rename...
5902         * include/tr1/unordered_map.h: ... here.
5903         * include/tr1_impl/unordered_set: Move and rename...
5904         * include/tr1/unordered_set.h: ... here.
5905         * include/tr1_impl/unordered_map: Move and rename...
5906         * include/tr1/unordered_map.h: ... here.
5907         * include/tr1/unordered_map: Adjust.
5908         * include/tr1/unordered_set: Likewise.
5909         * include/Makefile.am: Adjust.
5910         * include/Makefile.in: Regenerate.
5912         * include/std/c++0x_warning.h: Move...
5913         * include/bits/c++0x_warning.h: ... here.
5914         * include/debug/unordered_map: Adjust.
5915         * include/debug/unordered_set: Likewise.
5916         * include/std/tuple: Likewise.
5917         * include/std/system_error: Likewise.
5918         * include/std/forward_list: Likewise.
5919         * include/std/thread: Likewise.
5920         * include/std/type_traits: Likewise.
5921         * include/std/future: Likewise.
5922         * include/std/regex: Likewise.
5923         * include/std/atomic: Likewise.
5924         * include/std/ratio: Likewise.
5925         * include/std/random: Likewise.
5926         * include/std/unordered_map: Likewise.
5927         * include/std/chrono: Likewise.: Likewise.
5928         * include/std/condition_variable: Likewise.
5929         * include/std/mutex: Likewise.
5930         * include/std/unordered_set: Likewise.
5931         * include/std/array: Likewise.
5932         * include/profile/unordered_map: Likewise.
5933         * include/profile/unordered_set: Likewise.
5934         * include/c_global/cinttypes: Likewise.
5935         * include/c_global/ctgmath: Likewise.
5936         * include/c_global/cfenv: Likewise.
5937         * include/c_global/cstdint: Likewise.
5938         * include/c_global/cstdbool: Likewise.
5939         * include/c_global/ccomplex: Likewise.
5941         * include/bits/shared_ptr.h: Do not include <bits/c++0x_warning.h>
5942         at all, the file is not meant to be included by the users.
5943         * include/bits/functional_hash.h: Likewise.
5944         * include/bits/unique_ptr.h: Likewise.
5945         * include/bits/forward_list.h: Likewise.
5947         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-*
5948         line numbers.
5949         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
5950         * testsuite/23_containers/forward_list/requirements/dr438/
5951         assign_neg.cc: Likewise.
5952         * testsuite/23_containers/forward_list/requirements/dr438/
5953         insert_neg.cc: Likewise.
5954         * testsuite/23_containers/forward_list/requirements/dr438/
5955         constructor_1_neg.cc: Likewise.
5956         * testsuite/23_containers/forward_list/requirements/dr438/
5957         constructor_2_neg.cc: Likewise.
5958         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
5959         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
5961 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
5963         * include/bits/hashtable.h: Fold in include/tr1_impl/hashtable.h
5964         for C++0x use.
5965         * include/bits/hashtable_policy.h: New, copy and adjust for
5966         C++0x use, include/tr1_impl/hashtable_policy.h; fix erase and
5967         insert member functions per n3000.
5968         * include/bits/unordered_map.h: Likewise for include/tr1_impl/
5969         unordered_map.
5970         * include/bits/unordered_set.h: Likewise for include/tr1_impl/
5971         unordered_set.
5972         * include/Makefile.am: Adjust.
5973         * include/Makefile.in: Regenerate.
5974         * include/tr1/unordered_map: Adjust.
5975         * include/tr1/unordered_set: Likewise.
5976         * include/tr1_impl/unordered_map: Adjust, now used only by tr1.
5977         * include/tr1_impl/hashtable: Likewise.
5978         * include/tr1_impl/hashtable_policy.h: Likewise.
5979         * include/tr1_impl/unordered_set: Likewise.
5980         * include/std/unordered_map: Adjust and simplify includes.
5981         * include/std/unordered_set: Likewise.
5982         * include/debug/unordered_map: Adjuse erase and insert members.
5983         * include/debug/unordered_set: Likewise.
5984         * include/profile/unordered_map: Likewise.
5985         * include/profile/unordered_set: Likewise.
5986         * testsuite/util/exception/safety.h: Fix for the updated erase and
5987         insert member functions of the unordered_containers.
5988         * testsuite/23_containers/unordered_map/erase/1.cc: New.
5989         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
5990         * testsuite/23_containers/unordered_map/insert/map_single.cc:
5991         Likewise.
5992         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
5993         Likewise.
5994         * testsuite/23_containers/unordered_map/insert/24061-map.cc: Likewise.
5995         * testsuite/23_containers/unordered_map/insert/map_range.cc: Likewise.
5996         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
5997         * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
5998         * testsuite/23_containers/unordered_multimap/erase/
5999         24061-multimap.cc: Likewise.
6000         * testsuite/23_containers/unordered_multimap/insert/
6001         24061-multimap.cc: Likewise.
6002         * testsuite/23_containers/unordered_multimap/insert/
6003         multimap_range.cc: Likewise.
6004         * testsuite/23_containers/unordered_multimap/insert/
6005         multimap_single.cc: Likewise.
6006         * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
6007         * testsuite/23_containers/unordered_set/erase/24061-set.cc: Likewise.
6008         * testsuite/23_containers/unordered_set/insert/set_single.cc: Likewise.
6009         * testsuite/23_containers/unordered_set/insert/24061-set.cc: Likewise.
6010         * testsuite/23_containers/unordered_set/insert/set_range.cc: Likewise.
6011         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
6012         * testsuite/23_containers/unordered_multiset/erase/
6013         24061-multiset.cc: Likewise.
6014         * testsuite/23_containers/unordered_multiset/insert/
6015         24061-multiset.cc: Likewise.
6016         * testsuite/23_containers/unordered_multiset/insert/
6017         multiset_range.cc: Likewise.
6018         * testsuite/23_containers/unordered_multiset/insert/
6019         multiset_single.cc: Likewise.
6021         * testsuite/23_containers/set/operators/1_neg.cc: Tweak dg-errors
6022         to avoid spurious fails in debug-mode.
6023         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
6025 2010-02-09  Benjamin Kosnik  <bkoz@redhat.com>
6027         * include/std/streambuf: Adjust doxygen group markup.
6028         * include/std/functional: Same.
6029         * include/ext/vstring.h: Same.
6030         * include/ext/pb_ds/assoc_container.hpp: Same.
6031         * include/ext/stdio_filebuf.h: Same.
6032         * include/ext/stdio_sync_filebuf.h: Same.
6033         * include/bits/localefwd.h: Same.
6034         * include/bits/functional_hash.h: Same.
6035         * include/bits/locale_classes.h: Same.
6036         * include/bits/locale_facets.h: Same.
6037         * include/bits/ios_base.h: Same.
6038         * include/bits/codecvt.h: Same.
6039         * include/bits/locale_facets_nonio.h: Same.
6041         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
6042         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
6044 2010-02-08  Benjamin Kosnik  <bkoz@redhat.com>
6046         PR libstdc++/42460
6047         * include/tr1_impl/regex: Fix quoting issues in doxygen markup.
6048         * include/bits/random.h: Fix multi-line doxygen function markup.
6050 2010-02-08  Matthias Klose  <doko@debian.org>
6052         PR libstdc++/42460
6053         * include/std/istream: Fix '\' quoting in doxygen markup.
6055 2010-02-08  Ed Smith-Rowland  <3dw4rd@verizon.net>
6057         * include/bits/random.tcc (uniform_int_distribution<>::
6058         operator()(_UniformRandomNumberGenerator&, const param_type&)):
6059         Use make_unsigned instead of __add_unsigned and conditional
6060         instead of __conditional_type.
6061         * include/std/random: Do not include <ext/type_traits.h> and
6062         <ext/numeric_traits.h>.
6064 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
6066         PR libstdc++/16896
6067         * include/bits/stl_list.h (_List_node_base::transfer): Rename
6068         to _M_transfer.
6069         (_List_node_base::reverse): Rename to _M_reverse.
6070         (_List_node_base::hook): Rename to _M_hook.
6071         (_List_node_base::unhook): Rename to _M_unhook; adjust callers.
6072         * include/bits/list.tcc: Adjust callers.
6073         * src/list.cc: Adjust.
6074         * src/compatibility.cc: Likewise.
6075         * src/compatibility-list.cc: New.
6076         * src/compatibility-debug_list.cc: Likewise.
6077         * src/compatibility-parallel_list.cc: Likewise.
6078         * src/Makefile.am: Add.
6079         * src/Makefile.in: Regenerate.
6080         * config/abi/pre/gnu.ver: Export _M_* symbols.
6082         * src/hash.cc: Rename to hash-aux.cc.
6083         * src/compatibility-ldbl.cc: Adjust.
6084         * src/compatibility-c++0x.cc: Likewise.
6085         * src/hash_tr1.cc: Likewise.
6087         * src/hashtable.cc: Rename to hashtable-aux.cc.
6088         * src/hashtable_c++0x.cc: Adjust.
6089         * src/hashtable_tr1.cc: Likewise.
6091         * src/limits_c++0x.cc: Fold...
6092         * src/limits.cc... here.
6094 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
6096         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
6097         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
6098         Revert to std::is_convertible, basing on DR 811.
6100 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
6102         PR libstdc++/42989
6103         * config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.
6105 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
6107         PR libstdc++/27340
6108         * include/bits/valarray_before.h: Uglify the structs wrapping
6109         cmath functions differently, eg, _Cos instead of __cos.
6110         * include/bits/valarray_after.h: Adjust.
6112 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
6114         * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
6115         typo in last commit.
6117 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
6119         * include/std/future (swap(packaged_task<>&, packaged_task<>&),
6120         swap(promise<>&, promise<>&)): Add; minor formatting fixes.
6121         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
6122         dg-error line number.
6123         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
6124         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
6125         * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
6127 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
6129         * include/bits/stl_algobase.h (struct __iter_base): Rename to
6130         _Iter_base; add iterator_type typedef.
6131         (struct __miter_base): Rename to _Miter_base.
6132         (struct __niter_base): Rename to _Niter_base.
6133         (__miter_base, __niter_base): Add, use the latter; adjust everywhere.
6135 2010-02-04  Benjamin Kosnik  <bkoz@redhat.com>
6137         PR libstdc++/42460
6138         * doc/doxygen/user.cfg.in: Update file list.
6139         * include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
6140         * include/debug/safe_base.h: Same.
6141         * include/debug/macros.h: Same.
6142         * include/tr1_impl/regex: Same.
6143         * include/std/iostream: Same.
6144         * include/std/streambuf: Same.
6145         * include/std/bitset: Same.
6146         * include/std/iosfwd: Same.
6147         * include/std/limits: Same.
6148         * include/std/fstream: Same.
6149         * include/std/istream: Same.
6150         * include/std/ostream: Same.
6151         * include/std/sstream: Same.
6152         * include/parallel/multiway_merge.h: Same.
6153         * include/parallel/for_each.h: Same.
6154         * include/parallel/workstealing.h: Same.
6155         * include/parallel/omp_loop_static.h: Same.
6156         * include/parallel/omp_loop.h: Same.
6157         * include/c_std/csignal: Same.
6158         * include/c_std/cstdlib: Same.
6159         * include/c_std/cstdio: Same.
6160         * include/c_std/cstdarg: Same.
6161         * include/c_std/cctype: Same.
6162         * include/c_std/cerrno: Same.
6163         * include/c_std/cmath: Same.
6164         * include/c_std/ciso646: Same.
6165         * include/c_std/ctime: Same.
6166         * include/c_std/clocale: Same.
6167         * include/c_std/climits: Same.
6168         * include/c_std/cassert: Same.
6169         * include/c_std/csetjmp: Same.
6170         * include/c_std/cwchar: Same.
6171         * include/c_std/cfloat: Same.
6172         * include/c_std/cstring: Same.
6173         * include/c_std/cstddef: Same.
6174         * include/c_std/cwctype: Same.
6175         * include/profile/iterator_tracker.h: Same.
6176         * include/profile/impl/profiler_trace.h: Same.
6177         * include/ext/vstring.h: Same.
6178         * include/ext/algorithm: Same.
6179         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
6180         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
6181         * include/ext/pb_ds/detail/type_utils.hpp: Same.
6182         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
6183         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
6184         * include/ext/rc_string_base.h: Same.
6185         * include/ext/stdio_sync_filebuf.h: Same.
6186         * include/ext/functional: Same.
6187         * include/ext/mt_allocator.h: Same.
6188         * include/bits/basic_ios.h: Same.
6189         * include/bits/stl_map.h: Same.
6190         * include/bits/stl_algobase.h: Same.
6191         * include/bits/stl_queue.h: Same.
6192         * include/bits/locale_classes.h: Same.
6193         * include/bits/stl_set.h: Same.
6194         * include/bits/locale_facets.h: Same.
6195         * include/bits/stl_stack.h: Same.
6196         * include/bits/stl_iterator_base_types.h: Same.
6197         * include/bits/basic_string.h: Same.
6198         * include/bits/stl_multimap.h: Same.
6199         * include/bits/ios_base.h: Same.
6200         * include/bits/stl_deque.h: Same.
6201         * include/bits/stl_multiset.h: Same.
6202         * include/bits/stl_iterator_base_funcs.h: Same.
6203         * include/bits/char_traits.h: Same.
6204         * include/bits/stl_algo.h: Same.
6205         * include/bits/stl_iterator.h: Same.
6206         * include/bits/stl_tempbuf.h: Same.
6207         * include/bits/random.tcc: Same.
6208         * include/bits/stl_function.h: Same.
6209         * include/bits/cpp_type_traits.h: Same.
6210         * include/bits/random.h: Same.
6211         * include/bits/allocator.h: Same.
6212         * include/bits/locale_facets_nonio.h: Same.
6213         * include/c_global/csignal: Same.
6214         * include/c_global/cstdlib: Same.
6215         * include/c_global/cstdio: Same.
6216         * include/c_global/cstdarg: Same.
6217         * include/c_global/cctype: Same.
6218         * include/c_global/cerrno: Same.
6219         * include/c_global/cmath: Same.
6220         * include/c_global/ciso646: Same.
6221         * include/c_global/ctime: Same.
6222         * include/c_global/clocale: Same.
6223         * include/c_global/climits: Same.
6224         * include/c_global/cassert: Same.
6225         * include/c_global/csetjmp: Same.
6226         * include/c_global/cwchar: Same.
6227         * include/c_global/cfloat: Same.
6228         * include/c_global/cstring: Same.
6229         * include/c_global/cstddef: Same.
6230         * include/c_global/cwctype: Same.
6231         * include/tr1/hypergeometric.tcc: Same.
6232         * include/tr1/random.tcc: Same.
6233         * include/tr1/functional: Same.
6234         * include/tr1/random.h: Same.
6235         * include/backward/auto_ptr.h: Same.
6236         * include/backward/binders.h: Same.
6237         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
6238         Adjust line numbers.
6239         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
6240         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
6241         Same.
6242         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
6243         Same.
6245 2010-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
6247         * include/std/condition_variable (condition_variable_any): Provide
6248         definitions for all members.
6249         * src/condition_variable.cc (condition_variable_any): Adjust
6250         definitions.
6251         * config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
6252         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
6253         Adjust dg-error line number.
6254         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
6255         Likewise.
6256         * testsuite/30_threads/condition_variable_any/members/1.cc: New.
6257         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
6258         * testsuite/30_threads/condition_variable_any/requirements/
6259         standard_layout.cc: Remove.
6260         * testsuite/30_threads/condition_variable_any/native_handle/
6261         typesizes.cc: Remove.
6263 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
6265         * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
6266         for -fno-exceptions.
6268 2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>
6270         * include/bits/allocator.h: Fix for -fno-exceptions.
6271         * include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
6273 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
6275         * testsuite/30_threads/unique_future: Rename to /future.
6277 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
6279         PR libstdc++/42408
6280         * include/bits/random.h (linear_congruential_engine<>::
6281         linear_congruential_engine(seed_seq&),
6282         linear_congruential_engine<>::seed(seed_seq&),
6283         mersenne_twister<>::mersenne_twister(seed_seq&),
6284         mersenne_twister<>::seed(seed_seq&),
6285         subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
6286         subtract_with_carry_engine<>::seed(seed_seq&),
6287         discard_block_engine<>::discard_block_engine(seed_seq&),
6288         discard_block_engine<>::seed(seed_seq&),
6289         independent_bits_engine<>::independent_bits_engine(seed_seq&),
6290         independent_bits_engine<>::seed(seed_seq&),
6291         shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
6292         shuffle_order_engine<>::seed(seed_seq&)): Templatize.
6293         * include/bits/random.tcc: Adjust.
6294         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
6295         seed_seq.cc: New.
6296         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
6297         seed_seq.cc: Likewise.
6298         * testsuite/26_numerics/random/linear_congruential_engine/
6299         cons/seed_seq.cc: Likewise.
6301 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
6303         * include/bits/forward_list.h (forward_list<>::resize(size_type),
6304         forward_list(size_type)): Only declare.
6305         * include/bits/forward_list.tcc (forward_list<>::resize(size_type),
6306         forward_list(size_type)): Define, don't assume CopyConstructible.
6307         * testsuite/23_containers/forward_list/cons/10.cc: New.
6308         * testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
6309         * testsuite/23_containers/forward_list/requirements/dr438/
6310         assign_neg.cc: Adjust dg-error line numbers.
6311         * testsuite/23_containers/forward_list/requirements/dr438/
6312         insert_neg.cc: Likewise.
6313         * testsuite/23_containers/forward_list/requirements/dr438/
6314         constructor_1_neg.cc: Likewise.
6315         * testsuite/23_containers/forward_list/requirements/dr438/
6316         constructor_2_neg.cc: Likewise.
6318         * include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
6320 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
6322         * testsuite/23_containers/array/requirements/exception/
6323         generation_prohibited.c: Remove, swap can indeed throw (DR 774).
6325         * testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
6326         * testsuite/util/testsuite_container_traits.h
6327         (traits<__versa_string>): Enable insert tests.
6329 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
6331         * include/bits/forward_list.h (forward_list<>::insert_after
6332         (const_iterator, size_type, const _Tp&), insert_after(const_iterator,
6333         _InputIterator, _InputIterator), insert_after(const_iterator,
6334         std::initializer_list<>)): Fix return type per N3000.
6335         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
6336         Adjust.
6337         * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
6338         * testsuite/23_containers/forward_list/requirements/dr438/
6339         assign_neg.cc: Adjust dg-error line numbers.
6340         * testsuite/23_containers/forward_list/requirements/dr438/
6341         insert_neg.cc: Likewise.
6342         * testsuite/23_containers/forward_list/requirements/dr438/
6343         constructor_1_neg.cc: Likewise.
6344         * testsuite/23_containers/forward_list/requirements/dr438/
6345         constructor_2_neg.cc: Likewise.
6347 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
6349         Revert last changes. Also revert, among the previous changes:
6350         * include/std/condition_variable (condition_variable_any::
6351         wait<>(_Lock&)): Provide definition.
6353 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
6355         * include/std/condition_variable (condition_variable_any::
6356         __wait_until_impl): Add.
6357         (condition_variable_any::wait_until): Provide definitions.
6358         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
6359         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
6360         Adjust dg-error line number.
6361         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
6362         Likewise.
6364         * testsuite/30_threads/condition_variable/members/1.cc: Minor
6365         stylistic changes.
6366         * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
6368 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
6370         * include/std/condition_variable (enum class cv_status): Add and
6371         use it throughout, per N3000.
6372         (condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
6373         wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
6374         Provide definitions.
6375         * src/condition_variable.cc (condition_variable_any::notify_one,
6376         condition_variable_any::notify_all): Likewise.
6377         * config/abi/pre/gnu.ver: Export.
6378         * testsuite/30_threads/condition_variable_any/requirements/
6379         typedefs.cc: New.
6380         * testsuite/30_threads/condition_variable_any/requirements/
6381         standard_layout.cc: Likewise.
6382         * testsuite/30_threads/condition_variable/members/1.cc: Adjust.
6383         * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
6384         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
6385         dg-error line numbers.
6386         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
6387         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
6388         Likewise.
6389         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
6390         Likewise.
6392 2010-01-28  François Dumont  <francois.cppdevs@free.fr>
6394         * include/bits/stl_algobase.h (struct __iter_base): Add.
6395         (__niter_base, __miter_base): Adjust, use the latter.
6397 2010-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
6399         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
6400         Extend xfail to all systems.
6401         * testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
6402         Likewise.
6403         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
6404         Extend xfail to darwin10 systems.
6406 2010-01-27  Benjamin Kosnik  <bkoz@redhat.com>
6408         PR c++/42346
6409         * testsuite/23_containers/unordered_map/requirements/exception/: Remove
6410         -O1 workaround.
6411         * testsuite/23_containers/multimap/requirements/exception/: Same.
6412         * testsuite/23_containers/map/requirements/exception: Same.
6414 2010-01-27  Richard Guenther  <rguenther@suse.de>
6416         PR libstdc++/42832
6417         * include/std/functional (function<>::swap): Perform bytewise
6418         swap of _M_functor.
6419         * include/tr1/functional (function<>::swap): Likewise.
6421 2010-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6423         * config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.
6425 2010-01-26  François Dumont  <francois.cppdevs@free.fr>
6427         * doc/xml/manual/allocator.xml: Minor updates and fixes.
6428         * doc/xml/manual/containers.xml: Likewise.
6429         * doc/xml/manual/using.xml: Likewise.
6430         * doc/xml/manual/locale.xml: Likewise.
6431         * doc/xml/manual/appendix_contributing.xml: Likewise.
6433 2010-01-26  Daniel Frey  <d.frey@gmx.de>
6435         * include/std/functional: Use enable_if instead of __enable_if
6436         throughout, do not include ext/type_traits.h.
6437         (is_placeholder, is_bind_expression): Use integral_constant.
6439 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
6441         * testsuite/util/testsuite_common_types.h (has_bitwise_operators):
6442         Avoid -Wall warnings.
6444 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
6446         * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
6447         as loop variable, to avoid -Wall warnings.
6448         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
6449         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
6450         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
6451         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
6453         * testsuite/20_util/reference_wrapper/24803.cc: Remove unused vars.
6454         * testsuite/20_util/reference_wrapper/invoke.cc: Likewise.
6456 2010-01-22  Daniel Frey  <d.frey@gmx.de>
6458         * include/std/functional (_Index_tuple, _Build_index_tuple):
6459         Simplify and speed-up.
6461 2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
6463         PR libstdc++/36101, PR libstdc++/42813
6464         * acinclude.m4 (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
6465         looking for omp.h.
6466         * configure: Regenerate.
6468 2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
6470         PR libstdc++/42201
6471         * include/std/future: Update to latest WP.
6472         * src/functexcept.cc (__throw_future_error): Use make_error_code.
6473         * testsuite/30_threads/async/any.cc: New.
6474         * testsuite/30_threads/async/async.cc: New.
6475         * testsuite/30_threads/async/sync.cc: New.
6476         * testsuite/30_threads/packaged_task/cons/alloc.cc: New.
6477         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
6478         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
6479         * testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
6480         * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
6481         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
6482         * testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
6483         * testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
6484         * testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
6485         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
6486         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
6487         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
6488         * testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
6489         * testsuite/30_threads/shared_future/cons/default.cc: New.
6490         * testsuite/30_threads/shared_future/cons/assign.cc: New.
6491         * testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
6492         * testsuite/30_threads/shared_future/cons/move.cc: Adjust.
6493         * testsuite/30_threads/shared_future/cons/move_assign.cc: New.
6494         * testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
6495         * testsuite/30_threads/shared_future/members/has_value.cc: Remove.
6496         * testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
6497         * testsuite/30_threads/shared_future/members/valid.cc: New.
6498         * testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
6499         * testsuite/30_threads/unique_future/cons/default.cc: New.
6500         * testsuite/30_threads/unique_future/cons/move_assign.cc: New.
6501         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
6502         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
6503         * testsuite/30_threads/unique_future/cons/move.cc: Adjust.
6504         * testsuite/30_threads/unique_future/requirements/
6505         explicit_instantiation.cc: Adjust.
6506         * testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
6507         * testsuite/30_threads/unique_future/members/has_value.cc: Remove.
6508         * testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
6509         * testsuite/30_threads/unique_future/members/valid.cc: New.
6510         * testsuite/30_threads/unique_future/members/get.cc: Adjust.
6511         * testsuite/30_threads/unique_future/members/get2.cc: Adjust.
6512         * testsuite/30_threads/unique_future/members/wait.cc: Adjust.
6513         * testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
6514         * testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
6515         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
6516         * testsuite/30_threads/promise/cons/alloc.cc: New.
6517         * testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
6518         * testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
6519         * testsuite/30_threads/promise/cons/move.cc: Adjust.
6520         * testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
6521         * testsuite/30_threads/promise/members/get_future.cc: Adjust.
6522         * testsuite/30_threads/promise/members/set_value.cc: Adjust.
6523         * testsuite/30_threads/promise/members/set_exception.cc: Adjust.
6524         * testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
6525         * testsuite/30_threads/promise/members/set_value2.cc: Adjust.
6526         * testsuite/30_threads/promise/members/set_value3.cc: Adjust.
6527         * testsuite/30_threads/promise/members/swap.cc: Adjust.
6529 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
6530             Paolo Carlini  <paolo.carlini@oracle.com>
6532         PR libstdc++/21769
6533         * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
6534         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
6535         Use it.
6537 2010-01-19  Johannes Singler  <singler@kit.edu>
6539         PR libstdc++/42712
6540         * include/parallel/settings.h (_Settings): Add search_minimal_n.
6541         * include/parallel/algo.h (__search_switch):
6542         Add serial fallback for too small inputs.
6543         (__search_n_switch): Likewise.  Call serial fallback on higher level
6544         to gain special treatment for __count 0 or 1.
6545         * testsuite/25_algorithms/search_n/iterator.cc:
6546         Reenable full test depth for parallel mode.
6548 2010-01-18  Daniel Frey  <d.frey@gmx.de>
6550         * include/std/functional (_Bind<_Functor(_Bound_args...)>::
6551         operator()): "Pass" _Result to __call*.
6552         (_Bind<_Functor(_Bound_args...)>::__call*): Adjust, simplify.
6554 2010-01-18  Johannes Singler  <singler@kit.edu>
6556         * include/parallel/base.h (__unary_negate): Correct comment.
6558 2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
6560         * include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
6561         Rename const version to __call_c and remove _Sfinae template
6562         parameter.
6563         (_Bind<_Functor(_Bound_args...)>::operator()): Adjust.
6565         * include/std/functional: Pass everywhere temporary tuple<_Args...>
6566         arguments by rvalue reference.
6568         * testsuite/20_util/bind/cv_quals.cc: New.
6570         * testsuite/20_util/bind/ref2.cc: Add missing test variables.
6572 2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6574         PR libstdc++/35942
6575         * configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
6576         * configure: Regenerate.
6578 2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>
6580         * python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
6581         Remove encoding argument.
6582         (StdStringPrinter.to_string): Do not compute or pass encoding.
6583         Use lazy_string over string function.
6585 2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
6587         * include/c_std/cstring (memchr): Forward to the builtin.
6588         * include/c_std/cstring: Remove redundant casts; use names consistent
6589         with the letter of the Standard.
6590         * include/c_global/cstring: Likewise.
6592 2010-01-13  Benjamin Kosnik  <bkoz@redhat.com>
6594         * include/profile/iterator_tracker.h: Add copyright.
6596 2010-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
6598         * testsuite/Makefile.am (check-debug): Add.
6599         * testsuite/Makefile.in: Regenerate.
6600         * config.h.in: Likewise.
6602 2010-01-12  Paolo Carlini  <paolo.carlini@oracle.com>
6604         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
6605         in parallel-mode.
6606         * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
6607         * testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
6608         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
6609         * testsuite/25_algorithms/remove/moveable.c: Likewiwse.
6610         * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
6611         * testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
6612         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
6613         * testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
6614         * testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
6615         * testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
6616         * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
6617         * testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
6618         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
6619         * testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
6620         * testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
6621         * testsuite/25_algorithms/heap/moveable.cc: Likewiwse.
6623         * testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
6624         in parallel-mode.
6626 2010-01-12  Hans-Peter Nilsson  <hp@axis.com>
6628         * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
6629         for non-tls_native targets.
6631 2010-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6633         * scripts/run_doxygen: Correct nested scope on the man pages.
6634         * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
6635         * doc/xml/manual/mt_allocator.xml: Same.
6636         * doc/xml/manual/allocator.xml: Same.
6637         * doc/xml/manual/codecvt.xml: Same.
6638         * doc/xml/manual/backwards_compatibility.xml: Same.
6639         * doc/xml/manual/concurrency.xml: Same.
6640         * doc/xml/manual/parallel_mode.xml: Same.
6641         * doc/xml/manual/io.xml: Same.
6642         * doc/xml/manual/support.xml: Same.
6643         * doc/xml/manual/evolution.xml: Same.
6644         * doc/xml/manual/using.xml: Same.
6645         * doc/xml/manual/extensions.xml: Same.
6646         * doc/xml/manual/appendix_contributing.xml: Same.
6647         * doc/xml/manual/prerequisites.xml: Same.
6648         * doc/xml/manual/diagnostics.xml: Same.
6649         * doc/xml/manual/spine.xml: Same.
6650         * doc/xml/manual/status_cxx200x.xml: Same.
6651         * doc/xml/manual/test.xml: Same.
6652         * doc/xml/spine.xml: Same.
6653         * doc/html/*: Regenerate.
6655         * include/profile/impl/profiler.h: Remove duplicate markup.
6657 2010-01-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
6659         PR libstdc++/24803
6660         PR libstdc++/35569
6661         PR libstdc++/42593
6662         * include/std/functional (bind): Forward rvalues and detect correct
6663         result type of bound function object.
6664         * include/std/mutex (call_once): Specify bind result type.
6665         * testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
6666         * testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
6667         and enable FIXME tests.
6668         * testsuite/20_util/bind/35569.cc: New.
6669         * testsuite/20_util/bind/ref2.cc: New.
6670         * testsuite/20_util/bind/38889.cc: New.
6671         * testsuite/20_util/bind/ref_neg.cc: New.
6672         * testsuite/20_util/bind/42593.cc: New.
6674 2010-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
6676         * include/parallel/base.h (decode2): Rename to __decode2.
6677         (binder2nd): Likewise to __binder2nd.
6678         * include/parallel/quicksort.h: Adjust callers.
6679         * include/parallel/balanced_quicksort.h: Likewise.
6680         * include/parallel/partition.h: Likewise.
6681         * include/parallel/queue.h: Likewise.
6683         * include/parallel/algo.h: Qualify with std:: binder2nd use.
6685 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
6687         * include/debug/string (basic_string<>::basic_string(basic_string&&),
6688         operator=(basic_string&&), assign(basic_string&&)): Add.
6690         * include/debug/string: Fully qualify initializer_list with std; fix
6691         _Allocator misspellings as _Alloc.
6693 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
6695         * include/bits/basic_string.h (basic_string<>::
6696         basic_string(basic_string&&), operator=(basic_string&&),
6697         assign(basic_string&&)): Add.
6698         * config/abi/pre/gnu.ver: Export new symbols.
6699         * include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
6700         Add.
6701         (operator=(__versa_string&&)): Don't call clear unnecessarily.
6702         * include/ext/rc_string_base.h (__rc_string_base<>::
6703         __rc_string_base(__rc_string_base&&)): Simplify a tad.
6704         * testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
6705         * testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
6706         * testsuite/ext/vstring/assign/move_assign.cc: Likewise.
6707         * testsuite/21_strings/basic_string/assign/char/move_assign.cc:
6708         Likewise.
6709         * testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
6710         Likewise.
6712         * testsuite/ext/vstring/cons/moveable.cc: Fix comment nit.
6714 2010-01-10  Silvius Rus  <rus@google.com>
6716         * configure.ac: Add detection of execinfo.h.
6717         * configure: Regenerate.
6718         * config.h.in: Likewise.
6719         * doc/xml/manual/profile_mode.xml: Add list_to_slist manual.
6720         Also, correct user interface mistakes.
6721         * include/Makefile.am: Add references to new include files.
6722         * include/Makefile.in: Regenerate.
6723         * include/backward/hash_map: Remove profile include.
6724         * include/backward/hash_set: Likewise.
6725         * include/profile/hashtable.h: Delete file.
6726         * include/profile/iterator_tracker.h: New file.
6727         * include/profile/vector: Add instrumentation for tracked iterator.
6728         * include/profile/list: Same.
6729         * include/profile/impl/profiler_list_to_slist.h: New file.
6730         * include/profile/impl/profiler_list_to_vector.h: Same.
6731         * include/profile/impl/profiler.h: Add list_to_slist and
6732         list_to_vector instrumentation hook interfaces.  Fixed broken
6733         diagnostic disabling mechanism.
6734         (_GLIBCXX_PROFILE_DEFINE_DATA,_GLIBCXX_PROFILE_DATA) New macros.
6735         (__reentrance_guard) Fix bug.
6736         * include/profile/impl/profiler_trace.h: Replace dummy templates
6737         with _GLIBCXX_PROFILE_DEFINE_DATA.
6738         * include/profile/impl/profiler_container_size.h: Same.
6739         * include/profile/impl/profiler_vector_size.h: Same.
6740         * include/profile/impl/profiler_hash_func.h: Same.
6741         * include/profile/impl/profiler_vector_to_list.h: Same.
6742         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
6743         * include/profile/impl/profiler_hashtable_size.h: Same.
6744         * include/profile/impl/profiler_node.h: Same.
6745         * include/profile/impl/profiler_state.h: Same.  Also, remove
6746         class __state. Also, use __sync_val_compare_and_swap to set state.
6748 2010-01-09  H.J. Lu  <hongjiu.lu@intel.com>
6750         PR other/42230
6751         * testsuite/abi/pr42230.cc: New.
6753 2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
6755         * include/debug/set.h: Revert last change, per DR 1204 [Ready];
6756         mention the latter in comment.
6757         * include/debug/unordered_map: Likewise.
6758         * include/debug/multiset.h: Likewise.
6759         * include/debug/vector: Likewise.
6760         * include/debug/unordered_set: Likewise.
6761         * include/debug/deque: Likewise.
6762         * include/debug/map.h: Likewise.
6763         * include/debug/list: Likewise.
6764         * include/debug/multimap.h: Likewise.
6765         * include/tr1_impl/unordered_map: Likewise.
6766         * include/tr1_impl/unordered_set: Likewise.
6767         * include/profile/set.h: Likewise.
6768         * include/profile/unordered_map: Likewise.
6769         * include/profile/multiset.h: Likewise.
6770         * include/profile/unordered_set: Likewise.
6771         * include/profile/vector: Likewise.
6772         * include/profile/deque: Likewise.
6773         * include/profile/map.h: Likewise.
6774         * include/profile/list: Likewise.
6775         * include/profile/multimap.h: Likewise.
6776         * include/ext/vstring.h: Likewise.
6777         * include/bits/stl_list.h: Likewise.
6778         * include/bits/stl_map.h: Likewise.
6779         * include/bits/stl_set.h: Likewise.
6780         * include/bits/stl_multimap.h: Likewise.
6781         * include/bits/stl_vector.h: Likewise.
6782         * include/bits/stl_deque.h: Likewise.
6783         * include/bits/stl_multiset.h: Likewise.
6785         * include/bits/forward_list.h: Remove pre-existing check.
6786         * include/ext/vstring.h: Likewise.
6788         * testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
6789         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
6790         Likewise.
6791         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
6792         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
6793         * testsuite/23_containers/unordered_multimap/cons/
6794         self_move_assign.cc: Likewise.
6795         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
6796         Likewise.
6797         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
6798         Likewise.
6799         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
6800         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
6801         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
6802         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
6803         * testsuite/23_containers/unordered_multiset/cons/
6804         self_move_assign.cc: Likewise.
6805         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
6807         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
6808         Adjust dg-error line numbers.
6809         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
6810         Likewise.
6811         * testsuite/23_containers/vector/requirements/dr438/
6812         constructor_1_neg.cc: Likewise.
6813         * testsuite/23_containers/vector/requirements/dr438/
6814         constructor_2_neg.cc: Likewise.
6815         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
6816         Likewise.
6817         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
6818         Likewise.
6819         * testsuite/23_containers/deque/requirements/dr438/
6820         constructor_1_neg.cc: Likewise.
6821         * testsuite/23_containers/forward_list/requirements/dr438/
6822         assign_neg.cc: Likewise.
6823         * testsuite/23_containers/forward_list/requirements/dr438/
6824         insert_neg.cc: Likewise.
6825         * testsuite/23_containers/forward_list/requirements/dr438/
6826         constructor_1_neg.cc: Likewise.
6827         * testsuite/23_containers/forward_list/requirements/dr438/
6828         constructor_2_neg.cc: Likewise.
6829         * testsuite/23_containers/deque/requirements/dr438/
6830         constructor_2_neg.cc: Likewise.
6831         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
6832         Likewise.
6833         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
6834         Likewise.
6835         * testsuite/23_containers/list/requirements/dr438/
6836         constructor_1_neg.cc: Likewise.
6837         * testsuite/23_containers/list/requirements/dr438/
6838         constructor_2_neg.cc: Likewise.
6840 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
6842         * include/debug/set.h: Protect move assignment operator vs self
6843         assignment.
6844         * include/debug/unordered_map: Likewise.
6845         * include/debug/multiset.h: Likewise.
6846         * include/debug/vector: Likewise.
6847         * include/debug/unordered_set: Likewise.
6848         * include/debug/deque: Likewise.
6849         * include/debug/map.h: Likewise.
6850         * include/debug/list: Likewise.
6851         * include/debug/multimap.h: Likewise.
6852         * include/tr1_impl/unordered_map: Likewise.
6853         * include/tr1_impl/unordered_set: Likewise.
6854         * include/profile/set.h: Likewise.
6855         * include/profile/unordered_map: Likewise.
6856         * include/profile/multiset.h: Likewise.
6857         * include/profile/unordered_set: Likewise.
6858         * include/profile/vector: Likewise.
6859         * include/profile/deque: Likewise.
6860         * include/profile/map.h: Likewise.
6861         * include/profile/list: Likewise.
6862         * include/profile/multimap.h: Likewise.
6863         * include/ext/vstring.h: Likewise.
6864         * include/bits/stl_list.h: Likewise.
6865         * include/bits/stl_map.h: Likewise.
6866         * include/bits/stl_set.h: Likewise.
6867         * include/bits/stl_multimap.h: Likewise.
6868         * include/bits/stl_vector.h: Likewise.
6869         * include/bits/stl_deque.h: Likewise.
6870         * include/bits/stl_multiset.h: Likewise.
6871         * include/ext/vstring.h: Use clear().
6872         * testsuite/ext/vstring/cons/self_move_assign.cc: New.
6873         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
6874         Likewise.
6875         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
6876         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
6877         * testsuite/23_containers/unordered_multimap/cons/
6878         self_move_assign.cc: Likewise.
6879         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
6880         Likewise.
6881         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
6882         Likewise.
6883         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
6884         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
6885         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
6886         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
6887         * testsuite/23_containers/unordered_multiset/cons/
6888         self_move_assign.cc: Likewise.
6889         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
6891         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
6892         Adjust dg-error line numbers.
6893         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
6894         Likewise.
6895         * testsuite/23_containers/vector/requirements/dr438/
6896         constructor_1_neg.cc: Likewise.
6897         * testsuite/23_containers/vector/requirements/dr438/
6898         constructor_2_neg.cc: Likewise.
6899         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
6900         Likewise.
6901         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
6902         Likewise.
6903         * testsuite/23_containers/deque/requirements/dr438/
6904         constructor_1_neg.cc: Likewise.
6905         * testsuite/23_containers/deque/requirements/dr438/
6906         constructor_2_neg.cc: Likewise.
6907         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
6908         Likewise.
6909         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
6910         Likewise.
6911         * testsuite/23_containers/list/requirements/dr438/
6912         constructor_1_neg.cc: Likewise.
6913         * testsuite/23_containers/list/requirements/dr438/
6914         constructor_2_neg.cc: Likewise.
6916         * testsuite/ext/vstring/moveable.cc: Move to...
6917         * testsuite/ext/vstring/cons/moveable.cc: ... here.
6918         * testsuite/23_containers/unordered_map/moveable.cc: Move to...
6919         * testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
6920         * testsuite/23_containers/multimap/moveable.cc: Move to...
6921         * testsuite/23_containers/multimap/cons/moveable.cc: ... here.
6922         * testsuite/23_containers/set/moveable.cc: Move to...
6923         * testsuite/23_containers/set/cons/moveable.cc: ... here.
6924         * testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
6925         * testsuite/23_containers/unordered_multimap/cons/moveable.cc:
6926         ... here.
6927         * testsuite/23_containers/forward_list/moveable.cc: Move to...
6928         * testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
6929         * testsuite/23_containers/unordered_set/moveable.cc Move to...
6930         * testsuite/23_containers/unordered_set/moveable.cc: ... here.
6931         * testsuite/23_containers/vector/cons/moveable.cc Move to...
6932         * testsuite/23_containers/vector/cons/moveable2.cc: ... this.
6933         * testsuite/23_containers/deque/cons/moveable.cc Move to...
6934         * testsuite/23_containers/deque/cons/moveable2.cc: ... this.
6935         * testsuite/23_containers/multiset/moveable.cc Move to...
6936         * testsuite/23_containers/multiset/cons/moveable.cc: ... here.
6937         * testsuite/23_containers/list/moveable.h Move to...
6938         * testsuite/23_containers/list/cons/moveable.h: ... here.
6939         * testsuite/23_containers/list/moveable.cc Move to...
6940         * testsuite/23_containers/list/cons/moveable.cc: ... here.
6941         * testsuite/23_containers/unordered_multiset/moveable.cc Move to...
6942         * testsuite/23_containers/unordered_multiset/cons/moveable.cc:
6943         ... here.
6944         * testsuite/23_containers/map/moveable.cc Move to...
6945         * testsuite/23_containers/map/cons/moveable.cc: ... here.
6946         * testsuite/23_containers/vector/moveable.cc: Move to...
6947         * testsuite/23_containers/vector/cons/moveable.cc: ... here.
6948         * testsuite/23_containers/deque/moveable.cc: Move to...
6949         * testsuite/23_containers/deque/cons/moveable.cc: ... here.
6951 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
6953         PR libstdc++/42573
6954         * include/bits/allocator.h (struct __shrink_to_fit): Add.
6955         * include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
6956         * include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
6957         * include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
6958         * include/bits/basic_string.h (basic_string<>::shrink_to_fit):
6959         Likewise.
6960         * include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
6961         * include/debug/deque: Add corresponding using declaration.
6962         * include/debug/vector: Likewise.
6963         * include/debug/string: Likewise.
6964         * include/profile/deque: Likewise.
6965         * include/profile/vector: Likewise.
6966         * config/abi/pre/gnu.ver: Export new symbols.
6967         * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
6968         * testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
6969         * testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
6970         Likewise.
6971         * testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
6972         Likewise.
6973         * testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
6974         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
6975         Adjust dg-error line number.
6976         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
6977         Likewise.
6978         * testsuite/23_containers/deque/requirements/dr438/
6979         constructor_1_neg.cc: Likewise.
6980         * testsuite/23_containers/deque/requirements/dr438/
6981         constructor_2_neg.cc: Likewise.
6982         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
6983         Adjust dg-error line number.
6984         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
6985         Likewise.
6986         * testsuite/23_containers/vector/requirements/dr438/
6987         constructor_1_neg.cc: Likewise.
6988         * testsuite/23_containers/vector/requirements/dr438/
6989         constructor_2_neg.cc: Likewise.
6991 2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>
6993         * doc/xml/manual/evolution.xml: Fix typos, update.
6995 2010-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
6997         * include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
6998         pointless __builtin_alloca use.
7000 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
7002         PR libstdc++/26701
7003         * include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
7004         Encode short two digits over four parsings to negative numbers.
7005         (time_get<>::_M_extract_via_format): Adjust, accept both two digits
7006         and four digits for both 'y' and 'Y'.
7007         (time_get<>::do_get_year): Call time_get<>::_M_extract_num.
7008         * doc/xml/manual/prerequisites.xml: Add en_GB.
7009         * testsuite/lib/libstdc++.exp: Adjust
7010         * testsuite/22_locale/time_get/get_date/char/26701.cc: New.
7011         * testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
7013 2010-01-06  Benjamin Kosnik  <bkoz@redhat.com>
7015         PR libstdc++/42491
7016         * scripts/check_performance (CXX): Add -std=gnu++0x.
7017         * testsuite/performance/30_threads/future/polling.cc: Mark up as
7018         using threads.
7020 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
7022         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:
7023         Add dg-require-namedlocale.
7025 2010-01-05  Benjamin Kosnik  <bkoz@redhat.com>
7027         * doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
7028         * doc/html: Regenerate.
7030 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
7032         PR libstdc++/38081
7033         * include/bits/locale_facets_nonio.h (time_get<>::
7034         _M_extract_wday_or_month): New, declare.
7035         * include/bits/locale_facets_nonio.tcc (time_get<>::
7036         _M_extract_wday_or_month): Define.
7037         (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
7038         * config/abi/pre/gnu.ver: Export new symbols.
7039         * doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
7040         ru_RU.ISO-8859-5.
7041         * testsuite/lib/libstdc++.exp: Adjust.
7042         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
7043         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
7045 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7047         * configure: Regenerate.
7049 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
7051         * testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
7052         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
7053         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
7054         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
7056 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
7058         * include/profile/list: Implement DR 1133 here too.
7060         * testsuite/25_algorithms/set_intersection/34730.cc: Do not force
7061         debug-mode, leads to spurious failures in profile-mode.
7062         * testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
7063         * testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
7064         * testsuite/25_algorithms/set_difference/35541.cc: Likewise.
7065         * testsuite/21_strings/basic_string/40160.cc: Likewise.
7066         * testsuite/26_numerics/random/uniform_real_distribution/
7067         cons/parms_neg.cc: Likewise.
7068         * testsuite/26_numerics/random/uniform_int_distribution/
7069         cons/parms_neg.cc: Likewise.
7070         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
7071         Likewise.
7072         * testsuite/23_containers/multimap/14340.cc: Likewise.
7073         * testsuite/23_containers/bitset/18604.cc: Likewise.
7074         * testsuite/23_containers/set/14340.cc: Likewise.
7075         * testsuite/23_containers/set/18604.cc: Likewise.
7076         * testsuite/23_containers/unordered_set/requirements/
7077         debug_mode.cc: Likewise.
7078         * testsuite/23_containers/vector/
7079         debug_mode_requires_reallocation-1.cc: Likewise.
7080         * testsuite/23_containers/vector/
7081         debug_mode_requires_reallocation-2.cc: Likewise.
7082         * testsuite/23_containers/vector/14340.cc: Likewise.
7083         * testsuite/23_containers/vector/15523.cc: Likewise.
7084         * testsuite/23_containers/vector/18604.cc: Likewise.
7085         * testsuite/23_containers/deque/14340.cc: Likewise.
7086         * testsuite/23_containers/deque/18604.cc: Likewise.
7087         * testsuite/23_containers/multiset/14340.cc: Likewise.
7088         * testsuite/23_containers/list/operations/35969.cc: Likewise.
7089         * testsuite/23_containers/list/14340.cc: Likewise.
7090         * testsuite/23_containers/list/18604.cc: Likewise.
7091         * testsuite/23_containers/map/14340.cc: Likewise.
7092         * testsuite/23_containers/map/18604.cc: Likewise.
7093         * testsuite/tr1/5_numerical_facilities/random/uniform_int/
7094         cons/range_neg.cc: Likewise.
7096         * testsuite/23_containers/unordered_map/requirements/
7097         explicit_instantiation/2.cc: Do not instantiate for
7098         non-defaultconstructible mapped_type.
7100 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
7102         * include/debug/set.h: Implement DR 130 here too.
7103         * include/debug/multiset.h: Likewise.
7104         * include/debug/map.h: Likewise.
7105         * include/debug/multimap.h: Likewise.
7106         * include/profile/set.h: Implement DR 130 fully.
7107         * include/profile/multiset.h: Likewise.
7108         * include/profile/map.h: Likewise.
7109         * include/profile/multimap.h: Likewise.
7110         * include/debug/list: Implement DR 1133 here too.
7111         * include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
7112         now uses of __gnu_cxx::throw_allocator.
7113         * testsuite/21_strings/basic_string/40160.cc: Don't pass
7114         explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
7115         testing.
7117 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
7119         * include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
7120         in C++0x mode.
7121         * include/debug/bitset (bitset<>::bitset(unsigned long long)):
7122         Likewise.
7124 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
7126         * include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
7127         typedef.
7128         * include/profile/unordered_map (unordered_map<>::insert(const
7129         value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
7130         * include/profile/unordered_set (unordered_set<>::insert(const
7131         value_type&), unordered_multimap<>::insert(const value_type&)):
7132         Likewise.
7134 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
7136         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
7137         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
7138         Use std::is_constructible instead of std::is_convertible.
7140 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
7142         Revert last change, reinstantiate basic_string and vstring tests.
7144 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
7146         * testsuite/21_strings/basic_string/requirements/exception/
7147         propagation_consistent.cc: Remove, cannot instantiate basic_string
7148         for non-PODs (21/1).
7149         * testsuite/21_strings/basic_string/requirements/exception/
7150         basic.cc: Likewise.
7151         * testsuite/21_strings/basic_string/requirements/exception/
7152         generation_prohibited.cc: Likewise.
7153         * testsuite/ext/vstring/requirements/exception/
7154         propagation_consistent.cc: Likewise.
7155         * testsuite/ext/vstring/requirements/exception/basic.cc:
7156         Likewise.
7157         * testsuite/ext/vstring/requirements/exception/
7158         generation_prohibited.cc: Likewise.