OSDN Git Service

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