OSDN Git Service

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