OSDN Git Service

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