OSDN Git Service

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