OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog-2008
1 2008-12-22  Jonathan Larmour  <jifl@eCosCentric.com>
2
3         * include/ext/concurrence.h: Fix __gthread_cond_t initialisation
4         function macro name.
5
6 2008-12-22  Benjamin Kosnik  <bkoz@redhat.com>
7
8         * doc/doxygen/stdheader.cc: Add cstdlib.
9         * doc/doxygen/user.cfg.in: Regenerate for doxygen 1.5.7.
10
11 2008-12-21  Andrew Pinski  <pinskia@gmail.com>
12
13         PR target/38300
14         * configure: Regenerate.
15
16 2008-12-21  Paolo Carlini  <paolo.carlini@oracle.com>
17
18         PR libstdc++/38596
19         * include/tr1_impl/functional (function<>::target,
20         function<>::target_type): Provide only when __GXX_RTTI is defined.
21         (_Function_base::_M_manager, _Ref_manager<>::_M_manager,
22         _Function_handler<void(_ArgTypes...), _Member _Class::*>::_M_manager):
23         Adjust.
24
25 2008-12-19  Ben Elliston  <bje@au.ibm.com>
26
27         * acinclude.m4: Guard a variable test against an empty string.
28         * configure: Regenerate.
29
30 2008-12-18  Jack Howarth  <howarth@bromo.med.uc.edu>
31
32         * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
33         Add xfail on all targets except darwin.
34         * libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
35         1674.cc: Same.
36         * libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
37         for xfailing on all targets except linux.
38
39 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
40
41         * configure: Regenerate.
42
43 2008-12-17  Jack Howarth  <howarth@bromo.med.uc.edu>
44
45         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
46         Don't xfail test on darwin8 or later.
47
48 2008-12-16  Jack Howarth  <howarth@bromo.med.uc.edu>
49
50         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
51         Don't xfail excessive errors on darwin8 or later.
52
53 2008-12-15  Benjamin Kosnik  <bkoz@redhat.com>
54
55         * include/c_global/cstdatomic: Remove assert include.
56         * include/debug/debug.h: Consolidate __replacement_assert...
57         * include/parallel/base.h: Consolidate __replacement_assert...
58         * include/bits/c++config: ...here.
59         * include/bits/atomic_0.h: Use it.
60         * include/bits/atomic_2.h: Same.
61         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
62         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
63
64 2008-12-13  Benjamin Kosnik  <bkoz@redhat.com>
65
66         * src/atomic.cc: Revert last change.
67         * include/bits/atomic_2.h: Move cassert include to...
68         * include/c_global/cstdatomic: ...here.
69         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
70         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
71
72 2008-12-12  Benjamin Kosnik  <bkoz@redhat.com>
73
74         * src/Makefile.am: Remove -x c++ for atomic build rules.
75         * src/Makefile.in: Regenerate.
76         * src/atomic.cc: Move mutex include before cstdatomic.
77
78 2008-12-12  H.J. Lu  <hongjiu.lu@intel.com>
79
80         PR libstdc++/37144
81         * testsuite/util/regression/trait/assoc/type_trait.hpp
82         (regression_test_type_traits): Add const to pair_type_rebind.
83
84 2008-12-12  Benjamin Kosnik  <bkoz@redhat.com>
85
86         * src/atomic.cc: Correct guards to match mutex.cc.
87
88 2008-12-11  Benjamin Kosnik  <bkoz@redhat.com>
89             Richard Henderson  <rth@redhat.com>
90
91         * include/c_global/cstdatomic: Update to N2798.
92         (atomic): Remove explicit constructors as per DR 845.
93         * include/bits/atomic_0.h: New. Switchable implementation.
94         * include/bits/atomic_2.h: New. Lock-free implementation.
95         * include/c_compatibility/stdatomic.h: Use foward headers.
96         * include/bits/atomicfwd_cxx.h: New.
97         * include/bits/atomicfwd_c.h: New.
98         * src/atomic.cc: Adjust.
99         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
100         unconditionally use default/deleted syntax.
101         (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
102         * include/Makefile.am (bits_headers): Add atomicfwd_c.h,
103         atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
104         * include/Makefile.in: Regenerate.
105         * configure: Regenerate.
106         * config.h.in: Regenerate.
107         * config/abi/pre/gnu.ver: Adjust exports.
108
109         * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
110         * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
111         * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
112         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
113         * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
114         * testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
115         * testsuite/29_atomics/atomic_address/cons/copy_neg.cc
116         * testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
117         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
118         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
119         * testsuite/29_atomics/atomic_integral/cons/default.cc: New.
120         * testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
121         * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
122         * testsuite/29_atomics/atomic_integral/requirements/
123         standard_layout.cc: New.
124         * testsuite/29_atomics/atomic_integral/operators/
125         integral_assignment.cc: New.
126         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
127         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
128         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
129         * testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
130         * testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
131         * testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
132         * testsuite/29_atomics/atomic_integral/operators/
133         integral_conversion.cc: New.
134         * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
135         * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
136         * testsuite/29_atomics/atomic_flag/requirements/
137         standard_layout.cc: Same.
138         * testsuite/29_atomics/atomic_flag/
139         atomic_global_fence_compatibility.cc: Kill.
140         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
141         * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
142         * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
143         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
144         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
145         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
146         * testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
147         * testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
148         * testsuite/29_atomics/atomic/cons/copy_neg.cc
149         * testsuite/29_atomics/atomic/cons/direct_list.cc: New.
150         * testsuite/29_atomics/atomic/cons/copy_list.cc: New.
151         * testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
152         * testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
153         * testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
154         * testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
155         * testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
156         * testsuite/util/testsuite_common_types.h: ...here.
157         (atomic_integrals_no_bool): New.
158         (atomic_integrals): New.
159         (has_increment_operators, has_decrement_operators)
160         (direct_list_initializable, single_value_constructible)
161         (standard_layout, has_bitwise_operators, integral_convertable)
162         (integral_assignable): Add.
163
164 2008-12-11  Jakub Jelinek  <jakub@redhat.com>
165
166         PR c++/37582
167         * testsuite/26_numerics/headers/cmath/37582.cc: New.
168
169 2008-12-08  Paolo Carlini  <paolo.carlini@oracle.com>
170
171         * include/tr1_impl/cmath: Undef remquof / remquol too; add using
172         declarations.
173         * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too.
174         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust.
175         * configure: Regenerate.
176
177 2008-12-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
178
179         * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy.
180
181 2008-12-06  Paolo Carlini  <paolo.carlini@oracle.com>
182
183         PR libstdc++/38421
184         * include/tr1/ell_integral.tcc: Avoid __ea, future SPU badname.
185         * doc/xml/manual/appendix_contributing.xml: Add __ea to the list
186         of badnames.
187
188 2008-12-05  Tom Tromey  <tromey@redhat.com>
189
190         * include/tr1_impl/functional (_Mu): Fix typo.
191
192 2008-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
193
194         PR libstdc++/38399
195         * include/bits/locale_facets_nonio.tcc (money_get<>::
196         _M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
197         string&)): Fix, reject decimal point when frac_digits <= 0.
198         * testsuite/22_locale/money_get/get/char/38399.cc: New.
199         * testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
200         * testsuite/22_locale/money_get/get/char/5.cc: Adjust.
201         * testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
202
203 2008-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
204
205         PR libstdc++/38411
206         * testsuite/22_locale/numpunct/members/char/2.cc: Use is_IS instead
207         of fr_FR.
208         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
209         * testsuite/22_locale/locale/cons/7.cc: Likewise.
210
211 2008-12-04  Paolo Carlini  <paolo.carlini@oracle.com>
212
213         PR libstdc++/38368
214         * config/locale/gnu/numeric_members.cc (numpunct<char>::
215         _M_initialize_numpunct, numpunct<wchar_t>::_M_initialize_numpunct):
216         Fix for THOUSANDS_SEP == '\0' consistently with "C" locale.
217         * config/locale/gnu/monetary_members.cc (moneypunct<char, true>::
218         _M_initialize_moneypunct, moneypunct<char, false>::
219         _M_initialize_moneypunct, moneypunct<wchar_t, true>::
220         _M_initialize_moneypunct, moneypunct<wchar_t, false>::
221         _M_initialize_moneypunct): Fix for __MON_DECIMAL_POINT == '\0' or
222         __MON_THOUSANDS_SEP == '\0' consistently with "C" locale.
223         * testsuite/22_locale/locale/cons/38368.cc: New.
224
225 2008-12-02  Paolo Carlini  <paolo.carlini@oracle.com>
226
227         PR libstdc++/38365 (cont)
228         * src/localename.cc (locale::locale(const locale&, const locale&,
229         category)): Revert last changes.
230         (locale::_Impl::_M_replace_categories(const _Impl*, category)):
231         Fix here instead; rework.
232
233 2008-12-02  Paolo Carlini  <paolo.carlini@oracle.com>
234
235         PR libstdc++/38365
236         * src/localename.cc (locale::locale(const locale&, const locale&,
237         category)): Fix.
238         * testsuite/22_locale/locale/cons/38365.cc: New.
239
240 2008-12-01  Benjamin Kosnik  <bkoz@redhat.com>
241
242         PR libstdc++/38080
243         * include/std/iostream: Correct URL.
244         * include/std/streambuf: Same.
245         * include/std/bitset: Same.
246         * include/std/iosfwd: Same.
247         * include/std/fstream: Same.
248         * include/std/istream: Same.
249         * include/std/ostream: Same.
250         * include/std/sstream: Same.
251         * include/bits/basic_ios.h: Same.
252         * include/bits/stl_map.h: Same.
253         * include/bits/stl_set.h: Same.
254         * include/bits/stl_multimap.h: Same.
255         * include/bits/ios_base.h: Same.
256         * include/bits/stl_multiset.h: Same.
257         * include/bits/char_traits.h: Same.
258         * include/bits/stl_relops.h: Same.
259         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
260         * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
261
262 2008-11-26  Janis Johnson  <janis187@us.ibm.com>
263
264         PR testsuite/28870
265         * testsuite/lib/libstdc++.exp: Include new timeout library files.
266         (libstdc++_init): Define tool_timeout.
267         (dg-test): Override DejaGnu proc.
268         (v3_target_compile): Set timeout value from new proc.
269         (v3_target_compile_as_c): Ditto.
270
271 2008-11-24  Paolo Carlini  <paolo.carlini@oracle.com>
272
273         PR libstdc++/38244 (cont, debug bits)
274         * include/debug/bitset (bitset<>::bitset(const char*, char, char)):
275         Remove, do not implement DR 778.
276
277 2008-11-24  Paolo Carlini  <paolo.carlini@oracle.com>
278
279         PR libstdc++/38244
280         * include/std/bitset (bitset<>::bitset(const char*, char, char)):
281         Remove, do not implement DR 778.
282         * doc/xml/manual/intro.xml: Remove entry for DR 778.
283         * testsuite/23_containers/bitset/cons/2.cc: Remove.
284         * testsuite/23_containers/bitset/cons/dr396.cc: Tweak.
285         * testsuite/23_containers/bitset/cons/38244.cc: Add.
286
287 2008-11-21  Paolo Carlini  <paolo.carlini@oracle.com>
288
289         * testsuite/22_locale/num_put/put/char/38210.cc: Tweak.
290         * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
291
292 2008-11-21  Paolo Carlini  <paolo.carlini@oracle.com>
293
294         PR libstdc++/38210
295         * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
296         ios_base&, char_type, const void*)): Fix.
297         * testsuite/22_locale/num_put/put/char/38210.cc: New.
298         * testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
299
300 2008-11-20  Paolo Carlini  <paolo.carlini@oracle.com>
301
302         PR libstdc++/38196
303         * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
304         ios_base&, char_type, bool)): Fix.
305         * testsuite/22_locale/num_put/put/char/38196.cc: New.
306         * testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
307
308 2008-11-18  Paolo Carlini  <paolo.carlini@oracle.com>
309
310         * include/tr1_impl/cinttypes: Remove redundant pragma system_header.
311         * include/tr1_impl/cfenv: Likewise.
312         * include/tr1_impl/cstdint: Likewise.
313
314 2008-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
315
316         PR libstdc++/38000
317         * include/c_global/csignal: Do not use include_next.
318         * include/c_global/cstdlib: Likewise.
319         * include/c_global/cstdio: Likewise.
320         * include/c_global/cstdarg: Likewise.
321         * include/c_global/cctype: Likewise.
322         * include/c_global/cerrno: Likewise.
323         * include/c_global/cmath: Likewise.
324         * include/c_global/clocale: Likewise.
325         * include/c_global/climits: Likewise.
326         * include/c_global/cassert: Likewise.
327         * include/c_global/csetjmp: Likewise.
328         * include/c_global/cwchar: Likewise.
329         * include/c_global/cfloat: Likewise.
330         * include/c_global/cstdbool: Likewise.
331         * include/c_global/cstring: Likewise.
332         * include/c_global/cstddef: Likewise.
333         * include/c_global/cwctype: Likewise.
334         * include/tr1/cstdbool: Likewise.
335         * include/tr1_impl/cinttypes: Do not include <inttypes.h>.
336         * include/c_global/cinttypes: Do it here.
337         * include/tr1/cinttypes: Likewise.
338         * include/tr1_impl/cfenv: Do not include <fenv.h>.
339         * include/c_global/cfenv: Do it here.
340         * include/tr1/cfenv: Likewise.
341         * include/tr1_impl/cstdint: Do not include <stdint.h>.
342         * include/c_global/cstdint: Do it here.
343         * include/tr1/cstdint: Likewise.
344         * include/c_compatibility/fenv.h: Include <tr1_impl/cfenv>.
345         * include/c_compatibility/stdint.h: Include <tr1_impl/cstdint>.
346         * include/c_compatibility/inttypes.h: Include <tr1_impl/cinttypes>.
347
348         * include/c_compatibility/math.h: Minor tweak, add comment.
349
350 2008-11-12  Steve Ellcey  <sje@cup.hp.com>
351
352         * configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.
353         * configure: Regenerate to get new GCC_CHECK_UNWIND_GETIPINFO.
354
355 2008-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
356
357         PR libstdc++/37986 (cont)
358         * include/tr1_impl/random (struct _Adaptor): Use only remove_reference
359         on _Engine.
360         (struct _Adaptor<_Engine*, _Distribution>): Add.
361         * testsuite/tr1/5_numerical_facilities/random/variate_generator/
362         37986.cc: Extend.
363
364 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
365
366         PR libstdc++/37986
367         * include/tr1_impl/random (struct _Adaptor): Use remove_pointer
368         and remove_reference on _Engine.
369         * testsuite/tr1/5_numerical_facilities/random/variate_generator/
370         37986.cc: New.
371
372 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
373
374         * testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
375
376 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
377
378         * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
379         * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
380         Likewise.
381
382 2008-11-11  Bob Walters  <bob.s.walters@gmail.com>
383
384         * include/bits/forward_list.h: Support non-standard pointer types
385         (_Fwd_list_node_base): Add _Alloc template parameter.
386         (_Fwd_list_node<>): Likewise.
387         (_Fwd_list_iterator<>): Likewise.
388         (_Fwd_list_const_iterator<>): Likewise.
389         (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
390         Use _Alloc<_Tp>::pointer.
391         (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
392         (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
393         _M_insert_after, _M_put_node, _M_erase_after): Likewise.
394         (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
395         (forward_list<>): Use __static_pointer_cast in place of static_cast,
396         and __const_pointer_cast in place of const_cast.
397         * include/bits/forward_list.tcc
398         (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
399         of standard pointers, __static_pointer_cast in place of static_cast.
400         (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
401         Likewise.
402         (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
403         splice_after, remove, remove_if, merge): Likewise.
404         * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
405         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
406         Likewise.
407         * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
408         Likewise.
409         * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
410         Likewise.
411         * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
412         Likewise.
413         * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
414         Likewise.
415         * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
416         Likewise.
417         * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
418         Likewise.
419         * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
420         Likewise.
421         * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
422         Likewise.
423         * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
424         Likewise.
425         * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
426         Likewise.
427         * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
428         Likewise.
429         * testsuite/23_containers/forward_list/ext_pointer/requirements/
430         explicit_instantiation/1.cc: Likewise.
431         * testsuite/23_containers/forward_list/ext_pointer/requirements/
432         explicit_instantiation/3.cc: Likewise.
433         * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
434
435 2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
436
437         * include/ext/extptr_allocator.h: Minor tweaks.
438         * include/ext/pointer.h: Likewise.
439         * include/ext/cast.h: Likewise.
440
441 2008-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
442
443         PR libstdc++/38067
444         * config/locale/gnu/monetary_members.cc (moneypunct<>::
445         _M_initialize_moneypunct(__c_locale, const char*)): Use correct vector
446         delete for __wcs_ps and __wcs_ns.
447
448 2008-11-07  Bob Walters  <bob.s.walters@gmail.com>
449
450         * include/ext/pointer.h: New, add experimental support for non-standard
451         pointer types in containers via the allocator::pointer typedef.
452         (Currently only supported/working with std::vector)
453         * include/ext/cast.h: New, add overload-able pointer casting functions
454         for use in containers supporting non-standard pointer types.
455         * include/ext/extptr_allocator.h: New, add _ExtPtr_allocator.
456         * include/Makefile.am: Update.
457         * include/precompiled/extc++.h: Likewise.
458         * include/Makefile.in: Regenerate.
459         * testsuite/ext/ext_pointer/1.cc: New.
460         * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
461         * testsuite/23_containers/vector/ext_pointer/citerators.cc: New.
462         * testsuite/23_containers/vector/ext_pointer/data_access.cc: Likewise.
463         * testsuite/23_containers/vector/ext_pointer/resize.cc: Likewise.
464         * testsuite/23_containers/vector/ext_pointer/types/1.cc: Likewise.
465         * testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
466         Likewise.
467         * testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc:
468         Likewise.
469         * testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc:
470         Likewise.
471         * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
472         1.cc: Likewise.
473         * testsuite/23_containers/vector/ext_pointer/explicit_instantiation/
474         3.cc: Likewise.
475
476 2008-11-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
477
478         PR libstdc++/38017
479         Revert:
480         * include/tr1_impl/functional (result_of,reference_wrapper): Update
481         to use C++0x features.
482         * testsuite/20_util/function_objects/return_types/result_of.cc: New.
483         * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
484         New.
485         * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
486         New.
487         * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
488
489 2008-11-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
490
491         PR libstdc++/24803
492         PR libstdc++/37351
493         * include/tr1_impl/functional (result_of,reference_wrapper): Update
494         to use C++0x features.
495         * testsuite/20_util/function_objects/return_types/result_of.cc: New.
496         * testsuite/20_util/function_objects/return_types/result_of_neg.cc:
497         New.
498         * testsuite/20_util/function_objects/return_types/result_of_ref.cc:
499         New.
500         * testsuite/20_util/reference_wrapper/24803.cc: Uncomment FIXMEs.
501
502 2008-11-03  Paolo Carlini  <paolo.carlini@oracle.com>
503
504         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
505         iter_type, ios_base&, ios_base::iostate&, bool&): Tidy.
506         * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
507         * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
508
509 2008-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
510
511         PR libstdc++/37958 (cont again)
512         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
513         iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
514         * testsuite/22_locale/num_get/get/char/37958.cc: Extend.
515         * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
516
517 2008-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
518
519         * include/bits/locale_facets.tcc (num_get<>::do_get(, long&),
520         num_get<>::do_get(, unsigned short&),
521         num_get<>::do_get(, unsigned int&),
522         num_get<>::do_get(, unsigned long&),
523         num_get<>::do_get(, long long&),
524         num_get<>::do_get(, unsigned long long&),
525         num_put<>::do_put(, long), num_put<>::do_put(, unsigned long),
526         num_put<>::do_put(, long long),
527         num_put<>::do_put(, unsigned long long)): Move inline...
528         * include/bits/locale_facets.h: ... here.
529
530 2008-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
531
532         PR libstdc++/37958 (cont)
533         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
534         iter_type, ios_base&, ios_base::iostate&, bool&): Fix again.
535
536 2008-11-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
537
538         * include/bits/shared_ptr.h: Update comparisons to match WP.
539         (_Sp_counted_ptr): Make copy and assignment members deleted.
540         (_Sp_counted_deleter): Remove private copy and assignment members.
541         (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
542         friend operator< with overloaded _M_less member functions to allow
543         comparison with either shared_count or weak_count.
544         (__shared_ptr::_M_less,__weak_ptr::_M_less): Replace with...
545         (__shared_ptr::owner_before,__weak_ptr::owner_before): New overloads
546         for ownership-based ordering.
547         (operator<(__shared_ptr,__shared_ptr)): Compare stored pointers,
548         make non-friend.
549         (operator==(__shared_ptr,__shared_ptr)): Make non-friend.
550         (operator!=(__shared_ptr,__shared_ptr)): Likewise.
551         (less<__shared_ptr<>>,less<shared_ptr<>>,_Sp_less): Explicitly call
552         pointer specialization.
553         (__weak_ptr::operator<,weak_ptr::operator<=,weak_ptr::operator>,
554         weak_ptr::operator>=): Remove operator< and delete all comparisons.
555         (_Sp_owner_less,owner_less): Predicate for ownership-based ordering.
556         (operator<(shared_ptr,shared_ptr): Overload for derived shared_ptr.
557         (operator==(shared_ptr,shared_ptr): Likewise.
558         (operator!=(shared_ptr,shared_ptr): Likewise.
559         (swap(shared_ptr,shared_ptr)): Fix parameter types.
560         (swap(weak_ptr,weak_ptr)): Add missing overload.
561         * testsuite/20_util/owner_less/cmp.cc: New.
562         * testsuite/20_util/shared_ptr/comparison/cmp.cc: Test other ops.
563         * testsuite/20_util/shared_ptr/comparison/less.cc: New.
564         * testsuite/20_util/shared_ptr/observers/owner_before.cc: New.
565         * testsuite/20_util/weak_ptr/observers/owner_before.cc: New.
566         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: New.
567
568 2008-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
569
570         PR libstdc++/37958
571         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
572         iter_type, ios_base&, ios_base::iostate&, bool&): Fix.
573         * testsuite/22_locale/num_get/get/char/37958.cc: New.
574         * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
575
576 2008-10-27  Paolo Carlini  <paolo.carlini@oracle.com>
577
578         PR libstdc++/37919
579         Revert:
580         2008-10-18  Douglas Gregor  <doug.gregor@gmail.com>
581
582         * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
583         (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
584         Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
585         Remove the old variadic constructor, and instead provide several
586         variadic constructors that avoid failing when attempting to
587         initialize a pointer from a null pointer constant.
588         * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
589         initialization of pointers from the null pointer constant.
590
591 2008-10-27  Paolo Carlini  <paolo.carlini@oracle.com>
592
593         PR libstdc++/37522
594         * config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
595         * include/bits/basic_string.h: Guard string conversions with
596         !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
597         * testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
598         New.
599         * testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
600         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
601         Use the latter.
602         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
603         Likewise.
604         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
605         Likewise.
606         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
607         Likewise.
608         * testsuite/21_strings/basic_string/numeric_conversions/char/
609         stoull.cc: Likewise.
610         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
611         Likewise.
612         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
613         Likewise.
614         * testsuite/21_strings/basic_string/numeric_conversions/char/
615         to_string.cc: Likewise.
616         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
617         Likewise.
618
619 2008-10-24  Paolo Carlini  <paolo.carlini@oracle.com>
620
621         * config/os/generic/error_constants.h (enum errc): Remove
622         no_posix_equivalent.
623         * config/os/mingw32/error_constants.h (enum errc): Likewise.
624         * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
625         Adjust.
626
627 2008-10-24  Jakub Jelinek  <jakub@redhat.com>
628
629         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
630         (RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
631         variables.
632         (%/site.exp, check-DEJAGNU%): New targets.
633         (check-am): Run $(MAKE) check-DEJAGNU.
634         * testsuite/Makefile.in: Regenerated.
635
636 2008-10-23  Chris Fairles  <cfairles@gcc.gnu.org>
637
638         * config/os/generic/error_constants.h (errc): Use long type.
639         * config/os/mingw32/error_constants.h (errc): Likewise.
640
641 2008-10-22  Chris Fairles  <cfairles@gcc.gnu.org>
642
643         * include/std/system_error (is_error_code_enum): Specialize for errc.
644         (error_category::error_category): Defaulted and protected.
645         (error_category::~error_category): New, virtual.
646         (error_category::error_category(const error_category&),
647         error_category::operator=(const error_category&)): Deleted.
648         (get_system_category, get_posix_category): Remove (DR 890).
649         (system_category): External linkage (DR 890).
650         (posix_category): Remove.
651         (generic_category): Add. External linkage (DR 890).
652         (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
653         (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
654         error_code::assign, use generic_category.
655         (error_condition::error_condition,
656         error_condition::error_condition<>(_ErrorConditionEnum)): Use
657         generic_category.
658         (error_condition::clear,
659         error_condition::operator=<>(_ErrorConditionEnum)): Forward to
660         error_code::assign, use generic_category.
661         (make_error_code, make_error_condition): Define in namespace std.
662         * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
663         unique_lock<>::try_lock_until<>(duration),
664         unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
665         * src/system_error.cc (system_error_category, generic_error_category):
666         New.
667         (gnu_error_category): Remove.
668         (get_system_category, get_posix_category): Remove (DR 890).
669         (system_category, generic_category): Define.
670         * src/functexcept.cc (__throw_system_error): Use generic_category.
671         * config/abi/pre/gnu.ver: Export system_category and generic_category,
672         remove get_system_category and get_generic_category (DR 890).
673         * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
674         enum class type. Fix spelling.
675         * config/os/mingw32/error_constants.h (posix_errno): Likewise.
676         * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
677         generic_category.
678         * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
679         * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
680         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
681         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
682         dg-error line numbers.
683         * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
684         generic_category.
685         * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
686         * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
687         * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
688         Likewise.
689         * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
690         * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
691         Remove using tests since errc is not a namespace.
692         * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
693         * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
694         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
695         Likewise.
696         * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
697         Likewise.
698         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
699
700 2008-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
701
702         * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<>
703         (_Args&&...)): Add in C++0x mode.
704         * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node,
705         _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in
706         C++0x mode.
707
708         * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use
709         Node_allocator for improved accuracy.
710         * testsuite/tr1/6_containers/unordered_multimap/capacity/
711         29134-multimap.cc: Adjust.
712         * testsuite/tr1/6_containers/unordered_multimap/capacity/
713         29134-map.cc: Likewise.
714         * testsuite/tr1/6_containers/unordered_multimap/capacity/
715         29134-multiset.cc: Adjust.
716         * testsuite/tr1/6_containers/unordered_multimap/capacity/
717         29134-set.cc: Likewise.
718
719 2008-10-19  Paolo Carlini  <paolo.carlini@oracle.com>
720
721         * include/bits/stl_tree.h (_Rb_tree_node<>::_Rb_tree_node<>
722         (_Args&&...)): Add in C++0x mode.
723         (_Rb_tree<>::_M_create_node<>(_Args&&...)): Add in C++0x mode,
724         use _M_get_Node_allocator.
725         (_Rb_tree<>::_M_destroy_node(_Link_type): Use _M_get_Node_allocator
726         in C++0x mode.
727         * testsuite/23_containers/set/operators/1_neg.cc: Adjust dg-error
728         line numbers.
729         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
730
731 2008-10-18  Douglas Gregor  <doug.gregor@gmail.com>
732
733         * include/bits/stl_pair.h (__may_be_null_pointer_init): New.
734         (pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
735         Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
736         Remove the old variadic constructor, and instead provide several
737         variadic constructors that avoid failing when attempting to
738         initialize a pointer from a null pointer constant.
739         * testsuite/20_util/pair/moveable.cc (test3): Add new tests with
740         initialization of pointers from the null pointer constant.
741
742 2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
743
744         * include/bits/forward_list.tcc (forward_list<>::
745         _M_initialize_dispatch(_InputIterator, _InputIterator, __false_type)):
746         Simplify.
747
748 2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
749
750         * include/bits/forward_list.h (forward_list<>::
751         forward_list(size_type)): Tweak, use _Base default constructor.
752
753 2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
754
755         * include/bits/forward_list.h (forward_list<>::insert_after): Minor
756         cosmetic changes.
757
758 2008-10-16  Edward Smith-Rowland  <3dw4rd@verizon.net>
759
760         * include/bits/forward_list.h: Factor list construction to dispatch
761         routines.
762         * include/bits/forward_list.tcc: Likewise.
763         * testsuite/23_containers/forward_list/modifiers/2.cc:
764
765 2008-10-16  Paolo Carlini  <paolo.carlini@oracle.com>
766
767         * include/bits/forward_list.tcc (operator==): Use auto.
768
769 2008-10-16  Paolo Carlini  <paolo.carlini@oracle.com>
770
771         * include/bits/forward_list.h (_Fwd_list_base<>::_M_insert_after):
772         Move out of line, tweak to return _Fwd_list_node_base*.
773         (forward_list<>::insert_after(const_iterator, const _Tp&),
774         forward_list<>::insert_after(const_iterator, _Tp&&)): Use it.
775         * include/bits/forward_list.tcc (_Fwd_list_base<>::_M_insert_after):
776         Define.
777
778         * include/bits/forward_list.h (forward_list<>): Consistently qualify
779         calls of base class functions with this->.
780         * include/bits/forward_list.tcc (forward_list<>): Likewise.
781
782         * include/bits/forward_list.h: Move some functions out of line...
783         * include/bits/forward_list.tcc: ... here.
784
785         * include/bits/forward_list.h (forward_list<>::resize(size_type)): Fix.
786
787 2008-10-15  Paolo Carlini  <paolo.carlini@oracle.com>
788
789         * include/bits/forward_list.h: Remove pointless const qualifiers in
790         const_casts.
791         * include/bits/forward_list.tcc: Likewise.
792
793         * include/bits/forward_list.h (forward_list<>::pointer,
794         const_pointer, reference, const_reference): Fix, use _Tp_alloc_type.
795         * testsuite/23_containers/forward_list/requirements/
796         explicit_instantiation/1.cc: New.
797         * testsuite/23_containers/forward_list/requirements/
798         explicit_instantiation/1.cc: Likewise.
799
800 2008-10-15  Paolo Carlini  <paolo.carlini@oracle.com>
801
802         * include/bits/forward_list.h (forward_list<>::max_size): Use
803         Node_allocator; minor cosmetic changes.
804         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
805
806 2008-10-15  Edward Smith-Rowland  <3dw4rd@verizon.net>
807
808         * include/std/forward_list: New.
809         * include/bits/forward_list.h: Likewise.
810         * include/bits/forward_list.tcc: Likewise.
811         * include/precompiled/stdc++.h: Modified to include forward_list.
812         * include/Makefile.am: Add forward_list, forward_list.h, and
813         forward_list.tcc.
814         * include/Makefile.in: Regenerate.
815         * testsuite/23_containers/forward_list/modifiers/1.cc: New.
816         * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
817         * testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
818         * testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
819         * testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
820         * testsuite/23_containers/forward_list/cons/1.cc: Likewise.
821         * testsuite/23_containers/forward_list/cons/2.cc: Likewise.
822         * testsuite/23_containers/forward_list/cons/3.cc: Likewise.
823         * testsuite/23_containers/forward_list/cons/4.cc: Likewise.
824         * testsuite/23_containers/forward_list/cons/5.cc: Likewise.
825         * testsuite/23_containers/forward_list/cons/6.cc: Likewise.
826         * testsuite/23_containers/forward_list/cons/7.cc: Likewise.
827         * testsuite/23_containers/forward_list/cons/8.cc: Likewise.
828         * testsuite/23_containers/forward_list/cons/9.cc: Likewise.
829         * testsuite/23_containers/forward_list/requirements/1.cc: Likewise.
830         * testsuite/23_containers/forward_list/operations/1.cc: Likewise.
831         * testsuite/23_containers/forward_list/operations/2.cc: Likewise.
832         * testsuite/23_containers/forward_list/operations/3.cc: Likewise.
833         * testsuite/23_containers/forward_list/operations/4.cc: Likewise.
834         * testsuite/23_containers/forward_list/operations/5.cc: Likewise.
835         * testsuite/23_containers/forward_list/operations/6.cc: Likewise.
836         * testsuite/23_containers/forward_list/operations/7.cc: Likewise.
837         * testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
838         * testsuite/23_containers/forward_list/comparable.cc: Likewise.
839         * testsuite/23_containers/forward_list/moveable.cc: Likewise.
840         * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
841         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Update.
842         * testsuite/17_intro/headers/c++200x/all: Likewise.
843
844 2008-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
845
846         * include/bits/stl_list.h (_List_node<>::_List_node<>(_Args&&...)):
847         Add in C++0x mode.
848         (list<>::_M_create_node<>(_Args&&...)): Use _M_get_Node_allocator.
849         (list<>::_M_erase(iterator): Likewise, in C++0x mode.
850         * include/bits/list.tcc (_List_base<>::_M_clear): Likewise.
851         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
852         Adjust dg-error line number.
853         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
854         Likewise.
855         * testsuite/23_containers/list/requirements/dr438/
856         constructor_1_neg.cc: Likewise.
857         * testsuite/23_containers/list/requirements/dr438/
858         constructor_2_neg.cc: Likewise.
859
860 2008-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
861
862         * include/bits/stl_tree.h (_Rb_tree<>::max_size): Use Node_allocator
863         for improved accuracy.
864         * include/bits/stl_list.h (list<>::max_size): Likewise.
865         * testsuite/23_containers/multimap/capacity/29134.cc: Adjust.
866         * testsuite/23_containers/set/capacity/29134.cc: Likewise.
867         * testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
868         * testsuite/23_containers/list/capacity/29134.cc: Likewise.
869         * testsuite/23_containers/map/capacity/29134.cc: Likewise.
870
871 2008-10-10  Paolo Carlini  <paolo.carlini@oracle.com>
872
873         * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized
874         warnings.
875
876 2008-10-10  Paolo Carlini  <paolo.carlini@oracle.com>
877
878         * include/std/system_error (native_category): Remove.
879         (posix_category): Add.
880         (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
881         Fix _M_cat initialization.
882         (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
883         (error_condition::_M_cat, error_condtion::operator=
884         (_ErrorConditionEnum)): Implement resolution of DR 804.
885         (error_condition::error_condition(_ErrorConditionEnum, typename
886         enable_if<>:type*): Fix.
887         (error_condition::clear, error_condition::assign): Implement.
888         (operator==, operator!=): Fix uglification of parameters.
889         (make_error_code, make_error_condition): Define in namespace
890         posix_error.
891         (operator<<(basic_ostream<>&, const error_code&)): Define here.
892         * include/std/ostream (operator<<(basic_ostream<>&,
893         const error_code&)): Do not define here.
894         * testsuite/19_diagnostics/error_condition/cons/1.cc: New.
895         * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
896         * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
897         Likewise.
898         * testsuite/19_diagnostics/error_condition/operators/equal.cc:
899         Likewise.
900         * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
901         Likewise.
902         * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
903         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
904         dg-error line numbers.
905         * testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
906
907         * testsuite/util/testsuite_error.h: Minor tweaks.
908         * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
909
910 2008-10-10  Chris Fairles  <cfairles@gcc.gnu.org>
911
912         * testsuite/20_util/duration/cons/1.cc: Remove invalid check of
913         uninitialized duration.
914
915 2008-10-08  Bob Walters  <bob.s.walters@gmail.com>
916
917         * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start,
918         _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate,
919         _M_deallocate): Use _Tp_alloc_type::pointer.
920
921 2008-10-07  Jason Merrill  <jason@redhat.com>
922
923         PR libstdc++/37761
924         * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
925         * testsuite/abi/demangle/abi_text/02.cc: Likewise.
926         * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
927
928 2008-10-07  Paolo Carlini  <paolo.carlini@oracle.com>
929
930         * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
931         const reverse_iterator<>&), operator-(const __normal_iterator<>&,
932         const __normal_iterator<>&), operator-(const move_iterator<>&,
933         const move_iterator<>&)): Use the auto -> return type syntax,
934         implement DR 685.
935
936 2008-10-06  Jason Merrill  <jason@redhat.com>
937
938         * config/abi/pre/gnu.ver: Update char16/32_t manglings.
939
940 2008-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
941
942         * testsuite/20_util/reference_wrapper/invoke.cc: New.
943         * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
944         * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
945
946 2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
947
948         * config/locale/generic/c_locale.cc (__convert_to_v): Fix
949         !__FLT_HAS_INFINITY__ case.
950
951 2008-09-30  Chris Fairles  <cfairles@gcc.gnu.org>
952
953         * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
954         DR 522 [Ready].
955         * testsuite/20_util/tuple/swap.cc: New.
956
957 2008-09-30  Paolo Carlini  <paolo.carlini@oracle.com>
958
959         PR libstdc++/30085 (again)
960         * include/debug/unordered_map (unordered_map<>, unordered_multimap<>):
961         Do not derive from _Safe_association, derive from _GLIBCXX_STD_D::
962         unordered_map / unordered_multimap; add missing member functions.
963         * include/debug/unordered_set (unordered_set<>, unordered_multiset<>):
964         Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset.
965         * include/debug/safe_association.h: Remove.
966         * include/Makefile.am: Adjust.
967         * include/Makefile.in: Regenerate.
968         * testsuite/23_containers/unordered_multimap/init-list.cc: Remove
969         xfail.
970
971 2008-09-28  Paolo Carlini  <paolo.carlini@oracle.com>
972
973         * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
974         void reset(U)): Add as deleted function, per DR 821 [Ready].
975         * include/bits/unique_ptr.h: Prefer everywhere deleted to private
976         member function declarations; minor formatting tweaks.
977         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
978         * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
979         directives.
980
981 2008-09-28  Chris Fairles  <cfairles@gcc.gnu.org>
982
983         * include/std/mutex (try_lock): Implement generic try_lock.
984         * testsuite/30_threads/try_lock/1.cc: New.
985         * testsuite/30_threads/try_lock/2.cc: Likewise.
986         * testsuite/30_threads/try_lock/3.cc: Likewise.
987         * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
988         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
989         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
990         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
991         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
992         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
993         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
994         Likewise.
995         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
996
997 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
998             Steve Ellcey  <sje@cup.hp.com>
999
1000         * configure: Regenerate for new libtool.
1001         * aclocal.m4: Ditto.
1002         * Makefile.in: Ditto.
1003         * src/Makefile.in: Ditto.
1004         * doc/Makefile.in: Ditto.
1005         * po/Makefile.in: Ditto.
1006         * libmath/Makefile.in: Ditto.
1007         * include/Makefile.in: Ditto.
1008         * libsupc++/Makefile.in: Ditto.
1009         * testsuite/Makefile.in: Ditto.
1010
1011 2008-09-24  Paolo Carlini  <paolo.carlini@oracle.com>
1012
1013         * include/std/bitset: Adjust comment to reflect DR 853.
1014         * include/debug/bitset: Likewise.
1015         * doc/xml/manual/intro.xml: Add an entry for DR 853.
1016
1017 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
1018
1019         Implement DR 396 [Ready].
1020         * include/std/bitset (bitset<>::bitset(const std::basic_string<>&,
1021         size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1022         char, char), bitset<>::to_string(_CharT, _CharT),
1023         bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t,
1024         size_t, _CharT, _CharT), bitset<>::_M_copy_to_string
1025         (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr(
1026         const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add.
1027         (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<(
1028         std::basic_ostream<>&, const bitset<_Nb>&)): Adjust.
1029         * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&,
1030         size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*,
1031         char, char), bitset<>::to_string(_CharT, _CharT)): Add.
1032         * doc/xml/manual/intro.xml: Add an entry for DR 396.
1033         * testsuite/23_containers/bitset/cons/dr396.cc: Add.
1034         * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
1035
1036 2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
1037
1038         * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings.
1039         * testsuite/25_algorithms/max/37547.cc: Likewise.
1040         * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1041
1042 2008-09-23  Chris Fairles  <cfairles@gcc.gnu.org>
1043
1044         * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
1045         typedef monotonic_clock to system_clock and instead declare new class.
1046         * src/chrono.cc: Conditionally define monotonic_clock::now().
1047         * include/std/condition_variable (wait_until): Throw exception if
1048         __gthread_cond_timedwait returns with error other than timed_out. Use
1049         system_clock as known clock type (__clock_t) and add overloads for known
1050         and unknown clocks. In the unknown case, sync to the known clock.
1051         Implement overload taking a predicate.
1052         (wait_for): Implement overload taking a predicate.
1053         * config/abi/pre/gnu.ver: Add exports for monotonic_clock.
1054         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
1055         line numbers.
1056         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1057         Likewise.
1058         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1059         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1060         * testsuite/30_threads/condition_variable/member/1.cc: New.
1061         * testsuite/30_threads/condition_variable/member/2.cc: Likewise.
1062
1063 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
1064
1065         PR libstdc++/37624
1066         * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case
1067         when strtold is not available.
1068         * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1069
1070 2008-09-23  Benjamin Kosnik  <bkoz@redhat.com>
1071
1072         PR libstdc++/37391 continued.
1073         * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag,
1074         specify full path for source file links.
1075         * doc/html/ext/pb_ds/pq_examples.html: Same.
1076
1077 2008-09-23  Paolo Carlini  <paolo.carlini@oracle.com>
1078
1079         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const
1080         by value parameters.
1081         * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise.
1082
1083 2008-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1084
1085         PR libstdc++/32422, DR 23 [Ready in R60]
1086         * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&,
1087         ios_base::iostate&, const __c_locale&), __convert_to_v(const char*,
1088         double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1089         char*, long double&, ios_base::iostate&, const __c_locale&)): Implement
1090         DR 23 and deal correctly with broken exponents.
1091         * config/locale/generic/c_locale.cc (__convert_to_v(const char*,
1092         float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const
1093         char*, double&, ios_base::iostate&, const __c_locale&),
1094         __convert_to_v(const char*, long double&, ios_base::iostate&, const
1095         __c_locale&)): Likewise.
1096         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1097         _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise.
1098         (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&,
1099         ios_base::iostate&, string&): Change grouping check to set instead of
1100         OR failbit; do not check for eofbit here...
1101         (num_get<>::do_get(iter_type, iter_type, ios_base&,
1102         ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type,
1103         ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type,
1104         iter_type, ios_base&, ios_base::iostate&, long double&),
1105         num_get<>::__do_get(iter_type, iter_type, ios_base&,
1106         ios_base::iostate&, double&)): ... do it here instead.
1107         (num_get<>::do_get(iter_type, iter_type, ios_base&,
1108         ios_base::iostate&, bool&)): Implement DR 23.
1109         (num_get<>::do_get(iter_type, iter_type, ios_base&,
1110         ios_base::iostate&, void*&)): Adjust.
1111         * doc/xml/manual/intro.xml: Add and entry for DR 23.
1112         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
1113         Adjust.
1114         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1115         Likewise.
1116         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
1117         * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
1118         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
1119         * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
1120         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1121         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
1122         * testsuite/22_locale/num_get/get/char/10.cc: Likewise.
1123         * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
1124         * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
1125         * testsuite/22_locale/num_get/get/char/16.cc: Likewise.
1126
1127 2008-09-22  Benjamin Kosnik  <bkoz@redhat.com>
1128
1129         PR libstdc++/37391
1130         * doc/html/ext/pb_ds/*.html: Fix external links.
1131
1132 2008-09-22  Benjamin Kosnik  <bkoz@redhat.com>
1133
1134         * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex,
1135         condition_variable, and thread output.
1136
1137 2008-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
1138
1139         * doc/html/ext/lwg-closed.html: Update to Revision R59.
1140         * doc/html/ext/lwg-active.html: Likewise.
1141         * doc/html/ext/lwg-defects.html: Likewise.
1142         * doc/xml/manual/intro.xml: Adjust.
1143
1144 2008-09-21  Paolo Carlini  <paolo.carlini@oracle.com>
1145
1146         * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair,
1147         consistently with the other overload for initializer_list.
1148
1149 2008-09-19  Johannes Singler  <singler@ira.uka.de>
1150
1151         PR libstdc++/37470
1152         * include/parallel/base.h: Rename log2 to __log2.
1153           (__log2) Avoid infinite loop for n <= 0, return 0.
1154         * include/parallel/losertree.h: Rename log2 to __log2.
1155         * include/parallel/multiseq_selection.h: Likewise.
1156         * include/parallel/random_shuffle.h: Likewise.
1157
1158 2008-09-18  Paolo Carlini  <paolo.carlini@oracle.com>
1159
1160         * include/bits/shared_ptr.h (__shared_count<>::
1161         __shared_count(_Ptr, _Deleter), __shared_count<>::
1162         __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1163         __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1164         Qualify new with ::.
1165
1166 2008-09-17  Paolo Carlini  <paolo.carlini@oracle.com>
1167
1168         PR libstdc++/37547
1169         * include/bits/stl_algo.h (min(initializer_list<>),
1170         min(initializer_list<>, Compare), max(initializer_list<>),
1171         max(initializer_list<>, Compare), minmax(initializer_list<>),
1172         minmax(initializer_list<>, Compare)): Fix return type.
1173         * include/bits/algorithmfwd.h: Adjust.
1174         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1175         * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1176         Likewise.
1177         * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1178         pod2.cc: Likewise.
1179         * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1180         Likewise.
1181         * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1182         pod2.cc: Likewise.
1183         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1184         3.cc: Likewise.
1185         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1186         pod2.cc: Likewise.
1187         * testsuite/25_algorithms/max/37547.cc: New.
1188         * testsuite/25_algorithms/min/37547.cc: Likewise.
1189         * testsuite/25_algorithms/minmax/37547.cc: Likewise.
1190
1191 2008-09-16  Chris Fairles  <chris.fairles@gmail.com>
1192
1193         * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc:
1194         New.
1195         * testsuite/25_algorithms/min/requirements/explicit_instantiation/
1196         pod2.cc: Likewise.
1197         * testsuite/25_algorithms/min/3.cc: Likewise.
1198         * testsuite/25_algorithms/min/4.cc: Likewise.
1199         * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc:
1200         Likewise.
1201         * testsuite/25_algorithms/max/requirements/explicit_instantiation/
1202         pod2.cc: Likewise.
1203         * testsuite/25_algorithms/max/3.cc: Likewise.
1204         * testsuite/25_algorithms/max/4.cc: Likewise.
1205         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1206         3.cc: Likewise.
1207         * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/
1208         pod2.cc: Likewise.
1209         * testsuite/25_algorithms/minmax/2.cc: Likewise.
1210         * testsuite/25_algorithms/minmax/3.cc: Likewise.
1211
1212 2008-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
1213
1214         * include/bits/stl_algo.h (min(initializer_list<>),
1215         min(initializer_list<>, Compare), max(initializer_list<>),
1216         max(initializer_list<>, Compare), minmax(initializer_list<>),
1217         minmax(initializer_list<>, Compare)): Add in C++0x mode.
1218         * include/bits/algorithmfwd.h: Add.
1219         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1220
1221 2008-09-13  Chris Fairles  <chris.fairles@gmail.com>
1222
1223         * testsuite/30_threads/thread/algorithm/1.cc: Join thread before
1224         program exits.
1225         * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1226         * testsuite/30_threads/thread/this_thread/3.cc: Define test variable.
1227         * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1228
1229 2008-09-12  Chris Fairles  <chris.fairles@gmail.com>
1230             Benjamin Kosnik  <bkoz@redhat.com>
1231
1232         * include/std/thread: New.
1233         * include/Makefile.am: Update.
1234         * include/Makefile.in: Regenerate.
1235         * src/thread.cc: New.
1236         * src/Makefile.am: Update.
1237         * src/Makefile.in: Regenerate.
1238         * acinclude.m4: Add check for nanosleep.
1239         * configure.ac: Call it.
1240         * configure: Regenerate.
1241         * config.h.in: Likewise.
1242         * config/abi/pre/gnu.ver: Add exports.
1243         * doc/doxygen/user.cfg.in: Add thread header.
1244         * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add.
1245         * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add.
1246         * testsuite/30_threads/thread/cons/1.cc: New.
1247         * testsuite/30_threads/thread/cons/2.cc: Likewise.
1248         * testsuite/30_threads/thread/cons/3.cc: Likewise.
1249         * testsuite/30_threads/thread/cons/4.cc: Likewise.
1250         * testsuite/30_threads/thread/algorithm/1.cc: Likewise.
1251         * testsuite/30_threads/thread/algorithm/2.cc: Likewise.
1252         * testsuite/30_threads/thread/member/1.cc: Likewise.
1253         * testsuite/30_threads/thread/member/2.cc: Likewise.
1254         * testsuite/30_threads/thread/member/3.cc: Likewise.
1255         * testsuite/30_threads/thread/this_thread/1.cc: Likewise.
1256         * testsuite/30_threads/thread/this_thread/2.cc: Likewise.
1257         * testsuite/30_threads/thread/this_thread/3.cc: Likewise.
1258         * testsuite/30_threads/thread/this_thread/4.cc: Likewise.
1259         * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise.
1260         * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1261         * testsuite/17_intro/headers/c++200x/all.cc: Add thread.
1262         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1263         Add thread, condition_variable and mutex.
1264
1265 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
1266
1267         * src/ctype.cc (use_facet<ctype<char> >, use_facet<ctype<wchar_t>):
1268         Remove specializations.
1269         * src/locale-inst.cc (use_facet<ctype<C> >): Instantiate.
1270         * include/bits/locale_facets.tcc (use_facet<ctype<char> >,
1271         use_facet<ctype<wchar_t>): Declare as extern template.
1272         * include/bits/locale_facets.h (use_facet<ctype<char> >,
1273         use_facet<ctype<wchar_t>): Do not declare as specializations.
1274
1275 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
1276
1277         * config/locale/darwin/ctype_members.cc (ctype<char>::_M_narrow_init,
1278         ctype<char>::_M_widen_init): Don't define here.
1279         * config/locale/gnu/ctype_members.cc: Likewise.
1280         * config/locale/generic/ctype_members.cc: Likewise.
1281         * src/ctype.cc: Define here.
1282
1283 2008-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
1284
1285         PR libstdc++/37455
1286         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init,
1287         ctype<char>::_M_widen_init): Don't define inline.
1288         * config/locale/darwin/ctype_members.cc: ... define here.
1289         * config/locale/gnu/ctype_members.cc: ... likewise.
1290         * config/locale/generic/ctype_members.cc: ... likewise.
1291         * config/abi/pre/gnu.ver: Export.
1292
1293 2008-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1294
1295         * doc/xml/manual/abi.xml: Update for new releases.
1296         * doc/doxygen/user.cfg.in: Include C compatibility headers.
1297         * doc/html/*: Regenerate.
1298
1299 2008-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
1300
1301         * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACROS after
1302         inclusion of <inttypes.h>.
1303         * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and
1304         __STDC_CONSTANT_MACROS after <stdint.h>.
1305         * include/bits/postypes.h: Likewise.
1306
1307 2008-09-09  Andreas Schwab  <schwab@suse.de>
1308
1309         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check
1310         not to redefine main.
1311
1312 2008-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
1313
1314         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
1315         wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
1316         * include/tr1_impl/cinttypes: Use the latter.
1317         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
1318         * configure: Regenerate.
1319         * config.h.in: Likewise.
1320
1321 2008-09-05  Peter Dimov  <pdimov@mmltd.net>
1322
1323         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
1324
1325 2008-09-05  Paolo Carlini  <paolo.carlini@oracle.com>
1326
1327         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
1328         to...
1329         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
1330         this.
1331
1332 2008-09-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
1333
1334         PR libstdc++/36962
1335         * include/Makefile.am: Update headers.
1336         * include/Makefile.in: Regenerate.
1337         * include/std/memory: Update headers.
1338         * include/tr1/memory: Likewise.
1339         * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
1340         separate implementations for std and tr1.
1341         * include/bits/boost_sp_shared_count.h: Remove.
1342         * include/tr1/boost_sp_shared_count.h: Remove.
1343         * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
1344         and boost_shared_ptr.h into one file.
1345         (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
1346         and rvalue-reference support as per current WP.
1347         * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
1348         and boost_shared_ptr.h into one file.
1349         * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
1350         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
1351         * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
1352         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
1353         * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
1354         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
1355         * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
1356         * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
1357         * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.
1358
1359 2008-09-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
1360
1361         * doc/xml/manual/locale.xml: Fix typo.
1362
1363 2008-09-04  Paolo Carlini  <paolo.carlini@oracle.com>
1364
1365         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of
1366         POSIX threads.
1367         * configure: Regenerate.
1368
1369 2008-09-04  Chris Fairles  <chris.fairles@gmail.com>
1370
1371         * include/std/mutex (once_flag): Construct __gthread_once_t in a
1372         temporary variable before assigning to _M_once to avoid initialization
1373         errors.
1374
1375 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
1376
1377         * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
1378         GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
1379
1380         * Makefile.in: Regenerate.
1381         * src/Makefile.in: Likewise.
1382         * doc/Makefile.in: Likewise.
1383         * po/Makefile.in: Likewise.
1384         * libmath/Makefile.in: Likewise.
1385         * include/Makefile.in: Likewise.
1386         * libsupc++/Makefile.in: Likewise.
1387         * testsuite/Makefile.in: Likewise.
1388
1389 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
1390
1391         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
1392         check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
1393         * configure: Regenerate.
1394
1395 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
1396
1397         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
1398         * configure: Regenerate.
1399
1400 2008-09-03  Chris Fairles  <chris.fairles@gmail.com>
1401
1402         * include/std/condition_variable: Use new deleted ctors.
1403         * include/std/mutex: Likewise plus implement timed_mutex,
1404         recursive_timed_mutex and call_once.
1405         * src/condition_variable.cc: Implement wait(). Use gthread types.
1406         Remove _GTHREADS_HAS_COND checks in favor of global
1407         _GLIBCXX_HAS_GTHREADS.
1408         * src/mutex.cc (call_once): Implementation using TLS with mutex
1409         fallback.
1410         * config/abi/pre/gnu.ver: Add exported symbols.
1411         * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New.
1412         * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise.
1413         * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use
1414         dg-require-gthreads and dg-require-cstdint.
1415         * testsuite/30_threads/lock_guard/requirements/
1416         explicit_instantiation.cc: Likewise.
1417         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1418         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1419         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1420         * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise.
1421         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1422         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1423         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1424         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1425         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1426         Likewise.
1427         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
1428         * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1429         * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc:
1430         Likewise.
1431         * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1432         * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1433         * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1434         * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1435         * testsuite/30_threads/unique_lock/requirements/
1436         explicit_instantiation.cc: Likewise.
1437         * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise.
1438         * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error
1439         lines for deleted members.
1440         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
1441         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1442         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1443         * testsuite/30_threads/call_once/once_flag.cc: New.
1444         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1445         * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1446         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise
1447         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
1448         * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1449         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1450         Likewise.
1451         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1452         Likewise.
1453         * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
1454         * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1455         * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1456         * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1457         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1458         * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1459         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1460         * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise.
1461         * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1462         * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1463         * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1464         * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1465         * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1466         * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1467         * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1468         * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1469         Likewise.
1470         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1471         Likewise.
1472         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1473         Likewise.
1474         * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1475         Likewise.
1476         * testsuite/30_threads/recursive_timed_mutex/cons: Likewise.
1477         * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
1478         Likewise.
1479         * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1480         * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
1481         Likewise.
1482         * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc:
1483         Likewise.
1484         * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
1485         * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
1486         * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1487         * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1488         * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
1489         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1490         Likewise.
1491         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1492         Likewise.
1493         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1494         Likewise.
1495         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1496         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1497         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1498         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1499         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1500         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1501         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1502         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1503         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1504         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1505         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1506         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1507
1508 2008-09-01  Mark Mitchell  <mark@codesourcery.com>
1509
1510         * include/std/type_traits (__make_unsigned_selector<>): Consider
1511         enums of size smaller than short.
1512         (__make_signed_selector<>): Likewise.
1513         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1514         Adjust line numbers.
1515         * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc:
1516         Adjust line numbers.
1517         * testsuite/20_util/make_signed/requirements/typedefs-2.cc:
1518         Ensure test_enum is the same size as short.
1519         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
1520         Ensure test_enum is the same size as short.
1521
1522 2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1523
1524         * acinclude.m4 <enable_symvers>: Don't use symvers on Windows.
1525         * configure: Regenerated.
1526         * Makefile.in: Regenerated.
1527         * src/Makefile.in: Regenerated.
1528         * doc/Makefile.in: Regenerated.
1529         * po/Makefile.in: Regenerated.
1530         * libmath/Makefile.in: Regenerated.
1531         * include/Makefile.in: Regenerated.
1532         * libsupc++/Makefile.in: Regenerated.
1533         * testsuite/Makefile.in: Regenerated.
1534
1535 2008-08-29  Mark Mitchell  <mark@codesourcery.com>
1536
1537         * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations
1538         when testing on a simultor.
1539
1540 2008-08-28  Paolo Carlini  <paolo.carlini@oracle.com>
1541
1542         * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1543         Rename to .../typedefs.cc.
1544         * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1545         Likewise.
1546         * testsuite/tr1/6_containers/unordered_multiset/requirements/
1547         typedef.cc: Likewise.
1548         * testsuite/tr1/6_containers/unordered_multimap/requirements/
1549         typedef.cc: Likewise.
1550         * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1551         Likewise.
1552         * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1553         Likewise.
1554         * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1555         Likewise.
1556         * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1557         Likewise.
1558
1559 2008-08-28  Chris Fairles  <chris.fairles@gmail.com>
1560
1561         * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread
1562         support used by c++0x thread library.
1563         * configure.ac: Test unconditionally.
1564         * configure: Regenerate.
1565         * config.h.in: Regenerate.
1566
1567 2008-08-27  Benjamin Kosnik  <bkoz@redhat.com>
1568
1569         * doc/Makefile.am: Edit xml file list.
1570         * doc/Makefile.in: Regenerate.
1571         * configure: Regenerate.
1572         * doc/xml/manual/intro.xml: Edit, correct links, structure.
1573         * doc/xml/manual/configure.xml: Same.
1574         * doc/xml/manual/debug.xml: Same.
1575         * doc/xml/manual/test.xml: Same.
1576         * doc/xml/manual/build.xml: Remove.
1577         * doc/xml/manual/prerequisites.xml: Add.
1578         * doc/html/*: Regenerate.
1579
1580 2008-08-27  Paolo Carlini  <paolo.carlini@oracle.com>
1581
1582         * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and
1583         const_pointer typedefs.
1584         * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc:
1585         Add.
1586         * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc:
1587         Likewise.
1588         * testsuite/tr1/6_containers/unordered_multiset/requirements/
1589         typedef.cc: Likewise.
1590         * testsuite/tr1/6_containers/unordered_multimap/requirements/
1591         typedef.cc: Likewise.
1592         * testsuite/23_containers/unordered_set/requirements/typedef.cc:
1593         Likewise.
1594         * testsuite/23_containers/unordered_map/requirements/typedef.cc:
1595         Likewise.
1596         * testsuite/23_containers/unordered_multiset/requirements/typedef.cc:
1597         Likewise.
1598         * testsuite/23_containers/unordered_multimap/requirements/typedef.cc:
1599         Likewise.
1600
1601 2008-08-27  Paul Brook  <paul@codesourcery.com>
1602
1603         * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
1604         __get_object_from_ambiguous_exception.
1605
1606 2008-08-26  Ben Elliston  <bje@au.ibm.com>
1607
1608         * src/mt_allocator.cc (__pool): Fix error in comment.
1609
1610 2008-08-25  Paolo Carlini  <paolo.carlini@oracle.com>
1611
1612         * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
1613         [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove
1614         * configure.ac: Do not call the latter.
1615         * crossconfig.m4: Likewise.
1616         * libmath/mathconf.h: Adjust.
1617         * configure: Regenerate.
1618         * config.h.in: Likewise.
1619
1620 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
1621
1622         * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
1623         two test -r instead of an AC_TRY_RUN.
1624         * configure: Regenerate.
1625         * config.h.in: Likewise.
1626
1627 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
1628
1629         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
1630         * doc/xml/manual/configure.xml: Likewise.
1631
1632 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
1633
1634         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
1635         GLIBCXX_ENABLE.
1636         * configure: Regenerate.
1637
1638 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
1639
1640         * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
1641         GCC_TRY_COMPILE_OR_LINK.
1642         ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
1643         [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
1644         [no] by default, since it includes TRY_LINK checks.  librt is also
1645         searched, if requested.
1646         * doc/xml/manual/configure.xml: Document the latter.
1647         * configure.ac: Move the above checks outside native-only.
1648         * configure: Regenerate.
1649
1650 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
1651
1652         * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
1653         * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
1654         * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
1655         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1656         * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
1657
1658 2008-08-23  Sebastian Redl <sebastian.redl@getdesigned.at>
1659
1660         Add (again) exception propagation support as per N2179.  Feature is
1661         available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
1662         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1663         copy_exception, rethrow_exception): New file, implement exception
1664         propagation.
1665         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1666         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1667         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1668         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1669         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1670         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1671         __gxx_dependent_exception_class, __get_object_from_ue,
1672         __get_object_from_ambiguous_exception): Add.
1673         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1674         (__is_gxx_exception_class): Handle dependent exceptions.
1675         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1676         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1677         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1678         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1679         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1680         __cxa_free_dependent_exception): Add.
1681         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1682         counting.
1683         * libsupc++/exception: Conditionally include exception_ptr.h.
1684         * libsupc++/Makefile.am: Register new files.
1685         * libsupc++/Makefile.in: Regenerate.
1686         * config/abi/pre/gnu.ver: Add new symbols.
1687         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1688         core functionality of current_exception().
1689         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1690         core functionality of rethrow_exception().
1691         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1692         exception objects during exception propagation.
1693
1694 2008-08-22  Paolo Carlini  <paolo.carlini@oracle.com>
1695
1696         Revert again the N2179 patch.
1697
1698 2008-08-21  Sebastian Redl <sebastian.redl@getdesigned.at>
1699
1700         * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
1701         __cxa_free_dependent_exception.
1702
1703 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
1704
1705         * include/bits/char_traits.h (char_traits<char16_t>::
1706         assign(char_type*, size_t, char_type), char_traits<char32_t>::
1707         assign(char_type*, size_t, char_type)): For now, just open-code.
1708
1709 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
1710
1711         PR c++/33979 (partial)
1712         * include/bits/postypes.h (u16streampos, u32streampos): Add.
1713         * include/bits/char_traits.h (char_traits<char16_t>,
1714         char_traits<char32_t>): Add.
1715         * include/bits/stringfwd.h (u16string, u32string): Add.
1716         * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
1717         * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
1718         New.
1719         * testsuite/21_strings/char_traits/requirements/
1720         explicit_instantiation/short/1.cc: Likewise.
1721         * testsuite/21_strings/char_traits/requirements/
1722         explicit_instantiation/char32_t/1.cc: Likewise.
1723         * testsuite/21_strings/char_traits/requirements/
1724         explicit_instantiation/wchar_t/1.cc: Likewise.
1725         * testsuite/21_strings/char_traits/requirements/
1726         explicit_instantiation/char16_t/1.cc: Likewise.
1727         * testsuite/21_strings/char_traits/requirements/
1728         explicit_instantiation/char/1.cc: Likewise.
1729         * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
1730         Likewise.
1731         * testsuite/21_strings/basic_string/requirements/
1732         explicit_instantiation/char32_t/1.cc: Likewise.
1733         * testsuite/21_strings/basic_string/requirements/
1734         explicit_instantiation/wchar_t/1.cc: Likewise.
1735         * testsuite/21_strings/basic_string/requirements/
1736         explicit_instantiation/char16_t/1.cc: Likewise.
1737         * testsuite/21_strings/basic_string/requirements/
1738         explicit_instantiation/char/1.cc: Likewise.
1739         * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
1740         * testsuite/ext/vstring/requirements/explicit_instantiation/
1741         char32_t/1.cc: Likewise.
1742         * testsuite/ext/vstring/requirements/explicit_instantiation/
1743         char16_t/1.cc: Likewise.
1744
1745 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
1746
1747         PR libstdc++/37149
1748         * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
1749         <cstdio>.
1750         * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
1751         Likewise.
1752         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1753         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1754         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1755         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1756         * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
1757         * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
1758         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
1759         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1760         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1761         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1762         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1763         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1764         * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
1765         * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
1766         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1767         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1768         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
1769         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
1770         * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
1771         * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
1772         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1773         * include/std/regex: Include <sstream>.
1774         * include/tr1/regex: Likewise.
1775
1776 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
1777
1778         * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
1779         newlib.
1780         * configure: Regenerate.
1781
1782 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
1783
1784         PR libstdc++/37147
1785         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
1786         check the macros too.
1787         * configure: Regenerate.
1788
1789 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
1790
1791         * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
1792         AC_TRY_LINK.
1793         * configure.ac: Run unconditionally AC_LC_MESSAGES.
1794         * crossconfig.m4: Adjust.
1795         * configure: Regenerate.
1796
1797 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
1798
1799         * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
1800         [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
1801         Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
1802         with -fno-exceptions as flags.
1803         * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
1804         GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
1805         GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS.
1806         * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
1807         in configure.ac.
1808         * configure: Regenerate.
1809
1810 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
1811
1812         Re-instate last patch, amended to use __exchange_and_add_dispatch
1813         and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc.
1814
1815 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
1816
1817         Revert the last patch.
1818
1819 2008-08-13  Sebastian Redl <sebastian.redl@getdesigned.at>
1820
1821         Add exception propagation support as per N2179.
1822         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
1823         copy_exception, rethrow_exception): New file, implement exception
1824         propagation.
1825         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
1826         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
1827         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
1828         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
1829         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
1830         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
1831         __gxx_dependent_exception_class, __get_object_from_ue,
1832         __get_object_from_ambiguous_exception): Add.
1833         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
1834         (__is_gxx_exception_class): Handle dependent exceptions.
1835         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
1836         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
1837         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
1838         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
1839         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
1840         __cxa_free_dependent_exception): Add.
1841         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
1842         counting.
1843         * libsupc++/exception: Conditionally include exception_ptr.h.
1844         * libsupc++/Makefile.am: Register new files.
1845         * libsupc++/Makefile.in: Regenerate.
1846         * config/abi/pre/gnu.ver: Add new symbols.
1847         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
1848         core functionality of current_exception().
1849         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
1850         core functionality of rethrow_exception().
1851         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
1852         exception objects during exception propagation.
1853
1854 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
1855
1856         PR libstdc++/37100
1857         * include/bits/stl_pair.h: Fix documentation URL in comment.
1858
1859 2008-08-12  Johannes Singler  <singler@ira.uka.de>
1860
1861         * include/paralle/losertree.h
1862         (LoserTreePointerBase<>::~LoserTreePointerBase):
1863         Replace delete by appropriate delete[].
1864
1865 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
1866
1867         * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
1868         GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
1869         * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
1870         * configure: Regenerate.
1871         * config.h.in: Likewise.
1872
1873         * acinclude.m4: Minor formatting fixes.
1874
1875 2008-08-11  Stephen M. Webb  <stephenw@xandros.com>
1876
1877         * include/tr1_impl/regex: Formatting fixes.
1878         * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
1879           New test.
1880         * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
1881           New test.
1882
1883 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1884
1885         * config/locale/generic/c_locale.cc: Include <cstdio>.
1886
1887 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1888
1889         * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
1890         * configure: Regenerate.
1891
1892 2008-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
1893
1894         * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
1895         (_DEFINE_SPEC_BODY): Remove.
1896         (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
1897         __is_member_object_pointer_helper, __is_member_function_pointer_helper,
1898         __remove_pointer_helper): Add.
1899         (is_void, is_integral, is_floating_point, is_member_object_pointer,
1900         is_member_function_pointer, remove_pointer): Use the latter.
1901         * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
1902         (_DEFINE_SPEC_HELPER): Remove.
1903         (__is_signed_helper, __is_unsigned_helper): Add.
1904         (is_signed, is_unsigned): Use the latter.
1905
1906 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
1907
1908         Revert fix for libstdc++/35637, thanks to other/36901.
1909         * include/tr1_impl/type_traits (__is_function_helper): New, uses
1910         variadic templates.
1911         (is_function): Forward to the latter.
1912         (__in_array): Remove.
1913
1914 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
1915
1916         * config/locale/darwin/ctype_members.cc: Include <cstdio>.
1917
1918 2008-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
1919
1920         * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
1921         _IOS_BASE_SEEK_END at the end of the file.
1922         * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
1923
1924 2008-08-07  Stephen M. Webb  <stephenw@xandros.com>
1925
1926         * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
1927         N2691 WD.
1928
1929 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1930
1931         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
1932         common values of EOF, SEEK_CUR, SEEK_END.
1933         * configure.ac: Use it.
1934         * include/bits/ios_base.h: Likewise.
1935         * include/bits/char_traits.h: Likewise.
1936         * config/locale/gnu/ctype_members.cc: Include <cstdio>.
1937         * config/locale/generic/ctype_members.cc: Likewise.
1938         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
1939         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1940         * configure: Regenerate.
1941         * config.h.in: Likewise.
1942
1943 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1944
1945         * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
1946         is actually a typedef to long or long long.
1947         * include/bits/postypes.h: If int64_t is actually a typedef for
1948         long or long long don't include <stdint.h> unnecessarily.
1949         * configure: Regenerate.
1950         * config.h.in: Likewise.
1951
1952 2008-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
1953
1954         * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
1955         Expect ambiguity together with the standard exception classes.
1956         * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
1957         xfail.
1958         * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
1959         Likewise.
1960         * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
1961         Likewise.
1962         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
1963         Likewise.
1964         * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
1965         * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
1966         * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
1967         Likewise.
1968         * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
1969         Likewise.
1970         * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
1971         Likewise.
1972         * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
1973         Likewise.
1974         * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
1975         Likewise.
1976         * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
1977         Likewise.
1978
1979 2008-08-04  Paolo Carlini  <paolo.carlini@oracle.com>
1980
1981         * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
1982         also define the __STDC_* macros.
1983         (streamoff): Adjust.
1984
1985         * include/tr1_impl/cstdint: Check that the __STDC_* macros are
1986         not defined before defining.
1987
1988 2008-08-01  Paolo Bonzini  <bonzini@gnu.org>
1989             Chris Fairles  <chris.fairles@gmail.com>
1990
1991         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
1992         search, but only in libposix4, never link librt.
1993         * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
1994         * configure: Regenerate.
1995         * configure.in: Likewise.
1996         * Makefile.in: Likewise.
1997         * src/Makefile.in: Likewise.
1998         * libsup++/Makefile.in: Likewise.
1999         * po/Makefile.in: Likewise.
2000         * doc/Makefile.in: Likewise.
2001
2002 2008-07-31  Chris Fairles <chris.fairles@gmail.com>
2003
2004         * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
2005         dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3
2006         and 4 in WD. Other minor tweaks.
2007         * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
2008         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
2009         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
2010         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2011
2012 2008-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
2013
2014         * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
2015         (check_v3_target_parallel_mode): Robustify, just follow the
2016         structure of testsuite/Makefile.am.
2017
2018 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2019
2020         * include/debug/set.h: Minor formatting fixes.
2021         * include/debug/multiset.h: Likewise.
2022         * include/debug/safe_association.h: Likewise.
2023         * include/debug/vector: Likewise.
2024         * include/debug/map.h: Likewise.
2025         * include/debug/string: Likewise.
2026         * include/debug/multimap.h: Likewise.
2027         * include/bits/stl_list.h: Likewise.
2028         * include/bits/stl_map.h: Likewise.
2029         * include/bits/stl_set.h: Likewise.
2030         * include/bits/stl_multimap.h: Likewise.
2031         * include/bits/stl_vector.h: Likewise.
2032         * include/bits/stl_multiset.h: Likewise.
2033         * include/bits/stl_bvector.h: Likewise.
2034
2035 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2036
2037         * include/std/utility: Include <initializer_list>, per the current WP.
2038
2039         * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
2040         don't use -std=gnu++0x unnecessarily.
2041         * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
2042         dg-require-cstdint.
2043         * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
2044         * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
2045
2046 2008-07-28  Paolo Carlini  <paolo.carlini@oracle.com>
2047
2048         PR libstdc++/36949
2049         * include/tr1_impl/boost_shared_ptr.h
2050         (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
2051         __enable_shared_from_this_helper.
2052         * testsuite/20_util/shared_ptr/creation/36949.cc: New.
2053
2054 2008-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
2055
2056         PR libstdc++/36924
2057         Revert:
2058         2008-07-23  Chris Fairles <chris.fairles@gmail.com>
2059
2060         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2061         Holds the lib that defines clock_gettime (-lrt or -lposix4).
2062         * src/Makefile.am: Use it.
2063         * configure: Regenerate.
2064         * configure.in: Likewise.
2065         * Makefile.in: Likewise.
2066         * src/Makefile.in: Likewise.
2067         * libsup++/Makefile.in: Likewise.
2068         * po/Makefile.in: Likewise.
2069         * doc/Makefile.in: Likewise.
2070
2071 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
2072
2073         * include/std/condition_variable: Update to N2691 WD.
2074         * include/std/mutex: Likewise.
2075         * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
2076         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2077         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2078         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2079
2080 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
2081
2082         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
2083         Holds the lib that defines clock_gettime (-lrt or -lposix4).
2084         * src/Makefile.am: Use it.
2085         * configure: Regenerate.
2086         * configure.in: Likewise.
2087         * Makefile.in: Likewise.
2088         * src/Makefile.in: Likewise.
2089         * libsup++/Makefile.in: Likewise.
2090         * po/Makefile.in: Likewise.
2091         * doc/Makefile.in: Likewise.
2092
2093 2008-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
2094
2095         * include/ext/sso_string_base.h
2096         (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
2097         const _Alloc&)): Remove.
2098         * include/ext/rc_string_base.h
2099         (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
2100         const _Alloc&)): Likewise.
2101         * include/ext/vstring.h
2102         (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
2103         const _Alloc&)): Adjust.
2104
2105 2008-07-21  Jason Merrill  <jason@redhat.com>
2106
2107         Add initializer_list support as per N2679.
2108         * include/debug/unordered_map: Add initializer_list support.
2109         * include/debug/safe_association.h: Likewise.
2110         * include/debug/unordered_set: Likewise.
2111         * include/debug/vector: Likewise.
2112         * include/debug/deque: Likewise.
2113         * include/debug/map.h: Likewise.
2114         * include/debug/set.h: Likewise.
2115         * include/debug/string: Likewise.
2116         * include/debug/list: Likewise.
2117         * include/debug/multimap.h: Likewise.
2118         * include/tr1_impl/unordered_map: Likewise.
2119         * include/tr1_impl/hashtable: Likewise.
2120         * include/tr1_impl/unordered_set: Likewise.
2121         * include/tr1_impl/regex: Likewise.
2122         * include/std/valarray: Likewise.
2123         * include/std/unordered_map: Likewise.
2124         * include/std/unordered_set: Likewise.
2125         * include/bits/stl_list.h: Likewise.
2126         * include/bits/stl_map.h: Likewise.
2127         * include/bits/stl_set.h: Likewise.
2128         * include/bits/basic_string.h: Likewise.
2129         * include/bits/basic_string.tcc: Likewise.
2130         * include/bits/stl_multimap.h: Likewise.
2131         * include/bits/stl_vector.h: Likewise.
2132         * include/bits/stl_deque.h: Likewise.
2133         * include/bits/stl_multiset.h: Likewise.
2134         * include/bits/stl_bvector.h: Likewise.
2135         * include/ext/vstring.h: Likewise.
2136         * include/ext/rc_string_base.h: Likewise.
2137         * include/ext/sso_string_base.h: Likewise.
2138         * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
2139         * src/Makefile.in: Likewise.
2140         * config/abi/pre/gnu.ver: Add new w?string exports.
2141         * testsuite/21_strings/basic_string/init-list.cc: New test.
2142         * testsuite/23_containers/vector/init-list.cc: New test.
2143         * testsuite/23_containers/deque/init-list.cc: New test.
2144         * testsuite/23_containers/list/init-list.cc: New test.
2145         * testsuite/23_containers/map/init-list.cc: New test.
2146         * testsuite/23_containers/multimap/init-list.cc: New test.
2147         * testsuite/23_containers/set/init-list.cc: New test.
2148         * testsuite/23_containers/multiset/init-list.cc: New test.
2149         * testsuite/23_containers/unordered_map/init-list.cc: New test.
2150         * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
2151         * testsuite/23_containers/unordered_set/init-list.cc: New test.
2152         * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
2153         * testsuite/26_numerics/valarray/init-list.cc: New test.
2154         * testsuite/28_regex/init-list.cc: New test.
2155         * testsuite/ext/vstring/init-list.cc: New test.
2156         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2157         Update error lineno.
2158         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2159         Update error lineno.
2160         * testsuite/23_containers/vector/requirements/dr438/
2161         constructor_1_neg.cc: Update error lineno.
2162         * testsuite/23_containers/vector/requirements/dr438/
2163         constructor_2_neg.cc: Update error lineno.
2164         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2165         Update error lineno.
2166         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2167         Update error lineno.
2168         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2169         Update error lineno.
2170         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2171         Update error lineno.
2172         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2173         Update error lineno.
2174         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2175         Update error lineno.
2176         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2177         Update error lineno.
2178         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2179         Update error lineno.
2180
2181 2008-07-21  Mark Mitchell  <mark@codesourcery.com>
2182
2183         * config/os/gnu-linux/arm-eabi-extra.ver: New file.
2184         * configure.host: Use it for arm*-*-linux-*eabi.
2185
2186 2008-07-19  Paolo Carlini  <paolo.carlini@oracle.com>
2187
2188         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
2189         (assert_node_consistent): Avoid ambiguous else warning.
2190
2191         * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
2192
2193         * include/bits/c++config: In debug-mode (and parallel-mode) set
2194         _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
2195         templates only for basic_string (per libstdc++/21674).
2196         * include/bits/basic_string.tcc: Use extern templates when
2197         _GLIBCXX_EXTERN_TEMPLATE > 0.
2198
2199 2008-07-18  Kris Van Hees  <kris.van.hees@oracle.com>
2200             Holger Hopp  <holger.hopp@sap.com>
2201
2202         * config/abi/pre/gnu.ver: Support char16_t and char32_t.
2203         * testsuite/util/testsuite_abi.cc (check_version): Add
2204         CXXABI_1.3.3 to known_versions.
2205
2206 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
2207
2208         * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
2209         Enable only when _Tp != bool.
2210
2211         * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
2212
2213 2008-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
2214
2215         * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
2216         variable warnings leading to spurious fails of the test.
2217
2218 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
2219
2220         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
2221         dg-error lines.
2222         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2223         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2224
2225         * include/tr1_impl/type_traits: Fix comment typo.
2226
2227 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
2228
2229         * include/bits/unique_ptr.h: Remove stray character.
2230
2231 2008-07-15  Benjamin Kosnik  <bkoz@redhat.com>
2232
2233         * doc/doxygen/user.cfg.in: Add complex, ratio,
2234         intializer_list.
2235         (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
2236         * doc/doxygen/doxygroups.cc: Add std::chrono.
2237         * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
2238         * libsupc++/initializer_list (initializer_list): Same.
2239         * include/std/ratio: Same.
2240         * include/std/chrono: Same.
2241         * include/std/complex: Disambiguate file markup.
2242
2243 2008-07-15  Chris Fairles  <chris.fairles@gmail.com>
2244
2245         * include/std/chrono: New, as per N2661.
2246         * src/chrono.cc: New.
2247         * include/Makefile.am: Update.
2248         * src/Makefile.am: Likewise.
2249         * include/Makefile.in: Regenerate.
2250         * src/Makefile.in: Likewise.
2251         * acinclude.m4: Add tests for clock_gettime and gettimeofday that
2252         define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
2253         * configure.ac: Use them.
2254         * configure: Regenerate.
2255         * config.h.in: Likewise.
2256         * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
2257         system_clock::is_monotonic.
2258         * testsuite/20_util/duration/cons/1.cc: New.
2259         * testsuite/20_util/duration/cons/2.cc: Likewise.
2260         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
2261         * testsuite/20_util/duration/requirements/explicit_instantiation/
2262         explicit_instantiation.cc: Likewise.
2263         * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
2264         * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
2265         * testsuite/20_util/duration/comparisons/1.cc: Likewise.
2266         * testsuite/20_util/time_point/requirements/explicit_instantiation/
2267         explicit_instantiation.cc: Likewise.
2268         * testsuite/20_util/time_point/1.cc: Likewise.
2269         * testsuite/20_util/time_point/2.cc: Likewise.
2270         * testsuite/20_util/time_point/3.cc: Likewise.
2271         * testsuite/20_util/clocks/1.cc: Likewise.
2272         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
2273         missing headers.
2274         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2275         * include/precompiled/stdc++.h: Likewise and remove <date_time>.
2276         * doc/doxygen/user.cfg.in: Likewise.
2277
2278 2008-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
2279
2280         PR libstdc++/36832
2281         * include/ext/rope (_Destroy_const): Add.
2282         (rope<>::copy): Call it.
2283         * testsuite/ext/rope/36832.cc: New.
2284
2285 2008-07-15  Johannes Singler  <singler@ira.uka.de>
2286
2287         * include/parallel/find_selectors.h:
2288         Correct name for include guard #ifndef.
2289         * include/parallel/balanced_quicksort.h: Likewise.
2290         * include/parallel/unique_copy.h: Likewise.
2291         * include/parallel/multiway_mergesort.h: Likewise.
2292         * include/parallel/checkers.h: Likewise.
2293         * include/parallel/[various files]:
2294         Add/correct comment for #endif of include guard (at end of file)
2295
2296 2008-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
2297
2298         * include/std/date_time: Remove, per N2549, in WP.
2299         * src/date_time.cc: Likewise.
2300         * config/abi/pre/gnu.ver: Remove <date_time> symbols.
2301         * include/Makefile.am: Remove date_time in std headers.
2302         * src/Makefile.am: Remove date_time.cc to source files.
2303         * include/Makefile.in: Regenerate.
2304         * src/Makefile.in: Likewise.
2305         * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
2306         * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2307         * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2308         * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2309         * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2310         * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2311         * testsuite/31_date_time/system_time/requirements: Likewise.
2312         * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2313         * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
2314         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
2315
2316 2008-07-10  Johannes Singler  <singler@ira.uka.de>
2317
2318         * include/parallel/balanced_quicksort.h:
2319         (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
2320
2321 2008-07-09  Benjamin Kosnik  <bkoz@redhat.com>
2322
2323         PR libstdc++/36451
2324         * doc/xml/manual/allocator.xml: Fix links.
2325         * doc/html/*: Regenerate.
2326
2327 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
2328
2329         * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
2330         __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
2331         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
2332         __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
2333         unwinder.
2334         * libsupc++/eh_arm.cc (__cxa_type_match): Use
2335         __is_gxx_forced_unwind_class to check for forced unwind.
2336
2337 2008-07-09  Andreas Beckmann  <gcc@abeckmann.de>
2338
2339         PR libstdc++/36552
2340         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2341         null_metadata.hpp: Remove self-include.
2342
2343 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
2344
2345         * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
2346         testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
2347         -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
2348
2349 2008-07-09  Johannes Singler  <singler@ira.uka.de>
2350
2351         PR libstdc++/36729
2352         * include/parallel/random_shuffle.h:
2353         (sequential_random_shuffle) Copy data back.
2354         * testsuite/25_algorithms/random_shuffle/1.cc:
2355         New. Generic random_shuffle functionality test.
2356
2357 2008-07-08  Chris Fairles  <chris.fairles@gmail.com>
2358
2359         * include/std/type_traits: Add common_type.
2360         * testsuite/20_util/common_type/requirements/
2361         explicit_instantiation.cc: New.
2362         * testsuite/20_util/common_type/requirements/
2363         typedefs-1.cc: Likewise.
2364
2365 2008-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
2366
2367         * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
2368         * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
2369         * testsuite/20_util/ratio/cons/cons1.cc: Use it.
2370         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2371         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2372         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2373         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2374         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2375         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2376         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
2377
2378         * include/std/type_traits: Fix comment typo.
2379
2380 2008-07-06  Roger Sayle  <roger@eyesopen.com>
2381
2382         * include/std/system_error (is_error_code_enum): Use identifier
2383         _Tp instead of _T to avoid conflict with system macro on Darwin.
2384         (is_error_condition_enum): Likewise.
2385
2386 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
2387
2388         * include/bits/postypes.h: Do not include <stdint.h>.
2389
2390         * include/Makefile.am: Reorder.
2391
2392 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
2393
2394         * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
2395
2396 2008-07-05  Chris Fairles  <chris.fairles@gmail.com>
2397
2398         * include/std/ratio: Documentation for std::ratio class. Add conditions
2399         to ratio_less to prevent overflow.
2400         * testsuite/20_util/ratio/comparisons/comp2.cc: New.
2401         * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
2402         numbers.
2403
2404 2008-07-04  Chris Fairles  <chris.fairles@gmail.com>
2405
2406         * include/std/ratio: New, per N2661.
2407         * include/Makefile.am: Update.
2408         * include/Makefile.in: Regenerate.
2409         * testsuite/20_util/ratio/cons/cons1.cc: New.
2410         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
2411         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
2412         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
2413         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
2414         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
2415         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
2416
2417 2008-07-04  Paolo Carlini  <paolo.carlini@oracle.com>
2418
2419         PR libstdc++/36616
2420         * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
2421         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2422
2423 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
2424
2425         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2426         Improve check on long double limits.
2427         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2428         Likewise.
2429         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2430         stof.cc: Likewise.
2431         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2432         stod.cc: Likewise.
2433
2434 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
2435
2436         * libsupc++/Makefile.am: Add initializer_list to the headers.
2437         * libsupc++/Makefile.in: Regenerate.
2438
2439         * libsupc++/initializer_list: Minor cosmetic changes.
2440
2441 2008-07-02  Jason Merrill  <jason@redhat.com>
2442
2443         * libsupc++/initializer_list: Uglify and wrap in
2444         __GXX_EXPERIMENTAL_CXX0X__.
2445         * include/bits/stl_map.h (insert(initializer_list)): Wrap.
2446
2447 2008-07-02  Jason Merrill  <jason@redhat.com>
2448
2449         * libsupc++/initializer_list: New file.
2450         * include/bits/stl_map.h (insert(initializer_list)): New method.
2451
2452 2008-06-30  Alfred E. Heggestad  <aeh@db.org>
2453
2454         * include/backward/backward_warning.h: Fix typo.
2455
2456 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
2457
2458         * src/string_conversions.cc: Remove.
2459         * config/abi/pre/gnu.ver: Delete exports.
2460         * src/Makefile.am: Update.
2461         * include/ext/string_conversions.h: Add.
2462         * include/Makefile.am: Update.
2463         * include/bits/basic_string.h: Include string_conversions.h,
2464         define numeric conversion functions.
2465         * include/ext/vstring.h: Likewise.
2466         * src/Makefile.in: Regenerate.
2467         * include/Makefile.in: Regenerate.
2468
2469 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
2470
2471         * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
2472         * include/bits/algorithmfwd.h: Add.
2473         * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
2474         in C++0x mode.
2475         * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
2476         move_iterators/1.cc: New
2477         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2478         * testsuite/25_algorithms/copy_n/1.cc: New.
2479         * testsuite/25_algorithms/copy_n/2.cc: Likewise.
2480         * testsuite/25_algorithms/copy_n/3.cc: Likewise.
2481         * testsuite/25_algorithms/copy_n/4.cc: Likewise.
2482         * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
2483         * testsuite/25_algorithms/copy_n/requirements/
2484         explicit_instantiation/2.cc: Likewise.
2485         * testsuite/25_algorithms/partition_point/requirements/
2486         explicit_instantiation/pod.cc: Likewise.
2487
2488 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
2489
2490         * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
2491         * include/bits/algorithmfwd.h: Add.
2492         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2493         * testsuite/25_algorithms/partition_point/1.cc: New.
2494         * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
2495         * testsuite/25_algorithms/partition_point/requirements/
2496         explicit_instantiation/2.cc: Likewise.
2497         * testsuite/25_algorithms/partition_point/requirements/
2498         explicit_instantiation/pod.cc: Likewise.
2499
2500 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
2501
2502         PR libstdc++/36660
2503         * include/ext/pb_ds/detail/resize_policy/
2504         sample_resize_trigger.hpp: Remove spurious namespace end.
2505
2506 2008-06-27  Mark Mitchell  <mark@codesourcery.com>
2507
2508         * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
2509         address.
2510         (__aeabi_vec_delete): Likewise.
2511         (__aeabi_vec_delete3): Likewise.
2512         (__aeabi_vec_delete3_nodtor): Likewise.
2513
2514 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
2515
2516         * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
2517         * include/bits/algorithmfwd.h: Add.
2518         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2519         * testsuite/25_algorithms/is_partitioned/1.cc: New.
2520         * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
2521         * testsuite/25_algorithms/is_partitioned/requirements/
2522         explicit_instantiation/2.cc: Likewise.
2523         * testsuite/25_algorithms/is_partitioned/requirements/
2524         explicit_instantiation/pod.cc: Likewise.
2525
2526 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
2527
2528         * include/bits/stl_numeric.h (iota): Add in C++0x mode.
2529         * testsuite/util/testsuite_character.h (pod_int): Add operator++
2530         in C++0x mode.
2531         * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
2532         * testsuite/26_numerics/iota/1.cc: New.
2533         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2534         2.cc: Likewise.
2535         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
2536         pod.cc: Likewise.
2537
2538         * include/ext/algorithm: Do not fiddle with the legacy headers.
2539
2540         * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
2541         style.
2542         * testsuite/26_numerics/accumulate/1.cc: Likewise.
2543         * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
2544         * testsuite/26_numerics/inner_product/1.cc: Likewise.
2545
2546 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
2547
2548         * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
2549         * include/bits/algorithmfwd.h: Add.
2550         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2551         * testsuite/25_algorithms/partition_copy/1.cc: New.
2552         * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
2553         * testsuite/25_algorithms/partition_copy/requirements/
2554         explicit_instantiation/2.cc: Likewise.
2555         * testsuite/25_algorithms/partition_copy/requirements/
2556         explicit_instantiation/pod.cc: Likewise.
2557
2558 2008-06-26  Chris Fairles  <chris.fairles@gmail.com>
2559
2560         * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
2561         * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
2562         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
2563         Likewise.
2564         * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
2565         * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
2566         * testsuite/20_util/unique_ptr/specialized_algorithms/
2567         comparisons_array.cc: Likewise.
2568         * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
2569         Likewise
2570         * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
2571         Likewise.
2572
2573 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
2574
2575         * include/parallel/base.h (plus, multiplies): Use __typeof__,
2576         not typeof.
2577
2578 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
2579
2580         * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
2581         warnings.
2582         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
2583         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
2584         Likewise.
2585         * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
2586         * testsuite/util/testsuite_common_types.h (struct assignable,
2587         struct default_constructible, struct copy_constructible,
2588         struct explicit_value_constructible): Use a tad of simulated
2589         concept checking techniques to avoid spurious warnings.
2590         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
2591         markers.
2592         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2593
2594 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
2595
2596         * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
2597         any_of, none_of): Add in C++0x, per N2666.
2598         * include/bits/algorithmfwd.h: Update.
2599         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2600         * testsuite/25_algorithms/all_of/check_type.cc: New.
2601         * testsuite/25_algorithms/all_of/1.cc: Likewise.
2602         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2603         2.cc: Likewise.
2604         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2605         pod.cc: Likewise.
2606         * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
2607         * testsuite/25_algorithms/any_of/1.cc: Likewise.
2608         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2609         2.cc: Likewise.
2610         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2611         pod.cc: Likewise.
2612         * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
2613         * testsuite/25_algorithms/none_of/1.cc: Likewise.
2614         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2615         2.cc: Likewise.
2616         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2617         pod.cc: Likewise.
2618         * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
2619         * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
2620         * testsuite/25_algorithms/find_if_not/requirements/
2621         explicit_instantiation/2.cc: Likewise.
2622         * testsuite/25_algorithms/find_if_not/requirements/
2623         explicit_instantiation/pod.cc: Likewise.
2624         * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
2625         * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
2626         * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
2627
2628 2008-06-24  Benjamin Kosnik  <bkoz@redhat.com>
2629
2630         * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
2631         parallel algorithms.
2632         * doc/xml/manual/using.xml: Markup fixes caught by validation check.
2633         * doc/xml/manual/test.xml: Remove empty para tags.
2634
2635         * doc/html/*: Regenerate.
2636
2637 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
2638
2639         * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
2640         (copy_if): Add, per N2666.
2641         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2642         2.cc: New.
2643         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2644         pod.cc: Likewise.
2645         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
2646
2647 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
2648             Chalathip Thumkanon  <chalathip@gmail.com>
2649
2650         PR libstdc++/36612
2651         * include/ext/pb_ds/exception.hpp (__throw_container_error,
2652         __throw_insert_error, __throw_join_error, __throw_resize_error):
2653         Mark inline.
2654
2655 2008-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
2656
2657         * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
2658         per DR 809.
2659         * include/bits/algorithmfwd.h: Add.
2660         * doc/xml/manual/intro.xml: Add an entry for DR 809.
2661         * testsuite/25_algorithms/swap/dr809.cc: New.
2662
2663         * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2664         2.cc: Remove stray empty line.
2665
2666 2008-06-21  Paolo Carlini  <paolo.carlini@oracle.com>
2667
2668         * include/bits/stl_move.h: Rename to move.h.
2669         * include/std/utility: Adjust.
2670         * include/ext/vstring_util.h: Likewise.
2671         * include/ext/throw_allocator.h: Likewise.
2672         * include/ext/pool_allocator.h: Likewise.
2673         * include/ext/bitmap_allocator.h: Likewise.
2674         * include/ext/new_allocator.h: Likewise.
2675         * include/ext/malloc_allocator.h: Likewise.
2676         * include/ext/array_allocator.h: Likewise.
2677         * include/ext/mt_allocator.h: Likewise.
2678         * include/bits/stl_algobase.h: Likewise.
2679         * include/bits/stl_heap.h: Likewise.
2680         * include/bits/stl_pair.h: Likewise.
2681         * include/bits/stl_iterator.h: Likewise.
2682         * testsuite/util/testsuite_allocator.h: Likewise.
2683         * testsuite/util/testsuite_iterators.h: Likewise.
2684         * include/Makefile.am: Likewise.
2685         * include/Makefile.in: Regenerate.
2686
2687 2008-06-21  Chris Fairles  <chris.fairles@gmail.com>
2688
2689         * include/bits/unique_ptr.h: New.
2690         * include/std/memory: Adjust.
2691         * include/Makefile.am: Add.
2692         * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
2693         explicit_instantiation.cc: New.
2694         * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
2695         * include/Makefile.in: Regenerate.
2696
2697 2008-06-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
2698
2699         * include/c_global/climits, include/tr1/climits: Add parentheses.
2700
2701 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2702
2703         * configure: Regenerate.
2704
2705 2008-06-17  Chris Fairles  <chris.fairles@gmail.com>
2706
2707         * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
2708         C++0x mode.
2709         * testsuite/24_iterators/operations/next.cc: New.
2710         * testsuite/24_iterators/operations/prev.cc: Likewise.
2711
2712 2008-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
2713
2714         * src/string_conversions.cc (__to_xstring<>): New.
2715         (to_string, to_wstring): Use it.
2716
2717 2008-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
2718
2719         * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
2720         stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
2721         * src/string_conversions.cc: Add.
2722         * src/Makefile.am: Update.
2723         * config/abi/pre/gnu.ver: Adjust exports.
2724         * src/Makefile.in: Regenerate.
2725         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
2726         New.
2727         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
2728         Likewise.
2729         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
2730         Likewise.
2731         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
2732         Likewise.
2733         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
2734         Likewise.
2735         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
2736         Likewise.
2737         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
2738         Likewise.
2739         * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
2740         Likewise.
2741         * testsuite/21_strings/basic_string/numeric_conversions/char/
2742         to_string.cc: Likewise.
2743         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2744         stod.cc: New.
2745         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2746         stof.cc: Likewise.
2747         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2748         stoi.cc: Likewise.
2749         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2750         stol.cc: Likewise.
2751         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2752         stold.cc: Likewise.
2753         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2754         stoll.cc: Likewise.
2755         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2756         stoul.cc: Likewise.
2757         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2758         stoull.cc: Likewise.
2759         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2760         to_wstring.cc: Likewise.
2761
2762 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2763
2764         * include/Makefile.am: Remove trailing white space, fix typo.
2765         (parallel_headers): Remove duplicate file, sort entries.
2766         * include/Makefile.in: Regenerate.
2767
2768 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2769
2770         * src/condition_variable.cc (~condition_variable): Drop unused
2771         variable.
2772
2773 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
2774
2775         * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
2776         deque<>::push_front(_Args&&...)): Remove.
2777         (deque<>::push_back(value_type&&),
2778         deque<>::push_front(value_type&&)): Add.
2779         (deque<>::push_back(const value_type&),
2780         deque<>::push_front(const value_type&)): Add back.
2781         (deque<>::emplace_back(_Args&&...),
2782         deque<>::emplace_front(_Args&&...)): Declare...
2783         * include/bits/deque.tcc: ... and define.
2784         * include/bits/stl_list.h (list<>::push_back(_Args&&...),
2785         list<>::push_front(_Args&&...)): Remove.
2786         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2787         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2788         Add.
2789         (list<>::push_back(const value_type&),
2790         list<>::push_front(const value_type&)): Add back.
2791         * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
2792         (vector<>::push_back(value_type&&)): Add.
2793         (vector<>::push_back(const value_type&)): Add back.
2794         (vector<>::emplace_back(_Args&&...)): Declare...
2795         * include/bits/vector.tcc: ... and define.
2796         * include/bits/stl_queue.h (queue<>::push(_Args&&...),
2797         priority_queue<>::push(_Args&&...)): Remove.
2798         (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
2799         priority_queue<>::push(value_type&&),
2800         priority_queue<>::emplace(_Args&&...)): Add.
2801         (queue<>::push(const value_type&),
2802         priority_queue<>::push(const value_type&)): Add back.
2803         * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
2804         (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
2805         (stack<>::push(const value_type&)): Add back.
2806         * include/debug/deque (deque<>::push_back(_Args&&...),
2807         deque<>::push_front(_Args&&...)): Remove.
2808         (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
2809         deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
2810         Add.
2811         (deque<>::push_back(const value_type&),
2812         deque<>::push_front(const value_type&)): Add back.
2813         * include/debug/list (list<>::push_back(_Args&&...),
2814         list<>::push_front(_Args&&...)): Remove.
2815         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
2816         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
2817         Add.
2818         (list<>::push_back(const value_type&),
2819         list<>::push_front(const value_type&)): Add back.
2820         * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
2821         (vector<>::push_back(value_type&&),
2822         vector<>::emplace_back(_Args&&...)): Add.
2823         (vector<>::push_back(const value_type&)): Add back.
2824         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2825         Adjust dg-error line numbers.
2826         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2827         Likewise.
2828         * testsuite/23_containers/deque/requirements/dr438/
2829         constructor_1_neg.cc: Likewise.
2830         * testsuite/23_containers/deque/requirements/dr438/
2831         constructor_2_neg.cc: Likewise.
2832         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2833         Adjust dg-error line numbers.
2834         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2835         Likewise.
2836         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2837         Likewise.
2838         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2839         Likewise.
2840         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2841         Adjust dg-error line numbers.
2842         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2843         Likewise.
2844         * testsuite/23_containers/vector/requirements/dr438/
2845         constructor_1_neg.cc: Likewise.
2846         * testsuite/23_containers/vector/requirements/dr438/
2847         constructor_2_neg.cc: Likewise.
2848
2849 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
2850
2851         * include/tr1_impl/array (array<>::assign): Do not define in
2852         C++0x mode, per DR 776...
2853         (array<>::fill): ... define instead.
2854         * doc/xml/manual/intro.xml: Add an entry for DR 776.
2855         * testsuite/23_containers/array/requirements/fill.cc: New.
2856
2857 2008-06-12  Paolo Carlini  <paolo.carlini@oracle.com>
2858
2859         * include/std/complex (pow(const complex<>&, int)): Do not define in
2860         C++0x mode, per DR 844.
2861         * include/tr1/complex (pow(const complex<>&, int)): Remove.
2862         * doc/xml/manual/intro.xml: Add an entry for DR 844.
2863         * testsuite/26_numerics/complex/dr844.cc: New.
2864         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
2865
2866 2008-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
2867
2868         * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
2869         cend(size_type)): Add per DR 691.
2870         * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
2871         New.
2872         * testsuite/23_containers/unordered_multimap/requirements/
2873         cliterators.cc: Likewise.
2874         * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
2875         Likewise.
2876         * testsuite/23_containers/unordered_multiset/requirements/
2877         cliterators.cc: Likewise.
2878         * doc/xml/manual/intro.xml: Add an entry for DR 691.
2879
2880 2008-06-11  Matthias Klose  <doko@ubuntu.com>
2881
2882         * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
2883         Remove empty directories.
2884
2885 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
2886
2887         * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
2888         solaris2.5.[0-9], solaris2.6, windiss*): Remove.
2889         * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
2890         * configure: Regenerate.
2891         * config/os/solaris/solaris2.5: Remove directory.
2892         * config/os/solaris/solaris2.6: Remove directory.
2893         * config/os/windiss: Remove directory.
2894
2895 2008-06-06  Benjamin Kosnik  <bkoz@redhat.com>
2896
2897         * doc/xml/manual/using.xml: Outline exception topics.
2898
2899         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
2900         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2901         policy_access_fn_imps.hpp: Same.
2902         * include/ext/pb_ds/priority_queue.hpp: Same.
2903         * include/ext/throw_allocator.h: Same.
2904
2905         * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
2906         (sequence_tag): New tag. Doxygen markup fixes.
2907
2908         * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
2909
2910         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
2911         comment typo, include paths, format.
2912         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
2913         * testsuite/performance/ext/pb_ds/
2914         hash_random_int_erase_mem_usage.cc: Same.
2915         * testsuite/performance/ext/pb_ds/
2916         random_int_subscript_find_timing.cc: Same.
2917         * testsuite/performance/ext/pb_ds/
2918         priority_queue_text_push_timing.cc: Same.
2919         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
2920         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
2921         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
2922         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
2923         * testsuite/performance/ext/pb_ds/
2924         priority_queue_random_int_push_timing.cc: Same.
2925         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
2926         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
2927         * testsuite/performance/ext/pb_ds/
2928         priority_queue_text_push_pop_timing.cc: Same.
2929         * testsuite/performance/ext/pb_ds/
2930         priority_queue_text_join_timing.cc: Same.
2931         * testsuite/performance/ext/pb_ds/
2932         priority_queue_random_int_push_pop_timing.cc: Same.
2933         * testsuite/performance/ext/pb_ds/
2934         random_int_subscript_insert_timing.cc: Same.
2935         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
2936         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
2937         * testsuite/performance/ext/pb_ds/
2938         priority_queue_text_pop_mem_usage.cc: Same.
2939         * testsuite/performance/ext/pb_ds/
2940         hash_zlob_random_int_find_timing.cc: Same.
2941         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
2942         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2943         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
2944         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2945         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
2946         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2947         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
2948         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2949         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2950         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
2951         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
2952         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
2953         * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
2954         * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
2955         * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
2956         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
2957         * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
2958         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
2959         * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
2960         * testsuite/util/regression/basic_type.hpp: Same.
2961         * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
2962         * testsuite/util/common_type/priority_queue/detail/
2963         ds_string_form.hpp: Same.
2964         * testsuite/util/common_type/assoc/string_form.hpp: Same.
2965         * testsuite/util/common_type/assoc/detail/
2966         resize_policy_string_form.hpp: Same.
2967         * testsuite/util/common_type/assoc/detail/
2968         trigger_policy_string_form.hpp: Same.
2969         * testsuite/util/common_type/assoc/detail/
2970         comb_hash_fn_string_form.hpp: Same.
2971         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
2972         * testsuite/util/common_type/assoc/detail/
2973         size_policy_string_form.hpp: Same.
2974         * testsuite/util/common_type/assoc/detail/
2975         probe_fn_string_form.hpp: Same.
2976         * testsuite/util/common_type/assoc/detail/
2977         list_update_policy_string_form.hpp: Same.
2978         * testsuite/util/common_type/assoc/detail/
2979         store_hash_string_form.hpp: Same.
2980         * testsuite/util/common_type/assoc/native_set.hpp: Same.
2981         * testsuite/util/io/prog_bar.cc: Same.
2982
2983         * testsuite/util/regression/rand/io: Remove.
2984         * testsuite/util/regression/rand/io/priority_queue: Same.
2985         * testsuite/util/regression/rand/io/assoc: Same.
2986         * testsuite/util/regression/rand/io/priority_queue/
2987         xml_formatter.hpp: Consolidate this...
2988         * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
2989         * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
2990         * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
2991
2992         * testsuite/util/regression/rand/priority_queue/
2993         container_rand_regression_test.hpp:To ...
2994         container_rand_regression_test.h: ... this.
2995         * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
2996         * testsuite/util/regression/rand/priority_queue/
2997         container_rand_regression_test.tcc: ... this.
2998         PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
2999         PB_DS_SET_DESTRUCT_PRINT: Fold inline.
3000         PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
3001         * testsuite/util/regression/rand/priority_queue/
3002         rand_regression_test.hpp: Adjust includes.
3003
3004         * testsuite/util/regression/rand/assoc/
3005         container_rand_regression_test.hpp: To ...
3006         * testsuite/util/regression/rand/assoc/
3007         container_rand_regression_test.h: ... this.
3008         * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
3009         * testsuite/util/regression/rand/assoc/
3010         container_rand_regression_test.tcc: ...this.
3011         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
3012         includes.
3013
3014         * testsuite/util/regression/priority_queue: Remove.
3015         * testsuite/util/regression/assoc: Remove.
3016         * testsuite/util/regression/priority_queue/
3017         common_type.hpp: Consolidate this...
3018         * testsuite/util/regression/assoc/common_type.hpp: ... and this
3019         * testsuite/util/regression/common_type.hpp: ...here.
3020
3021         * testsuite/util/rng: Remove.
3022         * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
3023         * testsuite/util/rng/twister_rand_gen.hpp: ... and this
3024         * testsuite/util/testsuite_rng.h: ...here.
3025
3026         * testsuite/util/native_type/priority_queue: Remove.
3027         * testsuite/util/native_type/priority_queue/
3028         native_priority_queue.hpp: To...
3029         * testsuite/util/native_type/native_priority_queue.hpp: ...here.
3030
3031         * testsuite/util/native_type/assoc: Remove.
3032         * testsuite/util/native_type/assoc/native_multimap.hpp: To...
3033         * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
3034         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
3035         * testsuite/util/native_type/assoc/native_set.hpp: To...
3036         * testsuite/util/native_type/assoc/native_map.hpp: To...
3037         * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
3038         * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
3039         * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
3040         * testsuite/util/native_type/native_multimap.hpp: ...here.
3041         * testsuite/util/native_type/native_tree_tag.hpp: ...here.
3042         * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
3043         * testsuite/util/native_type/native_set.hpp: ...here.
3044         * testsuite/util/native_type/native_map.hpp: ...here.
3045         * testsuite/util/native_type/native_hash_set.hpp: ...here.
3046         * testsuite/util/native_type/native_hash_tag.hpp: ...here.
3047         * testsuite/util/native_type/native_hash_map.hpp: ...here.
3048
3049         * testsuite/util/common_type/priority_queue/common_type.hpp:
3050         Make include guard distinct.
3051         * testsuite/util/common_type/assoc/common_type.hpp: Same.
3052
3053 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
3054
3055         * configure.ac: Do not check for gconv.h.
3056         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
3057         gconf.h.  For glibc and uClibc systems, define
3058         _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
3059         AM_ICONV.
3060         * configure, config.h.in: Regenerate.
3061
3062 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
3063
3064         * testsuite/17_intro/headers/all.cc,
3065         testsuite/17_intro/headers/all_c++200x_compatibility.cc,
3066         testsuite/17_intro/headers/all_pedantic_errors.cc,
3067         testsuite/ext/headers.cc: Only include
3068         <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
3069         _GLIBCXX_HAVE_ICONV.
3070
3071 2008-06-05  Johannes Singler  <singler@ira.uka.de>
3072
3073         * include/parallel/random_shuffle.h:
3074         (parallel_random_shuffle_drs) Get the actual number of
3075         threads after entering the parallel region. Indentation.
3076         * include/parallel/algo.h: (random_shuffle(begin, end))
3077         Add namespace qualification to avoid ambiguity.
3078
3079 2008-06-04  Benjamin Kosnik  <bkoz@redhat.com>
3080
3081         * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
3082         to allocator_type, as per existing conventions.
3083         * include/ext/pb_ds/detail/binomial_heap_base_/
3084         binomial_heap_base_.hpp: Same.
3085         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
3086         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
3087         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
3088         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
3089         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
3090         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
3091         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
3092         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
3093         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
3094         left_child_next_sibling_heap_.hpp: Same.
3095         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
3096         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3097         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
3098         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
3099         * include/ext/pb_ds/detail/rc_binomial_heap_/
3100         rc_binomial_heap_.hpp: Same.
3101         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
3102         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
3103         * include/ext/pb_ds/list_update_policy.hpp: Same.
3104         * include/ext/pb_ds/exception.hpp: Same.
3105         * include/ext/pb_ds/tree_policy.hpp: Same.
3106         * include/ext/pb_ds/trie_policy.hpp: Same.
3107         * include/ext/pb_ds/priority_queue.hpp: Same.
3108         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
3109         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
3110         * testsuite/util/regression/rand/priority_queue/detail/
3111         defs_fn_imps.hpp: Same.
3112         * testsuite/util/regression/rand/priority_queue/detail/
3113         operator_fn_imps.hpp: Same.
3114         * testsuite/util/regression/rand/priority_queue/
3115         container_rand_regression_test.hpp: Same.
3116         * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
3117         * testsuite/util/regression/rand/assoc/detail/
3118         operator_fn_imps.hpp: Same.
3119         * testsuite/util/regression/rand/assoc/
3120         container_rand_regression_test.hpp: Same.
3121         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
3122         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
3123         * testsuite/util/common_type/assoc/detail/
3124         tree_supports_order_statistics.hpp: Same.
3125         * testsuite/util/common_type/assoc/detail/
3126         trie_supports_prefix_search.hpp: Same.
3127         * testsuite/util/common_type/assoc/detail/
3128         trie_supports_order_statistics.hpp: Same.
3129
3130 2008-06-02  Sandra Loosemore  <sandra@codesourcery.com>
3131             Daniel Jacobowitz  <dan@codesourcery.com>
3132
3133         * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
3134         dg-require-fileio.
3135         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
3136         * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
3137
3138 2008-06-02  Paolo Carlini  <paolo.carlini@oracle.com>
3139
3140         * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
3141         avoid a memory leak if the first __uninitialized_move_a throws.
3142         (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
3143         to _M_insert_aux.
3144         * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
3145         * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
3146
3147 2008-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
3148             Chris Jefferson  <chris@bubblescope.net>
3149
3150         PR libstdc++/36338
3151         * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
3152         (pop_heap): Slightly tweak.
3153
3154 2008-05-29  Paolo Carlini  <paolo.carlini@oracle.com>
3155
3156         * include/debug/bitset (bitset(const char*)): Implement DR 778
3157         in debug-mode too.
3158
3159         * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
3160         deal with char16_t and char32_t.
3161
3162 2008-05-26  Paolo Carlini  <paolo.carlini@oracle.com>
3163
3164         * include/c_global/cmath (pow(float, int), pow(double, int),
3165         pow(long double, int)): Do not define in C++0x mode, per DR 550.
3166         * include/tr1_impl/cmath (pow): Do not bring in unconditionally
3167         from namespace std.
3168         * include/tr1/cmath (pow(double, double), pow(float, float),
3169         pow(long double, long double), pow(_Tp, _Up)): Define.
3170         * include/tr1/complex (pow): Do not bring in from namespace std.
3171         (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
3172         const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
3173         pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
3174         * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
3175         const _Up&), pow(const _Tp&, const std::complex<_Up>&),
3176         pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
3177         define.
3178         * doc/xml/manual/intro.xml: Add an entry for DR 550.
3179         * testsuite/26_numerics/headers/cmath/dr550.cc: New.
3180         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
3181
3182 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
3183
3184         * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
3185         * include/std/date_time: Likewise.
3186         * include/std/system_error: Likewise.
3187         * include/std/type_traits: Likewise; fix typo in macro name.
3188         * include/std/regex: Likewise.
3189         * include/std/random: Likewise.
3190         * include/std/unordered_map: Likewise.
3191         * include/std/condition_variable: Likewise.
3192         * include/std/unordered_set: Likewise.
3193         * include/std/mutex: Likewise.
3194         * include/std/array: Likewise.
3195
3196         * include/c_std/cmath: Fix obsolete comment.
3197         * include/c_global/cmath: Likewise.
3198
3199 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
3200
3201         * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
3202         complex<float>::real(float), complex<float>::imag(float),
3203         complex<double>::real(double), complex<double>::imag(double),
3204         complex<long double>::real(long double),
3205         complex<long double>::imag(long double)): Add per DR 387.
3206         (complex<>::real(), complex<>::imag(), complex<float>::real(),
3207         complex<float>::imag(), complex<double>::real(),
3208         complex<double>::imag(), complex<long double>::real(),
3209         complex<long double>::imag(long double)): Adjust in C++0x mode.
3210         (real(complex<>&), imag(complex<>&), real(const complex<>&),
3211         imag(const complex<>&)): Likewise.
3212         * testsuite/26_numerics/complex/dr387.cc: New.
3213