OSDN Git Service

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