OSDN Git Service

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