OSDN Git Service

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