OSDN Git Service

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