OSDN Git Service

14479272f27c87b86b1c9050b0be0cac42ee85a9
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2010-12-07  François Dumont  <francois.cppdevs@free.fr>
2
3         * include/bits/stl_iterator.h: Add move_iterator operators overloads
4         to make it robust to template abuses.
5         * testsuite/util/testsuite_greedy_ops.h: New.
6         * testsuite/23_containers/vector/types/1.cc: Use latter.
7         * testsuite/23_containers/deque/types/1.cc: Likewise.
8         * testsuite/24_iterators/move_iterator/greedy_ops.cc: New.
9         * testsuite/24_iterators/normal_iterator/greedy_ops.cc: New.
10         * testsuite/24_iterators/reverse_iterator/greedy_ops.cc: New.
11         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
12         line numbers.
13
14 2010-12-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15
16         PR libstdc++/46830
17         * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
18         Early return when this == &__rcs.
19
20 2010-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
21
22         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr(_Tp1*, _Deleter,
23         const _Alloc&), shared_ptr(nullptr_t, _Deleter, const _Alloc&)): Take
24         the allocator by value, per N3225.
25         (shared_ptr<>::shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...),
26         allocate_shared(_Alloc, _Args&&...): Viceversa, take the allocator
27         by const lvalue ref.
28         * include/bits/shared_ptr_base.h (__shared_count<>::
29         __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...),
30         __shared_ptr<>::__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...),
31         __allocate_shared(_Alloc, _Args&&...)): Likewise.
32         (__shared_ptr<>::__shared_ptr(_Tp1*, _Deleter, const _Alloc&),
33         __shared_ptr(nullptr_t, _Deleter, const _Alloc&), reset(_Tp1*,
34         _Deleter, const _Alloc&)): Take the allocator by value.
35         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
36         numbers.
37         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
38
39 2010-12-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
40
41         * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no.
42         * configure: Regenerate.
43
44 2010-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
45
46         PR libstdc++/46821
47         * include/std/tuple (_Head_base<,, true>::_M_swap_impl):
48         Swap the empty bases.
49         (_Head_base<,, false>::_M_swap_impl): Minor tweak.
50         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
51         line number.
52
53 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
54
55         PR target/40125
56         PR lto/46695
57         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
58         * configure.host (OPT_LDFLAGS): Use lt_host_flags for cygming.
59         * aclocal.m4: Regenerate.
60         * configure: Regenerate.
61         * Makefile.in: Regenerate.
62         * doc/Makefile.in: Regenerate.
63         * include/Makefile.in: Regenerate.
64         * libsupc++/Makefile.in: Regenerate.
65         * po/Makefile.in: Regenerate.
66         * python/Makefile.in: Regenerate.
67         * src/Makefile.in: Regenerate.
68         * testsuite/Makefile.in: Regenerate.
69
70 2010-12-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
71
72         * include/std/mutex (try_lock, __try_lock_impl): Fix.
73         (lock): Implement using __try_lock_impl.
74         * testsuite/30_threads/try_lock/2.cc: Fix logic.
75         * testsuite/30_threads/try_lock/4.cc: New.
76         * testsuite/30_threads/lock/1.cc: New.
77         * testsuite/30_threads/lock/2.cc: New.
78         * testsuite/30_threads/lock/3.cc: New.
79         * testsuite/30_threads/lock/4.cc: New.
80
81 2010-12-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
82
83         * src/future.cc (future_category): Export compatibility symbol.
84         * config/abi/pre/gnu.ver: Move _ZSt15future_categoryv to 3.4.15
85         version.
86
87 2010-12-02  François Dumont  <francois.cppdevs@free.fr>
88
89         * testsuite/23_containers/vector/requirements/explicit_instantiation/
90         2.cc: Hide explicit instantiation with non default constructible type
91         in C++0x mode.
92         * testsuite/23_containers/deque/requirements/explicit_instantiation/
93         2.cc: Likewise.
94         * testsuite/23_containers/list/requirements/explicit_instantiation/
95         2.cc: Likewise.
96
97 2010-12-02  Kai Tietz  <kai.tietz@onevision.com>
98
99         PR libstdc++/43738
100         * config/io/basic_file_stdio.cc (showmanyc): Check _GLIBCXX_NO_IOCTL
101         before use of ioctl.
102         * config/os/mingw32/os_defines.h (_GLIBCXX_NO_IOCTL): New.
103
104 2010-12-01  François Dumont  <francois.cppdevs@free.fr>
105
106         * testsuite/23_containers/deque/cons/2.cc: Fix to explicitly invoke
107         the copy constructor with or without C++0x mode.
108         * testsuite/23_containers/vector/cons/4.cc: Likewise.
109
110 2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
111
112         * scripts/extract_symvers.pl: New file.
113         * scripts/extract_symvers: Rename to ...
114         * scripts/extract_symvers.in: ... this.
115         Use extract_symvers.pl on SunOS.
116         * configure.ac: Add scripts/extract_symvers to AC_CONFIG_FILES.
117         * configure: Regenerate.
118         * Makefile.in: Regenerate.
119         * testsuite/Makefile.am (extract_symvers): Call extract_symvers
120         from $(glibcxx_builddir).
121         * testsuite/Makefile.in: Regenerate.
122         * testsuite/libstdc++-abi/abi.exp: Call extract_symvers from
123         $objdir.
124
125         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
126         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
127         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
128         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
129         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
130
131 2010-11-30  Paolo Carlini  <paolo.carlini@oracle.com>
132
133         PR libstdc++/46718
134         * include/std/type_traits (__is_nullptr_t): Add.
135         (is_scalar): Use the latter.
136         * testsuite/20_util/is_scalar/value.cc: New.
137         * testsuite/20_util/is_scalar/requirements/typedefs.cc: Likewise.
138         * testsuite/20_util/is_scalar/requirements/explicit_instantiation.cc:
139         Likewise.
140         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
141         Adjust dg-error line numbers.
142         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
143         Likewise.
144         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
145
146 2010-11-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
147
148         PR libstdc++/46689
149         * testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for
150         invalid comparisons.
151
152 2010-11-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
153
154         * include/bits/shared_ptr_base.h (operator>, operator>=, operator<=):
155         Remove comparisons not specified in the C++0x draft.
156
157 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
158
159         * include/debug/unordered_map (unordered_multimap<>::erase): Fix to
160         erase all elements associated to the key.
161         * include/debug/unordered_set (unordered_multiset<>::erase): Likewise.
162         * testsuite/23_containers/unordered_multimap/erase/1.cc: Modify to
163         check for multiple erase.
164         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
165
166 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
167
168         * include/debug/unordered_map, unordered_set (unordered_map<>::insert,
169         unordered_multimap<>::insert, unordered_set<>::insert,
170         unordered_multiset<>::insert) Debug check iterator hint and pass it to
171         normal implementation.
172
173 2010-11-27  François Dumont  <francois.cppdevs@free.fr>
174
175         * include/debug/bitset (bitset<>::reference): Clean code, use normal
176         reference type in experimental mode.
177         * testsuite/23_containers/bitset/debug/invalid/1.cc: Fix for
178         experimental mode.
179
180 2010-11-26  François Dumont  <francois.cppdevs@free.fr>
181
182         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Use
183         remote_file delete for generated exe.
184         ([check_v3_target_profile_mode]): Add.
185         * testsuite/lib/dg-options.exp ([dg-require-profile-mode]): Add
186         * testsuite/ext/profile/mh.cc, profiler_algos.cc, all.cc: Use
187         dg-require-profile-mode, remove explicit _GLIBCXX_PROFILE definition.
188
189 2010-11-25  François Dumont  <francois.cppdevs@free.fr>
190
191         * src/debug.cc: Introduce a mutex pool in get_safe_base_mutex.
192         Move code used to manipulate sequence safe iterators from safe
193         iterator methods to safe sequence ones. Remove usage of safe iterator
194         mutex, keep _Safe_iterator_base::_M_get_mutex for library backward
195         binary compatibility.
196         * src/Makefile.am: Build debug.cc in gnu++0x mode for _Hash_impl usage.
197         * src/Makefile.in: Regenerate
198         * include/debug/safe_base.h: Add _Safe_iterator_base _M_invalidate
199         and _M_reset. Add _Safe_sequence_base _M_attach, _M_attach_single,
200         _M_detach and _M_detach_single.
201         * include/debug.safe_iterator.h, safe_iterator.tcc: Remove
202         _Safe_iterator _M_invalidate and _M_invalidate_single. Implement all
203         methods in terms of normal iterators rather than safe ones.
204         * include/debug/safe_sequence.h: Replace _Safe_sequence
205         _M_transfe_iter with _M_transfer_from_if taking the source sequence
206         and a predicate signaling when a safe iterator shall be transfered.
207         Add _Equal_to predicate.
208         * include/debug/safe_sequence.tcc: New.
209         * include/Makefile.am: Adjust.
210         * include/Makefile.in: Regenerate.
211         * include/debug/forward_list: Swap safe iterators in move constructor.
212         Do not invalidate before begin in _M_invalidate_all method.
213         Reimplement safe methods using normal iterators rather than safe ones.
214         * include/debug/set.h, unordered_map, multiset.h, vector,
215         unordered_set, deque, map.h, list, multimap.h: Reimplement safe method
216         using normal iterators rather than safe ones.
217         * testsuite/23_containers/forward_list/debug/clear.cc, swap.cc,
218         move_constructor.cc, splice_after.cc, splice_after1.cc,
219         splice_after2.cc, splice_after3.cc, splice_after4.cc: New.
220         * testsuite/23_containers/vector/debug/multithreaded_swap.cc: New.
221
222 2010-11-24  Benjamin Kosnik  <bkoz@redhat.com>
223
224         * include/std/tuple: Mark more constructors constexpr.
225         * include/bits/stl_pair.h: Same.
226         * testsuite/20_util/tuple/requirements/dr801.cc: New.
227         * testsuite/20_util/pair/requirements/dr801.cc: New.
228         * testsuite/20_util/tuple/cons/constexpr.cc: Add cases for new
229         constexpr constructors.
230         * testsuite/20_util/pair/cons/constexpr.cc: Same.
231         * testsuite/20_util/pair/comparison_operators/constexpr.cc: New.
232
233         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
234
235 2010-11-24  Paolo Carlini  <paolo.carlini@oracle.com>
236
237         * testsuite/30_threads/future/cons/constexpr.cc: Add dg-require*
238         directives.
239         * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
240
241 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
242
243         * include/std/chrono: Constexpr markup for is_monotonic.
244         * src/chrono.cc: Same.
245         * testsuite/20_util/clocks/1.cc: Move...
246         * testsuite/20_util/system_clock/1.cc: ...here.
247         * testsuite/20_util/system_clock/constexpr_data.cc
248         * testsuite/20_util/monotonic_clock/constexpr_data.cc
249
250         * include/std/complex: Mark primary template constexpr.
251         * testsuite/26_numerics/complex/cons/constexpr_primary.cc: Add.
252         * testsuite/26_numerics/complex/complex_value.cc: Move...
253         * testsuite/26_numerics/complex/dr387.cc: Move...
254         * testsuite/26_numerics/complex/value_operations/1.cc: ... here.
255         * testsuite/26_numerics/complex/value_operations/dr387.cc: ...here.
256         * testsuite/26_numerics/complex/value_operations/constexpr.cc: New.
257
258 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
259             Jason Merrill  <jason@redhat.com>
260
261         * testsuite/lib/libstdc++.exp: Use scanasm.
262         * testsuite/util/testsuite_common_types.h
263         (constexpr_default_constructible): Add support for non-literal types.
264         (constexpr_single_value_constructible): Same.
265         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
266         Remove xfail.
267         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Add.
268         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Add.
269         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Add.
270         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line number.
271
272 2010-11-23  Benjamin Kosnik  <bkoz@redhat.com>
273             Jonathan Wakely  <jwakely.gcc@gmail.com>
274
275         * include/std/future (shared_future): Default ctor constexpr.
276         (future): Same.
277         * testsuite/30_threads/shared_future/cons/constexpr.cc: New.
278         * testsuite/30_threads/future/cons/constexpr.cc: New.
279
280 2010-11-23  Uros Bizjak  <ubizjak@gmail.com>
281
282         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Require
283         additional locale name.
284         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Ditto.
285
286 2010-11-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
287
288         PR libstdc++/46455
289         * include/std/mutex: Define destructors for mutex types which use an
290         init function.
291         * include/ext/concurrence.h: Likewise.
292
293 2010-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
294
295         PR libstdc++/26211 + N3168
296         * include/bits/istream.tcc (basic_istream<>::tellg, seekg(pos_type),
297         seekg(off_type, ios_base::seekdir)): Construct a sentry.
298         (basic_istream<>::seekg(pos_type), seekg(off_type, ios_base::seekdir)
299         putback, unget): Clear eofbit first, per N3168.
300         * testsuite/27_io/basic_istream/seekg/char/26211.cc: New.
301         * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
302         * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
303         * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
304         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Tweak.
305         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
306
307 2010-11-18  H.J. Lu  <hongjiu.lu@intel.com>
308
309         PR other/42670
310         * testsuite/abi/demangle/regression/cw-13.cc: Updated.
311
312 2010-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
313
314         * include/debug/formatter.h (__truth): Remove, unused.
315         (__is_same): Remove, include cpp_type_traits.h instead.
316         (_Parameter::_Parameter(const _Safe_iterator<>&, const char*,
317         _Is_iterator)): Adjust.
318         * include/debug/safe_iterator.h (_Safe_iterator<>::_M_constant):
319         Likewise.
320
321 2010-11-17  François Dumont  <francois.cppdevs@free.fr>
322
323         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Clean
324         built exe.
325
326 2010-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
327
328         PR libstdc++/45711
329         * src/Makefile.am (stamp-debug): Also adjust VPATH.
330         * src/Makefile.in: Regenerate.
331
332 2010-11-15  Jie Zhang  <jie@codesourcery.com>
333
334         * testsuite/ext/profile/mh.cc: Add xfail for uclibc.
335
336 2010-11-14  Matthias Klose  <doko@ubuntu.com>
337
338         * testsuite/28_regex/13_ecmascript: Remove, empty directory.
339         * testsuite/28_regex/02_definitions: Likewise.
340         * testsuite/29_atomics/headers/stdatomic.h: Likewise.
341
342 2010-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
343
344         * include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Remove.
345         (_Rb_tree_const_iterator<>::_M_const_cast): Add.
346         (_Rb_tree<>::erase, _M_insert_unique_): Adjust.
347         * include/debug/map.h (map<>::erase, insert): Fix C++0x signatures.
348         * include/debug/multimap.h (multimap<>::erase, insert): Likewise.
349         * include/debug/set.h (set<>::erase, insert): Fix, only cosmetic
350         changes in this case.
351         * include/debug/multiset.h (multiset<>::erase, insert): Likewise.
352         * include/profile/set.h (set<>::insert): Remove redundant macro.
353         * include/profile/multiset.h (multiset<>::insert): Likewise.
354         * include/bits/stl_set.h (set<>::insert): Likewise.
355         * include/bits/stl_multiset.h (multiset<>::insert): Likewise.
356
357 2010-11-12  Ian Lance Taylor  <iant@google.com>
358
359         PR other/46332
360         * testsuite/abi/demangle/abi_examples/14.cc (main): Change
361         expected demangling.
362
363 2010-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
364
365         * include/bits/move.h (forward): Implement N3143, resolving US 90.
366         * testsuite/20_util/forward/a.cc: New.
367         * testsuite/20_util/forward/b.cc: Likewise.
368         * testsuite/20_util/forward/c_neg.cc: Likewise.
369         * testsuite/20_util/forward/d.cc: Likewise.
370         * testsuite/20_util/forward/e.cc: Likewise.
371         * testsuite/20_util/forward/f_neg.cc: Likewise.
372
373 2010-11-10  François Dumont  <francois.cppdevs@free.fr>
374
375         * include/profile/unordered_map (unordered_map<>::_M_profile_size):
376         Simplify, don't take a __new_size argument; adjust all callers.
377
378 2010-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
379
380         PR libstdc++/44436 (partial)
381         PR libstdc++/46148
382         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_, _M_insert_lower,
383         _M_insert_equal_lower, _M_insert_unique, _M_insert_equal,
384         _M_insert_unique_, _M_insert_equal_): Templatize in C++0x mode,
385         use _GLIBCXX_FORWARD throughout.
386         * include/bits/stl_map.h (map<>::insert(_Pair&&),
387         insert(const_iterator, _Pair&&), operator[](key_type&&): Add.
388         * include/bits/stl_set.h (set<>::insert(value_type&&),
389         insert(const_iterator, value_type&&)): Likewise.
390         * include/bits/stl_multimap.h (multimap<>::insert(_Pair&&),
391         insert(const_iterator, _Pair&&)): Likewise.
392         * include/bits/stl_multiset.h (multiset<>::insert(value_type&&),
393         insert(const_iterator, value_type&&)): Likewise.
394         * include/debug/set.h: Adjust.
395         * include/debug/multiset.h: Likewise.
396         * include/debug/map.h: Likewise.
397         * include/debug/multimap.h: Likewise.
398         * include/profile/set.h: Likewise.
399         * include/profile/multiset.h: Likewise.
400         * include/profile/map.h: Likewise.
401         * include/profile/multimap.h: Likewise.
402         * testsuite/23_containers/multimap/modifiers/insert/1.cc: New.
403         * testsuite/23_containers/multimap/modifiers/insert/2.cc: Likewise.
404         * testsuite/23_containers/multimap/modifiers/insert/3.cc: Likewise.
405         * testsuite/23_containers/multimap/modifiers/insert/4.cc: Likewise.
406         * testsuite/23_containers/set/modifiers/insert/2.cc: Likewise.
407         * testsuite/23_containers/set/modifiers/insert/3.cc: Likewise.
408         * testsuite/23_containers/multiset/modifiers/insert/3.cc: Likewise.
409         * testsuite/23_containers/multiset/modifiers/insert/4.cc: Likewise.
410         * testsuite/23_containers/map/modifiers/insert/2.cc: Likewise.
411         * testsuite/23_containers/map/modifiers/insert/3.cc: Likewise.
412         * testsuite/23_containers/map/modifiers/insert/4.cc: Likewise.
413         * testsuite/23_containers/map/modifiers/insert/5.cc: Likewise.
414         * testsuite/23_containers/map/element_access/2.cc: Likewise.
415         * testsuite/23_containers/map/element_access/46148.cc: Likewise.
416
417         * include/bits/hashtable.h: Trivial naming changes.
418
419 2010-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
420
421         * include/bits/hashtable.h (_Hashtable<>::_Insert_Conv_Type,
422         _Hashtable<>::_Insert_Return_Type): Change to private.
423
424 2010-11-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
425
426         * include/bits/unique_ptr.h: Use static_assert in constexpr
427         constructors.
428         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Remove xfails.
429         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
430         line number.
431
432 2010-11-09  François Dumont  <francois.cppdevs@free.fr>
433             Johannes Singler  <singler@kit.edu>
434
435         * include/parallel/algobase.h (equal):  Call parallel variant
436         for applicable overloads.
437
438 2010-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
439
440         * include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Add
441         and use it throughout.
442
443 2010-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
444
445         PR libstdc++/46385
446         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
447         line number.
448
449 2010-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
450
451         * include/bits/unique_ptr.h: Move misplaced static_assert and use
452         tuple's constexpr constructor in constexpr constructors.
453         * testsuite/20_util/unique_ptr/cons/ptr_deleter.cc: New.
454         * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: New.
455
456 2010-11-08  Benjamin Kosnik  <bkoz@redhat.com>
457
458         * doc/doxygen/user.cfg.in: Adjust scanned includes.
459         * include/std/forward_list: Make doxygen file markup unambiguous.
460
461 2010-11-08  Jason Merrill  <jason@redhat.com>
462
463         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
464         expected error.
465
466 2010-11-08  Benjamin Kosnik  <bkoz@redhat.com>
467
468         * include/std/complex (operator==, !=): Mark constexpr.
469         * testsuite/26_numerics/complex/comparison_operators/constexpr.cc: New.
470
471 2010-11-08  Paolo Carlini  <paolo.carlini@oracle.com>
472
473         * include/bits/stl_tree.h (_Rb_tree<>::_M_erase_aux): Add.
474         (_Rb_tree<>::erase(iterator)): Fix in C++0x mode to take
475         const_iterator; remove redundant overload in C++03 mode.
476         (_Rb_tree<>::erase(iterator, iterator)): Likewise.
477         * include/bits/stl_map.h (map<>::erase): Adjust.
478         (map<>::insert): Fix signature in C++0x mode.
479         * include/bits/stl_set.h (set<>::erase): Likewise.
480         (set<>::insert): Likewise.
481         * include/bits/stl_multimap.h (multimap<>::erase): Likewise.
482         (multimap<>::insert): Likewise.
483         * include/bits/stl_multiset.h (multiset<>::erase): Likewise.
484         (multiset<>::insert): Fix signature in C++0x mode.
485         * include/profile/set.h: Adjust.
486         * include/profile/multiset.h: Likewise.
487         * include/profile/map.h: Likewise.
488         * include/profile/multimap.h: Likewise.
489         * testsuite/util/exception/safety.h (erase_base, insert_base):
490         Update.
491
492 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
493
494         * include/profile/unordered_map (unordered_map<>::operator[](_Key&&)):
495         Add.
496
497 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
498
499         * include/profile/bitset (bitset<>::bitset(), bitset<>::
500         bitset(unsigned long long)): Add constexpr specifier.
501
502 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
503
504         * include/debug/bitset: Do not derive from _Safe_sequence_base in
505         C++0x mode, otherwise std::bitset isn't a literal type anymore;
506         adjust everywhere.
507
508         * include/debug/bitset (bitset<>::bitset(), bitset<>::
509         bitset(unsigned long long)):  Add missing constexpr specifier.
510
511 2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
512
513         * doc/doxygen/user.cfg.in: Add typeindex.
514
515         * testsuite/util/testsuite_common_types.h (constexpr_comparison_eq_ne,
516         constexpr_comparison_operators): New.
517         * testsuite/20_util/duration/comparisons: Move...
518         * testsuite/20_util/duration/comparison_operators: ...here.
519         * testsuite/20_util/duration/comparison_operators/constexpr.cc: New.
520         * testsuite/20_util/time_point/comparison_operators/constexpr.cc: Add.
521
522         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust line
523         numbers.
524         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
525         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
526         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
527
528 2010-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
529
530         * include/bits/shared_ptr.h (shared_ptr<>::__shared_ptr(),
531         shared_ptr<>::shared_ptr(nullptr_t), weak_ptr<>::weak_ptr(),
532         enable_shared_from_this::enable_shared_from_this()): Add constexpr
533         specifier.
534         * include/bits/shared_ptr_base.h (__shared_count::__shared_count(),
535         __shared_count::__shared_count(), __shared_ptr<>::__shared_ptr(),
536         __shared_ptr<>::__shared_ptr(nullptr_t), __weak_ptr<>::__weak_ptr(),
537         __enable_shared_from_this::__enable_shared_from_this()): Likewise.
538         * include/bits/unique_ptr.h (default_delete,
539         unique_ptr<>::unique_ptr(), unique_ptr<>::unique_ptr(nullptr_t)):
540         Likewise.
541         * testsuite/20_util/default_delete/cons/constexpr.cc: Do not xfail.
542         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Remove, the test
543         cannot work for a non-literal type like std::shared_ptr.
544         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
545         * testsuite/util/testsuite_common_types.h: Add comments.
546         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
547         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
548         numbers.
549         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
550
551 2010-11-05  Benjamin Kosnik  <bkoz@redhat.com>
552
553         * doc/doxygen/user.cfg.in: Remove tr1_impl headers.
554
555         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
556         constexpr_data.cc: New.
557
558         * testsuite/util/testsuite_tr1.h (LType, LTypeDerived, NLType): New.
559         * testsuite/20_util/is_literal_type/value.cc: New.
560         * testsuite/20_util/is_literal_type/requirements/typedefs.cc: Name.
561         * testsuite/20_util/is_literal_type/requirements/
562         explicit_instantiation.cc: New.
563
564 2010-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
565
566         PR libstdc++/46303
567         * testsuite/30_threads/call_once/constexpr.cc: Add missing dg-require
568         directives.
569         * testsuite/30_threads/mutex/cons/constexpr.cc: Likewise.
570         * testsuite/30_threads/once_flag/cons/constexpr.cc: Likewise.
571
572 2010-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
573
574         * include/std/ratio (ratio_add, ratio_subtract, ratio_multiply,
575         ratio_divide): Declare the data members constexpr.
576         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Extend.
577
578 2010-11-03  Benjamin Kosnik  <bkoz@redhat.com>
579
580         * include/std/tuple (tuple): Make default constructors constexpr.
581         * testsuite/20_util/tuple/cons/constexpr.cc: Add.
582
583         * testsuite/18_support/initializer_list/requirements/
584         constexpr_functions.cc: Add.
585         * testsuite/18_support/initializer_list/constexpr.cc: Add.
586
587 2010-11-03  Paolo Carlini  <paolo.carlini@oracle.com>
588
589         * include/std/limits (__glibcxx_digits10, __glibcxx_max_digits10):
590         Use 643L instead of 643 to avoid overflows on 16-bit machines.
591         * include/ext/numeric_traits.h (__glibcxx_max_digits10): Likewise.
592
593 2010-11-02  Benjamin Kosnik  <bkoz@redhat.com>
594
595         * include/std/chrono: Use typedefs.
596         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
597         line numbers.
598         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
599         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
600         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
601
602 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
603
604         * include/c_global/cmath (fpclassify, isfinite, isinf, isnan,
605         isnormal, signbit, isgreater, isgreaterequal, isless, islessequal,
606         islessgreater, isunordered): Remove spurious duplicate definition
607         added in the last commit.
608
609         * include/tr1/cmath: Remove tr1_impl leftover macro.
610
611 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
612
613         * include/tr1_impl/cinttypes: Remove, move contents to C++0x
614         and TR1 headers.
615         * include/tr1_impl/cstdlib: Likewise.
616         * include/tr1_impl/cstdio: Likewise.
617         * include/tr1_impl/cctype: Likewise.
618         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
619         * include/tr1_impl/cmath: Likewise.
620         * include/tr1_impl/cfenv: Likewise.
621         * include/tr1_impl/utility: Likewise.
622         * include/tr1_impl/complex: Likewise.
623         * include/tr1_impl/cwchar: Likewise.
624         * include/tr1_impl/type_traits: Likewise.
625         * include/tr1_impl/cstdint: Likewise.
626         * include/tr1_impl/regex: Likewise.
627         * include/tr1_impl/array: Likewise.
628         * include/tr1_impl/cwctype: Likewise.
629         * include/Makefile.am: Adjust.
630         * include/Makefile.in: Regenerate.
631         * src/condition_variable.cc: Adjust; consistently use
632         _GLIBCXX_BEGIN_NAMESPACE and _GLIBCXX_END_NAMESPACE.
633         * src/mutex.cc: Likewise.
634         * src/future.cc: Likewise.
635         * src/atomic.cc: Likewise.
636         * src/chrono.cc: Likewise.
637         * src/thread.cc: Likewise.
638         * include/std/tuple: Likewise.
639         * include/std/utility: Likewise.
640         * include/std/thread: Likewise.: Likewise.
641         * include/std/type_traits: Likewise.
642         * include/std/memory: Likewise.
643         * include/std/future: Likewise.
644         * include/std/ratio: Likewise.
645         * include/std/chrono: Likewise.
646         * include/std/condition_variable: Likewise.
647         * include/std/mutex: Likewise.
648         * include/std/functional: Likewise.
649         * include/std/complex: Likewise.
650         * include/std/typeindex: Likewise.
651         * include/std/array: Likewise.
652         * include/bits/regex_compiler.h: Likewise.
653         * include/bits/regex_grep_matcher.tcc: Likewise.
654         * include/bits/regex_grep_matcher.h: Likewise.
655         * include/bits/regex_constants.h: Likewise.
656         * include/bits/regex_cursor.h: Likewise.
657         * include/bits/regex_nfa.tcc: Likewise.
658         * include/bits/shared_ptr_base.h: Likewise.
659         * include/bits/regex_nfa.h: Likewise.
660         * include/bits/random.tcc: Likewise.
661         * include/bits/regex.h: Likewise.
662         * include/bits/random.h: Likewise.
663         * include/bits/regex_error.h: Likewise.
664         * include/c_global/cinttypes: Likewise.
665         * include/c_global/cstdlib: Likewise.
666         * include/c_global/cstdio: Likewise.
667         * include/c_global/cctype: Likewise.
668         * include/c_global/cmath: Likewise.
669         * include/c_global/cfenv: Likewise.
670         * include/c_global/cwchar: Likewise.
671         * include/c_global/cstdint: Likewise.
672         * include/c_global/cwctype: Likewise.
673         * include/tr1/shared_ptr.h: Likewise.
674         * include/tr1/cinttypes: Likewise.
675         * include/tr1/cstdio: Likewise.
676         * include/tr1/cfenv: Likewise.
677         * include/tr1/utility: Likewise.
678         * include/tr1/cwchar: Likewise.
679         * include/tr1/type_traits: Likewise.
680         * include/tr1/memory: Likewise.
681         * include/tr1/cstdint: Likewise.
682         * include/tr1/regex: Likewise.
683         * include/tr1/cwctype: Likewise.
684         * include/tr1/cstdlib: Likewise.
685         * include/tr1/cctype: Likewise.
686         * include/tr1/cmath: Likewise.
687         * include/tr1/complex: Likewise.
688         * include/tr1/array: Likewise.
689         * include/c_compatibility/fenv.h: Likewise.
690         * include/c_compatibility/stdint.h: Likewise.
691         * include/c_compatibility/inttypes.h: Likewise.
692         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Adjust
693         dg-error line numbers.
694         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
695         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
696         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
697         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
698         * testsuite/20_util/make_unsigned/requirements/
699         typedefs_neg.cc: Likewise.
700         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
701         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
702         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
703
704 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com
705
706         * testsuite/28_regex/05_constants/syntax_option_type.cc: Avoid
707         -Wall warnings.
708         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
709         Likewise.
710         * testsuite/18_support/numeric_limits/requirements/
711         constexpr_functions.cc: Likewise.
712         * testsuite/18_support/numeric_limits/requirements/
713         constexpr_data.cc: Likewise.
714         * testsuite/21_strings/char_traits/requirements/
715         constexpr_functions.cc: Likewise.
716         * testsuite/26_numerics/random/independent_bits_engine/requirements/
717         constexpr_functions.cc: Likewise.
718         * testsuite/26_numerics/random/subtract_with_carry_engine/
719         requirements/constexpr_functions.cc: Likewise.
720         * testsuite/26_numerics/random/subtract_with_carry_engine/
721         requirements/constexpr_data.cc: Likewise.
722         * testsuite/26_numerics/random/discard_block_engine/requirements/
723         constexpr_functions.cc: Likewise.
724         * testsuite/26_numerics/random/discard_block_engine/requirements/
725         constexpr_data.cc: Likewise.
726         * testsuite/26_numerics/random/mersenne_twister_engine/
727         requirements/constexpr_functions.cc: Likewise.
728         * testsuite/26_numerics/random/mersenne_twister_engine/
729         requirements/constexpr_data.cc: Likewise.
730         * testsuite/26_numerics/random/linear_congruential_engine/
731         requirements/constexpr_functions.cc: Likewise.
732         * testsuite/26_numerics/random/linear_congruential_engine/
733         requirements/constexpr_data.cc: Likewise.
734         * testsuite/26_numerics/random/shuffle_order_engine/
735         requirements/constexpr_functions.cc: Likewise.
736         * testsuite/26_numerics/random/shuffle_order_engine/
737         requirements/constexpr_data.cc: Likewise.
738         * testsuite/26_numerics/complex/requirements/
739         constexpr_functions.cc: Likewise.
740         * testsuite/23_containers/bitset/requirements/
741         constexpr_functions.cc: Likewise.
742         * testsuite/23_containers/array/requirements/
743         constexpr_functions.cc: Likewise.
744         * testsuite/util/testsuite_common_types.h: Likewise.
745         * testsuite/20_util/duration/requirements/
746         constexpr_functions.cc: Likewise.
747         * testsuite/20_util/duration_cast/constexpr.cc: Likewise.
748         * testsuite/20_util/time_point/requirements/
749         constexpr_functions.cc: Likewise.
750         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Likewise.
751
752         * testsuite/tr1/4_metaprogramming/integral_constant/
753         requirements/constexpr_data.cc: Remove.
754
755 2010-11-02  Jason Merrill  <jason@redhat.com>
756
757         * include/bits/atomic_0.h (_ATOMIC_CMPEXCHNG_): Use C-style cast.
758
759 2010-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
760
761         PR target/45693
762         * configure.host (osf*): Set os_include_dir to os/generic.
763         Add -lpthread to OPT_LDFLAGS.
764
765 2010-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
766
767         * include/std/bitset (_Base_bitset<>_Base_bitset(unsigned long long)):
768         Convert __val to _WordT.
769
770 2010-11-01  Benjamin Kosnik  <bkoz@redhat.com>
771
772         * include/std/chrono: Extend constexpr application.
773         * testsuite/util/testsuite_common_types.h
774         (constexpr_default_constructible, constexpr_single_value_constructible)
775         : Add comments about implied constraints.
776         * testsuite/20_util/duration/cons/constexpr.cc: Activate all tests.
777         * testsuite/20_util/time_point/cons/constexpr.cc: Same.
778         * testsuite/20_util/time_point/requirements/constexpr_functions.cc:
779         Same.
780         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust line
781         numbers.
782         * testsuite/20_util/time_point_cast/constexpr.cc: New.
783
784         * include/std/bitset: Use __SIZEOF_* macros to re-create original
785         logic instead of slipshod application of
786         std::numeric_limits<T>::max() macros.
787         * testsuite/util/testsuite_common_types.h
788         (constexpr_default_constructible): Modify.
789
790         * include/std/chrono: Tested constexpr.
791         * testsuite/20_util/duration_cast/constexpr.cc: New.
792         * testsuite/20_util/time_point/cons/constexpr.cc: New.
793
794         * testsuite/20_util/duration/cons/constexpr.cc: Add single_value tests.
795         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
796         line numbers.
797         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
798         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
799         * testsuite/20_util/time_point/cons/constexpr.cc: Add single_value
800         tests.
801         * testsuite/20_util/time_point/requirements/constexpr_functions.cc: Add.
802
803         * testsuite/util/testsuite_common_types.h: Adjust init.
804
805         * include/std/chrono (duration): Remove defaulted constructor,
806         replace with mem-init list.
807         * testsuite/20_util/duration/cons/constexpr.cc: Add single value.
808         * testsuite/20_util/duration/requirements/constexpr_functions.cc:
809         Add non-static member functions.
810
811         * testsuite/20_util/default_delete/cons/constexpr.cc: New, xfail.
812         * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Same.
813         * testsuite/20_util/shared_ptr/cons/constexpr.cc: Same.
814         * testsuite/20_util/time_point/requirements/constexpr_functions.cc:
815         Same.
816         * testsuite/20_util/unique_ptr/cons/constexpr.cc: Same.
817         * testsuite/20_util/weak_ptr/cons/constexpr.cc: Same.
818
819         * include/std/bitset: Add constexpr as per N3126 draft.
820         * testsuite/23_containers/bitset/cons/constexpr.cc: New.
821         * testsuite/23_containers/bitset/requirements/constexpr_functions.cc:
822         New.
823
824         * testsuite/util/testsuite_common_types.h: Reset condition.
825
826         * include/bits/random.h: Remove misleading comments.
827         * include/bits/regex.h: Add constexpr.
828         * testsuite/28_regex/05_constants/syntax_option_type.cc: Add tests.
829         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc: New.
830
831         PR libstdc++/46134
832         * include/std/chrono: Use default constructor.
833         * testsuite/util/testsuite_common_types.h
834         (constexpr_default_constructible): Adjust condition.
835
836         PR libstdc++/46133
837         * include/std/complex: Adjust complex specialization default
838         constructors for constexpr.
839         * testsuite/26_numerics/complex/cons/constexpr.cc: Enable tests.
840
841         * include/bits/random.h: Adjust for constexpr as per N3126 draft.
842         * testsuite/26_numerics/random/discard_block_engine/requirements/
843         constexpr_data.cc: New.
844         * testsuite/26_numerics/random/discard_block_engine/requirements/
845         constexpr_functions.cc: New.
846         * testsuite/26_numerics/random/independent_bits_engine/requirements/
847         constexpr_functions.cc: New.
848         * testsuite/26_numerics/random/linear_congruential_engine/requirements/
849         constexpr_data.cc: New.
850         * testsuite/26_numerics/random/linear_congruential_engine/requirements/
851         constexpr_functions.cc: New.
852         * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
853         constexpr_data.cc: New.
854         * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
855         constexpr_functions.cc: New.
856         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
857         constexpr_data.cc: New.
858         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
859         constexpr_functions.cc: New.
860         * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
861         constexpr_data.cc: New.
862         * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
863         constexpr_functions.cc: New.
864
865         * include/bits/stream_iterator.h: Add constexpr as per N3126 draft.
866         * include/bits/streambuf_iterator.h: Same.
867         * include/std/complex: Same.
868         * testsuite/24_iterators/istream_iterator/cons/constexpr.cc: New.
869         * testsuite/24_iterators/istreambuf_iterator/cons/constexpr.cc: New.
870         * testsuite/26_numerics/complex/cons/constexpr.cc: New.
871         * testsuite/26_numerics/complex/requirements/constexpr_functions.cc:
872         New.
873
874         * include/bits/char_traits.h: Add constexpr as per N3126 draft.
875         * testsuite/21_strings/char_traits/requirements/constexpr_functions.cc:
876         New.
877
878         * include/tr1_impl/array: Add constexpr as per N3126 draft.
879         * testsuite/23_containers/array/requirements/
880         constexpr_functions.cc: New.
881
882         * include/bits/shared_ptr.h: Revert changes.
883         * include/bits/unique_ptr.h: Same.
884
885         * include/std/chrono: Adjust.
886         * include/tr1_impl/type_traits: Same.
887
888         * testsuite/util/testsuite_common_types.h: Add test functors.
889         * testsuite/20_util/duration/cons/constexpr.cc: New.
890         * testsuite/20_util/duration/requirements/constexpr_functions.cc: Same.
891         * testsuite/20_util/pair/cons/constexpr.cc: Same.
892         * testsuite/20_util/ratio/requirements/constexpr_data.cc: Same.
893         * testsuite/27_io/ios_base/types/fmtflags/constexpr_operators.cc: Same.
894         * testsuite/27_io/ios_base/types/iostate/constexpr_operators.cc: Same.
895         * testsuite/27_io/ios_base/types/openmode/constexpr_operators.cc: Same.
896         * testsuite/30_threads/call_once/constexpr.cc: Same.
897         * testsuite/30_threads/mutex/cons/constexpr.cc: Same.
898         * testsuite/30_threads/once_flag/cons/constexpr.cc: Same.
899         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
900         constexpr_data.cc: Same.
901
902         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
903         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
904         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
905         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
906         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
907
908         * include/bits/allocator.h: Add constexpr as per N3126 draft.
909         * include/bits/ios_base.h: Same.
910         * include/bits/shared_ptr.h: Same.
911         * include/bits/unique_ptr.h: Same.
912         * include/bits/stl_iterator.h: Same.
913         * include/bits/stl_pair.h: Same.
914         * include/std/tuple: Same.
915         * include/tr1_impl/type_traits: Same.
916         * include/std/chrono: Same.
917         * include/std/ratio: Same.
918         * include/std/mutex: Same.
919         * src/mutex.cc: Same.
920         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
921         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
922         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
923         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
924         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
925         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
926
927         * doc/doxygen/user.cfg.in: Replace _GLIBCXX_USE_CONSTEXPR,
928         _GLIBCXX_CONSTEXPR for doxygen generation.
929
930         * src/limits.cc: Undef.
931         * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust.
932         * testsuite/29_atomics/atomic_address/cons/constexpr.cc: Same.
933         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
934         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.c: Same.
935         * testsuite/18_support/numeric_limits/constexpr.cc: To...
936         * testsuite/18_support/numeric_limits/requirements/
937         constexpr_data.cc, constexpr_functions.cc: ...this
938
939         * testsuite/util/testsuite_common_types.h
940         (constexpr_single_value_constructible): Add.
941         * testsuite/29_atomics/atomic/cons/constexpr.cc: Adjust name.
942         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
943         * testsuite/29_atomics/atomic_address/cons/constexpr.cc: New.
944         * testsuite/18_support/numeric_limits/constexpr.cc: New.
945
946         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
947         * testsuite/29_atomics/atomic/cons/constexpr.cc: Same.
948         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
949         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
950         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: Same.
951         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
952         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
953         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: Same.
954         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: Same.
955
956         * include/bits/c++config (_GLIBCXX_CONSTEXPR): Add.
957         (_GLIBCXX_USE_CONSTEXPR): Add.
958         * include/std/limits: Use it.
959         * src/limits.cc: Adjust.
960         * testsuite/ext/profile/mutex_extensions.cc: Change line number.
961
962         * include/bits/atomic_0.h: Rework for N3126 draft, add constexpr.
963         * include/bits/atomic_2.h: Same.
964         * include/bits/atomic_base.h: Same.
965         * include/std/atomic: Same.
966         * src/atomic.cc: Same.
967         * include/bits/atomicfwd_c.h: Remove.
968         * include/bits/atomicfwd_cxx.h: Remove.
969         * include/c_compatibility/stdatomic.h: Remove.
970         * include/Makefile.am: Remove atomicfwd_c.h, atomicfwd_cxx.h,
971         stdatomic.h.
972         * include/Makefile.in: Regenerate.
973         * doc/xml/manual/using.xml: Update list of header files for changes.
974         * testsuite/util/testsuite_common_types.h
975         (constexpr_constructible): Add.
976         * testsuite/29_atomics/atomic/cons/constexpr.cc: New.
977         * testsuite/29_atomics/atomic_integral/cons/constexpr.cc: New.
978         * testsuite/17_intro/headers/c++200x/stdc++.cc: Modify.
979         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
980         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
981         * testsuite/29_atomics/atomic_flag/cons/1.cc: Same.
982         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
983         * testsuite/29_atomics/headers/atomic/macros.cc: Same.
984         * testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Same.
985         * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Same.
986         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Remove.
987         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
988         * testsuite/29_atomics/atomic_flag/clear/1.c: Same.
989         * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: Same.
990         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
991         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
992         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
993
994         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
995
996 2010-11-01  Jason Merrill  <jason@redhat.com>
997
998         * libsupc++/initializer_list: Decorate with constexpr.
999
1000 2010-11-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
1001
1002         PR libstdc++/45999
1003         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Replace
1004         conditional expression with backward-compatible if-else.
1005
1006 2010-11-01  Jie Zhang  <jie@codesourcery.com>
1007
1008         * config/abi/pre/gnu.ver: Export __emutls_v._ZSt11__once_call
1009         and __emutls_v._ZSt15__once_callable.
1010
1011 2010-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
1012
1013         * testsuite/23_containers/bitset/cons/dr1325-2.cc: Fix typo.
1014         * testsuite/20_util/hash/quality.cc: Avoid -Wall warnings.
1015         * testsuite/20_util/hash/chi2_quality.cc: Likewise.
1016
1017 2010-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
1018
1019         * include/bits/stl_function.h (_Select1st<>::operator()): Add
1020         templatized overloads.
1021         * include/bits/hashtable_policy.h (_Select1st): Remove; revert
1022         everything to std::_Select1st.
1023         * include/bits/unordered_map.h: Likewise.
1024
1025 2010-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
1026
1027         PR libstdc++/44436 (partial)
1028         * include/bits/hashtable.h (_Hashtable<>::insert(value_type&&),
1029         insert(_Pair&&), insert(const_iterator, value_type&&),
1030         insert(const_iterator, _Pair&&)): Add.
1031         (_M_allocate_node, _M_insert, _M_insert_bucket): Templatize.
1032         * include/bits/hashtable_policy.h (__detail::_Select1st): Add; use
1033         it throughout.
1034         (_Map_base<>::operator[](_Key&&)): Add.
1035         * include/bits/unordered_map.h: Use __detail::_Select1st throughout.
1036         * include/debug/unordered_map: Update.
1037         * include/debug/unordered_set: Likewise.
1038         * include/profile/unordered_map: Likewise.
1039         * include/profile/unordered_set: Likewise.
1040         * testsuite/util/testsuite_rvalref.h (struct hash<rvalstruct>): Add;
1041         minor tweaks throughout, use deleted special members.
1042         * testsuite/23_containers/unordered_map/insert/map_single_move-1.cc:
1043         New.
1044         * testsuite/23_containers/unordered_map/insert/map_single_move-2.cc:
1045         Likewise.
1046         * testsuite/23_containers/unordered_map/insert/array_syntax_move.cc:
1047         Likewise.
1048         * testsuite/23_containers/unordered_multimap/insert/
1049         multimap_single_move-1.cc: Likewise.
1050         * testsuite/23_containers/unordered_multimap/insert/
1051         multimap_single_move-2.cc: Likewise.
1052         * testsuite/23_containers/unordered_set/insert/set_single_move.cc:
1053         Likewise.
1054         * testsuite/23_containers/unordered_multiset/insert/
1055         multiset_single_move.cc: Likewise.
1056
1057         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
1058         Minor cosmetic changes.
1059
1060 2010-10-27  Jason Merrill  <jason@redhat.com>
1061
1062         * include/std/type_traits (is_literal_type): New.
1063         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1064         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust.
1065         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust.
1066
1067 2010-10-26  Paolo Carlini  <paolo.carlini@oracle.com>
1068
1069         * testsuite/lib/libstdc++.exp ([check_v3_target_normal_mode]): Add.
1070         * testsuite/lib/dg-options.exp ([dg-require-normal-mode]): Likewise.
1071         * testsuite/23_containers/headers/forward_list/synopsis.cc: Use the
1072         latter.
1073         * testsuite/23_containers/headers/vector/synopsis.cc: Likewise.
1074         * testsuite/23_containers/headers/deque/synopsis.cc: Likewise.
1075         * testsuite/23_containers/headers/bitset/synopsis.cc: Likewise.
1076         * testsuite/23_containers/headers/list/synopsis.cc: Likewise.
1077         * testsuite/23_containers/headers/set/synopsis.cc: Likewise.
1078         * testsuite/23_containers/headers/map/synopsis.cc: Likewise.
1079
1080 2010-10-25  Paolo Carlini  <paolo.carlini@oracle.com>
1081
1082         * include/bits/forward_list.h (_Fwd_list_node_base::swap): Remove.
1083         (_Fwd_list_base<>::_Fwd_list_base(_Fwd_list_base&&),
1084         _Fwd_list_base<>::_Fwd_list_base(_Fwd_list_base&&, const _Alloc&)):
1085         Don't use swap.
1086         (forward_list<>::swap): Just use std::swap.
1087
1088         * include/bits/forward_list.h (_Fwd_list_base<>::_Fwd_list_base(),
1089         _Fwd_list_base(const _Alloc&)): Don't zero again _M_next.
1090
1091         * testsuite/23_containers/forward_list/requirements/dr438/
1092         assign_neg.cc: Adjust dg-error line number.
1093         * testsuite/23_containers/forward_list/requirements/dr438/
1094         insert_neg.cc: Likewise.
1095         * testsuite/23_containers/forward_list/requirements/dr438/
1096         constructor_1_neg.cc: Likewise.
1097         * testsuite/23_containers/forward_list/requirements/dr438/
1098         constructor_2_neg.cc: Likewise.
1099
1100 2010-10-25  Paolo Carlini  <paolo.carlini@oracle.com>
1101
1102         * include/bits/hashtable.h (_Hashtable<>:_M_get_Value_allocator):
1103         Remove, unused.
1104
1105 2010-10-24  François Dumont  <francois.cppdevs@free.fr>
1106
1107         * src/debug.cc: Fix parameter indexes in __msg_valid_range2 message.
1108         Replace 'before begin' decription in 'before-begin' for consistency
1109         with 'paste-the-end'.
1110
1111 2010-10-18  Paolo Carlini  <paolo.carlini@oracle.com>
1112
1113         PR libstdc++/45866
1114         * include/std/ratio (ratio<>::type): Add.
1115         (ratio_add<>::num, ratio_add<>::den,
1116         ratio_subtract<>::num, ratio_subtract<>::den,
1117         ratio_multiply<>::num, ratio_multiply<>::den,
1118         ratio_divide<>::num, ratio_divide<>::den): Likewise.
1119         * testsuite/20_util/ratio/operations/45866.cc: New.
1120
1121 2010-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1122
1123         * include/bits/forward_list.h (forward_list<>::erase_after): Return
1124         an iterator.
1125         (_M_erase_after): Return _Fwd_list_node_base*.
1126         * include/bits/forward_list.tcc: Likewise.
1127         * include/debug/forward_list: Likewise.
1128         * testsuite/23_containers/forward_list/modifiers/3.cc: Update
1129         and extend.
1130         * testsuite/util/exception/safety.h (erase_base<forward_list<>>):
1131         Adjust.
1132         * testsuite/23_containers/forward_list/requirements/dr438/
1133         assign_neg.cc: Adjust dg-error line number.
1134         * testsuite/23_containers/forward_list/requirements/dr438/
1135         insert_neg.cc: Likewise.
1136         * testsuite/23_containers/forward_list/requirements/dr438/
1137         constructor_1_neg.cc: Likewise.
1138         * testsuite/23_containers/forward_list/requirements/dr438/
1139         constructor_2_neg.cc: Likewise.
1140
1141 2010-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
1142
1143         PR libstdc++/43554
1144         * include/profile/forward_list: New file.
1145         * include/std/forward_list: Include <profile/forward_list>.
1146         * include/Makefile.am: Add.
1147         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1148         * include/Makefile.in: Regenerate.
1149
1150 2010-10-15  Paolo Carlini  <paolo.carlini@oracle.com>
1151
1152         * include/std/functional (function<>::operator==, operator!=):
1153         Remove, per LWG 1240.
1154         * testsuite/20_util/function/cmp/cmp_neg.cc: Adjust dg-* directives.
1155
1156 2010-10-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
1157
1158         PR libstdc++/45990
1159         * include/bits/regex.h (regex_traits::isctype): DR 1337.
1160
1161 2010-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
1162
1163         * include/bits/random.h (discrete_distribution<>::param_type::
1164         param_type()): Default construct the vectors.
1165         (discrete_distribution<>::param_type::probabilities): Adjust.
1166         (discrete_distribution<>::probabilities): Likewise.
1167         (discrete_distribution<>::max): Likewise.
1168         (piecewise_constant_distribution<>::param_type::
1169         param_type()): Default construct the vectors.
1170         (piecewise_constant_distribution<>::param_type::intervals): Adjust.
1171         (piecewise_constant_distribution<>::param_type::densities): Likewise.
1172         (piecewise_constant_distribution<>::intervals): Likewise.
1173         (piecewise_constant_distribution<>::densities): Likewise.
1174         (piecewise_constant_distribution<>::min): Likewise.
1175         (piecewise_constant_distribution<>::max): Likewise.
1176         (piecewise_linear_distribution<>::param_type::
1177         param_type()): Default construct the vectors.
1178         (piecewise_linear_distribution<>::param_type::intervals): Adjust.
1179         (piecewise_linear_distribution<>::param_type::densities): Likewise.
1180         (piecewise_linear_distribution<>::intervals): Likewise.
1181         (piecewise_linear_distribution<>::densities): Likewise.
1182         (piecewise_linear_distribution<>::min): Likewise.
1183         (piecewise_linear_distribution<>::max): Likewise.
1184         * include/bits/random.tcc (discrete_distribution<>::param_type::
1185         _M_initialize): Deal quickly with raw _M_prob equivalent to
1186         a default constructed param_type, just clear the vector.
1187         (discrete_distribution<>::operator()): Early return 0 for a
1188         default constructed distribution.
1189         (piecewise_constant_distribution<>::param_type::_M_initialize):
1190         Likewise for _M_int and _M_den.
1191         (piecewise_constant_distribution<>::operator()): Early return
1192         for a default constructed distribution.
1193         (piecewise_linear_distribution<>::param_type::_M_initialize):
1194         Likewise.
1195         (piecewise_linear_distribution<>::operator()): Early return
1196         for a default constructed distribution.
1197         * testsuite/26_numerics/random/discrete_distribution/operators/
1198         call-default.cc: New.
1199         * testsuite/26_numerics/random/piecewise_constant_distribution/
1200         operators/call-default.cc: Likewise.
1201
1202 2010-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
1203
1204         * include/bits/random.h (discrete_distribution<>::param_type):
1205         Disable move operations.
1206         (piecewise_constant_distribution<>::param_type): Likewise.
1207         (piecewise_linear_distribution<>::param_type): Likewise.
1208
1209         * include/bits/random.h (discrete_distribution<>::param_type::
1210         param_type()): Simplify, don't use _M_initialize.
1211         (piecewise_constant_distribution<>::param_type::param_type()):
1212         Likewise.
1213         (piecewise_linear_distribution<>::param_type::param_type()):
1214         Likewise.
1215
1216 2010-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
1217
1218         * include/bits/random.tcc (piecewise_linear_distribution<>::
1219         operator()): Don't crash when the dist is default-constructed.
1220         * testsuite/26_numerics/random/piecewise_linear_distribution/
1221         operators/call-default.cc: New.
1222
1223 2010-10-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1224
1225         * testsuite/23_containers/bitset/cons/2.cc: Tweak.
1226
1227 2010-10-11  Paolo Carlini  <paolo.carlini@oracle.com>
1228
1229         * include/std/bitset (bitset<>::bitset(const _CharT*,
1230         typename std::basic_string<>::size_type, _CharT, _CharT)):
1231         Implement new proposed resolution for DR 1325.
1232         * include/debug/bitset: Likewise.
1233         * include/profile/bitset: Likewise.
1234         * testsuite/23_containers/bitset/cons/dr1325-1.cc: New.
1235         * testsuite/23_containers/bitset/cons/dr1325-2.cc: Likewise.
1236
1237 2010-10-11  Benjamin Kosnik  <bkoz@redhat.com>
1238
1239         * doc/xml/api.xml: Add link to 4.5 generated docs.
1240
1241 2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
1242
1243         * include/std/future (_Result_alloc): Derive from _Alloc,
1244         exploit the Empty Base Optimization.
1245
1246 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1247
1248         PR libstdc++/45403
1249         * python/libstdcxx/v6/printers.py: Check for lazy_string support.
1250
1251 2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
1252
1253         * include/std/future (uses_allocator<packaged_task<>,>): Add;
1254         minor formatting tweaks.
1255
1256 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1257
1258         * include/std/future: Enable allocator support.
1259         * testsuite/30_threads/packaged_task/cons/alloc.cc: Expect PASS.
1260         * testsuite/30_threads/promise/cons/alloc.cc: Expect PASS.
1261
1262 2010-10-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1263
1264         PR libstdc++/45893
1265         * include/std/functional (bind): Implement DR 817 and add support
1266         for volatile-qualified call wrappers.
1267         * include/std/mutex (call_once): Implement DR 891.
1268         * include/std/thread (thread::thread): Implement DR 929.
1269         * include/std/future: Optimise use of std::bind.
1270         * testsuite/20_util/bind/cv_quals.cc: Test volatile-qualification.
1271         * testsuite/20_util/bind/move.cc: New.
1272
1273 2010-10-07  Hans-Peter Nilsson  <hp@axis.com>
1274
1275         PR libstdc++/45841
1276         * testsuite/lib/libstdc++.exp (check_v3_target_fileio): Rewrite to
1277         use an actual testsuite file and machinery, not ".".  Specifically
1278         check that incorrectly seeking backwards from 0 yields an error,
1279         and that reading, seeking backwards and reading again works.
1280
1281         * testsuite/libstdc++-dg/conformance.exp: Apply
1282         check_v3_target_fileio as a gate for tests in
1283         subdirectories matching the substring _filebuf.
1284
1285 2010-10-07  Paolo Carlini  <paolo.carlini@oracle.com>
1286
1287         * include/bits/locale_facets_nonio.tcc (time_get<>::
1288         _M_extract_via_format): Tighten somewhat error checking.
1289         * testsuite/22_locale/time_get/get_time/char/6.cc: New.
1290         * testsuite/22_locale/time_get/get_time/wchar_t/6.cc: Likewise.
1291
1292 2010-10-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1293
1294         PR libstdc++/45924
1295         * include/std/functional (_Bind_result::operator()): Do not expand
1296         template parameter pack in forward call.
1297         * testsuite/20_util/bind/45924.cc: New.
1298
1299 2010-10-06  Paolo Carlini  <paolo.carlini@oracle.com>
1300
1301         * include/std/functional (struct _Weak_result_type_impl): Add
1302         specializazions for cv-qualified function types, for variadic
1303         function types and pointers and references to function types,
1304         and for pointers to member function types.
1305         (struct _Reference_wrapper_base): Add specializations for
1306         cv-qualified unary and binary function types.
1307         * testsuite/20_util/reference_wrapper/result_type.cc: New.
1308         * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
1309
1310 2010-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1311
1312         PR libstdc++/45863
1313         * scripts/extract_symvers: Restore revision 164879.
1314         Only use pvs on SunOS.
1315
1316 2010-10-05  David Krauss  <potswa@mac.com>
1317
1318         PR libstdc++/45841
1319         * include/bits/fstream.h (basic_filebuf::underflow): Overflow
1320         success does not preclude returning failure.
1321         (basic_filebuf::pbackfail): Likewise.
1322         (basic_filebuf::xsputn): Fix indentation problem.
1323         (basic_filebuf::xsgetn): Likewise. Also, add similar overflow
1324         call to enable optimized case from write mode.
1325         * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: New.
1326         * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
1327
1328 2010-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1329
1330         * include/bits/locale_facets_nonio.h (time_get::get_time): Doc typo.
1331         (time_get::get_date): Likewise.
1332
1333 2010-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
1334
1335         * include/std/type_traits (_GLIBCXX_HAS_NESTED_TYPE): Add.
1336         * include/std/functional (_Has_result_type_helper,
1337         _Has_result_type): Remove; use the above to define __has_result_type.
1338         * include/bits/stl_iterator_base_types.h: Use the above to define
1339         __has_iterator_category.
1340         * include/bits/allocator.h (__has_allocator_type): Use the above.
1341         * include/bits/cpp_type_traits.h (__has_iterator_category,
1342         __is_iterator): Remove.
1343
1344 2010-10-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1345             Jonathan Wakely  <jwakely.gcc@gmail.com>
1346
1347         PR libstdc++/44647
1348         * libsupc++/Makefile.am (sources): Add bad_alloc.cc.
1349         * libsupc++/new_handler.cc (bad_alloc): Move to ...
1350         * libsupc++/bad_alloc.cc (bad_alloc): ... here, new file.
1351         * libsupc++/Makefile.in: Regenerate.
1352
1353 2010-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
1354
1355         * include/std/functional (function<>::swap): Use std::swap.
1356         * include/tr1/functional (function<>::swap): Likewise.
1357
1358 2010-10-04  Andreas Schwab  <schwab@redhat.com>
1359
1360         * acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to
1361         AC_HELP_STRING.  Double quote expansion of _g_help.
1362         (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Double quote third argument of
1363         GLIBCXX_ENABLE.
1364         (GLIBCXX_ENABLE_CHEADERS): Likewise.
1365         (GLIBCXX_ENABLE_CLOCALE): Likewise.
1366         (GLIBCXX_ENABLE_ALLOCATOR): Likewise.
1367         (GLIBCXX_ENABLE_CSTDIO): Likewise.
1368         (GLIBCXX_ENABLE_SYMVERS): Likewise.
1369         * configure: Regenerate.
1370
1371 2010-10-02  H.J. Lu  <hongjiu.lu@intel.com>
1372
1373         PR libstdc++/45863
1374         * scripts/extract_symvers: Revert the pvs change.
1375
1376 2010-10-01  Benjamin Kosnik  <bkoz@redhat.com>
1377
1378         * scripts/extract_symvers: Add support for tracking TLS symbols.
1379         * testsuite/util/testsuite_abi.h (symbol::category): Add tls type.
1380         * testsuite/util/testsuite_abi.cc: Set symbol type to tls when
1381         appropriate, collect size info.
1382
1383 2010-10-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1384
1385         * scripts/extract_symvers: Use pvs if present.
1386         * config/abi/post/solaris2.8/baseline_symbols.txt: New file.
1387         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1388         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1389         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1390         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1391         * configure.host (i?86-*-solaris2*): Remove.
1392         (sparc*-*-solaris2*): Remove.
1393         (*-*-solaris2.[89]): Use solaris2.8 baseline.
1394         (*-*-solaris2.1[0-9]): Use solaris2.10 baseline.
1395         * testsuite/Makefile.am (new-abi-baseline): Add missing /.
1396         * testsuite/Makefile.in: Regenerate.
1397
1398 2010-09-30  Michael Eager  <eager@eagercon.com>
1399
1400         * config/cpu/microblaze/cpu_defines.h: New. Define
1401         _GLIBCXX_NO_VERBOSE_TERMINATE for MicroBlaze.
1402
1403 2010-09-29  Paolo Carlini  <paolo.carlini@oracle.com>
1404
1405         * include/Makefile.am: Add debug/forward_list.
1406         * include/Makefile.in: Regenerate.
1407
1408         * testsuite/util/testsuite_container_traits.h (traits_base):
1409         Add has_erase_after and hash_insert_after typedefs.
1410         (traits<forward_list<>>): Adjust.
1411         * testsuite/util/exception/safety.h (erase_point, erase_range,
1412         insert_point): Deal correctly with forward_list.
1413         * include/Makefile.am: Add.
1414
1415 2010-09-29  François Dumont  <francois.cppdevs@free.fr>
1416
1417         * src/debug.cc: Add forward_list specific debug messages.
1418         * include/debug/forward_list: New.
1419         * include/debug/formatter.h: Add debug message ids and before begin
1420         iterator state.
1421         * include/debug/macros.h (__glibcxx_check_insert_after,
1422         __glibcxx_check_insert_range_after, __glibcxx_check_erase_after,
1423         __glibcxx_check_erase_range_after): Add.
1424         * include/debug/safe_iterator.h (_BeforeBeginHelper): Add.
1425         (_Safe_iterator<>::_M_before_dereferenceable,
1426         _Safe_iterator<>::_M_is_before_begin): Add.
1427         (_Safe_iterator<>::_M_dereferenceable, _Safe_iterator<>::_M_is_end,
1428         _Safe_iterator<>::_M_incrementable): Adjust.
1429         * include/std/forward_list: Include debug/forward when _GLIBCXX_DEBUG
1430         defined.
1431         * include/bits/forward_list.h, forward_list.tcc: Put in std::__norm
1432         when debug mode is active.
1433         * testsuite/23_containers/forward_list/capacity/1.cc: Fix to compile
1434         even in debug mode.
1435         * testsuite/23_containers/forward_list/debug/erase_after1.cc,
1436         erase_after2.cc, erase_after3.cc, erase_after4.cc, erase_after5.cc,
1437         insert_after1.cc,erase_after6.cc, erase_after7.cc, insert_after2.cc,
1438         erase_after8.cc, insert_after3.cc, erase_after9.cc: New
1439
1440 2010-09-28  DJ Delorie  <dj@redhat.com>
1441
1442         * libsupc++/hash_bytes.cc (_Hash_bytes): Replace "clength" with
1443         "len" for "unusual sizeof(size_t)" case.
1444
1445 2010-09-28  Matt Austern  <austern@google.com>
1446
1447         * testsuite/20_util/hash/chi2_quality.cc: New.
1448         * testsuite/20_util/hash/quality.cc: Likewise.
1449
1450 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
1451
1452         * include/bits/allocator.h (allocator_arg_t, allocator_arg,
1453         uses_allocator): Add.
1454         * testsuite/20_util/uses_allocator/value.cc: New.
1455         * testsuite/20_util/uses_allocator/requirements/typedefs.cc: Likewise.
1456         * testsuite/20_util/uses_allocator/requirements/
1457         explicit_instantiation.cc: Likewise.
1458         * include/bits/stl_queue.h (uses_allocator<queue>,
1459         uses_allocator<priority_queue>): Add.
1460         * include/bits/stl_stack.h (uses_allocator<stack>): Likewise.
1461
1462         * include/bits/stl_pair.h (piecewise_construct): Add.
1463         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1464         line number.
1465
1466 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
1467
1468         * include/c_std/cmath (__pow_helper): Remove.
1469         (__cmath_power): Remove declaration.
1470         * include/c_global/cmath: Likewise.
1471         * include/std/complex (__complex_pow_unsigned): Add.
1472         (pow(const complex<_Tp>&, int)): Use the latter.
1473         * include/c_std/cmath.tcc: Remove file.
1474         * include/c_global/cmath.tcc: Likewise.
1475         * acinclude.m4: Adjust.
1476         * include/Makefile.am: Likewise.
1477         * configure: Regenerate.
1478         * include/Makefile.in: Likewise.
1479
1480 2010-09-22  David Krauss  <potswa@mac.com>
1481
1482         PR libstdc++/45628
1483         * include/bits/fstream.tcc (basic_filebuf::underflow): Add state
1484         transition to avoid modality requiring seekoff(0,ios::cur).
1485         (basic_filebuf::pbackfail): Likewise.
1486         (basic_filebuf::overflow): Likewise.
1487         (basic_filebuf::_M_seek): Avoid minor unnecessary conversion.
1488         (basic_filebuf::seekoff): Remove code to _M_get_ext_pos; make
1489         (0, ios::cur) a special case preserving buffer contents.
1490         (basic_filebuf::_M_get_ext_pos): New function to obtain status
1491         about codecvt extern_t buffer for overflow and seekoff.
1492         * include/std/fstream (basic_filebuf::_M_get_ext_pos): Likewise.
1493         * config/abi/pre/gnu.ver: Export new symbols.
1494         * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: New,
1495         verifies that seekoff(0, ios::cur) preserves buffers.
1496         * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise.
1497         for codecvt case. More lenient as it may still flush put area.
1498         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Modify to
1499         check that seekoff is not required between read and write.
1500         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
1501         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Remove.
1502         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Likewise.
1503         * testsuite/util/testsuite_character.h (codecvt::do_length): Comply
1504         with 22.2.1.5.2/10 "Returns ... the LARGEST value in the range..."
1505
1506 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1507
1508         * include/bits/functional_hash.h (__hash_base): Add.
1509         (hash): Derive from __hash_base instead.
1510         * include/debug/bitset (hash): Likewise.
1511         * include/debug/vector (hash): Likewise.
1512         * include/std/system_error (hash): Likewise.
1513         * include/std/thread (hash): Likewise.
1514         * include/std/bitset (hash): Likewise.
1515         * include/profile/bitset (hash): Likewise.
1516         * include/profile/vector (hash): Likewise.
1517         * include/bits/basic_string.h (hash): Likewise.
1518         * include/bits/stl_bvector.h (hash): Likewise.
1519         * include/std/typeindex (hash): Do not derive from unary_function,
1520         add result_type and argument_type typedefs; trim includes.
1521
1522 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1523
1524         * include/std/typeindex: New.
1525         * include/Makefile.am: Add.
1526         * include/Makefile.in: Regenerate.
1527         * include/precompiled/stdc++.h: Add.
1528         * testsuite/20_util/typeindex/comparison_operators.cc: New.
1529         * testsuite/20_util/typeindex/hash.cc: Likewise.
1530         * testsuite/20_util/typeindex/hash_code.cc: Likewise.
1531         * testsuite/20_util/typeindex/name.cc: Likewise.
1532
1533         * testsuite/18_support/type_info/hash_code.cc: Tweak.
1534
1535 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1536
1537         * src/hash_bytes.cc: Move...
1538         * libsupc++/hash_bytes.cc: ... here.
1539         * src/Makefile.am: Adjust.
1540         * libsupc++/Makefile.am: Likewise.
1541         * config/abi/pre/gnu.ver: Likewise.
1542         * libsupc++/typeinfo (type_info::hash_code): Add in C++0x mode.
1543         * src/Makefile.in: Regenerate.
1544         * libsupc++/Makefile.am: Likewise.
1545         * testsuite/18_support/type_info/hash_code.cc: New.
1546
1547 2010-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1548
1549         PR libstdc++/45711
1550         * src/Makefile.am (stamp-debug): Also adjust possibly-relative
1551         file names in MKDIR_P, and, for consistency, also top_build_prefix.
1552         * src/Makefile.in: Regenerate.
1553
1554 2010-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1555
1556         * include/ext/throw_allocator.h
1557         (hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
1558         (hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
1559         * include/parallel/set_operations.h (__symmetric_difference_func):
1560         Uglify remaining arguments to __count, __first_empty, _M_invoke.
1561         (__difference_func): Likewise for __count.
1562         * include/profile/impl/profiler_node.h
1563         (__object_info_base::__write): Uglify parameter.
1564
1565 2010-09-19  Paolo Carlini  <paolo.carlini@oracle.com>
1566
1567         * src/hash_bytes.cc: Compile load_bytes and shift_mix only when
1568         __SIZEOF_SIZE_T__ == 8.
1569
1570 2010-09-17  Luc Hermitte  <hermitte@free.fr>
1571             Paolo Carlini  <paolo.carlini@oracle.com>
1572
1573         PR libstdc++/45713
1574         * include/std/bitset: Fix _GLIBCXX_BITSET_WORDS macro.
1575         * testsuite/23_containers/bitset/45713.cc: New.
1576
1577 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1578
1579         * include/bits/stl_raw_storage_iter.h (raw_storage_iterator<>::
1580         operator=(const _Tp&)): Use std::__addressof.
1581
1582 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1583
1584         * include/std/system_error (system_error::system_error(error_code),
1585         system_error(error_code, const string&), system_error(int, const
1586         error_category&), system_error(int, const error_category&,
1587         const string&)): Fix for what() to return the NBTS recommended in
1588         the Note in 19.5.6.2/14.
1589         * testsuite/19_diagnostics/system_error/cons-1.cc: Adjust.
1590         * testsuite/19_diagnostics/system_error/what-1.cc: Likewise.
1591         * testsuite/19_diagnostics/system_error/what-2.cc: Likewise.
1592         * testsuite/19_diagnostics/system_error/what-big.cc: Likewise.
1593         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
1594
1595         * testsuite/19_diagnostics/system_error/what-4.cc: Tidy includes.
1596
1597 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1598
1599         * include/std/complex (complex<float>::operator=(float),
1600         complex<float>::operator+=(float),
1601         complex<float>::operator-=(float),
1602         complex<double>::operator=(double),
1603         complex<double>::operator+=(double),
1604         complex<double>::operator-=(double),
1605         complex<long double>::operator=(long double),
1606         complex<long double>::operator+=(long double),
1607         complex<long double>::operator-=(long double)): Simplify a tad,
1608         just forward to the underlying __complex__ T operators, as
1609         operator*= and operator/= already do.
1610
1611         * include/std/complex (complex<float>, complex<double>,
1612         complex<long double>): Simplify spelling of return types, just
1613         say complex, instead of complex<float>, complex<double>,
1614         complex<long double>, respectively.
1615
1616 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
1617
1618         * testsuite/lib/libstdc++.exp,([check_v3_target_namedlocale]):
1619         Clean temporary source file once compiled.
1620
1621 2010-09-15  Paolo Carlini  <paolo.carlini@oracle.com>
1622
1623         * doc/xml/manual/prerequisites.xml: Update "C" library locale
1624         information prerequisites.
1625
1626 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
1627
1628         * testsuite/lib/libstdc++.exp, dg-options.exp
1629         ([check_v3_target_namedlocale]): Take the name of the required locale.
1630         * testsuite/27_io/objects/wchar_t/9520.cc, 11.cc, 13.cc, 10.cc, 12.cc:
1631         Specify locale name to check.
1632         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc, 13007-1.cc,
1633         13007-2.cc: Likewise.
1634         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc, 13007-1.cc,
1635         13007-2.cc: Likewise.
1636         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
1637         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
1638         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
1639         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
1640         Likewise.
1641         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
1642         Likewise.
1643         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc, 2.cc:
1644         Likewise.
1645         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc, 9322.cc,
1646         13582-2.cc, 2.cc, 13582-3.cc, 12868.cc, 14975-2.cc, 13007.cc: Likewise.
1647         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc, 13171-4.cc,
1648         9322.cc, 13582-2.cc, 2.cc, 14975-1.cc, 13007.cc, 13171-1.cc: Likewise.
1649         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc,
1650         11305-2.cc, 11305-3.cc, 11305-4.cc: Likewise.
1651         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc, 1.cc, 2.cc,
1652         3.cc, 11389-1.cc, 4.cc, 11389-2.cc, 5.cc, 11389-3.cc, 11389-4.cc:
1653         Likewise.
1654         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
1655         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
1656         Likewise.
1657         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
1658         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
1659         Likewise.
1660         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise.
1661         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1662         * testsuite/22_locale/money_put/put/wchar_t/1.cc, 2.cc, 3.cc,
1663         wrapped_locale.cc, wrapped_env.cc: Likewise.
1664         * testsuite/22_locale/money_put/put/char/1.cc, 2.cc, 3.cc, 9780-3.cc,
1665         wrapped_locale.cc, wrapped_env.cc: Likewise.
1666         * testsuite/22_locale/facet/2.cc: Likewise.
1667         * testsuite/22_locale/collate/hash/wchar_t/2.cc, wrapped_locale.cc,
1668         wrapped_env.cc: Likewise.
1669         * testsuite/22_locale/collate/hash/char/2.cc, wrapped_locale.cc,
1670         wrapped_env.cc: Likewise.
1671         * testsuite/22_locale/collate/compare/wchar_t/1.cc, 2.cc, 3.cc,
1672         wrapped_locale.cc, wrapped_env.cc: Likewise.
1673         * testsuite/22_locale/collate/compare/char/1.cc, 2.cc, 3.cc,
1674         wrapped_locale.cc, wrapped_env.cc: Likewise.
1675         * testsuite/22_locale/collate/transform/wchar_t/2.cc, 3.cc,
1676         wrapped_locale.cc, wrapped_env.cc: Likewise.
1677         * testsuite/22_locale/collate/transform/char/2.cc, 3.cc,
1678         wrapped_locale.cc, wrapped_env.cc: Likewise.
1679         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc,
1680         wrapped_env.cc: Likewise.
1681         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc,
1682         wrapped_env.cc: Likewise.
1683         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc, wrapped_env.cc:
1684         Likewise.
1685         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc,
1686         wrapped_env.cc: Likewise.
1687         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc,
1688         wrapped_env.cc: Likewise.
1689         * testsuite/22_locale/ctype/widen/wchar_t/2.cc, 3.cc,
1690         wrapped_locale.cc, wrapped_env.cc: Likewise.
1691         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc,
1692         wrapped_env.cc: Likewise.
1693         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc, wrapped_locale.cc,
1694         wrapped_env.cc: Likewise.
1695         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc,
1696         wrapped_env.cc: Likewise.
1697         * testsuite/22_locale/ctype/is/wchar_t/2.cc,wrapped_locale.cc,
1698         wrapped_env.cc: Likewise
1699         * testsuite/22_locale/ctype/is/char/2.cc, wrapped_locale.cc,
1700         wrapped_env.cc: Likewise.
1701         * testsuite/22_locale/time_put/put/wchar_t/2.cc, 3.cc, 4.cc, 6.cc,
1702         7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc: Likewise.
1703         * testsuite/22_locale/time_put/put/char/2.cc, 3.cc, 4.cc, 6.cc,
1704         9780-1.cc, 7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc:
1705         Likewise.
1706         * testsuite/22_locale/money_get/get/wchar_t/1.cc, 2.cc, 3.cc, 4.cc,
1707         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
1708         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise.
1709         * testsuite/22_locale/money_get/get/char/1.cc, 2.cc, 3.cc, 4.cc,
1710         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
1711         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise
1712         * testsuite/22_locale/num_put/put/wchar_t/1.cc, 3.cc, 5.cc,
1713         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
1714         * testsuite/22_locale/num_put/put/char/1.cc, 3.cc, 5.cc, 9780-2.cc,
1715         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
1716         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc, wrapped_locale.cc,
1717         3.cc, 4.cc, wrapped_env.cc: Likewise.
1718         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc,
1719         wrapped_env.cc: Likewise.
1720         testsuite/22_locale/codecvt/length/wchar_t/2.cc, wrapped_locale.cc,
1721         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
1722         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc,
1723         wrapped_env.cc: Likewise.
1724         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc,
1725         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
1726         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc,
1727         wrapped_env.cc: Likewise.
1728         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc, wrapped_locale.cc,
1729         3.cc, 4.cc, wrapped_env.cc: Likewise.
1730         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc,
1731         wrapped_env.cc: Likewise.
1732         * testsuite/22_locale/codecvt/in/wchar_t/2.cc, wrapped_locale.cc, 3.cc,
1733         4.cc, 7.cc, 8.cc, 9.cc, wrapped_env.cc: Likewise.
1734         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc,
1735         wrapped_env.cc: Likewise.
1736         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc,
1737         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
1738         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc,
1739         wrapped_env.cc: Likewise.
1740         * testsuite/22_locale/codecvt/out/wchar_t/2.cc, wrapped_locale.cc,
1741         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
1742         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc,
1743         wrapped_env.cc: Likewise.
1744         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
1745         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc,
1746         wrapped_env.cc: Likewise.
1747         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc,
1748         wrapped_env.cc: Likewise.
1749         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc,
1750         wrapped_locale.cc, wrapped_env.cc: Likewise.
1751         * testsuite/22_locale/time_get/get_monthname/char/2.cc,
1752         wrapped_locale.cc, wrapped_env.cc: Likewise.
1753         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc,
1754         wrapped_env.cc: Likewise.
1755         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc,
1756         wrapped_env.cc: Likewise.
1757         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc,
1758         wrapped_locale.cc, wrapped_env.cc: Likewise.
1759         * testsuite/22_locale/time_get/get_weekday/char/2.cc, 38081-1.cc,
1760         wrapped_locale.cc, 38081-2.cc, wrapped_env.cc: Likewise.
1761         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc, 26701.cc,
1762         2.cc, wrapped_locale.cc, 4.cc, wrapped_env.cc: Likewise.
1763         * testsuite/22_locale/time_get/get_date/char/12750.cc, 26701.cc,
1764         2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise.
1765         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc, 2.cc,
1766         wrapped_locale.cc, wrapped_env.cc: Likewise.
1767         * testsuite/22_locale/time_get/get_time/char/1.cc, 2.cc,
1768         wrapped_locale.cc, wrapped_env.cc: Likewise.
1769         * testsuite/22_locale/num_get/get/wchar_t/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
1770         wrapped_env.cc, wrapped_locale.cc: Likewise.
1771         * testsuite/22_locale/num_get/get/char/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
1772         wrapped_env.cc, wrapped_locale.cc: Likewise.
1773         * testsuite/22_locale/locale/cons/38368.cc, 2.cc, 4.cc, 5.cc, 7.cc,
1774         12658_thread-1.cc, 12658_thread-2.cc, 40184.cc, 29217.cc, 38365.cc:
1775         Likewise.
1776         * testsuite/22_locale/locale/global_locale_objects/14071.cc, 2.cc:
1777         Likewise.
1778         * testsuite/22_locale/moneypunct/40712.cc: Likewise.
1779         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc,
1780         wrapped_locale.cc, wrapped_env.cc: Likewise.
1781         * testsuite/22_locale/moneypunct/members/char/2.cc, wrapped_locale.cc,
1782         wrapped_env.cc: Likewise.
1783         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
1784         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
1785         * testsuite/22_locale/messages/members/char/1.cc, 2.cc,
1786         wrapped_locale.cc, 3.cc, wrapped_env.cc: Likewise.
1787         * testsuite/22_locale/numpunct/members/wchar_t/2.cc, wrapped_locale.cc,
1788         wrapped_env.cc: Likewise.
1789         * testsuite/22_locale/numpunct/members/char/2.cc, wrapped_locale.cc,
1790         3.cc, wrapped_env.cc: Likewise.
1791         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
1792
1793 2010-09-14  Matt Austern  <austern@google.com>
1794             Paolo Carlini  <paolo.carlini@oracle.com>
1795
1796         * testsuite/performance/21_strings/hash.cc: New.
1797
1798 2010-09-14  Paolo Carlini  <paolo.carlini@oracle.com>
1799
1800         * testsuite/performance/21_strings/string_append.cc: Rename to...
1801         * testsuite/performance/21_strings/append-1.cc: ... this.
1802         * testsuite/performance/21_strings/string_append_2.cc: Rename to...
1803         * testsuite/performance/21_strings/append-2.cc: ... this.
1804         * testsuite/performance/21_strings/string_cons_input_iterator.cc:
1805         Rename to...
1806         * testsuite/performance/21_strings/cons_input_iterator.cc: ... this.
1807         * testsuite/performance/21_strings/string_copy_cons_and_dest.cc:
1808         Rename to...
1809         * testsuite/performance/21_strings/copy_cons_and_dest.cc: ... this.
1810         * testsuite/performance/21_strings/string_find.cc: Rename to...
1811         * testsuite/performance/21_strings/find.cc: ... this.
1812
1813 2010-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1814
1815         * doc/xml/api.xml: Add title.
1816         * doc/xml/manual/spine.xml: Same.
1817         * doc/xml/spine.xml: Same.
1818
1819 2010-09-13  Matt Austern  <austern@google.com>
1820
1821         * src/hash_bytes.cc: New file, exports _Hash_bytes (a Murmur hash),
1822         and _Fnv_hash_bytes (based on a FNV algorithm).
1823         * src/compatibility-c++0x.cc (hash<string>::operator(),
1824         hash<const string&>::operator(), hash<wstring>::operator(),
1825         hash<const wstring&>::operator(), hash<error_code>::operator()):
1826         Adjust, use _Hash_bytes.
1827         * include/std/system_error (hash<error_code>::operator()): Likewise.
1828         * include/std/thread (hash<thread::id>operator()): Likewise.
1829         * include/std/bitset (hash<bitset>operator()): Likewise.
1830         * include/bits/basic_string.h (hash<string>::operator(),
1831         hash<wstring>::operator(), hash<u16string>::operator(),
1832         hash<u32string>::operator()): Adjust.
1833         * include/bits/vector.tcc (hash<vector<bool>>::operator()): Adjust.
1834         * include/bits/functional_hash.h (_Hash_bytes, _Fnv_hash_bytes):
1835         Declare.
1836         (struct _Hash_impl, struct _Fnv_hash_impl): Add, use _Hash_bytes
1837         and _Fnv_hash_bytes, respectively.
1838         (hash<float>::operator(), hash<double>::operator()): Adjust.
1839         * config/abi/pre/gnu.ver: Add exports.
1840         * src/Makefile.am: Add.
1841         * src/Makefile.in: Regenerate.
1842
1843 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
1844
1845         * include/bits/forward_list.h (forward_list<>::resize(size_type,
1846         value_type)): Fix signature, per LWG 1340.
1847         * include/bits/forward_list.tcc: Adjust definition.
1848
1849 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
1850
1851         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: New.
1852         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
1853
1854 2010-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
1855
1856         * src/hash-string-aux.cc: Remove. Move contents...
1857         * src/hash_tr1.cc: ... here.
1858         * src/compatibility-c++0x.cc: ... and here.
1859
1860 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
1861
1862         PR libstdc++/45613
1863         * include/bits/random.tcc: Add missing include guards.
1864         * include/bits/random.h: Likewise.
1865         * include/tr1/random.tcc: Likewise.
1866
1867 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
1868
1869         * libsupc++/cxxabi.h: Uglify nothrow to __nothrow__; fix a few
1870         inconsistent uglifications everywhere.
1871
1872 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
1873             Marc Glisse  <marc.glisse@normalesup.org>
1874
1875         PR libstdc++/45549
1876         * include/bits/cpp_type_traits.h (__is_iterator_helper): Rename to
1877         __has_iterator_category.
1878         (__is_iterator): Adjust.
1879         * include/bits/stl_iterator_base_types.h (__iterator_traits): Add
1880         in C++0x mode, use the latter.
1881         (iterator_traits): In C++0x mode, derive from the latter.
1882         * include/bits/stl_iterator_base_funcs.h (next, prev): Remove
1883         enable_if on the return type.
1884
1885 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
1886
1887         PR libstdc++/45398
1888         * include/std/atomic (atomic<_TP*>::store): Define.
1889
1890         * include/std/atomic (atomic<_TP*>::load, exchange): Define inline.
1891
1892 2010-09-06  Jason Merrill  <jason@redhat.com>
1893
1894         * testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to
1895         abi_check FAIL message.
1896
1897 2010-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
1898
1899         PR libstdc++/45347
1900         * include/ext/concurrence.h: Add #pragma GCC system_header.
1901
1902 2010-09-03  François Dumont <francois.cppdevs@free.fr>
1903
1904         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Fix so
1905         that it really detects when debug mode is activated.
1906         * testsuite/util/debug/construct_neg.h, insert_neg.h, assign_neg.h:
1907         Remove, content moved...
1908         * testsuite/util/debug/checks.h: ... here. Modify checks to take the
1909         type of the container to test rather than an intermediate container
1910         type traits helper.
1911         * testsuite/23_containers/unordered_map/debug/insert1_neg.cc: Update to
1912         use dg-require-debug-mode when necessary and use new check functions.
1913         * testsuite/23_containers/unordered_map/debug/construct1_neg.cc:
1914         Likewise.
1915         * testsuite/23_containers/unordered_map/debug/construct2_neg.cc:
1916         Likewise.
1917         * testsuite/23_containers/unordered_map/debug/insert2_neg.cc: Likewise.
1918         * testsuite/23_containers/unordered_map/debug/construct3_neg.cc:
1919         Likewise.
1920         * testsuite/23_containers/unordered_map/debug/insert3_neg.cc: Likewise.
1921         * testsuite/23_containers/unordered_map/debug/construct4_neg.cc:
1922         Likewise.
1923         * testsuite/23_containers/unordered_map/debug/insert4_neg.cc: Likewise.
1924         * testsuite/23_containers/multimap/debug/insert1_neg.cc: Likewise.
1925         * testsuite/23_containers/multimap/debug/construct1_neg.cc: Likewise.
1926         * testsuite/23_containers/multimap/debug/construct2_neg.cc: Likewise.
1927         * testsuite/23_containers/multimap/debug/insert2_neg.cc: Likewise.
1928         * testsuite/23_containers/multimap/debug/construct3_neg.cc: Likewise.
1929         * testsuite/23_containers/multimap/debug/insert3_neg.cc: Likewise.
1930         * testsuite/23_containers/multimap/debug/construct4_neg.cc: Likewise.
1931         * testsuite/23_containers/multimap/debug/insert4_neg.cc: Likewise.
1932         * testsuite/23_containers/set/debug/insert1_neg.cc: Likewise.
1933         * testsuite/23_containers/set/debug/construct1_neg.cc: Likewise.
1934         * testsuite/23_containers/set/debug/construct2_neg.cc: Likewise.
1935         * testsuite/23_containers/set/debug/insert2_neg.cc: Likewise.
1936         * testsuite/23_containers/set/debug/construct3_neg.cc: Likewise.
1937         * testsuite/23_containers/set/debug/insert3_neg.cc: Likewise.
1938         * testsuite/23_containers/set/debug/construct4_neg.cc: Likewise.
1939         * testsuite/23_containers/set/debug/insert4_neg.cc: Likewise.
1940         * testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc:
1941         Likewise.
1942         * testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc:
1943         Likewise.
1944         * testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc:
1945         Likewise.
1946         * testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc:
1947         Likewise.
1948         * testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc:
1949         Likewise.
1950         * testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc:
1951         Likewise.
1952         * testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc:
1953         Likewise.
1954         * testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc:
1955         Likewise.
1956         * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise.
1957         * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise.
1958         * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise.
1959         * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise.
1960         * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise.
1961         * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise.
1962         * testsuite/23_containers/vector/debug/construct4_neg.cc: Likewise.
1963         * testsuite/23_containers/vector/debug/assign4_neg.cc: Likewise.
1964         * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise.
1965         * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise.
1966         * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise.
1967         * testsuite/23_containers/vector/debug/insert4_neg.cc: Likewise.
1968         * testsuite/23_containers/unordered_set/debug/insert1_neg.cc: Likewise.
1969         * testsuite/23_containers/unordered_set/debug/construct1_neg.cc:
1970         Likewise.
1971         * testsuite/23_containers/unordered_set/debug/construct2_neg.cc:
1972         Likewise.
1973         * testsuite/23_containers/unordered_set/debug/insert2_neg.cc: Likewise.
1974         * testsuite/23_containers/unordered_set/debug/construct3_neg.cc:
1975         Likewise.
1976         * testsuite/23_containers/unordered_set/debug/insert3_neg.cc: Likewise.
1977         * testsuite/23_containers/unordered_set/debug/construct4_neg.cc:
1978         Likewise.
1979         * testsuite/23_containers/unordered_set/debug/insert4_neg.cc: Likewise.
1980         * testsuite/23_containers/deque/debug/assign1_neg.cc: Likewise.
1981         * testsuite/23_containers/deque/debug/construct1_neg.cc: Likewise.
1982         * testsuite/23_containers/deque/debug/construct2_neg.cc: Likewise.
1983         * testsuite/23_containers/deque/debug/assign2_neg.cc: Likewise.
1984         * testsuite/23_containers/deque/debug/construct3_neg.cc: Likewise.
1985         * testsuite/23_containers/deque/debug/assign3_neg.cc: Likewise.
1986         * testsuite/23_containers/deque/debug/construct4_neg.cc: Likewise.
1987         * testsuite/23_containers/deque/debug/assign4_neg.cc: Likewise.
1988         * testsuite/23_containers/deque/debug/insert1_neg.cc: Likewise.
1989         * testsuite/23_containers/deque/debug/insert2_neg.cc: Likewise.
1990         * testsuite/23_containers/deque/debug/insert3_neg.cc: Likewise.
1991         * testsuite/23_containers/deque/debug/insert4_neg.cc: Likewise.
1992         * testsuite/23_containers/multiset/debug/insert1_neg.cc: Likewise.
1993         * testsuite/23_containers/multiset/debug/construct1_neg.cc: Likewise.
1994         * testsuite/23_containers/multiset/debug/construct2_neg.cc: Likewise.
1995         * testsuite/23_containers/multiset/debug/insert2_neg.cc: Likewise.
1996         * testsuite/23_containers/multiset/debug/construct3_neg.cc: Likewise.
1997         * testsuite/23_containers/multiset/debug/insert3_neg.cc: Likewise.
1998         * testsuite/23_containers/multiset/debug/construct4_neg.cc: Likewise.
1999         * testsuite/23_containers/multiset/debug/insert4_neg.cc: Likewise.
2000         * testsuite/23_containers/list/debug/assign1_neg.cc: Likewise.
2001         * testsuite/23_containers/list/debug/construct1_neg.cc: Likewise.
2002         * testsuite/23_containers/list/debug/construct2_neg.cc: Likewise.
2003         * testsuite/23_containers/list/debug/assign2_neg.cc: Likewise.
2004         * testsuite/23_containers/list/debug/construct3_neg.cc: Likewise.
2005         * testsuite/23_containers/list/debug/assign3_neg.cc: Likewise.
2006         * testsuite/23_containers/list/debug/construct4_neg.cc: Likewise.
2007         * testsuite/23_containers/list/debug/assign4_neg.cc: Likewise.
2008         * testsuite/23_containers/list/debug/insert1_neg.cc: Likewise.
2009         * testsuite/23_containers/list/debug/insert2_neg.cc: Likewise.
2010         * testsuite/23_containers/list/debug/insert3_neg.cc: Likewise.
2011         * testsuite/23_containers/list/debug/insert4_neg.cc: Likewise.
2012         * testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc:
2013         Likewise.
2014         * testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc:
2015         Likewise.
2016         * testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc:
2017         Likewise.
2018         * testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc:
2019         Likewise.
2020         * testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc:
2021         Likewise.
2022         * testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc:
2023         Likewise.
2024         * testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc:
2025         Likewise.
2026         * testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc:
2027         Likewise.
2028         * testsuite/23_containers/map/debug/insert1_neg.cc: Likewise.
2029         * testsuite/23_containers/map/debug/construct1_neg.cc: Likewise.
2030         * testsuite/23_containers/map/debug/construct2_neg.cc: Likewise.
2031         * testsuite/23_containers/map/debug/insert2_neg.cc: Likewise.
2032         * testsuite/23_containers/map/debug/construct3_neg.cc: Likewise.
2033         * testsuite/23_containers/map/debug/insert3_neg.cc: Likewise.
2034         * testsuite/23_containers/map/debug/construct4_neg.cc: Likewise.
2035         * testsuite/23_containers/map/debug/insert4_neg.cc: Likewise.
2036
2037         * testsuite/23_containers/unordered_map/debug/cont_traits.h: Remove.
2038         * testsuite/23_containers/unordered_map/debug/debug_cont_traits.h:
2039         Likewise.
2040         * testsuite/23_containers/multimap/debug/cont_traits.h: Likewise.
2041         * testsuite/23_containers/multimap/debug/debug_cont_traits.h: Likewise.
2042         * testsuite/23_containers/set/debug/cont_traits.h: Likewise.
2043         * testsuite/23_containers/set/debug/debug_cont_traits.h: Likewise.
2044         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h:
2045         Likewise.
2046         * testsuite/23_containers/unordered_multimap/debug/
2047         debug_cont_traits.h: Likewise.
2048         * testsuite/23_containers/vector/debug/cont_traits.h: Likewise.
2049         * testsuite/23_containers/vector/debug/debug_cont_traits.h: Likewise.
2050         * testsuite/23_containers/unordered_set/debug/cont_traits.h: Likewise.
2051         * testsuite/23_containers/unordered_set/debug/debug_cont_traits.h:
2052         Likewise.
2053         * testsuite/23_containers/deque/debug/cont_traits.h: Likewise.
2054         * testsuite/23_containers/deque/debug/debug_cont_traits.h: Likewise.
2055         * testsuite/23_containers/multiset/debug/cont_traits.h: Likewise.
2056         * testsuite/23_containers/multiset/debug/debug_cont_traits.h: Likewise.
2057         * testsuite/23_containers/list/debug/cont_traits.h: Likewise.
2058         * testsuite/23_containers/list/debug/debug_cont_traits.h: Likewise.
2059         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h:
2060         Likewise.
2061         * testsuite/23_containers/unordered_multiset/debug/
2062         debug_cont_traits.h: Likewise.
2063         * testsuite/23_containers/map/debug/cont_traits.h: Likewise.
2064         * testsuite/23_containers/map/debug/debug_cont_traits.h: Likewise.
2065
2066         * testsuite/21_strings/basic_string/element_access/char: Tidy.
2067         * testsuite/21_strings/basic_string/element_access/wchar_t: Likewise.
2068
2069 2010-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
2070
2071         PR libstdc++/40974
2072         * include/Makefile.am: Add -nostdinc++ to PCHFLAGS.
2073         * include/Makefile.in: Regenerate.
2074
2075 2010-09-01  Christopher Yeleighton  <giecrilj@stegny.2a.pl>
2076             Paolo Carlini  <paolo.carlini@oracle.com>
2077
2078         PR libstdc++/45488
2079         * include/bits/stl_algobase.h (lower_bound): Clean-up a tad, move
2080         two variables inside the main loop.
2081         * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range):
2082         Likewise.
2083
2084 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
2085
2086         PR libstdc++/44480
2087         * include/bits/hashtable.h (_Hashtable<>::_M_begin_bucket_index):
2088         Add, caching the index of the first non-empty bucket.
2089         (begin, cbegin): Use it.
2090         (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator, ...),
2091         _Hashtable(const _Hashtable&), _Hashtable(_Hashtable&&),
2092         swap(_Hashtable&), clear): Adjust.
2093         (_M_insert_bucket, _M_insert, erase(const_iterator),
2094         erase(const key_type&), _M_rehash): Update it.
2095
2096         * include/bits/hashtable.h (_Hashtable<>::_M_erase): Remove.
2097         (erase(const_iterator)): Inline the latter.
2098
2099 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
2100
2101         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
2102         Fix test01 return type to void.
2103         * testsuite/util/exception/safety.h: Avoid -Wall -m32 warnings.
2104         * testsuite/util/replacement_memory_operators.h: Likewise.
2105
2106 2010-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
2107
2108         * testsuite/23_containers/bitset/invalidation: Move...
2109         * testsuite/23_containers/bitset/debug/invalidation: ... here.
2110         * testsuite/23_containers/deque/invalidation: Move...
2111         * testsuite/23_containers/deque/debug/invalidation: ... here.
2112         * testsuite/23_containers/list/invalidation: Move...
2113         * testsuite/23_containers/list/debug/invalidation: ... here.
2114         * testsuite/23_containers/map/invalidation: Move...
2115         * testsuite/23_containers/map/debug/invalidation: ... here.
2116         * testsuite/23_containers/multimap/invalidation: Move...
2117         * testsuite/23_containers/multimap/debug/invalidation: ... here.
2118         * testsuite/23_containers/set/invalidation: Move...
2119         * testsuite/23_containers/set/debug/invalidation: ... here.
2120         * testsuite/23_containers/multiset/invalidation: Move...
2121         * testsuite/23_containers/multiset/debug/invalidation: ... here.
2122         * testsuite/23_containers/vector/invalidation: Move...
2123         * testsuite/23_containers/vector/debug/invalidation: ... here.
2124
2125 2010-08-29  François Dumont  <francois.cppdevs@free.fr>
2126
2127         * include/bits/stl_algobase.h (_Iter_base):  Move...
2128         * include/bits/stl_iterator_base_types.h: ...here.
2129         * include/debug/functions.h (__check_valid_range, __check_string,
2130         __check_sorted): Fix to not depend on _GLIBCXX_DEBUG; include
2131         formatter.h and use formatting macros for a consistent debug result.
2132         * include/debug/formatter.h (__check_singular): Declare; do not
2133         include debug.h.
2134         * include/debug/debug.h: Do not include formatter.h.
2135         * include/debug/safe_iterator.h (_Safe_iterator::_Base_Iterator)
2136         rename to iterator_type.
2137         (__gnu_debug::__base): Add.
2138         * include/debug/set.h: Use everywhere __gnu_debug::__base once
2139         iterator range valided.
2140         * include/debug/unordered_map: Likewise.
2141         * include/debug/multiset.h: Likewise.
2142         * include/debug/vector: Likewise.
2143         * include/debug/unordered_set: Likewise.
2144         * include/debug/deque: Likewise.
2145         * include/debug/map.h: Likewise.
2146         * include/debug/string: Likewise.
2147         * include/debug/list: Likewise.
2148         * include/debug/multimap.h: Likewise.
2149         * testsuite/23_containers/util/debug/assign_neg.h: New test cases on
2150         debug checks performed on container assign operation.
2151         * testsuite/23_containers/util/debug/construct_neg.h: New test cases
2152         on debug checks on constructors.
2153         * testsuite/23_containers/util/debug/insert_neg.h: New test cases on
2154         debug checks performed on container insert operations.
2155         * testsuite/23_containers/unordered_map/debug/cont_traits.h,
2156         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2157         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2158         insert3_neg.cc, insert4_neg.cc: New.
2159         * testsuite/23_containers/multimap/debug/cont_traits.h,
2160         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2161         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2162         insert3_neg.cc, insert4_neg.cc: Likewise.
2163         * testsuite/23_containers/set/debug/cont_traits.h,
2164         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2165         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2166         insert3_neg.cc, insert4_neg.cc: Likewise.
2167         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h,
2168         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2169         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2170         insert3_neg.cc, insert4_neg.cc: Likewise.
2171         * testsuite/23_containers/unordered_set/debug/cont_traits.h,
2172         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2173         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2174         insert3_neg.cc, insert4_neg.cc: Likewise.
2175         * testsuite/23_containers/multiset/debug/cont_traits.h,
2176         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2177         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2178         insert3_neg.cc, insert4_neg.cc: Likewise.
2179         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h,
2180         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2181         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2182         insert3_neg.cc, insert4_neg.cc: Likewise.
2183         * testsuite/23_containers/map/debug/cont_traits.h,
2184         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
2185         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2186         insert3_neg.cc, insert4_neg.cc: Likewise.
2187         * testsuite/23_containers/vector/debug/cont_traits.h,
2188         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2189         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2190         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2191         insert3_neg.cc, insert4_neg.cc: Likewise.
2192         * testsuite/23_containers/deque/debug/cont_traits.h,
2193         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2194         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2195         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2196         insert3_neg.cc, insert4_neg.cc: Likewise.
2197         * testsuite/23_containers/list/debug/cont_traits.h,
2198         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
2199         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
2200         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
2201         insert3_neg.cc, insert4_neg.cc: Likewise.
2202         * testsuite/performance/23_containers/range_construct/
2203         list_construct1.cc: New, validate performance impact of the patch
2204         on the debug mode.
2205         * testsuite/performance/23_containers/range_construct/
2206         list_construct2.cc: Likewise.
2207         * testsuite/performance/23_containers/range_construct/
2208         vector_construct.cc: Likewise.
2209         * testsuite/performance/23_containers/range_construct/
2210         deque_construct.cc: Likewise.
2211
2212 2010-08-26  Benjamin Kosnik  <bkoz@redhat.com>
2213
2214         * include/bits/stl_iterator_base_types.h: Fix doxygen warning.
2215
2216 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2217
2218         * configure: Regenerate.
2219
2220 2010-08-18  Kostya Serebryany <kcc@google.com>
2221             Paolo Carlini  <paolo.carlini@oracle.com>
2222
2223         PR libstdc++/45276
2224         * doc/xml/manual/debug.xml ([debug.races]): Add.
2225
2226 2010-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
2227
2228         PR libstdc++/45300
2229         * include/c_std/cwchar: Replace 'restrict' -> '__restrict'.
2230         * include/c_global/cwchar: Likewise.
2231
2232 2010-08-16  Paolo Carlini  <paolo.carlini@oracle.com>
2233
2234         PR libstdc++/45300
2235         * include/c_std/cstdlib: Replace 'restrict' -> '__restrict'.
2236         * include/c_std/cstdio: Likewise.
2237         * include/c_global/cstdlib: Likewise.
2238         * include/c_global/cstdio: Likewise.
2239
2240 2010-08-16  Chris Moller  <cmoller@redhat.com>
2241
2242         http://sourceware.org/bugzilla/show_bug.cgi?id=11874
2243         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Added stuff
2244         to handle pretty-printing of std::vector<bool>.
2245
2246 2010-08-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2247
2248         PR libstdc++/45283
2249         * testsuite/performance/30_threads/future/polling.cc: Replace calls to
2250         shared_future::is_ready.
2251
2252 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2253
2254         * include/bits/hashtable.h (_Hashtable<>::operator=(const
2255         _Hashtable&)): Move inline.
2256         (operator=(_Hashtable&&)): Define.
2257         * include/bits/unordered_map.h (unordered_map(unordered_map&&),
2258         unordered_map(const unordered_map&), unordered_multimap
2259         (unordered_multimap&&), unordered_multimap(const unordered_multimap&),
2260         __unordered_map(__unordered_map&&), __unordered_map(const
2261         __unordered_map&), __unordered_multimap(__unordered_multimap&&),
2262         __unordered_multimap(const __unordered_multimap&)): Do not define,
2263         leave implicit.
2264         * include/bits/unordered_set.h (unordered_set(unordered_set&&),
2265         unordered_set(const unordered_set&), unordered_multiset
2266         (unordered_multiset&&), unordered_multiset(const unordered_multiset&),
2267         __unordered_set(__unordered_set&&), __unordered_set(const
2268         __unordered_set&), __unordered_multiset(__unordered_multiset&&),
2269         __unordered_multiset(const __unordered_multiset&)): Likewise.
2270
2271         * include/bits/unordered_map.h (__unordered_map(initializer_list<>),
2272         __unordered_map<>::operator=(initializer_list<>),
2273         __unordered_multimap(initializer_list<>), __unordered_multimap<>::
2274         operator=(initializer_list<>)): Add.
2275         * include/bits/unordered_set.h (__unordered_set(initializer_list<>),
2276         __unordered_set<>::operator=(initializer_list<>),
2277         __unordered_multiset(initializer_list<>), __unordered_multiset<>::
2278         operator=(initializer_list<>)): Likewise.
2279
2280         * include/bits/unordered_map.h (__unordered_map(_InputIterator,
2281         _InputIterator, size_type __n), unordered_map(_InputIterator,
2282         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2283         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2284         Fix __n default to 0.
2285         * include/bits/unordered_set.h (__unordered_set(_InputIterator,
2286         _InputIterator, size_type __n), unordered_set(_InputIterator,
2287         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2288         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2289         Likewise.
2290         * include/debug/unordered_map (unordered_map(_InputIterator,
2291         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2292         size_type __n), unordered_map(_InputIterator, _InputIterator,
2293         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2294         Likewise.
2295         * include/debug/unordered_set (unordered_set(_InputIterator,
2296         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2297         size_type __n), unordered_set(_InputIterator, _InputIterator,
2298         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2299         Likewise.
2300         * include/profile/unordered_map (unordered_map(_InputIterator,
2301         _InputIterator, size_type __n), unordered_map(initializer_list<>,
2302         size_type __n), unordered_map(_InputIterator, _InputIterator,
2303         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
2304         Likewise.
2305         * include/profile/unordered_set (unordered_set(_InputIterator,
2306         _InputIterator, size_type __n), unordered_set(initializer_list<>,
2307         size_type __n), unordered_set(_InputIterator, _InputIterator,
2308         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
2309         Likewise.
2310
2311 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2312
2313         PR libstdc++/45281
2314         * include/bits/stl_queue.h (queue(queue&&), operator=(queue&&),
2315         priority_queue(priority_queue&&), operator=(priority_queue&&)):
2316         Remove, per CH 15.
2317
2318 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2319
2320         * testsuite/23_containers/unordered_map/dr1189.cc: Move to...
2321         * testsuite/23_containers/unordered_map/hash_policy/dr1189.cc:
2322         ... here.
2323         * testsuite/23_containers/unordered_set/dr1189.cc: Move to...
2324         * testsuite/23_containers/unordered_set/hash_policy/dr1189.cc:
2325         ... here.
2326         * testsuite/23_containers/unordered_multimap/dr1189.cc: Move to...
2327         * testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc:
2328         ... here.
2329         * testsuite/23_containers/unordered_multiset/dr1189.cc: Move to...
2330         * testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc:
2331         ... here.
2332
2333         * testsuite/23_containers/unordered_set/hash_policy/26132.cc: New.
2334
2335 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
2336
2337         * src/ios_init.cc (ios_base::Init::~Init): Add back semicolon
2338         at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS_* macros,
2339         removed by mistake.
2340         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
2341         * include/ext/rc_string_base.h: Likewise.
2342         * include/bits/locale_classes.h: Likewise.
2343         * include/bits/basic_string.h: Likewise.
2344         * include/bits/ios_base.h: Likewise.
2345         * include/bits/c++config: Adjust comment.
2346
2347 2010-08-12  Kostya Serebryany <kcc@google.com>
2348             Paolo Carlini  <paolo.carlini@oracle.com>
2349
2350         * include/bits/c++config (_GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE,
2351         _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER): Add.
2352         * src/ios_init.cc (ios_base::Init::~Init): Decorate with the
2353         latter.
2354         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
2355         * include/ext/rc_string_base.h: Likewise.
2356         * include/bits/locale_classes.h: Likewise.
2357         * include/bits/basic_string.h: Likewise.
2358         * include/bits/ios_base.h: Likewise.
2359         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
2360         line number.
2361         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2362         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
2363
2364 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2365
2366         * include/bits/hashtable.h (_Hashtable<>::erase(const key_type&)):
2367         Use std::__addressof.
2368
2369         * include/bits/forward_list.tcc (forward_list<>::remove): Deal
2370         correctly with &__tmp->_M_value == &__val.
2371         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
2372         New.
2373
2374 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2375
2376         * include/bits/stl_algo.h (shuffle): Change signature consistently
2377         with random_shuffle (US 121).
2378         * include/bits/algorithmfwd.h: Adjust.
2379         * testsuite/25_algorithms/shuffle/requirements/
2380         explicit_instantiation/2.cc: Likewise.
2381         * testsuite/25_algorithms/shuffle/requirements/
2382         explicit_instantiation/pod.cc: Likewise.
2383
2384 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2385
2386         * include/bits/move.h (forward): Reinstate the N2835 version.
2387
2388 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2389
2390         PR libstdc++/42925
2391         * include/bits/unique_ptr.h (operator==(const unique_ptr<>&,
2392         nullptr_t), operator==(nullptr_t, const unique_ptr<>&),
2393         operator!=(const unique_ptr<>&, nullptr_t),
2394         operator!=(nullptr_t, const unique_ptr<>&)): Add.
2395         * include/bits/shared_ptr_base.h (operator==(const __shared_ptr<>&,
2396         nullptr_t), operator==(nullptr_t, const __shared_ptr<>&),
2397         operator!=(const __shared_ptr<>&, nullptr_t),
2398         operator!=(nullptr_t, const __shared_ptr<>&)): Likewise.
2399         * include/bits/shared_ptr.h (operator==(const shared_ptr<>&,
2400         nullptr_t), operator==(nullptr_t, const shared_ptr<>&),
2401         operator!=(const shared_ptr<>&, nullptr_t),
2402         operator!=(nullptr_t, const shared_ptr<>&)): Likewise.
2403         * testsuite/20_util/unique_ptr/comparison/42925.cc: New.
2404         * testsuite/20_util/shared_ptr/comparison/42925.cc: Likewise.
2405         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2406         dg-error line numbers.
2407
2408 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
2409
2410         * include/bits/unique_ptr.h: Replace _Tp_Deleter -> _Dp, and
2411         _Up_Deleter -> _Ep.
2412
2413 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2414
2415         * include/bits/shared_ptr_base.h: Remove a few now redundant
2416         __glibcxx_function_requires(_ConvertibleConcept...).
2417         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error
2418         line number.
2419         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2420
2421 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2422
2423         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Avoid -Wall
2424         warnings.
2425         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
2426
2427 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2428
2429         * testsuite/23_containers/array/range_access.cc: Avoid -Wall
2430         warnings.
2431
2432 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2433
2434         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
2435         warnings.
2436
2437         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
2438         (const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
2439         weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
2440         Constrain appropriately via std::is_convertible, etc.
2441         * include/bits/shared_ptr_base.h: Likewise.
2442         * include/bits/unique_ptr.h (default_delete<>::
2443         default_delete(const default_delete<>&),
2444         unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
2445         Likewise.
2446
2447         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2448         line numbers.
2449         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
2450
2451         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
2452         Add.
2453         * include/std/memory: Adjust includes order.
2454         * testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
2455         * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
2456         * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.
2457
2458 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
2459
2460         PR libstdc++/45228
2461         * include/std/tuple (tuple<typename... _Elements>): Constrain
2462         converting constructors and assignment operators with
2463         sizeof...(_UElements) == sizeof...(_Elements).
2464         (tuple(tuple<_UElements...>&): Remove.
2465         (tuple<typename _T1>): Add.
2466         * testsuite/20_util/tuple/cons/45228.cc: New.
2467         * testsuite/20_util/tuple/cons/converting.cc: Likewise.
2468         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2469         dg-error line number.
2470
2471         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(const _Tuple_impl&)):
2472         Defaulted.
2473
2474         * include/std/tuple (tuple<typename _T1, typename _T2>
2475         ::operator=(pair<_U1, _U2>&&)): Use forward.
2476
2477 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
2478
2479         PR libstdc++/44963
2480         * include/bits/stl_iterator.h (insert_iterator<>::
2481         operator=(const typename _Container::value_type&,
2482         back_insert_iterator<>::
2483         operator=(const typename _Container::value_type&),
2484         front_insert_iterator<>::
2485         operator=(const typename _Container::value_type&))): Add
2486         in C++0x mode.
2487         * testsuite/ext/rope/44963.cc: New.
2488         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
2489         dg-error line number.
2490
2491 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
2492
2493         * include/c_global/cmath: Implement US 136.
2494         * include/tr1_impl/cmath: Do not bring fpclassify, etc from namespace
2495         std, define namespace tr1.
2496         * testsuite/26_numerics/headers/cmath/
2497         c99_classification_macros_c++0x.cc: New.
2498
2499 2010-08-06  David Malcolm  <dmalcolm@redhat.com>
2500             Jan Kratochvil  <jan.kratochvil@redhat.com>
2501
2502         * python/hook.in: Rename variable dir to dir_.
2503
2504 2010-08-06  Jason Merrill  <jason@redhat.com>
2505
2506         * include/std/thread: Add deleted thread(thread&).
2507         * testsuite/30_threads/thread/cons/copy_neg.cc: Remove XFAIL.
2508
2509 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2510
2511         * include/std/tuple (pack_arguments): Rename to forward_as_tuple
2512         and simplify, per US 98 and US 99.
2513         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc:
2514         Rename to...
2515         * testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc:
2516         ... this, adjust.
2517         * testsuite/20_util/pair/piecewise.cc: Adjust.
2518
2519 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2520
2521         * include/std/tuple (begin, end): Remove per GB 87.
2522         * testsuite/20_util/tuple/range_access.cc: Remove.
2523
2524 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
2525
2526         * include/std/ratio (ratio_less): Improve, use ratio_divide to avoid
2527         more overflows.
2528         * testsuite/20_util/ratio/comparisons/comp1.cc: Extend.
2529         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2530
2531 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
2532
2533         * include/tr1_impl/utility (begin, end): Remove per GB 85.
2534         * testsuite/20_util/pair/range_access.cc: Remove.
2535
2536         * include/std/functional (function<>::function()): Remove explicit,
2537         per JP 3.
2538
2539 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
2540
2541         * include/bits/move.h (forward): Update to N3092.
2542         (identity): Remove (US 92 is NAD).
2543         * include/debug/set.h: Fix move constructor to simply use move.
2544         * include/debug/unordered_map: Likewise.
2545         * include/debug/multiset.h: Likewise.
2546         * include/debug/vector: Likewise.
2547         * include/debug/unordered_set: Likewise.
2548         * include/debug/deque: Likewise.
2549         * include/debug/map.h: Likewise.
2550         * include/debug/string: Likewise.
2551         * include/debug/list: Likewise.
2552         * include/debug/multimap.h: Likewise.
2553         * include/profile/set.h: Likewise.
2554         * include/profile/unordered_map: Likewise.
2555         * include/profile/multiset.h: Likewise.
2556         * include/profile/unordered_set: Likewise.
2557         * include/profile/vector: Likewise.
2558         * include/profile/deque: Likewise.
2559         * include/profile/map.h: Likewise.
2560         * include/profile/list: Likewise.
2561         * include/profile/multimap.h: Likewise.
2562         * include/ext/vstring.h: Likewise.
2563         * include/bits/stl_list.h: Likewise.
2564         * include/bits/stl_map.h: Likewise.
2565         * include/bits/stl_set.h: Likewise.
2566         * include/bits/forward_list.h: Likewise.
2567         * include/bits/stl_multimap.h: Likewise.
2568         * include/bits/unordered_map.h: Likewise.
2569         * include/bits/stl_vector.h: Likewise.
2570         * include/bits/stl_deque.h: Likewise.
2571         * include/bits/stl_multiset.h: Likewise.
2572         * include/bits/unordered_set.h: Likewise.
2573         * include/bits/stl_bvector.h: Likewise.
2574         * testsuite/20_util/identity/value.cc: Remove
2575         * testsuite/20_util/identity/requirements/typedefs.cc: Likewise.
2576         * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
2577         Likewise.
2578
2579 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2580
2581         * acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix
2582         messages.
2583         * configure: Regenerate.
2584
2585 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2586
2587         * include/ext/vstring_util.h: Include bits/range_access.h.
2588         * testsuite/ext/vstring/range_access.cc: New test.
2589
2590 2010-07-27  Ed Smith-Rowland  <3dw4rd@verizon.net>
2591
2592         * include/bits/range_access.h: New.
2593         * include/Makefile.in: Add bits/range_access.h.
2594         * include/Makefile.am: Regenerate.
2595         * include/std/array: Include bits/range_access.h.
2596         * include/std/deque: Ditto.
2597         * include/std/forward_list: Ditto.
2598         * include/std/iterator: Ditto.
2599         * include/std/list: Ditto.
2600         * include/std/map: Ditto.
2601         * include/std/regex: Ditto.
2602         * include/std/set: Ditto.
2603         * include/std/string: Ditto.
2604         * include/std/unordered_map: Ditto.
2605         * include/std/unordered_set: Ditto.
2606         * include/std/vector: Ditto.
2607         * include/std/valarray: Add begin() and end().
2608         * libsupc++/initializer_list: Ditto.
2609         * include/tr1_impl/utility: Add begin() and end().
2610         * include/std/tuple: Ditto.
2611         * testsuite/24_iterators/headers/iterator/range_access.cc: New test.
2612         * testsuite/24_iterators/range_access.cc: Ditto.
2613         * testsuite/28_regex/range_access.cc: Ditto.
2614         * testsuite/18_support/initializer_list/range_access.cc: Ditto.
2615         * testsuite/21_strings/basic_string/range_access.cc: Ditto.
2616         * testsuite/26_numerics/valarray/range_access.cc: Ditto.
2617         * testsuite/23_containers/unordered_map/range_access.cc: Ditto.
2618         * testsuite/23_containers/multimap/range_access.cc: Ditto.
2619         * testsuite/23_containers/set/range_access.cc: Ditto.
2620         * testsuite/23_containers/unordered_multimap/range_access.cc: Ditto.
2621         * testsuite/23_containers/forward_list/range_access.cc: Ditto.
2622         * testsuite/23_containers/unordered_set/range_access.cc: Ditto.
2623         * testsuite/23_containers/vector/range_access.cc: Ditto.
2624         * testsuite/23_containers/deque/range_access.cc: Ditto.
2625         * testsuite/23_containers/multiset/range_access.cc: Ditto.
2626         * testsuite/23_containers/list/range_access.cc: Ditto.
2627         * testsuite/23_containers/unordered_multiset/range_access.cc: Ditto.
2628         * testsuite/23_containers/map/range_access.cc: Ditto.
2629         * testsuite/23_containers/array/range_access.cc: Ditto.
2630         * testsuite/20_util/tuple/range_access.cc: Ditto.
2631         * testsuite/20_util/pair/range_access.cc: Ditto.
2632
2633 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2634             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2635
2636         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove.
2637         ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Add, actually
2638         compute the constants via AC_COMPUTE_INT.
2639         * configure.ac: Call the latter.
2640         * include/bits/ios_base.h: Adjust.
2641         * include/bits/char_traits.h: Likewise.
2642         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
2643         line number.
2644         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2645         * config.h.in: Regenerate.
2646         * configure: Likewise.
2647
2648 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
2649
2650         * config/io/c_io_stdio.h: Do not include <cstddef>.
2651
2652 2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2653
2654         * testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
2655         9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
2656         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
2657         Solaris 9/x86 and 32-bit Solaris 10/x86.
2658
2659         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
2660         Only XFAIL on Solaris 8 and 9.
2661         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
2662         Likewise.
2663
2664         * testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.
2665
2666 2010-07-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
2667
2668         PR libstdc++/45060
2669         * include/bits/hashtable.h (_Hashtable::_Hashtable(_Hashtable&&)):
2670         Reorder mem-initializers.
2671
2672 2010-07-22  Benjamin Kosnik  <bkoz@redhat.com>
2673
2674         DocBook 4.5 to 5.0 transition.
2675         * doc/xml/authors.xml: Update markup to DocBook 5.0.
2676         * doc/xml/faq.xml: Same.
2677         * doc/xml/api.xml: Same.
2678         * doc/xml/class.txml
2679         * doc/xml/gnu/gpl-3.0.xml: Same.
2680         * doc/xml/gnu/fdl-1.2.xml: Same.
2681         * doc/xml/gnu/fdl-1.3.xml: Same.
2682         * doc/xml/gnu/gpl-2.0.xml: Same.
2683         * doc/xml/chapter.txml: Same.
2684         * doc/xml/manual/mt_allocator.xml: Same.
2685         * doc/xml/manual/allocator.xml: Same.
2686         * doc/xml/manual/ctype.xml: Same.
2687         * doc/xml/manual/numerics.xml: Same.
2688         * doc/xml/manual/codecvt.xml: Same.
2689         * doc/xml/manual/backwards_compatibility.xml: Same.
2690         * doc/xml/manual/concurrency.xml: Same.
2691         * doc/xml/manual/intro.xml: Same.
2692         * doc/xml/manual/abi.xml: Same.
2693         * doc/xml/manual/shared_ptr.xml: Same.
2694         * doc/xml/manual/status_cxxtr1.xml: Same.
2695         * doc/xml/manual/auto_ptr.xml: Same.
2696         * doc/xml/manual/internals.xml: Same.
2697         * doc/xml/manual/atomics.xml: Same.
2698         * doc/xml/manual/parallel_mode.xml: Same.
2699         * doc/xml/manual/status_cxx1998.xml: Same.
2700         * doc/xml/manual/profile_mode.xml: Same.
2701         * doc/xml/manual/containers.xml: Same.
2702         * doc/xml/manual/io.xml: Same.
2703         * doc/xml/manual/concurrency_extensions.xml: Same.
2704         * doc/xml/manual/appendix_porting.xml: Same.
2705         * doc/xml/manual/utilities.xml: Same.
2706         * doc/xml/manual/support.xml: Same.
2707         * doc/xml/manual/bitmap_allocator.xml: Same.
2708         * doc/xml/manual/configure.xml: Same.
2709         * doc/xml/manual/build_hacking.xml: Same.
2710         * doc/xml/manual/evolution.xml: Same.
2711         * doc/xml/manual/using.xml: Same.
2712         * doc/xml/manual/using_exceptions.xml: Same.
2713         * doc/xml/manual/debug.xml: Same.
2714         * doc/xml/manual/localization.xml: Same.
2715         * doc/xml/manual/strings.xml: Same.
2716         * doc/xml/manual/debug_mode.xml: Same.
2717         * doc/xml/manual/locale.xml: Same.
2718         * doc/xml/manual/extensions.xml: Same.
2719         * doc/xml/manual/appendix_contributing.xml: Same.
2720         * doc/xml/manual/prerequisites.xml: Same.
2721         * doc/xml/manual/messages.xml: Same.
2722         * doc/xml/manual/diagnostics.xml: Same.
2723         * doc/xml/manual/algorithms.xml: Same.
2724         * doc/xml/manual/appendix_free.xml: Same.
2725         * doc/xml/manual/iterators.xml: Same.
2726         * doc/xml/manual/spine.xml: Same.
2727         * doc/xml/manual/status_cxxtr24733.xml: Same.
2728         * doc/xml/manual/status_cxx200x.xml: Same.
2729         * doc/xml/manual/test.xml: Same.
2730         * doc/xml/book.txml: Same.
2731         * doc/xml/spine.xml: Same.
2732         * doc/Makefile.am: Same.
2733         * doc/Makefile.in: Regenerate.
2734
2735 2010-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2736
2737         * doc/xml/manual/appendix_contributing.xml: Update for new reality.
2738         * doc/Makefile.am (doc-xml): New default rule for XML output.
2739         (doc-xml-single-doxygen): Standardize output names.
2740         * doc/Makefile.in: Regenerate.
2741
2742         * doc/doxygen/user.cfg.in: Tweak.
2743
2744 2010-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
2745
2746         * libsupc++/unwind-cxx.h: Minor formatting / stylistic tweaks.
2747
2748 2010-07-20  Mikael Pettersson  <mikpe@it.uu.se>
2749
2750         PR libstdc++/44902
2751         * libsupc++/unwind-cxx.h (__cxa_type_match): Correct prototype.
2752         (__cxa_begin_cleanup): Likewise.
2753
2754 2010-07-19  Benjamin Kosnik  <bkoz@redhat.com>
2755
2756         * doc/Makefile.am (doc-texinfo): New rule.
2757         (doc-texinfo-docbook): New rule.
2758         (DB2TEXI_FLAGS): New.
2759         (doc-xml-single-docbook): Just the manual, not the set. Tweak flags.
2760         * doc/Makefile.in: Regenerate.
2761
2762 2010-07-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2763
2764         * doc/xml/manual/shared_ptr.xml: Update.
2765         * doc/html/*: Regenerate.
2766
2767 2010-07-13  Benjamin Kosnik  <bkoz@redhat.com>
2768
2769         * doc/Makefile.am: Edit pdf rules.
2770         (doc-man, doc-pdf, doc-html): Expand default rules.
2771         * doc/Makefile.in: Regenerate.
2772         * doc/doxygen/user.cfg.in: Update to Doxygen 1.7.1.
2773
2774 2010-07-11  Paolo Carlini  <paolo.carlini@oracle.com>
2775
2776         * include/std/type_traits (is_convertible): Use SFINAE.
2777         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
2778         dg-error line numbers.
2779         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2780         Likewise.
2781         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2782
2783 2010-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
2784
2785         PR libstdc++/44875
2786         * doc/xml/manual/status_cxx200x.xml: Corrections to status.
2787         * doc/html/*: Regenerate.
2788
2789 2010-07-08  Benjamin Kosnik  <bkoz@redhat.com>
2790
2791         * include/bits/stl_heap.h: Update markup.
2792         * include/bits/move.h: Same.
2793         * include/bits/algorithmfwd.h: Same.
2794         * include/bits/regex.h: Same.
2795         * include/bits/random.h: Same.
2796         * doc/doxygen/doxygroups.cc: Same.
2797         * doc/doxygen/user.cfg.in: Remove include/tr1_impl/regex from
2798         input file list.
2799         * doc/Makefile.am (doc-pdf-doxygen): Add comment, put generated
2800         pdf in location consistent with docbook pdf generation.
2801         * doc/Makefile.in: Regenerate.
2802
2803 2010-07-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2804
2805         * doc/xml/manual/status_cxx200x.xml: Add some missing features.
2806         * doc/html/*: Regenerate.
2807
2808 2010-07-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
2809
2810         * include/bits/regex_compiler.h: Fix filename in doxygen comment.
2811         * include/bits/regex_constants.h: Likewise.
2812         * include/bits/regex_error.h: Likewise.
2813         * include/bits/regex_grep_matcher.h: Likewise.
2814         * include/bits/regex_grep_matcher.tcc: Likewise.
2815         * include/bits/regex_nfa.tcc: Likewise.
2816
2817 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2818
2819         * acinclude.m4 (symvers_renaming): Define
2820         HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT instead of
2821         _GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
2822         Fix syntax error.
2823         * config.h.in: Regenerate.
2824         * configure: Regenerate.
2825
2826 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2827
2828         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle sun style.
2829         Require GCC_PROG_GNU_CXXFILT.
2830         (_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define
2831         unless targetting solaris2*.
2832         Include ../config/gc++filt.m4.
2833         * configure.host (i?86-*-solaris2*): Set abi_baseline_pair.
2834         (sparc-*-solaris2*): Likewise.
2835         * src/Makefile.am [ENABLE_SYMVERS_SUN] (version_dep, version_arg):
2836         New variables.
2837         (libstdc++-symbols.ver-sun): New target.
2838         * configure: Regenerate.
2839         * config.h.in: Regenerate.
2840         * Makefile.in: Likewise.
2841         * doc/Makefile.in: Likewise.
2842         * include/Makefile.in: Likewise.
2843         * libsupc++/Makefile.in: Likewise.
2844         * po/Makefile.in: Likewise.
2845         * python/Makefile.in: Likewise.
2846         * src/Makefile.in: Likewise.
2847         * src/atomic.cc: Only define/use _GLIBCXX_ASM_SYMVER if
2848         _GLIBCXX_HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
2849         * src/compatibility.cc: Likewise.
2850         * testsuite/Makefile.am (baseline_subdir): Define.
2851         (baseline_symbols): Use it.
2852         (new-abi-baseline): Likewise.
2853         * testsuite/Makefile.in: Regenerate.
2854
2855         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5): Enclose duplicates in
2856         #ifdef HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
2857         (GLIBCXX_3.4.6): Likewise.
2858
2859         * doc/xml/manual/configure.xml (--enable-symvers): Document sun
2860         style.
2861
2862         * doc/xml/manual/abi.xml: Fix grammar.
2863         (Symbol versioning on the libstdc++.so binary): Fix mapfile path.
2864         (Incremental bumping of a library pre-defined macro): Fix
2865         c++config path.
2866         (Incremental bumping of a library pre-defined macro,
2867         _GLIBCPP_VERSION): Likewise.
2868         (Matching each specific C++ compiler release to a specific set of
2869         C++ include files): Fix acinclude.m4 path.
2870         (Prerequisites): Allow for Sun linker on Solaris 2.5+.
2871         Use proper link to Configuring.
2872         Fix acinclude.m4 path.
2873         (Checking Active): Allow for additional symbol versioning styles.
2874         Provide Solaris 2 example with pvs -r.
2875         (Bibliography): Update Linker and Libraries Guide, C++ Migration
2876         Guide entries.
2877
2878 2010-06-29  Jason Merrill  <jason@redhat.com>
2879
2880         Enable implicitly declared move constructor/operator= (N3053).
2881         * include/bits/unordered_map.h: Explicitly default copy constructors.
2882         * include/bits/unordered_set.h: Likewise.
2883
2884         * 19_diagnostics/error_category/cons/copy_neg.cc: Adjust expected
2885         errors, use dg-prune-output.
2886         * 20_util/function/cmp/cmp_neg.cc: Likewise.
2887         * 20_util/unique_ptr/assign/assign_neg.cc: Likewise.
2888         * 20_util/unique_ptr/cons/pointer_array_convertible.cc: Likewise.
2889         * 20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
2890         * 29_atomics/atomic/cons/assign_neg.cc: Likewise.
2891         * 29_atomics/atomic/cons/copy_neg.cc: Likewise.
2892         * 29_atomics/atomic_address/cons/assign_neg.cc: Likewise.
2893         * 29_atomics/atomic_address/cons/copy_neg.cc: Likewise.
2894         * 29_atomics/atomic_flag/cons/assign_neg.cc: Likewise.
2895         * 29_atomics/atomic_flag/cons/copy_neg.cc: Likewise.
2896         * 29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
2897         * 29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2898         * 29_atomics/condition_variable/cons/assign_neg.cc: Likewise.
2899         * 30_threads/condition_variable/cons/copy_neg.cc: Likewise.
2900         * 30_threads/condition_variable_any/cons/assign_neg.cc: Likewise.
2901         * 30_threads/condition_variable_any/cons/copy_neg.cc: Likewise.
2902         * 30_threads/future/cons/assign_neg.cc: Likewise.
2903         * 30_threads/future/cons/copy_neg.cc: Likewise.
2904         * 30_threads/mutex/cons/assign_neg.cc: Likewise.
2905         * 30_threads/mutex/cons/copy_neg.cc: Likewise.
2906         * 30_threads/packaged_task/cons/assign_neg.cc: Likewise.
2907         * 30_threads/packaged_task/cons/copy_neg.cc: Likewise.
2908         * 30_threads/promise/cons/assign_neg.cc: Likewise.
2909         * 30_threads/promise/cons/copy_neg.cc: Likewise.
2910         * 30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2911         * 30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2912         * 30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise.
2913         * 30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
2914         * 30_threads/thread/cons/assign_neg.cc: Likewise.
2915         * 30_threads/thread/cons/copy_neg.cc: Likewise.
2916         * 30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2917         * 30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2918         * ext/ext_pointer/1_neg.cc: Likewise.
2919
2920 2010-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
2921
2922         PR libstdc++/44708
2923         * include/ext/algorithm (copy_n): Qualify __copy_n call with
2924         __gnu_cxx::
2925         * testsuite/ext/rope/44708.cc: New.
2926
2927 2010-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
2928
2929         * include/bits/regex_compiler.h: Trivial formatting / stylistic fixes.
2930         * include/bits/regex_grep_matcher.tcc: Likewise.
2931         * include/bits/regex_cursor.h: Likewise.
2932         * include/bits/regex.h: Likewise.
2933
2934 2010-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
2935
2936         * testsuite/util/testsuite_hooks.h: Cast fn to bool.
2937
2938 2010-06-26  Kees Cook  <kees.cook@canonical.com>
2939
2940         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Verify freopen.
2941         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2942         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2943         * testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
2944         * testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
2945         * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2946         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
2947         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
2948         * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2949         * testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
2950         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2951         * testsuite/27_io/objects/char/12048-2.cc: Likewise.
2952         * testsuite/27_io/objects/char/12048-4.cc: Likewise.
2953         * testsuite/27_io/objects/char/9.cc: Likewise.
2954         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
2955         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
2956         * testsuite/27_io/objects/char/12048-5.cc: Likewise.
2957         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2958         * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Verify fgets.
2959         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Verify
2960         fwrite.
2961         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
2962         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Likewise.
2963
2964 2010-06-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
2965
2966         * doc/xml/faq.xml: Fix typo.
2967         * doc/html/faq.xml: Likewise.
2968
2969 2010-06-25  Stephen M. Webb  <stephen.webb@bregmasoft.ca>
2970
2971         Initial regex implementation.
2972         * include/std/regex: Modified to use bits/regex_* headers.
2973         * include/bits/regex_compiler.h: New.
2974         * include/bits/regex_constants.h: Likewise.
2975         * include/bits/regex_cursor.h: Likewise.
2976         * include/bits/regex_error.h: Likewise.
2977         * include/bits/regex_grep_matcher.h: Likewise.
2978         * include/bits/regex_grep_matcher.tcc: Likewise.
2979         * include/bits/regex.h: Likewise.
2980         * include/bits/regex_nfa.h: Likewise.
2981         * include/bits/regex_nfa.tcc: Likewise.
2982         * include/Makefile.am: Add.
2983         * include/Makefile.in: Regenerated.
2984         * testsuite/28_regex/02_definitions: New.
2985         * testsuite/28_regex/03_requirements: Likewise.
2986         * testsuite/28_regex/03_requirements/typedefs.cc: Likewise.
2987         * testsuite/28_regex/04_header: Likewise.
2988         * testsuite/28_regex/04_header/regex: Likewise.
2989         * testsuite/28_regex/04_header/regex/std_c++0x_neg.cc: Likewise.
2990         * testsuite/28_regex/05_constants: Likewise.
2991         * testsuite/28_regex/05_constants/error_type.cc: Likewise.
2992         * testsuite/28_regex/05_constants/match_flag_type.cc: Likewise.
2993         * testsuite/28_regex/05_constants/syntax_option_type.cc: Likewise.
2994         * testsuite/28_regex/06_exception_type: Likewise.
2995         * testsuite/28_regex/06_exception_type/regex_error.cc: Likewise.
2996         * testsuite/28_regex/07_traits: Likewise.
2997         * testsuite/28_regex/07_traits/char: Likewise.
2998         * testsuite/28_regex/07_traits/char/ctor.cc: Likewise.
2999         * testsuite/28_regex/07_traits/char/isctype.cc: Likewise.
3000         * testsuite/28_regex/07_traits/char/length.cc: Likewise.
3001         * testsuite/28_regex/07_traits/char/lookup_classname.cc: Likewise.
3002         * testsuite/28_regex/07_traits/char/lookup_collatename.cc: Likewise.
3003         * testsuite/28_regex/07_traits/char/transform.cc: Likewise.
3004         * testsuite/28_regex/07_traits/char/transform_primary.cc: Likewise.
3005         * testsuite/28_regex/07_traits/char/translate.cc: Likewise.
3006         * testsuite/28_regex/07_traits/char/translate_nocase.cc: Likewise.
3007         * testsuite/28_regex/07_traits/char/value.cc: Likewise.
3008         * testsuite/28_regex/07_traits/wchar_t: Likewise.
3009         * testsuite/28_regex/07_traits/wchar_t/ctor.cc: Likewise.
3010         * testsuite/28_regex/07_traits/wchar_t/length.cc: Likewise.
3011         * testsuite/28_regex/07_traits/wchar_t/transform.cc: Likewise.
3012         * testsuite/28_regex/07_traits/wchar_t/translate.cc: Likewise.
3013         * testsuite/28_regex/07_traits/wchar_t/translate_nocase.cc: Likewise.
3014         * testsuite/28_regex/07_traits/wchar_t/value.cc: Likewise.
3015         * testsuite/28_regex/08_basic_regex: Likewise.
3016         * testsuite/28_regex/08_basic_regex/assign: Likewise.
3017         * testsuite/28_regex/08_basic_regex/assign/char: Likewise.
3018         * testsuite/28_regex/08_basic_regex/assign/char/cstring.cc: Likewise.
3019         * testsuite/28_regex/08_basic_regex/assign/char/cstring_op.cc: Likewise.
3020         * testsuite/28_regex/08_basic_regex/assign/char/moveable.cc: Likewise.
3021         * testsuite/28_regex/08_basic_regex/assign/char/pstring.cc: Likewise.
3022         * testsuite/28_regex/08_basic_regex/assign/char/range.cc: Likewise.
3023         * testsuite/28_regex/08_basic_regex/assign/char/string.cc: Likewise.
3024         * testsuite/28_regex/08_basic_regex/assign/char/string_op.cc: Likewise.
3025         * testsuite/28_regex/08_basic_regex/assign/wchar_t: Likewise.
3026         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring.cc: Likewise.
3027         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring_op.cc:
3028         Likewise.
3029         * testsuite/28_regex/08_basic_regex/assign/wchar_t/pstring.cc: Likewise.
3030         * testsuite/28_regex/08_basic_regex/assign/wchar_t/range.cc: Likewise.
3031         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string.cc: Likewise.
3032         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string_op.cc:
3033         Likewise.
3034         * testsuite/28_regex/08_basic_regex/ctors: Likewise.
3035         * testsuite/28_regex/08_basic_regex/ctors/basic: Likewise.
3036         * testsuite/28_regex/08_basic_regex/ctors/basic/cstring.cc: Likewise.
3037         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_char.cc:
3038         Likewise.
3039         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_wchar_t.cc:
3040         Likewise.
3041         * testsuite/28_regex/08_basic_regex/ctors/basic/
3042         string_range_01_02_03.cc: Likewise.
3043         * testsuite/28_regex/08_basic_regex/ctors/char: Likewise.
3044         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_awk.cc: Likewise.
3045         * testsuite/28_regex/08_basic_regex/ctors/char/cstring.cc: Likewise.
3046         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_ecma.cc:
3047         Likewise.
3048         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_egrep.cc:
3049         Likewise.
3050         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_grep.cc:
3051         Likewise.
3052         * testsuite/28_regex/08_basic_regex/ctors/char/default.cc: Likewise.
3053         * testsuite/28_regex/08_basic_regex/ctors/char/range.cc: Likewise.
3054         * testsuite/28_regex/08_basic_regex/ctors/copy_char.cc: Likewise.
3055         * testsuite/28_regex/08_basic_regex/ctors/extended: Likewise.
3056         * testsuite/28_regex/08_basic_regex/ctors/extended/cstring.cc: Likewise.
3057         * testsuite/28_regex/08_basic_regex/ctors/extended/
3058         string_range_01_02_03.cc: Likewise.
3059         * testsuite/28_regex/08_basic_regex/ctors/move_char.cc: Likewise.
3060         * testsuite/28_regex/08_basic_regex/ctors/string_char.cc: Likewise.
3061         * testsuite/28_regex/08_basic_regex/ctors/string_wchar_t.cc: Likewise.
3062         * testsuite/28_regex/08_basic_regex/ctors/wchar_t: Likewise.
3063         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/cstring.cc: Likewise.
3064         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/default.cc: Likewise.
3065         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/range.cc: Likewise.
3066         * testsuite/28_regex/08_basic_regex/regex.cc: Likewise.
3067         * testsuite/28_regex/09_sub_match: Likewise.
3068         * testsuite/28_regex/09_sub_match/cast_char.cc: Likewise.
3069         * testsuite/28_regex/09_sub_match/cast_wchar_t.cc: Likewise.
3070         * testsuite/28_regex/09_sub_match/length.cc: Likewise.
3071         * testsuite/28_regex/09_sub_match/typedefs.cc: Likewise.
3072         * testsuite/28_regex/10_match_results: Likewise.
3073         * testsuite/28_regex/10_match_results/ctors: Likewise.
3074         * testsuite/28_regex/10_match_results/ctors/char: Likewise.
3075         * testsuite/28_regex/10_match_results/ctors/char/default.cc: Likewise.
3076         * testsuite/28_regex/10_match_results/ctors/wchar_t: Likewise.
3077         * testsuite/28_regex/10_match_results/ctors/wchar_t/default.cc:
3078         Likewise.
3079         * testsuite/28_regex/10_match_results/typedefs.cc: Likewise.
3080         * testsuite/28_regex/11_algorithms: Likewise.
3081         * testsuite/28_regex/11_algorithms/02_match: Likewise.
3082         * testsuite/28_regex/11_algorithms/02_match/basic: Likewise.
3083         * testsuite/28_regex/11_algorithms/02_match/basic/string_01.cc:
3084         Likewise.
3085         * testsuite/28_regex/11_algorithms/02_match/basic/
3086         string_range_00_03.cc: Likewise.
3087         * testsuite/28_regex/11_algorithms/02_match/basic/
3088         string_range_01_03.cc: Likewise.
3089         * testsuite/28_regex/11_algorithms/02_match/basic/
3090         string_range_02_03.cc: Likewise.
3091         * testsuite/28_regex/11_algorithms/02_match/extended: Likewise.
3092         * testsuite/28_regex/11_algorithms/02_match/extended/cstring_plus.cc:
3093         Likewise.
3094         * testsuite/28_regex/11_algorithms/02_match/extended/
3095         cstring_questionmark.cc: Likewise.
3096         * testsuite/28_regex/11_algorithms/02_match/extended/string_any.cc:
3097         Likewise.
3098         * testsuite/28_regex/11_algorithms/02_match/extended/
3099         string_range_00_03.cc: Likewise.
3100         * testsuite/28_regex/11_algorithms/02_match/extended/
3101         string_range_01_03.cc: Likewise.
3102         * testsuite/28_regex/11_algorithms/02_match/extended/
3103         string_range_02_03.cc: Likewise.
3104         * testsuite/28_regex/12_iterators: Likewise.
3105         * testsuite/28_regex/12_iterators/regex_iterator: Likewise.
3106         * testsuite/28_regex/12_iterators/regex_iterator/ctors: Likewise.
3107         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char: Likewise.
3108         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char/
3109         default.cc: Likewise.
3110         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t:
3111         Likewise.
3112         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t/
3113         default.cc: Likewise.
3114         * testsuite/28_regex/12_iterators/regex_iterator/typedefs.cc: Likewise.
3115         * testsuite/28_regex/12_iterators/regex_token_iterator: Likewise.
3116         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors: Likewise.
3117         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char:
3118         Likewise.
3119         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char/
3120         default.cc: Likewise.
3121         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
3122         wchar_t: Likewise.
3123         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
3124         wchar_t/default.cc: Likewise.
3125         * testsuite/28_regex/12_iterators/regex_token_iterator/
3126         typedefs.cc: Likewise.
3127         * testsuite/28_regex/13_ecmascript: Likewise.
3128
3129 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
3130
3131         * include/profile/impl/profiler_list_to_slist.h: Remove spurious
3132         semicolon; prefer pre-increment.
3133         * include/profile/impl/profiler_container_size.h: Use everywhere
3134         qualified std::size_t.
3135         * include/profile/impl/profiler_trace.h (__trace_base<>::
3136         __collect_warnings): Tidy loop.
3137         * include/profile/impl/profiler_vector_to_list.h: Minor formatting
3138         changes.
3139
3140 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
3141
3142         * include/profile/impl/profiler_trace.h: Uglify it to __it, use
3143         everywhere std::size_t instead of size_t.
3144
3145 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
3146
3147         * include/profile/impl/profiler_trace.h (__trace_base<>::
3148         __trace_base()): Move inline, simplify; formatting tweaks.
3149         * include/profile/impl/profiler_hash_func.h: Formatting tweaks.
3150
3151 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
3152
3153         * include/profile/impl/profiler_trace.h (__warning_data::
3154         __warning_message): Change to std::string; clean-up includes,
3155         qualify size_t, fprintf, etc, with std everywhere.
3156         (struct __warn::operator()): Adjust.
3157         * include/profile/impl/profiler_list_to_slist.h
3158         (__list2slist_info::__advice): Change to return a std::string;
3159         clean-up includes, qualify size_t, fprintf, etc, with std.
3160         * include/profile/impl/profiler_container_size.h
3161         (__container_size_info::__advice): Likewise.
3162         * include/profile/impl/profiler_hash_func.h (__hashfunc_info::
3163         __advice): Likewise.
3164         * include/profile/impl/profiler_list_to_vector.h
3165         (__list2vector_info::__advice): Likewise.
3166         * include/profile/impl/profiler_vector_to_list.h
3167         (__vector2list_info::__advice): Likewise.
3168         * include/profile/impl/profiler_map_to_unordered_map.h
3169         (__map2umap_info::__advice): Likewise.
3170         * include/profile/impl/profiler.h: Likewise.
3171         * include/profile/impl/profiler_hashtable_size.h: Likewise.
3172         * include/profile/impl/profiler_node.h: Likewise.
3173         * include/profile/impl/profiler_vector_size.h: Likewise.
3174
3175         * include/profile/iterator_tracker.h: Formatting and stylistic
3176         tweaks.
3177         * include/profile/base.h: Likewise.
3178         * include/profile/map.h: Likewise.
3179
3180 2010-06-23  Paolo Carlini <paolo.carlini@oracle.com>
3181
3182         * include/bits/stl_tree.h (erase(iterator), erase(const_iterator)):
3183         Remove inline specifier.
3184
3185 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
3186
3187         * include/profile/impl/profiler_list_to_slist.h: Fix formatting,
3188         other minor stylistic changes.
3189         * include/profile/impl/profiler_container_size.h: Likewise.
3190         * include/profile/impl/profiler_vector_size.h: Likewise.
3191         * include/profile/impl/profiler_hash_func.h: Likewise.
3192         * include/profile/impl/profiler_trace.h: Likewise.
3193         * include/profile/impl/profiler_list_to_vector.h: Likewise.
3194         * include/profile/impl/profiler_vector_to_list.h: Likewise.
3195         * include/profile/impl/profiler_state.h: Likewise.
3196         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
3197         * include/profile/impl/profiler_hashtable_size.h: Likewise.
3198         * include/profile/impl/profiler_node.h: Likewise.
3199
3200 2010-06-22  Matthias Klose  <doko@ubuntu.com>
3201
3202         * python/libstdcxx/v6/printers.py: Don't use string exceptions.
3203
3204 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
3205
3206         PR libstdc++/44630
3207         * include/profile/impl/profiler_trace.h (__min, __max): Remove,
3208         use std::min, std::max everywhere.
3209         * include/profile/impl/profiler_container_size.h: Use std::min and
3210         std::max.
3211         * include/profile/impl/profiler_hash_func.h: Likewise.
3212         * include/profile/impl/profiler_list_to_vector.h: Likewise.
3213
3214 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3215
3216         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
3217         Add *-*-solaris2.1[0-9]* to dg-xfail-if, dg-excess-errors.
3218
3219 2010-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
3220             Kai-Uwe Bux  <bux@kubux.net>
3221
3222         * include/bits/random.tcc (uniform_int_distribution<>::operator()):
3223         Fix to work well for arbitrary urng.max() and urng.min().
3224
3225 2010-06-18  Paolo Carlini  <paolo.carlini@oracle.com>
3226
3227         PR libstdc++/32618
3228         * include/bits/stl_list.h (vector<>::_M_default_initialize,
3229         _M_default_append): Declare.
3230         (list<>::list(size_type), resize(size_type)): Add in C++0x mode,
3231         use the latter.
3232         * include/bits/list.tcc (list<>::resize, _M_default_append): Define.
3233         * include/bits/stl_vector.h (vector<>::_M_default_initialize,
3234         _M_default_append): Declare.
3235         (vector<>::vector(size_type), resize(size_type)): Add in C++0x mode,
3236         use the latter.
3237         * include/bits/vector.tcc (vector<>::_M_default_append): Define.
3238         * include/bits/stl_deque.h (deque<>::_M_default_initialize,
3239         _M_default_append): Declare.
3240         (deque<>::deque(size_type), resize(size_type)): Add in C++0x mode,
3241         use the latter.
3242         * include/bits/deque.tcc (deque<>::_M_default_append): Define.
3243         * include/debug/vector: Update.
3244         * include/debug/deque: Likewise.
3245         * include/debug/list: Likewise.
3246         * include/profile/vector: Likewise.
3247         * include/profile/deque: Likewise.
3248         * include/profile/list: Likewise.
3249         * include/bits/forward_list.h (_M_default_initialize,
3250         _M_default_insert_after): Declare.
3251         (forward_list<>::forward_list(size_type), resize(size_type)): Fix,
3252         use the latter.
3253         * include/bits/forward_list.tcc (forward_list<>::_M_default_append,
3254         _M_default_insert_after): Define.
3255         * testsuite/util/testsuite_api.h (NonCopyConstructible): Add.
3256         * testsuite/23_containers/forward_list/modifiers/6.cc: Move to...
3257         * testsuite/23_containers/forward_list/capacity/resize_size.cc:
3258         ... here.
3259         * testsuite/23_containers/forward_list/cons/10.cc: Move to...
3260         * testsuite/23_containers/forward_list/cons/cons_size.cc: ... here.
3261         * testsuite/23_containers/vector/resize/1.cc: Move to...
3262         * testsuite/23_containers/vector/capacity/resize/1.cc: ... here.
3263         * testsuite/23_containers/vector/resize/moveable.cc: Move to...
3264         * testsuite/23_containers/vector/resize/capacity/moveable.cc: ... here.
3265         * testsuite/23_containers/vector/cons/cons_size.cc: New.
3266         * testsuite/23_containers/vector/capacity/resize/resize_size.cc:
3267         Likewise.
3268         * testsuite/23_containers/deque/cons/cons_size.cc: Likewise.
3269         * testsuite/23_containers/deque/capacity/resize_size.cc: Likewise.
3270         * testsuite/23_containers/list/cons/cons_size.cc: Likewise.
3271         * testsuite/23_containers/list/capacity/resize_size.cc: Likewise.
3272         * testsuite/23_containers/vector/capacity/resize/moveable.cc: Adjust.
3273         * testsuite/23_containers/deque/capacity/moveable.cc: Likewise.
3274         * testsuite/23_containers/forward_list/requirements/dr438/
3275         assign_neg.cc: Adjust dg-error line numbers.
3276         * testsuite/23_containers/forward_list/requirements/dr438/
3277         insert_neg.cc: Likewise.
3278         * testsuite/23_containers/forward_list/requirements/dr438/
3279         constructor_1_neg.cc: Likewise.
3280         * testsuite/23_containers/forward_list/requirements/dr438/
3281         constructor_2_neg.cc: Likewise.
3282         * testsuite/23_containers/vector/requirements/dr438/
3283         assign_neg.cc: Likewise.
3284         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3285         Likewise.
3286         * testsuite/23_containers/vector/requirements/dr438/
3287         constructor_1_neg.cc: Likewise.
3288         * testsuite/23_containers/vector/requirements/dr438/
3289         constructor_2_neg.cc: Likewise.
3290         * testsuite/23_containers/deque/requirements/dr438/
3291         assign_neg.cc: Likewise.
3292         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3293         Likewise.
3294         * testsuite/23_containers/deque/requirements/dr438/
3295         constructor_1_neg.cc: Likewise.
3296         * testsuite/23_containers/deque/requirements/dr438/
3297         constructor_2_neg.cc: Likewise.
3298         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3299         Likewise.
3300         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3301         Likewise.
3302         * testsuite/23_containers/list/requirements/dr438/
3303         constructor_1_neg.cc: Likewise.
3304         * testsuite/23_containers/list/requirements/dr438/
3305         constructor_2_neg.cc: Likewise.
3306
3307 2010-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
3308
3309         * include/bits/stl_uninitialized.h (__uninitialized_default,
3310         __uninitialized_default_n, __uninitialized_default_a,
3311         __uninitialized_default_n_a): Add.
3312
3313         * include/bits/stl_uninitialized.h (uninitialized_copy,
3314         uninitialized_fill, uninitialized_fill_n): Use __is_trivial
3315         instead of __is_pod.
3316         * include/bits/valarray_array.h: Likewise.
3317         * include/bits/stl_algobase.h (__copy_move_backward_a,
3318         __copy_move_a): Likewise.
3319
3320 2010-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
3321
3322         * include/bits/stl_construct.h (_Construct): Change to variadic in
3323         C++0x mode, consistently with allocator::construct.
3324         * include/bits/stl_uninitialized.h (__uninitialized_copy_n): Use
3325         _Construct.
3326         (__uninitialized_construct_range): Move to...
3327         * include/bits/stl_tempbuf.h (__uninitialized_construct_buf): ... here.
3328
3329 2010-06-16  Matthias Klose  <doko@ubuntu.com>
3330
3331         * src/compatibility.cc: Export long double versions of "C" math
3332         library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire),
3333         mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit).
3334
3335 2010-06-15  Jason Merrill  <jason@redhat.com>
3336
3337         * testsuite/lib/libstdc++.exp: Set additional_prunes.
3338         (libstdc++-dg-test): Don't prune here.
3339         * testsuite/lib/prune.exp (dg-prune-output): New.
3340         (libstdc++-dg-prune): Rename from prune_g++_output.
3341         Add a bunch of prunes from gcc's prune.exp.
3342         * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc:
3343         Remove dg-excess-errors.
3344         * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Likewise.
3345         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
3346         * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc:
3347         Likewise.
3348         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3349         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
3350         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
3351         * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Likewise.
3352         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
3353         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3354         Likewise.
3355         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
3356         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
3357         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
3358         * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Likewise.
3359         * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Likewise.
3360         * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc:
3361         Likewise.
3362         * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc:
3363         Likewise.
3364         * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Likewise.
3365         * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Likewise.
3366         * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Likewise.
3367         * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Likewise.
3368         * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Likewise.
3369         * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Likewise.
3370         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3371         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
3372         Likewise.
3373         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
3374         Likewise.
3375         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc:
3376         Likewise.
3377         * testsuite/30_threads/headers/future/std_c++0x_neg.cc: Likewise.
3378         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: Likewise.
3379         * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
3380         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
3381         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
3382         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
3383         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
3384         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
3385         shared_ptr_neg.cc: Likewise.
3386         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Likewise.
3387
3388 2010-06-13  Paolo Carlini <paolo.carlini@oracle.com>
3389
3390         * include/parallel/base.h (min, max): Mark inline.
3391         * include/parallel/set_operations.h (__parallel_set_operation):
3392         Uglify the Operation template parameter.
3393
3394 2010-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
3395
3396         * include/bits/shared_ptr.h (hash<shared_ptr>): Add.
3397         * include/bits/shared_ptr_base.h (hash<__shared_ptr>): Likewise.
3398         * include/bits/unique_ptr.h (hash<unique_ptr>): Likewise.
3399         * testsuite/20_util/shared_ptr/hash/1.cc: New.
3400         * testsuite/20_util/unique_ptr/hash/1.cc: Likewise.
3401
3402 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3403
3404         * doc/xml/manual/appendix_contributing.xml: Indent code examples
3405         to match original C++STYLE document. Fix typos and syntax errors.
3406         Add some basic docbook markup.
3407         * doc/html/*: Regenerate.
3408
3409 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3410
3411         PR libstdc++/44268
3412         * doc/xml/manual/abi.xml: Fix libgcc version for hppa-linux.
3413
3414 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3415
3416         * include/std/tuple (_Swallow_assign::operator=): Add const.
3417         (ignore): Replace anonymous namespace member with const instance.
3418
3419 2010-06-10  Suresh Gumpula  <suresh.gumpula@amd.com>
3420
3421         PR libstdc++/43918
3422         * config/os/djgpp/error_constants.h: New.
3423         * configure.host: Use it.
3424
3425 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
3426
3427         * include/std/tuple (tuple(const tuple&)): Define explicitly-defaulted.
3428         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
3429         line number.
3430
3431 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
3432
3433         PR libstdc++/44487
3434         * include/bits/stl_pair.h (pair(pair&&)): Remove.
3435         (pair(pair<_U1, _U2>&&): Use forward, consistently with Bullet 5
3436         of LWG 1326.
3437         * include/std/tuple (tuple(pair<_U1, _U2>&&)): Likewise.
3438         * testsuite/20_util/pair/44487.cc: Add.
3439         * testsuite/20_util/tuple/cons/44487.cc: Likewise.
3440         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
3441         line numbers.
3442
3443 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3444
3445         * include/std/type_traits (is_nothrow_constructible): Add.
3446         (declval): Add noexcept specification.
3447         * testsuite/util/testsuite_tr1.h (struct NothrowExplicitClass,
3448         ThrowExplicitClass, NoexceptExplicitClass, ExceptExplicitClass):
3449         Add.
3450         * testsuite/20_util/is_nothrow_constructible/value.cc: New.
3451         * testsuite/20_util/is_nothrow_constructible/requirements/
3452         typedefs.cc: Likewise.
3453         * testsuite/20_util/is_nothrow_constructible/requirements/
3454         explicit_instantiation.cc: Likewise.
3455         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3456         Adjust dg-error line numbers.
3457         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3458         Likewise.
3459         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3460
3461 2010-06-09  Khem Raj  <raj.khem@gmail.com>
3462
3463         PR libstdc++/44461
3464         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Use .pushsection/.popsection
3465         to emit inline assembly into .text section.
3466
3467 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3468
3469         Revert:
3470         2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3471
3472         PR libstdc++/44413
3473         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
3474         Simplify, just return -1, 0, 1.
3475
3476 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
3477
3478         PR bootstrap/43170
3479         * configure: Regenerate.
3480
3481 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
3482
3483         PR libstdc++/44413
3484         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
3485         Simplify, just return -1, 0, 1.
3486
3487 2010-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
3488
3489         * include/std/type_traits (has_nothrow_assign): Rename to
3490         has_nothrow_copy_assign.
3491         (has_trivial_assign): Rename to has_trivial_copy_assign.
3492         * testsuite/20_util/has_nothrow_copy_assign/value.cc: New.
3493         * testsuite/20_util/has_nothrow_copy_assign/requirements/
3494         typedefs.cc: Likewise.
3495         * testsuite/20_util/has_nothrow_copy_assign/requirements/
3496         explicit_instantiation.cc: Likewise.
3497         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
3498         * testsuite/20_util/has_trivial_copy_assign/requirements/
3499         typedefs.cc: Likewise.
3500         * testsuite/20_util/has_trivial_copy_assign/requirements/
3501         explicit_instantiation.cc: Likewise.
3502
3503 2010-06-08  Johannes Singler  <singler@kit.edu>
3504
3505         * include/parallel/find.h
3506         (__find_template(.., growing_blocks_tag)): Make block size
3507         proportional to current position.
3508         * include/parallel/settings.h (_Settings): Introduce new tuning
3509         parameter find_scale_factor to the end of the struct, defaults to
3510         0.01f.
3511
3512 2010-06-08  Johannes Singler  <singler@kit.edu>
3513
3514         * include/parallel/partial_sum.h
3515         (__parallel_partial_sum_linear):
3516         Correctly calculate part lengths for partial_sum_dilation!=1.
3517
3518 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
3519
3520         PR libstdc++/44417
3521         * include/c_std/cwctype: Provide a workaround for bug glibc
3522         BZ 9694 affecting glibc 2.9 and older.
3523         * include/c_global/cwctype: Likewise.
3524         * testsuite/util/testsuite_abi.h: Remove temporary workaround.
3525         * testsuite/util/testsuite_allocator.h: Use everywhere std::size_t
3526         and std::ptrdiff_t, don't include <cstddef>.
3527
3528         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3529         error_code.cc: Minor tweak, prefer <cwchar> to <wchar.h>.
3530
3531 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
3532
3533         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp:
3534         Avoid -Wall warnings.
3535         * testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
3536         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
3537         * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
3538         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
3539         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
3540         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
3541         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
3542         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
3543         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
3544         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
3545         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
3546         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
3547         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
3548         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
3549         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
3550         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
3551         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
3552         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
3553         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
3554         * testsuite/27_io/types/2.cc: Likewise.
3555         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
3556         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
3557         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
3558         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
3559         * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
3560         * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
3561         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
3562         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
3563         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
3564         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
3565         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc:
3566         Likewise.
3567         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
3568         Likewise.
3569         * testsuite/27_io/fpos/mbstate_t/4_neg.cc: Likewise.
3570         * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
3571         * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
3572         * testsuite/27_io/fpos/mbstate_t/5.cc: Likewise.
3573         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc:
3574         Likewise.
3575         * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
3576         Likewise.
3577         * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
3578         * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
3579         * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
3580         * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
3581         * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
3582         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
3583         * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
3584         * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
3585         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
3586         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
3587         * testsuite/25_algorithms/minmax/3.cc: Likewise.
3588         * testsuite/19_diagnostics/logic_error/what-3.cc: Likewise.
3589         * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
3590         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
3591         * testsuite/24_iterators/front_insert_iterator/2.cc: Likewise.
3592         * testsuite/24_iterators/back_insert_iterator/2.cc: Likewise.
3593         * testsuite/24_iterators/insert_iterator/2.cc: Likewise.
3594         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: Likewise.
3595         * testsuite/21_strings/c_strings/wchar_t/1.cc: Likewise.
3596         * testsuite/21_strings/c_strings/wchar_t/2.cc: Likewise.
3597         * testsuite/21_strings/c_strings/char/1.cc: Likewise.
3598         * testsuite/21_strings/c_strings/char/2.cc: Likewise.
3599         * testsuite/26_numerics/random/independent_bits_engine/cons/
3600         copy.cc: Likewise.
3601         * testsuite/26_numerics/random/subtract_with_carry_engine/
3602         cons/copy.cc: Likewise.
3603         * testsuite/26_numerics/random/subtract_with_carry_engine/
3604         requirements/constants.cc: Likewise.
3605         * testsuite/26_numerics/random/discard_block_engine/
3606         cons/copy.cc: Likewise.
3607         * testsuite/26_numerics/random/mersenne_twister_engine/
3608         cons/copy.cc: Likewise.
3609         * testsuite/26_numerics/random/mersenne_twister_engine/
3610         requirements/constants.cc: Likewise.
3611         * testsuite/26_numerics/random/linear_congruential_engine/
3612         cons/copy.cc: Likewise.
3613         * testsuite/26_numerics/random/linear_congruential_engine/
3614         requirements/constants.cc: Likewise.
3615         * testsuite/26_numerics/random/shuffle_order_engine/
3616         cons/copy.cc: Likewise.
3617         * testsuite/26_numerics/random/shuffle_order_engine/
3618         requirements/constants.cc: Likewise.
3619         * testsuite/26_numerics/complex/complex_value.cc: Likewise.
3620         * testsuite/26_numerics/headers/cmath/overloads.cc: Likewise.
3621         * testsuite/26_numerics/headers/cmath/
3622         c99_classification_macros_c++.cc: Likewise.
3623         * testsuite/26_numerics/slice_array/array_assignment.cc: Likewise.
3624         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
3625         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
3626         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
3627         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
3628         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
3629         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
3630         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
3631         * testsuite/22_locale/money_put/put/char/12971.cc: Likewise.
3632         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
3633         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
3634         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
3635         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3636         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
3637         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
3638         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
3639         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
3640         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
3641         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
3642         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
3643         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
3644         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
3645         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
3646         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
3647         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
3648         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
3649         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
3650         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
3651         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
3652         * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise.
3653         * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
3654         * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
3655         * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
3656         * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
3657         * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
3658         * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
3659         * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
3660         * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
3661         * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
3662         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
3663         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
3664         * testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise.
3665         * testsuite/22_locale/moneypunct/members/char/1.cc: Likewise.
3666         * testsuite/22_locale/ctype_base/mask.cc: Likewise.
3667         * testsuite/tr1/5_numerical_facilities/random/
3668         subtract_with_carry/requirements/constants.cc: Likewise.
3669         * testsuite/tr1/5_numerical_facilities/random/
3670         subtract_with_carry_01/requirements/constants.cc: Likewise.
3671         * testsuite/tr1/5_numerical_facilities/random/
3672         discard_block/requirements/constants.cc: Likewise.
3673         * testsuite/tr1/5_numerical_facilities/random/
3674         linear_congruential/requirements/constants.cc: Likewise.
3675         * testsuite/tr1/5_numerical_facilities/random/
3676         mersenne_twister/requirements/constants.cc: Likewise.
3677         * testsuite/tr1/5_numerical_facilities/random/
3678         xor_combine/requirements/constants.cc: Likewise.
3679         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Likewise.
3680         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
3681         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
3682         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: Likewise.
3683         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
3684         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Likewise.
3685         * testsuite/tr1/8_c_compatibility/cmath/templates.cc: Likewise.
3686         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Likewise.
3687         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
3688         * testsuite/tr1/6_containers/utility/pair.cc: Likewise.
3689         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
3690         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
3691         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
3692         * testsuite/29_atomics/atomic_integral/operators/
3693         increment_neg.cc: Likewise.
3694         * testsuite/29_atomics/atomic_integral/operators/
3695         bitwise_neg.cc: Likewise.
3696         * testsuite/29_atomics/atomic_integral/operators/
3697         decrement_neg.cc: Likewise.
3698         * testsuite/29_atomics/atomic_flag/cons/1.cc: Likewise.
3699         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
3700         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
3701         * testsuite/23_containers/priority_queue/members/7161.cc
3702         * testsuite/23_containers/set/dr130.cc: Likewise.
3703         * testsuite/23_containers/list/pthread5.cc: Likewise.
3704         * testsuite/23_containers/map/dr130.cc: Likewise.
3705         * testsuite/util/exception/safety.h: Likewise.
3706         * testsuite/util/testsuite_common_types.h: Likewise.
3707         * testsuite/20_util/clocks/1.cc: Likewise.
3708
3709 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3710
3711         * doc/Makefile.am, doc/Makefile.in (xml_sources_extra): Add
3712         fdl-1.3.xml.
3713         * doc/xml/manual/intro.xml: Update FDL link.
3714         * doc/xml/manual/spine.xml: Update FDL include.
3715         * doc/xml/gnu/fdl-1.3.xml: Add.
3716         * doc/html/*: Regenerate.
3717
3718 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3719
3720         * include/ext/pointer.h (_Pointer_adapter::operator++): Remove
3721         name of unused parameter.
3722
3723 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3724
3725         PR libstdc++/40296
3726         * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace
3727         __safe_bool constructor with nullptr_t constructor in C++0x mode.
3728         (exception_ptr::operator bool): Add explicit conversion to bool.
3729         (swap(exception_ptr&, exception_ptr&)): Add.
3730         (exception_ptr::_M_safe_bool_dummy): Only declare for old ABI.
3731         * libsupc++/eh_ptr.cc (exception_ptr::_M_safe_bool_dummy): Move
3732         next to other functions retained for ABI compatibility.
3733         * testsuite/18_support/exception_ptr/requirements.cc: New.
3734         * testsuite/18_support/exception_ptr/requirements_neg.cc: New.
3735
3736 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3737
3738         * include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
3739         nullptr_t specializations inline.
3740
3741 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3742
3743         * doc/xml/manual/status_cxx200x.xml: Update.
3744
3745 2010-06-05  Magnus Fromreide  <magfr@lysator.liu.se>
3746             Jonathan Wakely  <jwakely.gcc@gmail.com>
3747
3748         * include/std/functional (function): Add nullptr_t support.
3749         * include/bits/shared_ptr.h (shared_ptr): Likewise.
3750         * include/bits/unique_ptr.h (unique_ptr): Likewise.
3751
3752 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3753
3754         * include/bits/shared_ptr_base.h (__shared_ptr): Add nullptr_t support.
3755         (__shared_count): Add nullptr_t support and make constructors explicit.
3756         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
3757         * testsuite/20_util/shared_ptr/cons/nullptr.cc: New.