OSDN Git Service

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