OSDN Git Service

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