OSDN Git Service

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