OSDN Git Service

53a7387150f3723a8aa4054496976f63d591f817
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2009-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         * include/bits/forward_list.h (forward_list<>::erase_after):
4         Change signature per N2988, return void; simplify.
5         (_Fwd_list_base<>::_M_erase_after): Likewise return void.
6         (forward_list<>::~forward_list): Do not call _M_erase_after
7         unnecessarily, the base class destructor already does it.
8         (forward_list<>::splice_after(const_iterator position,
9         forward_list&&, const_iterator i): Check position != i and
10         position != ++i.
11         * include/bits/forward_list.tcc (_Fwd_list_base<>::
12         _M_erase_after(typename _Node_base::_Pointer): Simplify.
13         (_Fwd_list_base<>::_M_erase_after(typename _Node_base::_Pointer,
14         typename _Node_base::_Pointer): Fix (remove the correct range
15         of element) and simplify (update __pos->_M_next at the end).
16         * testsuite/23_containers/forward_list/modifiers/3.cc: Adjust
17         and extend.
18         * testsuite/23_containers/forward_list/ext_pointer/
19         modifiers/3.cc: Likewise.
20         * testsuite/23_containers/forward_list/requirements/dr438/
21         assign_neg.cc: Tweak dg-error line numbers.
22         * testsuite/23_containers/forward_list/requirements/dr438/
23         insert_neg.cc: Likewise.
24         * testsuite/23_containers/forward_list/requirements/dr438/
25         constructor_1_neg.cc: Likewise.
26         * testsuite/23_containers/forward_list/requirements/dr438/
27         constructor_2_neg.cc: Likewise.
28
29 2009-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
30
31         * include/std/algorithm: Include <utility>, per UK-300.
32         * include/bits/stl_algobase.h: Don't do it here.
33
34 2009-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
35
36         * include/std/type_traits (declval): Add, per DR 1255.
37         (__is_convertible_helper, common_type): Use it.
38         * include/bits/move.h: Mention std::declval.
39         * testsuite/20_util/declval/requirements/1.cc: New.
40         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
41         * testsuite/20_util/common_type/requirements/typedefs-2.cc: Likewise.
42         * testsuite/20_util/common_type/requirements/
43         explicit_instantiation.cc: Extend.
44         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
45         dg-error line numbers.
46         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
47         Likewise.
48
49 2009-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
50
51         * include/bits/stl_algobase.h: Include the full <utility>, per
52         UK-300.
53         * include/bits/stl_algo.h: Tweak includes.
54
55 2009-11-11  Jason Merrill  <jason@redhat.com>
56
57         * testsuite/Makefile.am: Remove use of baseline_file.
58         * testsuite/Makefile.in: Likewise.
59
60         PR c++/39131
61         * config/abi/pre/gnu.ver: Add DFP types.
62         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.4.
63
64 2009-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
65
66         * include/bits/basic_string.h (to_string(int), to_string(unsigned),
67         to_string(long), to_string(unsigned long), to_string(float),
68         to_string(double), to_wstring(int), to_wstring(unsigned),
69         to_wstring(long), to_wstring(unsigned long), to_wstring(float),
70         to_wstring(double)): Add, per resolution of DR 1261.
71         * include/ext/vstring.h: Likewise.
72         * testsuite/21_strings/basic_string/numeric_conversions/char/
73         dr1261.cc: Add.
74         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
75         dr1261.cc: Likewise.
76
77 2009-11-09  Benjamin Kosnik  <bkoz@redhat.com>
78
79         * doc/doxygen/user.cfg.in: Regenerate, add files.
80         * libsupc++/eh_ptr.cc: Format.
81         * libsupc++/exception_ptr.h: Same.
82         * libsupc++/cxxabi.h(recursive_init_error): Move declaration here.
83         * libsupc++/guard.cc: From here.
84         * libsupc++/nested_exception.h: Add markup.
85
86 2009-11-09  Johannes Singler  <singler@kit.edu>
87
88         * include/parallel/multiway_merge.h (multiway_merge_*,
89         __sequential_multiway_merge, parallel_multiway_merge): Replace
90         int by appropriate difference_type (typedef to _SeqNumber) or
91         _ThreadIndex.
92         * include/parallel/multiseq_selection.h (multiseq_partition,
93         multiseq_selection): Replace int by appropriate difference_type
94         (typedef to _SeqNumber)
95         * include/parallel/base.h (__get_max_threads): Replace int by
96         _ThreadIndex.
97         * include/parallel/balanced_quicksort.h
98         (__qsb_local_sort_with_helping, __parallel_sort_qsb): Likewise.
99         * include/parallel/set_operations.h (__parallel_set_operation):
100         Likewise.
101         * include/parallel/unique_copy.h (__parallel_unique_copy): Likewise.
102         * include/parallel/multiway_mergesort.h (_SplitConsistently,
103         parallel_sort_mwms_pu, parallel_sort_mwms): Likewise.
104         * include/parallel/partial_sum.h (__parallel_partial_sum_linear):
105         Likewise.
106         * include/parallel/partition.h (__parallel_partition): Replace int
107         by appropriate difference_type or _ThreadIndex.
108
109 2009-11-08  Jason Merrill  <jason@redhat.com>
110
111         * include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'.
112
113 2009-11-06  Benjamin Kosnik  <bkoz@redhat.com>
114
115         * doc/doxygen/user.cfg.in: Adjust includes.
116
117         * doc/doxygen/doxygroups.cc: Move group markup.
118         * include/tr1_impl/regex: Change " to '. Add group markup.
119         * include/std/utility: Same.
120         * include/std/type_traits: Same.
121         * include/std/streambuf: Same.
122         * include/std/iosfwd: Same.
123         * include/std/limits: Same.
124         * include/std/sstream: Same.
125         * include/profile/impl/profiler_state.h: Same.
126         * include/profile/impl/profiler_hashtable_size.h: Same.
127         * include/bits/stl_algobase.h: Same.
128         * include/bits/stl_iterator_base_types.h: Same.
129         * include/bits/stream_iterator.h: Same.
130         * include/bits/stl_iterator.h: Same.
131         * include/bits/stl_tempbuf.h: Same.
132         * include/bits/streambuf_iterator.h: Same.
133         * libsupc++/exception: Same.
134         * libsupc++/cxxabi.h: Same.
135         * include/tr1_impl/type_traits: Same.
136
137         * include/parallel/multiway_merge.h: Change @__c to @c, @__f to @f.
138         * include/parallel/list_partition.h: Same.
139         * include/parallel/for_each.h: Same.
140         * include/parallel/workstealing.h: Same.
141         * include/parallel/base.h: Same.
142         * include/parallel/equally_split.h: Same.
143         * include/parallel/random_shuffle.h: Same.
144         * include/parallel/balanced_quicksort.h: Same.
145         * include/parallel/merge.h: Same.
146         * include/parallel/multiway_mergesort.h: Same.
147         * include/parallel/compatibility.h: Same.
148         * include/parallel/queue.h: Same.
149         * include/parallel/checkers.h: Same.
150         * include/parallel/random_number.h: Same.
151
152
153         * include/c_global/csignal: Change # to \#.
154         * include/c_global/cstdlib: Same.
155         * include/c_global/cstdio: Same.
156         * include/c_global/cstdarg: Same.
157         * include/c_global/cctype: Same.
158         * include/c_global/cerrno: Same.
159         * include/c_global/cstdatomic: Same.
160         * include/c_global/cmath: Same.
161         * include/c_global/ciso646: Same.
162         * include/c_global/ctime: Same.
163         * include/c_global/clocale: Same.
164         * include/c_global/climits: Same.
165         * include/c_global/cassert: Same.
166         * include/c_global/csetjmp: Same.
167         * include/c_global/cwchar: Same.
168         * include/c_global/cfloat: Same.
169         * include/c_global/cstring: Same.
170         * include/c_global/cstddef: Same.
171         * include/c_global/cwctype: Same.
172
173         * include/std/memory: Only dance around boost_sp_counted_base.h.
174         * include/tr1_impl/boost_sp_counted_base.h: Add markup.
175         * include/tr1/shared_ptr.h: Strip markup.
176         * include/bits/shared_ptr.h: Move base types...
177         * include/bits/shared_ptr_base.h: ...here.
178         * include/Makefile.am: Add.
179         * include/Makefile.in: Regenerate.
180         * configure: Same.
181         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
182         Adjust line numbers.
183         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
184
185 2009-11-06  Paolo Carlini  <paolo.carlini@oracle.com>
186
187         * include/parallel/multiway_merge.h: Simple formatting and
188         uglification fixes.
189         * include/parallel/find_selectors.h: Likewise.
190         * include/parallel/losertree.h: Likewise.
191         * include/parallel/list_partition.h: Likewise.
192         * include/parallel/for_each.h: Likewise.
193         * include/parallel/multiseq_selection.h: Likewise.
194         * include/parallel/workstealing.h: Likewise.
195         * include/parallel/par_loop.h: Likewise.
196         * include/parallel/numeric: Likewise.
197         * include/parallel/quicksort.h: Likewise.
198         * include/parallel/equally_split.h: Likewise.
199         * include/parallel/omp_loop_static.h: Likewise.
200         * include/parallel/random_shuffle.h: Likewise.
201         * include/parallel/balanced_quicksort.h: Likewise.
202         * include/parallel/tags.h: Likewise.
203         * include/parallel/set_operations.h: Likewise.
204         * include/parallel/merge.h: Likewise.
205         * include/parallel/unique_copy.h: Likewise.
206         * include/parallel/multiway_mergesort.h: Likewise.
207         * include/parallel/search.h: Likewise.
208         * include/parallel/partition.h: Likewise.
209         * include/parallel/partial_sum.h: Likewise.
210         * include/parallel/find.h: Likewise.
211         * include/parallel/queue.h: Likewise.
212         * include/parallel/omp_loop.h: Likewise.
213         * include/parallel/checkers.h: Likewise.
214         * include/parallel/sort.h: Likewise.
215
216 2009-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
217
218         PR libstdc++/41949
219         * include/std/ostream: Adjust link.
220
221 2009-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
222
223         * include/parallel/multiway_merge.h: Simple formatting and
224         uglification fixes.
225         * include/parallel/losertree.h: Likewise.
226         * include/parallel/base.h: Likewise.
227         * include/parallel/par_loop.h: Likewise.
228         * include/parallel/omp_loop_static.h: Likewise.
229         * include/parallel/multiway_mergesort.h: Likewise.
230         * include/parallel/partial_sum.h: Likewise.
231         * include/parallel/omp_loop.h: Likewise.
232
233 2009-11-04  Benjamin Kosnik  <bkoz@redhat.com>
234
235         * testsuite/25_algorithms/fill/5.cc: Move...
236         * testsuite/25_algorithms/fill_n/1.cc: ...here.
237
238 2009-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
239
240         * include/parallel/multiway_merge.h: Simple formatting and
241         uglification fixes.
242         * include/parallel/losertree.h: Likewise.
243
244 2009-11-03  David Krauss  <potswa@mac.com>
245             Paolo Carlini  <paolo.carlini@oracle.com>
246
247         PR libstdc++/41351
248         * include/bits/stl_algo.h (__rotate(_RandomAccessIterator,
249         _RandomAccessIterator, _RandomAccessIterator,
250         random_access_iterator_tag)): Rewrite to use only std::swap in
251         general and std::copy/std::copy_backward when safe.
252
253 2009-11-02  Benjamin Kosnik  <bkoz@redhat.com>
254
255         * include/std/future: Use base class with nested types.
256         (__future_base): New.
257         (__future_base::_Result_base): From _Future_result_base.
258         (__future_base::_Result): From _Future_result.
259         (__future_base::_Move_result): From _Move_future_result.
260         (__future_base::_Ptr): From _Future_ptr.
261         (__future_base::_State): From _Future_state.
262         (__basic_future): From _Future_impl.
263         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust line
264         numbers.
265         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same.
266         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Same.
267         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
268         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
269         * testsuite/30_threads/promise/cons/assign_neg.cc: Same.
270         * testsuite/30_threads/promise/cons/copy_neg.cc: Same.
271
272 2009-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
273
274         * include/std/chrono (struct __common_rep_type): New.
275         (duration_cast(const duration<>&),
276         duration<>::duration(const _Rep2&),
277         duration<>::duration(const duration<>&),
278         operator*(const duration<>&, const _Rep2&),
279         operator*(const _Rep1&, const duration<>&),
280         operator/(const duration<>&, const _Rep2&),
281         time_point_cast(const time_point<>&)): Implement resolution of
282         DR 1177 ([Ready] in Santa Cruz), change to not participate to
283         overload resolution if the constraints are not met.
284         * testsuite/20_util/duration/cons/1_neg.cc: Adjust dg-errors.
285         * testsuite/20_util/duration/cons/dr974.cc: Likewise.
286         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
287         dg-error line numbers.
288         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
289         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
290
291 2009-10-31  Gerald Pfeifer  <gerald@pfeifer.com>
292
293         * doc/xml/manual/intro.xml: Refer to our bugs page instead of
294         Bugzilla directly.
295
296 2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
297
298         * libsupc++/tinfo.cc (operator=(const type_info&)): Reapply 153734.
299         * libsupc++/typeinfo (type_info::name()): Likewise.
300         * libsupc++/tinfo2.cc (before):  Likewise.
301
302 2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
303
304         * include/bits/random.h: Fix typo in static_assert text.
305
306 2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
307
308         PR libstdc++/41759
309         * include/bits/random.h: Tweak a bit the text of some static_asserts.
310
311 2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
312
313         * include/std/type_traits (__is_convertible_simple): Remove.
314         (__is_convertible_helper): Adjust.
315         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
316         dg-error line numbers.
317         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
318         Likewise.
319
320 2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
321
322         * libsupc++/tinfo.cc (operator=(const type_info&)): Revert 153734.
323         * libsupc++/typeinfo (type_info::name()): Likewise.
324         * libsupc++/tinfo2.cc (before):  Likewise.
325
326 2009-10-28  Jerry Quinn  <jlquinn@optonline.net>
327
328         * libsupc++/tinfo.cc (operator=(const type_info&)): Compare by
329         pointer if name begins with '*'.
330         * libsupc++/typeinfo (type_info::name()): Likewise.
331         * libsupc++/tinfo2.cc (before):  Likewise.
332
333 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
334             Douglas Gregor  <doug.gregor@gmail.com>
335
336         PR libstdc++/40925 (again)
337         * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, const _T2&),
338         pair<_T1, _T2>::pair(const _T1&, _U2&&)): Add, to deal correctly
339         with move-only types in the presence of "null pointers".
340         * testsuite/20_util/pair/40925.cc: Extend.
341
342 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
343
344         * include/std/type_traits (__is_int_or_cref): Remove.
345         (__is_convertible_helper): Fix per C++0x and simplify (the hack to
346         suppress warnings isn't necessary anymore).
347         * testsuite/20_util/is_convertible/requirements/typedefs.cc: New.
348         * testsuite/20_util/is_convertible/requirements/
349         explicit_instantiation.cc: Likewise.
350         * testsuite/20_util/is_convertible/value.cc: Likewise.
351         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
352         dg-error line numbers.
353         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
354         Likewise.
355
356 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
357
358         * testsuite/20_util/pair/40925.cc: Minor comment fix.
359
360 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
361
362         PR libstdc++/40925
363         * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, _U2&&)):
364         Use enable_if to remove it from the overload set when either _U1
365         is not convertible to _T1 or _U2 is not convertible to _T2.
366         (pair<>::pair(_U1&&, _Arg0&&, _Args&&...)): Remove.
367
368 2009-10-29  Douglas Gregor  <doug.gregor@gmail.com>
369
370         PR libstdc++/40925
371         * testsuite/20_util/pair/40925.cc: Add.
372
373 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
374
375         * include/decimal/decimal: Minor formatting and uglification fixes.
376         * include/decimal/decimal.h: Likewise.
377
378 2009-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
379
380         * include/bits/stl_iterator_base_funcs.h: (next): Change
381         template parameter name consistently with the resolution
382         of DR 1011 ([Ready] in Santa Cruz).
383
384 2009-10-28  Johannes Singler  <singler@kit.edu>
385
386         PR libstdc++/40852
387         * include/parallel/multiseq_selection.h 
388         (multiseq_partition, multiseq_selection):  Avoid intermediate 
389         values exceeding the integer type range for very large inputs.
390
391 2009-10-26  Paolo Carlini  <paolo.carlini@oracle.com>
392
393         * include/std/chrono (duration<>::duration(const duration<>&)): Fix
394         per the straightforward resolution of DR 974.
395         * testsuite/20_util/duration/cons/dr974.cc: Add.
396
397 2009-10-26  Jakub Jelinek  <jakub@redhat.com>
398
399         PR libstdc++/38923
400         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid using too many
401         *s.  Accept ld version without text in ()s.
402         * configure: Regenerated.
403
404 2009-10-26  Jason Merrill  <jason@redhat.com>
405
406         Core issue 906
407         * include/std/future (~Future_result_base): Default outside class
408         body.
409         * include/std/system_error (error_category()): Likewise.
410         * libsupc++/nested_exception.h (nested_exception): Remove
411         exception specifications from defaulted methods.
412
413 009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
414
415         PR libstdc++/41773
416         Revert:
417         2009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
418
419         * include/bits/basic_string.h (_S_construct(const _CharT*, size_type,
420         const _Alloc&)): New, declare.
421         (_S_construct(_CharT*, _CharT*, const _Alloc&),
422         _S_construct(const _CharT*, const _CharT*, const _Alloc&),
423         _S_construct(iterator, iterator, const _Alloc&),
424         _S_construct(const_iterator, const_iterator, const _Alloc&)): New,
425         forward to the latter.
426         * include/bits/basic_string.tcc (_S_construct(const _CharT*,
427         size_type, const _Alloc&)): Define.
428         (basic_string(const basic_string&, size_type, size_type),
429         basic_string(const basic_string&, size_type, size_type,
430         const _Alloc&), basic_string(const _CharT*, size_type,
431         const _Alloc&), basic_string(const _CharT*, const _Alloc&),
432         basic_string(initializer_list<>, const _Alloc&)): Call the latter.
433         * config/abi/pre/gnu.ver: Remove recently added exports.
434         * src/string-inst.cc: Remove instantiations.
435
436 2009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
437
438         PR libstdc++/41763
439         * include/bits/valarray_array.h (__valarray_default_construct,
440         __valarray_fill_construct, __valarray_copy_construct, __valarray_sum
441         __valarray_destroy_elements, __valarray_product): Do not qualify with
442         __restrict__ pointers accessing data also accessed by other pointers.
443
444 2009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
445
446         * include/bits/basic_string.h (_S_construct(const _CharT*, size_type,
447         const _Alloc&)): New, declare.
448         (_S_construct(_CharT*, _CharT*, const _Alloc&),
449         _S_construct(const _CharT*, const _CharT*, const _Alloc&),
450         _S_construct(iterator, iterator, const _Alloc&),
451         _S_construct(const_iterator, const_iterator, const _Alloc&)): New,
452         forward to the latter.
453         * include/bits/basic_string.tcc (_S_construct(const _CharT*,
454         size_type, const _Alloc&)): Define.
455         (basic_string(const basic_string&, size_type, size_type),
456         basic_string(const basic_string&, size_type, size_type,
457         const _Alloc&), basic_string(const _CharT*, size_type,
458         const _Alloc&), basic_string(const _CharT*, const _Alloc&),
459         basic_string(initializer_list<>, const _Alloc&)): Call the latter.
460         * config/abi/pre/gnu.ver: Remove recently added exports.
461         * src/string-inst.cc: Remove instantiations.
462
463 2009-10-15  Phil Muldoon <pmuldoon@redhat.com>
464
465         * python/libstdcxx/v6/printers.py (StdTuplePrinter): New printer.
466         (build_libstdcxx_dictionary): Add StdTuplePrinter registration.
467
468 2009-10-16  Benjamin Kosnik  <bkoz@redhat.com>
469
470         * include/c_compatibility/stdatomic.h: Include cstdatomic if
471         __cplusplus.
472
473 2009-10-15  Benjamin Kosnik  <bkoz@redhat.com>
474
475         PR libstdc++/40654
476         PR libstdc++/40826
477         * src/atomic.cc (atomic_flag_test_and_set_explicit): Add
478         static_cast from base to derived.
479         (atomic_flag_clear_explicit): Same.
480         * include/bits/atomic_2.h (__atomic2::atomic_flag): Public derivation.
481         Remove value type constructor.
482         * include/bits/atomic_0.h (__atomic0::atomic_flag): Same.
483         * include/std/future (_Future_state): Use ATOMIC_FLAG_INIT to
484         initialized the atomic_flag member.
485
486 2009-10-14  Benjamin Kosnik  <bkoz@redhat.com>
487
488         * doc/xml/authors.xml: Update.
489         * doc/xml/manual/intro.xml: Move test section...
490         * doc/xml/manual/appendix_porting.xml: ...here.
491         * doc/xml/manual/diagnostics.xml: Edit.
492         * doc/xml/manual/using.xml: Break out exception section.
493         * doc/xml/manual/using_exceptions.xml: New.
494         * doc/html: Regenerate.
495
496 2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
497
498         * config/abi/pre/gnu.ver: Export the _S_construct<> helpers.
499
500 2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
501
502         * include/bits/basic_string.h (operator+=(initializer_list<>),
503         append(initializer_list<>)): Forward to the append overload taking
504         a const CharT* pointer and a size, thus avoiding instantiating
505         unnecessarily in the built library the overload taking a pair of
506         iterators.
507         (operator=(initializer_list<>), assign(initializer_list<>)): Likewise
508         for assign.
509         (insert(iterator, initializer_list<>): Likewise for insert.
510
511 2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
512
513         * include/bits/c++config: Do not disable extern templates for string
514         in plain parallel-mode and in profile-mode; add comment explaining
515         _GLIBCXX_EXTERN_TEMPLATE == -1.
516         * testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line.
517
518 2009-10-14  Jason Merrill  <jason@redhat.com>
519
520         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust expected.
521
522 2009-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
523
524         * include/parallel/for_each_selectors.h: Minor uglification and
525         stylistic fixes.
526
527 2009-10-13  Edward Smith-Rowland  <3dw4rd@verizon.net>
528
529         * include/precompiled/stdc++.h: Include <initializer_list>
530         for completeness.
531
532 2009-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
533
534         * include/bits/random.h (class linear_congruential_engine,
535         class mersenne_twister_engine, class subtract_with_carry_engine,
536         class discard_block_engine, class independent_bits_engine,
537         class shuffle_order_engine, class uniform_int_distribution,
538         class binomial_distribution, class geometric_distribution,
539         class negative_binomial_distribution, class poisson_distribution,
540         class discrete_distribution): Do not use simulated concept checks,
541         tidy startic_asserts on argument types and ranges.
542         (class uniform_real_distribution, class normal_distribution,
543         class lognormal_distribution, class gamma_distribution,
544         class chi_squared_distribution, class cauchy_distribution,
545         class fisher_f_distribution, class student_t_distribution,
546         class exponential_distribution, class weibull_distribution,
547         class extreme_value_distribution, class piecewise_linear_distribution,
548         class piecewise_constant_distribution): Add static_assert on
549         template argument type.
550         * include/std/random: Do not include <bits/concept_check.h>.
551         * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
552         Fix.
553         * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
554         Likewise.
555         * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
556         Likewise.
557         * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
558         Likewise.
559         * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
560         Likewise.
561         * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
562         Likewise.
563         * testsuite/26_numerics/random/discard_block_engine/requirements/
564         typedefs.cc: Likewise.
565         * testsuite/26_numerics/random/discard_block_engine/operators/
566         equal.cc: Likewise.
567         * testsuite/26_numerics/random/discard_block_engine/operators/
568         serialize.cc: Likewise.
569         * testsuite/26_numerics/random/linear_congruential_engine/
570         requirements/non_uint_neg.cc: Tweak.
571
572 2009-10-10  Gerald Pfeifer  <gerald@pfeifer.com>
573
574         * doc/xml/manual/messages.xml: Update GNU gettext reference.
575
576 2009-10-10  Gerald Pfeifer  <gerald@pfeifer.com>
577
578         * doc/xml/manual/codecvt.xml: Refer to The Open Group Base
579         Specifications, Issue 6 (IEEE Std. 1003.1-2004).
580         Update link to bogus site with reference to unix.org.
581         * doc/xml/manual/ctype.xml: Ditto.
582         * doc/xml/manual/locale.xml: Ditto.
583                                              
584 2009-10-09  Paolo Carlini  <paolo.carlini@oracle.com>
585
586         * include/parallel/numeric (__adjacent_difference_switch): Fix typo.
587         * include/parallel/for_each_selectors.h
588         (__adjacent_difference_selector): Likewise.
589
590 2009-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
591
592         * include/ext/bitmap_allocator.h: Minor clean-ups.
593
594 2009-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
595
596         * config/abi/pre/gnu.ver: Adjust exports.
597
598 2009-10-07  Phil Muldoon <pmuldoon@redhat.com>
599
600         * doc/xml/manual/debug.xml: Rewrite and expand GDB Python
601         pretty-printer section.
602
603 2009-10-07  Chris Jefferson  <chris@bubblescope.net>
604
605         * testsuite/25_algorithms/rotate/moveable2.cc: New.
606
607 2009-10-06  Janis Johnson  <janis187@us.ibm.com>
608
609         * testsuite/decimal/binary-arith.cc: Fix directive to skip test.
610         * testsuite/decimal/cast_neg.cc: Ditto.
611         * testsuite/decimal/comparison.cc: Ditto.
612         * testsuite/decimal/compound-assignment.cc: Ditto.
613         * testsuite/decimal/compound-assignment-memfunc.cc: Ditto.
614         * testsuite/decimal/conversion-from-float.cc: Ditto.
615         * testsuite/decimal/conversion-from-integral.cc: Ditto.
616         * testsuite/decimal/conversion-to-generic-float.cc: Ditto.
617         * testsuite/decimal/conversion-to-integral.cc: Ditto.
618         * testsuite/decimal/ctor.cc: Ditto.
619         * testsuite/decimal/incdec.cc: Ditto.
620         * testsuite/decimal/incdec-memfunc.cc: Ditto.
621         * testsuite/decimal/make-decimal.cc: Ditto.
622         * testsuite/decimal/mixed-mode_neg.cc: Ditto.
623         * testsuite/decimal/operator_neg.cc: Ditto.
624         * testsuite/decimal/unary-arith.cc: Ditto.
625
626 2009-10-05  Benjamin Kosnik  <bkoz@redhat.com>
627
628         * doc/html/*: Regenerate.
629
630 2009-10-05  John Bytheway  <jbytheway@gmail.com>
631
632         PR libstdc++/41530
633         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&)):
634         Fix to just move.
635         * testsuite/20_util/tuple/cons/41530.cc: New.
636
637 2009-10-05  Phil Muldoon  <pmuldoon@redhat.com>
638
639         * doc/xml/manual/debug.xml: Add narrative for GDB Python pretty
640         printers. Add links to GDB wiki/online manual.
641
642 2009-10-05  Benjamin Kosnik  <bkoz@redhat.com>
643             Edward Smith-Rowland  <3dw4rd@verizon.net>
644
645         * include/decimal/decimal: Warn if decimal floating point types
646         are not available.
647         * acinclude.m4 (GLIBCXX_ENABLE_DECIMAL_FLOAT): New.
648         * configure.ac: Use it.
649         * configure: Regenerate.
650         * config.h.in: Regenerate.
651
652 2009-10-05  Benjamin Kosnik  <bkoz@redhat.com>
653
654         * include/Makefile.am: Remove stray line break.
655
656         * include/decimal/decimal: Brief class doxygen markup.
657         * libsupc++/exception: Whitespace cleanup.
658
659         * testsuite/libstdc++-dg/conformance.exp: Add testsuite directory
660         decimal.
661         * scripts/create_testsuite_files (dlist): Same.
662
663         * doc/xml/manual/using.xml: One column in table. Move after TR1.
664
665         * testsuite/decimal/bad-cast.cc: Move to...
666         * testsuite/decimal/cast_neg.cc: ...here.
667         * testsuite/decimal/bad-mixed-mode.cc: Move to...
668         * testsuite/decimal/mixed-mode_neg.cc: ...here.
669         * testsuite/decimal/bad-operator.cc: Move to...
670         * testsuite/decimal/operator_neg.cc: ...here.
671
672         * doc/doxygen/user.cfg.in (INPUT): Add decimal/decimal.
673
674 2009-10-05  Janis Johnson  <janis187@us.ibm.com>
675
676         * doc/Makefile.am: Process new file.
677         * doc/xml/manual/intro.xml: Ditto.
678         * doc/xml/manual/using.xml: Document new header.
679         * doc/xml/manual/status_cxxdecimal.xml: New file.
680         * include/Makefile.am: Process new headers.
681         * include/decimal/decimal: New file.
682         * include/decimal/decimal.h: New file.
683
684 2009-10-05  Janis Johnson  <janis187@us.ibm.com>
685
686         * testsuite/decimal: New directory.
687         * testsuite/decimal/bad-cast.cc: New test.
688         * testsuite/decimal/bad-mixed-mode.cc: New test.
689         * testsuite/decimal/bad-operator.cc: New test.
690         * testsuite/decimal/binary-arith.cc: New test.
691         * testsuite/decimal/comparison.cc: New test.
692         * testsuite/decimal/compound-assignment.cc: New test.
693         * testsuite/decimal/compound-assignment-memfunc.cc: New test.
694         * testsuite/decimal/conversion-from-float.cc: New test.
695         * testsuite/decimal/conversion-from-integral.cc: New test.
696         * testsuite/decimal/conversion-to-generic-float.cc: New test.
697         * testsuite/decimal/conversion-to-integral.cc: New test.
698         * testsuite/decimal/ctor.cc: New test.
699         * testsuite/decimal/incdec.cc: New test.
700         * testsuite/decimal/incdec-memfunc.cc: New test.
701         * testsuite/decimal/make-decimal.cc: New test.
702         * testsuite/decimal/unary-arith.cc: New test.
703
704 2009-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
705
706         * testsuite/lib/libstdc++.exp (check_v3_target_rvalref): Remove.
707         * testsuite/lib/dg-options.exp (dg-require-rvalref): Likewise.
708
709 2009-10-05  Chris Jefferson  <chris@bubblescope.net>
710
711         * include/bits/stl_algo.h (__stable_partition_adaptive,
712         __rotate_adaptive, __merge_adaptive, __merge_sort_loop):
713         Extend to work with rvalue references in C++0x mode.
714         * testsuite/25_algorithms/inplace_merge/moveable2.cc: New.
715         * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewise.
716         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
717         * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewise.
718         * testsuite/25_algorithms/stable_sort/moveable.cc: Likewise.
719
720 2009-10-04  Benjamin Kosnik  <bkoz@redhat.com>
721
722         * doc/xml/manual/using.xml: Add profile headers.
723         * testsuite/ext/profile/mh.cc: Restrict to linux.
724
725 2009-10-02  Silvius Rus  <silvius.rus@gmail.com>
726
727         * configure: Add check for execinfo.h.
728         * config.h.in: Add undef for HAVE_EXECINFO_H.
729         * include/Makefile.am: Add build support for profile mode.
730         * include/Makefile.in: Same.
731         * include/profile/base.h: New file.
732         * include/profile/bitset: Same.
733         * include/profile/deque: Same.
734         * include/profile/hashtable.h: Same.
735         * include/profile/list: Same.
736         * include/profile/map: Same.
737         * include/profile/map.h: Same.
738         * include/profile/multimap.h: Same.
739         * include/profile/multiset.h: Same.
740         * include/profile/set: Same.
741         * include/profile/set.h: Same.
742         * include/profile/unordered_map: Same.
743         * include/profile/unordered_set: Same.
744         * include/profile/vector: Same.
745         * include/profile/impl/profiler.h: Same.
746         * include/profile/impl/profiler_container_size.h: Same.
747         * include/profile/impl/profiler_hash_func.h: Same.
748         * include/profile/impl/profiler_hashtable_size.h: Same.
749         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
750         * include/profile/impl/profiler_node.h: Same.
751         * include/profile/impl/profiler_state.h: Same.
752         * include/profile/impl/profiler_trace.h: Same.
753         * include/profile/impl/profiler_vector_size.h: Same.
754         * include/profile/impl/profiler_vector_to_list.h: Same.
755         * include/std/vector: Include corresponding profile header guarded by
756         _GLIBCXX_PROFILE.
757         * include/std/deque: Same.
758         * include/std/list: Same.
759         * include/std/map: Same.
760         * include/std/unordered_map: Same.
761         * include/std/bitset: Same.
762         * include/std/set: Same.
763         * include/std/unordered_set: Same.
764         * include/backward/hash_map: Same.
765         * include/backward/hash_set: Same.
766         * include/tr1_impl/hashtable (_Hashtable): Expose insert_return_type.
767         * include/bits/c++config: Define profile namespace.
768         * testsuite/Makefile.in: Add check-profile.
769         * testsuite/Makefile.am: Same.
770         * testsuite/ext/profile/all.cc: New file.
771         * testsuite/ext/profile/mh.cc: Same.
772         * testsuite/ext/profile/mutex_extensions.cc: Same.
773         * testsuite/23_containers/unordered_map/profile/hash_map.cc: Same.
774         * testsuite/23_containers/unordered_map/profile/unordered.cc: Same.
775         * testsuite/23_containers/vector/profile/vector.cc: Same.
776         * testsuite/23_containers/vector/resize/moveable.cc: Make it pass
777         in profile mode.
778         * testsuite/23_containers/deque/capacity/moveable.cc: Same.
779         * testsuite/23_containers/list/capacity/29134.cc: Same.
780         * doc/Makefile.in: Add reference to profile_mode.xml.
781         * doc/Makefile.am: Same.
782         * doc/xml/manual/profile_mode.xml: New file.
783         * doc/xml/manual/debug.xml: Add link to profile mode section.
784         * doc/xml/manual/extensions.xml: Add profile mode.  Update numbering.
785         * doc/doxygen/user.cfg.in: Add profile mode files.
786
787 2009-10-02  Johannes Singler  <singler@ira.uka.de>
788
789         * include/parallel/base.h: Take integer types from <tr1/cstdint>.
790         * include/parallel/compatibility.h: Likewise.
791         * include/parallel/multiseq_selection.h: Likewise.
792         * include/parallel/random_shuffle.h: Likewise.
793         * include/parallel/random_number.h: Likewise;
794         use numeric_limits<>::digit instead of sizeof()*8.
795         * include/parallel/types.h: Likewise.
796         * doc/html/manual/bk01pt12ch31s03.html:
797         Document dependency on stdint.h.
798
799 2009-10-01  Phil Muldoon <pmuldoon@redhat.com>
800
801         * python/libstdcxx/v6/printers.py (StdListPrinter):
802         Add -D_GLIBCXX_DEBUG implementation changes. Receive typename from
803         printer registration.
804         (StdListIteratorPrinter): Likewise.
805         (StdDebugIteratorPrinter): New printer.
806         (build_libstdcxx_dictionary): Add -D_GLIBCXX_DEBUG registration
807         entries.  Always pass a typename where the type can change.
808         (StdSlistPrinter) Receive typename from printer registration.  Use
809         in printer output.
810         (StdBitsetPrinter): Likewise.
811         (StdDequePrinter): Likewise.
812
813 2009-09-29  Paolo Carlini  <paolo.carlini@oracle.com>
814
815         * include/bits/random.tcc: Define static const data members.
816         * include/tr1/random.tcc: Likewise.
817         * testsuite/26_numerics/random/subtract_with_carry_engine/
818         requirements/constants.cc: New.
819         * testsuite/26_numerics/random/mersenne_twister_engine/
820         requirements/constants.cc: Likewise.
821         * testsuite/26_numerics/random/linear_congruential_engine/
822         requirements/constants.cc: Likewise.
823         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
824         constants.cc: Likewise.
825         * testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/
826         requirements/constants.cc: Likewise.
827         * testsuite/tr1/5_numerical_facilities/random/
828         subtract_with_carry_01/requirements/constants.cc: Likewise.
829         * testsuite/tr1/5_numerical_facilities/random/discard_block/
830         requirements/constants.cc: Likewise.
831         * testsuite/tr1/5_numerical_facilities/random/linear_congruential/
832         requirements/constants.cc: Likewise.
833         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
834         requirements/constants.cc: Likewise.
835         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
836         requirements/constants.cc: Likewise.
837
838 2009-09-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
839
840         PR libstdc++/38923
841         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid 'head',
842         use sed script portable to Solaris /bin/sed for extracting ld
843         version.
844         * configure: Regenerate.
845
846 2009-09-28  Benjamin Kosnik  <bkoz@redhat.com>
847
848         * libsupc++/eh_terminate.cc: Fixes for -fno-exceptions.
849         * libsupc++/vec.cc: Same.
850         * libsupc++/vterminate.cc: Same.
851         * libsupc++/new_opnt.cc: Same.
852
853 2009-09-28  Johannes Singler  <singler@ira.uka.de>
854
855         * include/parallel/for_each_selectors.h:  Remove obsolete comment.
856
857 2009-09-26  Paolo Carlini  <paolo.carlini@oracle.com>
858
859         * doc/html/ext/lwg-active.html: Update to Revision R66.
860         * doc/html/ext/lwg-closed.html: Likewise.
861         * doc/html/ext/lwg-defects: Likewise.
862
863         * doc/xml/manual/intro.xml: Update entry for DR 853.
864
865 2009-09-26  Gerald Pfeifer  <gerald@pfeifer.com>
866
867         * doc/html/ext/lwg-closed.html: Adjust four instances of two URLs
868         according to upstream redirects.
869
870 2009-09-25  Johannes Singler  <singler@ira.uka.de>
871
872         * include/parallel/include/parallel/checkers.h
873         (is_sorted_failure, is_sorted_print_failures):  Remove (unused).
874         (__is_sorted):  Remove default parameter for _Compare; remove
875         inappropriate printf.
876
877 2009-09-25  Johannes Singler  <singler@ira.uka.de>
878
879         * include/parallel/base.h:  Comment on presence of min/max duplicates.
880
881 2009-09-25  Johannes Singler  <singler@ira.uka.de>
882
883         * include/parallel/partition.h (__parallel_nth_element):
884         Correct comment.
885
886 2009-09-24  Johannes Singler  <singler@ira.uka.de>
887
888         * include/parallel/algo.h: Uglify internal identifiers;
889         correct line breaks.
890         * include/parallel/for_each.h: Likewise.
891         * include/parallel/numeric: Likewise.
892         * include/parallel/omp_loop.h: Likewise.
893         * include/parallel/omp_loop_static.h: Likewise.
894         * include/parallel/par_loop.h: Likewise.
895         * include/parallel/workstealing.h: Likewise.
896
897 2009-09-24  Johannes Singler  <singler@ira.uka.de>
898
899         * include/parallel/base.h (_EqualFromLess):  Move _Compare template
900         parameter to the end as of others.
901         * include/parallel/algobase.h
902         (__lexicographical_compare_switch): Likewise.
903
904 2009-09-23  Johannes Singler  <singler@ira.uka.de>
905
906         * include/parallel/algobase.h: Uglify internal identifiers;
907         correct line breaks.
908         * include/parallel/algo.h: Likewise.
909         * include/parallel/base.h: Likewise.
910         * include/parallel/equally_split.h: Likewise.
911         * include/parallel/find.h: Likewise.
912         * include/parallel/find_selectors.h: Likewise.
913         * include/parallel/for_each_selectors.h: Likewise.
914         * include/parallel/list_partition.h: Likewise.
915         * include/parallel/losertree.h: Likewise.
916         * include/parallel/merge.h: Likewise.
917         * include/parallel/multiseq_selection.h: Likewise.
918         * include/parallel/multiway_merge.h: Likewise.
919         * include/parallel/multiway_mergesort.h: Likewise.
920         * include/parallel/numeric: Likewise.
921         * include/parallel/numericfwd.h: Likewise.
922         * include/parallel/omp_loop.h: Likewise.
923         * include/parallel/omp_loop_static.h: Likewise.
924         * include/parallel/par_loop.h: Likewise.
925         * include/parallel/partition.h: Likewise.
926         * include/parallel/random_shuffle.h: Likewise.
927         * include/parallel/search.h: Likewise.
928         * include/parallel/sort.h: Likewise.
929         * include/parallel/workstealing.h: Likewise.
930
931 2009-09-21  Gerald Pfeifer  <gerald@pfeifer.com>
932
933         * doc/xml/manual/appendix_contributing.xml: Adjust link to
934         coreutils.
935
936 2009-09-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
937
938         * python/hook.in: Fix prefix trailing slash on 64bit host arches.
939
940 2009-09-17  Joseph Myers  <joseph@codesourcery.com>
941
942         * testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New.
943         * testsuite/lib/dg-options.exp (dg-require-binary-io): New.
944         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc,
945         testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc,
946         testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc,
947         testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc,
948         testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc,
949         testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc,
950         testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc,
951         testsuite/27_io/basic_istream/readsome/char/6746-2.cc,
952         testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc,
953         testsuite/27_io/objects/char/10.cc: Use dg-require-binary-io.
954
955 2009-09-17  Joseph Myers  <joseph@codesourcery.com>
956
957         * include/ext/vstring.h (to_wstring(long long),
958         to_wstring(unsigned long long), to_wstring(long double)): Disable
959         for _GLIBCXX_HAVE_BROKEN_VSWPRINTF.
960
961 2009-09-17  Johannes Singler  <singler@ira.uka.de>
962
963         * include/parallel/algobase.h: Replace tabs by spaces;
964         correct line breaks.
965         * include/parallel/algorithmfwd.h: Likewise.
966         * include/parallel/balanced_quicksort.h: Likewise.
967         * include/parallel/base.h: Likewise.
968         * include/parallel/checkers.h: Likewise.
969         * include/parallel/compatibility.h: Likewise.
970         * include/parallel/equally_split.h: Likewise.
971         * include/parallel/find.h: Likewise.
972         * include/parallel/for_each.h: Likewise.
973         * include/parallel/for_each_selectors.h: Likewise.
974         * include/parallel/iterator.h: Likewise.
975         * include/parallel/list_partition.h: Likewise.
976         * include/parallel/losertree.h: Likewise.
977         * include/parallel/merge.h: Likewise.
978         * include/parallel/multiseq_selection.h: Likewise.
979         * include/parallel/multiway_merge.h: Likewise.
980         * include/parallel/multiway_mergesort.h: Likewise.
981         * include/parallel/numeric: Likewise.
982         * include/parallel/numericfwd.h: Likewise.
983         * include/parallel/omp_loop.h: Likewise.
984         * include/parallel/omp_loop_static.h: Likewise.
985         * include/parallel/par_loop.h: Likewise.
986         * include/parallel/partial_sum.h: Likewise.
987         * include/parallel/partition.h: Likewise.
988         * include/parallel/queue.h: Likewise.
989         * include/parallel/quicksort.h: Likewise.
990         * include/parallel/random_number.h: Likewise.
991         * include/parallel/random_shuffle.h: Likewise.
992         * include/parallel/search.h: Likewise.
993         * include/parallel/set_operations.h: Likewise.
994         * include/parallel/settings.h: Likewise.
995         * include/parallel/sort.h: Likewise.
996         * include/parallel/types.h: Likewise.
997         * include/parallel/unique_copy.h: Likewise.
998         * include/parallel/workstealing.h: Likewise.
999         * include/parallel/algo.h: Likewise;
1000         shorten _ForwardIterator to _FIterator.
1001         * include/parallel/find_selectors.h: Likewise.
1002
1003 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1004
1005         * include/parallel/base.h: Correct some comments accidentally changed
1006         during uglification.
1007         * include/parallel/find.h: Likewise.
1008         * include/parallel/find_selectors.h: Likewise.
1009         * include/parallel/multiway_merge.h: Likewise.
1010         * include/parallel/multiway_mergesort.h: Likewise.
1011         * include/parallel/partial_sum.h: Likewise.
1012         * include/parallel/partition.h: Likewise.
1013         * include/parallel/queue.h: Likewise.
1014         * include/parallel/random_shuffle.h: Likewise.
1015         * include/parallel/settings.h: Likewise.
1016         * include/parallel/sort.h: Likewise.
1017         * include/parallel/tags.h: Likewise.
1018         * include/parallel/workstealing.h: Likewise.
1019
1020 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1021
1022         * include/parallel/base.h (_EqualFromLess):
1023         Correct uglification of member variables and method arguments.
1024         * include/parallel/balanced_quicksort.h (_QSBThreadLocal): Likewise.
1025         * include/parallel/find_selectors.h (__find_first_of_selector):
1026         Likewise.
1027         * include/parallel/iterator.h (_IteratorTriple): Likewise.
1028         * include/parallel/multiseq_selection.h
1029         (_Lexicographic, _LexicographicReverse): Likewise.
1030         * include/parallel/multiway_mergesort.h (_Piece, _PMWMSSortingData):
1031         Likewise.
1032         * include/parallel/random_number.h (_RandomNumber): Likewise.
1033         * include/parallel/random_shuffle.h (_DRandomShufflingGlobalData):
1034         Likewise.
1035         * include/parallel/set_operations.h (__symmetric_difference_func,
1036         __difference_func, __intersection_func, __union_func,
1037         parallel_set_union, parallel_set_intersection, parallel_set_difference,
1038         parallel_set_symmetric_difference): Likewise.
1039         * include/parallel/tags.h (parallel_tag): Likewise.
1040         * include/parallel/workstealing.h (_Job): Likewise.
1041         * include/parallel/multiway_merge.h
1042         (__multiway_merge_k_variant_sentinel_switch:operator())
1043         correct uglification of _*LoserTree*.
1044         * include/parallel/losertree.h (_*LoserTree*): Likewise; correct
1045         uglification of member variables and method arguments.
1046         * include/parallel/par_loop.h: Correct uglification of finish_iterator.
1047         * include/parallel/for_each_selectors.h: Likewise.
1048         * include/parallel/omp_loop.h: Likewise.
1049         * include/parallel/algo.h: Likewise; uglify c_rand_number.
1050
1051 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1052
1053         * include/parallel/base.h (_PseudoSequenceIterator, _PseudoSequence):
1054         Replace redundant _Self.
1055         * include/parallel/iterator.h (_IteratorPair, _IteratorTriple):
1056         Replace redundant _Self.
1057         * include/parallel/algo.h: Correct accidental _Self in comments.
1058         * include/parallel/losertree.h: Likewise.
1059         * include/parallel/multiway_merge.h: Likewise.
1060         * include/parallel/random_shuffle.h: Likewise.
1061
1062 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1063
1064         * include/parallel/algobase.h: Uglify internal identifiers.
1065         * include/parallel/algo.h: Likewise.
1066         * include/parallel/algorithm: Likewise.
1067         * include/parallel/algorithmfwd.h: Likewise.
1068         * include/parallel/balanced_quicksort.h: Likewise.
1069         * include/parallel/base.h: Likewise.
1070         * include/parallel/basic_iterator.h: Likewise.
1071         * include/parallel/checkers.h: Likewise.
1072         * include/parallel/compatibility.h: Likewise.
1073         * include/parallel/compiletime_settings.: Likewise.
1074         * include/parallel/equally_split.h: Likewise.
1075         * include/parallel/features.h: Likewise.
1076         * include/parallel/find.h: Likewise.
1077         * include/parallel/find_selectors.h: Likewise.
1078         * include/parallel/for_each.h: Likewise.
1079         * include/parallel/for_each_selectors.h: Likewise.
1080         * include/parallel/iterator.h: Likewise.
1081         * include/parallel/list_partition.h: Likewise.
1082         * include/parallel/losertree.h: Likewise.
1083         * include/parallel/merge.h: Likewise.
1084         * include/parallel/multiseq_selection.h: Likewise.
1085         * include/parallel/multiway_merge.h: Likewise.
1086         * include/parallel/multiway_mergesort.h: Likewise.
1087         * include/parallel/numeric: Likewise.
1088         * include/parallel/numericfwd.h: Likewise.
1089         * include/parallel/omp_loop.h: Likewise.
1090         * include/parallel/omp_loop_static.h: Likewise.
1091         * include/parallel/parallel.h: Likewise.
1092         * include/parallel/par_loop.h: Likewise.
1093         * include/parallel/partial_sum.h: Likewise.
1094         * include/parallel/partition.h: Likewise.
1095         * include/parallel/queue.h: Likewise.
1096         * include/parallel/quicksort.h: Likewise.
1097         * include/parallel/random_number.h: Likewise.
1098         * include/parallel/random_shuffle.h: Likewise.
1099         * include/parallel/search.h: Likewise.
1100         * include/parallel/set_operations.h: Likewise.
1101         * include/parallel/settings.h: Likewise.
1102         * include/parallel/sort.h: Likewise.
1103         * include/parallel/tags.h: Likewise.
1104         * include/parallel/types.h: Likewise.
1105         * include/parallel/unique_copy.h: Likewise.
1106         * include/parallel/workstealing.h: Likewise.
1107
1108 2009-09-14  Paolo Carlini  <paolo.carlini@oracle.com>
1109
1110         PR libstdc++/41037
1111         * src/ios_init.cc (ios_base::Init::Init): Properly initialize cerr
1112         and wcerr flags.
1113         * testsuite/27_io/objects/char/41037.cc: New.
1114         * testsuite/27_io/objects/wchar_t/41037.cc: Likewise.
1115
1116 2009-09-14  Andrew Stubbs  <ams@codesourcery.com>
1117
1118         * config/cpu/sh/atomicity.h (__exchange_and_add): Set earlyclobber
1119         constraint.
1120
1121 2009-09-11  Johannes Singler  <singler@ira.uka.de>
1122
1123         * include/parallel/multiway_merge.h
1124         (multiway_merge_exact_splitting): Deallocate borders correctly.
1125         (parallel_multiway_merge): Remove unnecessarily complicated
1126         allocation, random access iterators are default-constructible;
1127         deallocate ne_seqs correctly.
1128
1129 2009-09-11  Paolo Carlini  <paolo.carlini@oracle.com>
1130
1131         PR libstdc++/41316
1132         * include/bits/forward_list.h (_Fwd_list_node_base<>::_M_sort_after):
1133         Remove.
1134         (forward_list<>::sort(_Comp)): Only declare.
1135         (forward_list<>::sort()): Forward to the latter.
1136         * include/bits/forward_list.tcc (_Fwd_list_node_base<>::_M_sort_after):
1137         Remove definition.
1138         (forward_list<>::sort(_Comp)): Define.
1139         * testsuite/23_containers/forward_list/requirements/dr438/
1140         assign_neg.cc: Adjust dg-error line number.
1141         * testsuite/23_containers/forward_list/requirements/dr438/
1142         insert_neg.cc: Likewise.
1143         * testsuite/23_containers/forward_list/requirements/dr438/
1144         constructor_1_neg.cc: Likewise.
1145         * testsuite/23_containers/forward_list/requirements/dr438/
1146         constructor_2_neg.cc: Likewise.
1147
1148 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1149
1150         * src/Makefile.am (libstdc___la_LINK): New.
1151         * src/Makefile.in: Regenerate.
1152
1153 2009-09-09  Loren J. Rittle  <ljrittle@acm.org>
1154
1155         * testsuite/30_threads/thread/native_handle/typesizes.cc: Remove
1156         *-*-freebsd* from both dg-do and dg-options.
1157
1158 2009-09-08  Alexandre Oliva  <aoliva@redhat.com>
1159
1160         * configure: Rebuilt with modified libtool.m4.
1161
1162 2009-09-07  H.J. Lu  <hongjiu.lu@intel.com>
1163             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1164
1165         PR libstdc++/41280
1166         * configure.ac: Run "${multi_basedir}/config-ml.in" to generate
1167         MULTISUBDIR = in subdirectory Makefiles, with ml_norecursion set.
1168         * configure: Regenerate.
1169
1170 2009-09-06  Paolo Carlini  <paolo.carlini@oracle.com>
1171
1172         PR libstdc++/41267
1173         * include/bits/stl_algobase.h (__copy_move::__copy_m,
1174         __copy_move_backward::__copy_move_b): Don't call __builtin_memmove
1175         with a null third argument.
1176
1177 2009-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1178
1179         Revert.
1180         2009-08-06  Benjamin Kosnik  <bkoz@redhat.com>
1181         * src/compatibility.cc: Make C++0x safe, add in explicit casts to
1182         bool for stream sentry objects.
1183         * include/bits/istream.tcc: Same.
1184         * include/bits/ostream.tcc: Same.
1185         * include/bits/basic_string.tcc: Same.
1186         * include/bits/ostream_insert.h: Same.
1187         * src/istream.cc: Same.
1188
1189 2009-09-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1190
1191         * configure.ac: Replace AC_CONFIG_COMMANDS([default])
1192         instantiation with additional commands issued for each Makefile
1193         in glibcxx_SUBDIRS, so `./config.status subdir/Makefile' also
1194         runs these commands.
1195         Add a separate AC_CONFIG_COMMANDS([generate-headers]) for
1196         running `make' in include, passing `pch_build=' to `make'.
1197         * configure: Regenerate.
1198
1199         PR libstdc++/41220
1200         * include/Makefile.am (CLEANFILES): Add stamp-host.
1201         * include/Makefile.in: Regenerate.
1202
1203 2009-09-02  Joseph Myers  <joseph@codesourcery.com>
1204
1205         * testsuite/lib/libstdc++.exp (libstdc++_init): Copy .tcc files
1206         under util/ to remote host.  Copy .h and .hpp files at more levels
1207         under util/ to remote host.
1208
1209 2009-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
1210
1211         * include/bits/stl_uninitialized.h
1212         (__uninitialized_copy::uninitialized_copy): Just call (the now
1213         forwarding) _Construct.
1214
1215 2009-09-01  Chris Jefferson  <chris@bubblescope.net>
1216             Paolo Carlini  <paolo.carlini@oracle.com>
1217
1218         * testsuite/util/testsuite_rvalref.h: Remove obsolete macro using
1219         _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING.
1220         * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
1221         move_iterators/1.cc: Adjust, do not define
1222         _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING.
1223         * testsuite/20_util/specialized_algorithms/uninitialized_copy/
1224         move_iterators/1.cc: Likewise.
1225         * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
1226         * testsuite/25_algorithms/move/1.cc: Likewise.
1227         * testsuite/25_algorithms/move_backward/1.cc: Likewise.
1228         * testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise.
1229         * testsuite/25_algorithms/copy/move_iterators/1.cc: Likewise.
1230         * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1231         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewise; add
1232         test for predicated test.
1233         * testsuite/25_algorithms/sort/moveable.cc: Likewise.
1234         * testsuite/25_algorithms/nth_element/moveable.cc: Add test
1235         for predicated version.
1236         * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1237
1238         * testsuite/25_algorithms/inplace_merge/1.cc (S::operator<): Fix,
1239         enable test2 and test3.
1240
1241         * testsuite/util/testsuite_iterators.h (operator=): Fix invalid
1242         moving bug in C++0x mode.
1243
1244         * testsuite/25_algorithms/random_shuffle/moveable.cc: New.
1245         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1246         * testsuite/25_algorithms/next_permutation/moveable.cc: Likewise.
1247         * testsuite/25_algorithms/heap/moveable2.cc: Likewise.
1248
1249 2009-08-31  Uros Bizjak  <ubizjak@gmail.com>
1250             Kaz Kojima  <kkojima@gcc.gnu.org>
1251
1252         * testsuite/18_support/numeric_limits/denorm_min.cc: Use
1253         dg-add-options ieee.
1254         * testsuite/18_support/numeric_limits/digits10.cc: Likewise.
1255         * testsuite/18_support/numeric_limits/epsilon.cc: Likewise.
1256         * testsuite/18_support/numeric_limits/infinity.cc: Likewise.
1257         * testsuite/18_support/numeric_limits/is_iec559.cc: Likewise.
1258         * testsuite/18_support/numeric_limits/is_signed.cc: Likewise.
1259         * testsuite/18_support/numeric_limits/min_max.cc: Likewise.
1260         * testsuite/18_support/numeric_limits/quiet_NaN.cc: Likewise.
1261         * testsuite/18_support/numeric_limits/
1262         specialization_default_values.cc: Likewise.
1263         * testsuite/18_support/numeric_limits/traps.cc: Likewise.
1264         * testsuite/26_numerics/complex/pow.cc: Likewise.
1265         * testsuite/tr1/5_numerical_facilities/special_functions/
1266         01_assoc_laguerre/check_nan.cc: Likewise.
1267         * testsuite/tr1/5_numerical_facilities/special_functions/
1268         02_assoc_legendre/check_nan.cc: Likewise.
1269         * testsuite/tr1/5_numerical_facilities/special_functions/
1270         03_beta/check_nan.cc: Likewise.
1271         * testsuite/tr1/5_numerical_facilities/special_functions/
1272         04_comp_ellint_1/check_nan.cc: Likewise.
1273         * testsuite/tr1/5_numerical_facilities/special_functions/
1274         05_comp_ellint_2/check_nan.cc: Likewise.
1275         * testsuite/tr1/5_numerical_facilities/special_functions/
1276         06_comp_ellint_3/check_nan.cc: Likewise.
1277         * testsuite/tr1/5_numerical_facilities/special_functions/
1278         07_conf_hyperg/check_nan.cc: Likewise.
1279         * testsuite/tr1/5_numerical_facilities/special_functions/
1280         08_cyl_bessel_i/check_nan.cc: Likewise.
1281         * testsuite/tr1/5_numerical_facilities/special_functions/
1282         09_cyl_bessel_j/check_nan.cc: Likewise.
1283         * testsuite/tr1/5_numerical_facilities/special_functions/
1284         10_cyl_bessel_k/check_nan.cc: Likewise.
1285         * testsuite/tr1/5_numerical_facilities/special_functions/
1286         11_cyl_neumann/check_nan.cc: Likewise.
1287         * testsuite/tr1/5_numerical_facilities/special_functions/
1288         12_ellint_1/check_nan.cc: Likewise.
1289         * testsuite/tr1/5_numerical_facilities/special_functions/
1290         13_ellint_2/check_nan.cc: Likewise.
1291         * testsuite/tr1/5_numerical_facilities/special_functions/
1292         14_ellint_3/check_nan.cc: Likewise.
1293         * testsuite/tr1/5_numerical_facilities/special_functions/
1294         15_expint/check_nan.cc: Likewise.
1295         * testsuite/tr1/5_numerical_facilities/special_functions/
1296         16_hermite/check_nan.cc: Likewise.
1297         * testsuite/tr1/5_numerical_facilities/special_functions/
1298         17_hyperg/check_nan.cc: Likewise.
1299         * testsuite/tr1/5_numerical_facilities/special_functions/
1300         18_laguerre/check_nan.cc: Likewise.
1301         * testsuite/tr1/5_numerical_facilities/special_functions/
1302         19_legendre/check_nan.cc: Likewise.
1303         * testsuite/tr1/5_numerical_facilities/special_functions/
1304         20_riemann_zeta/check_nan.cc: Likewise.
1305         * testsuite/tr1/5_numerical_facilities/special_functions/
1306         21_sph_bessel/check_nan.cc: Likewise.
1307         * testsuite/tr1/5_numerical_facilities/special_functions/
1308         22_sph_legendre/check_nan.cc: Likewise.
1309         * testsuite/tr1/5_numerical_facilities/special_functions/
1310         23_sph_neumann/check_nan.cc: Likewise.
1311
1312 2009-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
1313
1314         * include/bits/stl_construct.h: Include <bits/move.h>.
1315
1316 2009-08-29  Chris Jefferson  <chris@bubblescope.net>
1317
1318         * include/bits/move.h (_GLIBCXX_FORWARD): Add.
1319         * include/bits/stl_uninitialized.h (__uninitialized_construct_range):
1320         Add.
1321         * include/bits/stl_tempbuf.h (_Temporary_buffer::
1322         _Temporary_buffer(_ForwardIterator, _ForwardIterator)): Use the latter.
1323         * include/bits/stl_construct.h (_Construct(_T1*, _T2&&)): Add in
1324         C++0x mode.
1325         * testsuite/util/testsuite_hooks.h (operator<(const copy_tracker&,
1326         const copy_tracker&)): Add.
1327         * testsuite/25_algorithms/stable_partition/mem_check.cc: New.
1328         * testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
1329
1330 2009-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1331
1332         * config/abi/pre/gnu.ver: Fixups for string member functions.
1333
1334 2009-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
1335
1336         PR libstdc++/41005
1337         * configure.ac: Bump libtool_VERSION to 6:14:0.
1338         * configure: Regenerate.
1339         * src/Makefile.am: Compile fstream-inst.cc as C++0x.
1340         * src/Makefile.in: Regenerate.
1341         * config/abi/pre/gnu.ver: Add new symbols and disambiguate old ones,
1342         move <future> symbols to 3.4.14 version.
1343         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.14 version.
1344
1345 2009-08-25  Benjamin Kosnik  <bkoz@redhat.com>
1346
1347         * include/bits/basic_string.h (basic_string): Add cbegin(),
1348         cend(), crbegin(), crend() in C++0x mode.
1349         * config/abi/pre/gnu.ver: Add exports.
1350
1351         * testsuite/util/testsuite_containers.h: New.
1352         * testsuite/util/testsuite_container_traits.h: New.
1353         * testsuite/21_strings/basic_string/requirements/citerators.cc: New.
1354         * testsuite/21_strings/basic_string/requirements/typedefs.cc: New.
1355         * testsuite/ext/vstring/requirements/citerators.cc: Edit.
1356         * testsuite/ext/vstring/requirements/typedefs.cc: New.
1357         * testsuite/23_containers/unordered_map/requirements/
1358         cliterators.cc: Edit.
1359         * testsuite/23_containers/unordered_map/requirements/
1360         citerators.cc: Edit.
1361         * testsuite/23_containers/unordered_map/requirements/
1362         explicit_instantiation/1.cc: New.
1363         * testsuite/23_containers/unordered_map/requirements/
1364         explicit_instantiation/2.cc: New.
1365         * testsuite/23_containers/unordered_map/requirements/
1366         explicit_instantiation/3.cc: New.
1367         * testsuite/23_containers/unordered_map/requirements/typedefs.cc: Edit.
1368         * testsuite/23_containers/unordered_map/requirements/
1369         explicit_instantiation.cc: Move to nested directory.
1370         * testsuite/23_containers/queue/requirements/typedefs.cc: New.
1371         * testsuite/23_containers/priority_queue/requirements/typedefs.cc: New.
1372         * testsuite/23_containers/multimap/requirements/citerators.cc: Edit.
1373         * testsuite/23_containers/multimap/requirements/typedefs.cc: New.
1374         * testsuite/23_containers/set/requirements/citerators.cc: Edit.
1375         * testsuite/23_containers/set/requirements/typedefs.cc: New.
1376         * testsuite/23_containers/unordered_multimap/requirements/
1377         cliterators.cc: Edit.
1378         * testsuite/23_containers/unordered_multimap/requirements/
1379         citerators.cc: Edit.
1380         * testsuite/23_containers/unordered_multimap/requirements/
1381         explicit_instantiation/1.cc: New.
1382         * testsuite/23_containers/unordered_multimap/requirements/
1383         explicit_instantiation/2.cc: Edit.: New.
1384         * testsuite/23_containers/unordered_multimap/requirements/
1385         explicit_instantiation/3.cc: New.
1386         * testsuite/23_containers/unordered_multimap/requirements/
1387         typedefs.cc: Edit.
1388         * testsuite/23_containers/unordered_multimap/requirements/
1389         explicit_instantiation.cc: Move to nested.
1390         * testsuite/23_containers/forward_list/requirements/citerators.cc: New.
1391         * testsuite/23_containers/forward_list/requirements/1.cc: Remove.
1392         * testsuite/23_containers/forward_list/requirements/dr438/
1393         insert_neg.cc: New.
1394         * testsuite/23_containers/forward_list/requirements/dr438/
1395         assign_neg.cc: New.
1396         * testsuite/23_containers/forward_list/requirements/dr438/
1397         constructor_1_neg.cc: New.
1398         * testsuite/23_containers/forward_list/requirements/dr438/
1399         constructor_2_neg.cc: New.
1400         * testsuite/23_containers/forward_list/requirements/dr438/
1401         constructor.cc: New.
1402         * testsuite/23_containers/forward_list/requirements/typedefs.cc: New.
1403         * testsuite/23_containers/unordered_set/requirements/
1404         cliterators.cc: Edit.
1405         * testsuite/23_containers/unordered_set/requirements/
1406         citerators.cc: Edit.
1407         * testsuite/23_containers/unordered_set/requirements/
1408         explicit_instantiation/1.cc: New.
1409         * testsuite/23_containers/unordered_set/requirements/
1410         explicit_instantiation/2.cc: New.
1411         * testsuite/23_containers/unordered_set/requirements/
1412         explicit_instantiation/3.cc: New.
1413         * testsuite/23_containers/unordered_set/requirements/typedefs.cc: Edit.
1414         * testsuite/23_containers/unordered_set/requirements/
1415         explicit_instantiation.cc: Move to nested.
1416         * testsuite/23_containers/vector/requirements/citerators.cc: Edit.
1417         * testsuite/23_containers/vector/requirements/dr438/bool/
1418         constructor.cc: Move.
1419         * testsuite/23_containers/vector/requirements/typedefs.cc: New.
1420         * testsuite/23_containers/vector/bool/requirements/citerators.cc: Edit.
1421         * testsuite/23_containers/vector/bool/requirements/dr438/
1422         constructor.cc: New.
1423         * testsuite/23_containers/deque/requirements/citerators.cc: Edit.
1424         * testsuite/23_containers/deque/requirements/typedefs.cc
1425         * testsuite/23_containers/stack/requirements/typedefs.cc
1426         * testsuite/23_containers/multiset/requirements/citerators.cc: Edit.
1427         * testsuite/23_containers/multiset/requirements/typedefs.cc: New.
1428         * testsuite/23_containers/list/requirements/citerators.cc: Edit.
1429         * testsuite/23_containers/list/requirements/typedefs.cc: New.
1430         * testsuite/23_containers/unordered_multiset/requirements/
1431         cliterators.cc: Edit.
1432         * testsuite/23_containers/unordered_multiset/requirements/
1433         citerators.cc: Edit.
1434         * testsuite/23_containers/unordered_multiset/requirements/
1435         explicit_instantiation.cc: Move.
1436         * testsuite/23_containers/unordered_multiset/requirements/
1437         explicit_instantiation/1.cc: New.
1438         * testsuite/23_containers/unordered_multiset/requirements/
1439         explicit_instantiation/2.cc: New.
1440         * testsuite/23_containers/unordered_multiset/requirements/
1441         explicit_instantiation/3.cc: New.
1442         * testsuite/23_containers/unordered_multiset/requirements/typedefs.cc
1443         * testsuite/23_containers/map/requirements/citerators.cc: Edit.
1444         * testsuite/23_containers/map/requirements/typedefs.cc: New.
1445         * testsuite/23_containers/array/requirements/citerators.cc: Edit.
1446         * testsuite/23_containers/array/requirements/explicit_instantiation.cc:
1447         Move.
1448         * testsuite/23_containers/array/requirements/
1449         explicit_instantiation/1.cc: New.
1450         * testsuite/23_containers/array/requirements/
1451         explicit_instantiation/2.cc: New.
1452         * testsuite/23_containers/array/requirements/typedefs.cc: New.
1453
1454 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1455
1456         * configure.ac (AC_PREREQ): Bump to 2.64.
1457
1458 2009-08-24  Chris Jefferson  <chris@bubblescope.net>
1459
1460         * include/stl_algo.h (__unguarded_partition_pivot,
1461         __move_median_first): New.
1462         (__insertion_sort, __unguarded_insertion_sort): Adjust for move-only
1463         types.
1464         (__unguarded_linear_insert): Assume always inserting value at __last.
1465         (__unguarded_partition): Take pivot by reference.
1466         (__introsort_loop, __introselect): Use __unguarded_partition_pivot.
1467         * testsuite/25_algorithms/nth_element/moveable.cc: Enable.
1468
1469 2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1470
1471         * libsupc++/Makefile.am (LTCOMPILE): Expand $(LIBTOOLFLAGS)
1472         before --mode argument.
1473         * libsupc++/Makefile.in: Regenerate.
1474
1475 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1476
1477         * doc/xml/manual/build_hacking.xml: Use tools from Autoconf
1478         2.64 and Automake 1.11 in examples; update link to Autoconf
1479         manual page about quadrigraphs.
1480         * Makefile.am (install-html, install-pdf): Remove.
1481         * Makefile.in: Regenerate.
1482
1483         * Makefile.in: Regenerate.
1484         * acinclude.m4: Regenerate.
1485         * aclocal.m4: Regenerate.
1486         * config.h.in: Regenerate.
1487         * configure: Regenerate.
1488         * doc/Makefile.in: Regenerate.
1489         * include/Makefile.in: Regenerate.
1490         * libsupc++/Makefile.in: Regenerate.
1491         * po/Makefile.in: Regenerate.
1492         * python/Makefile.in: Regenerate.
1493         * src/Makefile.in: Regenerate.
1494         * testsuite/Makefile.in: Regenerate.
1495
1496 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1497
1498         * libsupc++/Makefile.am (LTCOMPILE, LTCXXCOMPILE, CXXLINK): Add
1499         $(LIBTOOLFLAGS).
1500         * libsupc++/Makefile.in: Regenerate.
1501         * src/Makefile.am (LTCXXCOMPILE, CXXLINK): Add $(AM_LIBTOOLFLAGS)
1502         and $(LIBTOOLFLAGS).
1503         * src/Makefile.in: Regenerate.
1504
1505 2009-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
1506
1507         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Add
1508         missing dg-require directives.
1509
1510 2009-08-20  Edward Smith-Rowland  <3dw4rd@verizon.net>
1511
1512         * include/tr1/gamma.tcc: Change include guard from _TR1_GAMMA_TCC
1513         to _GLIBCXX_TR1_GAMMA_TCC to match the rest of the headers in tr1.
1514         * include/tr1/exp_integral.tcc: Replace _TR1_GAMMA_TCC with
1515         __numeric_constants<_Tp>::__gamma_e().
1516
1517 2009-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1518
1519         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: New.
1520
1521 2009-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1522
1523         * configure.ac: Move guarded checks for CC and CXX ...
1524         * acinclude.m4 (GLIBCXX_CONFIGURE): ... from here.
1525         * configure: Regenerate.
1526
1527 2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
1528             Paolo Carlini  <paolo.carlini@oracle.com>
1529
1530         PR libstdc++/41061
1531         * include/bits/random.h (operator<<(std::basic_ostream<>&,
1532         const std::lognormal_distribution<>&),
1533         operator>>(std::basic_istream<>&, std::lognormal_distribution<>&),
1534         operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&),
1535         operator>>(std::basic_istream<>&, std::gamma_distribution<>&),
1536         operator<<(std::basic_ostream<>&,
1537         const std::chi_squared_distribution<>&),
1538         operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&),
1539         operator<<(std::basic_ostream<>&,
1540         const std::fisher_f_distribution<>&),
1541         operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&),
1542         operator<<(std::basic_ostream<>&,
1543         const std::student_t_distribution<>&),
1544         operator>>(std::basic_istream<>&, std::student_t_distribution<>&),
1545         operator<<(std::basic_ostream<>&,
1546         const std::negative_binomial_distribution<>&)): Declare friend.
1547         * testsuite/26_numerics/random/uniform_real_distribution/operators/
1548         serialize.cc: New.
1549         * testsuite/26_numerics/random/piecewise_constant_distribution/
1550         operators/serialize.cc: Likewise.
1551         * testsuite/26_numerics/random/chi_squared_distribution/operators/
1552         serialize.cc: Likewise.
1553         * testsuite/26_numerics/random/normal_distribution/operators/
1554         serialize.cc: Likewise.
1555         * testsuite/26_numerics/random/uniform_int_distribution/operators/
1556         serialize.cc: Likewise.
1557         * testsuite/26_numerics/random/poisson_distribution/operators/
1558         serialize.cc: Likewise.
1559         * testsuite/26_numerics/random/bernoulli_distribution/operators/
1560         serialize.cc: Likewise.
1561         * testsuite/26_numerics/random/discrete_distribution/operators/
1562         serialize.cc: Likewise.
1563         * testsuite/26_numerics/random/weibull_distribution/operators/
1564         serialize.cc: Likewise.
1565         * testsuite/26_numerics/random/negative_binomial_distribution/
1566         operators/serialize.cc: Likewise.
1567         * testsuite/26_numerics/random/cauchy_distribution/operators/
1568         serialize.cc: Likewise.
1569         * testsuite/26_numerics/random/gamma_distribution/operators/
1570         serialize.cc: Likewise.
1571         * testsuite/26_numerics/random/fisher_f_distribution/operators/
1572         serialize.cc: Likewise.
1573         * testsuite/26_numerics/random/exponential_distribution/operators/
1574         serialize.cc: Likewise.
1575         * testsuite/26_numerics/random/lognormal_distribution/operators/
1576         serialize.cc: Likewise.
1577         * testsuite/26_numerics/random/binomial_distribution/operators/
1578         serialize.cc: Likewise.
1579         * testsuite/26_numerics/random/extreme_value_distribution/operators/
1580         serialize.cc: Likewise.
1581         * testsuite/26_numerics/random/piecewise_linear_distribution/
1582         operators/serialize.cc
1583         * testsuite/26_numerics/random/student_t_distribution/operators/
1584         serialize.cc: Likewise.
1585         * testsuite/26_numerics/random/geometric_distribution/operators/
1586         serialize.cc: Likewise.
1587
1588 2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
1589
1590         * include/bits/stl_tree.h: In C++0x mode make erase return
1591         an iterator as per DR 130.
1592         * include/bits/stl_set.h: Same.
1593         * include/bits/stl_multiset.h: Same.
1594         * include/bits/stl_map.h: Same.
1595         * include/bits/stl_multimap.h: Same.
1596         * doc/xml/manual/intro.xml: Document.
1597         * testsuite/23_containers/set/dr130.cc: New.
1598         * testsuite/23_containers/multiset/dr130.cc: New.
1599         * testsuite/23_containers/map/dr130.cc: New.
1600         * testsuite/23_containers/multimap/dr130.cc: New.
1601
1602 2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1603
1604         * include/ext/pointer.h: Add pragma system_header, use
1605         _GLIBCXX_USE_LONG_LONG, macro cleanup.
1606
1607 2009-08-14  Uros Bizjak  <ubizjak@gmail.com>
1608
1609         * src/compatibility-ldbl.cc: Include cmath.
1610
1611 2009-08-13  Benjamin Kosnik  <bkoz@redhat.com>
1612
1613         * src/compatibility-ldbl.cc: Include tr1/functional.
1614
1615 2009-08-12  Benjamin Kosnik  <bkoz@redhat.com>
1616
1617         * src/compatibility-ldbl.cc: Add explicit namespace scope.
1618
1619 2009-08-11  Benjamin Kosnik  <bkoz@redhat.com>
1620
1621         * include/precompiled/extc++.h: Don't include TR1 if C++0x.
1622         * include/precompiled/stdc++.h: Don't include cassert if
1623         _GLIBCXX_NO_ASSERT defined.
1624         * include/ext/cast.h (_GLIBCXX_BEGIN_NAMESPACE): Remove extra
1625         semi-colon.
1626         * include/ext/pointer.h (_GCC_CXX_POINTER_COMPARISON_OPERATION_SET):
1627         Same.
1628
1629         * testsuite/17_intro/headers/all.cc: Move into dialect-specific
1630         directory.
1631         * testsuite/17_intro/headers/all_pedantic_errors.cc: Same.
1632         * testsuite/17_intro/headers/all_assert_neg.cc: Same.
1633         * testsuite/17_intro/headers/all_c++200x_compatibility.cc: Same.
1634
1635         * testsuite/17_intro/headers/c++1998/all.cc: Use extc++.h include.
1636         * testsuite/17_intro/headers/c++1998/stdc++.cc: Converted all.cc,
1637         use stdc++.h include.
1638         * testsuite/17_intro/headers/c++1998/all_pedantic_errors.cc: Same.
1639         * testsuite/17_intro/headers/c++1998/stdc++_assert_neg.cc: Same.
1640         * testsuite/17_intro/headers/c++1998/all_c++200x_compatibility.cc: Same.
1641         * testsuite/17_intro/headers/c++1998/all_no_exceptions.cc: New.
1642         * testsuite/17_intro/headers/c++1998/all_multiple_inclusion.cc: To...
1643         * testsuite/17_intro/headers/c++1998/stdc++_multiple_inclusion.cc
1644         ...this.
1645         * testsuite/17_intro/headers/c++200x/all.cc: To...
1646         * testsuite/17_intro/headers/c++200x/stdc++.cc: ..this.
1647         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: To...
1648         * testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc:
1649         ...this.
1650         * testsuite/17_intro/headers/c++200x/all_no_exceptions.cc: New.
1651         * testsuite/17_intro/headers/c++200x/all_pedantic_errors.cc: New.
1652
1653 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1654
1655         * include/std/future: Move error handling bits outside macro guard.
1656         * src/future.cc: Adjust.
1657
1658         * include/precompiled/stdc++.h: Add future.
1659         * doc/xml/manual/using.xml: Same.
1660
1661 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1662
1663         * src/hashtable.cc: Just definitions.
1664         * src/hashtable_c++0x.cc: Compile C++0x versions.
1665         * src/hash.cc: Same.
1666         * src/hash_c++0x.cc: Same.
1667         src/hash_tr1.cc: Compile TR1 versions.
1668         src/hashtable_tr1.cc: Same.
1669
1670         * src/limits_c++0x.cc: Sync build error handling.
1671
1672         * src/Makefile.am (sources): Change hash.cc to hash_tr1.cc,
1673         hashtable.cc to hashtable_tr1.cc.
1674         * src/Makefile.in: Regenerate.
1675
1676 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1677
1678         * include/tr1_impl/functional: Doxygen markup.
1679
1680         * doc/html/*: Regenerate.
1681
1682 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1683
1684         * include/std/future: Fixes for -fno-exceptions.
1685         * include/bits/functexcept.h: Same.
1686         * libsupc++/exception_ptr.h: Same.
1687         * src/pool_allocator.cc: Same.
1688         * src/future.cc: Same.
1689         * src/functexcept.cc: Same.
1690         * config/abi/pre/gnu.ver: New exports.
1691         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
1692         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same.
1693         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
1694         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
1695         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Same.
1696         * testsuite/30_threads/promise/cons/assign_neg.cc: Same.
1697         * testsuite/30_threads/promise/cons/copy_neg.cc: Same.
1698
1699         * testsuite/23_containers/deque/operators/1.cc: Separate in two...
1700         * testsuite/23_containers/deque/operators/2.cc: New.
1701
1702 2009-08-07  Paolo Carlini  <paolo.carlini@oracle.com>
1703
1704         * src/hash.cc (hash<string>::operator()(string),
1705         hash<wstring>::operator()(wstring)): Do not decorate as throwing
1706         nothing.
1707         * include/bits/functional_hash.h (hash<error_code>::
1708         operator()(error_code)): Likewise.
1709
1710 2009-08-06  Benjamin Kosnik  <bkoz@redhat.com>
1711
1712         * src/compatibility.cc: Make C++0x safe, add in explicit casts to
1713         bool for stream sentry objects.
1714         * include/bits/istream.tcc: Same.
1715         * include/bits/ostream.tcc: Same.
1716         * include/bits/basic_string.tcc: Same.
1717         * include/bits/ostream_insert.h: Same.
1718         * src/istream.cc: Same.
1719
1720 2009-08-04  Paolo Carlini  <paolo.carlini@oracle.com>
1721
1722         PR libstdc++/15523
1723         * include/debug/safe_iterator.h (_Safe_iterator<>::
1724         _Safe_iterator(const _Safe_iterator&), _Safe_iterator<>::
1725         operator=(const _Safe_iterator&)): Implement resolution of DR 408,
1726         do not error out when the source is a value-initialized iterator.
1727         * testsuite/23_containers/vector/15523.cc: New.
1728         * doc/xml/manual/intro.xml: Add an entry for DR 408.
1729
1730 2009-08-03  Paolo Carlini  <paolo.carlini@oracle.com>
1731
1732         * include/std/istream (operator>>(basic_istream<>&&, _Tp&)): Minor
1733         cosmetic changes, inline.
1734         * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&)):
1735         Likewise.
1736         * include/bits/move.h: Minor cosmetic changes.
1737
1738 2009-08-02  Paolo Carlini  <paolo.carlini@oracle.com>
1739
1740         PR libstdc++/40912 (final)
1741         * testsuite/26_numerics/random/mt19937.cc: dg-require-cstdint.
1742         * testsuite/26_numerics/random/uniform_real_distribution/cons/
1743         parms_neg.cc: Likewise.
1744         * testsuite/26_numerics/random/uniform_real_distribution/cons/
1745         parms.cc: Likewise.
1746         * testsuite/26_numerics/random/uniform_real_distribution/cons/
1747         default.cc: Likewise.
1748         * testsuite/26_numerics/random/uniform_real_distribution/
1749         requirements/typedefs.cc: Likewise.
1750         * testsuite/26_numerics/random/piecewise_constant_distribution/
1751         cons/range.cc: Likewise.
1752         * testsuite/26_numerics/random/piecewise_constant_distribution/
1753         cons/default.cc: Likewise.
1754         * testsuite/26_numerics/random/piecewise_constant_distribution/
1755         cons/num_xbound_fun.cc: Likewise.
1756         * testsuite/26_numerics/random/piecewise_constant_distribution/
1757         cons/initlist_fun.cc: Likewise.
1758         * testsuite/26_numerics/random/piecewise_constant_distribution/
1759         requirements/typedefs.cc: Likewise.
1760         * testsuite/26_numerics/random/minstd_rand.cc: Likewise.
1761         * testsuite/26_numerics/random/chi_squared_distribution/cons/
1762         parms.cc: Likewise.
1763         * testsuite/26_numerics/random/chi_squared_distribution/cons/
1764         default.cc: Likewise.
1765         * testsuite/26_numerics/random/chi_squared_distribution/
1766         requirements/typedefs.cc: Likewise.
1767         * testsuite/26_numerics/random/normal_distribution/
1768         cons/parms.cc: Likewise.
1769         * testsuite/26_numerics/random/normal_distribution/
1770         cons/default.cc: Likewise.
1771         * testsuite/26_numerics/random/normal_distribution/
1772         requirements/typedefs.cc: Likewise.
1773         * testsuite/26_numerics/random/seed_seq/cons/
1774         range.cc: Likewise.
1775         * testsuite/26_numerics/random/seed_seq/cons/
1776         initlist.cc: Likewise.
1777         * testsuite/26_numerics/random/seed_seq/cons/
1778         default.cc: Likewise.
1779         * testsuite/26_numerics/random/seed_seq/requirements/
1780         typedefs.cc: Likewise.
1781         * testsuite/26_numerics/random/uniform_int_distribution/
1782         cons/parms_neg.cc: Likewise.
1783         * testsuite/26_numerics/random/uniform_int_distribution/
1784         cons/parms.cc: Likewise.
1785         * testsuite/26_numerics/random/uniform_int_distribution/
1786         cons/default.cc: Likewise.
1787         * testsuite/26_numerics/random/uniform_int_distribution/
1788         requirements/typedefs.cc: Likewise.
1789         * testsuite/26_numerics/random/poisson_distribution/cons/
1790         parms.cc: Likewise.
1791         * testsuite/26_numerics/random/poisson_distribution/cons/
1792         default.cc: Likewise.
1793         * testsuite/26_numerics/random/poisson_distribution/
1794         requirements/typedefs.cc: Likewise.
1795         * testsuite/26_numerics/random/bernoulli_distribution/
1796         cons/parms.cc: Likewise.
1797         * testsuite/26_numerics/random/bernoulli_distribution/
1798         cons/default.cc: Likewise.
1799         * testsuite/26_numerics/random/bernoulli_distribution/
1800         requirements/typedefs.cc: Likewise.
1801         * testsuite/26_numerics/random/ranlux24_base.cc: Likewise.
1802         * testsuite/26_numerics/random/
1803         default_random_engine.cc: Likewise.
1804         * testsuite/26_numerics/random/discrete_distribution/
1805         cons/range.cc: Likewise.
1806         * testsuite/26_numerics/random/discrete_distribution/
1807         cons/initlist.cc: Likewise.
1808         * testsuite/26_numerics/random/discrete_distribution/
1809         cons/default.cc: Likewise.
1810         * testsuite/26_numerics/random/discrete_distribution/
1811         cons/num_xbound_fun.cc: Likewise.
1812         * testsuite/26_numerics/random/discrete_distribution/
1813         requirements/typedefs.cc: Likewise.
1814         * testsuite/26_numerics/random/weibull_distribution/
1815         cons/parms.cc: Likewise.
1816         * testsuite/26_numerics/random/weibull_distribution/
1817         cons/default.cc: Likewise.
1818         * testsuite/26_numerics/random/weibull_distribution/
1819         requirements/typedefs.cc: Likewise.
1820         * testsuite/26_numerics/random/independent_bits_engine/
1821         cons/base_move.cc: Likewise.
1822         * testsuite/26_numerics/random/independent_bits_engine/
1823         cons/seed1.cc: Likewise.
1824         * testsuite/26_numerics/random/independent_bits_engine/
1825         cons/seed2.cc: Likewise.
1826         * testsuite/26_numerics/random/independent_bits_engine/
1827         cons/base_copy.cc: Likewise.
1828         * testsuite/26_numerics/random/independent_bits_engine/
1829         cons/default.cc: Likewise.
1830         * testsuite/26_numerics/random/independent_bits_engine/
1831         cons/seed_seq.cc: Likewise.
1832         * testsuite/26_numerics/random/independent_bits_engine/
1833         requirements/typedefs.cc: Likewise.
1834         * testsuite/26_numerics/random/independent_bits_engine/
1835         operators/equal.cc: Likewise.
1836         * testsuite/26_numerics/random/independent_bits_engine/
1837         operators/serialize.cc: Likewise.
1838         * testsuite/26_numerics/random/ranlux48_base.cc: Likewise.
1839         * testsuite/26_numerics/random/minstd_rand0.cc: Likewise.
1840         * testsuite/26_numerics/random/subtract_with_carry_engine/
1841         cons/seed1.cc: Likewise.
1842         * testsuite/26_numerics/random/subtract_with_carry_engine/
1843         cons/seed2.cc: Likewise.
1844         * testsuite/26_numerics/random/subtract_with_carry_engine/
1845         cons/default.cc: Likewise.
1846         * testsuite/26_numerics/random/subtract_with_carry_engine/
1847         requirements/typedefs.cc: Likewise.
1848         * testsuite/26_numerics/random/subtract_with_carry_engine/
1849         operators/equal.cc: Likewise.
1850         * testsuite/26_numerics/random/subtract_with_carry_engine/
1851         operators/serialize.cc: Likewise.
1852         * testsuite/26_numerics/random/discard_block_engine/cons/
1853         base_move.cc: Likewise.
1854         * testsuite/26_numerics/random/discard_block_engine/cons/
1855         seed1.cc: Likewise.
1856         * testsuite/26_numerics/random/discard_block_engine/cons/
1857         seed2.cc: Likewise.
1858         * testsuite/26_numerics/random/discard_block_engine/cons/
1859         base_copy.cc: Likewise.
1860         * testsuite/26_numerics/random/discard_block_engine/cons/
1861         default.cc: Likewise.
1862         * testsuite/26_numerics/random/discard_block_engine/cons/
1863         seed_seq.cc: Likewise.
1864         * testsuite/26_numerics/random/discard_block_engine/
1865         requirements/typedefs.cc: Likewise.
1866         * testsuite/26_numerics/random/discard_block_engine/
1867         operators/equal.cc: Likewise.
1868         * testsuite/26_numerics/random/discard_block_engine/
1869         operators/serialize.cc: Likewise.
1870         * testsuite/26_numerics/random/cauchy_distribution/
1871         cons/parms.cc: Likewise.
1872         * testsuite/26_numerics/random/cauchy_distribution/
1873         cons/default.cc: Likewise.
1874         * testsuite/26_numerics/random/cauchy_distribution/
1875         requirements/typedefs.cc: Likewise.
1876         * testsuite/26_numerics/random/negative_binomial_distribution/
1877         cons/parms.cc: Likewise.
1878         * testsuite/26_numerics/random/negative_binomial_distribution/
1879         cons/default.cc: Likewise.
1880         * testsuite/26_numerics/random/negative_binomial_distribution/
1881         requirements/typedefs.cc: Likewise.
1882         * testsuite/26_numerics/random/gamma_distribution/
1883         cons/parms.cc: Likewise.
1884         * testsuite/26_numerics/random/gamma_distribution/
1885         cons/default.cc: Likewise.
1886         * testsuite/26_numerics/random/gamma_distribution/
1887         requirements/typedefs.cc: Likewise.
1888         * testsuite/26_numerics/random/mersenne_twister_engine/
1889         cons/seed1.cc: Likewise.
1890         * testsuite/26_numerics/random/mersenne_twister_engine/
1891         cons/seed2.cc: Likewise.
1892         * testsuite/26_numerics/random/mersenne_twister_engine/
1893         cons/default.cc: Likewise.
1894         * testsuite/26_numerics/random/mersenne_twister_engine/
1895         requirements/typedefs.cc: Likewise.
1896         * testsuite/26_numerics/random/mersenne_twister_engine/
1897         operators/equal.cc: Likewise.
1898         * testsuite/26_numerics/random/mersenne_twister_engine/
1899         operators/serialize.cc: Likewise.
1900         * testsuite/26_numerics/random/fisher_f_distribution/
1901         cons/parms.cc: Likewise.
1902         * testsuite/26_numerics/random/fisher_f_distribution/
1903         cons/default.cc: Likewise.
1904         * testsuite/26_numerics/random/fisher_f_distribution/
1905         requirements/typedefs.cc: Likewise.
1906         * testsuite/26_numerics/random/exponential_distribution/
1907         cons/parms.cc: Likewise.
1908         * testsuite/26_numerics/random/exponential_distribution/
1909         cons/default.cc: Likewise.
1910         * testsuite/26_numerics/random/exponential_distribution/
1911         requirements/typedefs.cc: Likewise.
1912         * testsuite/26_numerics/random/binomial_distribution/
1913         cons/parms.cc: Likewise.
1914         * testsuite/26_numerics/random/binomial_distribution/
1915         cons/default.cc: Likewise.
1916         * testsuite/26_numerics/random/binomial_distribution/
1917         requirements/typedefs.cc: Likewise.
1918         * testsuite/26_numerics/random/lognormal_distribution/
1919         cons/parms.cc: Likewise.
1920         * testsuite/26_numerics/random/lognormal_distribution/
1921         cons/default.cc: Likewise.
1922         * testsuite/26_numerics/random/lognormal_distribution/
1923         requirements/typedefs.cc: Likewise.
1924         * testsuite/26_numerics/random/mt19937_64.cc: Likewise.
1925         * testsuite/26_numerics/random/random_device/cons/
1926         token.cc: Likewise.
1927         * testsuite/26_numerics/random/random_device/cons/
1928         default.cc: Likewise.
1929         * testsuite/26_numerics/random/random_device/
1930         requirements/typedefs.cc: Likewise.
1931         * testsuite/26_numerics/random/ranlux24.cc: Likewise.
1932         * testsuite/26_numerics/random/extreme_value_distribution/
1933         cons/parms.cc: Likewise.
1934         * testsuite/26_numerics/random/extreme_value_distribution/
1935         cons/default.cc: Likewise.
1936         * testsuite/26_numerics/random/extreme_value_distribution/
1937         requirements/typedefs.cc: Likewise.
1938         * testsuite/26_numerics/random/piecewise_linear_distribution/
1939         cons/range.cc: Likewise.
1940         * testsuite/26_numerics/random/piecewise_linear_distribution/
1941         cons/default.cc: Likewise.
1942         * testsuite/26_numerics/random/piecewise_linear_distribution/
1943         cons/num_xbound_fun.cc: Likewise.
1944         * testsuite/26_numerics/random/piecewise_linear_distribution/
1945         cons/initlist_fun.cc: Likewise.
1946         * testsuite/26_numerics/random/piecewise_linear_distribution/
1947         requirements/typedefs.cc: Likewise.
1948         * testsuite/26_numerics/random/student_t_distribution/
1949         cons/parms.cc: Likewise.
1950         * testsuite/26_numerics/random/student_t_distribution/
1951         cons/default.cc: Likewise.
1952         * testsuite/26_numerics/random/student_t_distribution/
1953         requirements/typedefs.cc: Likewise.
1954         * testsuite/26_numerics/random/linear_congruential_engine/
1955         cons/seed1.cc: Likewise.
1956         * testsuite/26_numerics/random/linear_congruential_engine/
1957         cons/seed2.cc: Likewise.
1958         * testsuite/26_numerics/random/linear_congruential_engine/
1959         cons/default.cc: Likewise.
1960         * testsuite/26_numerics/random/linear_congruential_engine/
1961         requirements/non_uint_neg.cc: Likewise.
1962         * testsuite/26_numerics/random/linear_congruential_engine/
1963         requirements/typedefs.cc: Likewise.
1964         * testsuite/26_numerics/random/linear_congruential_engine/
1965         operators/equal.cc: Likewise.
1966         * testsuite/26_numerics/random/linear_congruential_engine/
1967         operators/serialize.cc: Likewise.
1968         * testsuite/26_numerics/random/ranlux48.cc: Likewise.
1969         * testsuite/26_numerics/random/shuffle_order_engine/cons/
1970         base_move.cc: Likewise.
1971         * testsuite/26_numerics/random/shuffle_order_engine/cons/
1972         seed1.cc: Likewise.
1973         * testsuite/26_numerics/random/shuffle_order_engine/cons/
1974         seed2.cc: Likewise.
1975         * testsuite/26_numerics/random/shuffle_order_engine/cons/
1976         base_copy.cc: Likewise.
1977         * testsuite/26_numerics/random/shuffle_order_engine/cons/
1978         default.cc: Likewise.
1979         * testsuite/26_numerics/random/shuffle_order_engine/cons/
1980         seed_seq.cc: Likewise.
1981         * testsuite/26_numerics/random/shuffle_order_engine/
1982         requirements/typedefs.cc: Likewise.
1983         * testsuite/26_numerics/random/shuffle_order_engine/
1984         operators/equal.cc: Likewise.
1985         * testsuite/26_numerics/random/shuffle_order_engine/
1986         operators/serialize.cc: Likewise.
1987         * testsuite/26_numerics/random/geometric_distribution/
1988         cons/parms.cc: Likewise.
1989         * testsuite/26_numerics/random/geometric_distribution/
1990         cons/default.cc: Likewise.
1991         * testsuite/26_numerics/random/geometric_distribution/
1992         requirements/typedefs.cc: Likewise.
1993         * testsuite/26_numerics/random/knuth_b.cc: Likewise.
1994
1995 2009-07-31  Jason Merrill  <jason@redhat.com>
1996             Douglas Gregor  <doug.gregor@gmail.com>
1997
1998         * include/bits/move.h (forward): Implement as in N2835.
1999         (move): Implement as in N2831.
2000         * include/std/istream (rvalue stream operator>>): New.
2001         * include/std/ostream (rvalue stream operator<<): New.
2002         * testsuite/27_io/rvalue_streams.cc: New.
2003
2004 2009-07-31  Jason Merrill  <jason@redhat.com>
2005
2006         * include/bits/forward_list.h (splice_after): Use forward.
2007         (merge): Likewise.
2008         * include/bits/stl_iterator.h (move_iterator::operator*): Use move.
2009         (move_iterator::operator[]): Use move.
2010         * include/bits/stl_list.h (insert): Use move.
2011         * include/std/thread (_Callable constructor): Use forward.
2012         * include/std/tuple: Don't specify explicit template args to move.
2013
2014         * testsuite/20_util/forward/requirements/explicit_instantiation.cc:
2015         Adjust signature.
2016         * testsuite/20_util/tuple/swap.cc: Swap takes lvalue reference.
2017         * testsuite/30_threads/shared_future/cons/copy.cc: Return rvalue
2018         reference.
2019         * testsuite/20_util/shared_ptr/assign/auto_ptr.cc,
2020         testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc,
2021         testsuite/20_util/shared_ptr/cons/auto_ptr.cc,
2022         testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc,
2023         testsuite/23_containers/forward_list/ext_pointer/operations/1.cc,
2024         testsuite/23_containers/forward_list/ext_pointer/operations/5.cc,
2025         testsuite/23_containers/forward_list/operations/1.cc,
2026         testsuite/23_containers/forward_list/operations/5.cc: Use move.
2027         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
2028         testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
2029         testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
2030         testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
2031         testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
2032
2033 2009-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
2034
2035         PR libstdc++/40912 (partial)
2036         * include/std/random: Disable the facility if <stdint.h> is not
2037         available.
2038
2039 2009-07-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2040
2041         PR libstdc++/40919
2042         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2043         xfail on darwin[3-9]*.
2044
2045 2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>
2046
2047         PR libstdc++/40917
2048         * testsuite/util/replacement_memory_operators.h: Add missing includes,
2049         tweak qualifications.
2050
2051 2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>
2052
2053         PR libstdc++/40916
2054         * testsuite/23_containers/list/modifiers/swap/1.cc: Fix include order.
2055         * testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.
2056         * testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.
2057
2058 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2059
2060         * acinclude.m4 (GLIBCXX_CONFIGURE): Use m4_rename_force.
2061
2062 2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>
2063
2064         PR libstdc++/40915
2065         * testsuite/18_support/headers/exception/synopsis.cc: Fix
2066         std::terminate declaration.
2067
2068 2009-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2069
2070         PR libstdc++/40908
2071         * config/abi/pre/gnu.ver: Avoid exporting inadvertently std::mutex
2072         symbols at GLIBCXX_3.4.
2073
2074 2009-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2075
2076         * config/abi/pre/gnu.ver: Add GLIBCXX_3.4.13, move a symbol into it.
2077         * testsuite/util/testsuite_abi.cc: Adjust.
2078         * configure.ac: Bump libtool_VERSION to 6:13:0.
2079         * configure: Regenerate.
2080
2081 2009-07-28  Benjamin Kosnik  <bkoz@redhat.com>
2082             Tyler Earman  <rem.intellegare@gmail.com>
2083
2084         * doc/xml/manual/configure.xml: Consistent placement of
2085         ABI-changing options, clarify --enable-clocale.
2086
2087 2009-07-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2088
2089         * python/Makefile.in: Regenerate.
2090
2091 2009-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2092
2093         * python/Makefile.am (install-data-local): Use DESTDIR
2094         correctly.
2095
2096 2009-07-24  Jason Merrill  <jason@redhat.com>
2097
2098         Core issue 901
2099         * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Handle NULL
2100         dealloc.
2101
2102 2009-07-24  Joseph Myers  <joseph@codesourcery.com>
2103
2104         * include/c_global/cwchar (swprintf, vswprintf): Do not use if
2105         _GLIBCXX_HAVE_BROKEN_VSWPRINTF.
2106         * testsuite/lib/libstdc++.exp (check_v3_target_swprintf): New.
2107         * testsuite/lib/dg-options.exp (dg-require-swprintf): New.
2108         * testsuite/21_strings/headers/cwchar/functions_std.cc,
2109         testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc,
2110         testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
2111         Use dg-require-swprintf.
2112
2113 2009-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
2114
2115         * testsuite/26_numerics/valarray/dr630-2.cc: Extend.
2116
2117 2009-07-23  Paolo Carlini  <paolo.carlini@oracle.com>
2118
2119         * include/c_std/cmath (abs(_Tp)): Add.
2120         * include/c_global/cmath (abs(_Tp)): Likewise.
2121         * testsuite/26_numerics/headers/cmath/overloads.cc: Extend.
2122
2123 2009-07-23  Paolo Carlini  <paolo.carlini@oracle.com>
2124
2125         * doc/html/ext/lwg-closed.html: Update to R65.
2126         * doc/html/ext/lwg-defects.html: Likewise.
2127         * doc/html/ext/lwg-active.html: Likewise.
2128         * doc/xml/manual/intro.xml: Update DRs entries.
2129
2130 2009-07-22  Jason Merrill  <jason@redhat.com>
2131
2132         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): Default to 0.
2133
2134 2009-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
2135
2136         * include/std/valarray (valarray<>::operator=(const valarray<>&),
2137         valarray<>::operator=(initializer_list<>)): Implement resolution
2138         of DR 630, [Ready] in Frankfurt.
2139         * testsuite/26_numerics/valarray/dr630-1.cc: New.
2140         * testsuite/26_numerics/valarray/dr630-2.cc: Likewise.
2141         * doc/xml/manual/intro.xml: Add an entry for DR 630.
2142
2143 2009-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
2144
2145         * include/std/chrono (duration<>::operator%=,  operator%):
2146         Add, per DR 934.
2147         * testsuite/20_util/duration/arithmetic/dr934-1.cc: New.
2148         * testsuite/20_util/duration/arithmetic/dr934-2.cc: Likewise.
2149
2150         * include/std/chrono (operator/): Simplify implementation.
2151
2152 2009-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2153
2154         * doc/xml/manual/intro.xml: Escape '&', validate.
2155         * doc/xml/manual/using.xml: Validate, dead link check.
2156         * doc/xml/manual/strings.xml: Same.
2157         * doc/xml/manual/appendix_contributing.xml: Same.
2158         * doc/xml/manual/iterators.xml: Same.
2159         * doc/xml/manual/spine.xml: Same.
2160
2161         * doc/xml/faq.xml: Remove redundant xreflabel entities.
2162         * doc/xml/gnu/gpl-3.0.xml: Same.
2163         * doc/xml/manual/mt_allocator.xml: Same.
2164         * doc/xml/manual/allocator.xml: Same.
2165         * doc/xml/manual/ctype.xml: Same.
2166         * doc/xml/manual/codecvt.xml: Same.
2167         * doc/xml/manual/backwards_compatibility.xml: Same.
2168         * doc/xml/manual/shared_ptr.xml: Same.
2169         * doc/xml/manual/abi.xml: Same.
2170         * doc/xml/manual/auto_ptr.xml: Same.
2171         * doc/xml/manual/internals.xml: Same.
2172         * doc/xml/manual/parallel_mode.xml: Same.
2173         * doc/xml/manual/bitmap_allocator.xml: Same.
2174         * doc/xml/manual/build_hacking.xml: Same.
2175         * doc/xml/manual/evolution.xml: Same.
2176         * doc/xml/manual/debug.xml: Same.
2177         * doc/xml/manual/localization.xml: Same.
2178         * doc/xml/manual/appendix_contributing.xml: Same.
2179         * doc/xml/manual/locale.xml: Same.
2180         * doc/xml/manual/messages.xml: Same.
2181         * doc/xml/manual/spine.xml: Same.
2182         * doc/xml/manual/test.xml: Same.
2183         * doc/xml/book.txml: Same.
2184         * doc/xml/spine.xml: Same.
2185
2186         * doc/xml/api.xml: Clean up ulink targets, convert to link if possible.
2187         * doc/xml/manual/backwards_compatibility.xml: Same.
2188         * doc/xml/manual/concurrency.xml: Same.
2189         * doc/xml/manual/intro.xml: Same.
2190         * doc/xml/manual/parallel_mode.xml: Same.
2191         * doc/xml/manual/status_cxx1998.xml: Same.
2192         * doc/xml/manual/containers.xml: Same.
2193         * doc/xml/manual/io.xml: Same.
2194         * doc/xml/manual/support.xml: Same.
2195         * doc/xml/manual/strings.xml: Same.
2196         * doc/xml/manual/debug_mode.xml: Same.
2197         * doc/xml/manual/extensions.xml: Same.
2198         * doc/xml/manual/appendix_contributing.xml: Same.
2199         * doc/xml/manual/messages.xml: Same.
2200         * doc/xml/manual/test.xml: Same.
2201
2202         * doc/xml/manual/abi.xml: Same.
2203         * doc/xml/manual/auto_ptr.xml: Same.
2204         * doc/xml/manual/parallel_mode.xml: Same.
2205         * doc/xml/manual/build_hacking.xml: Same.
2206         * doc/xml/manual/evolution.xml: Same.
2207         * doc/xml/manual/using.xml: Same.
2208         * doc/xml/manual/debug_mode.xml: Same.
2209         * doc/xml/manual/extensions.xml: Same.
2210         * doc/xml/manual/diagnostics.xml: Same.
2211         * doc/xml/manual/algorithms.xml: Same.
2212
2213         * doc/html: Regenerate.
2214
2215 2009-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
2216
2217         PR libstdc++/40712
2218         * config/locale/gnu/numeric_members.cc (numpunct<>::
2219         _M_initialize_numpunct): Dynamically allocate _M_data->_M_grouping
2220         and copy the langinfo data into it.
2221         (numpunct<>::~numpunct): Free the allocated memory.
2222         * config/locale/gnu/monetary_members.cc (moneypunct<>::
2223         _M_initialize_moneypunct): Dynamically allocate _M_data->_M_grouping,
2224         _M_data->_M_positive_sign, _M_data->_M_negative_sign,
2225         _M_data->_M_curr_symbol.
2226         (moneypunct<>::~moneypunct): Free the allocated memory.
2227         * testsuite/22_locale/moneypunct/40712.cc: New.
2228
2229         * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache):
2230         Do not leak memory if new throws.
2231         * include/bits/locale_facets_nonio.tcc
2232         (__moneypunct_cache<>::_M_cache): Likewise.
2233
2234 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
2235
2236         PR other/40784
2237         * configure: Regenerate.
2238
2239 2009-07-16  Benjamin Kosnik  <bkoz@redhat.com>
2240
2241         * testsuite/util/testsuite_common_types.h (standard_layout): Activate.
2242         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
2243         line numbers.
2244         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
2245         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
2246         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
2247
2248 2009-07-16  Joseph Myers  <joseph@codesourcery.com>
2249
2250         * configure: Regenerate.
2251
2252 2009-07-16  Jason Merrill  <jason@redhat.com>
2253
2254         PR libstdc++/37907
2255         * include/std/type_traits: Add is_standard_layout, is_trivial.
2256         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc,
2257         testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2258         Update line numbers.
2259
2260 2009-07-16  Phil Muldoon <pmuldoon@redhat.com>
2261             Tom Tromey <tromey@redhat.com>
2262
2263         * python/libstdcxx/v6/printers.py (StdStringPrinter.to_string):
2264         Fetch std::string to the given length.
2265
2266 2009-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
2267
2268         * include/bits/istream.tcc (basic_istream<>::operator>>(short&),
2269         basic_istream<>::operator>>(int&)): Implement resolution of DR 696,
2270         [Ready] in Frankfurt.
2271         * include/tr1_impl/regex (regex_traits<>::value): Adjust.
2272         * testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc:
2273         New.
2274         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/dr696.cc:
2275         Likewise.
2276         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
2277         Adjust.
2278         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
2279         Likewise.
2280         * doc/xml/manual/intro.xml: Add an entry for DR 696.
2281
2282         * include/bits/istream.tcc: Minor clean-up to the initializers of the
2283         __err locals.
2284         * include/bits/ostream.tcc: Likewise.
2285         * src/compatibility.cc: Likewise.
2286         * src/istream.cc: Likewise.
2287
2288 2009-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
2289
2290         * include/std/type_traits (common_type): Remove workaround for
2291         PR36628, now fixed.
2292
2293 2009-07-11  Richard Sandiford  <rdsandiford@googlemail.com>
2294
2295         PR testsuite/40699
2296         PR testsuite/40707
2297         PR testsuite/40709
2298         * testsuite/lib/libstdc++.exp: Revert 2009-06-30 commit.
2299
2300 2009-07-08  Janis Johnson  <janis187@us.ibm.com>
2301
2302         PR libstdc++/40691
2303         * include/bits/valarray_after.h (_Expr::operator!): Fix return type.
2304         * testsuite/26_numerics/valarray/40691.cc: New test.
2305
2306 2009-07-06  Benjamin Kosnik  <bkoz@redhat.com>
2307
2308         * testsuite/21_strings/c_strings/wchar_t/3.cc: Add copyright.
2309         * testsuite/21_strings/c_strings/char/3.cc: Same.
2310
2311 2009-07-06  Jason Merrill  <jason@redhat.com>
2312
2313         * libsupc++/vmi_class_type_info.cc (__do_dyncast): Use src2dst hint
2314         to defer searching bases that don't overlap the desired address.
2315
2316 2009-07-05  Joseph Myers  <joseph@codesourcery.com>
2317
2318         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc,
2319         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc,
2320         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc,
2321         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc,
2322         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc,
2323         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc,
2324         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc,
2325         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc,
2326         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2327         to_wstring.cc, testsuite/ext/vstring/element_access/char/front_back.cc,
2328         testsuite/ext/vstring/element_access/wchar_t/front_back.cc,
2329         testsuite/ext/vstring/init-list.cc,
2330         testsuite/ext/vstring/moveable.cc,
2331         testsuite/ext/vstring/requirements/citerators.cc,
2332         testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc,
2333         testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc:
2334         Use dg-require-string-conversions.
2335
2336 2009-06-30  Richard Sandiford  <r.sandiford@uk.ibm.com>
2337
2338         * testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "."
2339         to ld_library_path.  Use add_path.  Add just find_libgcc_s to
2340         ld_library_path, not every libgcc multilib directory.
2341
2342 2009-06-30  Paolo Carlini  <paolo.carlini@oracle.com>
2343
2344         PR libstdc++/40600
2345         * testsuite/25_algorithms/minmax/2.cc: Fix consistently with
2346         std::minmax return type.
2347         * testsuite/25_algorithms/minmax/3.cc: Likewise.
2348
2349 2009-06-30  Paolo Carlini  <paolo.carlini@oracle.com>
2350
2351         PR libstdc++/40511
2352         * config/locale/gnu/c_locale.cc: Don't use LC_CTYPE_MASK together
2353         with glibc2.2.x.
2354
2355 2009-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
2356
2357         * include/bits/random.tcc
2358         (linear_congruential_engine<>::seed(seed_seq&)): Use uint_least32_t
2359         as array type.
2360
2361 2009-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
2362
2363         * include/bits/random.h (__mod(_Tp)): Use defaults.
2364         (struct _Mod): Adjust template parameters.
2365         (linear_congruential_engine<>::operator()()): Adjust.
2366         (typedef _UInt32Type): Remove.
2367         (mersenne_twister_engine<>::initialization_multiplier): Fix type.
2368         * include/bits/random.tcc (struct _Mod): Adjust template parameters.
2369         (linear_congruential_engine<>::seed(result_type)): Adjust __mod
2370         calls.
2371         (mersenne_twister_engine<>::seed(result_type)): Likewise.
2372         (mersenne_twister_engine<>::seed(seed_seq&)): Likewise.
2373         (subtract_with_carry_engine<>::seed(result_type)): Likewise.
2374         (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise.
2375         (seed_seq::seed_seq(std::initializer_list<>)): Likewise.
2376         (seed_seq::seed_seq(_InputIterator, _InputIterator)): Likewise.
2377         (seed_seq::generate(_RandomAccessIterator, _RandomAccessIterator)):
2378         Likewise.
2379
2380         * include/bits/random.tcc
2381         (mersenne_twister_engine<>::seed(result_type)): Fix i usage in the
2382         formula (i mod n).
2383         (mersenne_twister_engine<>::seed(seed_seq&)): Use uint_least32_t
2384         as array type.
2385         (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise; fix array
2386         size.
2387         (subtract_with_carry_engine<>::seed(result_type)): Fix; also use
2388         uint_least32_t.
2389
2390 2009-06-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
2391
2392         * include/std/future (shared_future): Adjust doxygen comment.
2393
2394 2009-06-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
2395
2396         PR libstdc++/40297
2397         * include/bits/atomic_0.h: Reverse debug assertions.
2398         * include/bits/atomic_2.h: Likewise.
2399
2400 2009-06-23  DJ Delorie  <dj@redhat.com>
2401
2402         Add MeP port.
2403         * configure.host: Add mep support.
2404
2405 2009-06-23  Benjamin Kosnik  <bkoz@redhat.com>
2406
2407         * doc/doxygen/user.cfg.in (PREDEFINED): Add _GLIBCXX_ATOMIC_BUILTINS_*.
2408         (INPUT): Add future.
2409         * include/std/future: Adjust markup.
2410         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Adjust
2411         line numbers.
2412         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
2413         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
2414         * testsuite/30_threads/promise/cons/assign_neg.cc: Same.
2415         * testsuite/30_threads/promise/cons/copy_neg.cc: Same.
2416
2417 2009-06-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
2418
2419         * include/bits/shared_ptr.h: Do not swap rvalues.
2420         * testsuite/20_util/owner_less/cmp.cc: Add missing test variables.
2421         * testsuite/20_util/shared_ptr/comparison/cmp.cc: Likewise.
2422         * testsuite/20_util/shared_ptr/comparison/less.cc: Likewise.
2423         * testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
2424         * testsuite/20_util/tuple/swap.cc: Likewise.
2425
2426 2009-06-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
2427
2428         * include/debug/macros.h: Replace @tbd with valid doxygen tag @todo.
2429         * include/std/ratio: Typo in comment.
2430
2431 2009-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
2432
2433         PR libstdc++/40518
2434         * include/bits/basic_string.h (basic_string<>::_Rep::
2435         _M_set_length_and_sharable): Do not write the empty rep.
2436         (basic_string<>::erase(iterator, iterator)): Likewise,
2437         move out of line...
2438         * include/bits/basic_string.tcc: ... here.
2439
2440 2009-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
2441
2442         * testsuite/util/testsuite_common_types.h (bitwise_operators,
2443         bitwise_assignment_operators): Initialize a and b.
2444         (struct has_bitwise_operators): Do not call the latter.
2445         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
2446         dg-error line numbers.
2447         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2448         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
2449         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2450
2451 2009-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
2452
2453         * testsuite/23_containers/list/invalidation/1.cc: Mark test as
2454         possibly unused.
2455         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
2456         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
2457         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
2458
2459 2009-06-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
2460
2461         * include/std/future: New.
2462         * include/Makefile.am: Add.
2463         * include/Makefile.in: Regenerate.
2464         * src/future.cc: New.
2465         * src/Makefile.am: Add.
2466         * src/Makefile.in: Regenerate.
2467         * config/abi/pre/gnu.ver: Add export.
2468         * testsuite/30_threads/headers/future/std_c++0x_neg.cc: New.
2469         * testsuite/30_threads/headers/future/types_std_c++0x.cc: New.
2470         * testsuite/30_threads/packaged_task/cons/1.cc: New.
2471         * testsuite/30_threads/packaged_task/cons/2.cc: New.
2472         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: New.
2473         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: New.
2474         * testsuite/30_threads/packaged_task/cons/move_assign.cc: New.
2475         * testsuite/30_threads/packaged_task/cons/move.cc: New.
2476         * testsuite/30_threads/packaged_task/members/boolconv.cc: New.
2477         * testsuite/30_threads/packaged_task/members/get_future.cc: New.
2478         * testsuite/30_threads/packaged_task/members/get_future2.cc: New.
2479         * testsuite/30_threads/packaged_task/members/invoke.cc: New.
2480         * testsuite/30_threads/packaged_task/members/invoke2.cc: New.
2481         * testsuite/30_threads/packaged_task/members/invoke3.cc: New.
2482         * testsuite/30_threads/packaged_task/members/invoke4.cc: New.
2483         * testsuite/30_threads/packaged_task/members/invoke5.cc: New.
2484         * testsuite/30_threads/packaged_task/members/reset.cc: New.
2485         * testsuite/30_threads/packaged_task/members/reset2.cc: New.
2486         * testsuite/30_threads/packaged_task/members/swap.cc: New.
2487         * testsuite/30_threads/packaged_task/requirements/
2488         explicit_instantiation.cc: New.
2489         * testsuite/30_threads/promise/cons/1.cc: New.
2490         * testsuite/30_threads/promise/cons/assign_neg.cc: New.
2491         * testsuite/30_threads/promise/cons/copy_neg.cc: New.
2492         * testsuite/30_threads/promise/cons/move_assign.cc: New.
2493         * testsuite/30_threads/promise/cons/move.cc: New.
2494         * testsuite/30_threads/promise/members/get_future.cc: New.
2495         * testsuite/30_threads/promise/members/get_future2.cc: New.
2496         * testsuite/30_threads/promise/members/set_exception.cc: New.
2497         * testsuite/30_threads/promise/members/set_exception2.cc: New.
2498         * testsuite/30_threads/promise/members/set_value.cc: New.
2499         * testsuite/30_threads/promise/members/set_value2.cc: New.
2500         * testsuite/30_threads/promise/members/set_value3.cc: New.
2501         * testsuite/30_threads/promise/members/swap.cc: New.
2502         * testsuite/30_threads/promise/requirements/
2503         explicit_instantiation.cc: New.
2504         * testsuite/30_threads/shared_future/cons/assign_neg.cc: New.
2505         * testsuite/30_threads/shared_future/cons/copy.cc: New.
2506         * testsuite/30_threads/shared_future/cons/default_neg.cc: New.
2507         * testsuite/30_threads/shared_future/cons/move.cc: New.
2508         * testsuite/30_threads/shared_future/members/get.cc: New.
2509         * testsuite/30_threads/shared_future/members/get2.cc: New.
2510         * testsuite/30_threads/shared_future/members/has_exception.cc: New.
2511         * testsuite/30_threads/shared_future/members/has_value.cc: New.
2512         * testsuite/30_threads/shared_future/members/is_ready.cc: New.
2513         * testsuite/30_threads/shared_future/members/wait.cc: New.
2514         * testsuite/30_threads/shared_future/members/wait_for.cc: New.
2515         * testsuite/30_threads/shared_future/members/wait_until.cc: New.
2516         * testsuite/30_threads/shared_future/requirements/
2517         explicit_instantiation.cc: New.
2518         * testsuite/30_threads/unique_future/cons/assign_neg.cc: New.
2519         * testsuite/30_threads/unique_future/cons/copy_neg.cc: New.
2520         * testsuite/30_threads/unique_future/cons/default_neg.cc: New.
2521         * testsuite/30_threads/unique_future/cons/move.cc: New.
2522         * testsuite/30_threads/unique_future/members/get.cc: New.
2523         * testsuite/30_threads/unique_future/members/get2.cc: New.
2524         * testsuite/30_threads/unique_future/members/has_exception.cc: New.
2525         * testsuite/30_threads/unique_future/members/has_value.cc: New.
2526         * testsuite/30_threads/unique_future/members/is_ready.cc: New.
2527         * testsuite/30_threads/unique_future/members/wait.cc: New.
2528         * testsuite/30_threads/unique_future/members/wait_for.cc: New.
2529         * testsuite/30_threads/unique_future/members/wait_until.cc: New.
2530         * testsuite/30_threads/unique_future/requirements/
2531         explicit_instantiation.cc: New.
2532         * testsuite/performance/30_threads/future/polling.cc: New.
2533
2534 2009-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
2535
2536         * Revert last Change.
2537
2538 2009-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
2539
2540         PR libstdc++/40497
2541         * include/bits/stl_iterator_base_funcs.h (next, prev): Fix the
2542         signature per the current C++1x draft (N2857).
2543         * testsuite/24_iterators/operations/40497.cc: Add.
2544
2545 2009-06-19  Paolo Carlini  <paolo.carlini@oracle.com>
2546
2547         * include/bits/random.h (_Adaptor): Simplify for _DInputType always
2548         a floating point type.
2549         (uniform_int_distribution<>::uniform_int_distribution(_IntType,
2550         _IntType)): Fix second default argument.
2551         (uniform_int_distribution<>::_M_call): Remove.
2552         (uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&,
2553         const param_type&)): Only declare.
2554         * include/bits/random.tcc (uniform_int_distribution<>::_M_call(
2555         _UniformRandomNumberGenerator&, result_type, result_type, true_type):
2556         Remove.
2557         uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&,
2558         const param_type&): Define here.
2559         (geometric_distribution<>::operator()(_UniformRandomNumberGenerator&,
2560         const param_type&), discrete_distribution<>::operator()
2561         (_UniformRandomNumberGenerator&, const param_type&),
2562         piecewise_constant_distribution<>::operator()
2563         (_UniformRandomNumberGenerator&, const param_type&),
2564         piecewise_linear_distribution<>::operator()
2565         (_UniformRandomNumberGenerator&, const param_type&)): Use double as
2566         the second template argument of _Adaptor.
2567         * testsuite/26_numerics/random/uniform_int_distribution/cons/
2568         default.cc: Adjust.
2569
2570 2009-06-19  Paolo Carlini  <paolo.carlini@oracle.com>
2571
2572         * include/bits/random.tcc (discrete_distribution<>::param_type::
2573         param_type(size_t, double, double, _Func),
2574         discrete_distribution<>::operator()(_UniformRandomNumberGenerator&,
2575         const param_type&)): Tidy.
2576         (piecewise_constant_distribution<>::param_type::_M_initialize):
2577         Use reserve, fix.
2578         (piecewise_constant_distribution<>::param_type::
2579         param_type(initializer_list<>, _Func),
2580         piecewise_constant_distribution<>::param_type::
2581         param_type(size_t, _RealType, _RealType, _Func),
2582         piecewise_linear_distribution<>::param_type::
2583         param_type(initializer_list<>, _Func),
2584         piecewise_linear_distribution<>::param_type::
2585         param_type(size_t, _RealType, _RealType, _Func)): Use reserve, tidy.
2586         (piecewise_constant_distribution<>::param_type::
2587         param_type(_InputIteratorB, _InputIteratorB, _InputIteratorW),
2588         piecewise_constant_distribution<>::
2589         operator()(_UniformRandomNumberGenerator&, const param_type&),
2590         piecewise_linear_distribution<>::
2591         operator()(_UniformRandomNumberGenerator&, const param_type&)): Fix.
2592         (operator>>(std::basic_istream<>&,
2593         piecewise_constant_distribution<>&),
2594         operator>>(std::basic_istream<>&, piecewise_linear_distribution<>&)):
2595         Use reserve.
2596         * include/bits/random.h: Minor cosmetic changes.
2597
2598 2009-06-17  Benjamin Kosnik  <bkoz@redhat.com>
2599
2600         * testsuite/23_containers/list/check_construct_destroy.h: New.
2601         Move test logic here.
2602         * testsuite/23_containers/list/moveable.h: Same.
2603         * testsuite/23_containers/list/modifiers/insert/25288.h: Same.
2604         * testsuite/23_containers/list/modifiers/1.h: Same.
2605         * testsuite/23_containers/list/modifiers/2.h: Same.
2606         * testsuite/23_containers/list/modifiers/3.h: Same.
2607         * testsuite/23_containers/list/modifiers/swap/1.h: Same.
2608         * testsuite/23_containers/list/modifiers/swap/2.h: Same.
2609         * testsuite/23_containers/list/modifiers/swap/3.h: Same.
2610         * testsuite/23_containers/list/operations/1.h: Same.
2611         * testsuite/23_containers/list/operations/2.h: Same.
2612         * testsuite/23_containers/list/operations/3.h: Same.
2613         * testsuite/23_containers/list/operations/4.h: Same.
2614         * testsuite/23_containers/list/operations/5.h: Same.
2615         * testsuite/23_containers/list/capacity/1.h: Same.
2616         * testsuite/23_containers/list/init-list.h: Same.
2617         * testsuite/23_containers/list/cons/1.h: Same.
2618         * testsuite/23_containers/list/cons/2.h: Same.
2619         * testsuite/23_containers/list/cons/3.h: Same.
2620         * testsuite/23_containers/list/cons/4.h: Same.
2621         * testsuite/23_containers/list/cons/5.h: Same.
2622         * testsuite/23_containers/list/cons/6.h: Same.
2623         * testsuite/23_containers/list/cons/7.h: Same.
2624         * testsuite/23_containers/list/cons/8.h: Same.
2625         * testsuite/23_containers/list/cons/9.h: Same.
2626         * testsuite/23_containers/list/cons/clear_allocator.h: Same.
2627         * testsuite/23_containers/list/modifiers/insert/25288.cc: Include test
2628         header.
2629         * testsuite/23_containers/list/modifiers/1.cc: Same.
2630         * testsuite/23_containers/list/modifiers/2.cc: Same.
2631         * testsuite/23_containers/list/modifiers/3.cc: Same.
2632         * testsuite/23_containers/list/modifiers/swap/1.cc: Same.
2633         * testsuite/23_containers/list/modifiers/swap/2.cc: Same.
2634         * testsuite/23_containers/list/modifiers/swap/3.cc: Same.
2635         * testsuite/23_containers/list/operations/1.cc: Same.
2636         * testsuite/23_containers/list/operations/2.cc: Same.
2637         * testsuite/23_containers/list/operations/3.cc: Same.
2638         * testsuite/23_containers/list/operations/4.cc: Same.
2639         * testsuite/23_containers/list/operations/5.cc: Same.
2640         * testsuite/23_containers/list/capacity/1.cc: Same.
2641         * testsuite/23_containers/list/init-list.cc: Same.
2642         * testsuite/23_containers/list/cons/1.cc: Same.
2643         * testsuite/23_containers/list/cons/2.cc: Same.
2644         * testsuite/23_containers/list/cons/3.cc: Same.
2645         * testsuite/23_containers/list/cons/4.cc: Same.
2646         * testsuite/23_containers/list/cons/5.cc: Same.
2647         * testsuite/23_containers/list/cons/6.cc: Same.
2648         * testsuite/23_containers/list/cons/7.cc: Same.
2649         * testsuite/23_containers/list/cons/8.cc: Same.
2650         * testsuite/23_containers/list/cons/9.cc: Same.
2651         * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
2652         * testsuite/23_containers/list/check_construct_destroy.cc: Same.
2653         * testsuite/23_containers/list/moveable.cc: Same.
2654
2655 2009-06-17  Tom Tromey  <tromey@redhat.com>
2656
2657         * python/hook.in: Do not fail when there is no current objfile.
2658         Use os.path.normpath.
2659
2660 2009-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2661
2662         * libsupc++/exception_ptr.h (exception_ptr::swap(exception_ptr&&)):
2663         Remove.
2664         (exception_ptr::operator=(exception_ptr&&)): Cast source to
2665         rvalue-reference so that move constructor is called.
2666         * testsuite/18_support/exception_ptr/move.cc: New.
2667
2668 2009-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2669
2670         * include/std/thread (~thread(), operator=(thread&&)): Call terminate
2671         if joinable.
2672
2673 2009-06-15  Tom Tromey  <tromey@redhat.com>
2674
2675         * python/libstdcxx/v6/printers.py (StdMapPrinter.__init__): Don't
2676         set self.iter.
2677         (StdMapPrinter.to_string): Make a new iterator.
2678         (StdMapPrinter.children): Likewise.
2679         (StdSetPrinter.__init__): Don't set self.iter.
2680         (StdSetPrinter.to_string): Make a new iterator.
2681         (StdSetPrinter.children): Likewise.
2682
2683 2009-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
2684
2685         * include/bits/random.tcc
2686         (negative_binomial_distribution<>::operator()
2687         (_UniformRandomNumberGenerator&, const param_type&): Tweak to use a
2688         class member gamma_distribution.
2689         (negative_binomial_distribution<>::operator()
2690         (_UniformRandomNumberGenerator&)): Implement out of line here.
2691         (operator<<(basic_ostream<>&, negative_binomial_distribution<>),
2692         operator>>(basic_ostream<>&, negative_binomial_distribution<>): Adjust.
2693         (student_t_distribution<>::operator()
2694         (_UniformRandomNumberGenerator&, const param_type&): Move inline,
2695         simplify.
2696         (operator<<(basic_ostream<>&, student_t_distribution<>),
2697         operator>>(basic_ostream<>&, student_t_distribution<>): Adjust.
2698         (chi_squared_distribution<>::operator()
2699         (_UniformRandomNumberGenerator&, const param_type&): Move inline,
2700         tweak to use a class member gamma_distribution.
2701         (operator<<(basic_ostream<>&, chi_squared_distribution<>),
2702         operator>>(basic_ostream<>&, chi_squared_distribution<>): Adjust.
2703         (fisher_f_distribution<>::operator() (_UniformRandomNumberGenerator&,
2704         const param_type&): Move inline, tweak to use class member
2705         gamma_distributions.
2706         (operator<<(basic_ostream<>&, fisher_f_distribution<>),
2707         operator>>(basic_ostream<>&, fisher_f_distribution<>): Adjust.
2708         * include/bits/random.h: Adjust, minor tweaks.
2709
2710 2009-06-10  Tom Tromey  <tromey@redhat.com>
2711
2712         * python/libstdcxx/v6/printers.py (lookup_function): Remove extra ';'.
2713         (build_libstdcxx_dictionary): Accept shortened form of
2714         basic_string names.
2715         (StdStringPrinter.to_string): Remove reference to WideEncoding.
2716
2717 2009-06-10  Tom Tromey  <tromey@redhat.com>
2718
2719         PR libstdc++/40289:
2720         * python/Makefile.in: Rebuild.
2721         * python/hook.in: Compute module path relative to objfile.
2722         * python/Makefile.am (pythondir): Redefine.
2723         (gdb.py): Subst toolexeclibdir.
2724         (install-data-local): Rewrite.
2725
2726 2009-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2727
2728         * include/bits/move.h: Doxygen group fixes.
2729
2730 2009-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
2731
2732         * include/bits/random.tcc (gamma_distribution<>::operator()
2733         (_UniformRandomNumberGenerator&, const param_type&): Redo, using
2734         the Marsaglia/Tsang algorithm.
2735         (gamma_distribution<>::param_type::_M_initialize): Adjust.
2736         (operator<<(basic_ostream<>&, gamma_distribution<>),
2737         operator>>(basic_ostream<>&, gamma_distribution<>): Likewise.
2738
2739         * include/bits/random.tcc(student_t_distribution<>::_M_gaussian):
2740         Remove, just use normal_distribution.
2741         (operator<<(basic_ostream<>&, student_t_distribution<>),
2742         operator>>(basic_ostream<>&, student_t_distribution<>): Adjust.
2743         (linear_congruential_engine<>::operator()()): Move inline.
2744         (lognormal_distribution<>::operator()(_UniformRandomNumberGenerator&,
2745         const param_type&)): Move inline, just use normal_distribution.
2746         (operator<<(basic_ostream<>&, lognormal_distribution<>),
2747         operator>>(basic_ostream<>&, lognormal_distribution<>): Adjust.
2748         (weibull_distribution<>::operator()(_UniformRandomNumberGenerator&,
2749         const param_type&)): Move here, out of line.
2750         (piecewise_constant_distribution<>::param_type::param_type()): Move
2751         inline.
2752         * include/bits/random.h: Adjust, minor tweaks.
2753
2754 2009-06-05  Benjamin Kosnik  <bkoz@redhat.com>
2755
2756         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Remove xfail.
2757
2758 2009-06-04  Benjamin Kosnik  <bkoz@redhat.com>
2759
2760         * include/ext/throw_allocator.h: Rework.
2761         * include/ext/pb_ds/detail/debug_map_base.hpp: Adjust usage.
2762         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
2763         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
2764         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
2765         * testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
2766         * testsuite/util/regression/rand/priority_queue/
2767         container_rand_regression_test.tcc: Inline functions.
2768         * testsuite/util/regression/rand/assoc/
2769         container_rand_regression_test.tcc: Same.
2770
2771 2009-06-03  Benjamin Kosnik  <bkoz@redhat.com>
2772
2773         * testsuite/23_containers/list/cons/6.cc: Adjust test name.
2774
2775 2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>
2776
2777         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Handle AIX targets.
2778         * configure: Regenerate.
2779
2780 2009-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
2781
2782         PR libstdc++/40299
2783         * include/ext/memory: Fully qualify calls with __gnu_cxx.
2784         * testsuite/ext/rope/40299.cc: New.
2785
2786 2009-05-28  Tom Tromey  <tromey@redhat.com>
2787             Phil Muldoon  <pmuldoon@redhat.com>
2788             Jonathan Wakely  <jwakely.gcc@gmail.com>
2789
2790         * python/Makefile.in, , python/libstdcxx/__init__.py,
2791         python/libstdcxx/v6/__init__.py, python/libstdcxx/v6/printers.py,
2792         python/hook.in, python/Makefile.am: New files.
2793         * configure, Makefile.in: Rebuild.
2794         * acinclude.m4 (glibcxx_SUBDIRS): Add python.
2795         * Makefile.am (SUBDIRS): Add python.
2796
2797 2009-05-28  Benjamin Kosnik  <bkoz@redhat.com>
2798
2799         * testsuite/util/testsuite_allocator.h (check_new, check_delete): Move
2800         to ...
2801         * testsuite/util/replacement_memory_operators.h: ...here. New.
2802         * testsuite/util/testsuite_hooks.h (counter): To object_counter.
2803         * testsuite/util/testsuite_hooks.cc: Same.
2804
2805         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Use
2806         replacement_memory_operators.h.
2807         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
2808         * testsuite/ext/mt_allocator/check_delete.cc: Same.
2809         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Same.
2810         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Same.
2811         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
2812         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
2813         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
2814         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
2815         * testsuite/ext/mt_allocator/deallocate_local-6.cc: Same.
2816         * testsuite/ext/mt_allocator/deallocate_local-8.cc: Same.
2817         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
2818         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
2819         * testsuite/ext/mt_allocator/check_new.cc: Same.
2820         * testsuite/ext/debug_allocator/check_delete.cc: Same.
2821         * testsuite/ext/debug_allocator/check_new.cc: Same.
2822         * testsuite/ext/new_allocator/deallocate_global.cc: Same.
2823         * testsuite/ext/new_allocator/check_delete.cc: Same.
2824         * testsuite/ext/new_allocator/check_new.cc: Same.
2825         * testsuite/ext/new_allocator/deallocate_local.cc: Same.
2826         * testsuite/ext/throw_allocator/deallocate_global.cc: Same.
2827         * testsuite/ext/throw_allocator/check_delete.cc: Same.
2828         * testsuite/ext/throw_allocator/check_new.cc: Same.
2829         * testsuite/ext/throw_allocator/deallocate_local.cc: Same.
2830         * testsuite/ext/malloc_allocator/deallocate_global.cc: Same.
2831         * testsuite/ext/malloc_allocator/check_delete.cc: Same.
2832         * testsuite/ext/malloc_allocator/check_new.cc: Same.
2833         * testsuite/ext/malloc_allocator/deallocate_local.cc: Same.
2834         * testsuite/ext/pool_allocator/check_delete.cc: Same.
2835         * testsuite/ext/pool_allocator/check_new.cc: Same.
2836         * testsuite/ext/bitmap_allocator/check_delete.cc: Same.
2837         * testsuite/ext/bitmap_allocator/check_new.cc: Same.
2838         * testsuite/ext/array_allocator/check_delete.cc: Same.
2839         * testsuite/ext/array_allocator/check_new.cc: Same.
2840         * testsuite/23_containers/deque/cons/1.cc: Same.
2841         * testsuite/23_containers/deque/cons/2.cc: Same.
2842
2843 2009-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2844
2845         * libsupc++/initializer_list: Format.
2846         * testsuite/18_support/initializer_list/requirements/typedefs.cc: New.
2847         * testsuite/18_support/initializer_list/requirements/
2848         explicit_instantiation.cc: New.
2849
2850 2009-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2851
2852         PR libstdc++/40273
2853         * include/tr1_impl/functional: Add explicit casts.
2854         * testsuite/20_util/function/requirements/
2855         explicit_instantiation.cc: New.
2856         * testsuite/20_util/function/null_pointer_comparisons.cc: New.
2857
2858 2009-05-24  Eelis van der Weegen  <eelis@eelis.net>
2859
2860         * libsupc++/initializer_list (initializer_list): Add missing typedefs.
2861
2862 2009-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2863
2864         PR libstdc++/40221
2865         * include/tr1_impl/functional: Add explicit cast.
2866
2867 2009-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
2868
2869         PR libstdc++/40094
2870         Revert:
2871         2009-05-07  Paolo Carlini  <paolo.carlini@oracle.com>
2872         * include/ext/throw_allocator.h (throw_allocator_base): Avoid
2873         out of line member functions definitions.
2874         (throw_allocator_base::_S_g, _S_map, _S_throw_prob, _S_label):
2875         Remove, use static locals instead.
2876         (throw_allocator_base::do_check_allocated, print_to_string): Declare.
2877         * src/throw_allocator.cc: New.
2878         * src/Makefile.am: Add.
2879         * config/abi/pre/gnu.ver: Add exports.
2880         * src/Makefile.in: Regenerate.
2881
2882 2009-05-20  Benjamin Kosnik  <bkoz@redhat.com>
2883
2884         * include/tr1_impl/functional (function): Use explicit operator bool.
2885         * include/bits/shared_ptr.h (__shared_ptr): Same.
2886         * include/bits/unique_ptr.h (unique_ptr): Same.
2887         * include/std/mutex (unique_lock): Same.
2888         * include/std/system_error (error_code): Same.
2889         (error_condition): Same.
2890         * include/std/ostream (sentry): Same.
2891         * include/std/istream (sentry): Same.
2892         * testsuite/19_diagnostics/error_condition/operators/bool.cc: Adjust.
2893         * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc: Same.
2894         * testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
2895         * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
2896         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
2897         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Same.
2898         * testsuite/20_util/shared_ptr/observers/bool_conv.cc: Same.
2899
2900 2009-05-19  Benjamin Kosnik  <bkoz@redhat.com>
2901
2902         * testsuite/23_containers/list/14340.cc: Abstract list type.
2903         * testsuite/23_containers/list/init-list.cc: Same.
2904         * testsuite/23_containers/list/pthread5.cc: Same.
2905         * testsuite/23_containers/list/invalidation/1.cc: Same.
2906         * testsuite/23_containers/list/invalidation/2.cc: Same.
2907         * testsuite/23_containers/list/invalidation/3.cc: Same.
2908         * testsuite/23_containers/list/invalidation/4.cc: Same.
2909         * testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
2910         * testsuite/23_containers/list/modifiers/1.cc: Same.
2911         * testsuite/23_containers/list/modifiers/2.cc: Same.
2912         * testsuite/23_containers/list/modifiers/3.cc: Same.
2913         * testsuite/23_containers/list/modifiers/swap/1.cc: Same.
2914         * testsuite/23_containers/list/modifiers/swap/2.cc: Same.
2915         * testsuite/23_containers/list/modifiers/swap/3.cc: Same.
2916         * testsuite/23_containers/list/cons/1.cc: Same.
2917         * testsuite/23_containers/list/cons/2.cc: Same.
2918         * testsuite/23_containers/list/cons/3.cc: Same.
2919         * testsuite/23_containers/list/cons/4.cc: Same.
2920         * testsuite/23_containers/list/cons/5.cc: Same.
2921         * testsuite/23_containers/list/cons/6.cc: Same.
2922         * testsuite/23_containers/list/cons/7.cc: Same.
2923         * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
2924         * testsuite/23_containers/list/cons/8.cc: Same.
2925         * testsuite/23_containers/list/cons/9.cc: Same.
2926         * testsuite/23_containers/list/operations/1.cc: Same.
2927         * testsuite/23_containers/list/operations/2.cc: Same.
2928         * testsuite/23_containers/list/operations/3.cc: Same.
2929         * testsuite/23_containers/list/operations/4.cc: Same.
2930         * testsuite/23_containers/list/operations/5.cc: Same.
2931         * testsuite/23_containers/list/requirements/citerators.cc: Same.
2932         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2933         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2934         * testsuite/23_containers/list/requirements/dr438/
2935         constructor_1_neg.cc: Same.
2936         * testsuite/23_containers/list/requirements/dr438/
2937         constructor_2_neg.cc: Same.
2938         * testsuite/23_containers/list/requirements/dr438/constructor.cc: Same.
2939         * testsuite/23_containers/list/requirements/
2940         partial_specialization/1.cc: Same.
2941         * testsuite/23_containers/list/23781.cc: Same.
2942         * testsuite/23_containers/list/pthread1.cc: Same.
2943         * testsuite/23_containers/list/capacity/1.cc: Same.
2944         * testsuite/23_containers/list/capacity/29134.cc: Same.
2945         * testsuite/23_containers/list/check_construct_destroy.cc: Same.
2946         * testsuite/23_containers/list/moveable.cc: Same.
2947
2948         * testsuite/util/common_type/assoc/common_type.hpp: Re-break lines.
2949
2950 2009-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
2951
2952         PR libstdc++/40184
2953         * include/bits/locale_classes.h (locale::facet::_S_lc_ctype_c_locale):
2954         Declare...
2955         * config/locale/gnu/c_locale.cc: ... and define.
2956         * config/locale/generic/c_locale.cc: Define.
2957         * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
2958         Use it.
2959         * testsuite/22_locale/locale/cons/40184.cc: New.
2960
2961 2009-05-18  Paolo Carlini  <paolo.carlini@oracle.com>
2962
2963         PR libstdc++/40192
2964         * include/bits/stl_construct.h (struct _Destroy_aux): Add.
2965         (_Destroy(_ForwardIterator, _ForwardIterator)): Use the latter.
2966         * testsuite/23_containers/vector/40192.cc: New.
2967
2968 2009-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
2969
2970         * include/bits/stl_pair.h (swap): Do not swap rvalues.
2971         * include/bits/stl_deque.h (swap): Likewise.
2972         * include/bits/stl_list.h (swap): Likewise.
2973         * include/bits/stl_vector.h (swap): Likewise.
2974         * include/bits/stl_bvector.h (swap): Likewise.
2975         * include/bits/stl_queue.h (swap): Likewise.
2976         * include/bits/stl_stack.h (swap): Likewise.
2977         * include/bits/stl_tree.h (swap): Likewise.
2978         * include/bits/stl_map.h (swap): Likewise.
2979         * include/bits/stl_multimap.h (swap): Likewise.
2980         * include/bits/stl_set.h (swap): Likewise.
2981         * include/bits/stl_multiset.h (swap): Likewise.
2982         * include/bits/forward_list.h (swap): Likewise.
2983         * include/bits/unique_ptr.h (swap): Likewise.
2984         * include/debug/deque (swap): Likewise.
2985         * include/debug/list (swap): Likewise.
2986         * include/debug/vector (swap): Likewise.
2987         * include/debug/map.h (swap): Likewise.
2988         * include/debug/multimap.h (swap): Likewise.
2989         * include/debug/set.h (swap): Likewise.
2990         * include/debug/multiset.h (swap): Likewise.
2991         * include/debug/unordered_map (swap): Likewise.
2992         * include/debug/unordered_set (swap): Likewise.
2993         * include/ext/vstring.h (swap): Likewise.
2994         * include/tr1_impl/unordered_map (swap): Likewise.
2995         * include/tr1_impl/hashtable (swap): Likewise.
2996         * include/tr1_impl/unordered_set (swap): Likewise.
2997         * include/std/tuple (swap): Likewise.
2998         * include/std/mutex (swap): Likewise.
2999         * include/std/thread (swap): Likewise.
3000         (operator<<): Only output to lvalue streams.
3001         * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: Remove.
3002         * testsuite/23_containers/headers/forward_list/synopsis.cc: Adjust.
3003         * testsuite/23_containers/deque/requirements/dr438/
3004         assign_neg.cc: Adjust line numbers.
3005         * testsuite/23_containers/deque/requirements/dr438/
3006         constructor_1_neg.cc: Likewise.
3007         * testsuite/23_containers/deque/requirements/dr438/
3008         constructor_2_neg.cc: Likewise.
3009         * testsuite/23_containers/deque/requirements/dr438/
3010         insert_neg.cc: Likewise.
3011         * testsuite/23_containers/list/requirements/dr438/
3012         assign_neg.cc: Likewise.
3013         * testsuite/23_containers/list/requirements/dr438/
3014         constructor_1_neg.cc: Likewise.
3015         * testsuite/23_containers/list/requirements/dr438/
3016         constructor_2_neg.cc: Likewise.
3017         * testsuite/23_containers/list/requirements/dr438/
3018         insert_neg.cc: Likewise.
3019         * testsuite/23_containers/vector/requirements/dr438/
3020         assign_neg.cc: Likewise.
3021         * testsuite/23_containers/vector/requirements/dr438/
3022         constructor_1_neg.cc: Likewise.
3023         * testsuite/23_containers/vector/requirements/dr438/
3024         constructor_2_neg.cc: Likewise.
3025         * testsuite/23_containers/vector/requirements/dr438/
3026         insert_neg.cc: Likewise.
3027         * testsuite/30_threads/thread/swap/1.cc: Swap with lvalue and also
3028         test non-member swap.
3029         * testsuite/30_threads/thread/swap/2.cc: Remove.
3030
3031 2009-05-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
3032
3033         * include/std/mutex: Move std::lock_error to ...
3034         * src/compatibility.cc: Here.
3035         * src/mutex.cc: Likewise.
3036         * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: Add checks
3037         for lock types and remove std::lock_error check.
3038
3039 2009-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
3040
3041         * testsuite/21_strings/basic_string/40160.cc: Remove spurious
3042         double include.
3043
3044 2009-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
3045
3046         PR libstdc++/40160
3047         * include/debug/formatter.h (_Parameter::_Parameter): Don't use
3048         typeid when __GXX_RTTI is undefined.
3049         * src/debug.cc (_Error_formatter::_Parameter::_M_print_field): Adjust
3050         for null _M_variant._M_iterator._M_type,
3051         _M_variant._M_iterator._M_seq_type, _M_variant._M_sequence._M_type.
3052         * testsuite/21_strings/basic_string/40160.cc: New.
3053
3054 2009-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
3055
3056         * testsuite/26_numerics/random/discrete_distribution/cons/
3057         num_xbound_fun.cc: Minor tweaks.
3058         * testsuite/26_numerics/random/piecewise_constant_distribution/
3059         cons/initlist_fun.cc: Likewise
3060         * testsuite/26_numerics/random/piecewise_constant_distribution/
3061         cons/num_xbound_fun.cc: Likewise
3062         * testsuite/26_numerics/random/piecewise_linear_distribution/
3063         cons/initlist_fun.cc: Likewise
3064         * testsuite/26_numerics/random/piecewise_linear_distribution/
3065         cons/num_xbound_fun.cc: Likewise
3066
3067 2009-05-15  David Billinghurst <billingd@gcc.gnu.org>
3068
3069         PR libstdc++/36211
3070         * testsuite/lib/libstdc++.exp(v3_target_compile):  Add
3071         cxxldflags to additional_flags rather than cxx_final.
3072
3073 2009-05-15  David Billinghurst <billingd@gcc.gnu.org>
3074
3075         * testsuite/26_numerics/random/discrete_distribution/cons/
3076         num_xbound_fun.cc: Replace non-standard macro M_PI with constant pi.
3077         * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
3078         initlist_fun.cc: Likewise
3079         * testsuite/26_numerics/random/piecewise_constant_distribution/cons/
3080         num_xbound_fun.cc: Likewise
3081         * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
3082         initlist_fun.cc: Likewise
3083         * testsuite/26_numerics/random/piecewise_linear_distribution/cons/
3084         num_xbound_fun.cc: Likewise
3085
3086 2009-05-14  Paolo Carlini  <paolo.carlini@oracle.com>
3087
3088         PR libstdc++/40123
3089         * random.tcc (independent_bits_engine<>::operator()()): Use
3090         result_type(1), not 1UL.
3091
3092         * random.tcc (independent_bits_engine<>::operator()()): Use _M_b.max()
3093         and _M_b.min(), instead of this->max() and this->min().
3094
3095         * random.h (_ShiftMin1): Remove, adjust everywhere.
3096
3097         * random.tcc: Minor cosmetic changes.
3098
3099 2009-05-14  Paolo Carlini  <paolo.carlini@oracle.com>
3100
3101         * include/bits/random.tcc (cauchy_distribution<>::
3102         operator()(_UniformRandomNumberGenerator&, const param_type&)):
3103         Avoid M_PI, a glibc extension.
3104
3105 2009-05-13  Ben Elliston  <bje@au.ibm.com>
3106
3107         * include/Makefile.am (PCHFLAGS): Remove -Winvalid-pch.
3108         * include/Makefile.in: Likewise.
3109
3110 2009-05-13  Ben Elliston  <bje@au.ibm.com>
3111
3112         * src/compatibility.cc (_ZTIe, _ZTIPe, _ZTIPKe): Change type to
3113         const void * const.
3114
3115 2009-05-12  Edward Smith-Rowland  <3dw4rd@verizon.net>
3116
3117         * doc/xml/manual/status_cxx200x.xml: Note missing constexpr for
3118         random number engines, complex, bitset, array, time utilities, and
3119         char_traits.
3120
3121 2009-05-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
3122
3123         * libsupc++/exception: Include nested_exception.h in C++0x mode.
3124         * libsupc++/nested_exception.h: New.
3125         * libsupc++/Makefile.am: Add new header.
3126         * libsupc++/Makefile.in: Regenerate.
3127         * testsuite/18_support/nested_exception/rethrow_nested.cc: New.
3128         * testsuite/18_support/nested_exception/throw_with_nested.cc: New.
3129         * testsuite/18_support/nested_exception/cons.cc: New.
3130         * testsuite/18_support/nested_exception/nested_ptr.cc: New.
3131         * testsuite/18_support/nested_exception/rethrow_if_nested.cc: New.
3132         * doc/xml/manual/status_cxx200x.xml: Adjust.
3133
3134 2009-05-07  Paolo Carlini  <paolo.carlini@oracle.com>
3135
3136         * include/ext/throw_allocator.h: Remove redundant include.
3137
3138 2009-05-07  Paolo Carlini  <paolo.carlini@oracle.com>
3139
3140         * include/ext/throw_allocator.h (throw_allocator_base): Avoid
3141         out of line member functions definitions.
3142         (throw_allocator_base::_S_g, _S_map, _S_throw_prob, _S_label):
3143         Remove, use static locals instead.
3144         (throw_allocator_base::do_check_allocated, print_to_string): Declare.
3145         * src/throw_allocator.cc: New.
3146         * src/Makefile.am: Add.
3147         * config/abi/pre/gnu.ver: Add exports.
3148         * src/Makefile.in: Regenerate.
3149
3150 2009-05-07  Paolo Carlini  <paolo.carlini@oracle.com>
3151
3152         * configure.ac: Bump libtool_VERSION to 6:12:0.
3153         * configure: Regenerate.
3154
3155 2009-05-07  Matthias Klose  <doko@ubuntu.com>
3156
3157         PR libstdc++/40038
3158         * src/math_stubs_long_double.cc: Add ceill.
3159
3160 2009-05-06  Johannes Singler  <singler@ira.uka.de>
3161
3162         PR libstdc++/39546
3163         * include/parallel/algo.h (find_switch):
3164         Parametrize binder2nd with const T& instead of T.
3165         * testsuite/25_algorithms/find/39546.cc: new test case
3166
3167 2009-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
3168
3169         Revert:
3170         2009-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
3171
3172         * acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): Do link tests when
3173         possible.
3174         * configure: Regenerate.
3175
3176 2009-05-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3177
3178         PR libstdc++/39909
3179         * include/std/mutex (__get_once_functor_lock, __get_once_mutex,
3180         __set_once_functor_lock_ptr): Replace global lock object with local
3181         locks on global mutex.
3182         * src/mutex.cc (__get_once_functor_lock, __get_once_mutex,
3183         __set_once_functor_lock_ptr): Likewise, keeping old function to
3184         preserve ABI.
3185         (__once_proxy): Use pointer to local lock if set, global lock
3186         otherwise.
3187         * config/abi/pre/gnu.ver: Add new symbols to new ABI version.
3188         * testsuite/util/testsuite_abi.cc: Add GLIBCX_3.4.12 version.
3189         * testsuite/30_threads/call_once/39909.cc: New.
3190
3191 2009-05-03  Jan Hubicka  <jh@suse.cz>
3192
3193         * include/parallel/settings.h (get): Mark const.
3194         * libsupc++/unwind-cxx.h (__cxa_call_terminate): Mark throw ().
3195         * libsupc++/eh_call.cc (__cxa_call_terminate): Mark throw ().
3196         * config/io/basic_file_stdio.cc (sys_open, is_open, fd, seekoff): Mark
3197         throw ().
3198         * config/io/basic_file_stdio.h (__basic_file, sys_open): Mark throw ().
3199         (is_open, fd): Mark pure and throw ().
3200         (seekoff): Mark throw ().
3201
3202 2009-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
3203
3204         * acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): Do link tests when
3205         possible.
3206         * configure: Regenerate.
3207
3208 2009-05-02  Jan Hubicka  <jh@suse.cz>
3209
3210         * include/tr1_impl/functional_hash.h (explicit specializations of ()
3211         operator): Mark pure.
3212
3213 2009-04-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
3214
3215         * scripts/create_testsuite_files: Remove thread directory.
3216
3217 2009-04-28  Benjamin Kosnik  <bkoz@redhat.com>
3218
3219         PR libstdc++/39868
3220         * scripts/run_doxygen: Uncomment removal of includes.
3221         (problematic): Rewrite __cxxabiv1 namespace to abi.
3222
3223 2009-04-26  Paolo Carlini  <paolo.carlini@oracle.com>
3224
3225         Revert the last commit.
3226
3227 2009-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
3228
3229         * include/std/mutex (__get_once_functor_lock, __get_once_mutex):
3230         Replace global lock object with local locks on global mutex.
3231         * src/mutex.cc: Likewise.
3232         * config/abi/pre/gnu.ver: Adjust.
3233         * testsuite/30_threads/call_once/call_once2.cc: New.
3234
3235 2009-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
3236
3237         PR libstdc++/39880
3238         PR libstdc++/39881
3239         PR libstdc++/39882
3240         * include/std/system_error (is_error_code_enum<errc>): Remove.
3241         (error_condition<>::error_condition(_ErrorCodeEnum,)
3242         error_condition<>::operator=(_ErrorCodeEnum)): Use make_error_condition.
3243         (error_code<>::error_code(_ErrorCodeEnum,),
3244         error_code<>::operator=(_ErrorCodeEnum)): Use make_error_code.
3245         * testsuite/19_diagnostics/system_error/39880.cc: New.
3246         * testsuite/19_diagnostics/error_condition/modifiers/39881.cc:
3247         Likewise.
3248         * testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
3249         * testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
3250         * testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
3251         * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
3252         Adjust.
3253         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
3254         Likewise.
3255         * testsuite/19_diagnostics/error_code/cons/1.cc: Likewise.
3256         * testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise.
3257         * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
3258         * testsuite/19_diagnostics/error_code/operators/not_equal.cc:
3259         Likewise.
3260         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
3261         * testsuite/19_diagnostics/system_error/cons-1.cc: Likewise.
3262         * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
3263         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
3264
3265 2009-04-24  Benjamin Kosnik  <bkoz@redhat.com>
3266
3267         * doc/xml/authors.xml: Add space.
3268         * doc/xml/faq.xml: Update links.
3269         * doc/xml/manual/intro.xml: Same.
3270         * doc/xml/manual/abi.xml: Update.
3271         * doc/xml/manual/appendix_contributing.xml: Fix typo.
3272         * doc/xml/manual/status_cxxtr1.xml: Update links.
3273         * doc/xml/manual/status_cxx1998.xml: Same.
3274         * doc/xml/manual/status_cxx200x.xml: Same.
3275
3276 2009-04-22  Jan Hubicka  <jh@suse.cz>
3277
3278         * include/tr1_impl/array (at): Do not use builtin_expect.
3279         * include/ext/throw_allocator.h (allocate): Likewise.
3280         * include/ext/pool_allocator.h (allocate): Likweise.
3281         * include/ext/bitmap_allocator.h (allocate): Likewise.
3282         * include/ext/rc_string_base.h (_S_construct): Likewise.
3283         * include/ext/malloc_allocator.h (allocate): Likewise.
3284         * include/ext/mt_allocator.h (allocate): Likewise.
3285         * include/ext/sso_string_base.h (_M_construct): Likewise.
3286         * include/bits/basic_string.tcc (_S_construct): Likewise.
3287
3288 2009-04-22  Jan Hubicka  <jh@suse.cz>
3289
3290         * include/c_std/cstdlib (abort, exit, _Exit): Mark noreturn throw ().
3291         (atexit, atoll, stroll, strtoull): Mark throw ()
3292         * include/c_std/cstdio (snprintf, vsnprintf, vscanf): Mark throw ().
3293         * include/c_std/cwchar (wcstold, wcstoll, wcstoull): Mark throw ().
3294         * include/c_global/cstdlib (abort, exit, _Exit): Mark noreturn throw ().
3295         (atexit, atoll, stroll, strtoull): Mark throw ()
3296         * include/c_global/cstdio (snprintf, vsnprintf, vscanf): Mark throw ().
3297         * include/c_wchar/cstdio (snprintf, vsnprintf, vscanf): Mark throw ().
3298
3299 2009-04-21  Jan Hubicka  <jh@suse.cz>
3300
3301         * include/ext/atomicity.h
3302         (__exchange_and_add, __atomic_add): Mark throw ().
3303         * config/os/aix/atomicity.h
3304         * config/os/aix/atomicity.h
3305         * config/os/irix/atomicity.h
3306         * config/cpu/cris/atomicity.h
3307         * config/cpu/m68k/atomicity.h
3308         * config/cpu/hppa/atomicity.h
3309         * config/cpu/sparc/atomicity.h
3310         * config/cpu/i386/atomicity.h
3311         * config/cpu/i486/atomicity.h
3312         * config/cpu/sh/atomicity.h
3313         * config/cpu/generic/atomicity_mutex/atomicity.h
3314         * config/cpu/generic/atomicity_builtins/atomicity.h
3315         (__exchange_and_add, __atomic_add): Mark throw ().
3316
3317 2009-04-21  Paolo Carlini  <paolo.carlini@oracle.com>
3318
3319         PR libstdc++/39835
3320         * include/bits/random.h: Avoid the badname __alpha (and, for
3321         consistency, __beta too).
3322         * include/bits/random.tcc: Likewise.
3323
3324 2009-04-19  Jan Hubicka  <jh@suse.cz>
3325
3326         * include/c_compatibility/stdatomic.h (__atomic_flag_for_address): Use
3327         _GLIBCXX_NOTHROW.
3328
3329 2009-04-19  Jan Hubicka  <jh@suse.cz>
3330
3331         * include/c_compatibility/stdatomic.h
3332         (atomic_flag_test_and_set_explicit, atomic_flag_clear_explicit,
3333         __atomic_flag_wait_explicit): Use _GLIBCXX_NOTHROW.
3334         * include/bits/c++config (_GLIBCXX_NOTHROW): New.
3335
3336 2009-04-18  Jan Hubicka  <jh@suse.cz>
3337
3338         * libsupc++/eh_type.cc (__cxa_current_exception_type) Mark throw().
3339         * libsupc++/unwind-cxx.h (__cxa_get_globals,
3340         __cxa_get_globals_fast): Mark const.
3341         (__cxa_get_exception_ptr): Mark pure.
3342         (__cxa_bad_cast, __cxa_bad_typeid): Mark noreturn
3343         (__terminate): Makr throw ().
3344         * libsupc++/exception (terminate): Mark throw().
3345         (uncaught_exception): Mark pure.
3346         * libsupc++/eh_ptr.cc (_M_safe_bool_dummy): Mark throw().
3347         * libsupc++/guard.cc (__cxa_guard_abort, __cxa_guard_release):
3348         Mark throw().
3349         * libsupc++/eh_terminate.cc (__terminate, terminate): Mark throw().
3350         * libsupc++/vec.cc (__cxa_vec_cleanup): Mark throw().
3351         * libsupc++/cxxabi.h (__cxa_vec_cleanup, __cxa_guard_release,
3352         __cxa_guard_abort): Mark throw ().
3353         (__cxa_pure_virtual): Mark noreturn.
3354         (__cxa_current_exception_type): Mark throw and pure.
3355         * libsupc++/exception_ptr.h (operator ==, !=, _M_get, !, ==,
3356         __cxa_exception_type): Mark pure.
3357         (_M_safe_bool_dummy): Mark pure and const.
3358
3359 2009-04-18  Jan Hubicka  <jh@suse.cz>
3360
3361         * src/pool_allocator.cc (_M_get_free_list, _M_get_mutex): Mark throw ()
3362         * src/mt_allocator.cc (_M_reclaim_block, _M_reclaim_block,
3363         _M_destroy_thread_key): Mark throw ()
3364         * debug.cc (_M_get_mutex, _M_attach_single, _M_detach_single,
3365         _M_singular, _M_can_compare _M_get_mutex, _M_message,
3366         _M_get_max_length): Mark throw ().
3367         * include/debug/formatter.h (_M_message, _M_format_word,
3368         _M_get_max_length): Mark throw ().
3369         * include/debug/safe_base.h (_M_get_mutex, _M_attach_single,
3370         _M_detach_single): Mark throw ().
3371         (_M_singular, _M_can_compare, _M_get_mutex): Mark pure and throw ().
3372         * include/ext/pool_allocator.h (_M_get_free_list): Mark const and
3373         throw ()
3374         (_M_get_mutex): Mark throw ().
3375         * include/ext/mt_allocator.h (_M_reclaim_block): Mark throw ();
3376         (_M_destroy_thread_key): Mark CONST and throw.
3377         * include/bits/stl_list.h (swap, transfer, reverse, hook, unhook): Mark
3378         throw ().
3379
3380 2009-04-18  Jan Hubicka  <jh@suse.cz>
3381
3382         * src/condition_variable.cc (condition_variable,
3383         condition_variable_any constructors): Mark throw()
3384         * src/hash.cc (operator() for long double, string, and wstring): Mark
3385         throw ().
3386         * src/strstream.cc (strstreambuf constructors, freeze, str, pcount,
3387         _M_setup, rdbuf, str): Mark throw ().
3388         * src/chrono.cc (new): Mark throw ().
3389         * include/std/system_error (system_category, generic_category): Mark
3390         throw () and const.
3391         * include/std/chrono (now): Mark throw ().
3392         * include/std/condition_variable (condition_variable,
3393         ~condition_variable, condition_variable_any,
3394         ~condition_variable_any): Mark throw ().
3395         * include/std/mutex (mutex): Mark throw ().
3396         * include/bits/stl_list.h (swap, transfer, reverse, hook, unhook): Mark
3397         throw.
3398         * include/bits/functional_hash.h (operator()  on size_t): Mark pure
3399         and throw ().
3400         * include/bits/locale_facets.tcc (__verify_grouping): Mark pure.
3401         * include/bits/locale_classes.h (_S_initialize_once,
3402         _S_clone_c_locale): Mark throw ().
3403         (_S_get_c_name): Mark const and throw ().
3404         (_M_id, _M_compare, _M_transform, _M_compare, _M_transform): Mark
3405         throw ().
3406         * include/bits/locale_facets.h (__convert_to_v explicit instances):
3407         Mark throw ().
3408         (_M_convert_to_wmask, _M_initialize_ctype, _S_format_float): Mark
3409         throw ().
3410         * include/bits/ios_base.h (_M_dispose_callbacks, _M_init, imbue,
3411         ios_base): Mark throw ()
3412         * include/bits/locale_facets_nonio.h (_M_put): Mark throw.
3413         * include/backward/strstream (strstreambuf constructors): Mark throw ().
3414         (str, freeze, _M_setupf): Mark throw ().
3415         (pcount): Mark pure and throw ().
3416         (rdbuf): Mark const and throw ().
3417
3418 2009-04-18  Paolo Carlini  <paolo.carlini@oracle.com>
3419
3420         PR libstdc++/39802
3421         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int
3422         (_InIter, _InIter, ios_base&, ios_base::iostate&, _ValueT&)):
3423         Always accept negative values, for unsigned types too.
3424         * testsuite/22_locale/num_get/get/char/39802.cc: New.
3425         * testsuite/22_locale/num_get/get/wchar_t/39802.cc: Likewise.
3426
3427 2009-04-18  Jan Hubicka  <jh@suse.cz>
3428
3429         * include/debug/formater.h: Include bits/c++config.h.
3430         (_M_error): Mark noreturn.
3431         * include/bits/c++config (_GLIBCXX_PURE, _GLIBCXX_CONST,
3432         _GLIBCXX_NORETURN): New.
3433         * include/bits/stl_tree.h (_Rb_tree_increment, _Rb_tree_increment,
3434         _Rb_tree_decrement, _Rb_tree_decrement, _Rb_tree_black_count):
3435         Mark pure.
3436         * include/c_compatibility/stdatomic.h
3437         (atomic_flag_test_and_set_explicit, atomic_flag_clear_explicit,
3438         __atomic_flag_wait_explicit, __atomic_flag_for_address):
3439         Mark by throw ().
3440         * src/atomic.cc (atomic_flag_test_and_set_explicit,
3441         atomic_flag_clear_explicit, __atomic_flag_wait_explicit,
3442         __atomic_flag_for_address): Mark by throw ().
3443
3444 2009-04-17  Uros Bizjak  <ubizjak@gmail.com>
3445
3446         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
3447
3448 2009-04-16  Jan Hubicka  <jh@suse.cz>
3449
3450         * tree.cc (_Rb_tree_increment, _Rb_tree_decrement,
3451         _Rb_tree_rebalance_for_erase, _Rb_tree_black_count): Mark nothrow;
3452         update uses of _Rb_tree_rotate_left, _Rb_tree_rotate_right.
3453         (_Rb_tree_rotate_left, _Rb_tree_rotate_right): Make wrapper and break
3454         out body to ...
3455         (local_Rb_tree_rotate_left, local_Rb_tree_rotate_right): New static
3456         functions.
3457         * stl_tree.h (_Rb_tree_increment, _Rb_tree_decrement,
3458         _Rb_tree_insert_and_rebalance, _Rb_tree_rebalance_for_erase,
3459         _Rb_tree_black_count): Mark nothrow.
3460
3461 2009-04-16  Paolo Carlini  <paolo.carlini@oracle.com>
3462
3463         * include/bits/forward_list.h: Remove default std::allocator<_Tp>
3464         from base classes.
3465         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
3466
3467 2009-04-15  Benjamin Kosnik  <bkoz@redhat.com>
3468
3469         * doc/html: Regenerate.
3470
3471 2009-04-15  Benjamin Kosnik  <bkoz@redhat.com>
3472
3473         * doc/xml/manual/status_cxx1998.xml: Update to new table style.
3474
3475         * doc/xml/gnu/gpl-3.0.xml: Add or adjust dbhtml markup.
3476         * doc/xml/gnu/fdl-1.2.xml: Same.
3477         * doc/xml/manual/numerics.xml: Same.
3478         * doc/xml/manual/concurrency.xml: Same.
3479         * doc/xml/manual/intro.xml: Same.
3480         * doc/xml/manual/status_cxxtr1.xml: Same.
3481         * doc/xml/manual/containers.xml: Same.
3482         * doc/xml/manual/io.xml: Same.
3483         * doc/xml/manual/utilities.xml: Same.
3484         * doc/xml/manual/support.xml: Same.
3485         * doc/xml/manual/using.xml: Same.
3486         * doc/xml/manual/localization.xml: Same.
3487         * doc/xml/manual/locale.xml: Same.
3488         * doc/xml/manual/extensions.xml: Same.
3489         * doc/xml/manual/appendix_contributing.xml: Same.
3490         * doc/xml/manual/diagnostics.xml: Same.
3491         * doc/xml/manual/status_cxx200x.xml: Same.
3492
3493 2009-04-15  Benjamin Kosnik  <bkoz@redhat.com>
3494
3495         * doc/xml/manual/status_cxxtr1.xml: Update to new table style.
3496         * doc/xml/manual/status_cxx200x.xml: Adjust.
3497
3498 2009-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3499
3500         * doc/xml/spine.xml: Remove unused license entity, update
3501         copyright year.
3502
3503         * doc/xml/manual/spine.xml: Markup for primary index terms.
3504         * doc/xml/manual/numerics.xml: Same.
3505         * doc/xml/manual/intro.xml: Same.
3506         * doc/xml/manual/containers.xml: Same.
3507         * doc/xml/manual/io.xml: Same.
3508         * doc/xml/manual/appendix_porting.xml: Same.
3509         * doc/xml/manual/utilities.xml: Same.
3510         * doc/xml/manual/support.xml: Same.
3511         * doc/xml/manual/localization.xml: Same.
3512         * doc/xml/manual/strings.xml: Same.
3513         * doc/xml/manual/extensions.xml: Same.
3514         * doc/xml/manual/appendix_contributing.xml: Same.
3515         * doc/xml/manual/diagnostics.xml: Same.
3516         * doc/xml/manual/algorithms.xml: Same.
3517         * doc/xml/manual/appendix_free.xml: Same.
3518         * doc/xml/manual/iterators.xml: Same.
3519
3520         * doc/xml/gnu/gpl-3.0.xml: Fix xml markup regressions.
3521         * doc/xml/gnu/fdl-1.2.xml: Same.
3522
3523         * doc/xml/manual/status_cxx200x.xml: Re-write.
3524
3525 2009-04-09  Paolo Carlini  <paolo.carlini@oracle.com>
3526
3527         PR libstdc++/39629 (final bits)
3528         * include/bits/random.h (subtract_with_carry_engine<>::_S_modulus):
3529         Remove, consistently use __detail::_Shift<_UIntType, __w>::__value.
3530         * include/bits/random.tcc (shuffle_order_engine<>::operator()()):
3531         Fix formula for __j.
3532         * include/bits/random.tcc (operator==(const normal_distribution<>&,
3533         const normal_distribution<>&): Remove.
3534         * include/bits/random.h (operator==(const uniform_int_distribution<>&,
3535         const uniform_int_distribution<>&), operator==(const
3536         uniform_real_distribution<>&, const uniform_real_distribution<>&),
3537         operator==(const normal_distribution<>&, const normal_distribution<>&),
3538         operator==(const lognormal_distribution<>&,
3539         const lognormal_distribution<>&), operator==(const
3540         chi_squared_distribution<>&, const chi_squared_distribution<>&),
3541         operator==(const cauchy_distribution<>&, const cauchy_distribution<>&),
3542         operator==(const fisher_distribution<>&, const fisher_distribution<>&),
3543         operator==(const student_t_distribution<>&,
3544         const student_t_distribution<>&), operator==(const
3545         bernoulli_distribution<>&, const bernoulli_distribution<>&),
3546         operator==(const binomial_distribution<>&, const
3547         binomial_distribution<>&), operator==(const geometric_distribution<>&,
3548         const geometric_distribution<>&), operator==(const
3549         negative_binomial_distribution<>&, const
3550         negative_binomial_distribution<>&), operator==(const
3551         poisson_distribution<>&, const poisson_distribution<>&),
3552         operator==(const exponential_distribution<>&,
3553         const exponential_distribution<>&), operator==(const
3554         gamma_distribution<>&, const gamma_distribution<>&), operator==(const
3555         weibull_distribution<>&, const weibull_distribution<>&),
3556         operator==(const extreme_value_distribution<>&,
3557         const extreme_value_distribution<>&), operator==(const
3558         discrete_distribution<>&, const discrete_distribution<>&),
3559         operator==(const piecewise_constant_distribution<>&,
3560         const piecewise_constant_distribution<>&), operator==(const
3561         piecewise_linear_distribution<>&, const
3562         piecewise_linear_distribution<>&)): Remove.
3563         * testsuite/26_numerics/random/uniform_real_distribution/operators/
3564         serialize.cc: Remove.
3565         * testsuite/26_numerics/random/piecewise_constant_distribution/
3566         operators/serialize.cc: Likewise.
3567         * testsuite/26_numerics/random/chi_squared_distribution/operators/
3568         serialize.cc: Likewise.
3569         * testsuite/26_numerics/random/normal_distribution/operators/
3570         serialize.cc: Likewise.
3571         * testsuite/26_numerics/random/uniform_int_distribution/operators/
3572         serialize.cc: Likewise.
3573         * testsuite/26_numerics/random/poisson_distribution/operators/
3574         serialize.cc: Likewise.
3575         * testsuite/26_numerics/random/bernoulli_distribution/operators/
3576         serialize.cc: Likewise.
3577         * testsuite/26_numerics/random/discrete_distribution/operators/
3578         serialize.cc: Likewise.
3579         * testsuite/26_numerics/random/weibull_distribution/operators/
3580         serialize.cc: Likewise.
3581         * testsuite/26_numerics/random/negative_binomial_distribution/
3582         operators/serialize.cc: Likewise.
3583         * testsuite/26_numerics/random/cauchy_distribution/operators/
3584         serialize.cc: Likewise.
3585         * testsuite/26_numerics/random/gamma_distribution/operators/
3586         serialize.cc: Likewise.
3587         * testsuite/26_numerics/random/fisher_f_distribution/operators/
3588         serialize.cc: Likewise.
3589         * testsuite/26_numerics/random/exponential_distribution/operators/
3590         serialize.cc: Likewise.
3591         * testsuite/26_numerics/random/lognormal_distribution/operators/
3592         serialize.cc: Likewise.
3593         * testsuite/26_numerics/random/binomial_distribution/operators/
3594         serialize.cc: Likewise.
3595         * testsuite/26_numerics/random/extreme_value_distribution/
3596         operators/serialize.cc: Likewise.
3597         * testsuite/26_numerics/random/piecewise_linear_distribution/
3598         operators/serialize.cc: Likewise.
3599         * testsuite/26_numerics/random/student_t_distribution/operators/
3600         serialize.cc: Likewise.
3601         * testsuite/26_numerics/random/geometric_distribution/operators/
3602         serialize.cc: Likewise.
3603
3604         * include/bits/random.h (linear_congruential_engine<>::seed(_Gen&,
3605         true_type), linear_congruential_engine<>::seed(_Gen&, false_type),
3606         mersenne_twister_engine<>::seed(_Gen&,
3607         true_type), mersenne_twister_engine<>::seed(_Gen&, false_type),
3608         subtract_with_carry_engine<>::seed(_Gen&,
3609         true_type), subtract_with_carry_engine<>::seed(_Gen&, false_type)):
3610         Remove, unused.
3611         * include/bits/random.tcc (linear_congruential_engine<>::
3612         seed(_Gen&, false_type): Likewise.
3613
3614 2009-04-09  Nick Clifton  <nickc@redhat.com>
3615
3616         * src/allocator-inst.cc: Change copyright header to refer to
3617         version 3 of the GNU General Public License with version 3.1
3618         of the GCC Runtime Library Exception and to point readers at
3619         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3620         web page.
3621         * config/abi/compatibility.h: Likewise.
3622         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
3623         * config/abi/pre/gnu.ver: Likewise.
3624         * config/allocator/bitmap_allocator_base.h: Likewise.
3625         * config/allocator/malloc_allocator_base.h: Likewise.
3626         * config/allocator/mt_allocator_base.h: Likewise.
3627         * config/allocator/new_allocator_base.h: Likewise.
3628         * config/allocator/pool_allocator_base.h: Likewise.
3629         * config/cpu/alpha/atomic_word.h: Likewise.
3630         * config/cpu/arm/cxxabi_tweaks.h: Likewise.
3631         * config/cpu/cris/atomic_word.h: Likewise.
3632         * config/cpu/cris/atomicity.h: Likewise.
3633         * config/cpu/generic/atomic_word.h: Likewise.
3634         * config/cpu/generic/atomicity_builtins/atomicity.h: Likewise.
3635         * config/cpu/generic/atomicity_mutex/atomicity.h: Likewise.
3636         * config/cpu/generic/cpu_defines.h: Likewise.
3637         * config/cpu/generic/cxxabi_tweaks.h: Likewise.
3638         * config/cpu/hppa/atomicity.h: Likewise.
3639         * config/cpu/i386/atomicity.h: Likewise.
3640         * config/cpu/i486/atomicity.h: Likewise.
3641         * config/cpu/ia64/atomic_word.h: Likewise.
3642         * config/cpu/m68k/atomicity.h: Likewise.
3643         * config/cpu/powerpc/atomic_word.h: Likewise.
3644         * config/cpu/powerpc/cpu_defines.h: Likewise.
3645         * config/cpu/sh/atomicity.h: Likewise.
3646         * config/cpu/sparc/atomic_word.h: Likewise.
3647         * config/cpu/sparc/atomicity.h: Likewise.
3648         * config/io/basic_file_stdio.cc: Likewise.
3649         * config/io/basic_file_stdio.h: Likewise.
3650         * config/io/c_io_stdio.h: Likewise.
3651         * config/locale/darwin/ctype_members.cc: Likewise.
3652         * config/locale/generic/c++locale_internal.h: Likewise.
3653         * config/locale/generic/c_locale.cc: Likewise.
3654         * config/locale/generic/c_locale.h: Likewise.
3655         * config/locale/generic/codecvt_members.cc: Likewise.
3656         * config/locale/generic/collate_members.cc: Likewise.
3657         * config/locale/generic/ctype_members.cc: Likewise.
3658         * config/locale/generic/messages_members.cc: Likewise.
3659         * config/locale/generic/messages_members.h: Likewise.
3660         * config/locale/generic/monetary_members.cc: Likewise.
3661         * config/locale/generic/numeric_members.cc: Likewise.
3662         * config/locale/generic/time_members.cc: Likewise.
3663         * config/locale/generic/time_members.h: Likewise.
3664         * config/locale/gnu/c++locale_internal.h: Likewise.
3665         * config/locale/gnu/c_locale.cc: Likewise.
3666         * config/locale/gnu/c_locale.h: Likewise.
3667         * config/locale/gnu/codecvt_members.cc: Likewise.
3668         * config/locale/gnu/collate_members.cc: Likewise.
3669         * config/locale/gnu/ctype_members.cc: Likewise.
3670         * config/locale/gnu/messages_members.cc: Likewise.
3671         * config/locale/gnu/messages_members.h: Likewise.
3672         * config/locale/gnu/monetary_members.cc: Likewise.
3673         * config/locale/gnu/numeric_members.cc: Likewise.
3674         * config/locale/gnu/time_members.cc: Likewise.
3675         * config/locale/gnu/time_members.h: Likewise.
3676         * config/locale/ieee_1003.1-2001/c_locale.cc: Likewise.
3677         * config/locale/ieee_1003.1-2001/c_locale.h: Likewise.
3678         * config/locale/ieee_1003.1-2001/messages_members.cc: Likewise.
3679         * config/locale/ieee_1003.1-2001/messages_members.h: Likewise.
3680         * config/os/aix/atomic_word.h: Likewise.
3681         * config/os/aix/atomicity.h: Likewise.
3682         * config/os/aix/ctype_base.h: Likewise.
3683         * config/os/aix/ctype_inline.h: Likewise.
3684         * config/os/aix/ctype_noninline.h: Likewise.
3685         * config/os/aix/os_defines.h: Likewise.
3686         * config/os/bsd/darwin/ctype_base.h: Likewise.
3687         * config/os/bsd/darwin/ctype_inline.h: Likewise.
3688         * config/os/bsd/darwin/ctype_noninline.h: Likewise.
3689         * config/os/bsd/darwin/os_defines.h: Likewise.
3690         * config/os/bsd/freebsd/ctype_base.h: Likewise.
3691         * config/os/bsd/freebsd/ctype_inline.h: Likewise.
3692         * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
3693         * config/os/bsd/freebsd/os_defines.h: Likewise.
3694         * config/os/bsd/netbsd/ctype_base.h: Likewise.
3695         * config/os/bsd/netbsd/ctype_inline.h: Likewise.
3696         * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
3697         * config/os/bsd/netbsd/os_defines.h: Likewise.
3698         * config/os/djgpp/ctype_base.h: Likewise.
3699         * config/os/djgpp/ctype_inline.h: Likewise.
3700         * config/os/djgpp/ctype_noninline.h: Likewise.
3701         * config/os/djgpp/os_defines.h: Likewise.
3702         * config/os/generic/ctype_base.h: Likewise.
3703         * config/os/generic/ctype_inline.h: Likewise.
3704         * config/os/generic/ctype_noninline.h: Likewise.
3705         * config/os/generic/error_constants.h: Likewise.
3706         * config/os/generic/os_defines.h: Likewise.
3707         * config/os/gnu-linux/ctype_base.h: Likewise.
3708         * config/os/gnu-linux/ctype_inline.h: Likewise.
3709         * config/os/gnu-linux/ctype_noninline.h: Likewise.
3710         * config/os/gnu-linux/os_defines.h: Likewise.
3711         * config/os/hpux/ctype_base.h: Likewise.
3712         * config/os/hpux/ctype_inline.h: Likewise.
3713         * config/os/hpux/ctype_noninline.h: Likewise.
3714         * config/os/hpux/os_defines.h: Likewise.
3715         * config/os/irix/atomic_word.h: Likewise.
3716         * config/os/irix/atomicity.h: Likewise.
3717         * config/os/irix/irix5.2/ctype_base.h: Likewise.
3718         * config/os/irix/irix5.2/ctype_inline.h: Likewise.
3719         * config/os/irix/irix5.2/ctype_noninline.h: Likewise.
3720         * config/os/irix/irix5.2/os_defines.h: Likewise.
3721         * config/os/irix/irix6.5/ctype_base.h: Likewise.
3722         * config/os/irix/irix6.5/ctype_inline.h: Likewise.
3723         * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
3724         * config/os/irix/irix6.5/os_defines.h: Likewise.
3725         * config/os/mingw32/ctype_base.h: Likewise.
3726         * config/os/mingw32/ctype_inline.h: Likewise.
3727         * config/os/mingw32/ctype_noninline.h: Likewise.
3728         * config/os/mingw32/error_constants.h: Likewise.
3729         * config/os/mingw32/os_defines.h: Likewise.
3730         * config/os/newlib/ctype_base.h: Likewise.
3731         * config/os/newlib/ctype_inline.h: Likewise.
3732         * config/os/newlib/ctype_noninline.h: Likewise.
3733         * config/os/newlib/os_defines.h: Likewise.
3734         * config/os/qnx/qnx6.1/ctype_base.h: Likewise.
3735         * config/os/qnx/qnx6.1/ctype_inline.h: Likewise.
3736         * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
3737         * config/os/qnx/qnx6.1/os_defines.h: Likewise.
3738         * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
3739         * config/os/solaris/solaris2.7/ctype_inline.h: Likewise.
3740         * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
3741         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
3742         * config/os/tpf/ctype_base.h: Likewise.
3743         * config/os/tpf/ctype_inline.h: Likewise.
3744         * config/os/tpf/ctype_noninline.h: Likewise.
3745         * config/os/tpf/os_defines.h: Likewise.
3746         * config/os/uclibc/ctype_base.h: Likewise.
3747         * config/os/uclibc/ctype_inline.h: Likewise.
3748         * config/os/uclibc/ctype_noninline.h: Likewise.
3749         * config/os/uclibc/os_defines.h: Likewise.
3750         * config/os/vxworks/ctype_base.h: Likewise.
3751         * config/os/vxworks/ctype_inline.h: Likewise.
3752         * config/os/vxworks/ctype_noninline.h: Likewise.
3753         * config/os/vxworks/os_defines.h: Likewise.
3754         * include/backward/auto_ptr.h: Likewise.
3755         * include/backward/backward_warning.h: Likewise.
3756         * include/backward/binders.h: Likewise.
3757         * include/backward/hash_fun.h: Likewise.
3758         * include/backward/hash_map: Likewise.
3759         * include/backward/hash_set: Likewise.
3760         * include/backward/hashtable.h: Likewise.
3761         * include/backward/strstream: Likewise.
3762         * include/bits/algorithmfwd.h: Likewise.
3763         * include/bits/allocator.h: Likewise.
3764         * include/bits/atomic_0.h: Likewise.
3765         * include/bits/atomic_2.h: Likewise.
3766         * include/bits/atomicfwd_c.h: Likewise.
3767         * include/bits/atomicfwd_cxx.h: Likewise.
3768         * include/bits/basic_ios.h: Likewise.
3769         * include/bits/basic_ios.tcc: Likewise.
3770         * include/bits/basic_string.h: Likewise.
3771         * include/bits/basic_string.tcc: Likewise.
3772         * include/bits/boost_concept_check.h: Likewise.
3773         * include/bits/c++config: Likewise.
3774         * include/bits/char_traits.h: Likewise.
3775         * include/bits/codecvt.h: Likewise.
3776         * include/bits/concept_check.h: Likewise.
3777         * include/bits/cpp_type_traits.h: Likewise.
3778         * include/bits/deque.tcc: Likewise.
3779         * include/bits/forward_list.h: Likewise.
3780         * include/bits/forward_list.tcc: Likewise.
3781         * include/bits/fstream.tcc: Likewise.
3782         * include/bits/functexcept.h: Likewise.
3783         * include/bits/functional_hash.h: Likewise.
3784         * include/bits/gslice.h: Likewise.
3785         * include/bits/gslice_array.h: Likewise.
3786         * include/bits/hashtable.h: Likewise.
3787         * include/bits/indirect_array.h: Likewise.
3788         * include/bits/ios_base.h: Likewise.
3789         * include/bits/istream.tcc: Likewise.
3790         * include/bits/list.tcc: Likewise.