OSDN Git Service

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