OSDN Git Service

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