OSDN Git Service

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