* libsupc++/hash_bytes.cc (_Hash_bytes): Replace "clength" with
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob5bb212529c2556f027da5e6f8c11d116447c2000
1 2010-09-28  DJ Delorie  <dj@redhat.com>
3         * libsupc++/hash_bytes.cc (_Hash_bytes): Replace "clength" with
4         "len" for "unusual sizeof(size_t)" case.
6 2010-09-28  Matt Austern  <austern@google.com>
8         * testsuite/20_util/hash/chi2_quality.cc: New.
9         * testsuite/20_util/hash/quality.cc: Likewise.
11 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
13         * include/bits/allocator.h (allocator_arg_t, allocator_arg,
14         uses_allocator): Add.
15         * testsuite/20_util/uses_allocator/value.cc: New.
16         * testsuite/20_util/uses_allocator/requirements/typedefs.cc: Likewise.
17         * testsuite/20_util/uses_allocator/requirements/
18         explicit_instantiation.cc: Likewise.
19         * include/bits/stl_queue.h (uses_allocator<queue>,
20         uses_allocator<priority_queue>): Add.
21         * include/bits/stl_stack.h (uses_allocator<stack>): Likewise.
23         * include/bits/stl_pair.h (piecewise_construct): Add.
24         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
25         line number.
27 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
29         * include/c_std/cmath (__pow_helper): Remove.
30         (__cmath_power): Remove declaration.
31         * include/c_global/cmath: Likewise.
32         * include/std/complex (__complex_pow_unsigned): Add.
33         (pow(const complex<_Tp>&, int)): Use the latter.
34         * include/c_std/cmath.tcc: Remove file.
35         * include/c_global/cmath.tcc: Likewise.
36         * acinclude.m4: Adjust.
37         * include/Makefile.am: Likewise.
38         * configure: Regenerate.
39         * include/Makefile.in: Likewise.
41 2010-09-22  David Krauss  <potswa@mac.com>
43         PR libstdc++/45628
44         * include/bits/fstream.tcc (basic_filebuf::underflow): Add state
45         transition to avoid modality requiring seekoff(0,ios::cur).
46         (basic_filebuf::pbackfail): Likewise.
47         (basic_filebuf::overflow): Likewise.
48         (basic_filebuf::_M_seek): Avoid minor unnecessary conversion.
49         (basic_filebuf::seekoff): Remove code to _M_get_ext_pos; make
50         (0, ios::cur) a special case preserving buffer contents.
51         (basic_filebuf::_M_get_ext_pos): New function to obtain status
52         about codecvt extern_t buffer for overflow and seekoff.
53         * include/std/fstream (basic_filebuf::_M_get_ext_pos): Likewise.
54         * config/abi/pre/gnu.ver: Export new symbols.
55         * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: New,
56         verifies that seekoff(0, ios::cur) preserves buffers.
57         * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise.
58         for codecvt case. More lenient as it may still flush put area.
59         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Modify to
60         check that seekoff is not required between read and write.
61         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
62         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Remove.
63         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Likewise.
64         * testsuite/util/testsuite_character.h (codecvt::do_length): Comply
65         with 22.2.1.5.2/10 "Returns ... the LARGEST value in the range..."
67 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
69         * include/bits/functional_hash.h (__hash_base): Add.
70         (hash): Derive from __hash_base instead.
71         * include/debug/bitset (hash): Likewise.
72         * include/debug/vector (hash): Likewise.
73         * include/std/system_error (hash): Likewise.
74         * include/std/thread (hash): Likewise.
75         * include/std/bitset (hash): Likewise.
76         * include/profile/bitset (hash): Likewise.
77         * include/profile/vector (hash): Likewise.
78         * include/bits/basic_string.h (hash): Likewise.
79         * include/bits/stl_bvector.h (hash): Likewise.
80         * include/std/typeindex (hash): Do not derive from unary_function,
81         add result_type and argument_type typedefs; trim includes.
83 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
85         * include/std/typeindex: New.
86         * include/Makefile.am: Add.
87         * include/Makefile.in: Regenerate.
88         * include/precompiled/stdc++.h: Add.
89         * testsuite/20_util/typeindex/comparison_operators.cc: New.
90         * testsuite/20_util/typeindex/hash.cc: Likewise.
91         * testsuite/20_util/typeindex/hash_code.cc: Likewise.
92         * testsuite/20_util/typeindex/name.cc: Likewise.
94         * testsuite/18_support/type_info/hash_code.cc: Tweak.
96 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
98         * src/hash_bytes.cc: Move...
99         * libsupc++/hash_bytes.cc: ... here.
100         * src/Makefile.am: Adjust.
101         * libsupc++/Makefile.am: Likewise.
102         * config/abi/pre/gnu.ver: Likewise.
103         * libsupc++/typeinfo (type_info::hash_code): Add in C++0x mode.
104         * src/Makefile.in: Regenerate.
105         * libsupc++/Makefile.am: Likewise.
106         * testsuite/18_support/type_info/hash_code.cc: New.
108 2010-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
110         PR libstdc++/45711
111         * src/Makefile.am (stamp-debug): Also adjust possibly-relative
112         file names in MKDIR_P, and, for consistency, also top_build_prefix.
113         * src/Makefile.in: Regenerate.
115 2010-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
117         * include/ext/throw_allocator.h
118         (hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
119         (hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
120         * include/parallel/set_operations.h (__symmetric_difference_func):
121         Uglify remaining arguments to __count, __first_empty, _M_invoke.
122         (__difference_func): Likewise for __count.
123         * include/profile/impl/profiler_node.h
124         (__object_info_base::__write): Uglify parameter.
126 2010-09-19  Paolo Carlini  <paolo.carlini@oracle.com>
128         * src/hash_bytes.cc: Compile load_bytes and shift_mix only when
129         __SIZEOF_SIZE_T__ == 8.
131 2010-09-17  Luc Hermitte  <hermitte@free.fr>
132             Paolo Carlini  <paolo.carlini@oracle.com>
134         PR libstdc++/45713
135         * include/std/bitset: Fix _GLIBCXX_BITSET_WORDS macro.
136         * testsuite/23_containers/bitset/45713.cc: New.
138 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
140         * include/bits/stl_raw_storage_iter.h (raw_storage_iterator<>::
141         operator=(const _Tp&)): Use std::__addressof.
143 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
145         * include/std/system_error (system_error::system_error(error_code),
146         system_error(error_code, const string&), system_error(int, const
147         error_category&), system_error(int, const error_category&,
148         const string&)): Fix for what() to return the NBTS recommended in
149         the Note in 19.5.6.2/14.
150         * testsuite/19_diagnostics/system_error/cons-1.cc: Adjust.
151         * testsuite/19_diagnostics/system_error/what-1.cc: Likewise.
152         * testsuite/19_diagnostics/system_error/what-2.cc: Likewise.
153         * testsuite/19_diagnostics/system_error/what-big.cc: Likewise.
154         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
156         * testsuite/19_diagnostics/system_error/what-4.cc: Tidy includes.
158 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
160         * include/std/complex (complex<float>::operator=(float),
161         complex<float>::operator+=(float),
162         complex<float>::operator-=(float),
163         complex<double>::operator=(double),
164         complex<double>::operator+=(double),
165         complex<double>::operator-=(double),
166         complex<long double>::operator=(long double),
167         complex<long double>::operator+=(long double),
168         complex<long double>::operator-=(long double)): Simplify a tad,
169         just forward to the underlying __complex__ T operators, as
170         operator*= and operator/= already do.
172         * include/std/complex (complex<float>, complex<double>,
173         complex<long double>): Simplify spelling of return types, just
174         say complex, instead of complex<float>, complex<double>,
175         complex<long double>, respectively.
177 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
179         * testsuite/lib/libstdc++.exp,([check_v3_target_namedlocale]):
180         Clean temporary source file once compiled.
182 2010-09-15  Paolo Carlini  <paolo.carlini@oracle.com>
184         * doc/xml/manual/prerequisites.xml: Update "C" library locale
185         information prerequisites.
187 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
189         * testsuite/lib/libstdc++.exp, dg-options.exp
190         ([check_v3_target_namedlocale]): Take the name of the required locale.
191         * testsuite/27_io/objects/wchar_t/9520.cc, 11.cc, 13.cc, 10.cc, 12.cc:
192         Specify locale name to check.
193         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc, 13007-1.cc,
194         13007-2.cc: Likewise.
195         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc, 13007-1.cc,
196         13007-2.cc: Likewise.
197         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
198         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
199         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
200         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
201         Likewise.
202         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
203         Likewise.
204         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc, 2.cc:
205         Likewise.
206         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc, 9322.cc,
207         13582-2.cc, 2.cc, 13582-3.cc, 12868.cc, 14975-2.cc, 13007.cc: Likewise.
208         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc, 13171-4.cc,
209         9322.cc, 13582-2.cc, 2.cc, 14975-1.cc, 13007.cc, 13171-1.cc: Likewise.
210         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc,
211         11305-2.cc, 11305-3.cc, 11305-4.cc: Likewise.
212         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc, 1.cc, 2.cc,
213         3.cc, 11389-1.cc, 4.cc, 11389-2.cc, 5.cc, 11389-3.cc, 11389-4.cc:
214         Likewise.
215         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
216         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
217         Likewise.
218         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
219         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
220         Likewise.
221         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise.
222         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
223         * testsuite/22_locale/money_put/put/wchar_t/1.cc, 2.cc, 3.cc,
224         wrapped_locale.cc, wrapped_env.cc: Likewise.
225         * testsuite/22_locale/money_put/put/char/1.cc, 2.cc, 3.cc, 9780-3.cc,
226         wrapped_locale.cc, wrapped_env.cc: Likewise.
227         * testsuite/22_locale/facet/2.cc: Likewise.
228         * testsuite/22_locale/collate/hash/wchar_t/2.cc, wrapped_locale.cc,
229         wrapped_env.cc: Likewise.
230         * testsuite/22_locale/collate/hash/char/2.cc, wrapped_locale.cc,
231         wrapped_env.cc: Likewise.
232         * testsuite/22_locale/collate/compare/wchar_t/1.cc, 2.cc, 3.cc,
233         wrapped_locale.cc, wrapped_env.cc: Likewise.
234         * testsuite/22_locale/collate/compare/char/1.cc, 2.cc, 3.cc,
235         wrapped_locale.cc, wrapped_env.cc: Likewise.
236         * testsuite/22_locale/collate/transform/wchar_t/2.cc, 3.cc,
237         wrapped_locale.cc, wrapped_env.cc: Likewise.
238         * testsuite/22_locale/collate/transform/char/2.cc, 3.cc,
239         wrapped_locale.cc, wrapped_env.cc: Likewise.
240         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc,
241         wrapped_env.cc: Likewise.
242         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc,
243         wrapped_env.cc: Likewise.
244         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc, wrapped_env.cc:
245         Likewise.
246         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc,
247         wrapped_env.cc: Likewise.
248         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc,
249         wrapped_env.cc: Likewise.
250         * testsuite/22_locale/ctype/widen/wchar_t/2.cc, 3.cc,
251         wrapped_locale.cc, wrapped_env.cc: Likewise.
252         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc,
253         wrapped_env.cc: Likewise.
254         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc, wrapped_locale.cc,
255         wrapped_env.cc: Likewise.
256         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc,
257         wrapped_env.cc: Likewise.
258         * testsuite/22_locale/ctype/is/wchar_t/2.cc,wrapped_locale.cc,
259         wrapped_env.cc: Likewise
260         * testsuite/22_locale/ctype/is/char/2.cc, wrapped_locale.cc,
261         wrapped_env.cc: Likewise.
262         * testsuite/22_locale/time_put/put/wchar_t/2.cc, 3.cc, 4.cc, 6.cc,
263         7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc: Likewise.
264         * testsuite/22_locale/time_put/put/char/2.cc, 3.cc, 4.cc, 6.cc,
265         9780-1.cc, 7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc:
266         Likewise.
267         * testsuite/22_locale/money_get/get/wchar_t/1.cc, 2.cc, 3.cc, 4.cc,
268         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
269         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise.
270         * testsuite/22_locale/money_get/get/char/1.cc, 2.cc, 3.cc, 4.cc,
271         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
272         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise
273         * testsuite/22_locale/num_put/put/wchar_t/1.cc, 3.cc, 5.cc,
274         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
275         * testsuite/22_locale/num_put/put/char/1.cc, 3.cc, 5.cc, 9780-2.cc,
276         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
277         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc, wrapped_locale.cc,
278         3.cc, 4.cc, wrapped_env.cc: Likewise.
279         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc,
280         wrapped_env.cc: Likewise.
281         testsuite/22_locale/codecvt/length/wchar_t/2.cc, wrapped_locale.cc,
282         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
283         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc,
284         wrapped_env.cc: Likewise.
285         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc,
286         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
287         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc,
288         wrapped_env.cc: Likewise.
289         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc, wrapped_locale.cc,
290         3.cc, 4.cc, wrapped_env.cc: Likewise.
291         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc,
292         wrapped_env.cc: Likewise.
293         * testsuite/22_locale/codecvt/in/wchar_t/2.cc, wrapped_locale.cc, 3.cc,
294         4.cc, 7.cc, 8.cc, 9.cc, wrapped_env.cc: Likewise.
295         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc,
296         wrapped_env.cc: Likewise.
297         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc,
298         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
299         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc,
300         wrapped_env.cc: Likewise.
301         * testsuite/22_locale/codecvt/out/wchar_t/2.cc, wrapped_locale.cc,
302         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
303         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc,
304         wrapped_env.cc: Likewise.
305         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
306         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc,
307         wrapped_env.cc: Likewise.
308         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc,
309         wrapped_env.cc: Likewise.
310         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc,
311         wrapped_locale.cc, wrapped_env.cc: Likewise.
312         * testsuite/22_locale/time_get/get_monthname/char/2.cc,
313         wrapped_locale.cc, wrapped_env.cc: Likewise.
314         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc,
315         wrapped_env.cc: Likewise.
316         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc,
317         wrapped_env.cc: Likewise.
318         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc,
319         wrapped_locale.cc, wrapped_env.cc: Likewise.
320         * testsuite/22_locale/time_get/get_weekday/char/2.cc, 38081-1.cc,
321         wrapped_locale.cc, 38081-2.cc, wrapped_env.cc: Likewise.
322         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc, 26701.cc,
323         2.cc, wrapped_locale.cc, 4.cc, wrapped_env.cc: Likewise.
324         * testsuite/22_locale/time_get/get_date/char/12750.cc, 26701.cc,
325         2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise.
326         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc, 2.cc,
327         wrapped_locale.cc, wrapped_env.cc: Likewise.
328         * testsuite/22_locale/time_get/get_time/char/1.cc, 2.cc,
329         wrapped_locale.cc, wrapped_env.cc: Likewise.
330         * testsuite/22_locale/num_get/get/wchar_t/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
331         wrapped_env.cc, wrapped_locale.cc: Likewise.
332         * testsuite/22_locale/num_get/get/char/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
333         wrapped_env.cc, wrapped_locale.cc: Likewise.
334         * testsuite/22_locale/locale/cons/38368.cc, 2.cc, 4.cc, 5.cc, 7.cc,
335         12658_thread-1.cc, 12658_thread-2.cc, 40184.cc, 29217.cc, 38365.cc:
336         Likewise.
337         * testsuite/22_locale/locale/global_locale_objects/14071.cc, 2.cc:
338         Likewise.
339         * testsuite/22_locale/moneypunct/40712.cc: Likewise.
340         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc,
341         wrapped_locale.cc, wrapped_env.cc: Likewise.
342         * testsuite/22_locale/moneypunct/members/char/2.cc, wrapped_locale.cc,
343         wrapped_env.cc: Likewise.
344         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
345         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
346         * testsuite/22_locale/messages/members/char/1.cc, 2.cc,
347         wrapped_locale.cc, 3.cc, wrapped_env.cc: Likewise.
348         * testsuite/22_locale/numpunct/members/wchar_t/2.cc, wrapped_locale.cc,
349         wrapped_env.cc: Likewise.
350         * testsuite/22_locale/numpunct/members/char/2.cc, wrapped_locale.cc,
351         3.cc, wrapped_env.cc: Likewise.
352         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
354 2010-09-14  Matt Austern  <austern@google.com>
355             Paolo Carlini  <paolo.carlini@oracle.com>
357         * testsuite/performance/21_strings/hash.cc: New.
359 2010-09-14  Paolo Carlini  <paolo.carlini@oracle.com>
361         * testsuite/performance/21_strings/string_append.cc: Rename to...
362         * testsuite/performance/21_strings/append-1.cc: ... this.
363         * testsuite/performance/21_strings/string_append_2.cc: Rename to...
364         * testsuite/performance/21_strings/append-2.cc: ... this.
365         * testsuite/performance/21_strings/string_cons_input_iterator.cc:
366         Rename to...
367         * testsuite/performance/21_strings/cons_input_iterator.cc: ... this.
368         * testsuite/performance/21_strings/string_copy_cons_and_dest.cc:
369         Rename to...
370         * testsuite/performance/21_strings/copy_cons_and_dest.cc: ... this.
371         * testsuite/performance/21_strings/string_find.cc: Rename to...
372         * testsuite/performance/21_strings/find.cc: ... this.
374 2010-09-13  Benjamin Kosnik  <bkoz@redhat.com>
376         * doc/xml/api.xml: Add title.
377         * doc/xml/manual/spine.xml: Same.
378         * doc/xml/spine.xml: Same.
380 2010-09-13  Matt Austern  <austern@google.com>
382         * src/hash_bytes.cc: New file, exports _Hash_bytes (a Murmur hash),
383         and _Fnv_hash_bytes (based on a FNV algorithm).
384         * src/compatibility-c++0x.cc (hash<string>::operator(),
385         hash<const string&>::operator(), hash<wstring>::operator(),
386         hash<const wstring&>::operator(), hash<error_code>::operator()):
387         Adjust, use _Hash_bytes.
388         * include/std/system_error (hash<error_code>::operator()): Likewise.
389         * include/std/thread (hash<thread::id>operator()): Likewise.
390         * include/std/bitset (hash<bitset>operator()): Likewise.
391         * include/bits/basic_string.h (hash<string>::operator(),
392         hash<wstring>::operator(), hash<u16string>::operator(),
393         hash<u32string>::operator()): Adjust.
394         * include/bits/vector.tcc (hash<vector<bool>>::operator()): Adjust.
395         * include/bits/functional_hash.h (_Hash_bytes, _Fnv_hash_bytes):
396         Declare.
397         (struct _Hash_impl, struct _Fnv_hash_impl): Add, use _Hash_bytes
398         and _Fnv_hash_bytes, respectively.
399         (hash<float>::operator(), hash<double>::operator()): Adjust.
400         * config/abi/pre/gnu.ver: Add exports.
401         * src/Makefile.am: Add.
402         * src/Makefile.in: Regenerate.
404 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
406         * include/bits/forward_list.h (forward_list<>::resize(size_type,
407         value_type)): Fix signature, per LWG 1340.
408         * include/bits/forward_list.tcc: Adjust definition.
410 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
412         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: New.
413         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
415 2010-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
417         * src/hash-string-aux.cc: Remove. Move contents...
418         * src/hash_tr1.cc: ... here.
419         * src/compatibility-c++0x.cc: ... and here.
421 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
423         PR libstdc++/45613
424         * include/bits/random.tcc: Add missing include guards.
425         * include/bits/random.h: Likewise.
426         * include/tr1/random.tcc: Likewise.
428 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
430         * libsupc++/cxxabi.h: Uglify nothrow to __nothrow__; fix a few
431         inconsistent uglifications everywhere.
433 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
434             Marc Glisse  <marc.glisse@normalesup.org>
436         PR libstdc++/45549
437         * include/bits/cpp_type_traits.h (__is_iterator_helper): Rename to
438         __has_iterator_category.
439         (__is_iterator): Adjust.
440         * include/bits/stl_iterator_base_types.h (__iterator_traits): Add
441         in C++0x mode, use the latter.
442         (iterator_traits): In C++0x mode, derive from the latter.
443         * include/bits/stl_iterator_base_funcs.h (next, prev): Remove
444         enable_if on the return type.
446 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
448         PR libstdc++/45398
449         * include/std/atomic (atomic<_TP*>::store): Define.
451         * include/std/atomic (atomic<_TP*>::load, exchange): Define inline.
453 2010-09-06  Jason Merrill  <jason@redhat.com>
455         * testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to
456         abi_check FAIL message.
458 2010-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
460         PR libstdc++/45347
461         * include/ext/concurrence.h: Add #pragma GCC system_header.
463 2010-09-03  François Dumont <francois.cppdevs@free.fr>
465         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Fix so
466         that it really detects when debug mode is activated.
467         * testsuite/util/debug/construct_neg.h, insert_neg.h, assign_neg.h:
468         Remove, content moved...
469         * testsuite/util/debug/checks.h: ... here. Modify checks to take the
470         type of the container to test rather than an intermediate container
471         type traits helper.
472         * testsuite/23_containers/unordered_map/debug/insert1_neg.cc: Update to
473         use dg-require-debug-mode when necessary and use new check functions.
474         * testsuite/23_containers/unordered_map/debug/construct1_neg.cc:
475         Likewise.
476         * testsuite/23_containers/unordered_map/debug/construct2_neg.cc:
477         Likewise.
478         * testsuite/23_containers/unordered_map/debug/insert2_neg.cc: Likewise.
479         * testsuite/23_containers/unordered_map/debug/construct3_neg.cc:
480         Likewise.
481         * testsuite/23_containers/unordered_map/debug/insert3_neg.cc: Likewise.
482         * testsuite/23_containers/unordered_map/debug/construct4_neg.cc:
483         Likewise.
484         * testsuite/23_containers/unordered_map/debug/insert4_neg.cc: Likewise.
485         * testsuite/23_containers/multimap/debug/insert1_neg.cc: Likewise.
486         * testsuite/23_containers/multimap/debug/construct1_neg.cc: Likewise.
487         * testsuite/23_containers/multimap/debug/construct2_neg.cc: Likewise.
488         * testsuite/23_containers/multimap/debug/insert2_neg.cc: Likewise.
489         * testsuite/23_containers/multimap/debug/construct3_neg.cc: Likewise.
490         * testsuite/23_containers/multimap/debug/insert3_neg.cc: Likewise.
491         * testsuite/23_containers/multimap/debug/construct4_neg.cc: Likewise.
492         * testsuite/23_containers/multimap/debug/insert4_neg.cc: Likewise.
493         * testsuite/23_containers/set/debug/insert1_neg.cc: Likewise.
494         * testsuite/23_containers/set/debug/construct1_neg.cc: Likewise.
495         * testsuite/23_containers/set/debug/construct2_neg.cc: Likewise.
496         * testsuite/23_containers/set/debug/insert2_neg.cc: Likewise.
497         * testsuite/23_containers/set/debug/construct3_neg.cc: Likewise.
498         * testsuite/23_containers/set/debug/insert3_neg.cc: Likewise.
499         * testsuite/23_containers/set/debug/construct4_neg.cc: Likewise.
500         * testsuite/23_containers/set/debug/insert4_neg.cc: Likewise.
501         * testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc:
502         Likewise.
503         * testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc:
504         Likewise.
505         * testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc:
506         Likewise.
507         * testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc:
508         Likewise.
509         * testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc:
510         Likewise.
511         * testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc:
512         Likewise.
513         * testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc:
514         Likewise.
515         * testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc:
516         Likewise.
517         * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise.
518         * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise.
519         * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise.
520         * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise.
521         * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise.
522         * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise.
523         * testsuite/23_containers/vector/debug/construct4_neg.cc: Likewise.
524         * testsuite/23_containers/vector/debug/assign4_neg.cc: Likewise.
525         * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise.
526         * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise.
527         * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise.
528         * testsuite/23_containers/vector/debug/insert4_neg.cc: Likewise.
529         * testsuite/23_containers/unordered_set/debug/insert1_neg.cc: Likewise.
530         * testsuite/23_containers/unordered_set/debug/construct1_neg.cc:
531         Likewise.
532         * testsuite/23_containers/unordered_set/debug/construct2_neg.cc:
533         Likewise.
534         * testsuite/23_containers/unordered_set/debug/insert2_neg.cc: Likewise.
535         * testsuite/23_containers/unordered_set/debug/construct3_neg.cc:
536         Likewise.
537         * testsuite/23_containers/unordered_set/debug/insert3_neg.cc: Likewise.
538         * testsuite/23_containers/unordered_set/debug/construct4_neg.cc:
539         Likewise.
540         * testsuite/23_containers/unordered_set/debug/insert4_neg.cc: Likewise.
541         * testsuite/23_containers/deque/debug/assign1_neg.cc: Likewise.
542         * testsuite/23_containers/deque/debug/construct1_neg.cc: Likewise.
543         * testsuite/23_containers/deque/debug/construct2_neg.cc: Likewise.
544         * testsuite/23_containers/deque/debug/assign2_neg.cc: Likewise.
545         * testsuite/23_containers/deque/debug/construct3_neg.cc: Likewise.
546         * testsuite/23_containers/deque/debug/assign3_neg.cc: Likewise.
547         * testsuite/23_containers/deque/debug/construct4_neg.cc: Likewise.
548         * testsuite/23_containers/deque/debug/assign4_neg.cc: Likewise.
549         * testsuite/23_containers/deque/debug/insert1_neg.cc: Likewise.
550         * testsuite/23_containers/deque/debug/insert2_neg.cc: Likewise.
551         * testsuite/23_containers/deque/debug/insert3_neg.cc: Likewise.
552         * testsuite/23_containers/deque/debug/insert4_neg.cc: Likewise.
553         * testsuite/23_containers/multiset/debug/insert1_neg.cc: Likewise.
554         * testsuite/23_containers/multiset/debug/construct1_neg.cc: Likewise.
555         * testsuite/23_containers/multiset/debug/construct2_neg.cc: Likewise.
556         * testsuite/23_containers/multiset/debug/insert2_neg.cc: Likewise.
557         * testsuite/23_containers/multiset/debug/construct3_neg.cc: Likewise.
558         * testsuite/23_containers/multiset/debug/insert3_neg.cc: Likewise.
559         * testsuite/23_containers/multiset/debug/construct4_neg.cc: Likewise.
560         * testsuite/23_containers/multiset/debug/insert4_neg.cc: Likewise.
561         * testsuite/23_containers/list/debug/assign1_neg.cc: Likewise.
562         * testsuite/23_containers/list/debug/construct1_neg.cc: Likewise.
563         * testsuite/23_containers/list/debug/construct2_neg.cc: Likewise.
564         * testsuite/23_containers/list/debug/assign2_neg.cc: Likewise.
565         * testsuite/23_containers/list/debug/construct3_neg.cc: Likewise.
566         * testsuite/23_containers/list/debug/assign3_neg.cc: Likewise.
567         * testsuite/23_containers/list/debug/construct4_neg.cc: Likewise.
568         * testsuite/23_containers/list/debug/assign4_neg.cc: Likewise.
569         * testsuite/23_containers/list/debug/insert1_neg.cc: Likewise.
570         * testsuite/23_containers/list/debug/insert2_neg.cc: Likewise.
571         * testsuite/23_containers/list/debug/insert3_neg.cc: Likewise.
572         * testsuite/23_containers/list/debug/insert4_neg.cc: Likewise.
573         * testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc:
574         Likewise.
575         * testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc:
576         Likewise.
577         * testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc:
578         Likewise.
579         * testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc:
580         Likewise.
581         * testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc:
582         Likewise.
583         * testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc:
584         Likewise.
585         * testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc:
586         Likewise.
587         * testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc:
588         Likewise.
589         * testsuite/23_containers/map/debug/insert1_neg.cc: Likewise.
590         * testsuite/23_containers/map/debug/construct1_neg.cc: Likewise.
591         * testsuite/23_containers/map/debug/construct2_neg.cc: Likewise.
592         * testsuite/23_containers/map/debug/insert2_neg.cc: Likewise.
593         * testsuite/23_containers/map/debug/construct3_neg.cc: Likewise.
594         * testsuite/23_containers/map/debug/insert3_neg.cc: Likewise.
595         * testsuite/23_containers/map/debug/construct4_neg.cc: Likewise.
596         * testsuite/23_containers/map/debug/insert4_neg.cc: Likewise.
598         * testsuite/23_containers/unordered_map/debug/cont_traits.h: Remove.
599         * testsuite/23_containers/unordered_map/debug/debug_cont_traits.h:
600         Likewise.
601         * testsuite/23_containers/multimap/debug/cont_traits.h: Likewise.
602         * testsuite/23_containers/multimap/debug/debug_cont_traits.h: Likewise.
603         * testsuite/23_containers/set/debug/cont_traits.h: Likewise.
604         * testsuite/23_containers/set/debug/debug_cont_traits.h: Likewise.
605         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h:
606         Likewise.
607         * testsuite/23_containers/unordered_multimap/debug/
608         debug_cont_traits.h: Likewise.
609         * testsuite/23_containers/vector/debug/cont_traits.h: Likewise.
610         * testsuite/23_containers/vector/debug/debug_cont_traits.h: Likewise.
611         * testsuite/23_containers/unordered_set/debug/cont_traits.h: Likewise.
612         * testsuite/23_containers/unordered_set/debug/debug_cont_traits.h:
613         Likewise.
614         * testsuite/23_containers/deque/debug/cont_traits.h: Likewise.
615         * testsuite/23_containers/deque/debug/debug_cont_traits.h: Likewise.
616         * testsuite/23_containers/multiset/debug/cont_traits.h: Likewise.
617         * testsuite/23_containers/multiset/debug/debug_cont_traits.h: Likewise.
618         * testsuite/23_containers/list/debug/cont_traits.h: Likewise.
619         * testsuite/23_containers/list/debug/debug_cont_traits.h: Likewise.
620         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h:
621         Likewise.
622         * testsuite/23_containers/unordered_multiset/debug/
623         debug_cont_traits.h: Likewise.
624         * testsuite/23_containers/map/debug/cont_traits.h: Likewise.
625         * testsuite/23_containers/map/debug/debug_cont_traits.h: Likewise.
627         * testsuite/21_strings/basic_string/element_access/char: Tidy.
628         * testsuite/21_strings/basic_string/element_access/wchar_t: Likewise.
630 2010-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
632         PR libstdc++/40974
633         * include/Makefile.am: Add -nostdinc++ to PCHFLAGS.
634         * include/Makefile.in: Regenerate.
636 2010-09-01  Christopher Yeleighton  <giecrilj@stegny.2a.pl>
637             Paolo Carlini  <paolo.carlini@oracle.com>
639         PR libstdc++/45488
640         * include/bits/stl_algobase.h (lower_bound): Clean-up a tad, move
641         two variables inside the main loop.
642         * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range):
643         Likewise.
645 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
647         PR libstdc++/44480
648         * include/bits/hashtable.h (_Hashtable<>::_M_begin_bucket_index):
649         Add, caching the index of the first non-empty bucket.
650         (begin, cbegin): Use it.
651         (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator, ...),
652         _Hashtable(const _Hashtable&), _Hashtable(_Hashtable&&),
653         swap(_Hashtable&), clear): Adjust.
654         (_M_insert_bucket, _M_insert, erase(const_iterator),
655         erase(const key_type&), _M_rehash): Update it.
657         * include/bits/hashtable.h (_Hashtable<>::_M_erase): Remove.
658         (erase(const_iterator)): Inline the latter.
660 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
662         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
663         Fix test01 return type to void.
664         * testsuite/util/exception/safety.h: Avoid -Wall -m32 warnings.
665         * testsuite/util/replacement_memory_operators.h: Likewise.
667 2010-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
669         * testsuite/23_containers/bitset/invalidation: Move...
670         * testsuite/23_containers/bitset/debug/invalidation: ... here.
671         * testsuite/23_containers/deque/invalidation: Move...
672         * testsuite/23_containers/deque/debug/invalidation: ... here.
673         * testsuite/23_containers/list/invalidation: Move...
674         * testsuite/23_containers/list/debug/invalidation: ... here.
675         * testsuite/23_containers/map/invalidation: Move...
676         * testsuite/23_containers/map/debug/invalidation: ... here.
677         * testsuite/23_containers/multimap/invalidation: Move...
678         * testsuite/23_containers/multimap/debug/invalidation: ... here.
679         * testsuite/23_containers/set/invalidation: Move...
680         * testsuite/23_containers/set/debug/invalidation: ... here.
681         * testsuite/23_containers/multiset/invalidation: Move...
682         * testsuite/23_containers/multiset/debug/invalidation: ... here.
683         * testsuite/23_containers/vector/invalidation: Move...
684         * testsuite/23_containers/vector/debug/invalidation: ... here.
686 2010-08-29  François Dumont  <francois.cppdevs@free.fr>
688         * include/bits/stl_algobase.h (_Iter_base):  Move...
689         * include/bits/stl_iterator_base_types.h: ...here.
690         * include/debug/functions.h (__check_valid_range, __check_string,
691         __check_sorted): Fix to not depend on _GLIBCXX_DEBUG; include
692         formatter.h and use formatting macros for a consistent debug result.
693         * include/debug/formatter.h (__check_singular): Declare; do not
694         include debug.h.
695         * include/debug/debug.h: Do not include formatter.h.
696         * include/debug/safe_iterator.h (_Safe_iterator::_Base_Iterator)
697         rename to iterator_type.
698         (__gnu_debug::__base): Add.
699         * include/debug/set.h: Use everywhere __gnu_debug::__base once
700         iterator range valided.
701         * include/debug/unordered_map: Likewise.
702         * include/debug/multiset.h: Likewise.
703         * include/debug/vector: Likewise.
704         * include/debug/unordered_set: Likewise.
705         * include/debug/deque: Likewise.
706         * include/debug/map.h: Likewise.
707         * include/debug/string: Likewise.
708         * include/debug/list: Likewise.
709         * include/debug/multimap.h: Likewise.
710         * testsuite/23_containers/util/debug/assign_neg.h: New test cases on
711         debug checks performed on container assign operation.
712         * testsuite/23_containers/util/debug/construct_neg.h: New test cases
713         on debug checks on constructors.
714         * testsuite/23_containers/util/debug/insert_neg.h: New test cases on
715         debug checks performed on container insert operations.
716         * testsuite/23_containers/unordered_map/debug/cont_traits.h,
717         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
718         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
719         insert3_neg.cc, insert4_neg.cc: New.
720         * testsuite/23_containers/multimap/debug/cont_traits.h,
721         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
722         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
723         insert3_neg.cc, insert4_neg.cc: Likewise.
724         * testsuite/23_containers/set/debug/cont_traits.h,
725         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
726         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
727         insert3_neg.cc, insert4_neg.cc: Likewise.
728         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h,
729         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
730         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
731         insert3_neg.cc, insert4_neg.cc: Likewise.
732         * testsuite/23_containers/unordered_set/debug/cont_traits.h,
733         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
734         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
735         insert3_neg.cc, insert4_neg.cc: Likewise.
736         * testsuite/23_containers/multiset/debug/cont_traits.h,
737         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
738         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
739         insert3_neg.cc, insert4_neg.cc: Likewise.
740         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h,
741         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
742         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
743         insert3_neg.cc, insert4_neg.cc: Likewise.
744         * testsuite/23_containers/map/debug/cont_traits.h,
745         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
746         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
747         insert3_neg.cc, insert4_neg.cc: Likewise.
748         * testsuite/23_containers/vector/debug/cont_traits.h,
749         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
750         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
751         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
752         insert3_neg.cc, insert4_neg.cc: Likewise.
753         * testsuite/23_containers/deque/debug/cont_traits.h,
754         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
755         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
756         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
757         insert3_neg.cc, insert4_neg.cc: Likewise.
758         * testsuite/23_containers/list/debug/cont_traits.h,
759         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
760         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
761         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
762         insert3_neg.cc, insert4_neg.cc: Likewise.
763         * testsuite/performance/23_containers/range_construct/
764         list_construct1.cc: New, validate performance impact of the patch
765         on the debug mode.
766         * testsuite/performance/23_containers/range_construct/
767         list_construct2.cc: Likewise.
768         * testsuite/performance/23_containers/range_construct/
769         vector_construct.cc: Likewise.
770         * testsuite/performance/23_containers/range_construct/
771         deque_construct.cc: Likewise.
773 2010-08-26  Benjamin Kosnik  <bkoz@redhat.com>
775         * include/bits/stl_iterator_base_types.h: Fix doxygen warning.
777 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
779         * configure: Regenerate.
781 2010-08-18  Kostya Serebryany <kcc@google.com>
782             Paolo Carlini  <paolo.carlini@oracle.com>
784         PR libstdc++/45276
785         * doc/xml/manual/debug.xml ([debug.races]): Add.
787 2010-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
789         PR libstdc++/45300
790         * include/c_std/cwchar: Replace 'restrict' -> '__restrict'.
791         * include/c_global/cwchar: Likewise.
793 2010-08-16  Paolo Carlini  <paolo.carlini@oracle.com>
795         PR libstdc++/45300
796         * include/c_std/cstdlib: Replace 'restrict' -> '__restrict'.
797         * include/c_std/cstdio: Likewise.
798         * include/c_global/cstdlib: Likewise.
799         * include/c_global/cstdio: Likewise.
801 2010-08-16  Chris Moller  <cmoller@redhat.com>
803         http://sourceware.org/bugzilla/show_bug.cgi?id=11874
804         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Added stuff
805         to handle pretty-printing of std::vector<bool>.
807 2010-08-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
809         PR libstdc++/45283
810         * testsuite/performance/30_threads/future/polling.cc: Replace calls to
811         shared_future::is_ready.
813 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
815         * include/bits/hashtable.h (_Hashtable<>::operator=(const
816         _Hashtable&)): Move inline.
817         (operator=(_Hashtable&&)): Define.
818         * include/bits/unordered_map.h (unordered_map(unordered_map&&),
819         unordered_map(const unordered_map&), unordered_multimap
820         (unordered_multimap&&), unordered_multimap(const unordered_multimap&),
821         __unordered_map(__unordered_map&&), __unordered_map(const
822         __unordered_map&), __unordered_multimap(__unordered_multimap&&),
823         __unordered_multimap(const __unordered_multimap&)): Do not define,
824         leave implicit.
825         * include/bits/unordered_set.h (unordered_set(unordered_set&&),
826         unordered_set(const unordered_set&), unordered_multiset
827         (unordered_multiset&&), unordered_multiset(const unordered_multiset&),
828         __unordered_set(__unordered_set&&), __unordered_set(const
829         __unordered_set&), __unordered_multiset(__unordered_multiset&&),
830         __unordered_multiset(const __unordered_multiset&)): Likewise.
832         * include/bits/unordered_map.h (__unordered_map(initializer_list<>),
833         __unordered_map<>::operator=(initializer_list<>),
834         __unordered_multimap(initializer_list<>), __unordered_multimap<>::
835         operator=(initializer_list<>)): Add.
836         * include/bits/unordered_set.h (__unordered_set(initializer_list<>),
837         __unordered_set<>::operator=(initializer_list<>),
838         __unordered_multiset(initializer_list<>), __unordered_multiset<>::
839         operator=(initializer_list<>)): Likewise.
841         * include/bits/unordered_map.h (__unordered_map(_InputIterator,
842         _InputIterator, size_type __n), unordered_map(_InputIterator,
843         _InputIterator, size_type __n), unordered_map(initializer_list<>,
844         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
845         Fix __n default to 0.
846         * include/bits/unordered_set.h (__unordered_set(_InputIterator,
847         _InputIterator, size_type __n), unordered_set(_InputIterator,
848         _InputIterator, size_type __n), unordered_set(initializer_list<>,
849         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
850         Likewise.
851         * include/debug/unordered_map (unordered_map(_InputIterator,
852         _InputIterator, size_type __n), unordered_map(initializer_list<>,
853         size_type __n), unordered_map(_InputIterator, _InputIterator,
854         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
855         Likewise.
856         * include/debug/unordered_set (unordered_set(_InputIterator,
857         _InputIterator, size_type __n), unordered_set(initializer_list<>,
858         size_type __n), unordered_set(_InputIterator, _InputIterator,
859         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
860         Likewise.
861         * include/profile/unordered_map (unordered_map(_InputIterator,
862         _InputIterator, size_type __n), unordered_map(initializer_list<>,
863         size_type __n), unordered_map(_InputIterator, _InputIterator,
864         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
865         Likewise.
866         * include/profile/unordered_set (unordered_set(_InputIterator,
867         _InputIterator, size_type __n), unordered_set(initializer_list<>,
868         size_type __n), unordered_set(_InputIterator, _InputIterator,
869         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
870         Likewise.
872 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
874         PR libstdc++/45281
875         * include/bits/stl_queue.h (queue(queue&&), operator=(queue&&),
876         priority_queue(priority_queue&&), operator=(priority_queue&&)):
877         Remove, per CH 15.
879 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
881         * testsuite/23_containers/unordered_map/dr1189.cc: Move to...
882         * testsuite/23_containers/unordered_map/hash_policy/dr1189.cc:
883         ... here.
884         * testsuite/23_containers/unordered_set/dr1189.cc: Move to...
885         * testsuite/23_containers/unordered_set/hash_policy/dr1189.cc:
886         ... here.
887         * testsuite/23_containers/unordered_multimap/dr1189.cc: Move to...
888         * testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc:
889         ... here.
890         * testsuite/23_containers/unordered_multiset/dr1189.cc: Move to...
891         * testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc:
892         ... here.
894         * testsuite/23_containers/unordered_set/hash_policy/26132.cc: New.
896 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
898         * src/ios_init.cc (ios_base::Init::~Init): Add back semicolon
899         at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS_* macros,
900         removed by mistake.
901         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
902         * include/ext/rc_string_base.h: Likewise.
903         * include/bits/locale_classes.h: Likewise.
904         * include/bits/basic_string.h: Likewise.
905         * include/bits/ios_base.h: Likewise.
906         * include/bits/c++config: Adjust comment.
908 2010-08-12  Kostya Serebryany <kcc@google.com>
909             Paolo Carlini  <paolo.carlini@oracle.com>
911         * include/bits/c++config (_GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE,
912         _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER): Add.
913         * src/ios_init.cc (ios_base::Init::~Init): Decorate with the
914         latter.
915         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
916         * include/ext/rc_string_base.h: Likewise.
917         * include/bits/locale_classes.h: Likewise.
918         * include/bits/basic_string.h: Likewise.
919         * include/bits/ios_base.h: Likewise.
920         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
921         line number.
922         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
923         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
925 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
927         * include/bits/hashtable.h (_Hashtable<>::erase(const key_type&)):
928         Use std::__addressof.
930         * include/bits/forward_list.tcc (forward_list<>::remove): Deal
931         correctly with &__tmp->_M_value == &__val.
932         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
933         New.
935 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
937         * include/bits/stl_algo.h (shuffle): Change signature consistently
938         with random_shuffle (US 121).
939         * include/bits/algorithmfwd.h: Adjust.
940         * testsuite/25_algorithms/shuffle/requirements/
941         explicit_instantiation/2.cc: Likewise.
942         * testsuite/25_algorithms/shuffle/requirements/
943         explicit_instantiation/pod.cc: Likewise.
945 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
947         * include/bits/move.h (forward): Reinstate the N2835 version.
949 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
951         PR libstdc++/42925
952         * include/bits/unique_ptr.h (operator==(const unique_ptr<>&,
953         nullptr_t), operator==(nullptr_t, const unique_ptr<>&),
954         operator!=(const unique_ptr<>&, nullptr_t),
955         operator!=(nullptr_t, const unique_ptr<>&)): Add.
956         * include/bits/shared_ptr_base.h (operator==(const __shared_ptr<>&,
957         nullptr_t), operator==(nullptr_t, const __shared_ptr<>&),
958         operator!=(const __shared_ptr<>&, nullptr_t),
959         operator!=(nullptr_t, const __shared_ptr<>&)): Likewise.
960         * include/bits/shared_ptr.h (operator==(const shared_ptr<>&,
961         nullptr_t), operator==(nullptr_t, const shared_ptr<>&),
962         operator!=(const shared_ptr<>&, nullptr_t),
963         operator!=(nullptr_t, const shared_ptr<>&)): Likewise.
964         * testsuite/20_util/unique_ptr/comparison/42925.cc: New.
965         * testsuite/20_util/shared_ptr/comparison/42925.cc: Likewise.
966         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
967         dg-error line numbers.
969 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
971         * include/bits/unique_ptr.h: Replace _Tp_Deleter -> _Dp, and
972         _Up_Deleter -> _Ep.
974 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
976         * include/bits/shared_ptr_base.h: Remove a few now redundant
977         __glibcxx_function_requires(_ConvertibleConcept...).
978         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error
979         line number.
980         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
982 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
984         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Avoid -Wall
985         warnings.
986         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
988 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
990         * testsuite/23_containers/array/range_access.cc: Avoid -Wall
991         warnings.
993 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
995         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
996         warnings.
998         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
999         (const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
1000         weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
1001         Constrain appropriately via std::is_convertible, etc.
1002         * include/bits/shared_ptr_base.h: Likewise.
1003         * include/bits/unique_ptr.h (default_delete<>::
1004         default_delete(const default_delete<>&),
1005         unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
1006         Likewise.
1008         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1009         line numbers.
1010         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
1012         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
1013         Add.
1014         * include/std/memory: Adjust includes order.
1015         * testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
1016         * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
1017         * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.
1019 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
1021         PR libstdc++/45228
1022         * include/std/tuple (tuple<typename... _Elements>): Constrain
1023         converting constructors and assignment operators with
1024         sizeof...(_UElements) == sizeof...(_Elements).
1025         (tuple(tuple<_UElements...>&): Remove.
1026         (tuple<typename _T1>): Add.
1027         * testsuite/20_util/tuple/cons/45228.cc: New.
1028         * testsuite/20_util/tuple/cons/converting.cc: Likewise.
1029         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
1030         dg-error line number.
1032         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(const _Tuple_impl&)):
1033         Defaulted.
1035         * include/std/tuple (tuple<typename _T1, typename _T2>
1036         ::operator=(pair<_U1, _U2>&&)): Use forward.
1038 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
1040         PR libstdc++/44963
1041         * include/bits/stl_iterator.h (insert_iterator<>::
1042         operator=(const typename _Container::value_type&,
1043         back_insert_iterator<>::
1044         operator=(const typename _Container::value_type&),
1045         front_insert_iterator<>::
1046         operator=(const typename _Container::value_type&))): Add
1047         in C++0x mode.
1048         * testsuite/ext/rope/44963.cc: New.
1049         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
1050         dg-error line number.
1052 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
1054         * include/c_global/cmath: Implement US 136.
1055         * include/tr1_impl/cmath: Do not bring fpclassify, etc from namespace
1056         std, define namespace tr1.
1057         * testsuite/26_numerics/headers/cmath/
1058         c99_classification_macros_c++0x.cc: New.
1060 2010-08-06  David Malcolm  <dmalcolm@redhat.com>
1061             Jan Kratochvil  <jan.kratochvil@redhat.com>
1063         * python/hook.in: Rename variable dir to dir_.
1065 2010-08-06  Jason Merrill  <jason@redhat.com>
1067         * include/std/thread: Add deleted thread(thread&).
1068         * testsuite/30_threads/thread/cons/copy_neg.cc: Remove XFAIL.
1070 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1072         * include/std/tuple (pack_arguments): Rename to forward_as_tuple
1073         and simplify, per US 98 and US 99.
1074         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc:
1075         Rename to...
1076         * testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc:
1077         ... this, adjust.
1078         * testsuite/20_util/pair/piecewise.cc: Adjust.
1080 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1082         * include/std/tuple (begin, end): Remove per GB 87.
1083         * testsuite/20_util/tuple/range_access.cc: Remove.
1085 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1087         * include/std/ratio (ratio_less): Improve, use ratio_divide to avoid
1088         more overflows.
1089         * testsuite/20_util/ratio/comparisons/comp1.cc: Extend.
1090         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
1092 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
1094         * include/tr1_impl/utility (begin, end): Remove per GB 85.
1095         * testsuite/20_util/pair/range_access.cc: Remove.
1097         * include/std/functional (function<>::function()): Remove explicit,
1098         per JP 3.
1100 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
1102         * include/bits/move.h (forward): Update to N3092.
1103         (identity): Remove (US 92 is NAD).
1104         * include/debug/set.h: Fix move constructor to simply use move.
1105         * include/debug/unordered_map: Likewise.
1106         * include/debug/multiset.h: Likewise.
1107         * include/debug/vector: Likewise.
1108         * include/debug/unordered_set: Likewise.
1109         * include/debug/deque: Likewise.
1110         * include/debug/map.h: Likewise.
1111         * include/debug/string: Likewise.
1112         * include/debug/list: Likewise.
1113         * include/debug/multimap.h: Likewise.
1114         * include/profile/set.h: Likewise.
1115         * include/profile/unordered_map: Likewise.
1116         * include/profile/multiset.h: Likewise.
1117         * include/profile/unordered_set: Likewise.
1118         * include/profile/vector: Likewise.
1119         * include/profile/deque: Likewise.
1120         * include/profile/map.h: Likewise.
1121         * include/profile/list: Likewise.
1122         * include/profile/multimap.h: Likewise.
1123         * include/ext/vstring.h: Likewise.
1124         * include/bits/stl_list.h: Likewise.
1125         * include/bits/stl_map.h: Likewise.
1126         * include/bits/stl_set.h: Likewise.
1127         * include/bits/forward_list.h: Likewise.
1128         * include/bits/stl_multimap.h: Likewise.
1129         * include/bits/unordered_map.h: Likewise.
1130         * include/bits/stl_vector.h: Likewise.
1131         * include/bits/stl_deque.h: Likewise.
1132         * include/bits/stl_multiset.h: Likewise.
1133         * include/bits/unordered_set.h: Likewise.
1134         * include/bits/stl_bvector.h: Likewise.
1135         * testsuite/20_util/identity/value.cc: Remove
1136         * testsuite/20_util/identity/requirements/typedefs.cc: Likewise.
1137         * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
1138         Likewise.
1140 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1142         * acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix
1143         messages.
1144         * configure: Regenerate.
1146 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1148         * include/ext/vstring_util.h: Include bits/range_access.h.
1149         * testsuite/ext/vstring/range_access.cc: New test.
1151 2010-07-27  Ed Smith-Rowland  <3dw4rd@verizon.net>
1153         * include/bits/range_access.h: New.
1154         * include/Makefile.in: Add bits/range_access.h.
1155         * include/Makefile.am: Regenerate.
1156         * include/std/array: Include bits/range_access.h.
1157         * include/std/deque: Ditto.
1158         * include/std/forward_list: Ditto.
1159         * include/std/iterator: Ditto.
1160         * include/std/list: Ditto.
1161         * include/std/map: Ditto.
1162         * include/std/regex: Ditto.
1163         * include/std/set: Ditto.
1164         * include/std/string: Ditto.
1165         * include/std/unordered_map: Ditto.
1166         * include/std/unordered_set: Ditto.
1167         * include/std/vector: Ditto.
1168         * include/std/valarray: Add begin() and end().
1169         * libsupc++/initializer_list: Ditto.
1170         * include/tr1_impl/utility: Add begin() and end().
1171         * include/std/tuple: Ditto.
1172         * testsuite/24_iterators/headers/iterator/range_access.cc: New test.
1173         * testsuite/24_iterators/range_access.cc: Ditto.
1174         * testsuite/28_regex/range_access.cc: Ditto.
1175         * testsuite/18_support/initializer_list/range_access.cc: Ditto.
1176         * testsuite/21_strings/basic_string/range_access.cc: Ditto.
1177         * testsuite/26_numerics/valarray/range_access.cc: Ditto.
1178         * testsuite/23_containers/unordered_map/range_access.cc: Ditto.
1179         * testsuite/23_containers/multimap/range_access.cc: Ditto.
1180         * testsuite/23_containers/set/range_access.cc: Ditto.
1181         * testsuite/23_containers/unordered_multimap/range_access.cc: Ditto.
1182         * testsuite/23_containers/forward_list/range_access.cc: Ditto.
1183         * testsuite/23_containers/unordered_set/range_access.cc: Ditto.
1184         * testsuite/23_containers/vector/range_access.cc: Ditto.
1185         * testsuite/23_containers/deque/range_access.cc: Ditto.
1186         * testsuite/23_containers/multiset/range_access.cc: Ditto.
1187         * testsuite/23_containers/list/range_access.cc: Ditto.
1188         * testsuite/23_containers/unordered_multiset/range_access.cc: Ditto.
1189         * testsuite/23_containers/map/range_access.cc: Ditto.
1190         * testsuite/23_containers/array/range_access.cc: Ditto.
1191         * testsuite/20_util/tuple/range_access.cc: Ditto.
1192         * testsuite/20_util/pair/range_access.cc: Ditto.
1194 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1195             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1197         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove.
1198         ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Add, actually
1199         compute the constants via AC_COMPUTE_INT.
1200         * configure.ac: Call the latter.
1201         * include/bits/ios_base.h: Adjust.
1202         * include/bits/char_traits.h: Likewise.
1203         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
1204         line number.
1205         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1206         * config.h.in: Regenerate.
1207         * configure: Likewise.
1209 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1211         * config/io/c_io_stdio.h: Do not include <cstddef>.
1213 2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1215         * testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
1216         9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
1217         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
1218         Solaris 9/x86 and 32-bit Solaris 10/x86.
1220         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
1221         Only XFAIL on Solaris 8 and 9.
1222         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
1223         Likewise.
1225         * testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.
1227 2010-07-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
1229         PR libstdc++/45060
1230         * include/bits/hashtable.h (_Hashtable::_Hashtable(_Hashtable&&)):
1231         Reorder mem-initializers.
1233 2010-07-22  Benjamin Kosnik  <bkoz@redhat.com>
1235         DocBook 4.5 to 5.0 transition.
1236         * doc/xml/authors.xml: Update markup to DocBook 5.0.
1237         * doc/xml/faq.xml: Same.
1238         * doc/xml/api.xml: Same.
1239         * doc/xml/class.txml
1240         * doc/xml/gnu/gpl-3.0.xml: Same.
1241         * doc/xml/gnu/fdl-1.2.xml: Same.
1242         * doc/xml/gnu/fdl-1.3.xml: Same.
1243         * doc/xml/gnu/gpl-2.0.xml: Same.
1244         * doc/xml/chapter.txml: Same.
1245         * doc/xml/manual/mt_allocator.xml: Same.
1246         * doc/xml/manual/allocator.xml: Same.
1247         * doc/xml/manual/ctype.xml: Same.
1248         * doc/xml/manual/numerics.xml: Same.
1249         * doc/xml/manual/codecvt.xml: Same.
1250         * doc/xml/manual/backwards_compatibility.xml: Same.
1251         * doc/xml/manual/concurrency.xml: Same.
1252         * doc/xml/manual/intro.xml: Same.
1253         * doc/xml/manual/abi.xml: Same.
1254         * doc/xml/manual/shared_ptr.xml: Same.
1255         * doc/xml/manual/status_cxxtr1.xml: Same.
1256         * doc/xml/manual/auto_ptr.xml: Same.
1257         * doc/xml/manual/internals.xml: Same.
1258         * doc/xml/manual/atomics.xml: Same.
1259         * doc/xml/manual/parallel_mode.xml: Same.
1260         * doc/xml/manual/status_cxx1998.xml: Same.
1261         * doc/xml/manual/profile_mode.xml: Same.
1262         * doc/xml/manual/containers.xml: Same.
1263         * doc/xml/manual/io.xml: Same.
1264         * doc/xml/manual/concurrency_extensions.xml: Same.
1265         * doc/xml/manual/appendix_porting.xml: Same.
1266         * doc/xml/manual/utilities.xml: Same.
1267         * doc/xml/manual/support.xml: Same.
1268         * doc/xml/manual/bitmap_allocator.xml: Same.
1269         * doc/xml/manual/configure.xml: Same.
1270         * doc/xml/manual/build_hacking.xml: Same.
1271         * doc/xml/manual/evolution.xml: Same.
1272         * doc/xml/manual/using.xml: Same.
1273         * doc/xml/manual/using_exceptions.xml: Same.
1274         * doc/xml/manual/debug.xml: Same.
1275         * doc/xml/manual/localization.xml: Same.
1276         * doc/xml/manual/strings.xml: Same.
1277         * doc/xml/manual/debug_mode.xml: Same.
1278         * doc/xml/manual/locale.xml: Same.
1279         * doc/xml/manual/extensions.xml: Same.
1280         * doc/xml/manual/appendix_contributing.xml: Same.
1281         * doc/xml/manual/prerequisites.xml: Same.
1282         * doc/xml/manual/messages.xml: Same.
1283         * doc/xml/manual/diagnostics.xml: Same.
1284         * doc/xml/manual/algorithms.xml: Same.
1285         * doc/xml/manual/appendix_free.xml: Same.
1286         * doc/xml/manual/iterators.xml: Same.
1287         * doc/xml/manual/spine.xml: Same.
1288         * doc/xml/manual/status_cxxtr24733.xml: Same.
1289         * doc/xml/manual/status_cxx200x.xml: Same.
1290         * doc/xml/manual/test.xml: Same.
1291         * doc/xml/book.txml: Same.
1292         * doc/xml/spine.xml: Same.
1293         * doc/Makefile.am: Same.
1294         * doc/Makefile.in: Regenerate.
1296 2010-07-20  Benjamin Kosnik  <bkoz@redhat.com>
1298         * doc/xml/manual/appendix_contributing.xml: Update for new reality.
1299         * doc/Makefile.am (doc-xml): New default rule for XML output.
1300         (doc-xml-single-doxygen): Standardize output names.
1301         * doc/Makefile.in: Regenerate.
1303         * doc/doxygen/user.cfg.in: Tweak.
1305 2010-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
1307         * libsupc++/unwind-cxx.h: Minor formatting / stylistic tweaks.
1309 2010-07-20  Mikael Pettersson  <mikpe@it.uu.se>
1311         PR libstdc++/44902
1312         * libsupc++/unwind-cxx.h (__cxa_type_match): Correct prototype.
1313         (__cxa_begin_cleanup): Likewise.
1315 2010-07-19  Benjamin Kosnik  <bkoz@redhat.com>
1317         * doc/Makefile.am (doc-texinfo): New rule.
1318         (doc-texinfo-docbook): New rule.
1319         (DB2TEXI_FLAGS): New.
1320         (doc-xml-single-docbook): Just the manual, not the set. Tweak flags.
1321         * doc/Makefile.in: Regenerate.
1323 2010-07-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1325         * doc/xml/manual/shared_ptr.xml: Update.
1326         * doc/html/*: Regenerate.
1328 2010-07-13  Benjamin Kosnik  <bkoz@redhat.com>
1330         * doc/Makefile.am: Edit pdf rules.
1331         (doc-man, doc-pdf, doc-html): Expand default rules.
1332         * doc/Makefile.in: Regenerate.
1333         * doc/doxygen/user.cfg.in: Update to Doxygen 1.7.1.
1335 2010-07-11  Paolo Carlini  <paolo.carlini@oracle.com>
1337         * include/std/type_traits (is_convertible): Use SFINAE.
1338         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1339         dg-error line numbers.
1340         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1341         Likewise.
1342         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1344 2010-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1346         PR libstdc++/44875
1347         * doc/xml/manual/status_cxx200x.xml: Corrections to status.
1348         * doc/html/*: Regenerate.
1350 2010-07-08  Benjamin Kosnik  <bkoz@redhat.com>
1352         * include/bits/stl_heap.h: Update markup.
1353         * include/bits/move.h: Same.
1354         * include/bits/algorithmfwd.h: Same.
1355         * include/bits/regex.h: Same.
1356         * include/bits/random.h: Same.
1357         * doc/doxygen/doxygroups.cc: Same.
1358         * doc/doxygen/user.cfg.in: Remove include/tr1_impl/regex from
1359         input file list.
1360         * doc/Makefile.am (doc-pdf-doxygen): Add comment, put generated
1361         pdf in location consistent with docbook pdf generation.
1362         * doc/Makefile.in: Regenerate.
1364 2010-07-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1366         * doc/xml/manual/status_cxx200x.xml: Add some missing features.
1367         * doc/html/*: Regenerate.
1369 2010-07-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
1371         * include/bits/regex_compiler.h: Fix filename in doxygen comment.
1372         * include/bits/regex_constants.h: Likewise.
1373         * include/bits/regex_error.h: Likewise.
1374         * include/bits/regex_grep_matcher.h: Likewise.
1375         * include/bits/regex_grep_matcher.tcc: Likewise.
1376         * include/bits/regex_nfa.tcc: Likewise.
1378 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1380         * acinclude.m4 (symvers_renaming): Define
1381         HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT instead of
1382         _GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
1383         Fix syntax error.
1384         * config.h.in: Regenerate.
1385         * configure: Regenerate.
1387 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1389         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle sun style.
1390         Require GCC_PROG_GNU_CXXFILT.
1391         (_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define
1392         unless targetting solaris2*.
1393         Include ../config/gc++filt.m4.
1394         * configure.host (i?86-*-solaris2*): Set abi_baseline_pair.
1395         (sparc-*-solaris2*): Likewise.
1396         * src/Makefile.am [ENABLE_SYMVERS_SUN] (version_dep, version_arg):
1397         New variables.
1398         (libstdc++-symbols.ver-sun): New target.
1399         * configure: Regenerate.
1400         * config.h.in: Regenerate.
1401         * Makefile.in: Likewise.
1402         * doc/Makefile.in: Likewise.
1403         * include/Makefile.in: Likewise.
1404         * libsupc++/Makefile.in: Likewise.
1405         * po/Makefile.in: Likewise.
1406         * python/Makefile.in: Likewise.
1407         * src/Makefile.in: Likewise.
1408         * src/atomic.cc: Only define/use _GLIBCXX_ASM_SYMVER if
1409         _GLIBCXX_HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
1410         * src/compatibility.cc: Likewise.
1411         * testsuite/Makefile.am (baseline_subdir): Define.
1412         (baseline_symbols): Use it.
1413         (new-abi-baseline): Likewise.
1414         * testsuite/Makefile.in: Regenerate.
1416         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5): Enclose duplicates in
1417         #ifdef HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
1418         (GLIBCXX_3.4.6): Likewise.
1420         * doc/xml/manual/configure.xml (--enable-symvers): Document sun
1421         style.
1423         * doc/xml/manual/abi.xml: Fix grammar.
1424         (Symbol versioning on the libstdc++.so binary): Fix mapfile path.
1425         (Incremental bumping of a library pre-defined macro): Fix
1426         c++config path.
1427         (Incremental bumping of a library pre-defined macro,
1428         _GLIBCPP_VERSION): Likewise.
1429         (Matching each specific C++ compiler release to a specific set of
1430         C++ include files): Fix acinclude.m4 path.
1431         (Prerequisites): Allow for Sun linker on Solaris 2.5+.
1432         Use proper link to Configuring.
1433         Fix acinclude.m4 path.
1434         (Checking Active): Allow for additional symbol versioning styles.
1435         Provide Solaris 2 example with pvs -r.
1436         (Bibliography): Update Linker and Libraries Guide, C++ Migration
1437         Guide entries.
1439 2010-06-29  Jason Merrill  <jason@redhat.com>
1441         Enable implicitly declared move constructor/operator= (N3053).
1442         * include/bits/unordered_map.h: Explicitly default copy constructors.
1443         * include/bits/unordered_set.h: Likewise.
1445         * 19_diagnostics/error_category/cons/copy_neg.cc: Adjust expected
1446         errors, use dg-prune-output.
1447         * 20_util/function/cmp/cmp_neg.cc: Likewise.
1448         * 20_util/unique_ptr/assign/assign_neg.cc: Likewise.
1449         * 20_util/unique_ptr/cons/pointer_array_convertible.cc: Likewise.
1450         * 20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
1451         * 29_atomics/atomic/cons/assign_neg.cc: Likewise.
1452         * 29_atomics/atomic/cons/copy_neg.cc: Likewise.
1453         * 29_atomics/atomic_address/cons/assign_neg.cc: Likewise.
1454         * 29_atomics/atomic_address/cons/copy_neg.cc: Likewise.
1455         * 29_atomics/atomic_flag/cons/assign_neg.cc: Likewise.
1456         * 29_atomics/atomic_flag/cons/copy_neg.cc: Likewise.
1457         * 29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
1458         * 29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1459         * 29_atomics/condition_variable/cons/assign_neg.cc: Likewise.
1460         * 30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1461         * 30_threads/condition_variable_any/cons/assign_neg.cc: Likewise.
1462         * 30_threads/condition_variable_any/cons/copy_neg.cc: Likewise.
1463         * 30_threads/future/cons/assign_neg.cc: Likewise.
1464         * 30_threads/future/cons/copy_neg.cc: Likewise.
1465         * 30_threads/mutex/cons/assign_neg.cc: Likewise.
1466         * 30_threads/mutex/cons/copy_neg.cc: Likewise.
1467         * 30_threads/packaged_task/cons/assign_neg.cc: Likewise.
1468         * 30_threads/packaged_task/cons/copy_neg.cc: Likewise.
1469         * 30_threads/promise/cons/assign_neg.cc: Likewise.
1470         * 30_threads/promise/cons/copy_neg.cc: Likewise.
1471         * 30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1472         * 30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1473         * 30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise.
1474         * 30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1475         * 30_threads/thread/cons/assign_neg.cc: Likewise.
1476         * 30_threads/thread/cons/copy_neg.cc: Likewise.
1477         * 30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1478         * 30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1479         * ext/ext_pointer/1_neg.cc: Likewise.
1481 2010-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
1483         PR libstdc++/44708
1484         * include/ext/algorithm (copy_n): Qualify __copy_n call with
1485         __gnu_cxx::
1486         * testsuite/ext/rope/44708.cc: New.
1488 2010-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
1490         * include/bits/regex_compiler.h: Trivial formatting / stylistic fixes.
1491         * include/bits/regex_grep_matcher.tcc: Likewise.
1492         * include/bits/regex_cursor.h: Likewise.
1493         * include/bits/regex.h: Likewise.
1495 2010-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
1497         * testsuite/util/testsuite_hooks.h: Cast fn to bool.
1499 2010-06-26  Kees Cook  <kees.cook@canonical.com>
1501         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Verify freopen.
1502         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
1503         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1504         * testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
1505         * testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
1506         * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
1507         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1508         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1509         * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
1510         * testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
1511         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1512         * testsuite/27_io/objects/char/12048-2.cc: Likewise.
1513         * testsuite/27_io/objects/char/12048-4.cc: Likewise.
1514         * testsuite/27_io/objects/char/9.cc: Likewise.
1515         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1516         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1517         * testsuite/27_io/objects/char/12048-5.cc: Likewise.
1518         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1519         * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Verify fgets.
1520         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Verify
1521         fwrite.
1522         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
1523         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Likewise.
1525 2010-06-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
1527         * doc/xml/faq.xml: Fix typo.
1528         * doc/html/faq.xml: Likewise.
1530 2010-06-25  Stephen M. Webb  <stephen.webb@bregmasoft.ca>
1532         Initial regex implementation.
1533         * include/std/regex: Modified to use bits/regex_* headers.
1534         * include/bits/regex_compiler.h: New.
1535         * include/bits/regex_constants.h: Likewise.
1536         * include/bits/regex_cursor.h: Likewise.
1537         * include/bits/regex_error.h: Likewise.
1538         * include/bits/regex_grep_matcher.h: Likewise.
1539         * include/bits/regex_grep_matcher.tcc: Likewise.
1540         * include/bits/regex.h: Likewise.
1541         * include/bits/regex_nfa.h: Likewise.
1542         * include/bits/regex_nfa.tcc: Likewise.
1543         * include/Makefile.am: Add.
1544         * include/Makefile.in: Regenerated.
1545         * testsuite/28_regex/02_definitions: New.
1546         * testsuite/28_regex/03_requirements: Likewise.
1547         * testsuite/28_regex/03_requirements/typedefs.cc: Likewise.
1548         * testsuite/28_regex/04_header: Likewise.
1549         * testsuite/28_regex/04_header/regex: Likewise.
1550         * testsuite/28_regex/04_header/regex/std_c++0x_neg.cc: Likewise.
1551         * testsuite/28_regex/05_constants: Likewise.
1552         * testsuite/28_regex/05_constants/error_type.cc: Likewise.
1553         * testsuite/28_regex/05_constants/match_flag_type.cc: Likewise.
1554         * testsuite/28_regex/05_constants/syntax_option_type.cc: Likewise.
1555         * testsuite/28_regex/06_exception_type: Likewise.
1556         * testsuite/28_regex/06_exception_type/regex_error.cc: Likewise.
1557         * testsuite/28_regex/07_traits: Likewise.
1558         * testsuite/28_regex/07_traits/char: Likewise.
1559         * testsuite/28_regex/07_traits/char/ctor.cc: Likewise.
1560         * testsuite/28_regex/07_traits/char/isctype.cc: Likewise.
1561         * testsuite/28_regex/07_traits/char/length.cc: Likewise.
1562         * testsuite/28_regex/07_traits/char/lookup_classname.cc: Likewise.
1563         * testsuite/28_regex/07_traits/char/lookup_collatename.cc: Likewise.
1564         * testsuite/28_regex/07_traits/char/transform.cc: Likewise.
1565         * testsuite/28_regex/07_traits/char/transform_primary.cc: Likewise.
1566         * testsuite/28_regex/07_traits/char/translate.cc: Likewise.
1567         * testsuite/28_regex/07_traits/char/translate_nocase.cc: Likewise.
1568         * testsuite/28_regex/07_traits/char/value.cc: Likewise.
1569         * testsuite/28_regex/07_traits/wchar_t: Likewise.
1570         * testsuite/28_regex/07_traits/wchar_t/ctor.cc: Likewise.
1571         * testsuite/28_regex/07_traits/wchar_t/length.cc: Likewise.
1572         * testsuite/28_regex/07_traits/wchar_t/transform.cc: Likewise.
1573         * testsuite/28_regex/07_traits/wchar_t/translate.cc: Likewise.
1574         * testsuite/28_regex/07_traits/wchar_t/translate_nocase.cc: Likewise.
1575         * testsuite/28_regex/07_traits/wchar_t/value.cc: Likewise.
1576         * testsuite/28_regex/08_basic_regex: Likewise.
1577         * testsuite/28_regex/08_basic_regex/assign: Likewise.
1578         * testsuite/28_regex/08_basic_regex/assign/char: Likewise.
1579         * testsuite/28_regex/08_basic_regex/assign/char/cstring.cc: Likewise.
1580         * testsuite/28_regex/08_basic_regex/assign/char/cstring_op.cc: Likewise.
1581         * testsuite/28_regex/08_basic_regex/assign/char/moveable.cc: Likewise.
1582         * testsuite/28_regex/08_basic_regex/assign/char/pstring.cc: Likewise.
1583         * testsuite/28_regex/08_basic_regex/assign/char/range.cc: Likewise.
1584         * testsuite/28_regex/08_basic_regex/assign/char/string.cc: Likewise.
1585         * testsuite/28_regex/08_basic_regex/assign/char/string_op.cc: Likewise.
1586         * testsuite/28_regex/08_basic_regex/assign/wchar_t: Likewise.
1587         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring.cc: Likewise.
1588         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring_op.cc:
1589         Likewise.
1590         * testsuite/28_regex/08_basic_regex/assign/wchar_t/pstring.cc: Likewise.
1591         * testsuite/28_regex/08_basic_regex/assign/wchar_t/range.cc: Likewise.
1592         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string.cc: Likewise.
1593         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string_op.cc:
1594         Likewise.
1595         * testsuite/28_regex/08_basic_regex/ctors: Likewise.
1596         * testsuite/28_regex/08_basic_regex/ctors/basic: Likewise.
1597         * testsuite/28_regex/08_basic_regex/ctors/basic/cstring.cc: Likewise.
1598         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_char.cc:
1599         Likewise.
1600         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_wchar_t.cc:
1601         Likewise.
1602         * testsuite/28_regex/08_basic_regex/ctors/basic/
1603         string_range_01_02_03.cc: Likewise.
1604         * testsuite/28_regex/08_basic_regex/ctors/char: Likewise.
1605         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_awk.cc: Likewise.
1606         * testsuite/28_regex/08_basic_regex/ctors/char/cstring.cc: Likewise.
1607         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_ecma.cc:
1608         Likewise.
1609         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_egrep.cc:
1610         Likewise.
1611         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_grep.cc:
1612         Likewise.
1613         * testsuite/28_regex/08_basic_regex/ctors/char/default.cc: Likewise.
1614         * testsuite/28_regex/08_basic_regex/ctors/char/range.cc: Likewise.
1615         * testsuite/28_regex/08_basic_regex/ctors/copy_char.cc: Likewise.
1616         * testsuite/28_regex/08_basic_regex/ctors/extended: Likewise.
1617         * testsuite/28_regex/08_basic_regex/ctors/extended/cstring.cc: Likewise.
1618         * testsuite/28_regex/08_basic_regex/ctors/extended/
1619         string_range_01_02_03.cc: Likewise.
1620         * testsuite/28_regex/08_basic_regex/ctors/move_char.cc: Likewise.
1621         * testsuite/28_regex/08_basic_regex/ctors/string_char.cc: Likewise.
1622         * testsuite/28_regex/08_basic_regex/ctors/string_wchar_t.cc: Likewise.
1623         * testsuite/28_regex/08_basic_regex/ctors/wchar_t: Likewise.
1624         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/cstring.cc: Likewise.
1625         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/default.cc: Likewise.
1626         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/range.cc: Likewise.
1627         * testsuite/28_regex/08_basic_regex/regex.cc: Likewise.
1628         * testsuite/28_regex/09_sub_match: Likewise.
1629         * testsuite/28_regex/09_sub_match/cast_char.cc: Likewise.
1630         * testsuite/28_regex/09_sub_match/cast_wchar_t.cc: Likewise.
1631         * testsuite/28_regex/09_sub_match/length.cc: Likewise.
1632         * testsuite/28_regex/09_sub_match/typedefs.cc: Likewise.
1633         * testsuite/28_regex/10_match_results: Likewise.
1634         * testsuite/28_regex/10_match_results/ctors: Likewise.
1635         * testsuite/28_regex/10_match_results/ctors/char: Likewise.
1636         * testsuite/28_regex/10_match_results/ctors/char/default.cc: Likewise.
1637         * testsuite/28_regex/10_match_results/ctors/wchar_t: Likewise.
1638         * testsuite/28_regex/10_match_results/ctors/wchar_t/default.cc:
1639         Likewise.
1640         * testsuite/28_regex/10_match_results/typedefs.cc: Likewise.
1641         * testsuite/28_regex/11_algorithms: Likewise.
1642         * testsuite/28_regex/11_algorithms/02_match: Likewise.
1643         * testsuite/28_regex/11_algorithms/02_match/basic: Likewise.
1644         * testsuite/28_regex/11_algorithms/02_match/basic/string_01.cc:
1645         Likewise.
1646         * testsuite/28_regex/11_algorithms/02_match/basic/
1647         string_range_00_03.cc: Likewise.
1648         * testsuite/28_regex/11_algorithms/02_match/basic/
1649         string_range_01_03.cc: Likewise.
1650         * testsuite/28_regex/11_algorithms/02_match/basic/
1651         string_range_02_03.cc: Likewise.
1652         * testsuite/28_regex/11_algorithms/02_match/extended: Likewise.
1653         * testsuite/28_regex/11_algorithms/02_match/extended/cstring_plus.cc:
1654         Likewise.
1655         * testsuite/28_regex/11_algorithms/02_match/extended/
1656         cstring_questionmark.cc: Likewise.
1657         * testsuite/28_regex/11_algorithms/02_match/extended/string_any.cc:
1658         Likewise.
1659         * testsuite/28_regex/11_algorithms/02_match/extended/
1660         string_range_00_03.cc: Likewise.
1661         * testsuite/28_regex/11_algorithms/02_match/extended/
1662         string_range_01_03.cc: Likewise.
1663         * testsuite/28_regex/11_algorithms/02_match/extended/
1664         string_range_02_03.cc: Likewise.
1665         * testsuite/28_regex/12_iterators: Likewise.
1666         * testsuite/28_regex/12_iterators/regex_iterator: Likewise.
1667         * testsuite/28_regex/12_iterators/regex_iterator/ctors: Likewise.
1668         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char: Likewise.
1669         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char/
1670         default.cc: Likewise.
1671         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t:
1672         Likewise.
1673         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t/
1674         default.cc: Likewise.
1675         * testsuite/28_regex/12_iterators/regex_iterator/typedefs.cc: Likewise.
1676         * testsuite/28_regex/12_iterators/regex_token_iterator: Likewise.
1677         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors: Likewise.
1678         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char:
1679         Likewise.
1680         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char/
1681         default.cc: Likewise.
1682         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
1683         wchar_t: Likewise.
1684         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
1685         wchar_t/default.cc: Likewise.
1686         * testsuite/28_regex/12_iterators/regex_token_iterator/
1687         typedefs.cc: Likewise.
1688         * testsuite/28_regex/13_ecmascript: Likewise.
1690 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
1692         * include/profile/impl/profiler_list_to_slist.h: Remove spurious
1693         semicolon; prefer pre-increment.
1694         * include/profile/impl/profiler_container_size.h: Use everywhere
1695         qualified std::size_t.
1696         * include/profile/impl/profiler_trace.h (__trace_base<>::
1697         __collect_warnings): Tidy loop.
1698         * include/profile/impl/profiler_vector_to_list.h: Minor formatting
1699         changes.
1701 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
1703         * include/profile/impl/profiler_trace.h: Uglify it to __it, use
1704         everywhere std::size_t instead of size_t.
1706 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1708         * include/profile/impl/profiler_trace.h (__trace_base<>::
1709         __trace_base()): Move inline, simplify; formatting tweaks.
1710         * include/profile/impl/profiler_hash_func.h: Formatting tweaks.
1712 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1714         * include/profile/impl/profiler_trace.h (__warning_data::
1715         __warning_message): Change to std::string; clean-up includes,
1716         qualify size_t, fprintf, etc, with std everywhere.
1717         (struct __warn::operator()): Adjust.
1718         * include/profile/impl/profiler_list_to_slist.h
1719         (__list2slist_info::__advice): Change to return a std::string;
1720         clean-up includes, qualify size_t, fprintf, etc, with std.
1721         * include/profile/impl/profiler_container_size.h
1722         (__container_size_info::__advice): Likewise.
1723         * include/profile/impl/profiler_hash_func.h (__hashfunc_info::
1724         __advice): Likewise.
1725         * include/profile/impl/profiler_list_to_vector.h
1726         (__list2vector_info::__advice): Likewise.
1727         * include/profile/impl/profiler_vector_to_list.h
1728         (__vector2list_info::__advice): Likewise.
1729         * include/profile/impl/profiler_map_to_unordered_map.h
1730         (__map2umap_info::__advice): Likewise.
1731         * include/profile/impl/profiler.h: Likewise.
1732         * include/profile/impl/profiler_hashtable_size.h: Likewise.
1733         * include/profile/impl/profiler_node.h: Likewise.
1734         * include/profile/impl/profiler_vector_size.h: Likewise.
1736         * include/profile/iterator_tracker.h: Formatting and stylistic
1737         tweaks.
1738         * include/profile/base.h: Likewise.
1739         * include/profile/map.h: Likewise.
1741 2010-06-23  Paolo Carlini <paolo.carlini@oracle.com>
1743         * include/bits/stl_tree.h (erase(iterator), erase(const_iterator)):
1744         Remove inline specifier.
1746 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
1748         * include/profile/impl/profiler_list_to_slist.h: Fix formatting,
1749         other minor stylistic changes.
1750         * include/profile/impl/profiler_container_size.h: Likewise.
1751         * include/profile/impl/profiler_vector_size.h: Likewise.
1752         * include/profile/impl/profiler_hash_func.h: Likewise.
1753         * include/profile/impl/profiler_trace.h: Likewise.
1754         * include/profile/impl/profiler_list_to_vector.h: Likewise.
1755         * include/profile/impl/profiler_vector_to_list.h: Likewise.
1756         * include/profile/impl/profiler_state.h: Likewise.
1757         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
1758         * include/profile/impl/profiler_hashtable_size.h: Likewise.
1759         * include/profile/impl/profiler_node.h: Likewise.
1761 2010-06-22  Matthias Klose  <doko@ubuntu.com>
1763         * python/libstdcxx/v6/printers.py: Don't use string exceptions.
1765 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
1767         PR libstdc++/44630
1768         * include/profile/impl/profiler_trace.h (__min, __max): Remove,
1769         use std::min, std::max everywhere.
1770         * include/profile/impl/profiler_container_size.h: Use std::min and
1771         std::max.
1772         * include/profile/impl/profiler_hash_func.h: Likewise.
1773         * include/profile/impl/profiler_list_to_vector.h: Likewise.
1775 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1777         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1778         Add *-*-solaris2.1[0-9]* to dg-xfail-if, dg-excess-errors.
1780 2010-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
1781             Kai-Uwe Bux  <bux@kubux.net>
1783         * include/bits/random.tcc (uniform_int_distribution<>::operator()):
1784         Fix to work well for arbitrary urng.max() and urng.min().
1786 2010-06-18  Paolo Carlini  <paolo.carlini@oracle.com>
1788         PR libstdc++/32618
1789         * include/bits/stl_list.h (vector<>::_M_default_initialize,
1790         _M_default_append): Declare.
1791         (list<>::list(size_type), resize(size_type)): Add in C++0x mode,
1792         use the latter.
1793         * include/bits/list.tcc (list<>::resize, _M_default_append): Define.
1794         * include/bits/stl_vector.h (vector<>::_M_default_initialize,
1795         _M_default_append): Declare.
1796         (vector<>::vector(size_type), resize(size_type)): Add in C++0x mode,
1797         use the latter.
1798         * include/bits/vector.tcc (vector<>::_M_default_append): Define.
1799         * include/bits/stl_deque.h (deque<>::_M_default_initialize,
1800         _M_default_append): Declare.
1801         (deque<>::deque(size_type), resize(size_type)): Add in C++0x mode,
1802         use the latter.
1803         * include/bits/deque.tcc (deque<>::_M_default_append): Define.
1804         * include/debug/vector: Update.
1805         * include/debug/deque: Likewise.
1806         * include/debug/list: Likewise.
1807         * include/profile/vector: Likewise.
1808         * include/profile/deque: Likewise.
1809         * include/profile/list: Likewise.
1810         * include/bits/forward_list.h (_M_default_initialize,
1811         _M_default_insert_after): Declare.
1812         (forward_list<>::forward_list(size_type), resize(size_type)): Fix,
1813         use the latter.
1814         * include/bits/forward_list.tcc (forward_list<>::_M_default_append,
1815         _M_default_insert_after): Define.
1816         * testsuite/util/testsuite_api.h (NonCopyConstructible): Add.
1817         * testsuite/23_containers/forward_list/modifiers/6.cc: Move to...
1818         * testsuite/23_containers/forward_list/capacity/resize_size.cc:
1819         ... here.
1820         * testsuite/23_containers/forward_list/cons/10.cc: Move to...
1821         * testsuite/23_containers/forward_list/cons/cons_size.cc: ... here.
1822         * testsuite/23_containers/vector/resize/1.cc: Move to...
1823         * testsuite/23_containers/vector/capacity/resize/1.cc: ... here.
1824         * testsuite/23_containers/vector/resize/moveable.cc: Move to...
1825         * testsuite/23_containers/vector/resize/capacity/moveable.cc: ... here.
1826         * testsuite/23_containers/vector/cons/cons_size.cc: New.
1827         * testsuite/23_containers/vector/capacity/resize/resize_size.cc:
1828         Likewise.
1829         * testsuite/23_containers/deque/cons/cons_size.cc: Likewise.
1830         * testsuite/23_containers/deque/capacity/resize_size.cc: Likewise.
1831         * testsuite/23_containers/list/cons/cons_size.cc: Likewise.
1832         * testsuite/23_containers/list/capacity/resize_size.cc: Likewise.
1833         * testsuite/23_containers/vector/capacity/resize/moveable.cc: Adjust.
1834         * testsuite/23_containers/deque/capacity/moveable.cc: Likewise.
1835         * testsuite/23_containers/forward_list/requirements/dr438/
1836         assign_neg.cc: Adjust dg-error line numbers.
1837         * testsuite/23_containers/forward_list/requirements/dr438/
1838         insert_neg.cc: Likewise.
1839         * testsuite/23_containers/forward_list/requirements/dr438/
1840         constructor_1_neg.cc: Likewise.
1841         * testsuite/23_containers/forward_list/requirements/dr438/
1842         constructor_2_neg.cc: Likewise.
1843         * testsuite/23_containers/vector/requirements/dr438/
1844         assign_neg.cc: Likewise.
1845         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1846         Likewise.
1847         * testsuite/23_containers/vector/requirements/dr438/
1848         constructor_1_neg.cc: Likewise.
1849         * testsuite/23_containers/vector/requirements/dr438/
1850         constructor_2_neg.cc: Likewise.
1851         * testsuite/23_containers/deque/requirements/dr438/
1852         assign_neg.cc: Likewise.
1853         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1854         Likewise.
1855         * testsuite/23_containers/deque/requirements/dr438/
1856         constructor_1_neg.cc: Likewise.
1857         * testsuite/23_containers/deque/requirements/dr438/
1858         constructor_2_neg.cc: Likewise.
1859         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1860         Likewise.
1861         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1862         Likewise.
1863         * testsuite/23_containers/list/requirements/dr438/
1864         constructor_1_neg.cc: Likewise.
1865         * testsuite/23_containers/list/requirements/dr438/
1866         constructor_2_neg.cc: Likewise.
1868 2010-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
1870         * include/bits/stl_uninitialized.h (__uninitialized_default,
1871         __uninitialized_default_n, __uninitialized_default_a,
1872         __uninitialized_default_n_a): Add.
1874         * include/bits/stl_uninitialized.h (uninitialized_copy,
1875         uninitialized_fill, uninitialized_fill_n): Use __is_trivial
1876         instead of __is_pod.
1877         * include/bits/valarray_array.h: Likewise.
1878         * include/bits/stl_algobase.h (__copy_move_backward_a,
1879         __copy_move_a): Likewise.
1881 2010-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
1883         * include/bits/stl_construct.h (_Construct): Change to variadic in
1884         C++0x mode, consistently with allocator::construct.
1885         * include/bits/stl_uninitialized.h (__uninitialized_copy_n): Use
1886         _Construct.
1887         (__uninitialized_construct_range): Move to...
1888         * include/bits/stl_tempbuf.h (__uninitialized_construct_buf): ... here.
1890 2010-06-16  Matthias Klose  <doko@ubuntu.com>
1892         * src/compatibility.cc: Export long double versions of "C" math
1893         library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire),
1894         mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit).
1896 2010-06-15  Jason Merrill  <jason@redhat.com>
1898         * testsuite/lib/libstdc++.exp: Set additional_prunes.
1899         (libstdc++-dg-test): Don't prune here.
1900         * testsuite/lib/prune.exp (dg-prune-output): New.
1901         (libstdc++-dg-prune): Rename from prune_g++_output.
1902         Add a bunch of prunes from gcc's prune.exp.
1903         * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc:
1904         Remove dg-excess-errors.
1905         * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Likewise.
1906         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
1907         * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc:
1908         Likewise.
1909         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1910         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
1911         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
1912         * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Likewise.
1913         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
1914         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1915         Likewise.
1916         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1917         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
1918         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
1919         * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Likewise.
1920         * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Likewise.
1921         * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc:
1922         Likewise.
1923         * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc:
1924         Likewise.
1925         * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Likewise.
1926         * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Likewise.
1927         * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Likewise.
1928         * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Likewise.
1929         * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Likewise.
1930         * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Likewise.
1931         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1932         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1933         Likewise.
1934         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1935         Likewise.
1936         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc:
1937         Likewise.
1938         * testsuite/30_threads/headers/future/std_c++0x_neg.cc: Likewise.
1939         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: Likewise.
1940         * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
1941         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
1942         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
1943         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
1944         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
1945         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
1946         shared_ptr_neg.cc: Likewise.
1947         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Likewise.
1949 2010-06-13  Paolo Carlini <paolo.carlini@oracle.com>
1951         * include/parallel/base.h (min, max): Mark inline.
1952         * include/parallel/set_operations.h (__parallel_set_operation):
1953         Uglify the Operation template parameter.
1955 2010-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
1957         * include/bits/shared_ptr.h (hash<shared_ptr>): Add.
1958         * include/bits/shared_ptr_base.h (hash<__shared_ptr>): Likewise.
1959         * include/bits/unique_ptr.h (hash<unique_ptr>): Likewise.
1960         * testsuite/20_util/shared_ptr/hash/1.cc: New.
1961         * testsuite/20_util/unique_ptr/hash/1.cc: Likewise.
1963 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1965         * doc/xml/manual/appendix_contributing.xml: Indent code examples
1966         to match original C++STYLE document. Fix typos and syntax errors.
1967         Add some basic docbook markup.
1968         * doc/html/*: Regenerate.
1970 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1972         PR libstdc++/44268
1973         * doc/xml/manual/abi.xml: Fix libgcc version for hppa-linux.
1975 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1977         * include/std/tuple (_Swallow_assign::operator=): Add const.
1978         (ignore): Replace anonymous namespace member with const instance.
1980 2010-06-10  Suresh Gumpula  <suresh.gumpula@amd.com>
1982         PR libstdc++/43918
1983         * config/os/djgpp/error_constants.h: New.
1984         * configure.host: Use it.
1986 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
1988         * include/std/tuple (tuple(const tuple&)): Define explicitly-defaulted.
1989         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
1990         line number.
1992 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
1994         PR libstdc++/44487
1995         * include/bits/stl_pair.h (pair(pair&&)): Remove.
1996         (pair(pair<_U1, _U2>&&): Use forward, consistently with Bullet 5
1997         of LWG 1326.
1998         * include/std/tuple (tuple(pair<_U1, _U2>&&)): Likewise.
1999         * testsuite/20_util/pair/44487.cc: Add.
2000         * testsuite/20_util/tuple/cons/44487.cc: Likewise.
2001         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2002         line numbers.
2004 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2006         * include/std/type_traits (is_nothrow_constructible): Add.
2007         (declval): Add noexcept specification.
2008         * testsuite/util/testsuite_tr1.h (struct NothrowExplicitClass,
2009         ThrowExplicitClass, NoexceptExplicitClass, ExceptExplicitClass):
2010         Add.
2011         * testsuite/20_util/is_nothrow_constructible/value.cc: New.
2012         * testsuite/20_util/is_nothrow_constructible/requirements/
2013         typedefs.cc: Likewise.
2014         * testsuite/20_util/is_nothrow_constructible/requirements/
2015         explicit_instantiation.cc: Likewise.
2016         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2017         Adjust dg-error line numbers.
2018         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2019         Likewise.
2020         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2022 2010-06-09  Khem Raj  <raj.khem@gmail.com>
2024         PR libstdc++/44461
2025         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Use .pushsection/.popsection
2026         to emit inline assembly into .text section.
2028 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2030         Revert:
2031         2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2033         PR libstdc++/44413
2034         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
2035         Simplify, just return -1, 0, 1.
2037 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
2039         PR bootstrap/43170
2040         * configure: Regenerate.
2042 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2044         PR libstdc++/44413
2045         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
2046         Simplify, just return -1, 0, 1.
2048 2010-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
2050         * include/std/type_traits (has_nothrow_assign): Rename to
2051         has_nothrow_copy_assign.
2052         (has_trivial_assign): Rename to has_trivial_copy_assign.
2053         * testsuite/20_util/has_nothrow_copy_assign/value.cc: New.
2054         * testsuite/20_util/has_nothrow_copy_assign/requirements/
2055         typedefs.cc: Likewise.
2056         * testsuite/20_util/has_nothrow_copy_assign/requirements/
2057         explicit_instantiation.cc: Likewise.
2058         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
2059         * testsuite/20_util/has_trivial_copy_assign/requirements/
2060         typedefs.cc: Likewise.
2061         * testsuite/20_util/has_trivial_copy_assign/requirements/
2062         explicit_instantiation.cc: Likewise.
2064 2010-06-08  Johannes Singler  <singler@kit.edu>
2066         * include/parallel/find.h
2067         (__find_template(.., growing_blocks_tag)): Make block size
2068         proportional to current position.
2069         * include/parallel/settings.h (_Settings): Introduce new tuning
2070         parameter find_scale_factor to the end of the struct, defaults to
2071         0.01f.
2073 2010-06-08  Johannes Singler  <singler@kit.edu>
2075         * include/parallel/partial_sum.h
2076         (__parallel_partial_sum_linear):
2077         Correctly calculate part lengths for partial_sum_dilation!=1.
2079 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
2081         PR libstdc++/44417
2082         * include/c_std/cwctype: Provide a workaround for bug glibc
2083         BZ 9694 affecting glibc 2.9 and older.
2084         * include/c_global/cwctype: Likewise.
2085         * testsuite/util/testsuite_abi.h: Remove temporary workaround.
2086         * testsuite/util/testsuite_allocator.h: Use everywhere std::size_t
2087         and std::ptrdiff_t, don't include <cstddef>.
2089         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2090         error_code.cc: Minor tweak, prefer <cwchar> to <wchar.h>.
2092 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
2094         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp:
2095         Avoid -Wall warnings.
2096         * testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
2097         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
2098         * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
2099         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
2100         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
2101         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
2102         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
2103         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
2104         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
2105         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
2106         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
2107         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
2108         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
2109         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
2110         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
2111         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
2112         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
2113         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
2114         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
2115         * testsuite/27_io/types/2.cc: Likewise.
2116         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
2117         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
2118         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
2119         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
2120         * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
2121         * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
2122         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
2123         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
2124         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
2125         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
2126         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc:
2127         Likewise.
2128         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
2129         Likewise.
2130         * testsuite/27_io/fpos/mbstate_t/4_neg.cc: Likewise.
2131         * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
2132         * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
2133         * testsuite/27_io/fpos/mbstate_t/5.cc: Likewise.
2134         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc:
2135         Likewise.
2136         * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
2137         Likewise.
2138         * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
2139         * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
2140         * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
2141         * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
2142         * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
2143         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
2144         * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
2145         * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
2146         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
2147         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
2148         * testsuite/25_algorithms/minmax/3.cc: Likewise.
2149         * testsuite/19_diagnostics/logic_error/what-3.cc: Likewise.
2150         * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
2151         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
2152         * testsuite/24_iterators/front_insert_iterator/2.cc: Likewise.
2153         * testsuite/24_iterators/back_insert_iterator/2.cc: Likewise.
2154         * testsuite/24_iterators/insert_iterator/2.cc: Likewise.
2155         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: Likewise.
2156         * testsuite/21_strings/c_strings/wchar_t/1.cc: Likewise.
2157         * testsuite/21_strings/c_strings/wchar_t/2.cc: Likewise.
2158         * testsuite/21_strings/c_strings/char/1.cc: Likewise.
2159         * testsuite/21_strings/c_strings/char/2.cc: Likewise.
2160         * testsuite/26_numerics/random/independent_bits_engine/cons/
2161         copy.cc: Likewise.
2162         * testsuite/26_numerics/random/subtract_with_carry_engine/
2163         cons/copy.cc: Likewise.
2164         * testsuite/26_numerics/random/subtract_with_carry_engine/
2165         requirements/constants.cc: Likewise.
2166         * testsuite/26_numerics/random/discard_block_engine/
2167         cons/copy.cc: Likewise.
2168         * testsuite/26_numerics/random/mersenne_twister_engine/
2169         cons/copy.cc: Likewise.
2170         * testsuite/26_numerics/random/mersenne_twister_engine/
2171         requirements/constants.cc: Likewise.
2172         * testsuite/26_numerics/random/linear_congruential_engine/
2173         cons/copy.cc: Likewise.
2174         * testsuite/26_numerics/random/linear_congruential_engine/
2175         requirements/constants.cc: Likewise.
2176         * testsuite/26_numerics/random/shuffle_order_engine/
2177         cons/copy.cc: Likewise.
2178         * testsuite/26_numerics/random/shuffle_order_engine/
2179         requirements/constants.cc: Likewise.
2180         * testsuite/26_numerics/complex/complex_value.cc: Likewise.
2181         * testsuite/26_numerics/headers/cmath/overloads.cc: Likewise.
2182         * testsuite/26_numerics/headers/cmath/
2183         c99_classification_macros_c++.cc: Likewise.
2184         * testsuite/26_numerics/slice_array/array_assignment.cc: Likewise.
2185         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2186         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2187         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2188         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
2189         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2190         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2191         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2192         * testsuite/22_locale/money_put/put/char/12971.cc: Likewise.
2193         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
2194         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2195         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2196         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2197         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
2198         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2199         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2200         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2201         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2202         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
2203         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2204         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2205         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2206         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
2207         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2208         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2209         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2210         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2211         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2212         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2213         * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise.
2214         * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
2215         * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
2216         * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
2217         * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
2218         * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
2219         * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
2220         * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
2221         * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
2222         * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
2223         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2224         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2225         * testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise.
2226         * testsuite/22_locale/moneypunct/members/char/1.cc: Likewise.
2227         * testsuite/22_locale/ctype_base/mask.cc: Likewise.
2228         * testsuite/tr1/5_numerical_facilities/random/
2229         subtract_with_carry/requirements/constants.cc: Likewise.
2230         * testsuite/tr1/5_numerical_facilities/random/
2231         subtract_with_carry_01/requirements/constants.cc: Likewise.
2232         * testsuite/tr1/5_numerical_facilities/random/
2233         discard_block/requirements/constants.cc: Likewise.
2234         * testsuite/tr1/5_numerical_facilities/random/
2235         linear_congruential/requirements/constants.cc: Likewise.
2236         * testsuite/tr1/5_numerical_facilities/random/
2237         mersenne_twister/requirements/constants.cc: Likewise.
2238         * testsuite/tr1/5_numerical_facilities/random/
2239         xor_combine/requirements/constants.cc: Likewise.
2240         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Likewise.
2241         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
2242         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
2243         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: Likewise.
2244         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
2245         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Likewise.
2246         * testsuite/tr1/8_c_compatibility/cmath/templates.cc: Likewise.
2247         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Likewise.
2248         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
2249         * testsuite/tr1/6_containers/utility/pair.cc: Likewise.
2250         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
2251         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
2252         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2253         * testsuite/29_atomics/atomic_integral/operators/
2254         increment_neg.cc: Likewise.
2255         * testsuite/29_atomics/atomic_integral/operators/
2256         bitwise_neg.cc: Likewise.
2257         * testsuite/29_atomics/atomic_integral/operators/
2258         decrement_neg.cc: Likewise.
2259         * testsuite/29_atomics/atomic_flag/cons/1.cc: Likewise.
2260         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
2261         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2262         * testsuite/23_containers/priority_queue/members/7161.cc
2263         * testsuite/23_containers/set/dr130.cc: Likewise.
2264         * testsuite/23_containers/list/pthread5.cc: Likewise.
2265         * testsuite/23_containers/map/dr130.cc: Likewise.
2266         * testsuite/util/exception/safety.h: Likewise.
2267         * testsuite/util/testsuite_common_types.h: Likewise.
2268         * testsuite/20_util/clocks/1.cc: Likewise.
2270 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2272         * doc/Makefile.am, doc/Makefile.in (xml_sources_extra): Add
2273         fdl-1.3.xml.
2274         * doc/xml/manual/intro.xml: Update FDL link.
2275         * doc/xml/manual/spine.xml: Update FDL include.
2276         * doc/xml/gnu/fdl-1.3.xml: Add.
2277         * doc/html/*: Regenerate.
2279 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2281         * include/ext/pointer.h (_Pointer_adapter::operator++): Remove
2282         name of unused parameter.
2284 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2286         PR libstdc++/40296
2287         * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace
2288         __safe_bool constructor with nullptr_t constructor in C++0x mode.
2289         (exception_ptr::operator bool): Add explicit conversion to bool.
2290         (swap(exception_ptr&, exception_ptr&)): Add.
2291         (exception_ptr::_M_safe_bool_dummy): Only declare for old ABI.
2292         * libsupc++/eh_ptr.cc (exception_ptr::_M_safe_bool_dummy): Move
2293         next to other functions retained for ABI compatibility.
2294         * testsuite/18_support/exception_ptr/requirements.cc: New.
2295         * testsuite/18_support/exception_ptr/requirements_neg.cc: New.
2297 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2299         * include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
2300         nullptr_t specializations inline.
2302 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2304         * doc/xml/manual/status_cxx200x.xml: Update.
2306 2010-06-05  Magnus Fromreide  <magfr@lysator.liu.se>
2307             Jonathan Wakely  <jwakely.gcc@gmail.com>
2309         * include/std/functional (function): Add nullptr_t support.
2310         * include/bits/shared_ptr.h (shared_ptr): Likewise.
2311         * include/bits/unique_ptr.h (unique_ptr): Likewise.
2313 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2315         * include/bits/shared_ptr_base.h (__shared_ptr): Add nullptr_t support.
2316         (__shared_count): Add nullptr_t support and make constructors explicit.
2317         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
2318         * testsuite/20_util/shared_ptr/cons/nullptr.cc: New.
2319         * testsuite/20_util/unique_ptr/cons/nullptr.cc: New.
2320         * testsuite/20_util/unique_ptr/assign/nullptr.cc: New.
2321         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
2322         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
2323         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
2325 2010-06-04  Jason Merrill  <jason@redhat.com>
2327         * testsuite/util/testsuite_abi.h: Work around glibc BZ 9694.
2329 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
2331         * testsuite/util/testsuite_iterators.h: Don't include <cstddef>,
2332         don't use NULL, use std::size_t and std::ptrdiff_t.
2333         * testsuite/18_support/exception/38732.cc: Likewise.
2334         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
2335         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
2336         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
2337         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2338         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2339         * testsuite/23_containers/list/pthread1.cc: Likewise.
2340         * testsuite/23_containers/map/pthread6.cc: Likewise.
2341         * testsuite/util/testsuite_hooks.cc: Likewise.
2342         * config/locale/gnu/codecvt_members.cc: Likewise.
2343         * config/locale/gnu/messages_members.cc: Likewise.
2344         * config/locale/gnu/c_locale.h: Likewise.
2345         * config/locale/gnu/messages_members.h: Likewise.
2346         * config/locale/gnu/monetary_members.cc: Likewise.
2347         * config/locale/gnu/time_members.cc: Likewise.
2348         * config/locale/gnu/time_members.h: Likewise.
2349         * config/locale/generic/c_locale.cc: Likewise.
2350         * config/locale/generic/codecvt_members.cc: Likewise.
2351         * config/locale/generic/c_locale.h: Likewise.
2352         * config/locale/generic/time_members.cc: Likewise.
2353         * config/locale/generic/time_members.h: Likewise.
2355 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
2357         * include/bits/c++config (std::size_t, std::ptrdiff_t,
2358         std::nullptr_t): Provide typedefs.
2359         * include/c_std/cstddef: Don't provide std::size_t and
2360         std::ptrdiff_t here.
2361         * include/c_global/cstddef: Likewise.
2362         * src/condition_variable.cc: Don't include <cstddef>,
2363         don't use NULL, use std::size_t and std::ptrdiff_t.
2364         * src/mt_allocator.cc: Likewise.
2365         * src/localename.cc: Likewise.
2366         * src/chrono.cc: Likewise.
2367         * src/thread.cc: Likewise.
2368         * include/debug/formatter.h: Likewise.
2369         * include/debug/functions.h: Likewise.
2370         * include/std/valarray: Likewise.
2371         * include/std/thread: Likewise.
2372         * include/std/type_traits: Likewise.
2373         * include/std/atomic: Likewise.
2374         * include/std/iterator: Likewise.
2375         * include/std/bitset: Likewise.
2376         * include/std/fstream: Likewise.
2377         * include/std/mutex: Likewise.
2378         * include/c_std/cstdlib: Likewise.
2379         * include/c_std/cstdio: Likewise.
2380         * include/c_std/ctime: Likewise.
2381         * include/c_std/cwchar: Likewise.
2382         * include/c_std/cstring: Likewise.
2383         * include/parallel/multiway_merge.h: Likewise.
2384         * include/parallel/multiseq_selection.h: Likewise.
2385         * include/parallel/base.h: Likewise.
2386         * include/parallel/basic_iterator.h: Likewise.
2387         * include/parallel/multiway_mergesort.h
2388         * include/parallel/partition.h: Likewise.
2389         * include/ext/string_conversions.h: Likewise.
2390         * include/ext/pb_ds/assoc_container.hpp: Likewise.
2391         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp:
2392         Likewise.
2393         * include/ext/pb_ds/detail/resize_policy/
2394         hash_prime_size_policy_imp.hpp: Likewise.
2395         * include/ext/pb_ds/detail/resize_policy/
2396         sample_resize_policy.hpp: Likewise.
2397         * include/ext/pb_ds/detail/resize_policy/
2398         sample_resize_trigger.hpp: Likewise.
2399         * include/ext/pb_ds/detail/binomial_heap_base_/
2400         erase_fn_imps.hpp: Likewise.
2401         * include/ext/pb_ds/detail/binomial_heap_base_/
2402         find_fn_imps.hpp: Likewise.
2403         * include/ext/pb_ds/detail/binomial_heap_base_/
2404         insert_fn_imps.hpp: Likewise.
2405         * include/ext/pb_ds/detail/binomial_heap_base_/
2406         constructors_destructor_fn_imps.hpp: Likewise.
2407         * include/ext/pb_ds/detail/binomial_heap_base_/
2408         debug_fn_imps.hpp: Likewise.
2409         * include/ext/pb_ds/detail/binomial_heap_base_/
2410         split_join_fn_imps.hpp: Likewise.
2411         * include/ext/pb_ds/detail/cc_hash_table_map_/
2412         erase_store_hash_fn_imps.hpp: Likewise.
2413         * include/ext/pb_ds/d: Likewise.etail/cc_hash_table_map_/
2414         insert_no_store_hash_fn_imps.hpp
2415         * include/ext/pb_ds/detail/cc_hash_table_map_/
2416         cmp_fn_imps.hpp: Likewise.
2417         * include/ext/pb_ds/detail/cc_hash_table_map_/
2418         find_fn_imps.hpp: Likewise.
2419         * include/ext/pb_ds/detail/cc_hash_table_map_/
2420         insert_store_hash_fn_imps.hpp: Likewise.
2421         * include/ext/pb_ds/detail/cc_hash_table_map_/
2422         debug_fn_imps.hpp: Likewise.
2423         * include/ext/pb_ds/detail/cc_hash_table_map_/
2424         info_fn_imps.hpp: Likewise.
2425         * include/ext/pb_ds/detail/cc_hash_table_map_/
2426         entry_list_fn_imps.hpp: Likewise.
2427         * include/ext/pb_ds/detail/cc_hash_table_map_/
2428         trace_fn_imps.hpp: Likewise.
2429         * include/ext/pb_ds/detail/cc_hash_table_map_/
2430         erase_fn_imps.hpp: Likewise.
2431         * include/ext/pb_ds/detail/cc_hash_table_map_/
2432         cc_ht_map_.hpp: Likewise.
2433         * include/ext/pb_ds/detail/cc_hash_table_map_/
2434         resize_fn_imps.hpp: Likewise.
2435         * include/ext/pb_ds/detail/cc_hash_table_map_/
2436         constructor_destructor_fn_imps.hpp: Likewise.
2437         * include/ext/pb_ds/detail/cc_hash_table_map_/
2438         erase_no_store_hash_fn_imps.hpp: Likewise.
2439         * include/ext/pb_ds/detail/unordered_iterator/
2440         iterator.hpp: Likewise.
2441         * include/ext/pb_ds/detail/unordered_iterator/
2442         const_iterator.hpp: Likewise.
2443         * include/ext/pb_ds/detail/unordered_iterator/
2444         point_iterator.hpp: Likewise.
2445         * include/ext/pb_ds/detail/unordered_iterator/
2446         const_point_iterator.hpp: Likewise.
2447         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Likewise.
2448         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Likewise.
2449         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Likewise.
2450         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Likewise.
2451         * include/ext/pb_ds/detail/pat_trie_/
2452         insert_join_fn_imps.hpp: Likewise.
2453         * include/ext/pb_ds/detail/pat_trie_/
2454         constructors_destructor_fn_imps.hpp: Likewise.
2455         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Likewise.
2456         * include/ext/pb_ds/detail/pat_trie_/
2457         const_child_iterator.hpp: Likewise.
2458         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Likewise.
2459         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Likewise.
2460         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Likewise.
2461         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Likewise.
2462         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Likewise.
2463         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Likewise.
2464         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Likewise.
2465         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Likewise.
2466         * include/ext/pb_ds/detail/bin_search_tree_/
2467         find_fn_imps.hpp: Likewise.
2468         * include/ext/pb_ds/detail/bin_search_tree_/
2469         r_erase_fn_imps.hpp: Likewise.
2470         * include/ext/pb_ds/detail/bin_search_tree_/
2471         constructors_destructor_fn_imps.hpp: Likewise.
2472         * include/ext/pb_ds/detail/bin_search_tree_/
2473         debug_fn_imps.hpp: Likewise.
2474         * include/ext/pb_ds/detail/bin_search_tree_/
2475         rotate_fn_imps.hpp: Likewise.
2476         * include/ext/pb_ds/detail/bin_search_tree_/
2477         erase_fn_imps.hpp: Likewise.
2478         * include/ext/pb_ds/detail/bin_search_tree_/
2479         insert_fn_imps.hpp: Likewise.
2480         * include/ext/pb_ds/detail/bin_search_tree_/
2481         node_iterators.hpp: Likewise.
2482         * include/ext/pb_ds/detail/bin_search_tree_/
2483         point_iterators.hpp: Likewise.
2484         * include/ext/pb_ds/detail/bin_search_tree_/
2485         split_join_fn_imps.hpp: Likewise.
2486         * include/ext/pb_ds/detail/bin_search_tree_/
2487         iterators_fn_imps.hpp: Likewise.
2488         * include/ext/pb_ds/detail/gp_hash_table_map_/
2489         find_fn_imps.hpp: Likewise.
2490         * include/ext/pb_ds/detail/gp_hash_table_map_/
2491         gp_ht_map_.hpp: Likewise.
2492         * include/ext/pb_ds/detail/gp_hash_table_map_/
2493         resize_fn_imps.hpp: Likewise.
2494         * include/ext/pb_ds/detail/gp_hash_table_map_/
2495         standard_policies.hpp: Likewise.
2496         * include/ext/pb_ds/detail/tree_policy/
2497         sample_tree_node_update.hpp: Likewise.
2498         * include/ext/pb_ds/detail/basic_tree_policy/
2499         null_node_metadata.hpp: Likewise.
2500         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Likewise.
2501         * include/ext/pb_ds/detail/binary_heap_/
2502         const_point_iterator.hpp: Likewise.
2503         * include/ext/pb_ds/detail/binary_heap_/
2504         split_join_fn_imps.hpp: Likewise.
2505         * include/ext/pb_ds/detail/trie_policy/
2506         sample_trie_node_update.hpp: Likewise.
2507         * include/ext/pb_ds/detail/trie_policy/
2508         sample_trie_e_access_traits.hpp: Likewise.
2509         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Likewise.
2510         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Likewise.
2511         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Likewise.
2512         * include/ext/pb_ds/detail/pairing_heap_/
2513         split_join_fn_imps.hpp: Likewise.
2514         * include/ext/pb_ds/detail/list_update_policy/
2515         counter_lu_metadata.hpp: Likewise.
2516         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2517         trace_fn_imps.hpp: Likewise.
2518         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2519         erase_fn_imps.hpp: Likewise.
2520         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2521         null_metadata.hpp: Likewise.
2522         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2523         const_iterator.hpp: Likewise.
2524         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2525         insert_fn_imps.hpp: Likewise.
2526         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2527         constructors_destructor_fn_imps.hpp: Likewise.
2528         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2529         debug_fn_imps.hpp: Likewise.
2530         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2531         iterators_fn_imps.hpp: Likewise.
2532         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2533         const_point_iterator.hpp: Likewise.
2534         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Likewise.
2535         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Likewise.
2536         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Likewise.
2537         * include/ext/pb_ds/detail/thin_heap_/
2538         constructors_destructor_fn_imps.hpp: Likewise.
2539         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Likewise.
2540         * include/ext/pb_ds/detail/thin_heap_/
2541         split_join_fn_imps.hpp: Likewise.
2542         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Likewise.
2543         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Likewise.
2544         * include/ext/pb_ds/detail/ov_tree_map_/
2545         constructors_destructor_fn_imps.hpp: Likewise.
2546         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Likewise.
2547         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Likewise.
2548         * include/ext/pb_ds/detail/ov_tree_map_/
2549         iterators_fn_imps.hpp: Likewise.
2550         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Likewise.
2551         * include/ext/pb_ds/detail/hash_fn/
2552         sample_ranged_probe_fn.hpp: Likewise.
2553         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Likewise.
2554         * include/ext/pb_ds/detail/hash_fn/
2555         sample_ranged_hash_fn.hpp: Likewise.
2556         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
2557         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Likewise.
2558         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
2559         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Likewise.
2560         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
2561         * include/ext/pb_ds/detail/splay_tree_/
2562         split_join_fn_imps.hpp: Likewise.
2563         * include/ext/pb_ds/detail/list_update_map_/
2564         trace_fn_imps.hpp: Likewise.
2565         * include/ext/pb_ds/detail/list_update_map_/
2566         erase_fn_imps.hpp: Likewise.
2567         * include/ext/pb_ds/detail/list_update_map_/
2568         find_fn_imps.hpp: Likewise.
2569         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Likewise.
2570         * include/ext/pb_ds/detail/list_update_map_/
2571         constructor_destructor_fn_imps.hpp: Likewise.
2572         * include/ext/pb_ds/detail/list_update_map_/
2573         insert_fn_imps.hpp: Likewise.
2574         * include/ext/pb_ds/detail/list_update_map_/
2575         info_fn_imps.hpp: Likewise.
2576         * include/ext/pb_ds/detail/list_update_map_/
2577         iterators_fn_imps.hpp: Likewise.
2578         * include/ext/pb_ds/detail/rc_binomial_heap_/
2579         erase_fn_imps.hpp: Likewise.
2580         * include/ext/pb_ds/detail/rc_binomial_heap_/
2581         insert_fn_imps.hpp: Likewise.
2582         * include/ext/pb_ds/detail/rc_binomial_heap_/
2583         debug_fn_imps.hpp: Likewise.
2584         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
2585         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Likewise.
2586         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Likewise.
2587         * include/ext/pb_ds/detail/rb_tree_map_/
2588         split_join_fn_imps.hpp: Likewise.
2589         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Likewise.
2590         * include/ext/pb_ds/list_update_policy.hpp: Likewise.
2591         * include/ext/pb_ds/exception.hpp: Likewise.
2592         * include/ext/pb_ds/tree_policy.hpp: Likewise.
2593         * include/ext/pb_ds/tag_and_trait.hpp: Likewise.
2594         * include/ext/pb_ds/hash_policy.hpp: Likewise.
2595         * include/ext/pb_ds/trie_policy.hpp: Likewise.
2596         * include/ext/pb_ds/priority_queue.hpp: Likewise.
2597         * include/ext/throw_allocator.h: Likewis: Likewise.e.
2598         * include/ext/bitmap_allocator.h
2599         * include/ext/rc_string_base.h: Likewise.
2600         * include/ext/new_allocator.h: Likewise.
2601         * include/ext/codecvt_specializations.h: Likewise.
2602         * include/ext/functional: Likewise.: Likewise.
2603         * include/ext/array_allocator.h: Likewise.
2604         * include/ext/mt_allocator.h: Likewise.
2605         * include/ext/sso_string_base.h: Likewise.
2606         * include/profile/impl/profiler_trace.h: Likewise.
2607         * include/profile/impl/profiler_node.h: Likewise.
2608         * include/bits/stl_algobase.h: Likewise.
2609         * include/bits/functional_hash.h: Likewise.
2610         * include/bits/locale_facets.tcc: Likewise.
2611         * include/bits/locale_facets.h: Likewise.
2612         * include/bits/stl_iterator_base_types.h: Likewise.
2613         * include/bits/move.h: Likewise.
2614         * include/bits/boost_concept_check.h: Likewise.
2615         * include/bits/basic_string.tcc: Likewise.
2616         * include/bits/locale_facets_nonio.tcc: Likewise.
2617         * include/bits/fstream.tcc: Likewise.
2618         * include/bits/locale_facets_nonio.h: Likewise.
2619         * include/c_global/cstdlib: Likewise.
2620         * include/c_global/cstdio: Likewise.
2621         * include/c_global/ctime: Likewise.
2622         * include/c_global/cwchar: Likewise.
2623         * include/c_global/cstring
2624         * include/tr1/type_traits: Likewise.
2625         * include/backward/hash_fun.h: Likewise.
2626         * libsupc++/new: Likewise.
2627         * libsupc++/initializer_list: Likewise.
2628         * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
2629         * testsuite/27_io/basic_iostream/cons/2020.cc: Likewise.
2630         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2631         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2632         * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise.
2633         * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2634         * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
2635         * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2636         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1057.cc: Likewise.
2637         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2638         * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
2639         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2640         * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
2641         * testsuite/27_io/basic_streambuf/sputc/char/1057.cc: Likewise.
2642         * testsuite/27_io/objects/wchar_t/5268.cc: Likewise.
2643         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2644         * testsuite/27_io/objects/char/5268.cc: Likewise.
2645         * testsuite/27_io/objects/char/10.cc: Likewise.
2646         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise.
2647         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2648         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
2649         * testsuite/27_io/basic_ios/locales/char/1.cc: Likewise.
2650         * testsuite/27_io/basic_ios/clear/char/1.cc: Likewise.
2651         * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
2652         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1057.cc: Likewise.
2653         * testsuite/27_io/basic_stringbuf/sputc/char/1057.cc: Likewise.
2654         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1057.cc: Likewise.
2655         * testsuite/27_io/basic_stringbuf/sputn/char/1057.cc: Likewise.
2656         * testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise.
2657         * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
2658         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
2659         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
2660         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
2661         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
2662         * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise.
2663         * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
2664         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
2665         exceptions_null.cc
2666         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
2667         1.cc: Likewise.
2668         * testsuite/27_io/basic_istream/extractors_other/char/
2669         exceptions_null.cc: Likewise.
2670         * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise.
2671         * testsuite/27_io/basic_istream/cons/3.cc: Likewise.
2672         * testsuite/27_io/basic_istream/extractors_arithmetic/
2673         wchar_t/01.cc: Likewise.
2674         * testsuite/27_io/basic_istream/extractors_arithmetic/
2675         char/01.cc: Likewise.
2676         * testsuite/27_io/basic_istream/extractors_character/
2677         wchar_t/1.cc: Likewise.
2678         * testsuite/27_io/basic_istream/extractors_character/
2679         wchar_t/2.cc: Likewise.
2680         * testsuite/27_io/basic_istream/extractors_character/
2681         wchar_t/3.cc: Likewise.
2682         * testsuite/27_io/basic_istream/extractors_character/
2683         char/1.cc: Likewise.
2684         * testsuite/27_io/basic_istream/extractors_character/
2685         char/2.cc: Likewise.
2686         * testsuite/27_io/basic_istream/extractors_character/
2687         char/3.cc: Likewise.
2688         * testsuite/27_io/basic_istream/extractors_character/
2689         char/9826.cc: Likewise.
2690         * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
2691         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
2692         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2693         exceptions_null.cc: Likewise.
2694         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2695         1.cc: Likewise.
2696         * testsuite/27_io/basic_ostream/inserters_other/char/
2697         exceptions_null.cc: Likewise.
2698         * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise.
2699         * testsuite/27_io/basic_ostream/cons/2020.cc: Likewise.
2700         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
2701         * testsuite/27_io/basic_ostream/inserters_character/
2702         wchar_t/8.cc: Likewise.
2703         * testsuite/27_io/basic_ostream/inserters_character/
2704         char/8.cc: Likewise.
2705         * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise.
2706         * testsuite/27_io/basic_filebuf/sputc/char/1057.cc: Likewise.
2707         * testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise.
2708         * testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise.
2709         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2710         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2711         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2712         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2713         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2714         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2715         * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
2716         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2717         * testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise.
2718         * testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise.
2719         * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise.
2720         * testsuite/27_io/basic_filebuf/sputn/char/1057.cc: Likewise.
2721         * testsuite/24_iterators/ostreambuf_iterator/2.cc: Likewise.
2722         * testsuite/18_support/bad_exception/23591_thread-1.c
2723         * testsuite/18_support/new_delete_placement.cc: Likewise.
2724         * testsuite/18_support/pthread_guard.cc: Likewise.
2725         * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: Likewise.
2726         * testsuite/21_strings/basic_string/operations/char/1.cc: Likewise.
2727         * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
2728         * testsuite/21_strings/basic_string/cons/wchar_t/5.cc: Likewise.
2729         * testsuite/21_strings/basic_string/cons/char/5.cc: Likewise.
2730         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2731         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2732         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2733         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2734         * testsuite/30_threads/mutex/cons/assign_neg.cc: Likewise.
2735         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2736         * testsuite/30_threads/thread/cons/assign_neg.cc: Likewise.
2737         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
2738         * testsuite/30_threads/recursive_timed_mutex/cons/
2739         assign_neg.cc: Likewise.
2740         * testsuite/30_threads/recursive_timed_mutex/cons/
2741         copy_neg.cc: Likewise.
2742         * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
2743         * testsuite/ext/slist/23781.cc: Likewise.
2744         * testsuite/ext/rope/pthread7-rope.cc: Likewise.
2745         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise.
2746         * testsuite/22_locale/ctype/is/wchar_t/1.cc: Likewise.
2747         * testsuite/22_locale/ctype/is/char/1.cc: Likewise.
2748         * testsuite/22_locale/time_put/put/char/12439_1.cc: Likewise.
2749         * testsuite/22_locale/time_put/put/char/12439_3.cc: Likewise.
2750         * testsuite/22_locale/locale/cons/2.cc: Likewise.
2751         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2752         * testsuite/22_locale/locale/cons/29217.cc: Likewise.
2753         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2754         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2755         * testsuite/tr1/6_containers/unordered_multimap/
2756         requirements/iterator_null_neg.cc: Likewise.
2757         * testsuite/tr1/6_containers/unordered_multiset/
2758         requirements/iterator_null_neg.cc: Likewise.
2759         * testsuite/29_atomics/atomic_address/cons/single_value.cc: Likewise.
2760         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
2761         * testsuite/23_containers/multimap/23781.cc: Likewise.
2762         * testsuite/23_containers/set/23781.cc: Likewise.
2763         * testsuite/23_containers/multiset/23781.cc: Likewise.
2764         * testsuite/23_containers/list/pthread1.cc: Likewise.
2765         * testsuite/23_containers/list/23781.cc: Likewise.
2766         * testsuite/23_containers/map/pthread6.cc: Likewise.
2767         * testsuite/23_containers/map/23781.cc: Likewise.
2768         * testsuite/util/regression/rand/priority_queue/
2769         rand_regression_test.hpp: Likewise.
2770         * testsuite/util/regression/rand/priority_queue/
2771         container_rand_regression_test.tcc: Likewise.
2772         * testsuite/util/regression/rand/assoc/
2773         rand_regression_test.hpp: Likewise.
2774         * testsuite/util/regression/rand/assoc/
2775         container_rand_regression_test.tcc: Likewise.
2776         * testsuite/util/testsuite_hooks.cc: Likewise.
2777         * testsuite/util/testsuite_io.h: Likewise.
2778         * testsuite/util/testsuite_iterators.h: Likewise.
2779         * testsuite/util/replacement_memory_operators.h: Likewise.
2780         * testsuite/util/testsuite_allocator.h: Likewise.
2781         * testsuite/util/testsuite_performance.h: Likewise.
2783 2010-06-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2785         * testsuite/tr1/2_general_utilities/shared_ptr/cons/pointer.cc: Fix
2786         which tests are run.
2787         * testsuite/20_util/shared_ptr/cons/pointer.cc: Likewise.
2789 2010-06-01  Maxim Kuvyrkov  <maxim@codesourcery.com>
2791         * acinclude.m4, configure.host: Support Bionic C library.
2792         * configure: Regenerate.
2793         * config/os/bionic/ctype_base.h, config/os/bionic/ctype_inline.h,
2794         * config/os/bionic/ctype_noincline.h, config/os/bionic/os_defines.h:
2795         New files, based on config/os/newlib/*.
2797 2010-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
2799         PR libstdc++/43820
2800         * include/bits/shared_ptr_base.h: Require complete type.
2801         * include/tr1/shared_ptr.h: Likewise.
2802         * testsuite/20_util/shared_ptr/cons/43820.cc: New.
2803         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.
2805 2010-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
2807         * include/bits/basic_string.h (front, back): Add.
2808         * include/debug/string: Adjust.
2809         * include/ext/vstring.h (front, back): Tweak the implementation
2810         to follow more closely the letter of the specs.
2811         * testsuite/21_strings/basic_string/element_access/char/
2812         front_back.cc: New.
2813         * testsuite/21_strings/basic_string/element_access/wchar_t/
2814         front_back.cc: Likewise.
2815         * config/abi/pre/gnu.ver: Export new symbols.
2816         * testsuite/util/testsuite_abi.cc: Adjust.
2817         * configure.ac: Bump minor version to 6:15:0.
2818         * configure: Regenerate.
2820 2010-05-28  Paolo Carlini  <paolo.carlini@oracle.com>
2822         * include/bits/stl_vector.h (vector<>::data): Fix return type
2823         in c++0x mode.
2824         * testsuite/23_containers/vector/requirements/dr438/
2825         assign_neg.cc: Adjust dg-error line number.
2826         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2827         Likewise.
2828         * testsuite/23_containers/vector/requirements/dr438/
2829         constructor_1_neg.cc: Likewise.
2830         * testsuite/23_containers/vector/requirements/dr438/
2831         constructor_2_neg.cc: Likewise.
2833 2010-05-27  Jason Merrill  <jason@redhat.com>
2835         Revert:
2836         PR libstdc++/42832
2837         * include/std/functional (function<>::swap): Perform bytewise
2838         swap of _M_functor.
2839         * include/tr1/functional (function<>::swap): Likewise.
2841 2010-05-27  Paolo Carlini  <paolo.carlini@oracle.com>
2843         PR libstdc++/40497
2844         * include/bits/cpp_type_traits.h (__is_iterator): Add.
2845         * include/bits/stl_iterator_base_funcs.h (next, prev): Use it.
2846         * testsuite/24_iterators/operations/40497.cc: New.
2848 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
2850         PR libstdc++/25306
2851         * include/bits/stl_algobase.h (fill_n): Use a properly typed __niter
2852         initialized to __n.
2853         * include/bits/stl_algo.h (generate_n): Likewise.
2854         * testsuite/25_algorithms/fill_n/25306.cc: New.
2855         * testsuite/25_algorithms/generate_n/25306.cc: Likewise.
2857 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
2859         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Use GNU locale model for
2860         glibc 2.3 and later, but not uClibc, without an execution test.
2861         * configure: Regenerate.
2862         * doc/xml/manual/configure.xml, doc/xml/manual/prerequisites.xml,
2863         doc/xml/faq.xml: Update.
2865 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
2867         * include/tr1/functional: Use std::__addressof.
2868         * include/tr1/hashtable_policy.h: Likewise.
2870 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
2872         PR libstdc++/41792
2873         * include/tr1_impl/array: Use std::__addressof.
2874         * include/std/functional (reference_wrapper): Likewise.
2875         * include/ext/throw_allocator.h: Likewise.
2876         * include/ext/pool_allocator.h: Likewise.
2877         * include/ext/bitmap_allocator.h: Likewise.
2878         * include/ext/new_allocator.h: Likewise.
2879         * include/ext/malloc_allocator.h: Likewise.
2880         * include/ext/array_allocator.h: Likewise.
2881         * include/ext/mt_allocator.h: Likewise.
2882         * include/ext/extptr_allocator.h: Likewise.
2883         * include/bits/stl_list.h: Likewise.
2884         * include/bits/hashtable_policy.h: Likewise.
2885         * include/bits/forward_list.h: Likewise.
2886         * include/bits/stl_uninitialized.h: Likewise.
2887         * include/bits/list.tcc: Likewise.
2888         * include/bits/stl_construct.h: Likewise.
2889         * include/bits/stl_tree.h: Likewise.
2890         * testsuite/20_util/reference_wrapper/41792.cc: New.
2891         * testsuite/23_containers/unordered_map/requirements/
2892         explicit_instantiation/4.cc: Likewise.
2893         * testsuite/23_containers/multimap/requirements/
2894         explicit_instantiation/4.cc: Likewise.
2895         * testsuite/23_containers/set/requirements/
2896         explicit_instantiation/4.cc: Likewise.
2897         * testsuite/23_containers/unordered_multimap/requirements/
2898         explicit_instantiation/4.cc: Likewise.
2899         * testsuite/23_containers/forward_list/requirements/
2900         explicit_instantiation/4.cc: Likewise.
2901         * testsuite/23_containers/unordered_set/requirements/
2902         explicit_instantiation/4.cc: Likewise.
2903         * testsuite/23_containers/vector/requirements/
2904         explicit_instantiation/4.cc: Likewise.
2905         * testsuite/23_containers/deque/requirements/
2906         explicit_instantiation/4.cc: Likewise.
2907         * testsuite/23_containers/multiset/requirements/
2908         explicit_instantiation/4.cc: Likewise.
2909         * testsuite/23_containers/list/requirements/
2910         explicit_instantiation/4.cc: Likewise.
2911         * testsuite/23_containers/unordered_multiset/requirements/
2912         explicit_instantiation/4.cc: Likewise.
2913         * testsuite/23_containers/map/requirements/
2914         explicit_instantiation/4.cc: Likewise.
2915         * testsuite/23_containers/array/requirements/
2916         explicit_instantiation/3.cc: Likewise.
2917         * testsuite/23_containers/forward_list/requirements/
2918         dr438/assign_neg.cc: Adjust dg-error line numbers.
2919         * testsuite/23_containers/forward_list/requirements/dr438/
2920         insert_neg.cc: Likewise.
2921         * testsuite/23_containers/forward_list/requirements/dr438/
2922         constructor_1_neg.cc: Likewise.
2923         * testsuite/23_containers/forward_list/requirements/dr438/
2924         constructor_2_neg.cc: Likewise.
2925         * testsuite/23_containers/list/requirements/dr438/
2926         assign_neg.cc: Likewise.
2927         * testsuite/23_containers/list/requirements/dr438/
2928         insert_neg.cc: Likewise.
2929         * testsuite/23_containers/list/requirements/dr438/
2930         constructor_1_neg.cc: Likewise.
2931         * testsuite/23_containers/list/requirements/dr438/
2932         constructor_2_neg.cc: Likewise.
2934 2010-05-20  Peter Dimov  <pdimov@pdimov.com>
2935             Paolo Carlini  <paolo.carlini@oracle.com>
2937         * include/bits/move.h (__addressof, addressof): Add.
2938         * testsuite/util/testsuite_api.h (struct OverloadedAddress): Add.
2939         * testsuite/20_util/addressof/requirements/
2940         explicit_instantiation.cc: New.
2941         * testsuite/20_util/addressof/1.cc: Likewise.
2943 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
2945         * include/bits/stl_pair.h (pair<>::pair(const pair&)): Defaulted
2946         in C++0x mode.
2947         (pair<>::operator=(const pair<>&)): Add in C++0x mode.
2948         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
2949         line number.
2951 2010-05-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
2953         * testsuite/30_threads/future/members/wait.cc (wait): Rename.
2954         * testsuite/30_threads/shared_future/members/wait.cc (wait): Likewise.
2956 2010-05-18  Eelis van der Weegen  <gcc-bugzilla@contacts.eelis.net>
2958         PR libstdc++/44190
2959         * include/debug/vector (vector<>::resize): Call
2960         _M_update_guaranteed_capacity.
2961         * testsuite/23_containers/vector/capacity/44190.cc: New.
2963 2010-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
2965         * include/std/functional (result_of): Move...
2966         * include/std/type_traits: ... here.
2967         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2968         line number.
2970 2010-05-12  Jason Merrill  <jason@redhat.com>
2972         * testsuite/20_util/auto_ptr/assign_neg.cc: Expect template
2973         candidate messages.
2974         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
2975         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
2977 2010-05-11  Silvius Rus  <silvius.rus@gmail.com>
2979         PR libstdc++/43259
2980         * include/profile/impl/profiler_algos.h: New.
2981         * include/Makefile.am: Add.
2982         * include/Makefile.in: Regenerate.
2983         * include/profile/impl/profiler.h
2984         (_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add.
2985         * include/profile/impl/profiler_trace.h
2986         (__mutex_t, __lock, __unlock): Remove.
2987         (__lock_object_table, __lock_stack_table): Remove. Replace uses with
2988         calls to __gnu_cxx::__mutex::lock.
2989         (__unlock_object_table, __unlock_stack_table): Remove. Replace uses
2990         with calls to __gnu_cxx::__mutex::unlock.
2991         (__warn, __cost_factor_writer, __cost_factor_setter): Add.
2992         * testsuite/ext/profile/profiler_algos.cc: New.
2994 2010-05-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2996         * libsupc++/exception_ptr.h (make_exception_ptr): Add.
2997         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: New.
2999 2010-05-06  Jason Merrill  <jason@redhat.com>
3001         * config/abi/pre/gnu.ver: Move decltype(nullptr) into CXXABI_1.3.5.
3002         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.5.
3004         * config/abi/pre/gnu.ver: Add typeinfo for decltype(nullptr).
3006 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3008         * include/bits/basic_string.h: Escape class names in doxygen docs.
3010 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3012         PR libstdc++/44014
3013         * include/bits/stringfwd.h: Add doxygen comments and new group.
3014         * include/bits/basic_string.h: Add to new doxygen group.
3015         * doc/doxygen/user.cfg.in (ALIASES): Link to correct group.
3017 2010-05-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3019         * configure.host: Removed irix[1-6], irix[1-5].*, irix6.[0-4]*
3020         support.
3021         * config/os/irix/irix5.2: Removed.
3023 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
3025         * testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust
3026         for profile-mode too.
3027         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
3028         Likewise.
3030 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
3032         * include/profile/unordered_map (unordered_map<>::insert(_InputIter,
3033         _InputIter), unordered_multimap<>::insert(_InputIter, _InputIter)):
3034         Fix typo, don't call base() on __first and __last.
3036 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
3038         Fix profile-mode vs -std=c++0x
3039         * include/profile/impl/profiler_trace.h: Do not include the
3040         whole <algorithm>, include <bits/stl_heap.h> (additionally
3041         to <bits/stl_algobase.h>).
3042         (__write_cost_factors): Replace std::for_each with open-coding.
3043         (__set_cost_factors): Likewise.
3044         (__report): Likewise; use std::make_heap / std::sort_heap
3045         instead of std::sort.
3046         (__report_cost_factors): Replace std::remove with open-coding.
3047         (__warn, __cost_factor_writer, __cost_factor_setter): Remove.
3049 2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3051         PR other/43620
3052         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
3053         * configure: Regenerate.
3054         * Makefile.in: Regenerate.
3055         * doc/Makefile.in: Regenerate.
3056         * include/Makefile.in: Regenerate.
3057         * libsupc++/Makefile.in: Regenerate.
3058         * po/Makefile.in: Regenerate.
3059         * python/Makefile.in: Regenerate.
3060         * src/Makefile.in: Regenerate.
3061         * testsuite/Makefile.in: Regenerate.
3063 2010-05-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
3065         * doc/xml/faq.xml: Fix anachronisms.
3066         * doc/xml/manual/intro.xml (Make): Tweak grammar and whitespace.
3067         * doc/xml/manual/support.xml (NULL): Use inline <code> element
3068         instead of <programlisting> block.
3069         * doc/html/*: Regenerate.
3071 2010-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
3073         * include/bits/stl_pair.h (piecewise_construct_t,
3074         pair<>::pair(piecewise_construct_t, tuple, tuple)): Add.
3075         (pair<>::__cons, pair<>::__do_cons): Declare.
3076         (__decay_and_strip, __strip_reference_wrapper): Move...
3077         * include/std/type_traits: ... here.
3078         * include/std/functional (_Index_tuple, _Build_index_tuple): Move...
3079         * include/std/tuple: ... here.
3080         (pack_arguments): Add.
3081         (pair<>::__cons, pair<>::__do_cons): Define.
3082         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc: New.
3083         * testsuite/20_util/pair/piecewise.cc: Likewise.
3084         * testsuite/20_util/tuple/cons/big_tuples.cc: Include <utility>.
3085         * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
3086         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
3087         dg-error line numbers.
3088         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3089         Likewise.
3090         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3092 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
3094         PR libstdc++/43865
3095         * include/c_global/cstdlib (abort, exit): _GLIBCXX_NORETURN typo.
3097 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
3099         * doc/xml/manual/status_cxx200x.xml: Update quick_exit status.
3100         * doc/html/*: Regenerate.
3102 2010-04-27  Fabien Chêne  <fabien.chene@gmail.com>
3104         * testsuite/util/testsuite_error.h: Add empty default constructor
3105         to __gnu_test::test_category and
3106         __gnu_test::test_derived_category.
3107         * src/future.cc: Add empty default constructor to
3108         future_error_category.
3109         * src/system_error.cc: Add default ctor to generic_error_category
3110         and system_error_category.
3112 2010-04-27  Alexander Monakov  <amonakov@ispras.ru>
3114         * testsuite/22_locale/codecvt/unshift/char/1.cc (test01): Clarify size
3115         definition.  Use memcpy and memcmp to avoid access beyond allocated
3116         memory.
3118 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
3120         * doc/xml/manual/status_cxx200x.xml: Update to match n3092.
3121         * doc/html/*: Regenerate.
3123 2010-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
3125         * doc/xml/manual/status_cxx200x.xml: Update Threads status.
3126         * doc/html/manual/status.html: Regenerate.
3128 2010-04-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
3130         * include/bits/unique_ptr (unique_ptr::pointer): Use deleter's
3131         pointer type if it exists.
3132         * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: New.
3133         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
3134         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
3136 2010-04-22  Johannes Singler  <singler@kit.edu>
3138         * include/parallel/partition.h (__parallel_partition):
3139         Improve scalability by:
3140         -introducing new variables __leftold, __rightold, __dist, thus
3141         -getting rid of omp lock by using atomic operations
3142         -getting rid of two omp barriers
3144 2010-04-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
3146         * doc/xml/faq.xml: Link to manual.
3147         * doc/xml/manual/using.xml: Expand dynamic libraries section.
3148         * doc/xml/manual/strings.xml: Mention shrink_to_fit() member.
3149         * doc/xml/manual/prerequisites.xml: Link to doxygen requirements.
3150         * doc/xml/manual/appendix_contributing.xml: Update Bash version.
3151         * doc/html/*: Regenerate.
3153 2010-04-13  Ian Lance Taylor  <iant@google.com>
3155         * include/backward/hash_map: Don't #include "backward_warning.h"
3156         if _GLIBCXX_PERMIT_BACKWARD_HASH is defined.
3157         * include/backward/hash_set: Likewise.
3159 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3161         * configure.host (os_include_dir): Removed solaris2.7 support.
3162         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Likewise.
3163         * configure: Regenerate.
3165 2010-04-06  Matthias Klose  <doko@ubuntu.com>
3167         * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Show test result.
3168         * configure: Regenerate.
3169         * doc/xml/manual/configure.xml, doc/html/manual/configure.html:
3170         Document --enable-libstdcxx-time as the short form for
3171         --enable-libstdcxx-time=yes.
3173 2010-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
3175         * include/bits/basic_string.h: Fix pasto in comment.
3176         * include/ext/vstring.h: Likewise.
3178 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3180         * Makefile.in: Regenerate.
3181         * aclocal.m4: Regenerate.
3182         * doc/Makefile.in: Regenerate.
3183         * include/Makefile.in: Regenerate.
3184         * libsupc++/Makefile.in: Regenerate.
3185         * po/Makefile.in: Regenerate.
3186         * python/Makefile.in: Regenerate.
3187         * src/Makefile.in: Regenerate.
3188         * testsuite/Makefile.in: Regenerate.
3190 2010-03-30  Johannes Singler  <singler@kit.edu>
3192         * include/parallel/random_shuffle.h
3193         (__parallel_random_shuffle_drs) : Take as many threads as
3194         possible, i. e. favor parallelism over cache efficiency.
3195         Use own PRNG also for the 1 thread case.
3197 2010-03-30  Paolo Carlini  <paolo.carlini@oracle.com>
3199         * include/debug/unordered_map: Clean-up includes and guards.
3200         * include/debug/unordered_set: Likewise.
3201         * include/debug/list: Likewise.
3202         * include/profile/unordered_map: Likewise.
3203         * include/profile/unordered_set: Likewise.
3205 2010-03-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3207         PR target/43458
3208         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
3209         Xfail hppa*-*-hpux*.
3211 2010-03-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3213         * doc/xml/manual/profile_mode.xml (Profile Diagnostics): Correct
3214         cols.
3215         * doc/xml/manual/using.xml (C++ 1998 Library Headers): Add missing
3216         c5 colspec.
3217         (C++ 1998 Library Headers for C Library Facilities): Likewise.
3218         (C++ 200x Library Headers): Likewise.
3220 2010-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
3222         * include/bits/unordered_map.h (operator==, operator!=): Add per N3068.
3223         * include/bits/unordered_set.h (operator==, operator!=): Likewise.
3224         * include/debug/unordered_map (operator==, operator!=): Likewise.
3225         * include/debug/unordered_set: Likewise.
3226         * include/profile/unordered_map: Likewise.
3227         * include/profile/unordered_set: Likewise.
3228         * testsuite/23_containers/unordered_map/operators/1.cc: New.
3229         * testsuite/23_containers/unordered_multimap/operators/1.cc: Likewise.
3230         * testsuite/23_containers/unordered_multimap/operators/2.cc: Likewise.
3231         * testsuite/23_containers/unordered_set/operators/1.cc: Likewise.
3232         * testsuite/23_containers/unordered_multiset/operators/1.cc: Likewise.
3234 2010-03-25  John Lakos  <jlakos@bloomberg.net>
3235             Pablo Halpern  <phalpern@halpernwightsoftware.com>
3236             Paolo Carlini  <paolo.carlini@oracle.com>
3238         * include/bits/hashtable_policy.h (struct _Equality_base): Add.
3239         * include/bits/hashtable.h (_Hashtable<>): Derive from the latter.
3241 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
3243         * testsuite/util/testsuite_tr1.h (NType, TType, SLType, PODType): Add.
3244         * testsuite/20_util/is_trivial/value.cc: Adjust.
3245         * testsuite/20_util/is_standard_layout/value.cc: Likewise.
3246         * testsuite/20_util/is_pod/value.cc: Likewise.
3248 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
3250         * testsuite/20_util/is_trivial/value.cc: New.
3251         * testsuite/20_util/is_standard_layout/value.cc: Likewise.
3252         * testsuite/20_util/is_pod/value.cc: Extend.
3254 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
3256         * include/bits/stl_algobase.h (lower_bound(_ForwardIterator,
3257         _ForwardIterator, const _Tp&, _Compare)): Move...
3258         * include/bits/stl_algo.h: ... here.
3260 2010-03-22  Johannes Singler  <singler@kit.edu>
3262         * include/parallel/numeric (inner_product, partial_sum):
3263         Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity
3264         between __gnu_parallel:: and std::
3265         * include/parallel/algobase.h (equal): Likewise.
3266         * include/parallel/algo.h (find_first_of, search_n, merge, nth_element,
3267         partial_sort, max_element, min_element): Likewise.
3268         * include/parallel/partial_sum.h (__parallel_partial_sum_linear):
3269         Qualify accumulate call with __gnu_parallel::.
3271 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
3273         * include/parallel/base.h (_PseudoSequence): Do not forward declare.
3274         (_VoidFunctor): Remove, unused.
3275         (__median_of_three_iterators): Take __comp by value.
3276         (_PseudoSequenceIterator<>::operator++(int)): Do not const qualify
3277         the return type.
3278         (_PseudoSequenceIterator<>::operator!=): Fix return type to bool.
3280 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
3282         * include/parallel/base.h (_Less): Use std::less.
3283         (_Plus): Likewise use std::plus.
3284         (_Multiplies): Likewise use std::multiplies.
3285         * include/parallel/numeric: Adjust.
3287 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
3289         * testsuite/17_intro/freestanding.cc: Avoid -Wall warnings.
3291 2010-03-19  Rodolfo Lima  <rodolfo@rodsoft.org>
3293         * include/bits/shared_ptr.h (shared_ptr(unique_ptr&&),
3294         shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925).
3295         * include/bits/shared_ptr_base.h: Likewise.
3296         * testsuite/20_util/shared_ptr/creation/dr925.cc: New.
3298 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
3300         * include/bits/random.tcc: Minor formatting changes.
3302 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
3304         * include/bits/stl_algo.h (shuffle): Fix typo in signature.
3305         * include/bits/algorithmfwd.h: Adjust.
3306         * testsuite/25_algorithms/shuffle/requirements/
3307         explicit_instantiation/2.cc: Likewise.
3308         * testsuite/25_algorithms/shuffle/requirements/
3309         explicit_instantiation/pod.cc: Likewise.
3311 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
3313         * include/bits/stl_algo.h (shuffle): Add, per D3056.
3314         (random_shuffle): Fix signature in C++0x mode.
3315         (lower_bound, __lg): Move...
3316         * include/bits/stl_algobase.h: ... here.
3317         * include/bits/algorithmfwd.h: Adjust.
3318         * include/parallel/algorithmfwd.h: Likewise.
3319         * include/parallel/algo.h: Likewise.
3320         * include/bits/hashtable_policy.h (__lower_bound): Remove,
3321         adjust callers.
3322         * include/tr1/hashtable_policy.h (__lower_bound): Likewise.
3323         * include/bits/random.tcc (__detail::__transform): Add,
3324         adjust std::transform callers; don't include <algorithm>.
3325         * testsuite/25_algorithms/shuffle/1.cc: Add.
3326         * testsuite/25_algorithms/shuffle/requirements/
3327         explicit_instantiation/2.cc: Likewise.
3328         * testsuite/25_algorithms/shuffle/requirements/
3329         explicit_instantiation/pod.cc: Likewise.
3331         * include/bits/random.h: Add comments.
3333 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
3335         * doc/xml/manual/debug_mode.xml: Correct debug headers.
3337 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
3339         PR libstdc++/43397
3340         * include/std/functional (_Mem_fn): Use perfect forwarding.
3341         * testsuite/20_util/function/43397.cc: New.
3343 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
3345         PR libstdc++/43394
3346         * include/parallel/compatibility.h: Add __k8 and __core2 among the
3347         i386 targets supporting atomic operations.
3349 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
3351         * include/backward/hash_map: Use consistently the _BACKWARD_*
3352         prefix for the include guard.
3353         * include/backward/hash_fun.h: Likewise.
3354         * include/backward/hashtable.h: Likewise.
3355         * include/backward/auto_ptr.h: Likewise.
3356         * include/backward/strstream: Likewise.
3357         * include/backward/binders.h: Likewise.
3358         * include/backward/hash_set: Likewise.
3360 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
3362         * include/bits/random.h (operator==(const uniform_int_distribution<>&,
3363         const uniform_int_distribution<>&), operator==(const
3364         uniform_real_distribution<>&, const uniform_real_distribution<>&),
3365         operator==(const lognormal_distribution<>&,
3366         const lognormal_distribution<>&), operator==(const
3367         chi_squared_distribution<>&, const chi_squared_distribution<>&),
3368         operator==(const cauchy_distribution<>&, const cauchy_distribution<>&),
3369         operator==(const fisher_distribution<>&, const fisher_distribution<>&),
3370         operator==(const student_t_distribution<>&,
3371         const student_t_distribution<>&), operator==(const
3372         bernoulli_distribution<>&, const bernoulli_distribution<>&),
3373         operator==(const binomial_distribution<>&, const
3374         binomial_distribution<>&), operator==(const geometric_distribution<>&,
3375         const geometric_distribution<>&), operator==(const
3376         negative_binomial_distribution<>&, const
3377         negative_binomial_distribution<>&), operator==(const
3378         poisson_distribution<>&, const poisson_distribution<>&),
3379         operator==(const exponential_distribution<>&,
3380         const exponential_distribution<>&), operator==(const
3381         gamma_distribution<>&, const gamma_distribution<>&), operator==(const
3382         weibull_distribution<>&, const weibull_distribution<>&),
3383         operator==(const extreme_value_distribution<>&,
3384         const extreme_value_distribution<>&), operator==(const
3385         discrete_distribution<>&, const discrete_distribution<>&),
3386         operator==(const piecewise_constant_distribution<>&,
3387         const piecewise_constant_distribution<>&), operator==(const
3388         piecewise_linear_distribution<>&, const
3389         piecewise_linear_distribution<>&)): Add, likewise for operator!=.
3390         (operator!=(const independent_bits_engine<>&, const
3391         independent_bits_engine<>&), operator!=(const
3392         subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&),
3393         operator!=(const discard_block_engine<>&, const
3394         discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&,
3395         const mersenne_twister_engine<>&), operator!=(const
3396         linear_congruential_engine<>&, const linear_congruential_engine<>&),
3397         operator!=(const shuffle_order_engine<>&, const
3398         shuffle_order_engine<>&): Add.
3399         * include/bits/random.tcc (operator==(const normal_distribution<>&,
3400         const normal_distribution<>&)): Add.
3401         * testsuite/26_numerics/random/uniform_real_distribution/operators/
3402         inequal.cc: New.
3403         * testsuite/26_numerics/random/uniform_real_distribution/operators/
3404         equal.cc: Likewise.
3405         * testsuite/26_numerics/random/piecewise_constant_distribution/
3406         operators/inequal.cc: Likewise.
3407         * testsuite/26_numerics/random/piecewise_constant_distribution/
3408         operators/equal.cc: Likewise.
3409         * testsuite/26_numerics/random/chi_squared_distribution/operators/
3410         inequal.cc: Likewise.
3411         * testsuite/26_numerics/random/chi_squared_distribution/operators/
3412         equal.cc: Likewise.
3413         * testsuite/26_numerics/random/normal_distribution/operators/
3414         inequal.cc: Likewise.
3415         * testsuite/26_numerics/random/normal_distribution/operators/
3416         equal.cc: Likewise.
3417         * testsuite/26_numerics/random/uniform_int_distribution/operators/
3418         inequal.cc: Likewise.
3419         * testsuite/26_numerics/random/uniform_int_distribution/operators/
3420         equal.cc: Likewise.
3421         * testsuite/26_numerics/random/poisson_distribution/operators/
3422         inequal.cc: Likewise.
3423         * testsuite/26_numerics/random/poisson_distribution/operators/
3424         equal.cc: Likewise.
3425         * testsuite/26_numerics/random/bernoulli_distribution/operators/
3426         inequal.cc: Likewise.
3427         * testsuite/26_numerics/random/bernoulli_distribution/operators/
3428         equal.cc: Likewise.
3429         * testsuite/26_numerics/random/discrete_distribution/operators/
3430         inequal.cc: Likewise.
3431         * testsuite/26_numerics/random/discrete_distribution/operators/
3432         equal.cc: Likewise.
3433         * testsuite/26_numerics/random/weibull_distribution/operators/
3434         inequal.cc: Likewise.
3435         * testsuite/26_numerics/random/weibull_distribution/operators/
3436         equal.cc: Likewise.
3437         * testsuite/26_numerics/random/independent_bits_engine/operators/
3438         inequal.cc: Likewise.
3439         * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
3440         inequal.cc: Likewise.
3441         * testsuite/26_numerics/random/discard_block_engine/operators/
3442         inequal.cc: Likewise.
3443         * testsuite/26_numerics/random/cauchy_distribution/operators/
3444         inequal.cc: Likewise.
3445         * testsuite/26_numerics/random/cauchy_distribution/operators/
3446         equal.cc: Likewise.
3447         * testsuite/26_numerics/random/negative_binomial_distribution/
3448         operators/inequal.cc: Likewise.
3449         * testsuite/26_numerics/random/negative_binomial_distribution/
3450         operators/equal.cc: Likewise.
3451         * testsuite/26_numerics/random/gamma_distribution/operators/
3452         inequal.cc: Likewise.
3453         * testsuite/26_numerics/random/gamma_distribution/operators/
3454         equal.cc: Likewise.
3455         * testsuite/26_numerics/random/mersenne_twister_engine/operators/
3456         inequal.cc: Likewise.
3457         * testsuite/26_numerics/random/fisher_f_distribution/operators/
3458         inequal.cc: Likewise.
3459         * testsuite/26_numerics/random/fisher_f_distribution/operators/
3460         equal.cc: Likewise.
3461         * testsuite/26_numerics/random/exponential_distribution/operators/
3462         inequal.cc: Likewise.
3463         * testsuite/26_numerics/random/exponential_distribution/operators/
3464         equal.cc: Likewise.
3465         * testsuite/26_numerics/random/binomial_distribution/operators/
3466         inequal.cc: Likewise.
3467         * testsuite/26_numerics/random/binomial_distribution/operators/
3468         equal.cc: Likewise.
3469         * testsuite/26_numerics/random/lognormal_distribution/operators/
3470         inequal.cc: Likewise.
3471         * testsuite/26_numerics/random/lognormal_distribution/operators/
3472         equal.cc: Likewise.
3473         * testsuite/26_numerics/random/extreme_value_distribution/operators/
3474         inequal.cc: Likewise.
3475         * testsuite/26_numerics/random/extreme_value_distribution/operators/
3476         equal.cc: Likewise.
3477         * testsuite/26_numerics/random/piecewise_linear_distribution/
3478         operators/inequal.cc: Likewise.
3479         * testsuite/26_numerics/random/piecewise_linear_distribution/
3480         operators/equal.cc: Likewise.
3481         * testsuite/26_numerics/random/student_t_distribution/operators/
3482         inequal.cc: Likewise.
3483         * testsuite/26_numerics/random/student_t_distribution/operators/
3484         equal.cc: Likewise.
3485         * testsuite/26_numerics/random/linear_congruential_engine/operators/
3486         inequal.cc: Likewise.
3487         * testsuite/26_numerics/random/shuffle_order_engine/operators/
3488         inequal.cc: Likewise.
3489         * testsuite/26_numerics/random/geometric_distribution/operators/
3490         inequal.cc: Likewise.
3491         * testsuite/26_numerics/random/geometric_distribution/operators/
3492         equal.cc: Likewise.
3494 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
3496         * include/bits/forward_list.tcc (_Fwd_list_node_base::
3497         _M_transfer_after): Return _Fwd_list_node_base*.
3498         (forward_list<>::_M_splice_after): Add.
3499         (forward_list<>::insert_after(const_iterator, size_type, const _Tp&),
3500         insert_after(const_iterator, _InputIterator, _InputIterator),
3501         insert_after(const_iterator, initializer_list<>)): Use the above,
3502         implement DR 1278 ([Ready] in Pittsburgh).
3503         * include/bits/forward_list.h (insert_after(const_iterator,
3504         size_type, const _Tp&), insert_after(const_iterator, _InputIterator,
3505         _InputIterator), insert_after(const_iterator, initializer_list<>)):
3506         Only declare.
3507         * testsuite/23_containers/forward_list/modifiers/2.cc: Adjust.
3508         * testsuite/23_containers/forward_list/requirements/dr438/
3509         assign_neg.cc: Adjust dg-error line number.
3510         * testsuite/23_containers/forward_list/requirements/dr438/
3511         insert_neg.cc: Likewise.
3512         * testsuite/23_containers/forward_list/requirements/dr438/
3513         constructor_1_neg.cc: Likewise.
3514         * testsuite/23_containers/forward_list/requirements/dr438/
3515         constructor_2_neg.cc: Likewise.
3517 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
3519         * testsuite/23_containers/forward_list/requirements/dr438/
3520         assign_neg.cc: Adjust dg-error line number.
3521         * testsuite/23_containers/forward_list/requirements/dr438/
3522         constructor_1_neg.cc: Likewise.
3523         * testsuite/23_containers/forward_list/requirements/dr438/
3524         constructor_2_neg.cc: Likewise.
3525         * testsuite/23_containers/forward_list/requirements/dr438/
3526         insert_neg.cc: Likewise.
3527         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
3529         Revert:
3530         2008-11-11  Bob Walters  <bob.s.walters@gmail.com>
3532         * include/bits/forward_list.h: Support non-standard pointer types
3533         (_Fwd_list_node_base): Add _Alloc template parameter.
3534         (_Fwd_list_node<>): Likewise.
3535         (_Fwd_list_iterator<>): Likewise.
3536         (_Fwd_list_const_iterator<>): Likewise.
3537         (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
3538         Use _Alloc<_Tp>::pointer.
3539         (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
3540         (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
3541         _M_insert_after, _M_put_node, _M_erase_after): Likewise.
3542         (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
3543         (forward_list<>): Use __static_pointer_cast in place of static_cast,
3544         and __const_pointer_cast in place of const_cast.
3545         * include/bits/forward_list.tcc
3546         (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
3547         of standard pointers, __static_pointer_cast in place of static_cast.
3548         (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
3549         Likewise.
3550         (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
3551         splice_after, remove, remove_if, merge): Likewise.
3552         * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
3553         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
3554         Likewise.
3555         * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
3556         Likewise.
3557         * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
3558         Likewise.
3559         * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
3560         Likewise.
3561         * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
3562         Likewise.
3563         * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
3564         Likewise.
3565         * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
3566         Likewise.
3567         * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
3568         Likewise.
3569         * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
3570         Likewise.
3571         * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
3572         Likewise.
3573         * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
3574         Likewise.
3575         * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
3576         Likewise.
3577         * testsuite/23_containers/forward_list/ext_pointer/requirements/
3578         explicit_instantiation/1.cc: Likewise.
3579         * testsuite/23_containers/forward_list/ext_pointer/requirements/
3580         explicit_instantiation/3.cc: Likewise.
3581         * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
3583 2010-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
3585         * include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.
3587         * include/bits/stl_algo.h: Improve comment.
3589 2010-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3591         * scripts/run_doxygen: Adjust.
3592         * doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
3593         * doc/xml/api.xml: Update.
3594         * doc/Makefile.am: Re-do stamp rules.
3595         * doc/Makefile.in: Regenerate.
3597 2010-03-10  Paolo Carlini  <paolo.carlini@oracle.com>
3599         * include/bits/hashtable_policy.h (_Rehash_base<_Prime_rehash_policy,
3600         _Hashtable>::reserve): Add, per DR 1189.
3601         * include/bits/hashtable.h (_Hashtable<>::size_type,
3602         _Hashtable<>::difference_type): Do not typedef from _Allocator.
3603         * testsuite/23_containers/unordered_map/dr1189.cc: New.
3604         * testsuite/23_containers/unordered_set/dr1189.cc: Likewise.
3605         * testsuite/23_containers/unordered_multimap/dr1189.cc: Likewise.
3606         * testsuite/23_containers/unordered_multiset/dr1189.cc: Likewise.
3608 2010-03-08  Paolo Carlini  <paolo.carlini@oracle.com>
3610         Revert:
3611         2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
3613         PR libstdc++/41975, DR 579
3614         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
3615         (erase(const_iterator), erase(const_iterator, const_iterator)):
3616         Change return type to void.
3617         * include/debug/unordered_map: Adjust.
3618         * include/debug/unordered_set: Likewise.
3619         * testsuite/util/exception/safety.h: Likewise.
3620         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
3621         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
3622         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
3623         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
3624         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
3625         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
3626         Likewise.
3627         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
3628         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
3629         Likewise.
3631 2010-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
3633         * testsuite/util/testsuite_container_traits.h (traits_base): Add
3634         has_throwing_erase trait.
3635         (traits<vector>, traits<deque>): Typedef the latter to true_type.
3636         * testsuite/util/exception/safety.h (generation_prohibited):
3637         Do not test vector::erase and deque::erase: can throw if
3638         either copy constructor or assignment operator of value_type
3639         throws.
3640         * testsuite/23_containers/vector/requirements/exception/
3641         generation_prohibited.cc: Remove xfail.
3642         * testsuite/23_containers/deque/requirements/exception/
3643         generation_prohibited.cc: Likewise.
3645         * include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>::
3646         operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass
3647         argument by const ref.
3649         * testsuite/util/testsuite_container_traits.h (traits<map>,
3650         traits<multimap>, traits<set>, traits<multiset>,
3651         traits<unordered_map>, traits<unordered_multimap>,
3652         traits<unordered_set>, traits<unordered_multiset>): Typedef
3653         consistently has_erase and has_insert as true_type.
3655         * testsuite/util/testsuite_container_traits.h
3656         (traits<unordered_map>, traits<unordered_multimap>,
3657         traits<unordered_set>, traits<unordered_multiset>): Do not wrongly
3658         typedef has_size_type_constructor as true_type: the constructor
3659         accepting a size_type actually gets the initial number of
3660         buckets.
3662 2010-03-03  Benjamin Kosnik  <bkoz@redhat.com>
3664         * doc/Makefile.am: Re-organize xml sources.
3665         (doc-latex-doxygen): New.
3666         (doc-pdf-doxygen): New.
3667         (stamp-xml-doxygen, stamp-latex-doxygen): New.
3668         * doc/Makefile.in: Regenerate.
3669         * doc/doxygen/user.cfg.in: Add support here.
3670         * doc/xml/manual/appendix_contributing.xml: Add specifics.
3672         * doc/xml/manual/concurrency.xml: New.
3673         * doc/xml/manual/atomics.xml: New.
3674         * doc/xml/manual/spine.xml: Adjust.
3675         * doc/xml/manual/diagnostics.xml: Adjust.
3677 2010-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
3678             Jonathan Wakely  <jwakely.gcc@gmail.com>
3680         * include/bits/unique_ptr.h (unique_ptr<>::get_deleter): Simplify
3681         return type.
3682         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
3683         dg-error line number.
3684         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
3686 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
3688         * include/debug/bitset (hash): Minor tweaks.
3689         * include/debug/vector (hash): Likewise.
3690         * include/profile/bitset (hash): Likewise.
3691         * include/profile/vector (hash): Likewise.
3693 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
3695         * include/bits/functional_hash.h (_Fnv_hash_base<>::hash): Change
3696         to template.
3697         * include/tr1/functional_hash.h (_Fnv_hash_base<>::hash): Likewise.
3698         * include/bits/vector.tcc (hash): Adjust.
3699         * include/bits/basic_string.h (hash): Likewise.
3700         * include/std/bitset (hash): Likewise.
3701         * src/hash-string-aux.cc (hash): Likewise.
3703 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3705         * include/std/mutex (lock_guard::lock_guard): Do not lock mutex when
3706         adopt_lock_t constructor is used.
3707         * testsuite/30_threads/lock_guard/cons/1.cc: New.
3709 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
3711         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>::
3712         operator()(const vector<bool, _Alloc>&)): Move definition...
3713         * include/bits/vector.tcc: ... here.
3715 2010-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3717         * testsuite/Makefile.am (check-DEJAGNU): Include de* in normal0
3718         dirs.
3719         * testsuite/Makefile.in: Regenerate.
3721 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
3723         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>): Add.
3724         * include/debug/vector (hash<__debug::vector<bool, _Alloc>>):
3725         Likewise.
3726         * include/profile/vector (hash<__profile::vector<bool, _Alloc>>):
3727         Likewise.
3728         * testsuite/23_containers/vector/bool/hash/1.cc: New.
3730         * include/std/bitset (hash<bitset<_Nb>>): Small tweaks.
3731         (hash<bitset<0>>): Add.
3732         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Forward to
3733         hash<bitset<_Nb>>.
3734         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
3735         * testsuite/23_containers/bitset/hash/1.cc: Improve.
3737 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3739         PR libstdc++/43230
3740         * testsuite/30_threads/promise/members/set_value3.cc
3741         (tester::~tester): Remove.
3743 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
3745         * include/std/bitset (_Base_bitset<>::_M_getdata()): Add.
3746         (hash<bitset<_Nb>>): Add, use the latter.
3747         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Add.
3748         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
3749         * testsuite/23_containers/bitset/hash/1.cc: New.
3751 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3753         PR libstdc++/43183
3754         * include/bits/unique_ptr.h (reset): Fix as per working paper.
3755         (operator*, operator->, operator[], operator bool, release): Use
3756         pointer's null value instead of 0.
3757         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
3758         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
3759         * testsuite/20_util/unique_ptr/modifiers/43183.cc: New.
3761 2010-03-01  Paolo Carlini  <paolo.carlini@oracle.com>
3763         * include/std/iomanip (get_money, put_money): Add in C++0x mode; tidy.
3764         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: New.
3765         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
3766         Likewise.
3767         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
3768         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
3769         Likewise.
3771 2010-03-01  Benjamin Kosnik  <bkoz@redhat.com>
3773         * include/bits/atomicfwd_cxx.h: Add typedefs to group.
3775 2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3777         PR libstdc++/32499
3778         * testsuite/Makefile.am (check-DEJAGNU
3779         $(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
3780         * testsuite/Makefile.in: Regenerate.
3782 2010-02-28  Gerald Pfeifer  <gerald@pfeifer.com>
3784         * doc/html/ext/pb_ds/references.html: Adjust link to SGI's STL
3785         site.
3787 2010-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
3789        * src/hash-long-double-aux.cc (hash<long double>::
3790        operator()(long double)): Hash both -0 and +0 to 0.
3792 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
3794         * include/bits/random.tcc (operator<<): Use max_digits10.
3796 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
3798         * include/std/limits (__numeric_limits_base::max_digits10,
3799         numeric_limits<>::max_digits10, numeric_limits<>::lowest): Add.
3800         * src/limits.cc: Define max_digits10.
3801         * config/abi/pre/gnu.ver: Adjust.
3802         * testsuite/18_support/numeric_limits/dr559.cc: Test max_digits10
3803         and lowest too.
3804         * testsuite/18_support/numeric_limits/lowest.cc: New.
3805         * testsuite/18_support/numeric_limits/max_digits10.cc: New.
3807 2010-02-25  Paolo Carlini  <paolo.carlini@oracle.com>
3809         * include/bits/functional_hash.h (__hash_combine): Remove.
3810         (_Fnv_hash_base<>::hash(const char*, size_t)): Add defaulted
3811         hash parameter.
3812         (_Fnv_hash::__hash_combine(const _Tp&, size_t)): Add.
3813         * include/std/system_error (hash<system_error>): Adjust.
3814         * src/compatibility-c++0x.cc (hash<system_error>): Likewise.
3816 2010-02-24  Benjamin Kosnik  <bkoz@redhat.com>
3818         * doc/xml/faq.xml: Adjust structure for pdf index.
3819         * doc/xml/manual/mt_allocator.xml: Same.
3820         * doc/xml/manual/allocator.xml: Same.
3821         * doc/xml/manual/ctype.xml: Same.
3822         * doc/xml/manual/numerics.xml: Same.
3823         * doc/xml/manual/codecvt.xml: Same.
3824         * doc/xml/manual/intro.xml: Same.
3825         * doc/xml/manual/shared_ptr.xml: Same.
3826         * doc/xml/manual/status_cxxtr1.xml: Same.
3827         * doc/xml/manual/auto_ptr.xml: Same.
3828         * doc/xml/manual/internals.xml: Same.
3829         * doc/xml/manual/status_cxx1998.xml: Same.
3830         * doc/xml/manual/parallel_mode.xml: Same.
3831         * doc/xml/manual/profile_mode.xml: Same.
3832         * doc/xml/manual/containers.xml: Same.
3833         * doc/xml/manual/io.xml: Same.
3834         * doc/xml/manual/concurrency_extensions.xml: Same.
3835         * doc/xml/manual/appendix_porting.xml: Same.
3836         * doc/xml/manual/utilities.xml: Same.
3837         * doc/xml/manual/support.xml: Same.
3838         * doc/xml/manual/bitmap_allocator.xml: Same.
3839         * doc/xml/manual/configure.xml: Same.
3840         * doc/xml/manual/build_hacking.xml: Same.
3841         * doc/xml/manual/evolution.xml: Same.
3842         * doc/xml/manual/using.xml: Same.
3843         * doc/xml/manual/debug.xml: Same.
3844         * doc/xml/manual/localization.xml: Same.
3845         * doc/xml/manual/strings.xml: Same.
3846         * doc/xml/manual/debug_mode.xml: Same.
3847         * doc/xml/manual/locale.xml: Same.
3848         * doc/xml/manual/extensions.xml: Same.
3849         * doc/xml/manual/appendix_contributing.xml: Same.
3850         * doc/xml/manual/prerequisites.xml: Same.
3851         * doc/xml/manual/messages.xml: Same.
3852         * doc/xml/manual/diagnostics.xml: Same.
3853         * doc/xml/manual/algorithms.xml: Same.
3854         * doc/xml/manual/appendix_free.xml: Same.
3855         * doc/xml/manual/iterators.xml: Same.
3856         * doc/xml/manual/spine.xml: Same.
3857         * doc/xml/manual/status_cxxtr24733.xml: Same.
3858         * doc/xml/manual/status_cxx200x.xml: Same.
3859         * doc/Makefile.am: Refactor.
3860         * doc/Makefile.in: Regenerate.
3862         * include/bits/c++0x_warning.h: Tweak doxygen file markup.
3864 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3866         * testsuite/ext/new_allocator/deallocate_global.cc: Require
3867         __cxa_atexit.
3868         * testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
3870 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
3872         * doc/xml/manual/concurrency.xml: Move...
3873         * doc/xml/manual/concurrency_extensions.xml: ...here.
3874         * doc/xml/manual/extensions.xml: Adjust.
3875         * doc/Makefile.am: Adjust.
3876         * doc/Makefile.in: Regenerate.
3878 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
3880         * include/bits/random.h: Doxygen group markup fixes.
3882 2010-02-23  Paolo Carlini  <paolo.carlini@oracle.com>
3884         * include/bits/functional_hash.h (struct _Fnv_hash): Rename
3885         to _Fnv_hash_base.
3886         (struct _Fnv_hash): Add, derives from the latter.
3887         (__hash_combine): Add.
3888         (hash<float>::operator()(float), hash<double>::operator()(double)):
3889         Adjust.
3890         * include/bits/basic_string.h (hash<string>, hash<wstring>,
3891         hash<u16string>, hash<u32string>): Adjust.
3892         * src/hash-string-aux.cc: Adjust.
3893         * src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine.
3894         * include/std/system_error (hash<error_code>): Likewise.
3895         * include/std/thread (struct hash<thread::id>): Add.
3896         * include/tr1/functional_hash.h : Rename to _Fnv_hash_base.
3897         (struct _Fnv_hash): Add, derives from the latter.
3898         (hash<float>::operator()(float), hash<double>::operator()(double)):
3899         Adjust.
3900         * testsuite/30_threads/thread/id/hash.cc: New.
3901         * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error
3902         line number.
3903         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
3905 2010-02-22  Janis Johnson  <janis187@us.ibm.com>
3907         * src/compatibility-ldbl.cc: Include new hash-long-double-aux.cc.
3909 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
3911         * src/hash-aux.cc: Rename to...
3912         * src/hash-string-aux.cc: ... this.
3913         * src/hash-long-double-aux.cc: New.
3914         * src/hash_c++0x.cc: Adjust.
3915         * src/hash_tr1.cc: Likewise.
3916         * src/compatibility-c++0x.cc: Likewise.
3918 2010-02-22  Benjamin Kosnik  <bkoz@redhat.com>
3920         * doc/xml/class.txml: Adjust biblio markup.
3921         * doc/xml/manual/allocator.xml: Same.
3922         * doc/xml/manual/ctype.xml: Same.
3923         * doc/xml/manual/codecvt.xml: Same.
3924         * doc/xml/manual/backwards_compatibility.xml: Same.
3925         * doc/xml/manual/abi.xml: Same.
3926         * doc/xml/manual/shared_ptr.xml: Same.
3927         * doc/xml/manual/profile_mode.xml: Same.
3928         * doc/xml/manual/using_exceptions.xml: Same.
3929         * doc/xml/manual/locale.xml: Same.
3930         * doc/xml/manual/appendix_contributing.xml: Same.
3931         * doc/xml/manual/messages.xml: Same.
3932         * doc/Makefile.am (DBLATEX_FLAGS): Adjust.
3933         * doc/Makefile.in: Regenerate.
3935 2010-02-22  François Dumont  <francois.cppdevs@free.fr>
3937        * doc/xml/manual/profile_mode.xml: Minor updates and fixes.
3938        * doc/xml/manual/debug_mode.xml: Likewise.
3939        * doc/xml/manual/test.xml: Likewise.
3941 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
3943         * include/tr1_impl/complex (arg): Use std::signbit only when
3944         available.
3946 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
3948         * include/bits/functional_hash.h (hash<string>, hash<wstring>,
3949         hash<u16string>, hash<u32string>, hash<error_code>): Move, per
3950         DR 1182 to...
3951         * include/bits/basic_string.h: ... here.
3952         * include/std/system_error: ... and here, respectively.
3953         * src/hash-aux.cc (hash<long double>::operator()(long double)):
3954         Move definition...
3955         * src/hash_c++0x.cc: ... here, new file.
3956         * src/hash_tr1.cc: ... and here, tweak includes.
3957         * src/compatibility-c++0x.cc (hash, _Fnv_hash): Remove.
3958         * src/Makefile.am: Adjust.
3959         * src/Makefile.in: Regenerate.
3960         * include/std/functional: Include <bits/functexcept.h>.
3961         * include/std/unordered_set: Remove redundant include.
3962         * include/std/unordered_map: Likewise.
3963         * include/tr1/functional_hash.h: Remove spurious trailing semicolon.
3964         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove
3965         dg-excess.
3967 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
3969         * include/std/complex (proj): Change return type per DR 1137.
3970         (conj): Copy from tr1_impl, likewise adjust return type.
3971         * include/tr1_impl/complex (conj): Remove.
3972         * include/tr1/complex (conj): Add both overloads.
3973         * testsuite/26_numerics/complex/dr781.cc: Rename to...
3974         * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend.
3976         * include/tr1_impl/complex (arg): Optimize.
3978 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
3980         * testsuite/20_util/is_trivial/requirements/typedefs.cc: New.
3981         * testsuite/20_util/is_trivial/requirements/
3982         explicit_instantiation.cc: Likewise.
3983         * testsuite/20_util/is_pod/value.cc: Likewise.
3984         * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
3985         * testsuite/20_util/is_pod/requirements/
3986         explicit_instantiation.cc: Likewise.
3987         * testsuite/20_util/is_standard_layout/requiremenents/
3988         typedefs.cc: Likewise.
3989         * testsuite/20_util/is_standard_layout/requiremenents/
3990         explicit_instantiation.cc: Likewise.
3992 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
3994         PR c++/35669
3995         * testsuite/18_support/headers/cstddef/macros.cc: Add
3996         -Wno-conversion-null.
3998 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
4000         * include/tr1_impl/array (array): Add pointer and const_pointer
4001         typedefs in C++0x mode, per DR 1306.
4002         * testsuite/util/testsuite_containers.h (basic_types): Add pointer
4003         and const_pointer typedefs.
4004         (pointer_aware_types): Remove.
4005         * testsuite/util/testsuite_container_traits.h: Adjust.
4007 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
4009         * include/bits/stl_algo.h (for_each): Implement resolution of DR 1110.
4010         * testsuite/25_algorithms/for_each/1.cc: New.
4012 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
4014         * include/bits/shared_ptr_base.h (__weak_ptr): Remove deleted
4015         comparison operators, per DR 1256.
4016         * include/bits/shared_ptr.h (weak_ptr): Likewise.
4017         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
4019 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
4021         * scripts/run_doxygen: Add shortnames option.
4022         * doc/Makefile.am (doc-man-doxygen): Use it.
4023         (doc-html-doxygen): Use it.
4024         (doc-xml-doxygen): Use it, but default to NO.
4025         (doc-pdf-dblatex): Add.
4026         * doc/Makefile.in: Regenerate.
4027         * doc/doxygen/user.cfg.in: Update filelist.
4028         * include/bits/locale_facets.h: Fix markup warning.
4030 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
4032         * doc/xml/manual/using.xml: Update.
4033         * doc/xml/manual/status_cxx1998.xml: Same.
4034         * doc/xml/manual/status_cxx200x.xml: Add link.
4035         * doc/html/*: Regenerate.
4037         * testsuite/17_intro/freestanding.cc: Add.
4039 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
4041         * libsupc++/typeinfo: Add system_header pragma.
4042         * libsupc++/exception: Likewise.
4043         * libsupc++/cxxabi-forced.h: Likewise.
4044         * libsupc++/new: Likewise.
4045         * libsupc++/cxxabi.h: Likewise.
4046         * libsupc++/initializer_list: Likewise.
4048 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
4050         * libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.
4052 2010-02-17  Benjamin Kosnik  <bkoz@redhat.com>
4054         * doc/xml/manual/appendix_contributing.xml: Update markup rules
4055         for quoting and functions.
4057 2010-02-17  Chris Jefferson  <chris@bubblescope.net>
4059         * include/bits/locale_facets.h (__convert_to_v): Add empty
4060         exception-specification.
4062 2010-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
4064         * include/std/limits: Implement resolution of DR 559 (CD1) in
4065         C++0x mode.
4066         * testsuite/18_support/numeric_limits/dr559.cc: New.
4068 2010-02-16  Benjamin Kosnik  <bkoz@redhat.com>
4070         * src/ios_locale.cc: Fixes for -pedantic.
4071         * src/system_error.cc: Same.
4072         * src/locale.cc: Same.
4073         * src/list.cc: Same.
4074         * src/locale_facets.cc: Same.
4075         * src/locale_init.cc: Same.
4076         * src/ios.cc: Same.
4077         * config/locale/darwin/ctype_members.cc: Same.
4078         * config/locale/gnu/collate_members.cc: Same.
4079         * config/locale/gnu/ctype_members.cc: Same.
4080         * config/locale/gnu/c_locale.cc: Same.
4081         * config/locale/gnu/monetary_members.cc: Same.
4082         * config/locale/gnu/time_members.cc: Same.
4083         * config/locale/ieee_1003.1-2001/c_locale.cc: Same.
4084         * config/locale/generic/collate_members.cc: Same.
4085         * config/locale/generic/ctype_members.cc: Same.
4086         * config/locale/generic/c_locale.cc: Same.
4087         * config/locale/generic/monetary_members.cc: Same.
4088         * config/locale/generic/time_members.cc: Same.
4089         * config/io/basic_file_stdio.cc: Same.
4091         * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
4092         * libsupc++/pointer_type_info.cc: Same.
4093         * libsupc++/eh_personality.cc: Same.
4095         * include/std/system_error: Throw spacing.
4096         * include/bits/locale_classes.h: Same.
4097         * include/bits/locale_facets.h: Same.
4098         * include/bits/ios_base.h: Same.
4100         * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
4101         * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New.
4103 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
4105         * include/bits/random.h (linear_congruential_engine(_Sseq&),
4106         mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
4107         Do not enable for the type itself.
4108         (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
4109         shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
4110         (linear_congruential_engine<>::seed(_Sseq&),
4111         mersenne_twister_engine<>::seed(_Sseq&),
4112         subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
4113         return type.
4114         (discard_block_engine<>::seed(_Sseq&),
4115         independent_bits_engine<>::seed(_Sseq&),
4116         shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
4117         * include/bits/random.tcc: Adjust definitions.
4118         * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
4119         New.
4120         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
4121         copy.cc: Likewise.
4122         * testsuite/26_numerics/random/discard_block_engine/cons/
4123         copy.cc: Likewise.
4124         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
4125         copy.cc: Likewise.
4126         * testsuite/26_numerics/random/linear_congruential_engine/cons/
4127         copy.cc: Likewise.
4128         * testsuite/26_numerics/random/shuffle_order_engine/cons/
4129         copy.cc: Likewise.
4131         * testsuite/26_numerics/random/independent_bits_engine/cons/
4132         base_move.cc: Minor tweaks.
4133         * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
4134         Likewise.
4135         * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
4136         Likewise.
4137         * testsuite/26_numerics/random/independent_bits_engine/cons/
4138         base_copy.cc: Likewise.
4139         * testsuite/26_numerics/random/independent_bits_engine/cons/
4140         default.cc: Likewise.
4141         * testsuite/26_numerics/random/independent_bits_engine/cons/
4142         seed_seq.cc: Likewise.
4143         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
4144         seed1.cc: Likewise.
4145         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
4146         seed2.cc: Likewise.
4147         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
4148         default.cc: Likewise.
4149         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
4150         seed_seq.cc: Likewise.
4151         * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
4152         Likewise.
4153         * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
4154         Likewise.
4155         * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
4156         Likewise.
4157         * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
4158         Likewise.
4159         * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
4160         Likewise.
4161         * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
4162         Likewise.
4163         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
4164         Likewise.
4165         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
4166         Likewise.
4167         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
4168         default.cc: Likewise.
4169         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
4170         seed_seq.cc: Likewise.
4171         * testsuite/26_numerics/random/linear_congruential_engine/cons/
4172         seed1.cc: Likewise.
4173         * testsuite/26_numerics/random/linear_congruential_engine/cons/
4174         seed2.cc: Likewise.
4175         * testsuite/26_numerics/random/linear_congruential_engine/cons/
4176         seed_seq.cc: Likewise.
4177         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
4178         Likewise.
4179         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
4180         Likewise.
4181         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
4182         Likewise.
4183         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
4184         Likewise.
4185         * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
4186         Likewise.
4187         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
4188         Likewise.
4190 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
4192         * include/bits/unique_ptr.h: (unique_ptr<>::
4193         unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
4194         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
4195         per DR 1303.
4196         * include/bits/shared_ptr.h (shared_ptr<>::
4197         shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
4198         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
4199         * include/bits/shared_ptr_base.h (__shared_ptr<>::
4200         __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
4201         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
4202         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
4203         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
4204         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
4205         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
4206         Likewise.
4208 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
4210         * testsuite/ext/median.cc: Adjust.
4212 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
4214         * include/bits/stl_algo.h (__median): Move...
4215         * include/ext/algorithm: ... here, being an SGI extension.
4217 2010-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
4218             Paolo Carlini  <paolo.carlini@oracle.com>
4220         PR libstdc++/42819, DR 1315
4221         * include/std/future (async): Use std::result_of for the template
4222         argument of the std::future return type; adjust everywhere.
4223         * testsuite/30_threads/async/42819.cc: New.
4224         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
4225         dg-error line number.
4226         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
4227         * testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
4228         * testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
4229         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
4230         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
4232 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
4234         * config/abi/pre/gnu.ver: Revert last changes.
4236 2010-02-11  Jason Merrill  <jason@redhat.com>
4238         * include/std/thread (~_Impl_base): Declare inline.
4239         * libsupc++/nested_exception.h (~nested_exception): Likewise.
4241 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
4243         PR libstdc++/41975, DR 579
4244         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
4245         (erase(const_iterator), erase(const_iterator, const_iterator)):
4246         Change return type to void.
4247         * include/debug/unordered_map: Adjust.
4248         * include/debug/unordered_set: Likewise.
4249         * testsuite/util/exception/safety.h: Likewise.
4250         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
4251         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
4252         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
4253         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
4254         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
4255         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
4256         Likewise.
4257         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
4258         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
4259         Likewise.
4261 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
4263         * config/abi/pre/gnu.ver: Avoid exporting inadvertently
4264         std::nested_exception symbols at GLIBCXX_3.4.
4266 2010-02-10  Jason Merrill  <jason@redhat.com>
4268         Core issue 906
4269         * include/std/thread (~_Impl_base): Move defaulted dtor out of line.
4270         * libsupc++/nested_exception.h (~nested_exception): Likewise.
4271         * testsuite/18_support/nested_exception/throw_with_nested.cc: Likewise.
4272         * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise.
4274 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
4276         * include/tr1/hashtable.h: Fold in include/tr1_impl/hashtable.h
4277         contents.
4278         * include/tr1_impl/hashtable.h: Remove.
4279         * include/tr1_impl/hashtable_policy.h: Move and rename...
4280         * include/tr1/hashtable_policy.h: ... here.
4281         * include/tr1_impl/unordered_map: Move and rename...
4282         * include/tr1/unordered_map.h: ... here.
4283         * include/tr1_impl/unordered_set: Move and rename...
4284         * include/tr1/unordered_set.h: ... here.
4285         * include/tr1_impl/unordered_map: Move and rename...
4286         * include/tr1/unordered_map.h: ... here.
4287         * include/tr1/unordered_map: Adjust.
4288         * include/tr1/unordered_set: Likewise.
4289         * include/Makefile.am: Adjust.
4290         * include/Makefile.in: Regenerate.
4292         * include/std/c++0x_warning.h: Move...
4293         * include/bits/c++0x_warning.h: ... here.
4294         * include/debug/unordered_map: Adjust.
4295         * include/debug/unordered_set: Likewise.
4296         * include/std/tuple: Likewise.
4297         * include/std/system_error: Likewise.
4298         * include/std/forward_list: Likewise.
4299         * include/std/thread: Likewise.
4300         * include/std/type_traits: Likewise.
4301         * include/std/future: Likewise.
4302         * include/std/regex: Likewise.
4303         * include/std/atomic: Likewise.
4304         * include/std/ratio: Likewise.
4305         * include/std/random: Likewise.
4306         * include/std/unordered_map: Likewise.
4307         * include/std/chrono: Likewise.: Likewise.
4308         * include/std/condition_variable: Likewise.
4309         * include/std/mutex: Likewise.
4310         * include/std/unordered_set: Likewise.
4311         * include/std/array: Likewise.
4312         * include/profile/unordered_map: Likewise.
4313         * include/profile/unordered_set: Likewise.
4314         * include/c_global/cinttypes: Likewise.
4315         * include/c_global/ctgmath: Likewise.
4316         * include/c_global/cfenv: Likewise.
4317         * include/c_global/cstdint: Likewise.
4318         * include/c_global/cstdbool: Likewise.
4319         * include/c_global/ccomplex: Likewise.
4321         * include/bits/shared_ptr.h: Do not include <bits/c++0x_warning.h>
4322         at all, the file is not meant to be included by the users.
4323         * include/bits/functional_hash.h: Likewise.
4324         * include/bits/unique_ptr.h: Likewise.
4325         * include/bits/forward_list.h: Likewise.
4327         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-*
4328         line numbers.
4329         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
4330         * testsuite/23_containers/forward_list/requirements/dr438/
4331         assign_neg.cc: Likewise.
4332         * testsuite/23_containers/forward_list/requirements/dr438/
4333         insert_neg.cc: Likewise.
4334         * testsuite/23_containers/forward_list/requirements/dr438/
4335         constructor_1_neg.cc: Likewise.
4336         * testsuite/23_containers/forward_list/requirements/dr438/
4337         constructor_2_neg.cc: Likewise.
4338         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
4339         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
4341 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
4343         * include/bits/hashtable.h: Fold in include/tr1_impl/hashtable.h
4344         for C++0x use.
4345         * include/bits/hashtable_policy.h: New, copy and adjust for
4346         C++0x use, include/tr1_impl/hashtable_policy.h; fix erase and
4347         insert member functions per n3000.
4348         * include/bits/unordered_map.h: Likewise for include/tr1_impl/
4349         unordered_map.
4350         * include/bits/unordered_set.h: Likewise for include/tr1_impl/
4351         unordered_set.
4352         * include/Makefile.am: Adjust.
4353         * include/Makefile.in: Regenerate.
4354         * include/tr1/unordered_map: Adjust.
4355         * include/tr1/unordered_set: Likewise.
4356         * include/tr1_impl/unordered_map: Adjust, now used only by tr1.
4357         * include/tr1_impl/hashtable: Likewise.
4358         * include/tr1_impl/hashtable_policy.h: Likewise.
4359         * include/tr1_impl/unordered_set: Likewise.
4360         * include/std/unordered_map: Adjust and simplify includes.
4361         * include/std/unordered_set: Likewise.
4362         * include/debug/unordered_map: Adjuse erase and insert members.
4363         * include/debug/unordered_set: Likewise.
4364         * include/profile/unordered_map: Likewise.
4365         * include/profile/unordered_set: Likewise.
4366         * testsuite/util/exception/safety.h: Fix for the updated erase and
4367         insert member functions of the unordered_containers.
4368         * testsuite/23_containers/unordered_map/erase/1.cc: New.
4369         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
4370         * testsuite/23_containers/unordered_map/insert/map_single.cc:
4371         Likewise.
4372         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
4373         Likewise.
4374         * testsuite/23_containers/unordered_map/insert/24061-map.cc: Likewise.
4375         * testsuite/23_containers/unordered_map/insert/map_range.cc: Likewise.
4376         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
4377         * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
4378         * testsuite/23_containers/unordered_multimap/erase/
4379         24061-multimap.cc: Likewise.
4380         * testsuite/23_containers/unordered_multimap/insert/
4381         24061-multimap.cc: Likewise.
4382         * testsuite/23_containers/unordered_multimap/insert/
4383         multimap_range.cc: Likewise.
4384         * testsuite/23_containers/unordered_multimap/insert/
4385         multimap_single.cc: Likewise.
4386         * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
4387         * testsuite/23_containers/unordered_set/erase/24061-set.cc: Likewise.
4388         * testsuite/23_containers/unordered_set/insert/set_single.cc: Likewise.
4389         * testsuite/23_containers/unordered_set/insert/24061-set.cc: Likewise.
4390         * testsuite/23_containers/unordered_set/insert/set_range.cc: Likewise.
4391         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
4392         * testsuite/23_containers/unordered_multiset/erase/
4393         24061-multiset.cc: Likewise.
4394         * testsuite/23_containers/unordered_multiset/insert/
4395         24061-multiset.cc: Likewise.
4396         * testsuite/23_containers/unordered_multiset/insert/
4397         multiset_range.cc: Likewise.
4398         * testsuite/23_containers/unordered_multiset/insert/
4399         multiset_single.cc: Likewise.
4401         * testsuite/23_containers/set/operators/1_neg.cc: Tweak dg-errors
4402         to avoid spurious fails in debug-mode.
4403         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
4405 2010-02-09  Benjamin Kosnik  <bkoz@redhat.com>
4407         * include/std/streambuf: Adjust doxygen group markup.
4408         * include/std/functional: Same.
4409         * include/ext/vstring.h: Same.
4410         * include/ext/pb_ds/assoc_container.hpp: Same.
4411         * include/ext/stdio_filebuf.h: Same.
4412         * include/ext/stdio_sync_filebuf.h: Same.
4413         * include/bits/localefwd.h: Same.
4414         * include/bits/functional_hash.h: Same.
4415         * include/bits/locale_classes.h: Same.
4416         * include/bits/locale_facets.h: Same.
4417         * include/bits/ios_base.h: Same.
4418         * include/bits/codecvt.h: Same.
4419         * include/bits/locale_facets_nonio.h: Same.
4421         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
4422         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
4424 2010-02-08  Benjamin Kosnik  <bkoz@redhat.com>
4426         PR libstdc++/42460
4427         * include/tr1_impl/regex: Fix quoting issues in doxygen markup.
4428         * include/bits/random.h: Fix multi-line doxygen function markup.
4430 2010-02-08  Matthias Klose  <doko@debian.org>
4432         PR libstdc++/42460
4433         * include/std/istream: Fix '\' quoting in doxygen markup.
4435 2010-02-08  Ed Smith-Rowland  <3dw4rd@verizon.net>
4437         * include/bits/random.tcc (uniform_int_distribution<>::
4438         operator()(_UniformRandomNumberGenerator&, const param_type&)):
4439         Use make_unsigned instead of __add_unsigned and conditional
4440         instead of __conditional_type.
4441         * include/std/random: Do not include <ext/type_traits.h> and
4442         <ext/numeric_traits.h>.
4444 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
4446         PR libstdc++/16896
4447         * include/bits/stl_list.h (_List_node_base::transfer): Rename
4448         to _M_transfer.
4449         (_List_node_base::reverse): Rename to _M_reverse.
4450         (_List_node_base::hook): Rename to _M_hook.
4451         (_List_node_base::unhook): Rename to _M_unhook; adjust callers.
4452         * include/bits/list.tcc: Adjust callers.
4453         * src/list.cc: Adjust.
4454         * src/compatibility.cc: Likewise.
4455         * src/compatibility-list.cc: New.
4456         * src/compatibility-debug_list.cc: Likewise.
4457         * src/compatibility-parallel_list.cc: Likewise.
4458         * src/Makefile.am: Add.
4459         * src/Makefile.in: Regenerate.
4460         * config/abi/pre/gnu.ver: Export _M_* symbols.
4462         * src/hash.cc: Rename to hash-aux.cc.
4463         * src/compatibility-ldbl.cc: Adjust.
4464         * src/compatibility-c++0x.cc: Likewise.
4465         * src/hash_tr1.cc: Likewise.
4467         * src/hashtable.cc: Rename to hashtable-aux.cc.
4468         * src/hashtable_c++0x.cc: Adjust.
4469         * src/hashtable_tr1.cc: Likewise.
4471         * src/limits_c++0x.cc: Fold...
4472         * src/limits.cc... here.
4474 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
4476         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
4477         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
4478         Revert to std::is_convertible, basing on DR 811.
4480 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
4482         PR libstdc++/42989
4483         * config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.
4485 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
4487         PR libstdc++/27340
4488         * include/bits/valarray_before.h: Uglify the structs wrapping
4489         cmath functions differently, eg, _Cos instead of __cos.
4490         * include/bits/valarray_after.h: Adjust.
4492 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
4494         * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
4495         typo in last commit.
4497 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
4499         * include/std/future (swap(packaged_task<>&, packaged_task<>&),
4500         swap(promise<>&, promise<>&)): Add; minor formatting fixes.
4501         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
4502         dg-error line number.
4503         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
4504         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
4505         * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
4507 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
4509         * include/bits/stl_algobase.h (struct __iter_base): Rename to
4510         _Iter_base; add iterator_type typedef.
4511         (struct __miter_base): Rename to _Miter_base.
4512         (struct __niter_base): Rename to _Niter_base.
4513         (__miter_base, __niter_base): Add, use the latter; adjust everywhere.
4515 2010-02-04  Benjamin Kosnik  <bkoz@redhat.com>
4517         PR libstdc++/42460
4518         * doc/doxygen/user.cfg.in: Update file list.
4519         * include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
4520         * include/debug/safe_base.h: Same.
4521         * include/debug/macros.h: Same.
4522         * include/tr1_impl/regex: Same.
4523         * include/std/iostream: Same.
4524         * include/std/streambuf: Same.
4525         * include/std/bitset: Same.
4526         * include/std/iosfwd: Same.
4527         * include/std/limits: Same.
4528         * include/std/fstream: Same.
4529         * include/std/istream: Same.
4530         * include/std/ostream: Same.
4531         * include/std/sstream: Same.
4532         * include/parallel/multiway_merge.h: Same.
4533         * include/parallel/for_each.h: Same.
4534         * include/parallel/workstealing.h: Same.
4535         * include/parallel/omp_loop_static.h: Same.
4536         * include/parallel/omp_loop.h: Same.
4537         * include/c_std/csignal: Same.
4538         * include/c_std/cstdlib: Same.
4539         * include/c_std/cstdio: Same.
4540         * include/c_std/cstdarg: Same.
4541         * include/c_std/cctype: Same.
4542         * include/c_std/cerrno: Same.
4543         * include/c_std/cmath: Same.
4544         * include/c_std/ciso646: Same.
4545         * include/c_std/ctime: Same.
4546         * include/c_std/clocale: Same.
4547         * include/c_std/climits: Same.
4548         * include/c_std/cassert: Same.
4549         * include/c_std/csetjmp: Same.
4550         * include/c_std/cwchar: Same.
4551         * include/c_std/cfloat: Same.
4552         * include/c_std/cstring: Same.
4553         * include/c_std/cstddef: Same.
4554         * include/c_std/cwctype: Same.
4555         * include/profile/iterator_tracker.h: Same.
4556         * include/profile/impl/profiler_trace.h: Same.
4557         * include/ext/vstring.h: Same.
4558         * include/ext/algorithm: Same.
4559         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
4560         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
4561         * include/ext/pb_ds/detail/type_utils.hpp: Same.
4562         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
4563         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
4564         * include/ext/rc_string_base.h: Same.
4565         * include/ext/stdio_sync_filebuf.h: Same.
4566         * include/ext/functional: Same.
4567         * include/ext/mt_allocator.h: Same.
4568         * include/bits/basic_ios.h: Same.
4569         * include/bits/stl_map.h: Same.
4570         * include/bits/stl_algobase.h: Same.
4571         * include/bits/stl_queue.h: Same.
4572         * include/bits/locale_classes.h: Same.
4573         * include/bits/stl_set.h: Same.
4574         * include/bits/locale_facets.h: Same.
4575         * include/bits/stl_stack.h: Same.
4576         * include/bits/stl_iterator_base_types.h: Same.
4577         * include/bits/basic_string.h: Same.
4578         * include/bits/stl_multimap.h: Same.
4579         * include/bits/ios_base.h: Same.
4580         * include/bits/stl_deque.h: Same.
4581         * include/bits/stl_multiset.h: Same.
4582         * include/bits/stl_iterator_base_funcs.h: Same.
4583         * include/bits/char_traits.h: Same.
4584         * include/bits/stl_algo.h: Same.
4585         * include/bits/stl_iterator.h: Same.
4586         * include/bits/stl_tempbuf.h: Same.
4587         * include/bits/random.tcc: Same.
4588         * include/bits/stl_function.h: Same.
4589         * include/bits/cpp_type_traits.h: Same.
4590         * include/bits/random.h: Same.
4591         * include/bits/allocator.h: Same.
4592         * include/bits/locale_facets_nonio.h: Same.
4593         * include/c_global/csignal: Same.
4594         * include/c_global/cstdlib: Same.
4595         * include/c_global/cstdio: Same.
4596         * include/c_global/cstdarg: Same.
4597         * include/c_global/cctype: Same.
4598         * include/c_global/cerrno: Same.
4599         * include/c_global/cmath: Same.
4600         * include/c_global/ciso646: Same.
4601         * include/c_global/ctime: Same.
4602         * include/c_global/clocale: Same.
4603         * include/c_global/climits: Same.
4604         * include/c_global/cassert: Same.
4605         * include/c_global/csetjmp: Same.
4606         * include/c_global/cwchar: Same.
4607         * include/c_global/cfloat: Same.
4608         * include/c_global/cstring: Same.
4609         * include/c_global/cstddef: Same.
4610         * include/c_global/cwctype: Same.
4611         * include/tr1/hypergeometric.tcc: Same.
4612         * include/tr1/random.tcc: Same.
4613         * include/tr1/functional: Same.
4614         * include/tr1/random.h: Same.
4615         * include/backward/auto_ptr.h: Same.
4616         * include/backward/binders.h: Same.
4617         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
4618         Adjust line numbers.
4619         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
4620         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
4621         Same.
4622         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
4623         Same.
4625 2010-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
4627         * include/std/condition_variable (condition_variable_any): Provide
4628         definitions for all members.
4629         * src/condition_variable.cc (condition_variable_any): Adjust
4630         definitions.
4631         * config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
4632         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
4633         Adjust dg-error line number.
4634         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
4635         Likewise.
4636         * testsuite/30_threads/condition_variable_any/members/1.cc: New.
4637         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
4638         * testsuite/30_threads/condition_variable_any/requirements/
4639         standard_layout.cc: Remove.
4640         * testsuite/30_threads/condition_variable_any/native_handle/
4641         typesizes.cc: Remove.
4643 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
4645         * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
4646         for -fno-exceptions.
4648 2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>
4650         * include/bits/allocator.h: Fix for -fno-exceptions.
4651         * include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
4653 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
4655         * testsuite/30_threads/unique_future: Rename to /future.
4657 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
4659         PR libstdc++/42408
4660         * include/bits/random.h (linear_congruential_engine<>::
4661         linear_congruential_engine(seed_seq&),
4662         linear_congruential_engine<>::seed(seed_seq&),
4663         mersenne_twister<>::mersenne_twister(seed_seq&),
4664         mersenne_twister<>::seed(seed_seq&),
4665         subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
4666         subtract_with_carry_engine<>::seed(seed_seq&),
4667         discard_block_engine<>::discard_block_engine(seed_seq&),
4668         discard_block_engine<>::seed(seed_seq&),
4669         independent_bits_engine<>::independent_bits_engine(seed_seq&),
4670         independent_bits_engine<>::seed(seed_seq&),
4671         shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
4672         shuffle_order_engine<>::seed(seed_seq&)): Templatize.
4673         * include/bits/random.tcc: Adjust.
4674         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
4675         seed_seq.cc: New.
4676         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
4677         seed_seq.cc: Likewise.
4678         * testsuite/26_numerics/random/linear_congruential_engine/
4679         cons/seed_seq.cc: Likewise.
4681 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
4683         * include/bits/forward_list.h (forward_list<>::resize(size_type),
4684         forward_list(size_type)): Only declare.
4685         * include/bits/forward_list.tcc (forward_list<>::resize(size_type),
4686         forward_list(size_type)): Define, don't assume CopyConstructible.
4687         * testsuite/23_containers/forward_list/cons/10.cc: New.
4688         * testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
4689         * testsuite/23_containers/forward_list/requirements/dr438/
4690         assign_neg.cc: Adjust dg-error line numbers.
4691         * testsuite/23_containers/forward_list/requirements/dr438/
4692         insert_neg.cc: Likewise.
4693         * testsuite/23_containers/forward_list/requirements/dr438/
4694         constructor_1_neg.cc: Likewise.
4695         * testsuite/23_containers/forward_list/requirements/dr438/
4696         constructor_2_neg.cc: Likewise.
4698         * include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
4700 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
4702         * testsuite/23_containers/array/requirements/exception/
4703         generation_prohibited.c: Remove, swap can indeed throw (DR 774).
4705         * testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
4706         * testsuite/util/testsuite_container_traits.h
4707         (traits<__versa_string>): Enable insert tests.
4709 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
4711         * include/bits/forward_list.h (forward_list<>::insert_after
4712         (const_iterator, size_type, const _Tp&), insert_after(const_iterator,
4713         _InputIterator, _InputIterator), insert_after(const_iterator,
4714         std::initializer_list<>)): Fix return type per N3000.
4715         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
4716         Adjust.
4717         * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
4718         * testsuite/23_containers/forward_list/requirements/dr438/
4719         assign_neg.cc: Adjust dg-error line numbers.
4720         * testsuite/23_containers/forward_list/requirements/dr438/
4721         insert_neg.cc: Likewise.
4722         * testsuite/23_containers/forward_list/requirements/dr438/
4723         constructor_1_neg.cc: Likewise.
4724         * testsuite/23_containers/forward_list/requirements/dr438/
4725         constructor_2_neg.cc: Likewise.
4727 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
4729         Revert last changes. Also revert, among the previous changes:
4730         * include/std/condition_variable (condition_variable_any::
4731         wait<>(_Lock&)): Provide definition.
4733 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
4735         * include/std/condition_variable (condition_variable_any::
4736         __wait_until_impl): Add.
4737         (condition_variable_any::wait_until): Provide definitions.
4738         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
4739         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
4740         Adjust dg-error line number.
4741         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
4742         Likewise.
4744         * testsuite/30_threads/condition_variable/members/1.cc: Minor
4745         stylistic changes.
4746         * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
4748 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
4750         * include/std/condition_variable (enum class cv_status): Add and
4751         use it throughout, per N3000.
4752         (condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
4753         wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
4754         Provide definitions.
4755         * src/condition_variable.cc (condition_variable_any::notify_one,
4756         condition_variable_any::notify_all): Likewise.
4757         * config/abi/pre/gnu.ver: Export.
4758         * testsuite/30_threads/condition_variable_any/requirements/
4759         typedefs.cc: New.
4760         * testsuite/30_threads/condition_variable_any/requirements/
4761         standard_layout.cc: Likewise.
4762         * testsuite/30_threads/condition_variable/members/1.cc: Adjust.
4763         * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
4764         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
4765         dg-error line numbers.
4766         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
4767         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
4768         Likewise.
4769         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
4770         Likewise.
4772 2010-01-28  François Dumont  <francois.cppdevs@free.fr>
4774         * include/bits/stl_algobase.h (struct __iter_base): Add.
4775         (__niter_base, __miter_base): Adjust, use the latter.
4777 2010-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
4779         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
4780         Extend xfail to all systems.
4781         * testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
4782         Likewise.
4783         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
4784         Extend xfail to darwin10 systems.
4786 2010-01-27  Benjamin Kosnik  <bkoz@redhat.com>
4788         PR c++/42346
4789         * testsuite/23_containers/unordered_map/requirements/exception/: Remove
4790         -O1 workaround.
4791         * testsuite/23_containers/multimap/requirements/exception/: Same.
4792         * testsuite/23_containers/map/requirements/exception: Same.
4794 2010-01-27  Richard Guenther  <rguenther@suse.de>
4796         PR libstdc++/42832
4797         * include/std/functional (function<>::swap): Perform bytewise
4798         swap of _M_functor.
4799         * include/tr1/functional (function<>::swap): Likewise.
4801 2010-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4803         * config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.
4805 2010-01-26  François Dumont  <francois.cppdevs@free.fr>
4807         * doc/xml/manual/allocator.xml: Minor updates and fixes.
4808         * doc/xml/manual/containers.xml: Likewise.
4809         * doc/xml/manual/using.xml: Likewise.
4810         * doc/xml/manual/locale.xml: Likewise.
4811         * doc/xml/manual/appendix_contributing.xml: Likewise.
4813 2010-01-26  Daniel Frey  <d.frey@gmx.de>
4815         * include/std/functional: Use enable_if instead of __enable_if
4816         throughout, do not include ext/type_traits.h.
4817         (is_placeholder, is_bind_expression): Use integral_constant.
4819 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
4821         * testsuite/util/testsuite_common_types.h (has_bitwise_operators):
4822         Avoid -Wall warnings.
4824 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
4826         * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
4827         as loop variable, to avoid -Wall warnings.
4828         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
4829         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
4830         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
4831         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
4833         * testsuite/20_util/reference_wrapper/24803.cc: Remove unused vars.
4834         * testsuite/20_util/reference_wrapper/invoke.cc: Likewise.
4836 2010-01-22  Daniel Frey  <d.frey@gmx.de>
4838         * include/std/functional (_Index_tuple, _Build_index_tuple):
4839         Simplify and speed-up.
4841 2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
4843         PR libstdc++/36101, PR libstdc++/42813
4844         * acinclude.m4 (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
4845         looking for omp.h.
4846         * configure: Regenerate.
4848 2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
4850         PR libstdc++/42201
4851         * include/std/future: Update to latest WP.
4852         * src/functexcept.cc (__throw_future_error): Use make_error_code.
4853         * testsuite/30_threads/async/any.cc: New.
4854         * testsuite/30_threads/async/async.cc: New.
4855         * testsuite/30_threads/async/sync.cc: New.
4856         * testsuite/30_threads/packaged_task/cons/alloc.cc: New.
4857         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
4858         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
4859         * testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
4860         * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
4861         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
4862         * testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
4863         * testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
4864         * testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
4865         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
4866         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
4867         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
4868         * testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
4869         * testsuite/30_threads/shared_future/cons/default.cc: New.
4870         * testsuite/30_threads/shared_future/cons/assign.cc: New.
4871         * testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
4872         * testsuite/30_threads/shared_future/cons/move.cc: Adjust.
4873         * testsuite/30_threads/shared_future/cons/move_assign.cc: New.
4874         * testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
4875         * testsuite/30_threads/shared_future/members/has_value.cc: Remove.
4876         * testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
4877         * testsuite/30_threads/shared_future/members/valid.cc: New.
4878         * testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
4879         * testsuite/30_threads/unique_future/cons/default.cc: New.
4880         * testsuite/30_threads/unique_future/cons/move_assign.cc: New.
4881         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
4882         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
4883         * testsuite/30_threads/unique_future/cons/move.cc: Adjust.
4884         * testsuite/30_threads/unique_future/requirements/
4885         explicit_instantiation.cc: Adjust.
4886         * testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
4887         * testsuite/30_threads/unique_future/members/has_value.cc: Remove.
4888         * testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
4889         * testsuite/30_threads/unique_future/members/valid.cc: New.
4890         * testsuite/30_threads/unique_future/members/get.cc: Adjust.
4891         * testsuite/30_threads/unique_future/members/get2.cc: Adjust.
4892         * testsuite/30_threads/unique_future/members/wait.cc: Adjust.
4893         * testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
4894         * testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
4895         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
4896         * testsuite/30_threads/promise/cons/alloc.cc: New.
4897         * testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
4898         * testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
4899         * testsuite/30_threads/promise/cons/move.cc: Adjust.
4900         * testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
4901         * testsuite/30_threads/promise/members/get_future.cc: Adjust.
4902         * testsuite/30_threads/promise/members/set_value.cc: Adjust.
4903         * testsuite/30_threads/promise/members/set_exception.cc: Adjust.
4904         * testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
4905         * testsuite/30_threads/promise/members/set_value2.cc: Adjust.
4906         * testsuite/30_threads/promise/members/set_value3.cc: Adjust.
4907         * testsuite/30_threads/promise/members/swap.cc: Adjust.
4909 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
4910             Paolo Carlini  <paolo.carlini@oracle.com>
4912         PR libstdc++/21769
4913         * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
4914         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
4915         Use it.
4917 2010-01-19  Johannes Singler  <singler@kit.edu>
4919         PR libstdc++/42712
4920         * include/parallel/settings.h (_Settings): Add search_minimal_n.
4921         * include/parallel/algo.h (__search_switch):
4922         Add serial fallback for too small inputs.
4923         (__search_n_switch): Likewise.  Call serial fallback on higher level
4924         to gain special treatment for __count 0 or 1.
4925         * testsuite/25_algorithms/search_n/iterator.cc:
4926         Reenable full test depth for parallel mode.
4928 2010-01-18  Daniel Frey  <d.frey@gmx.de>
4930         * include/std/functional (_Bind<_Functor(_Bound_args...)>::
4931         operator()): "Pass" _Result to __call*.
4932         (_Bind<_Functor(_Bound_args...)>::__call*): Adjust, simplify.
4934 2010-01-18  Johannes Singler  <singler@kit.edu>
4936         * include/parallel/base.h (__unary_negate): Correct comment.
4938 2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
4940         * include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
4941         Rename const version to __call_c and remove _Sfinae template
4942         parameter.
4943         (_Bind<_Functor(_Bound_args...)>::operator()): Adjust.
4945         * include/std/functional: Pass everywhere temporary tuple<_Args...>
4946         arguments by rvalue reference.
4948         * testsuite/20_util/bind/cv_quals.cc: New.
4950         * testsuite/20_util/bind/ref2.cc: Add missing test variables.
4952 2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4954         PR libstdc++/35942
4955         * configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
4956         * configure: Regenerate.
4958 2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>
4960         * python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
4961         Remove encoding argument.
4962         (StdStringPrinter.to_string): Do not compute or pass encoding.
4963         Use lazy_string over string function.
4965 2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
4967         * include/c_std/cstring (memchr): Forward to the builtin.
4968         * include/c_std/cstring: Remove redundant casts; use names consistent
4969         with the letter of the Standard.
4970         * include/c_global/cstring: Likewise.
4972 2010-01-13  Benjamin Kosnik  <bkoz@redhat.com>
4974         * include/profile/iterator_tracker.h: Add copyright.
4976 2010-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
4978         * testsuite/Makefile.am (check-debug): Add.
4979         * testsuite/Makefile.in: Regenerate.
4980         * config.h.in: Likewise.
4982 2010-01-12  Paolo Carlini  <paolo.carlini@oracle.com>
4984         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
4985         in parallel-mode.
4986         * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
4987         * testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
4988         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
4989         * testsuite/25_algorithms/remove/moveable.c: Likewiwse.
4990         * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
4991         * testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
4992         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
4993         * testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
4994         * testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
4995         * testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
4996         * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
4997         * testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
4998         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
4999         * testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
5000         * testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
5001         * testsuite/25_algorithms/heap/moveable.cc: Likewiwse.
5003         * testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
5004         in parallel-mode.
5006 2010-01-12  Hans-Peter Nilsson  <hp@axis.com>
5008         * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
5009         for non-tls_native targets.
5011 2010-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5013         * scripts/run_doxygen: Correct nested scope on the man pages.
5014         * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
5015         * doc/xml/manual/mt_allocator.xml: Same.
5016         * doc/xml/manual/allocator.xml: Same.
5017         * doc/xml/manual/codecvt.xml: Same.
5018         * doc/xml/manual/backwards_compatibility.xml: Same.
5019         * doc/xml/manual/concurrency.xml: Same.
5020         * doc/xml/manual/parallel_mode.xml: Same.
5021         * doc/xml/manual/io.xml: Same.
5022         * doc/xml/manual/support.xml: Same.
5023         * doc/xml/manual/evolution.xml: Same.
5024         * doc/xml/manual/using.xml: Same.
5025         * doc/xml/manual/extensions.xml: Same.
5026         * doc/xml/manual/appendix_contributing.xml: Same.
5027         * doc/xml/manual/prerequisites.xml: Same.
5028         * doc/xml/manual/diagnostics.xml: Same.
5029         * doc/xml/manual/spine.xml: Same.
5030         * doc/xml/manual/status_cxx200x.xml: Same.
5031         * doc/xml/manual/test.xml: Same.
5032         * doc/xml/spine.xml: Same.
5033         * doc/html/*: Regenerate.
5035         * include/profile/impl/profiler.h: Remove duplicate markup.
5037 2010-01-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
5039         PR libstdc++/24803
5040         PR libstdc++/35569
5041         PR libstdc++/42593
5042         * include/std/functional (bind): Forward rvalues and detect correct
5043         result type of bound function object.
5044         * include/std/mutex (call_once): Specify bind result type.
5045         * testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
5046         * testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
5047         and enable FIXME tests.
5048         * testsuite/20_util/bind/35569.cc: New.
5049         * testsuite/20_util/bind/ref2.cc: New.
5050         * testsuite/20_util/bind/38889.cc: New.
5051         * testsuite/20_util/bind/ref_neg.cc: New.
5052         * testsuite/20_util/bind/42593.cc: New.
5054 2010-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
5056         * include/parallel/base.h (decode2): Rename to __decode2.
5057         (binder2nd): Likewise to __binder2nd.
5058         * include/parallel/quicksort.h: Adjust callers.
5059         * include/parallel/balanced_quicksort.h: Likewise.
5060         * include/parallel/partition.h: Likewise.
5061         * include/parallel/queue.h: Likewise.
5063         * include/parallel/algo.h: Qualify with std:: binder2nd use.
5065 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
5067         * include/debug/string (basic_string<>::basic_string(basic_string&&),
5068         operator=(basic_string&&), assign(basic_string&&)): Add.
5070         * include/debug/string: Fully qualify initializer_list with std; fix
5071         _Allocator misspellings as _Alloc.
5073 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
5075         * include/bits/basic_string.h (basic_string<>::
5076         basic_string(basic_string&&), operator=(basic_string&&),
5077         assign(basic_string&&)): Add.
5078         * config/abi/pre/gnu.ver: Export new symbols.
5079         * include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
5080         Add.
5081         (operator=(__versa_string&&)): Don't call clear unnecessarily.
5082         * include/ext/rc_string_base.h (__rc_string_base<>::
5083         __rc_string_base(__rc_string_base&&)): Simplify a tad.
5084         * testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
5085         * testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
5086         * testsuite/ext/vstring/assign/move_assign.cc: Likewise.
5087         * testsuite/21_strings/basic_string/assign/char/move_assign.cc:
5088         Likewise.
5089         * testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
5090         Likewise.
5092         * testsuite/ext/vstring/cons/moveable.cc: Fix comment nit.
5094 2010-01-10  Silvius Rus  <rus@google.com>
5096         * configure.ac: Add detection of execinfo.h.
5097         * configure: Regenerate.
5098         * config.h.in: Likewise.
5099         * doc/xml/manual/profile_mode.xml: Add list_to_slist manual.
5100         Also, correct user interface mistakes.
5101         * include/Makefile.am: Add references to new include files.
5102         * include/Makefile.in: Regenerate.
5103         * include/backward/hash_map: Remove profile include.
5104         * include/backward/hash_set: Likewise.
5105         * include/profile/hashtable.h: Delete file.
5106         * include/profile/iterator_tracker.h: New file.
5107         * include/profile/vector: Add instrumentation for tracked iterator.
5108         * include/profile/list: Same.
5109         * include/profile/impl/profiler_list_to_slist.h: New file.
5110         * include/profile/impl/profiler_list_to_vector.h: Same.
5111         * include/profile/impl/profiler.h: Add list_to_slist and
5112         list_to_vector instrumentation hook interfaces.  Fixed broken
5113         diagnostic disabling mechanism.
5114         (_GLIBCXX_PROFILE_DEFINE_DATA,_GLIBCXX_PROFILE_DATA) New macros.
5115         (__reentrance_guard) Fix bug.
5116         * include/profile/impl/profiler_trace.h: Replace dummy templates
5117         with _GLIBCXX_PROFILE_DEFINE_DATA.
5118         * include/profile/impl/profiler_container_size.h: Same.
5119         * include/profile/impl/profiler_vector_size.h: Same.
5120         * include/profile/impl/profiler_hash_func.h: Same.
5121         * include/profile/impl/profiler_vector_to_list.h: Same.
5122         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
5123         * include/profile/impl/profiler_hashtable_size.h: Same.
5124         * include/profile/impl/profiler_node.h: Same.
5125         * include/profile/impl/profiler_state.h: Same.  Also, remove
5126         class __state. Also, use __sync_val_compare_and_swap to set state.
5128 2010-01-09  H.J. Lu  <hongjiu.lu@intel.com>
5130         PR other/42230
5131         * testsuite/abi/pr42230.cc: New.
5133 2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
5135         * include/debug/set.h: Revert last change, per DR 1204 [Ready];
5136         mention the latter in comment.
5137         * include/debug/unordered_map: Likewise.
5138         * include/debug/multiset.h: Likewise.
5139         * include/debug/vector: Likewise.
5140         * include/debug/unordered_set: Likewise.
5141         * include/debug/deque: Likewise.
5142         * include/debug/map.h: Likewise.
5143         * include/debug/list: Likewise.
5144         * include/debug/multimap.h: Likewise.
5145         * include/tr1_impl/unordered_map: Likewise.
5146         * include/tr1_impl/unordered_set: Likewise.
5147         * include/profile/set.h: Likewise.
5148         * include/profile/unordered_map: Likewise.
5149         * include/profile/multiset.h: Likewise.
5150         * include/profile/unordered_set: Likewise.
5151         * include/profile/vector: Likewise.
5152         * include/profile/deque: Likewise.
5153         * include/profile/map.h: Likewise.
5154         * include/profile/list: Likewise.
5155         * include/profile/multimap.h: Likewise.
5156         * include/ext/vstring.h: Likewise.
5157         * include/bits/stl_list.h: Likewise.
5158         * include/bits/stl_map.h: Likewise.
5159         * include/bits/stl_set.h: Likewise.
5160         * include/bits/stl_multimap.h: Likewise.
5161         * include/bits/stl_vector.h: Likewise.
5162         * include/bits/stl_deque.h: Likewise.
5163         * include/bits/stl_multiset.h: Likewise.
5165         * include/bits/forward_list.h: Remove pre-existing check.
5166         * include/ext/vstring.h: Likewise.
5168         * testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
5169         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
5170         Likewise.
5171         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
5172         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
5173         * testsuite/23_containers/unordered_multimap/cons/
5174         self_move_assign.cc: Likewise.
5175         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
5176         Likewise.
5177         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
5178         Likewise.
5179         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
5180         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
5181         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
5182         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
5183         * testsuite/23_containers/unordered_multiset/cons/
5184         self_move_assign.cc: Likewise.
5185         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
5187         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
5188         Adjust dg-error line numbers.
5189         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
5190         Likewise.
5191         * testsuite/23_containers/vector/requirements/dr438/
5192         constructor_1_neg.cc: Likewise.
5193         * testsuite/23_containers/vector/requirements/dr438/
5194         constructor_2_neg.cc: Likewise.
5195         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
5196         Likewise.
5197         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
5198         Likewise.
5199         * testsuite/23_containers/deque/requirements/dr438/
5200         constructor_1_neg.cc: Likewise.
5201         * testsuite/23_containers/forward_list/requirements/dr438/
5202         assign_neg.cc: Likewise.
5203         * testsuite/23_containers/forward_list/requirements/dr438/
5204         insert_neg.cc: Likewise.
5205         * testsuite/23_containers/forward_list/requirements/dr438/
5206         constructor_1_neg.cc: Likewise.
5207         * testsuite/23_containers/forward_list/requirements/dr438/
5208         constructor_2_neg.cc: Likewise.
5209         * testsuite/23_containers/deque/requirements/dr438/
5210         constructor_2_neg.cc: Likewise.
5211         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
5212         Likewise.
5213         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
5214         Likewise.
5215         * testsuite/23_containers/list/requirements/dr438/
5216         constructor_1_neg.cc: Likewise.
5217         * testsuite/23_containers/list/requirements/dr438/
5218         constructor_2_neg.cc: Likewise.
5220 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
5222         * include/debug/set.h: Protect move assignment operator vs self
5223         assignment.
5224         * include/debug/unordered_map: Likewise.
5225         * include/debug/multiset.h: Likewise.
5226         * include/debug/vector: Likewise.
5227         * include/debug/unordered_set: Likewise.
5228         * include/debug/deque: Likewise.
5229         * include/debug/map.h: Likewise.
5230         * include/debug/list: Likewise.
5231         * include/debug/multimap.h: Likewise.
5232         * include/tr1_impl/unordered_map: Likewise.
5233         * include/tr1_impl/unordered_set: Likewise.
5234         * include/profile/set.h: Likewise.
5235         * include/profile/unordered_map: Likewise.
5236         * include/profile/multiset.h: Likewise.
5237         * include/profile/unordered_set: Likewise.
5238         * include/profile/vector: Likewise.
5239         * include/profile/deque: Likewise.
5240         * include/profile/map.h: Likewise.
5241         * include/profile/list: Likewise.
5242         * include/profile/multimap.h: Likewise.
5243         * include/ext/vstring.h: Likewise.
5244         * include/bits/stl_list.h: Likewise.
5245         * include/bits/stl_map.h: Likewise.
5246         * include/bits/stl_set.h: Likewise.
5247         * include/bits/stl_multimap.h: Likewise.
5248         * include/bits/stl_vector.h: Likewise.
5249         * include/bits/stl_deque.h: Likewise.
5250         * include/bits/stl_multiset.h: Likewise.
5251         * include/ext/vstring.h: Use clear().
5252         * testsuite/ext/vstring/cons/self_move_assign.cc: New.
5253         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
5254         Likewise.
5255         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
5256         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
5257         * testsuite/23_containers/unordered_multimap/cons/
5258         self_move_assign.cc: Likewise.
5259         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
5260         Likewise.
5261         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
5262         Likewise.
5263         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
5264         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
5265         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
5266         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
5267         * testsuite/23_containers/unordered_multiset/cons/
5268         self_move_assign.cc: Likewise.
5269         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
5271         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
5272         Adjust dg-error line numbers.
5273         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
5274         Likewise.
5275         * testsuite/23_containers/vector/requirements/dr438/
5276         constructor_1_neg.cc: Likewise.
5277         * testsuite/23_containers/vector/requirements/dr438/
5278         constructor_2_neg.cc: Likewise.
5279         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
5280         Likewise.
5281         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
5282         Likewise.
5283         * testsuite/23_containers/deque/requirements/dr438/
5284         constructor_1_neg.cc: Likewise.
5285         * testsuite/23_containers/deque/requirements/dr438/
5286         constructor_2_neg.cc: Likewise.
5287         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
5288         Likewise.
5289         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
5290         Likewise.
5291         * testsuite/23_containers/list/requirements/dr438/
5292         constructor_1_neg.cc: Likewise.
5293         * testsuite/23_containers/list/requirements/dr438/
5294         constructor_2_neg.cc: Likewise.
5296         * testsuite/ext/vstring/moveable.cc: Move to...
5297         * testsuite/ext/vstring/cons/moveable.cc: ... here.
5298         * testsuite/23_containers/unordered_map/moveable.cc: Move to...
5299         * testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
5300         * testsuite/23_containers/multimap/moveable.cc: Move to...
5301         * testsuite/23_containers/multimap/cons/moveable.cc: ... here.
5302         * testsuite/23_containers/set/moveable.cc: Move to...
5303         * testsuite/23_containers/set/cons/moveable.cc: ... here.
5304         * testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
5305         * testsuite/23_containers/unordered_multimap/cons/moveable.cc:
5306         ... here.
5307         * testsuite/23_containers/forward_list/moveable.cc: Move to...
5308         * testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
5309         * testsuite/23_containers/unordered_set/moveable.cc Move to...
5310         * testsuite/23_containers/unordered_set/moveable.cc: ... here.
5311         * testsuite/23_containers/vector/cons/moveable.cc Move to...
5312         * testsuite/23_containers/vector/cons/moveable2.cc: ... this.
5313         * testsuite/23_containers/deque/cons/moveable.cc Move to...
5314         * testsuite/23_containers/deque/cons/moveable2.cc: ... this.
5315         * testsuite/23_containers/multiset/moveable.cc Move to...
5316         * testsuite/23_containers/multiset/cons/moveable.cc: ... here.
5317         * testsuite/23_containers/list/moveable.h Move to...
5318         * testsuite/23_containers/list/cons/moveable.h: ... here.
5319         * testsuite/23_containers/list/moveable.cc Move to...
5320         * testsuite/23_containers/list/cons/moveable.cc: ... here.
5321         * testsuite/23_containers/unordered_multiset/moveable.cc Move to...
5322         * testsuite/23_containers/unordered_multiset/cons/moveable.cc:
5323         ... here.
5324         * testsuite/23_containers/map/moveable.cc Move to...
5325         * testsuite/23_containers/map/cons/moveable.cc: ... here.
5326         * testsuite/23_containers/vector/moveable.cc: Move to...
5327         * testsuite/23_containers/vector/cons/moveable.cc: ... here.
5328         * testsuite/23_containers/deque/moveable.cc: Move to...
5329         * testsuite/23_containers/deque/cons/moveable.cc: ... here.
5331 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
5333         PR libstdc++/42573
5334         * include/bits/allocator.h (struct __shrink_to_fit): Add.
5335         * include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
5336         * include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
5337         * include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
5338         * include/bits/basic_string.h (basic_string<>::shrink_to_fit):
5339         Likewise.
5340         * include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
5341         * include/debug/deque: Add corresponding using declaration.
5342         * include/debug/vector: Likewise.
5343         * include/debug/string: Likewise.
5344         * include/profile/deque: Likewise.
5345         * include/profile/vector: Likewise.
5346         * config/abi/pre/gnu.ver: Export new symbols.
5347         * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
5348         * testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
5349         * testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
5350         Likewise.
5351         * testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
5352         Likewise.
5353         * testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
5354         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
5355         Adjust dg-error line number.
5356         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
5357         Likewise.
5358         * testsuite/23_containers/deque/requirements/dr438/
5359         constructor_1_neg.cc: Likewise.
5360         * testsuite/23_containers/deque/requirements/dr438/
5361         constructor_2_neg.cc: Likewise.
5362         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
5363         Adjust dg-error line number.
5364         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
5365         Likewise.
5366         * testsuite/23_containers/vector/requirements/dr438/
5367         constructor_1_neg.cc: Likewise.
5368         * testsuite/23_containers/vector/requirements/dr438/
5369         constructor_2_neg.cc: Likewise.
5371 2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>
5373         * doc/xml/manual/evolution.xml: Fix typos, update.
5375 2010-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
5377         * include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
5378         pointless __builtin_alloca use.
5380 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
5382         PR libstdc++/26701
5383         * include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
5384         Encode short two digits over four parsings to negative numbers.
5385         (time_get<>::_M_extract_via_format): Adjust, accept both two digits
5386         and four digits for both 'y' and 'Y'.
5387         (time_get<>::do_get_year): Call time_get<>::_M_extract_num.
5388         * doc/xml/manual/prerequisites.xml: Add en_GB.
5389         * testsuite/lib/libstdc++.exp: Adjust
5390         * testsuite/22_locale/time_get/get_date/char/26701.cc: New.
5391         * testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
5393 2010-01-06  Benjamin Kosnik  <bkoz@redhat.com>
5395         PR libstdc++/42491
5396         * scripts/check_performance (CXX): Add -std=gnu++0x.
5397         * testsuite/performance/30_threads/future/polling.cc: Mark up as
5398         using threads.
5400 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
5402         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:
5403         Add dg-require-namedlocale.
5405 2010-01-05  Benjamin Kosnik  <bkoz@redhat.com>
5407         * doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
5408         * doc/html: Regenerate.
5410 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
5412         PR libstdc++/38081
5413         * include/bits/locale_facets_nonio.h (time_get<>::
5414         _M_extract_wday_or_month): New, declare.
5415         * include/bits/locale_facets_nonio.tcc (time_get<>::
5416         _M_extract_wday_or_month): Define.
5417         (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
5418         * config/abi/pre/gnu.ver: Export new symbols.
5419         * doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
5420         ru_RU.ISO-8859-5.
5421         * testsuite/lib/libstdc++.exp: Adjust.
5422         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
5423         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
5425 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5427         * configure: Regenerate.
5429 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
5431         * testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
5432         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
5433         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
5434         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
5436 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
5438         * include/profile/list: Implement DR 1133 here too.
5440         * testsuite/25_algorithms/set_intersection/34730.cc: Do not force
5441         debug-mode, leads to spurious failures in profile-mode.
5442         * testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
5443         * testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
5444         * testsuite/25_algorithms/set_difference/35541.cc: Likewise.
5445         * testsuite/21_strings/basic_string/40160.cc: Likewise.
5446         * testsuite/26_numerics/random/uniform_real_distribution/
5447         cons/parms_neg.cc: Likewise.
5448         * testsuite/26_numerics/random/uniform_int_distribution/
5449         cons/parms_neg.cc: Likewise.
5450         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
5451         Likewise.
5452         * testsuite/23_containers/multimap/14340.cc: Likewise.
5453         * testsuite/23_containers/bitset/18604.cc: Likewise.
5454         * testsuite/23_containers/set/14340.cc: Likewise.
5455         * testsuite/23_containers/set/18604.cc: Likewise.
5456         * testsuite/23_containers/unordered_set/requirements/
5457         debug_mode.cc: Likewise.
5458         * testsuite/23_containers/vector/
5459         debug_mode_requires_reallocation-1.cc: Likewise.
5460         * testsuite/23_containers/vector/
5461         debug_mode_requires_reallocation-2.cc: Likewise.
5462         * testsuite/23_containers/vector/14340.cc: Likewise.
5463         * testsuite/23_containers/vector/15523.cc: Likewise.
5464         * testsuite/23_containers/vector/18604.cc: Likewise.
5465         * testsuite/23_containers/deque/14340.cc: Likewise.
5466         * testsuite/23_containers/deque/18604.cc: Likewise.
5467         * testsuite/23_containers/multiset/14340.cc: Likewise.
5468         * testsuite/23_containers/list/operations/35969.cc: Likewise.
5469         * testsuite/23_containers/list/14340.cc: Likewise.
5470         * testsuite/23_containers/list/18604.cc: Likewise.
5471         * testsuite/23_containers/map/14340.cc: Likewise.
5472         * testsuite/23_containers/map/18604.cc: Likewise.
5473         * testsuite/tr1/5_numerical_facilities/random/uniform_int/
5474         cons/range_neg.cc: Likewise.
5476         * testsuite/23_containers/unordered_map/requirements/
5477         explicit_instantiation/2.cc: Do not instantiate for
5478         non-defaultconstructible mapped_type.
5480 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
5482         * include/debug/set.h: Implement DR 130 here too.
5483         * include/debug/multiset.h: Likewise.
5484         * include/debug/map.h: Likewise.
5485         * include/debug/multimap.h: Likewise.
5486         * include/profile/set.h: Implement DR 130 fully.
5487         * include/profile/multiset.h: Likewise.
5488         * include/profile/map.h: Likewise.
5489         * include/profile/multimap.h: Likewise.
5490         * include/debug/list: Implement DR 1133 here too.
5491         * include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
5492         now uses of __gnu_cxx::throw_allocator.
5493         * testsuite/21_strings/basic_string/40160.cc: Don't pass
5494         explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
5495         testing.
5497 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
5499         * include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
5500         in C++0x mode.
5501         * include/debug/bitset (bitset<>::bitset(unsigned long long)):
5502         Likewise.
5504 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
5506         * include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
5507         typedef.
5508         * include/profile/unordered_map (unordered_map<>::insert(const
5509         value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
5510         * include/profile/unordered_set (unordered_set<>::insert(const
5511         value_type&), unordered_multimap<>::insert(const value_type&)):
5512         Likewise.
5514 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
5516         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
5517         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
5518         Use std::is_constructible instead of std::is_convertible.
5520 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
5522         Revert last change, reinstantiate basic_string and vstring tests.
5524 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
5526         * testsuite/21_strings/basic_string/requirements/exception/
5527         propagation_consistent.cc: Remove, cannot instantiate basic_string
5528         for non-PODs (21/1).
5529         * testsuite/21_strings/basic_string/requirements/exception/
5530         basic.cc: Likewise.
5531         * testsuite/21_strings/basic_string/requirements/exception/
5532         generation_prohibited.cc: Likewise.
5533         * testsuite/ext/vstring/requirements/exception/
5534         propagation_consistent.cc: Likewise.
5535         * testsuite/ext/vstring/requirements/exception/basic.cc:
5536         Likewise.
5537         * testsuite/ext/vstring/requirements/exception/
5538         generation_prohibited.cc: Likewise.