OSDN Git Service

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