OSDN Git Service

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