OSDN Git Service

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