OSDN Git Service

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