OSDN Git Service

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