OSDN Git Service

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