OSDN Git Service

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