OSDN Git Service

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