OSDN Git Service

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