OSDN Git Service

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