OSDN Git Service

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