OSDN Git Service

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