OSDN Git Service

f47474680255b227de9ab16a5b1deac53a4124c2
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2008-08-27  Paul Brook  <paul@codesourcery.com>
2
3         * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of
4         __get_object_from_ambiguous_exception.
5
6 2008-08-26  Ben Elliston  <bje@au.ibm.com>
7
8         * src/mt_allocator.cc (__pool): Fix error in comment.
9
10 2008-08-25  Paolo Carlini  <paolo.carlini@oracle.com>
11
12         * linkage.m4 ([GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1],
13         [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]): Remove 
14         * configure.ac: Do not call the latter.
15         * crossconfig.m4: Likewise.
16         * libmath/mathconf.h: Adjust.
17         * configure: Regenerate.
18         * config.h.in: Likewise.
19
20 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
21
22         * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use
23         two test -r instead of an AC_TRY_RUN.
24         * configure: Regenerate.
25         * config.h.in: Likewise.
26
27 2008-08-24  Paolo Carlini  <paolo.carlini@oracle.com>
28
29         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation.
30         * doc/xml/manual/configure.xml: Likewise.
31
32 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
33
34         * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in
35         GLIBCXX_ENABLE.
36         * configure: Regenerate.
37
38 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
39
40         * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use
41         GCC_TRY_COMPILE_OR_LINK.
42         ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to
43         [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option,
44         [no] by default, since it includes TRY_LINK checks.  librt is also
45         searched, if requested.
46         * doc/xml/manual/configure.xml: Document the latter.
47         * configure.ac: Move the above checks outside native-only.
48         * configure: Regenerate.
49
50 2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
51
52         * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
53         * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
54         * testsuite/18_support/exception_ptr/current_exception.cc: Use it.
55         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
56         * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
57
58 2008-08-23  Sebastian Redl <sebastian.redl@getdesigned.at>
59
60         Add (again) exception propagation support as per N2179.  Feature is
61         available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
62         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
63         copy_exception, rethrow_exception): New file, implement exception
64         propagation.
65         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
66         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
67         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
68         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
69         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
70         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
71         __gxx_dependent_exception_class, __get_object_from_ue,
72         __get_object_from_ambiguous_exception): Add.
73         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
74         (__is_gxx_exception_class): Handle dependent exceptions.
75         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
76         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
77         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
78         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
79         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
80         __cxa_free_dependent_exception): Add.
81         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
82         counting.
83         * libsupc++/exception: Conditionally include exception_ptr.h.
84         * libsupc++/Makefile.am: Register new files.
85         * libsupc++/Makefile.in: Regenerate.
86         * config/abi/pre/gnu.ver: Add new symbols.
87         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
88         core functionality of current_exception().
89         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
90         core functionality of rethrow_exception().
91         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
92         exception objects during exception propagation.
93
94 2008-08-22  Paolo Carlini  <paolo.carlini@oracle.com>
95
96         Revert again the N2179 patch.
97
98 2008-08-21  Sebastian Redl <sebastian.redl@getdesigned.at>
99
100         * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call
101         __cxa_free_dependent_exception.
102
103 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
104
105         * include/bits/char_traits.h (char_traits<char16_t>::
106         assign(char_type*, size_t, char_type), char_traits<char32_t>::
107         assign(char_type*, size_t, char_type)): For now, just open-code.
108
109 2008-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
110
111         PR c++/33979 (partial)
112         * include/bits/postypes.h (u16streampos, u32streampos): Add.
113         * include/bits/char_traits.h (char_traits<char16_t>,
114         char_traits<char32_t>): Add.
115         * include/bits/stringfwd.h (u16string, u32string): Add.
116         * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t.
117         * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc:
118         New.
119         * testsuite/21_strings/char_traits/requirements/
120         explicit_instantiation/short/1.cc: Likewise.
121         * testsuite/21_strings/char_traits/requirements/
122         explicit_instantiation/char32_t/1.cc: Likewise.
123         * testsuite/21_strings/char_traits/requirements/
124         explicit_instantiation/wchar_t/1.cc: Likewise.
125         * testsuite/21_strings/char_traits/requirements/
126         explicit_instantiation/char16_t/1.cc: Likewise.
127         * testsuite/21_strings/char_traits/requirements/
128         explicit_instantiation/char/1.cc: Likewise.
129         * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc:
130         Likewise.
131         * testsuite/21_strings/basic_string/requirements/
132         explicit_instantiation/char32_t/1.cc: Likewise.
133         * testsuite/21_strings/basic_string/requirements/
134         explicit_instantiation/wchar_t/1.cc: Likewise.
135         * testsuite/21_strings/basic_string/requirements/
136         explicit_instantiation/char16_t/1.cc: Likewise.
137         * testsuite/21_strings/basic_string/requirements/
138         explicit_instantiation/char/1.cc: Likewise.
139         * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise.
140         * testsuite/ext/vstring/requirements/explicit_instantiation/
141         char32_t/1.cc: Likewise.
142         * testsuite/ext/vstring/requirements/explicit_instantiation/
143         char16_t/1.cc: Likewise.
144
145 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
146
147         PR libstdc++/37149
148         * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
149         <cstdio>.
150         * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
151         Likewise.
152         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
153         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
154         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
155         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
156         * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
157         * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
158         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
159         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
160         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
161         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
162         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
163         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
164         * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
165         * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
166         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
167         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
168         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
169         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
170         * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
171         * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
172         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
173         * include/std/regex: Include <sstream>.
174         * include/tr1/regex: Likewise.
175
176 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
177
178         * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
179         newlib.
180         * configure: Regenerate.
181
182 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
183
184         PR libstdc++/37147
185         * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h,
186         check the macros too.
187         * configure: Regenerate.
188
189 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
190
191         * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of
192         AC_TRY_LINK.
193         * configure.ac: Run unconditionally AC_LC_MESSAGES.
194         * crossconfig.m4: Adjust.
195         * configure: Regenerate.
196
197 2008-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
198
199         * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL],
200         [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]):
201         Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++,
202         with -fno-exceptions as flags.
203         * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS,
204         GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG,
205         GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS. 
206         * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized
207         in configure.ac.
208         * configure: Regenerate.
209
210 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
211
212         Re-instate last patch, amended to use __exchange_and_add_dispatch
213         and __atomic_add_dispatch in eh_ptr.cc and eh_throw.cc. 
214
215 2008-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
216
217         Revert the last patch.
218
219 2008-08-13  Sebastian Redl <sebastian.redl@getdesigned.at>
220
221         Add exception propagation support as per N2179.
222         * libsupc++/exception_ptr.h (exception_ptr, current_exception,
223         copy_exception, rethrow_exception): New file, implement exception
224         propagation.
225         * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
226         rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
227         * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
228         (__cxa_dependent_exception, __cxa_allocate_dependent_exception,
229         __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
230         __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
231         __gxx_dependent_exception_class, __get_object_from_ue,
232         __get_object_from_ambiguous_exception): Add.
233         (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
234         (__is_gxx_exception_class): Handle dependent exceptions.
235         * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
236         * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
237         * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
238         * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
239         * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
240         __cxa_free_dependent_exception): Add.
241         * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
242         counting.
243         * libsupc++/exception: Conditionally include exception_ptr.h.
244         * libsupc++/Makefile.am: Register new files.
245         * libsupc++/Makefile.in: Regenerate.
246         * config/abi/pre/gnu.ver: Add new symbols.
247         * testsuite/18_support/exception_ptr/current_exception.cc: Test the
248         core functionality of current_exception().
249         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
250         core functionality of rethrow_exception().
251         * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
252         exception objects during exception propagation.
253
254 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
255
256         PR libstdc++/37100
257         * include/bits/stl_pair.h: Fix documentation URL in comment.
258
259 2008-08-12  Johannes Singler  <singler@ira.uka.de>
260
261         * include/paralle/losertree.h 
262         (LoserTreePointerBase<>::~LoserTreePointerBase):
263         Replace delete by appropriate delete[].
264
265 2008-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
266
267         * configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and
268         GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused).
269         * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused).
270         * configure: Regenerate.
271         * config.h.in: Likewise.
272
273         * acinclude.m4: Minor formatting fixes.
274
275 2008-08-11  Stephen M. Webb  <stephenw@xandros.com>
276
277         * include/tr1_impl/regex: Formatting fixes.
278         * testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
279           New test.
280         * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
281           New test.
282
283 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
284
285         * config/locale/generic/c_locale.cc: Include <cstdio>.
286
287 2008-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
288
289         * configure.ac: Run GLIBCXX_CHECK_STDIO_MACROS unconditionally.
290         * configure: Regenerate.
291
292 2008-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
293
294         * include/tr1_impl/type_traits (_DEFINE_SPEC*): Simplify.
295         (_DEFINE_SPEC_BODY): Remove.
296         (__is_void_helper, __is_integral_helper, __is_floating_point_helper,
297         __is_member_object_pointer_helper, __is_member_function_pointer_helper,
298         __remove_pointer_helper): Add.
299         (is_void, is_integral, is_floating_point, is_member_object_pointer,
300         is_member_function_pointer, remove_pointer): Use the latter.
301         * include/tr1/type_traits (_DEFINE_SPEC): Simplify.
302         (_DEFINE_SPEC_HELPER): Remove.
303         (__is_signed_helper, __is_unsigned_helper): Add.
304         (is_signed, is_unsigned): Use the latter.
305
306 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
307
308         Revert fix for libstdc++/35637, thanks to other/36901.
309         * include/tr1_impl/type_traits (__is_function_helper): New, uses
310         variadic templates.
311         (is_function): Forward to the latter.
312         (__in_array): Remove.
313
314 2008-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
315
316         * config/locale/darwin/ctype_members.cc: Include <cstdio>.
317
318 2008-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
319
320         * include/bits/ios_base.h: Undef _IOS_BASE_SEEK_CUR and
321         _IOS_BASE_SEEK_END at the end of the file.
322         * include/bits/char_traits.h: Likewise for _CHAR_TRAITS_EOF.
323
324 2008-08-07  Stephen M. Webb  <stephenw@xandros.com>
325
326         * include/tr1_impl/regex (match_results<>::cbegin, cend): Add, per
327         N2691 WD.
328
329 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
330
331         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): New, checks for
332         common values of EOF, SEEK_CUR, SEEK_END.
333         * configure.ac: Use it.
334         * include/bits/ios_base.h: Likewise.
335         * include/bits/char_traits.h: Likewise.
336         * config/locale/gnu/ctype_members.cc: Include <cstdio>.
337         * config/locale/generic/ctype_members.cc: Likewise.
338         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error lines.
339         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
340         * configure: Regenerate.
341         * config.h.in: Likewise.
342
343 2008-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
344
345         * acinclude.m4 ([GLIBCXX_CHECK_INT64_T]): Also check whether int64_t
346         is actually a typedef to long or long long.
347         * include/bits/postypes.h: If int64_t is actually a typedef for
348         long or long long don't include <stdint.h> unnecessarily.
349         * configure: Regenerate.
350         * config.h.in: Likewise.
351         
352 2008-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
353
354         * testsuite/util/testsuite_api.h (diamond_derivation<>::test):
355         Expect ambiguity together with the standard exception classes.
356         * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: Remove
357         xfail.
358         * testsuite/19_diagnostics/logic_error/cons_virtual_derivation.cc:
359         Likewise.
360         * testsuite/19_diagnostics/runtime_error/cons_virtual_derivation.cc:
361         Likewise.
362         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
363         Likewise.
364         * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Likewise.
365         * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Likewise.
366         * testsuite/18_support/bad_exception/cons_virtual_derivation.cc:
367         Likewise.
368         * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc:
369         Likewise.
370         * testsuite/ext/concurrence_lock_error/cons_virtual_derivation.cc:
371         Likewise.
372         * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc:
373         Likewise.
374         * testsuite/ext/concurrence_unlock_error/cons_virtual_derivation.cc:
375         Likewise.
376         * testsuite/20_util/bad_function_call/cons_virtual_derivation.cc:
377         Likewise.
378
379 2008-08-04  Paolo Carlini  <paolo.carlini@oracle.com>
380
381         * include/bits/postypes.h: Reinstate inclusion of <stdint.h>;
382         also define the __STDC_* macros.
383         (streamoff): Adjust.
384
385         * include/tr1_impl/cstdint: Check that the __STDC_* macros are
386         not defined before defining.
387
388 2008-08-01  Paolo Bonzini  <bonzini@gnu.org>
389             Chris Fairles  <chris.fairles@gmail.com>
390
391         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Reinstate clock_gettime
392         search, but only in libposix4, never link librt.
393         * src/Makefile.am: Reinstate previous change to add GLIBCXX_LIBS.
394         * configure: Regenerate.
395         * configure.in: Likewise.
396         * Makefile.in: Likewise.
397         * src/Makefile.in: Likewise.
398         * libsup++/Makefile.in: Likewise.
399         * po/Makefile.in: Likewise.
400         * doc/Makefile.in: Likewise.
401
402 2008-07-31  Chris Fairles <chris.fairles@gmail.com>
403
404         * include/std/chrono (duration): Use explicitly defaulted ctor, cctor,
405         dtor and assignment. Add diagnostics as per 20.8.3 paragraphs 2, 3 
406         and 4 in WD. Other minor tweaks.
407         * testsuite/20_util/duration/cons/1_neg.cc: Adjust line numbers.
408         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: New.
409         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
410         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
411
412 2008-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
413
414         * testsuite/lib/libstdc++.exp (libstdc++_init): Set v3-libgomp.
415         (check_v3_target_parallel_mode): Robustify, just follow the
416         structure of testsuite/Makefile.am.
417
418 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
419
420         * include/debug/set.h: Minor formatting fixes.
421         * include/debug/multiset.h: Likewise.
422         * include/debug/safe_association.h: Likewise.
423         * include/debug/vector: Likewise.
424         * include/debug/map.h: Likewise.
425         * include/debug/string: Likewise.
426         * include/debug/multimap.h: Likewise.
427         * include/bits/stl_list.h: Likewise.
428         * include/bits/stl_map.h: Likewise.
429         * include/bits/stl_set.h: Likewise.
430         * include/bits/stl_multimap.h: Likewise.
431         * include/bits/stl_vector.h: Likewise.
432         * include/bits/stl_multiset.h: Likewise.
433         * include/bits/stl_bvector.h: Likewise.
434
435 2008-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
436
437         * include/std/utility: Include <initializer_list>, per the current WP.
438
439         * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak,
440         don't use -std=gnu++0x unnecessarily.
441         * testsuite/18_support/numeric_limits/char16_32_t.cc: Use
442         dg-require-cstdint.
443         * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise.
444         * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise.
445
446 2008-07-28  Paolo Carlini  <paolo.carlini@oracle.com>
447
448         PR libstdc++/36949
449         * include/tr1_impl/boost_shared_ptr.h
450         (__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
451         __enable_shared_from_this_helper.
452         * testsuite/20_util/shared_ptr/creation/36949.cc: New.
453
454 2008-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
455
456         PR libstdc++/36924
457         Revert:
458         2008-07-23  Chris Fairles <chris.fairles@gmail.com>
459
460         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
461         Holds the lib that defines clock_gettime (-lrt or -lposix4).
462         * src/Makefile.am: Use it.
463         * configure: Regenerate.
464         * configure.in: Likewise.
465         * Makefile.in: Likewise.
466         * src/Makefile.in: Likewise.
467         * libsup++/Makefile.in: Likewise.
468         * po/Makefile.in: Likewise.
469         * doc/Makefile.in: Likewise.
470
471 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
472
473         * include/std/condition_variable: Update to N2691 WD.
474         * include/std/mutex: Likewise.
475         * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
476         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
477         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
478         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
479
480 2008-07-23  Chris Fairles <chris.fairles@gmail.com>
481
482         * acinclude.m4 ([GLIBCXX_CHECK_CLOCK_GETTIME]): Define GLIBCXX_LIBS.
483         Holds the lib that defines clock_gettime (-lrt or -lposix4).
484         * src/Makefile.am: Use it.
485         * configure: Regenerate.
486         * configure.in: Likewise.
487         * Makefile.in: Likewise.
488         * src/Makefile.in: Likewise.
489         * libsup++/Makefile.in: Likewise.
490         * po/Makefile.in: Likewise.
491         * doc/Makefile.in: Likewise.
492
493 2008-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
494
495         * include/ext/sso_string_base.h
496         (__sso_string_base<>::__sso_string_base(std::initializer_list<_CharT>,
497         const _Alloc&)): Remove.
498         * include/ext/rc_string_base.h
499         (__rc_string_base<>::__rc_string_base(std::initializer_list<_CharT>,
500         const _Alloc&)): Likewise.
501         * include/ext/vstring.h
502         (__versa_string<>::__versa_string(std::initializer_list<_CharT>,
503         const _Alloc&)): Adjust.
504
505 2008-07-21  Jason Merrill  <jason@redhat.com>
506
507         Add initializer_list support as per N2679.
508         * include/debug/unordered_map: Add initializer_list support.
509         * include/debug/safe_association.h: Likewise.
510         * include/debug/unordered_set: Likewise.
511         * include/debug/vector: Likewise.
512         * include/debug/deque: Likewise.
513         * include/debug/map.h: Likewise.
514         * include/debug/set.h: Likewise.
515         * include/debug/string: Likewise.
516         * include/debug/list: Likewise.
517         * include/debug/multimap.h: Likewise.
518         * include/tr1_impl/unordered_map: Likewise.
519         * include/tr1_impl/hashtable: Likewise.
520         * include/tr1_impl/unordered_set: Likewise.
521         * include/tr1_impl/regex: Likewise.
522         * include/std/valarray: Likewise.
523         * include/std/unordered_map: Likewise.
524         * include/std/unordered_set: Likewise.
525         * include/bits/stl_list.h: Likewise.
526         * include/bits/stl_map.h: Likewise.
527         * include/bits/stl_set.h: Likewise.
528         * include/bits/basic_string.h: Likewise.
529         * include/bits/basic_string.tcc: Likewise.
530         * include/bits/stl_multimap.h: Likewise.
531         * include/bits/stl_vector.h: Likewise.
532         * include/bits/stl_deque.h: Likewise.
533         * include/bits/stl_multiset.h: Likewise.
534         * include/bits/stl_bvector.h: Likewise.
535         * include/ext/vstring.h: Likewise.
536         * include/ext/rc_string_base.h: Likewise.
537         * include/ext/sso_string_base.h: Likewise.
538         * src/Makefile.am (w?string-inst): Build with -std=gnu++0x.
539         * src/Makefile.in: Likewise.
540         * config/abi/pre/gnu.ver: Add new w?string exports.
541         * testsuite/21_strings/basic_string/init-list.cc: New test.
542         * testsuite/23_containers/vector/init-list.cc: New test.
543         * testsuite/23_containers/deque/init-list.cc: New test.
544         * testsuite/23_containers/list/init-list.cc: New test.
545         * testsuite/23_containers/map/init-list.cc: New test.
546         * testsuite/23_containers/multimap/init-list.cc: New test.
547         * testsuite/23_containers/set/init-list.cc: New test.
548         * testsuite/23_containers/multiset/init-list.cc: New test.
549         * testsuite/23_containers/unordered_map/init-list.cc: New test.
550         * testsuite/23_containers/unordered_multimap/init-list.cc: New test.
551         * testsuite/23_containers/unordered_set/init-list.cc: New test.
552         * testsuite/23_containers/unordered_multiset/init-list.cc: New test.
553         * testsuite/26_numerics/valarray/init-list.cc: New test.
554         * testsuite/28_regex/init-list.cc: New test.
555         * testsuite/ext/vstring/init-list.cc: New test.
556         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
557         Update error lineno.
558         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
559         Update error lineno.
560         * testsuite/23_containers/vector/requirements/dr438/
561         constructor_1_neg.cc: Update error lineno.
562         * testsuite/23_containers/vector/requirements/dr438/
563         constructor_2_neg.cc: Update error lineno.
564         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
565         Update error lineno.
566         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
567         Update error lineno.
568         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
569         Update error lineno.
570         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
571         Update error lineno.
572         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
573         Update error lineno.
574         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
575         Update error lineno.
576         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
577         Update error lineno.
578         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
579         Update error lineno.
580         
581 2008-07-21  Mark Mitchell  <mark@codesourcery.com>
582
583         * config/os/gnu-linux/arm-eabi-extra.ver: New file.
584         * configure.host: Use it for arm*-*-linux-*eabi.
585
586 2008-07-19  Paolo Carlini  <paolo.carlini@oracle.com>
587
588         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp
589         (assert_node_consistent): Avoid ambiguous else warning.
590
591         * include/ext/pb_ds/detail/debug_map_base.hpp: Include <iostream>.
592
593         * include/bits/c++config: In debug-mode (and parallel-mode) set
594         _GLIBCXX_EXTERN_TEMPLATE to -1, not 0, thus disabling extern
595         templates only for basic_string (per libstdc++/21674).
596         * include/bits/basic_string.tcc: Use extern templates when
597         _GLIBCXX_EXTERN_TEMPLATE > 0.
598
599 2008-07-18  Kris Van Hees  <kris.van.hees@oracle.com>
600             Holger Hopp  <holger.hopp@sap.com>
601
602         * config/abi/pre/gnu.ver: Support char16_t and char32_t.
603         * testsuite/util/testsuite_abi.cc (check_version): Add
604         CXXABI_1.3.3 to known_versions.
605
606 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
607
608         * include/debug/vector (insert(iterator, _Tp&&), push_back(_Tp&&)):
609         Enable only when _Tp != bool.
610
611         * testsuite/25_algorithms/heap/1.cc: Avoid unused variable warnings.
612
613 2008-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
614
615         * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused
616         variable warnings leading to spurious fails of the test.
617
618 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
619
620         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
621         dg-error lines.
622         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
623         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
624
625         * include/tr1_impl/type_traits: Fix comment typo.
626
627 2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
628
629         * include/bits/unique_ptr.h: Remove stray character.
630
631 2008-07-15  Benjamin Kosnik  <bkoz@redhat.com>
632
633         * doc/doxygen/user.cfg.in: Add complex, ratio,
634         intializer_list.
635         (PREDEFINED): Add _GLIBCXX_USE_C99_STDINT_TR1.
636         * doc/doxygen/doxygroups.cc: Add std::chrono.
637         * include/bits/unique_ptr.h (default_delete, unique_ptr): Add markup.
638         * libsupc++/initializer_list (initializer_list): Same.
639         * include/std/ratio: Same.
640         * include/std/chrono: Same.
641         * include/std/complex: Disambiguate file markup.
642
643 2008-07-15  Chris Fairles  <chris.fairles@gmail.com>
644
645         * include/std/chrono: New, as per N2661.
646         * src/chrono.cc: New.
647         * include/Makefile.am: Update.
648         * src/Makefile.am: Likewise.
649         * include/Makefile.in: Regenerate.
650         * src/Makefile.in: Likewise.
651         * acinclude.m4: Add tests for clock_gettime and gettimeofday that
652         define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
653         * configure.ac: Use them.
654         * configure: Regenerate.
655         * config.h.in: Likewise.
656         * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
657         system_clock::is_monotonic.
658         * testsuite/20_util/duration/cons/1.cc: New.
659         * testsuite/20_util/duration/cons/2.cc: Likewise.
660         * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
661         * testsuite/20_util/duration/requirements/explicit_instantiation/
662         explicit_instantiation.cc: Likewise.
663         * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
664         * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
665         * testsuite/20_util/duration/comparisons/1.cc: Likewise.
666         * testsuite/20_util/time_point/requirements/explicit_instantiation/
667         explicit_instantiation.cc: Likewise.
668         * testsuite/20_util/time_point/1.cc: Likewise.
669         * testsuite/20_util/time_point/2.cc: Likewise.
670         * testsuite/20_util/time_point/3.cc: Likewise.
671         * testsuite/20_util/clocks/1.cc: Likewise.
672         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
673         missing headers.
674         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
675         * include/precompiled/stdc++.h: Likewise and remove <date_time>.
676         * doc/doxygen/user.cfg.in: Likewise.
677
678 2008-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
679
680         PR libstdc++/36832
681         * include/ext/rope (_Destroy_const): Add.
682         (rope<>::copy): Call it.
683         * testsuite/ext/rope/36832.cc: New.
684
685 2008-07-15  Johannes Singler  <singler@ira.uka.de>
686
687         * include/parallel/find_selectors.h:
688         Correct name for include guard #ifndef.
689         * include/parallel/balanced_quicksort.h: Likewise.
690         * include/parallel/unique_copy.h: Likewise.
691         * include/parallel/multiway_mergesort.h: Likewise.
692         * include/parallel/checkers.h: Likewise.
693         * include/parallel/[various files]:
694         Add/correct comment for #endif of include guard (at end of file) 
695
696 2008-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
697
698         * include/std/date_time: Remove, per N2549, in WP.
699         * src/date_time.cc: Likewise.
700         * config/abi/pre/gnu.ver: Remove <date_time> symbols.
701         * include/Makefile.am: Remove date_time in std headers.
702         * src/Makefile.am: Remove date_time.cc to source files.
703         * include/Makefile.in: Regenerate.
704         * src/Makefile.in: Likewise.
705         * testsuite/31_date_time/headers/date_time/types_std.cc: Remove.
706         * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
707         * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
708         * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
709         * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
710         * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
711         * testsuite/31_date_time/system_time/requirements: Likewise.
712         * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
713         * testsuite/17_intro/headers/c++200x/all.cc: Adjust.
714         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Adjust.
715
716 2008-07-10  Johannes Singler  <singler@ira.uka.de>
717
718         * include/parallel/balanced_quicksort.h:
719         (qsb_divide) Replace "*end" by "*(end - 1)" in assertion.
720
721 2008-07-09  Benjamin Kosnik  <bkoz@redhat.com>
722
723         PR libstdc++/36451
724         * doc/xml/manual/allocator.xml: Fix links.
725         * doc/html/*: Regenerate.
726
727 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
728
729         * libsupc++/unwind-cxx.h (__is_gxx_forced_unwind_class,
730         __GXX_INIT_FORCED_UNWIND_CLASS): Define for ARM EABI unwinder.
731         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Call
732         __GXX_INIT_FORCED_UNWIND_CLASS for forced unwind with ARM EABI
733         unwinder.
734         * libsupc++/eh_arm.cc (__cxa_type_match): Use
735         __is_gxx_forced_unwind_class to check for forced unwind.
736
737 2008-07-09  Andreas Beckmann  <gcc@abeckmann.de>
738
739         PR libstdc++/36552
740         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
741         null_metadata.hpp: Remove self-include.
742
743 2008-07-09  Joseph Myers  <joseph@codesourcery.com>
744
745         * testsuite/20_util/make_signed/requirements/typedefs-2.cc,
746         testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
747         -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
748
749 2008-07-09  Johannes Singler  <singler@ira.uka.de>
750
751         PR libstdc++/36729
752         * include/parallel/random_shuffle.h:
753         (sequential_random_shuffle) Copy data back.
754         * testsuite/25_algorithms/random_shuffle/1.cc:
755         New. Generic random_shuffle functionality test.
756
757 2008-07-08  Chris Fairles  <chris.fairles@gmail.com>
758
759         * include/std/type_traits: Add common_type.
760         * testsuite/20_util/common_type/requirements/
761         explicit_instantiation.cc: New.
762         * testsuite/20_util/common_type/requirements/
763         typedefs-1.cc: Likewise.
764
765 2008-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
766
767         * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New.
768         * testsuite/lib/dg-options.exp (dg-require-cstdint): New.
769         * testsuite/20_util/ratio/cons/cons1.cc: Use it.
770         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
771         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
772         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
773         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
774         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
775         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
776         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
777
778         * include/std/type_traits: Fix comment typo.
779
780 2008-07-06  Roger Sayle  <roger@eyesopen.com>
781
782         * include/std/system_error (is_error_code_enum): Use identifier
783         _Tp instead of _T to avoid conflict with system macro on Darwin.
784         (is_error_condition_enum): Likewise.
785
786 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
787
788         * include/bits/postypes.h: Do not include <stdint.h>.
789
790         * include/Makefile.am: Reorder.
791
792 2008-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
793
794         * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN).
795
796 2008-07-05  Chris Fairles  <chris.fairles@gmail.com>
797
798         * include/std/ratio: Documentation for std::ratio class. Add conditions 
799         to ratio_less to prevent overflow.
800         * testsuite/20_util/ratio/comparisons/comp2.cc: New.
801         * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line
802         numbers.
803
804 2008-07-04  Chris Fairles  <chris.fairles@gmail.com>
805
806         * include/std/ratio: New, per N2661.
807         * include/Makefile.am: Update.
808         * include/Makefile.in: Regenerate.
809         * testsuite/20_util/ratio/cons/cons1.cc: New.
810         * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise.
811         * testsuite/20_util/ratio/operations/ops1.cc: Likewise.
812         * testsuite/20_util/ratio/operations/ops2.cc: Likewise.
813         * testsuite/20_util/ratio/operations/ops3.cc: Likewise.
814         * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise.
815         * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise.
816
817 2008-07-04  Paolo Carlini  <paolo.carlini@oracle.com>
818
819         PR libstdc++/36616
820         * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead.
821         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
822         
823 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
824
825         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
826         Improve check on long double limits.
827         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
828         Likewise.
829         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
830         stof.cc: Likewise.
831         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
832         stod.cc: Likewise.
833
834 2008-07-03  Paolo Carlini  <paolo.carlini@oracle.com>
835
836         * libsupc++/Makefile.am: Add initializer_list to the headers.
837         * libsupc++/Makefile.in: Regenerate.
838
839         * libsupc++/initializer_list: Minor cosmetic changes.
840
841 2008-07-02  Jason Merrill  <jason@redhat.com>
842
843         * libsupc++/initializer_list: Uglify and wrap in 
844         __GXX_EXPERIMENTAL_CXX0X__.
845         * include/bits/stl_map.h (insert(initializer_list)): Wrap.
846
847 2008-07-02  Jason Merrill  <jason@redhat.com>
848
849         * libsupc++/initializer_list: New file.
850         * include/bits/stl_map.h (insert(initializer_list)): New method.
851
852 2008-06-30  Alfred E. Heggestad  <aeh@db.org>
853
854         * include/backward/backward_warning.h: Fix typo.
855         
856 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
857
858         * src/string_conversions.cc: Remove.
859         * config/abi/pre/gnu.ver: Delete exports.
860         * src/Makefile.am: Update.
861         * include/ext/string_conversions.h: Add.
862         * include/Makefile.am: Update.
863         * include/bits/basic_string.h: Include string_conversions.h,
864         define numeric conversion functions.
865         * include/ext/vstring.h: Likewise.
866         * src/Makefile.in: Regenerate.
867         * include/Makefile.in: Regenerate.      
868
869 2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
870
871         * include/bits/stl_algo.h (copy_n): Add in C++0x mode.
872         * include/bits/algorithmfwd.h: Add.
873         * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
874         in C++0x mode.
875         * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
876         move_iterators/1.cc: New
877         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
878         * testsuite/25_algorithms/copy_n/1.cc: New.
879         * testsuite/25_algorithms/copy_n/2.cc: Likewise.
880         * testsuite/25_algorithms/copy_n/3.cc: Likewise.
881         * testsuite/25_algorithms/copy_n/4.cc: Likewise.
882         * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
883         * testsuite/25_algorithms/copy_n/requirements/
884         explicit_instantiation/2.cc: Likewise.
885         * testsuite/25_algorithms/partition_point/requirements/
886         explicit_instantiation/pod.cc: Likewise.
887         
888 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
889
890         * include/bits/stl_algo.h (partition_point): Add in C++0x mode.
891         * include/bits/algorithmfwd.h: Add.
892         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
893         * testsuite/25_algorithms/partition_point/1.cc: New.
894         * testsuite/25_algorithms/partition_point/check_type.cc: Likewise.
895         * testsuite/25_algorithms/partition_point/requirements/
896         explicit_instantiation/2.cc: Likewise.
897         * testsuite/25_algorithms/partition_point/requirements/
898         explicit_instantiation/pod.cc: Likewise.
899
900 2008-06-28  Paolo Carlini  <paolo.carlini@oracle.com>
901
902         PR libstdc++/36660
903         * include/ext/pb_ds/detail/resize_policy/
904         sample_resize_trigger.hpp: Remove spurious namespace end.
905
906 2008-06-27  Mark Mitchell  <mark@codesourcery.com>
907
908         * libsupc++/vec.cc (__aeabi_vec_dtor_cookie): Handle NULL array
909         address.
910         (__aeabi_vec_delete): Likewise.
911         (__aeabi_vec_delete3): Likewise.
912         (__aeabi_vec_delete3_nodtor): Likewise.
913
914 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
915
916         * include/bits/stl_algo.h (is_partitioned): Add in C++0x mode.
917         * include/bits/algorithmfwd.h: Add.
918         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
919         * testsuite/25_algorithms/is_partitioned/1.cc: New.
920         * testsuite/25_algorithms/is_partitioned/check_type.cc: Likewise.
921         * testsuite/25_algorithms/is_partitioned/requirements/
922         explicit_instantiation/2.cc: Likewise.
923         * testsuite/25_algorithms/is_partitioned/requirements/
924         explicit_instantiation/pod.cc: Likewise.
925
926 2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
927
928         * include/bits/stl_numeric.h (iota): Add in C++0x mode.
929         * testsuite/util/testsuite_character.h (pod_int): Add operator++
930         in C++0x mode.
931         * testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
932         * testsuite/26_numerics/iota/1.cc: New.
933         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
934         2.cc: Likewise.
935         * testsuite/26_numerics/iota/requirements/explicit_instantiation/
936         pod.cc: Likewise.
937
938         * include/ext/algorithm: Do not fiddle with the legacy headers.
939
940         * testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
941         style.
942         * testsuite/26_numerics/accumulate/1.cc: Likewise.
943         * testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
944         * testsuite/26_numerics/inner_product/1.cc: Likewise.
945
946 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
947
948         * include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
949         * include/bits/algorithmfwd.h: Add.
950         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
951         * testsuite/25_algorithms/partition_copy/1.cc: New.
952         * testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
953         * testsuite/25_algorithms/partition_copy/requirements/
954         explicit_instantiation/2.cc: Likewise.
955         * testsuite/25_algorithms/partition_copy/requirements/
956         explicit_instantiation/pod.cc: Likewise.
957
958 2008-06-26  Chris Fairles  <chris.fairles@gmail.com>
959
960         * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
961         * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
962         * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
963         Likewise.
964         * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
965         * testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
966         * testsuite/20_util/unique_ptr/specialized_algorithms/
967         comparisons_array.cc: Likewise.
968         * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
969         Likewise
970         * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
971         Likewise.
972
973 2008-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
974
975         * include/parallel/base.h (plus, multiplies): Use __typeof__,
976         not typeof.
977
978 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
979
980         * testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
981         warnings.
982         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
983         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
984         Likewise.
985         * testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
986         * testsuite/util/testsuite_common_types.h (struct assignable,
987         struct default_constructible, struct copy_constructible,
988         struct explicit_value_constructible): Use a tad of simulated
989         concept checking techniques to avoid spurious warnings.
990         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
991         markers.
992         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
993
994 2008-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
995
996         * include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
997         any_of, none_of): Add in C++0x, per N2666.
998         * include/bits/algorithmfwd.h: Update.
999         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
1000         * testsuite/25_algorithms/all_of/check_type.cc: New.
1001         * testsuite/25_algorithms/all_of/1.cc: Likewise.
1002         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
1003         2.cc: Likewise.
1004         * testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
1005         pod.cc: Likewise.
1006         * testsuite/25_algorithms/any_of/check_type.cc: Likewise.
1007         * testsuite/25_algorithms/any_of/1.cc: Likewise.
1008         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
1009         2.cc: Likewise.
1010         * testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
1011         pod.cc: Likewise.
1012         * testsuite/25_algorithms/none_of/check_type.cc: Likewise.
1013         * testsuite/25_algorithms/none_of/1.cc: Likewise.
1014         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
1015         2.cc: Likewise.
1016         * testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
1017         pod.cc: Likewise.
1018         * testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
1019         * testsuite/25_algorithms/find_if_not/1.cc: Likewise.
1020         * testsuite/25_algorithms/find_if_not/requirements/
1021         explicit_instantiation/2.cc: Likewise.
1022         * testsuite/25_algorithms/find_if_not/requirements/
1023         explicit_instantiation/pod.cc: Likewise.
1024         * testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
1025         * testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
1026         * testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
1027
1028 2008-06-24  Benjamin Kosnik  <bkoz@redhat.com>
1029
1030         * doc/xml/manual/parallel_mode.xml: Clarify use of explicit
1031         parallel algorithms.
1032         * doc/xml/manual/using.xml: Markup fixes caught by validation check.
1033         * doc/xml/manual/test.xml: Remove empty para tags.
1034
1035         * doc/html/*: Regenerate.
1036         
1037 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1038
1039         * include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
1040         (copy_if): Add, per N2666.
1041         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
1042         2.cc: New.
1043         * testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
1044         pod.cc: Likewise.
1045         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
1046
1047 2008-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1048             Chalathip Thumkanon  <chalathip@gmail.com>
1049
1050         PR libstdc++/36612
1051         * include/ext/pb_ds/exception.hpp (__throw_container_error,
1052         __throw_insert_error, __throw_join_error, __throw_resize_error):
1053         Mark inline.
1054
1055 2008-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
1056
1057         * include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
1058         per DR 809.
1059         * include/bits/algorithmfwd.h: Add.
1060         * doc/xml/manual/intro.xml: Add an entry for DR 809.
1061         * testsuite/25_algorithms/swap/dr809.cc: New.
1062
1063         * testsuite/25_algorithms/swap/requirements/explicit_instantiation/
1064         2.cc: Remove stray empty line.
1065
1066 2008-06-21  Paolo Carlini  <paolo.carlini@oracle.com>
1067
1068         * include/bits/stl_move.h: Rename to move.h.
1069         * include/std/utility: Adjust.
1070         * include/ext/vstring_util.h: Likewise.
1071         * include/ext/throw_allocator.h: Likewise.
1072         * include/ext/pool_allocator.h: Likewise.
1073         * include/ext/bitmap_allocator.h: Likewise.
1074         * include/ext/new_allocator.h: Likewise.
1075         * include/ext/malloc_allocator.h: Likewise.
1076         * include/ext/array_allocator.h: Likewise.
1077         * include/ext/mt_allocator.h: Likewise.
1078         * include/bits/stl_algobase.h: Likewise.
1079         * include/bits/stl_heap.h: Likewise.
1080         * include/bits/stl_pair.h: Likewise.
1081         * include/bits/stl_iterator.h: Likewise.
1082         * testsuite/util/testsuite_allocator.h: Likewise.
1083         * testsuite/util/testsuite_iterators.h: Likewise.
1084         * include/Makefile.am: Likewise.
1085         * include/Makefile.in: Regenerate.
1086
1087 2008-06-21  Chris Fairles  <chris.fairles@gmail.com>
1088
1089         * include/bits/unique_ptr.h: New.
1090         * include/std/memory: Adjust.
1091         * include/Makefile.am: Add.
1092         * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
1093         explicit_instantiation.cc: New.
1094         * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
1095         * include/Makefile.in: Regenerate.
1096
1097 2008-06-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
1098
1099         * include/c_global/climits, include/tr1/climits: Add parentheses.
1100
1101 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1102
1103         * configure: Regenerate.
1104
1105 2008-06-17  Chris Fairles  <chris.fairles@gmail.com>
1106
1107         * include/bits/stl_iterator_base_funcs.h (next, prev): Add in
1108         C++0x mode.
1109         * testsuite/24_iterators/operations/next.cc: New.
1110         * testsuite/24_iterators/operations/prev.cc: Likewise.
1111
1112 2008-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
1113
1114         * src/string_conversions.cc (__to_xstring<>): New.
1115         (to_string, to_wstring): Use it.
1116
1117 2008-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
1118
1119         * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
1120         stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
1121         * src/string_conversions.cc: Add.
1122         * src/Makefile.am: Update.
1123         * config/abi/pre/gnu.ver: Adjust exports.
1124         * src/Makefile.in: Regenerate.
1125         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1126         New.
1127         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1128         Likewise.
1129         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1130         Likewise.
1131         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1132         Likewise.
1133         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1134         Likewise.
1135         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1136         Likewise.
1137         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1138         Likewise.
1139         * testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
1140         Likewise.
1141         * testsuite/21_strings/basic_string/numeric_conversions/char/
1142         to_string.cc: Likewise.
1143         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1144         stod.cc: New.
1145         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1146         stof.cc: Likewise.
1147         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1148         stoi.cc: Likewise.
1149         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1150         stol.cc: Likewise.
1151         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1152         stold.cc: Likewise.
1153         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1154         stoll.cc: Likewise.
1155         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1156         stoul.cc: Likewise.
1157         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1158         stoull.cc: Likewise.
1159         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
1160         to_wstring.cc: Likewise.
1161
1162 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1163
1164         * include/Makefile.am: Remove trailing white space, fix typo.
1165         (parallel_headers): Remove duplicate file, sort entries.
1166         * include/Makefile.in: Regenerate.
1167
1168 2008-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1169
1170         * src/condition_variable.cc (~condition_variable): Drop unused
1171         variable.
1172
1173 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
1174
1175         * include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
1176         deque<>::push_front(_Args&&...)): Remove.
1177         (deque<>::push_back(value_type&&),
1178         deque<>::push_front(value_type&&)): Add.
1179         (deque<>::push_back(const value_type&),
1180         deque<>::push_front(const value_type&)): Add back.
1181         (deque<>::emplace_back(_Args&&...),
1182         deque<>::emplace_front(_Args&&...)): Declare...
1183         * include/bits/deque.tcc: ... and define.       
1184         * include/bits/stl_list.h (list<>::push_back(_Args&&...),
1185         list<>::push_front(_Args&&...)): Remove.
1186         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
1187         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
1188         Add.
1189         (list<>::push_back(const value_type&),
1190         list<>::push_front(const value_type&)): Add back.
1191         * include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
1192         (vector<>::push_back(value_type&&)): Add.
1193         (vector<>::push_back(const value_type&)): Add back.
1194         (vector<>::emplace_back(_Args&&...)): Declare...
1195         * include/bits/vector.tcc: ... and define.
1196         * include/bits/stl_queue.h (queue<>::push(_Args&&...),
1197         priority_queue<>::push(_Args&&...)): Remove.
1198         (queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
1199         priority_queue<>::push(value_type&&),
1200         priority_queue<>::emplace(_Args&&...)): Add.
1201         (queue<>::push(const value_type&),
1202         priority_queue<>::push(const value_type&)): Add back.
1203         * include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
1204         (stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
1205         (stack<>::push(const value_type&)): Add back.
1206         * include/debug/deque (deque<>::push_back(_Args&&...),
1207         deque<>::push_front(_Args&&...)): Remove.
1208         (deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
1209         deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
1210         Add.
1211         (deque<>::push_back(const value_type&),
1212         deque<>::push_front(const value_type&)): Add back.
1213         * include/debug/list (list<>::push_back(_Args&&...),
1214         list<>::push_front(_Args&&...)): Remove.
1215         (list<>::push_back(value_type&&), list<>::push_front(value_type&&),
1216         list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
1217         Add.
1218         (list<>::push_back(const value_type&),
1219         list<>::push_front(const value_type&)): Add back.
1220         * include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
1221         (vector<>::push_back(value_type&&),
1222         vector<>::emplace_back(_Args&&...)): Add.
1223         (vector<>::push_back(const value_type&)): Add back.
1224         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1225         Adjust dg-error line numbers.
1226         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1227         Likewise.
1228         * testsuite/23_containers/deque/requirements/dr438/
1229         constructor_1_neg.cc: Likewise.
1230         * testsuite/23_containers/deque/requirements/dr438/
1231         constructor_2_neg.cc: Likewise.
1232         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1233         Adjust dg-error line numbers.
1234         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1235         Likewise.
1236         * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1237         Likewise.
1238         * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1239         Likewise.
1240         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1241         Adjust dg-error line numbers.
1242         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1243         Likewise.
1244         * testsuite/23_containers/vector/requirements/dr438/
1245         constructor_1_neg.cc: Likewise.
1246         * testsuite/23_containers/vector/requirements/dr438/
1247         constructor_2_neg.cc: Likewise.
1248
1249 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
1250
1251         * include/tr1_impl/array (array<>::assign): Do not define in
1252         C++0x mode, per DR 776...
1253         (array<>::fill): ... define instead.
1254         * doc/xml/manual/intro.xml: Add an entry for DR 776.
1255         * testsuite/23_containers/array/requirements/fill.cc: New.
1256
1257 2008-06-12  Paolo Carlini  <paolo.carlini@oracle.com>
1258
1259         * include/std/complex (pow(const complex<>&, int)): Do not define in
1260         C++0x mode, per DR 844.
1261         * include/tr1/complex (pow(const complex<>&, int)): Remove.
1262         * doc/xml/manual/intro.xml: Add an entry for DR 844.
1263         * testsuite/26_numerics/complex/dr844.cc: New.
1264         * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.
1265
1266 2008-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
1267
1268         * include/tr1_impl/hashtable (_Hashtable<>::cbegin(size_type),
1269         cend(size_type)): Add per DR 691. 
1270         * testsuite/23_containers/unordered_map/requirements/cliterators.cc:
1271         New.
1272         * testsuite/23_containers/unordered_multimap/requirements/
1273         cliterators.cc: Likewise.
1274         * testsuite/23_containers/unordered_set/requirements/cliterators.cc:
1275         Likewise.
1276         * testsuite/23_containers/unordered_multiset/requirements/
1277         cliterators.cc: Likewise.
1278         * doc/xml/manual/intro.xml: Add an entry for DR 691.
1279
1280 2008-06-11  Matthias Klose  <doko@ubuntu.com>
1281
1282         * testsuite/30_threads/lock_error, testsuite/30_threads/once_flag:
1283         Remove empty directories.
1284
1285 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
1286
1287         * configure.host (xscale, ep9312, m680[246]0, solaris2.5,
1288         solaris2.5.[0-9], solaris2.6, windiss*): Remove.
1289         * crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
1290         * configure: Regenerate.
1291         * config/os/solaris/solaris2.5: Remove directory.
1292         * config/os/solaris/solaris2.6: Remove directory.
1293         * config/os/windiss: Remove directory.
1294
1295 2008-06-06  Benjamin Kosnik  <bkoz@redhat.com>
1296
1297         * doc/xml/manual/using.xml: Outline exception topics.
1298
1299         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Format.
1300         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1301         policy_access_fn_imps.hpp: Same.
1302         * include/ext/pb_ds/priority_queue.hpp: Same.
1303         * include/ext/throw_allocator.h: Same.
1304
1305         * include/ext/pb_ds/tag_and_trait.hpp (string_tag): New tag.
1306         (sequence_tag): New tag. Doxygen markup fixes.
1307
1308         * testsuite/lib/libstdc++.exp: Remove twister_ran_gen.cc source file.
1309
1310         * testsuite/performance/ext/pb_ds/text_find_timing.cc: Fix
1311         comment typo, include paths, format.
1312         * testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc: Same.
1313         * testsuite/performance/ext/pb_ds/
1314         hash_random_int_erase_mem_usage.cc: Same.
1315         * testsuite/performance/ext/pb_ds/
1316         random_int_subscript_find_timing.cc: Same.
1317         * testsuite/performance/ext/pb_ds/
1318         priority_queue_text_push_timing.cc: Same.
1319         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
1320         * testsuite/performance/ext/pb_ds/random_int_find_timing.cc: Same.
1321         * testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
1322         * testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
1323         * testsuite/performance/ext/pb_ds/
1324         priority_queue_random_int_push_timing.cc: Same.
1325         * testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
1326         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
1327         * testsuite/performance/ext/pb_ds/
1328         priority_queue_text_push_pop_timing.cc: Same.
1329         * testsuite/performance/ext/pb_ds/
1330         priority_queue_text_join_timing.cc: Same.
1331         * testsuite/performance/ext/pb_ds/
1332         priority_queue_random_int_push_pop_timing.cc: Same.
1333         * testsuite/performance/ext/pb_ds/
1334         random_int_subscript_insert_timing.cc: Same.
1335         * testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc: Same.
1336         * testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
1337         * testsuite/performance/ext/pb_ds/
1338         priority_queue_text_pop_mem_usage.cc: Same.
1339         * testsuite/performance/ext/pb_ds/
1340         hash_zlob_random_int_find_timing.cc: Same.
1341         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
1342         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1343         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
1344         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1345         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
1346         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1347         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
1348         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1349         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1350         * testsuite/util/regression/trait/priority_queue/trait.hpp: Same.
1351         * testsuite/util/regression/trait/erase_if_fn.hpp: Same.
1352         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
1353         * testsuite/util/regression/trait/assoc/node_update_trait.hpp: Same.
1354         * testsuite/util/regression/trait/assoc/get_set_load_trait.hpp: Same.
1355         * testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp: Same.
1356         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
1357         * testsuite/util/regression/trait/assoc/resize_trait.hpp: Same.
1358         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1359         * testsuite/util/regression/trait/assoc/to_string.hpp: Same.
1360         * testsuite/util/regression/basic_type.hpp: Same.
1361         * testsuite/util/common_type/priority_queue/string_form.hpp: Same.
1362         * testsuite/util/common_type/priority_queue/detail/
1363         ds_string_form.hpp: Same.
1364         * testsuite/util/common_type/assoc/string_form.hpp: Same.
1365         * testsuite/util/common_type/assoc/detail/
1366         resize_policy_string_form.hpp: Same.
1367         * testsuite/util/common_type/assoc/detail/
1368         trigger_policy_string_form.hpp: Same.
1369         * testsuite/util/common_type/assoc/detail/
1370         comb_hash_fn_string_form.hpp: Same.
1371         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
1372         * testsuite/util/common_type/assoc/detail/
1373         size_policy_string_form.hpp: Same.
1374         * testsuite/util/common_type/assoc/detail/
1375         probe_fn_string_form.hpp: Same.
1376         * testsuite/util/common_type/assoc/detail/
1377         list_update_policy_string_form.hpp: Same.
1378         * testsuite/util/common_type/assoc/detail/
1379         store_hash_string_form.hpp: Same.
1380         * testsuite/util/common_type/assoc/native_set.hpp: Same.
1381         * testsuite/util/io/prog_bar.cc: Same.
1382
1383         * testsuite/util/regression/rand/io: Remove.
1384         * testsuite/util/regression/rand/io/priority_queue: Same.
1385         * testsuite/util/regression/rand/io/assoc: Same.
1386         * testsuite/util/regression/rand/io/priority_queue/
1387         xml_formatter.hpp: Consolidate this...
1388         * testsuite/util/regression/rand/io/assoc/xml_formatter.hpp: ...this
1389         * testsuite/util/regression/rand/io/xml_formatter.hpp: ... and this
1390         * testsuite/util/regression/rand/xml_formatter.hpp: ...here.
1391
1392         * testsuite/util/regression/rand/priority_queue/
1393         container_rand_regression_test.hpp:To ...
1394         container_rand_regression_test.h: ... this.
1395         * testsuite/util/regression/rand/priority_queue/detail/*.hpp:To ...
1396         * testsuite/util/regression/rand/priority_queue/
1397         container_rand_regression_test.tcc: ... this.
1398         PB_DS_THROW_IF_FAIL: Change to _GLIBCXX_THROW_IF, adjust predicate.
1399         PB_DS_SET_DESTRUCT_PRINT: Fold inline.
1400         PB_DS_CANCEL_DESTRUCT_PRINT: Fold inline.
1401         * testsuite/util/regression/rand/priority_queue/
1402         rand_regression_test.hpp: Adjust includes.
1403
1404         * testsuite/util/regression/rand/assoc/
1405         container_rand_regression_test.hpp: To ...
1406         * testsuite/util/regression/rand/assoc/
1407         container_rand_regression_test.h: ... this.
1408         * testsuite/util/regression/rand/assoc/detail/*.hpp:To ...
1409         * testsuite/util/regression/rand/assoc/
1410         container_rand_regression_test.tcc: ...this.
1411         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Adjust
1412         includes.
1413
1414         * testsuite/util/regression/priority_queue: Remove.
1415         * testsuite/util/regression/assoc: Remove.
1416         * testsuite/util/regression/priority_queue/
1417         common_type.hpp: Consolidate this...
1418         * testsuite/util/regression/assoc/common_type.hpp: ... and this
1419         * testsuite/util/regression/common_type.hpp: ...here.
1420
1421         * testsuite/util/rng: Remove.
1422         * testsuite/util/rng/twister_rand_gen.cc: Consolidate...
1423         * testsuite/util/rng/twister_rand_gen.hpp: ... and this
1424         * testsuite/util/testsuite_rng.h: ...here.
1425
1426         * testsuite/util/native_type/priority_queue: Remove.
1427         * testsuite/util/native_type/priority_queue/
1428         native_priority_queue.hpp: To...
1429         * testsuite/util/native_type/native_priority_queue.hpp: ...here.
1430
1431         * testsuite/util/native_type/assoc: Remove.
1432         * testsuite/util/native_type/assoc/native_multimap.hpp: To...
1433         * testsuite/util/native_type/assoc/native_tree_tag.hpp: To...
1434         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: To...
1435         * testsuite/util/native_type/assoc/native_set.hpp: To...
1436         * testsuite/util/native_type/assoc/native_map.hpp: To...
1437         * testsuite/util/native_type/assoc/native_hash_set.hpp: To...
1438         * testsuite/util/native_type/assoc/native_hash_tag.hpp: To...
1439         * testsuite/util/native_type/assoc/native_hash_map.hpp: To...
1440         * testsuite/util/native_type/native_multimap.hpp: ...here.
1441         * testsuite/util/native_type/native_tree_tag.hpp: ...here.
1442         * testsuite/util/native_type/native_hash_multimap.hpp: ...here.
1443         * testsuite/util/native_type/native_set.hpp: ...here.
1444         * testsuite/util/native_type/native_map.hpp: ...here.
1445         * testsuite/util/native_type/native_hash_set.hpp: ...here.
1446         * testsuite/util/native_type/native_hash_tag.hpp: ...here.
1447         * testsuite/util/native_type/native_hash_map.hpp: ...here.
1448
1449         * testsuite/util/common_type/priority_queue/common_type.hpp:
1450         Make include guard distinct.
1451         * testsuite/util/common_type/assoc/common_type.hpp: Same.
1452
1453 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
1454
1455         * configure.ac: Do not check for gconv.h.
1456         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
1457         gconf.h.  For glibc and uClibc systems, define
1458         _GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
1459         AM_ICONV.
1460         * configure, config.h.in: Regenerate.
1461
1462 2008-06-06  Joseph Myers  <joseph@codesourcery.com>
1463
1464         * testsuite/17_intro/headers/all.cc,
1465         testsuite/17_intro/headers/all_c++200x_compatibility.cc,
1466         testsuite/17_intro/headers/all_pedantic_errors.cc,
1467         testsuite/ext/headers.cc: Only include
1468         <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
1469         _GLIBCXX_HAVE_ICONV.
1470
1471 2008-06-05  Johannes Singler  <singler@ira.uka.de>
1472
1473         * include/parallel/random_shuffle.h:
1474         (parallel_random_shuffle_drs) Get the actual number of
1475         threads after entering the parallel region. Indentation.
1476         * include/parallel/algo.h: (random_shuffle(begin, end))
1477         Add namespace qualification to avoid ambiguity.
1478
1479 2008-06-04  Benjamin Kosnik  <bkoz@redhat.com>
1480
1481         * include/ext/pb_ds/assoc_container.hpp: Change allocator typedef
1482         to allocator_type, as per existing conventions.
1483         * include/ext/pb_ds/detail/binomial_heap_base_/
1484         binomial_heap_base_.hpp: Same.
1485         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
1486         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
1487         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
1488         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
1489         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
1490         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
1491         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
1492         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
1493         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1494         left_child_next_sibling_heap_.hpp: Same.
1495         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
1496         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
1497         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
1498         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
1499         * include/ext/pb_ds/detail/rc_binomial_heap_/
1500         rc_binomial_heap_.hpp: Same.
1501         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
1502         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1503         * include/ext/pb_ds/list_update_policy.hpp: Same.
1504         * include/ext/pb_ds/exception.hpp: Same.
1505         * include/ext/pb_ds/tree_policy.hpp: Same.
1506         * include/ext/pb_ds/trie_policy.hpp: Same.
1507         * include/ext/pb_ds/priority_queue.hpp: Same.
1508         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
1509         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
1510         * testsuite/util/regression/rand/priority_queue/detail/
1511         defs_fn_imps.hpp: Same.
1512         * testsuite/util/regression/rand/priority_queue/detail/
1513         operator_fn_imps.hpp: Same.
1514         * testsuite/util/regression/rand/priority_queue/
1515         container_rand_regression_test.hpp: Same.
1516         * testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp: Same.
1517         * testsuite/util/regression/rand/assoc/detail/
1518         operator_fn_imps.hpp: Same.
1519         * testsuite/util/regression/rand/assoc/
1520         container_rand_regression_test.hpp: Same.
1521         * testsuite/util/native_type/assoc/native_multimap.hpp: Same.
1522         * testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.
1523         * testsuite/util/common_type/assoc/detail/
1524         tree_supports_order_statistics.hpp: Same.
1525         * testsuite/util/common_type/assoc/detail/
1526         trie_supports_prefix_search.hpp: Same.
1527         * testsuite/util/common_type/assoc/detail/
1528         trie_supports_order_statistics.hpp: Same.
1529
1530 2008-06-02  Sandra Loosemore  <sandra@codesourcery.com>
1531             Daniel Jacobowitz  <dan@codesourcery.com>
1532
1533         * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Use
1534         dg-require-fileio.
1535         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
1536         * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
1537
1538 2008-06-02  Paolo Carlini  <paolo.carlini@oracle.com>
1539
1540         * include/bits/vector.tcc (vector<>::_M_insert_aux): In C++0x mode,
1541         avoid a memory leak if the first __uninitialized_move_a throws.
1542         (vector<>::_M_fill_insert): Do not always copy to __x_copy, similarly
1543         to _M_insert_aux.
1544         * testsuite/23_containers/vector/modifiers/moveable.cc: Adjust.
1545         * testsuite/23_containers/vector/resize/moveable.cc: Likewise.
1546
1547 2008-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
1548             Chris Jefferson  <chris@bubblescope.net>
1549
1550         PR libstdc++/36338
1551         * include/bits/stl_heap.h (sort_heap): Use __pop_heap directly.
1552         (pop_heap): Slightly tweak.
1553
1554 2008-05-29  Paolo Carlini  <paolo.carlini@oracle.com>
1555
1556         * include/debug/bitset (bitset(const char*)): Implement DR 778
1557         in debug-mode too.
1558
1559         * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode
1560         deal with char16_t and char32_t.
1561
1562 2008-05-26  Paolo Carlini  <paolo.carlini@oracle.com>
1563
1564         * include/c_global/cmath (pow(float, int), pow(double, int),
1565         pow(long double, int)): Do not define in C++0x mode, per DR 550.
1566         * include/tr1_impl/cmath (pow): Do not bring in unconditionally
1567         from namespace std.
1568         * include/tr1/cmath (pow(double, double), pow(float, float),
1569         pow(long double, long double), pow(_Tp, _Up)): Define.
1570         * include/tr1/complex (pow): Do not bring in from namespace std.
1571         (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
1572         const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
1573         pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
1574         * include/tr1_impl/complex (pow(const std::complex<_Tp>&,
1575         const _Up&), pow(const _Tp&, const std::complex<_Up>&),
1576         pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
1577         define.
1578         * doc/xml/manual/intro.xml: Add an entry for DR 550.
1579         * testsuite/26_numerics/headers/cmath/dr550.cc: New.
1580         * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.
1581
1582 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
1583
1584         * include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out.
1585         * include/std/date_time: Likewise.
1586         * include/std/system_error: Likewise.
1587         * include/std/type_traits: Likewise; fix typo in macro name.
1588         * include/std/regex: Likewise.
1589         * include/std/random: Likewise.
1590         * include/std/unordered_map: Likewise.
1591         * include/std/condition_variable: Likewise.
1592         * include/std/unordered_set: Likewise.
1593         * include/std/mutex: Likewise.
1594         * include/std/array: Likewise.
1595
1596         * include/c_std/cmath: Fix obsolete comment.
1597         * include/c_global/cmath: Likewise.
1598
1599 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
1600
1601         * include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
1602         complex<float>::real(float), complex<float>::imag(float),
1603         complex<double>::real(double), complex<double>::imag(double),
1604         complex<long double>::real(long double),
1605         complex<long double>::imag(long double)): Add per DR 387.
1606         (complex<>::real(), complex<>::imag(), complex<float>::real(),
1607         complex<float>::imag(), complex<double>::real(),
1608         complex<double>::imag(), complex<long double>::real(),
1609         complex<long double>::imag(long double)): Adjust in C++0x mode.
1610         (real(complex<>&), imag(complex<>&), real(const complex<>&),
1611         imag(const complex<>&)): Likewise.
1612         * testsuite/26_numerics/complex/dr387.cc: New.
1613         * doc/xml/manual/intro.xml: Add an entry for DR 387.
1614
1615 2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
1616
1617         * include/std/complex: Trivial stylistic changes, define inline
1618         members inline, consistently with the rest of the library.
1619         (pow(const _Tp&, const complex<>&)): Minor tweak.
1620
1621 2008-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
1622
1623         * src/atomic.cc (atomic_flag_test_and_set_explicit,
1624         atomic_flag_clear_explicit): Suppress unused parameter warnings.
1625
1626 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
1627
1628         * include/std/tuple: Replace int -> size_t throughout per DR 775.
1629         * include/tr1_impl/array: Likewise.
1630         * include/tr1_impl/utility: Likewise.
1631         * doc/xml/manual/intro.xml: Add an entry for DR 775.
1632
1633 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
1634
1635         * doc/xml/manual/intro.xml: Adjust links to ISO documents.
1636
1637 2008-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
1638
1639         * include/c_std/cmath (fpclassify): Use __builtin_fpclassify.
1640         * include/c_global/cmath (fpclassify): Likewise.
1641
1642 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
1643
1644         * include/tr1_impl/hashtable_policy.h (_Map_base<,,
1645         std::_Select1st<_Pair>, true,>::at): Add per DR 761.
1646         * testsuite/23_containers/unordered_map/dr761.cc: New.
1647         * doc/xml/manual/intro.xml: Add an entry for DR 761.
1648
1649 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
1650
1651         * testsuite/26_numerics/complex/dr781.cc: Add test variable.
1652
1653 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
1654
1655         * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
1656         Add per DR 781.
1657         * include/tr1_impl/complex(polar(const _Tp&, const _Up&)): Move to...
1658         * include/tr1/complex: ... here.
1659         * doc/xml/manual/intro.xml: Add an entry for DR 781.
1660         * testsuite/26_numerics/complex/dr781.cc: Add.
1661         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Update.
1662         * configure: Regenerate.
1663
1664 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
1665
1666         * include/std/bitset (bitset<>::bitset(const char*)): Add per DR 778.
1667         (bitset<>::_M_copy_from_ptr): Add.
1668         (bitset<>::_M_copy_from_string): Forward to the latter.
1669         * doc/xml/manual/intro.xml: Add an entry for DR 778.
1670         * testsuite/23_containers/bitset/cons/2.cc: Add.
1671
1672 2008-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
1673
1674         * doc/html/ext/lwg-active.html: Update to Revision R56.
1675         * doc/html/ext/lwg-closed.html: Likewise.
1676         * doc/html/ext/lwg-defects.html: Likewise.
1677
1678 2008-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
1679
1680         PR c++/33979 (partial)
1681         * include/tr1_impl/functional_hash.h (hash<char16_t>,
1682         hash<char32_t>): Add specializations.
1683         * include/tr1_impl/type_traits (is_integral<char16_t>,
1684         is_integral<char32_t>): Likewise.
1685         * include/std/limits (numeric_limits<char16_t>,
1686         numeric_limits<char32_t>): Likewise.
1687         * src/limits_c++0x.cc: Add.
1688         * src/Makefile.am: Update.
1689         * testsuite/20_util/hash/requirements/explicit_instantiation.cc:
1690         Update.
1691         * testsuite/20_util/is_integral/value.cc: New.
1692         * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise.
1693         * testsuite/20_util/is_integral/requirements/
1694         explicit_instantiation.cc: Likewise.
1695         * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise.
1696         * config/abi/pre/gnu.ver: Export new numeric_limits symbols at
1697         GLIBCXX_3.4.11.
1698         * configure: Regenerate.
1699         * src/Makefile.in: Likewise.
1700         * config.h.in: Likewise.
1701
1702 2008-05-16  Benjamin Kosnik  <bkoz@redhat.com>
1703
1704         * include/std/system_error: Align to current draft specifications.
1705         * src/system_error.cc: Same.
1706         * src/functexcept.cc: Adjust for corrected system_error construction.
1707         * include/std/ostream: Adjust error_code inserter.
1708         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Remove sys_nerr test.
1709         * config/abi/pre/gnu.ver: Add new exports.
1710
1711         * testsuite/util/testsuite_error.h: Consolidate error testing
1712         utilities here.
1713         * testsuite/19_diagnostics/error_code/cons/1.cc: Use
1714         testsuite_error, adjust line numbers and constructor calls.
1715         * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
1716         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
1717         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
1718         * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
1719         * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
1720         * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
1721         * testsuite/19_diagnostics/system_error/cons_virtual_derivation.cc:
1722         Same.
1723         * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
1724         * testsuite/19_diagnostics/system_error/what-1.cc: Same.
1725         * testsuite/19_diagnostics/system_error/what-2.cc: Same.
1726         * testsuite/19_diagnostics/system_error/what-big.cc: Same.
1727         * testsuite/19_diagnostics/system_error/what-3.cc: Same.
1728         * testsuite/19_diagnostics/system_error/what-4.cc: Same.
1729
1730 2008-05-15  Bernd Schmidt  <bernd.schmidt@analog.com>
1731
1732         * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
1733         * configure: Regenerate.
1734
1735 2008-05-15  Johannes Singler  <singler@ira.uka.de>
1736
1737         * xml/manual/parallel_mode.xml:
1738         General revision and documentation of new compile-time
1739         options for sorting.
1740
1741 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
1742
1743         * include/std/mutex (mutex::try_lock): Eat errors.
1744         (mutex::unlock): Same.
1745         (recursive_mutex::try_lock): Eat errors.
1746         (recursive_mutex::unlock): Same.
1747         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Add
1748         -pthreads, adjust line numbers.
1749         * testsuite/30_threads/mutex/native_handle/1.cc: Same.
1750         * testsuite/30_threads/mutex/cons/1.cc: Same.
1751         * testsuite/30_threads/mutex/try_lock/1.cc: Same.
1752         * testsuite/30_threads/mutex/try_lock/2.cc: Same.
1753         * testsuite/30_threads/mutex/lock/1.cc: Same.
1754         * testsuite/30_threads/mutex/unlock/1.cc: Same.
1755         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Same.
1756         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Same.
1757         * testsuite/30_threads/recursive_mutex/cons/1.cc: Same.
1758
1759 2008-05-14  Benjamin Kosnik  <bkoz@redhat.com>
1760
1761         * include/std/sstream: Adjust braces.
1762         * include/bits/fstream.tcc: Same.
1763         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add
1764         -shared-libgcc.
1765         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
1766
1767         * doc/doxygen/user.cfg.in: Remove thread include.
1768
1769 2008-05-13  David Daney  <ddaney@avtrex.com>
1770
1771         * config/cpu/mips/atomicity.h: Remove file.
1772         * config/cpu/mips: Remove directory.
1773         * configure.host: Remove host specific handling for mips*-*-*.
1774
1775 2008-05-12  Stefano Soffia  <soffia@cs.unipr.it>
1776             Paolo Carlini  <paolo.carlini@oracle.com>
1777
1778         * include/debug/vector (vector<>::_M_requires_reallocation): Just
1779         use this->capacity().
1780         (vector<>::capacity): Move non-pedantic / pedantic logic here.
1781         * testsuite/23_containers/vector/
1782         debug_mode_requires_reallocation-2.cc: New.
1783
1784         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
1785         Rename to debug_mode_requires_reallocation-1.cc
1786
1787 2008-05-10  Roberto Bagnara  <bagnara@cs.unipr.it>
1788             Paolo Carlini  <paolo.carlini@oracle.com>
1789
1790         * include/debug/vector (vector<>::_M_requires_reallocation): Fix macro.
1791         * testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
1792         New.
1793
1794 2008-05-07  Johannes Singler  <singler@ira.uka.de>
1795
1796        * include/parallel/quicksort.h:
1797        (parallel_sort_qs_conquer) Explicitly request number of threads
1798        in the parallel clause.
1799        (parallel_sort_qs) Remove setting the number of threads globally.
1800
1801 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
1802
1803         * include/std/mutex (mutex::mutex): Fix usage of initializing macro.
1804         (recursive_mutex::recursive_mutex): Same.
1805         (once_flag::once_flag): Same.
1806         * testsuite/30_threads/mutex/cons/assign_neg.cc: Fix line numbers.
1807         * testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
1808         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
1809         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
1810
1811 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
1812
1813         * include/std/condition_variable: New.
1814         * include/std/mutex: New.
1815         * src/condition_variable.cc: New.
1816         * src/mutex.cc: New.
1817         * include/bits/functexcept.h: Add __throw_system_error varients.
1818         * src/functexcept.cc: Same.
1819         * config/abi/pre/gnu.ver: Add exports.
1820
1821         * doc/xml/manual/using.xml: Add new includes.
1822         * doc/doxygen/user.cfg.in: Doxygen support.
1823         * doc/doxygen/doxygroups.cc: Same.
1824
1825         * include/Makefile.am: Add mutex, condition_variable.
1826         * include/Makefile.in: Regenerated.
1827         * src/Makefile.am: Add mutex.cc, condition_variable.cc.
1828         * src/Makefile.in: Regenerated.
1829
1830         * testsuite/30_threads: New.
1831         * testsuite/30_threads/lock_error: New.
1832         * testsuite/30_threads/mutex: New.
1833         * testsuite/30_threads/mutex/dest: New.
1834         * testsuite/30_threads/mutex/dest/destructor_locked.cc: New.
1835         * testsuite/30_threads/mutex/native_handle: New.
1836         * testsuite/30_threads/mutex/native_handle/1.cc: New.
1837         * testsuite/30_threads/mutex/cons: New.
1838         * testsuite/30_threads/mutex/cons/assign_neg.cc: New.
1839         * testsuite/30_threads/mutex/cons/1.cc: New.
1840         * testsuite/30_threads/mutex/cons/copy_neg.cc: New.
1841         * testsuite/30_threads/mutex/requirements: New.
1842         * testsuite/30_threads/mutex/requirements/typedefs.cc: New.
1843         * testsuite/30_threads/mutex/try_lock: New.
1844         * testsuite/30_threads/mutex/try_lock/1.cc: New.
1845         * testsuite/30_threads/mutex/try_lock/2.cc: New.
1846         * testsuite/30_threads/mutex/lock: New.
1847         * testsuite/30_threads/mutex/lock/1.cc: New.
1848         * testsuite/30_threads/mutex/unlock: New.
1849         * testsuite/30_threads/mutex/unlock/1.cc: New.
1850         * testsuite/30_threads/recursive_mutex: New.
1851         * testsuite/30_threads/recursive_mutex/dest: New.
1852         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: New.
1853         * testsuite/30_threads/recursive_mutex/native_handle: New.
1854         * testsuite/30_threads/recursive_mutex/native_handle/1.cc: New.
1855         * testsuite/30_threads/recursive_mutex/cons: New.
1856         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: New.
1857         * testsuite/30_threads/recursive_mutex/cons/1.cc: New.
1858         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: New.
1859         * testsuite/30_threads/recursive_mutex/requirements: New.
1860         * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: New.
1861         * testsuite/30_threads/lock_guard: New.
1862         * testsuite/30_threads/lock_guard/requirements: New.
1863         * testsuite/30_threads/lock_guard/requirements/typedefs.cc: New.
1864         * testsuite/30_threads/lock_guard/requirements/
1865         explicit_instantiation.cc: New.
1866         * testsuite/30_threads/headers: New.
1867         * testsuite/30_threads/headers/mutex: New.
1868         * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: New.
1869         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: New.
1870         * testsuite/30_threads/headers/condition_variable: New.
1871         * testsuite/30_threads/headers/condition_variable/
1872         types_std_c++0x.cc: New.
1873         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc: New.
1874         * testsuite/30_threads/once_flag: New.
1875         * testsuite/30_threads/unique_lock: New.
1876         * testsuite/30_threads/unique_lock/requirements: New.
1877         * testsuite/30_threads/unique_lock/requirements/typedefs.cc: New.
1878         * testsuite/30_threads/unique_lock/requirements/
1879         explicit_instantiation.cc: New.
1880         * testsuite/17_intro/headers/c++200x/all.cc: Add new includes.
1881
1882 2008-05-06  Benjamin Kosnik  <bkoz@redhat.com>
1883
1884         PR libstdc++/36130
1885         * include/bits/c++config: Namespace macros and setup only in C++.
1886         * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New.
1887
1888 2008-05-06  Johannes Singler  <singler@ira.uka.de>
1889
1890         * include/parallel/multiway_merge.h:
1891           (multiway_merge_*_unguarded):
1892           Pass sentinel directly, to allow correct determination.
1893           (multiway_merge_loser_tree_unguarded):
1894           Remove over-cautious assertion.
1895           (calls to multiway_merge_*_splitting):
1896           Parametrize with type that is correct in all cases.
1897         * include/parallel/losertree.h:
1898           (delete_min_insert (in many classes)):
1899           Correct and standardize assertions.
1900
1901 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
1902
1903         * testsuite/util/testsuite_visualization.h: Move contents into...
1904         * testsuite/util/testsuite_performance.h: ...here.
1905         * testsuite/util/testsuite_common_types.h: Move
1906         performance-related test infrastructure into
1907         testsuite_performance.
1908         * testsuite/performance/25_algorithms/search_n.cc: Fix includes.
1909         * testsuite/performance/23_containers/find/map.cc: Same.
1910         * testsuite/performance/23_containers/create/map.cc: Same.
1911         * testsuite/performance/23_containers/insert_erase/associative.cc: Same.
1912         * testsuite/performance/23_containers/insert/sequence.cc: Same.
1913         * testsuite/performance/23_containers/insert/associative.cc: Same.
1914         * testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
1915         * testsuite/performance/23_containers/index/map.cc: Same.
1916         * testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
1917         * testsuite/performance/23_containers/create_sort/list.cc: Same.
1918         * testsuite/performance/23_containers/sort_search/list.cc: Same.
1919         * testsuite/performance/23_containers/producer_consumer/sequence.cc:
1920         Same.
1921         * testsuite/performance/23_containers/producer_consumer/associative.cc:
1922         Same.
1923
1924         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
1925         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
1926
1927 2008-05-05  Benjamin Kosnik  <bkoz@redhat.com>
1928
1929         * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements.
1930         * 20_util/make_unsigned/requirements/typedefs-1.cc: Same.
1931
1932 2008-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1933
1934         * include/bits/c++config: Revert _GLIBCXX_LONG_DOUBLE_COMPAT change.
1935
1936 2008-04-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1937
1938         * include/Makefile.am (install-headers): Cope with empty
1939         parallel_headers.
1940         * include/Makefile.in: Regenerate.
1941
1942 2008-04-29  Benjamin Kosnik  <bkoz@redhat.com>
1943
1944         * include/bits/c++config: Remove space between '#' and 'undef' for
1945         _GLIBCXX_LONG_DOUBLE_COMPAT.
1946
1947 2008-04-29  Joseph Myers  <joseph@codesourcery.com>
1948
1949         * Makefile.am (install-html, install-pdf): Add dummy targets.
1950         * Makefile.in: Regenerate.
1951         * doc/Makefile.am (install-html, install-pdf): Remove.
1952         * doc/Makefile.in: Regenerate.
1953
1954 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1955
1956         * include/bits/c++config: Move os_defines and cpu_defines after
1957         namespace definitions and base macros.
1958
1959 2008-04-28  Benjamin Kosnik  <bkoz@redhat.com>
1960
1961         PR libstdc++/35887
1962         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Revert back to just
1963         checking for omp.h.
1964         * configure: Regenerate.
1965
1966 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
1967
1968         PR libstdc++/35922
1969         * include/std/unordered_map: Include debug/unordered_map if
1970         _GLIBCXX_DEBUG.
1971         * testsuite/23_containers/unordered_map/requirements/debug.cc: Move...
1972         * testsuite/23_containers/unordered_map/requirements/
1973         debug_container.cc: ...here.
1974         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New.
1975         * testsuite/23_containers/unordered_set/requirements/debug.cc: Move...
1976         * testsuite/23_containers/unordered_set/requirements/
1977         debug_container.cc: ...here.
1978         * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New.
1979
1980 2008-04-25  Benjamin Kosnik  <bkoz@redhat.com>
1981
1982         PR libstdc++/35887
1983         * acinclude.m4: (GLIBCXX_ENABLE_PARALLEL): Check for thread support.
1984         * configure.ac: Re-order compiler macros.
1985         * configure: Regenerated.
1986
1987 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
1988
1989         PR libstdc++/35887
1990         * configure.ac: Add default argument to GLIBCXX_ENABLE_PARALLEL.
1991         Move atomic warnings to GLIBCXX_ENABLE_ATOMIC_BUILTINS.
1992         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Check for --disable-libgomp.
1993         (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Add warning information.
1994         * configure: Regenerate.
1995         * include/Makefile.am (parallel_headers): Make conditional on
1996         ENABLE_PARALLEL.
1997         * include/Makefile.in: Regenerate.
1998
1999 2008-04-24  Paolo Carlini  <pcarlini@suse.de>
2000
2001         PR libstdc++/35969
2002         * include/debug/list (merge): Use _M_transfer_iter, consistently
2003         with the splice members.
2004         * testsuite/23_containers/list/operations/35969.cc: New.
2005
2006         * testsuite/23_containers/list/operators: Rename to
2007         testsuite/23_containers/list/operations.
2008
2009 2008-04-24  Benjamin Kosnik  <bkoz@redhat.com>
2010
2011         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of
2012         all used __sync builtins, in two sizes.
2013         * config.h.in: Regenerate.
2014         * configure: Regenerate.
2015         * src/atomic.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_1.
2016         * include/ext/atomicity.h: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
2017         * libsupc++/guard.cc: Use  _GLIBCXX_ATOMIC_BUILTINS_4.
2018         * doc/xml/manual/concurrency.xm: Update docs.
2019
2020 2008-04-23  Benjamin Kosnik  <bkoz@redhat.com>
2021
2022         * config/os/hpux/os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE,
2023         _GLIBCXX_BEGIN_EXTERN_C, etc.
2024
2025 2008-04-23  Johannes Singler  <singler@ira.uka.de>
2026
2027         * include/parallel/quicksort.h: Reformat,
2028         (parallel_sort_qs): Do not pass number of elements.
2029         * include/parallel/balanced_quicksort.h: Reformat,
2030         (parallel_sort_qsb): Do not pass number of elements.
2031         * include/parallel/tags.h:
2032         Introduce new tags for compile-time choice.
2033         * include/parallel/merge.h:
2034         (parallel_merge_advance):Beautified.
2035         * include/parallel/algo.h: Reformatting (spaces for tabs)
2036         New sort and stable_sort variants, corresponding to the tags.
2037         * include/parallel/sort.h:
2038         New sort and stable_sort variants, corresponding to the tags.
2039         Changed determining the desired number of threads.
2040
2041 2008-04-23  Johannes Singler  <singler@ira.uka.de>
2042
2043         * include/parallel/multiway_merge.h
2044         (multiway_merge_loser_tree):
2045         Leave checks to callers, add precondition instead.
2046         (multiway_merge_loser_tree_unguarded): Likewise.
2047         (multiway_merge_loser_tree_sentinel): Likewise.
2048         (sequential_multiway_merge): Added checks for total length 0.
2049         (parallel_multiway_merge): Skip empty sequences.
2050         (multiway_merge, all variants):
2051         Remove temporary variable, return directly.
2052         (stable_multiway_merge, all variants): Likewise.
2053         (multiway_merge_sentinels, all variants):  Likewise.
2054         (stable_multiway_merge_sentinels, all variants): Likewise.
2055         * include/parallel/multiseq_selection.h
2056         (multiseq_partition): More detailed assertions.
2057
2058 2008-04-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2059
2060         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
2061         (GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
2062         (GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
2063         (GLIBCXX_CHECK_SYSTEM_ERROR): Likewise.  Factorize.
2064         * configure: Regenerate.
2065
2066 2008-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2067
2068         PR libstdc++/35954
2069         * include/Makefile.am (pch*_output): Do not touch pch*_output_anchor.
2070         Call 'mkdir -p' unconditionally, but ignore its return value.
2071         * include/Makefile.in: Regenerate.
2072
2073         * include/Makefile.am: Fix most stamp rules to regenerate
2074         the links for all sources newer than the stamp file.
2075         * include/Makefile.in: Regenerate.
2076         * Makefile.in: Likewise.
2077         * src/Makefile.in: Likewise.
2078         * doc/Makefile.in: Likewise.
2079         * po/Makefile.in: Likewise.
2080         * libmath/Makefile.in: Likewise.
2081         * libsupc++/Makefile.in: Likewise.
2082         * testsuite/Makefile.in: Likewise.
2083
2084 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2085
2086         PR bootstrap/35457
2087         * aclocal.m4: Regenerate.
2088         * configure: Regenerate.
2089
2090 2008-04-16  Andreas Tobler  <a.tobler@schweiz.org>
2091
2092         PR libstdc++/35915
2093         * configure.ac: Use GCC_HEADER_STDINT.
2094         * src/atomic.cc: Include gstdint.h
2095         * configure: Regenerate.
2096         * Makefile.in: Likewise.
2097         * doc/Makefile.in: Likewise.
2098         * include/Makefile.in: Likewise.
2099         * libmath/Makefile.in: Likewise.
2100         * libsupc++/Makefile.in: Likewise.
2101         * po/Makefile.in: Likewise.
2102         * src/Makefile.in: Likewise.
2103         * testsuite/Makefile.in: Likewise.
2104         * aclocal.m4: Likewise.
2105
2106 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
2107
2108         PR libstdc++/35816
2109         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Set CXXFLAGS to
2110         -O0 when checking for atomic builtins.
2111         * configure: Regenerate.
2112
2113 2008-04-14  Benjamin Kosnik  <bkoz@redhat.com>
2114
2115         * include/bits/c++config: Guard _LDBL_ macros with __cplusplus.
2116
2117 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2118
2119         * doc/html/*: Regenerate.
2120
2121 2008-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2122
2123         * doc/xml/manual/bitmap_allocator.xml: Improve wording a bit.
2124         * doc/xml/authors.xml: Fix typos.
2125         * doc/xml/faq.xml: Likewise.
2126         * doc/xml/manual/abi.xml: Likewise.
2127         * doc/xml/manual/allocator.xml: Likewise.
2128         * doc/xml/manual/appendix_contributing.xml: Likewise.
2129         * doc/xml/manual/backwards_compatibility.xml: Likewise.
2130         * doc/xml/manual/build_hacking.xml: Likewise.
2131         * doc/xml/manual/codecvt.xml: Likewise.
2132         * doc/xml/manual/concurrency.xml: Likewise.
2133         * doc/xml/manual/ctype.xml: Likewise.
2134         * doc/xml/manual/debug_mode.xml: Likewise.
2135         * doc/xml/manual/diagnostics.xml: Likewise.
2136         * doc/xml/manual/evolution.xml: Likewise.
2137         * doc/xml/manual/extensions.xml: Likewise.
2138         * doc/xml/manual/locale.xml: Likewise.
2139         * doc/xml/manual/messages.xml: Likewise.
2140         * doc/xml/manual/parallel_mode.xml: Likewise.
2141         * doc/xml/manual/status_cxx200x.xml: Likewise.
2142         * doc/xml/manual/strings.xml: Likewise.
2143         * doc/xml/manual/support.xml: Likewise.
2144         * doc/xml/manual/test.xml: Likewise.
2145         * doc/xml/manual/using.xml: Likewise.
2146
2147 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2148             Johannes Singler  <singler@ira.uka.de>
2149
2150         * doc/xml/manual/parallel_mode.xml: Remove map/set bulk
2151         insertors. Correct omp_set_num_threads example.
2152
2153 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2154
2155         * include/c_global/cstdatomic: C++ types only, format, doxygen markup.
2156         * include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
2157         * src/atomic.c: Format, doxygen markup, edits.
2158
2159         * include/Makefile.am (cstdatomic, stdatomic.h): Add.
2160         * src/Makefile.am (atomic.c): Add.
2161         * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
2162         * configure.ac: Call it.
2163         * include/Makefile.in: Regenerate.
2164         * src/Makefile.in: Same.
2165         * Makefile.in: Same.
2166         * doc/Makefile.in: Same.
2167         * po/Makefile.in: Same.
2168         * libmath/Makefile.in: Same.
2169         * include/Makefile.in: Same.
2170         * testsuite/Makefile.in: Same.
2171         * libsupc++/Makefile.in: Same.
2172         * config.h.in: Same.
2173         * configure: Same.
2174
2175         * config/abi/pre/gnu.ver: Add atomics exports.
2176
2177         * include/ext/typelist.h (apply_generator): New.
2178         * include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
2179         (_GLIBCXX_END_EXTERN_C): New.
2180         Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
2181         compiling as C.
2182         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
2183         flag for libstdc++.
2184         * testsuite/util/testsuite_common_types.h (integral_types): New
2185         typelist.
2186         (atomics, atomics_tl): Same.
2187         (assignable, default_constructible, copy_constructible,
2188         explicit_value_constructible): New.
2189         * testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
2190         * testsuite/29_atomics: New.
2191         * testsuite/29_atomics/atomic_address: Same.
2192         * testsuite/29_atomics/atomic_address/cons: Same.
2193         * testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
2194         * testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
2195         * testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
2196         * testsuite/29_atomics/atomic_address/cons/default.cc: Same.
2197         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
2198         * testsuite/29_atomics/atomic_flag: Same.
2199         * testsuite/29_atomics/atomic_flag/cons: Same.
2200         * testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
2201         * testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
2202         * testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
2203         * testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
2204         * testsuite/29_atomics/atomic_flag/requirements: Same.
2205         * testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc:
2206         Same.
2207         * testsuite/29_atomics/atomic_flag/
2208         atomic_global_fence_compatibility.cc: Same.
2209         * testsuite/29_atomics/atomic_flag/test_and_set: Same.
2210         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
2211         * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
2212         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
2213         * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
2214         * testsuite/29_atomics/headers: Same.
2215         * testsuite/29_atomics/headers/cstdatomic: Same.
2216         * testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
2217         * testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
2218         * testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
2219         * testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
2220         * testsuite/29_atomics/headers/stdatomic.h: Same.
2221         * testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
2222         * testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
2223         * testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
2224         * testsuite/29_atomics/atomic: Same.
2225         * testsuite/29_atomics/atomic/cons: Same.
2226         * testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
2227         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
2228         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
2229         * testsuite/29_atomics/atomic/cons/default.cc: Same.
2230         * testsuite/29_atomics/atomic/requirements: Same.
2231         * testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
2232         * testsuite/29_atomics/atomic/requirements/explicit_instantiation/
2233         1.cc: Same.
2234
2235 2008-04-10  Lawrence Crowl  <crowl@google.com>
2236
2237         * include/c_global/cstdatomic: New.
2238         * include/c_compatibility/stdatomic.h: New.
2239         * src/atomic.c: New.
2240
2241 2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2242
2243         * include/std/tuple: Consistency check for include guard, doxygen
2244         file markup.
2245         * include/std/date_time: Same.
2246         * include/std/type_traits: Same.
2247         * include/std/regex: Same.
2248         * include/std/array: Same.
2249         * include/std/system_error: Same, add error_code ctor.
2250
2251 2008-04-07  Johannes Singler  <singler@ira.uka.de>
2252
2253         * include/parallel/multiway_merge.h: Moved decisions to
2254         compile-time instead of run-time.
2255         * include/parallel/losertree.h: Removed obsolete variants, added
2256         variant that uses pointers in the loser tree.
2257         * include/parallel/types.h: Remove obsolete settings options from enum.
2258         * include/parallel/features.h: Remove obsolete compile-time switches.
2259         * include/parallel/compiletime_settings.h: Remove obsolete variant
2260         that copies back *after* sorting.
2261         * include/parallel/tags.h: Add one new tag for compile-time switch.
2262         * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
2263         * include/parallel/multiway_mergesort.h: Adapt to changes in
2264         multiway_merge.h. Factor out splitting variants. Remove obsolete
2265         variant that copies back *after* sorting.
2266         * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
2267         * testsuite/25_algorithms/sort/35588.cc: Added test case from /
2268         for PR 35588.
2269
2270 2008-03-29  Paolo Carlini  <pcarlini@suse.de>
2271
2272         PR libstdc++/35725
2273         * include/bits/stl_algobase.h (__fill_a(_ForwardIterator,
2274         _ForwardIterator, _Tp), __fill_a(_Tp*, _Tp*, _Tp),
2275         __fill_n_a(_OutputIterator, _Size, _Tp), __fill_n_a(_Tp*, _Size,
2276         _Tp)): Fix signatures.
2277         * testsuite/25_algorithms/fill/35725.cc: New.
2278         * testsuite/25_algorithms/fill_n/35725.cc: Likewise.
2279
2280 2008-03-29  Matthias Klose  <doko@ubuntu.com>
2281
2282         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
2283         * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Likewise.
2284         * config/abi/post/mips-linux-gnu/baseline_symbols.txt: Likewise.
2285         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Likewise.
2286
2287 2008-03-27  Ian Lance Taylor  <iant@google.com>
2288
2289         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
2290         glibcxx_ld_is_gold.  Check for gold in --gc-sections test.
2291         (GLIBCXX_ENABLE_SYMVERS): Check for gold.
2292         * aclocal.m4, configure: Rebuild.
2293
2294 2008-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2295
2296         * testsuite/util/testsuite_abi.h: Remove symbol_objects,
2297         symbol_names typedefs.
2298         * testsuite/util/testsuite_abi.cc (compare_symbols): Correct check
2299         for long double compatiblity symbols, simplify data structures used.
2300
2301 2008-03-25  Benjamin Kosnik  <bkoz@redhat.com>
2302
2303         * scripts/run_doxygen: Remove html_output_dir. Downgrade to
2304         Doxygen 1.5.1.
2305         * doc/doxygen/style.css: Delete.
2306         * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1.
2307         (INPUT): Update.
2308         (PREDEFINED): Update.
2309         (HTML_OUTPUT): Remove html_output_dir, use html.
2310         (HTML_STYLESHEET): Remove style.css.
2311         * doc/doxygen/tables.html: Remove style.css use.
2312         * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes.
2313         * doc/doxygen/doxygroups.cc: Namespace edits.
2314         * doc/doxygen/Intro.3: Correct typo.
2315
2316         * doc/xml/api.xml: Add gcc-4.3 links.
2317         * doc/html/api.html: Regenerate.
2318
2319         * include/debug/debug.h: Document namepaces here.
2320         * include/parallel/base.h: Same.
2321         * include/ext/typelist.h: Same.
2322         * include/ext/pb_ds/tag_and_trait.hpp: Same.
2323
2324         * include/tr1_impl/random: Adjust line break.
2325         * include/tr1_impl/unordered_map: Correct and or add markup.
2326         * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup.
2327         * include/tr1_impl/functional_hash.h: Same.
2328         * include/tr1_impl/cmath: Same.
2329         * include/tr1_impl/functional: Same.
2330         * include/tr1_impl/unordered_set: Same.
2331         * include/tr1_impl/complex: Same.
2332         * include/tr1_impl/type_traits: Same.
2333         * include/tr1_impl/regex: Same.
2334         * include/tr1_impl/array: Same.
2335         * include/std/tuple: Same.
2336         * include/std/date_time: Same.
2337         * include/std/system_error: Same.
2338         * include/std/type_traits: Same.
2339         * include/ext/enc_filebuf.h: Same.
2340         * include/ext/throw_allocator.h: Same.
2341         * include/ext/pool_allocator.h: Same.
2342         * include/ext/bitmap_allocator.h: Same.
2343         * include/ext/concurrence.h: Same.
2344         * include/ext/codecvt_specializations.h: Same.
2345         * include/ext/stdio_sync_filebuf.h: Same.
2346         * include/ext/array_allocator.h: Same.
2347         * include/ext/mt_allocator.h: Same.
2348         * include/bits/locale_classes.h: Same.
2349         * include/bits/locale_facets.h: Same.
2350         * include/bits/codecvt.h: Same.
2351         * include/bits/char_traits.h: Same.
2352         * include/bits/allocator.h: Same.
2353         * include/bits/locale_facets_nonio.h: Same.
2354         * include/tr1/poly_laguerre.tcc: Same.
2355         * include/tr1/riemann_zeta.tcc: Same.
2356         * include/tr1/beta_function.tcc: Same.
2357         * include/tr1/tuple: Same.
2358         * include/tr1/exp_integral.tcc: Same.
2359         * include/tr1/gamma.tcc: Same.
2360         * include/tr1/hypergeometric.tcc: Same.
2361         * include/tr1/modified_bessel_func.tcc: Same.
2362         * include/tr1/legendre_function.tcc: Same.
2363         * include/tr1/type_traits: Same.
2364         * include/tr1/special_function_util.h: Same.
2365         * include/tr1/bessel_function.tcc: Same.
2366         * include/tr1/cmath: Same.
2367         * include/tr1/poly_hermite.tcc: Same.
2368         * include/tr1/ell_integral.tcc: Same.
2369         * config/abi/compatibility.h: Adjust file name.
2370
2371         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
2372         line numbers.
2373         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2374         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2375
2376 2008-03-23  Paolo Carlini  <pcarlini@suse.de>
2377
2378         * doc/xml/faq.xml: Fix various links.
2379         * doc/xml/api.xml: Likewise.
2380         * doc/xml/manual/parallel_mode.xml: Likewise.
2381         * doc/html/faq.html: Regenerate.
2382         * doc/html/api.html: Likewise.
2383         * doc/html/manual/bk01pt12ch31s03.html: Likewise.
2384
2385 2008-03-20  Benjamin Kosnik  <bkoz@redhat.com>
2386
2387         * testsuite/util/testsuite_abi.cc: Add support for not counting
2388         GLIBCXX_LDBL_* compat symbols missing if no long double compat
2389         symbols under test.
2390
2391 2008-03-20  Paolo Carlini  <pcarlini@suse.de>
2392
2393         PR libstdc++/35637
2394         * include/tr1_impl/type_traits (struct __in_array): Add back.
2395         (is_function): Use it.
2396         * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New.
2397
2398 2008-03-20  Johannes Singler  <singler@ira.uka.de>
2399
2400         * include/parallel/set_operations.h (set_intersection): Remove.
2401
2402 2008-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2403
2404         PR libstdc++/35256
2405         * doc/xml/manual/parallel_mode.xml: Correct configuration documentation.
2406         * doc/html/manual/bk01pt12ch31s04.html: Regenerate.
2407
2408 2008-03-18  Benjamin Kosnik  <bkoz@redhat.com>
2409
2410         * configure.ac (libtool_VERSION): To 6:11:0.
2411         * configure: Regenerate.
2412         * aclocal.m4: Regenerate.
2413
2414 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
2415
2416         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
2417         Update.
2418         * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
2419         * include/precompiled/stdc++.h: Likewise.
2420
2421 2008-03-16  Pedro LamarĂ£o  <pedro.lamarao@gmail.com>
2422
2423         * include/std/date_time: New file.
2424         * src/date_time.cc: New file.
2425         * config/abi/pre/gnu.ver: Added <date_time> symbols in version
2426         GLIBCXX_3.4.11 and changed two patterns in version GLIBCXX_3.4
2427         that matched new symbols.
2428         * include/Makefile.am: Add date_time in std headers.
2429         * src/Makefile.am: Add date_time.cc to source files.
2430         * include/Makefile.in: Regenerate.
2431         * src/Makefile.in: Likewise.
2432
2433 2008-03-16  Pedro LamarĂ£o  <pedro.lamarao@gmail.com>
2434
2435       * testsuite/31_date_time/headers/date_time/types_std.cc: New.
2436       * testsuite/31_date_time/headers/date_time/std_c++0x_neg.cc: Likewise.
2437       * testsuite/31_date_time/headers/date_time/functions_std.cc: Likewise.
2438       * testsuite/31_date_time/headers/date_time/synopsis.cc: Likewise.
2439       * testsuite/31_date_time/nanoseconds/requirements/traits.cc: Likewise.
2440       * testsuite/31_date_time/nanoseconds/requirements/duration.cc: Likewise.
2441       * testsuite/31_date_time/system_time/requirements: Likewise.
2442       * testsuite/31_date_time/system_time/requirements/traits.cc: Likewise.
2443
2444 2008-03-16  Paolo Carlini  <pcarlini@suse.de>
2445
2446         * config.h.in: Regenerate.
2447
2448 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2449
2450         * aclocal.m4: Regenerate.
2451         * configure: Likewise.
2452         * Makefile.in: Likewise.
2453         * doc/Makefile.in: Likewise.
2454         * include/Makefile.in: Likewise.
2455         * libmath/Makefile.in: Likewise.
2456         * libsupc++/Makefile.in: Likewise.
2457         * po/Makefile.in: Likewise.
2458         * src/Makefile.in: Likewise.
2459         * testsuite/Makefile.in: Likewise.
2460
2461 2008-03-13  Dennis Czeremin  <dennis.czeremin@smiths-heimann.com>
2462
2463         PR libstdc++/35566
2464         * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
2465         _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
2466
2467 2008-03-13  Paolo Carlini  <pcarlini@suse.de>
2468
2469         PR libstdc++/35541
2470         * include/debug/functions.h (__check_sorted_set_aux): Fix signature.
2471         * testsuite/25_algorithms/set_difference/35541.cc: New.
2472
2473 2008-03-07  Jakub Jelinek  <jakub@redhat.com>
2474
2475         * config/abi/pre/gnu.ver: Move <system_error> related
2476         symbols to GLIBCXX_3.4.11 symbol version.
2477         * testsuite/util/testsuite_abi.cc (check_version): Allow
2478         GLIBCXX_3.4.11.
2479
2480 2008-03-06  Chris Jefferson  <chris@bubblescope.net>
2481             Paolo Carlini  <pcarlini@suse.de>
2482
2483         PR libstdc++/35480
2484         * include/tr1/tuple (operator==, operator<): Fix.
2485         * include/std/tuple (operator==, operator<): Likewise.
2486         * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New.
2487         * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise.
2488
2489 2008-03-04  Joseph Myers  <joseph@codesourcery.com>
2490
2491         * crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
2492         HAVE_STRTOLD.
2493         * configure: Regenerate.
2494
2495 2008-03-02  Hans-Peter Nilsson  <hp@axis.com>
2496
2497         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
2498         testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
2499         Mark changed error message prelude, adding "in file included from",
2500         using dg-excess-errors.
2501
2502 2008-03-01  Jakub Jelinek  <jakub@redhat.com>
2503
2504         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2505         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2506         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2507         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
2508         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2509         Likewise.
2510         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2511         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2512
2513 2008-02-29  Jakub Jelinek  <jakub@redhat.com>
2514
2515         * config/abi/pre/gnu.ver: Remove
2516         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_3.4.10 and
2517         _ZNKSt4hashIgEclEg@@GLIBCXX_3.4.10 export.
2518         * config/os/gnu-linux/ldbl-extra.ver: Export
2519         _ZNKSt3tr14hashIgEclEg@@GLIBCXX_LDBL_3.4.10
2520         and _ZNKSt4hashIgEclEg@@GLIBCXX_LDBL_3.4.10.
2521         * src/hash.cc: Only define long double hash specialization if
2522         _GLIBCXX_LONG_DOUBLE_COMPAT_IMPL is defined.
2523         * src/compatibility-ldbl.cc: Include "hash.cc".
2524         (_GLIBCXX_LONG_DOUBLE_COMPAT_IMPL): Define.
2525         (_ZNKSt4hashIeEclEe): New alias.
2526         * testsuite/util/testsuite_abi.cc (check_version): Support
2527         GLIBCXX_LDBL_3.4.10.
2528
2529 2008-02-25  Jan Beulich  <jbeulich@novell.com>
2530
2531         * acinclude.m4: Also check for EIDRM and ETXTBSY.
2532         * configure: Re-generate.
2533         * config/os/generic/error_constants.h (namespace posix_error):
2534         Also wrap uses of EIDRM and ETXTBSY in conditionals.
2535         * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
2536         Likewise.
2537
2538 2008-02-20  Jason Merrill  <jason@redhat.com>
2539
2540         * include/bits/c++config: Use 'inline namespace' instead of
2541         strong using.
2542
2543 2008-02-18  Pedro Lamarao <pedro.lamarao@mndfck.org>
2544
2545         * include/std/tuple: Fixes for moveable, non-copyable types.
2546         * testsuite/20_util/tuple/moveable2.cc: New.
2547
2548 2008-02-18  Paolo Carlini  <pcarlini@suse.de>
2549
2550         * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove.
2551
2552 2008-02-17  Ed Smith-Rowland  <3dw4rd@verizon.net>
2553
2554         * include/tr1/poly_laguerre.tcc: Doxygen fixes.
2555         * include/tr1/exp_integral.tcc: Same.
2556         * include/tr1/gamma.tcc: Same.
2557         * include/tr1/hypergeometric.tcc: Same.
2558
2559 2008-02-17  Benjamin Kosnik  <bkoz@redhat.com>
2560
2561         PR libstdc++/34797
2562         * include/parallel/settings.h (_Settings): Reconstruct Settings class
2563         here, uglify, remove anonymous namespace and static
2564         members. Convert to datum.
2565         * include/parallel/types.h: Move Settings:: enumerations here, uglify.
2566         * src/parallel_settings.cc: New, definition for _Settings member
2567         functions.
2568         * include/parallel/multiway_merge.h: Same.
2569         * include/parallel/for_each.h: Same.
2570         * include/parallel/workstealing.h: Same.
2571         * include/parallel/base.h: Same.
2572         * include/parallel/numeric
2573         * include/parallel/features.h: Same.
2574         * include/parallel/quicksort.h: Same.
2575         * include/parallel/equally_split.h: Same.
2576         * include/parallel/algorithmfwd.h: Same.
2577         * include/parallel/omp_loop_static.h: Same.
2578         * include/parallel/random_shuffle.h: Same.
2579         * include/parallel/balanced_quicksort.h: Same.
2580         * include/parallel/tags.h: Same.
2581         * include/parallel/multiway_mergesort.h: Same.
2582         * include/parallel/numericfwd.h: Same.
2583         * include/parallel/partition.h: Same.
2584         * include/parallel/partial_sum.h: Same.
2585         * include/parallel/find.h: Same.
2586         * include/parallel/algo.h: Same.
2587         * include/parallel/omp_loop.h: Same.
2588         * include/parallel/sort.h: Same.
2589
2590         * src/Makefile.am (parallel_sources): Add parallel_settings.cc.
2591         * src/Makefile.in: Regenerate.
2592
2593         * config/abi/pre/gnu.ver: Export _Settings::get and _Settings::set.
2594
2595 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
2596
2597         PR libstdc++/35221
2598         * include/parallel/types.h: Reinstate integer types typedefs.
2599         * include/parallel/multiseq_selection.h: Adjust.
2600         * include/parallel/compatibility.h: Likewise.
2601         * include/parallel/random_shuffle.h: Likewise.
2602         * include/parallel/random_number.h: Likewise.
2603         * include/parallel/base.h: Likewise.
2604
2605 2008-02-17  Paolo Carlini  <pcarlini@suse.de>
2606
2607         PR libstdc++/35209
2608         * config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
2609         * testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
2610         * testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
2611
2612 2008-02-16  Benjamin Kosnik  <bkoz@redhat.com>
2613
2614         * include/parallel/random_number.h: Use TR1's mersenne_twister.
2615         (random_number::genrand_bits()): Remove.
2616         (random_number::set_seed): Remove.
2617
2618 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2619
2620         * include/parallel/types.h: Remove enum parallelism.
2621
2622 2008-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2623
2624         * include/parallel/types.h: Move enum parallelism here.  Use
2625         tr1/cstdint's int16_t, uint16_t, int32_t, uint32_t, int64_t,
2626         uint64_t.
2627         * include/parallel/multiseq_selection.h: Adjust for cstdint.
2628         * include/parallel/compatibility.h: Same.
2629         * include/parallel/tags.h: Just compile-time tags.
2630         * include/parallel/base.h: Put namespace bits here.
2631
2632         * src/Makefile.am (PARALLEL_FLAGS): Use it.
2633         * src/Makefile.in: Regenerate.
2634
2635         * testsuite/25_algorithms/nth_element/1.cc: Add test variable.
2636
2637 2008-02-15  Hans-Peter Nilsson  <hp@axis.com>
2638
2639         * testsuite/config/default.exp: Load gcc dejapatches.exp.
2640
2641 2008-02-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2642
2643         * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and
2644         remove XFAIL.
2645
2646 2008-02-14  Benjamin Kosnik  <bkoz@redhat.com>
2647
2648         * config/os/generic/error_constants.h (posix_errno): Guard
2649         not_supported use of ENOTSUP.
2650         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add check for ENOTSUP
2651         for OpenBSD.
2652         * aclocal.m4: Regenerate.
2653         * configure: Rengerate.
2654         * config.h.in: Same.
2655
2656 2008-02-13  Benjamin Kosnik  <bkoz@redhat.com>
2657
2658         * doc/doxygen/mainpage.html: Correct links.
2659
2660 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2661
2662         * doc/html/*: Populate with regenerated files.
2663
2664 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2665
2666         * doc/html/*: Remove all but contents of ext/pb_ds.
2667         * doc/html/index.html: New.
2668         * doc/html/README: New.
2669
2670 2008-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2671
2672         * doc/doxygen/mainpage.html: Add in corrected links.
2673         * README: Edit, move most into...
2674         * doc/xml/manual/appendix_contributing.xml (Directory Layout): ...here.
2675         (Documentation Style): Revise.
2676         * doc/xml/spine.xml: Edit file names.
2677         * doc/Makefile.am: Edit xml_sources.
2678         * doc/Makefile.in: Regenerate.
2679
2680 2008-02-11  Paolo Carlini  <pcarlini@suse.de>
2681
2682         * configure: Regenerate with documented autoconf and automake
2683         versions (i.e., 2.59 and 1.9.6).
2684         * Makefile.in: Likewise.
2685         * src/Makefile.in: Likewise.
2686         * doc/Makefile.in: Likewise.
2687         * po/Makefile.in: Likewise.
2688         * libmath/Makefile.in: Likewise.
2689         * include/Makefile.in: Likewise.
2690         * libsupc++/Makefile.in: Likewise.
2691         * testsuite/Makefile.in: Likewise.
2692         * aclocal.m4: Likewise.
2693
2694 2008-02-10  Benjamin Kosnik  <bkoz@redhat.com>
2695
2696         Convert documentation to DocBook.
2697         * doc/Makefile.am (doc-doxygen-html): Changed to doc-html-doxygen.
2698         (doc-doxygen-man): Changed to doc-man-doxygen.
2699         (doc-performance): Changed to doc-html-performance.
2700         (doc-xml-doxygen): New.
2701         (doc-xml-single): New.
2702         (doc-xml-validate): New.
2703         (doc-html): New.
2704         (doc-html-single): New.
2705         (doc-fo): New.
2706         (doc-pdf): New.
2707         (doc-pdf-fop-xml): New.
2708         (doc-pdf-fop-fo): New.
2709         (doc-pdf-xmlto): New.
2710         (doc-pdf-xmlroff): New.
2711         (doc-pdf-prince): New.
2712         * doc/xml: New directory.
2713         * doc/xml/authors.xml: New.
2714         * doc/xml/images: New directory.
2715         * doc/xml/images/confdeps.png: Add.
2716         * doc/xml/images/confdeps.dot: Add.
2717         * doc/xml/faq.xml: New.
2718         * doc/xml/api.xml: New.
2719         * doc/xml/gnu: New directory.
2720         * doc/xml/gnu/gpl-3.0.xml: New.
2721         * doc/xml/gnu/fdl-1.2.xml: New.
2722         * doc/xml/gnu/gpl-2.0.xml: New.
2723         * doc/xml/manual: New directory.
2724         * doc/xml/manual/mt_allocator.xml: New.
2725         * doc/xml/manual/allocator.xml: New.
2726         * doc/xml/manual/ctype.xml: New.
2727         * doc/xml/manual/numerics.xml: New.
2728         * doc/xml/manual/codecvt.xml: New.
2729         * doc/xml/manual/concurrency.xml: New.
2730         * doc/xml/manual/backwards_compatibility.xml: New.
2731         * doc/xml/manual/intro.xml: New.
2732         * doc/xml/manual/shared_ptr.xml: New.
2733         * doc/xml/manual/abi.xml: New.
2734         * doc/xml/manual/status_cxxtr1.xml: New.
2735         * doc/xml/manual/auto_ptr.xml: New.
2736         * doc/xml/manual/build.xml: New.
2737         * doc/xml/manual/internals.xml: New.
2738         * doc/xml/manual/parallel_mode.xml: New.
2739         * doc/xml/manual/status_cxx1998.xml: New.
2740         * doc/xml/manual/containers.xml: New.
2741         * doc/xml/manual/io.xml: New.
2742         * doc/xml/manual/appendix_porting.xml: New.
2743         * doc/xml/manual/utilities.xml: New.
2744         * doc/xml/manual/bitmap_allocator.xml: New.
2745         * doc/xml/manual/support.xml: New.
2746         * doc/xml/manual/configure.xml: New.
2747         * doc/xml/manual/build_hacking.xml: New.
2748         * doc/xml/manual/evolution.xml: New.
2749         * doc/xml/manual/using.xml: New.
2750         * doc/xml/manual/debug.xml: New.
2751         * doc/xml/manual/localization.xml: New.
2752         * doc/xml/manual/strings.xml: New.
2753         * doc/xml/manual/debug_mode.xml: New.
2754         * doc/xml/manual/locale.xml: New.
2755         * doc/xml/manual/extensions.xml: New.
2756         * doc/xml/manual/appendix_contributing.xml: New.
2757         * doc/xml/manual/messages.xml: New.
2758         * doc/xml/manual/diagnostics.xml: New.
2759         * doc/xml/manual/appendix_free.xml: New.
2760         * doc/xml/manual/algorithms.xml: New.
2761         * doc/xml/manual/iterators.xml: New.
2762         * doc/xml/manual/spine.xml: New.
2763         * doc/xml/manual/test.xml: New.
2764         * doc/xml/manual/status_cxx200x.xml: New.
2765         * doc/xml/spine.xml: New.
2766
2767         * doc/xml/book.txml: New. Template file.
2768         * doc/xml/chapter.txml: Same.
2769         * doc/xml/class.txml: Same.
2770
2771         * doc/doxygen/guide.html: Removed, integrated into other docs.
2772         * doc/doxygen/user.cfg.in: Clean up XML generation.
2773         * doc/doxygen/run_doxygen: Move to..
2774         * scripts/run_doxygen: ...here.
2775
2776         * configure: Regenerate.
2777         * Makefile.in: Regenerate.
2778         * src/Makefile.in: Regenerate.
2779         * doc/Makefile.in: Regenerate.
2780         * po/Makefile.in: Regenerate.
2781         * libmath/Makefile.in: Regenerate.
2782         * include/Makefile.in: Regenerate.
2783         * libsupc++/Makefile.in: Regenerate.
2784         * testsuite/Makefile.in: Regenerate.
2785         * aclocal.m4: Regenerate.
2786
2787 2008-02-10  Paolo Carlini  <pcarlini@suse.de>
2788
2789         PR libstdc++/16251
2790         * include/std/istream (basic_istream<>::basic_istream()): Call
2791         this->init().
2792         (basic_iostream<>::basic_iostream(basic_streambuf<>*)): Don't
2793         do it here, per 27.6.1.5.1/1.
2794         * include/std/ostream (basic_ostream<>::basic_ostream()): Call
2795         this->init().
2796         * testsuite/27_io/basic_iostream/cons/16251.C: New.
2797
2798         * testsuite/27_io/basic_iostream/cons/2020.cc: Minor tweaks.
2799
2800 2008-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2801
2802         * include/backward/auto_ptr.h: Fix comment typos.
2803         * include/bits/algorithmfwd.h: Likewise.
2804         * include/bits/basic_ios.h: Likewise.
2805         * include/bits/c++config: Likewise.
2806         * include/bits/char_traits.h: Likewise.
2807         * include/bits/codecvt.h: Likewise.
2808         * include/bits/gslice.h: Likewise.
2809         * include/bits/ios_base.h: Likewise.
2810         * include/bits/locale_facets.h: Likewise.
2811         * include/bits/locale_facets_nonio.tcc: Likewise.
2812         * include/bits/postypes.h: Likewise.
2813         * include/bits/sstream.tcc: Likewise.
2814         * include/bits/stl_algo.h: Likewise.
2815         * include/bits/stl_deque.h: Likewise.
2816         * include/bits/stl_iterator.h: Likewise.
2817         * include/bits/stl_iterator_base_types.h Likewise.
2818         * include/bits/stl_list.h: Likewise.
2819         * include/bits/stl_map.h: Likewise.
2820         * include/bits/stl_multimap.h: Likewise.
2821         * include/bits/stl_multiset.h: Likewise.
2822         * include/bits/stl_set.h: Likewise.
2823         * include/bits/stl_vector.h: Likewise.
2824         * include/bits/valarray_array.h: Likewise.
2825         * include/debug/safe_base.h: Likewise.
2826         * include/ext/bitmap_allocator.h: Likewise.
2827         * include/ext/codecvt_specializations.h Likewise.
2828         * include/ext/mt_allocator.h: Likewise.
2829         * include/ext/rc_string_base.h: Likewise.
2830         * include/ext/rope: Likewise.
2831         * include/parallel/checkers.h: Likewise.
2832         * include/parallel/find.h: Likewise.
2833         * include/parallel/multiseq_selection.h: Likewise.
2834         * include/parallel/partition.h: Likewise.
2835         * include/parallel/settings.h: Likewise.
2836         * include/std/bitset: Likewise.
2837         * include/std/complex: Likewise.
2838         * include/std/fstream: Likewise.
2839         * include/std/istream: Likewise.
2840         * include/std/limits: Likewise.
2841         * include/std/ostream: Likewise.
2842         * include/std/stdexcept: Likewise.
2843         * include/std/streambuf: Likewise.
2844         * include/tr1/bessel_function.tcc: Likewise.
2845         * include/tr1/cmath: Likewise.
2846         * include/tr1/ell_integral.tcc: Likewise.
2847         * include/tr1/hypergeometric.tcc: Likewise.
2848         * include/tr1/legendre_function.tcc: Likewise.
2849         * include/tr1_impl/random: Likewise.
2850         * include/tr1_impl/regex: Likewise.
2851
2852 2008-01-31  Paolo Carlini  <pcarlini@suse.de>
2853
2854         * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
2855         Avoid -Wall warnings.
2856         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
2857         Likewise.
2858         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
2859         Likewise.
2860         * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
2861         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
2862         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
2863         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
2864         Likewise.
2865         * testsuite/tr1/6_containers/array/requirements/contiguous.cc:
2866         Likewise.
2867         * testsuite/tr1/6_containers/array/requirements/member_swap.cc:
2868         Likewise.
2869         * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
2870         * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
2871         Likewise.
2872         * testsuite/tr1/6_containers/array/comparison_operators/
2873         less_or_equal.cc: Likewise.
2874         * testsuite/tr1/6_containers/array/comparison_operators/
2875         greater_or_equal.cc: Likewise.
2876         * testsuite/tr1/6_containers/array/comparison_operators/less.cc:
2877         Likewise.
2878         * testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
2879         Likewise.
2880         * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
2881         Likewise.
2882         * testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
2883         Likewise.
2884         * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
2885         * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
2886         Likewise.
2887         * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
2888         * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
2889         * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
2890         * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
2891         Likewise.
2892         * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
2893         * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
2894         * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
2895         * testsuite/thread/guard.cc: Likewise.
2896         * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise.
2897         * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
2898         * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
2899         * testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
2900         * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
2901         * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
2902         * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
2903         Likewise.
2904
2905 2008-01-26  David Edelsohn  <edelsohn@gnu.org>
2906
2907         PR target/34794
2908         * config/os/aix/os_defines.h: Define __COMPATMATH__.
2909
2910 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2911
2912         * configure: Regenerate.
2913
2914 2008-01-21  Matthias Klose  <doko@ubuntu.com>
2915
2916         * doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
2917
2918 2008-01-19  Paolo Carlini  <pcarlini@suse.de>
2919
2920         * configure: Regenerate.
2921         * Makefile.in: Likewise.
2922         * src/Makefile.in: Likewise.
2923         * doc/Makefile.in: Likewise.
2924         * po/Makefile.in: Likewise.
2925         * libmath/Makefile.in: Likewise.
2926         * include/Makefile.in: Likewise.
2927         * libsupc++/Makefile.in: Likewise.
2928         * testsuite/Makefile.in: Likewise.
2929         * aclocal.m4: Likewise.
2930
2931 2008-01-18  Benjamin Kosnik  <bkoz@redhat.com>
2932
2933         * docs/*: To...
2934         * doc/*: ...here.
2935         * testsuite/Makefile.am: Move doc-performance to...
2936         * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to...
2937         * doc/Makefile.am: Consolidate documentation creation here.
2938         (doc-doxygen-html): New.
2939         (doc-doxygen-man): New.
2940         (doc-performance): New.
2941         * doc/Makefile.in: New.
2942         * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory.
2943         * doc/doxygen/guide.html: Edit for unified html configuration.
2944         * doc/doxygen/mainpage.html: Same.
2945         * doc/doxygen/run_doxygen: Same, more namespace fixups for man
2946         generation.
2947         * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4.
2948
2949         * include/tr1_impl/random: Remove maint from doxygen markup.
2950         * include/tr1_impl/functional: Same.
2951         * include/std/tuple: Same.
2952         * include/std/streambuf: Same.
2953         * include/std/bitset: Same.
2954         * include/std/limits: Same.
2955         * include/std/fstream: Same.
2956         * include/std/istream: Same.
2957         * include/std/sstream: Same.
2958         * include/ext/pool_allocator.h: Same.
2959         * include/ext/rc_string_base.h: Same.
2960         * include/bits/basic_ios.h: Same.
2961         * include/bits/stl_list.h: Same.
2962         * include/bits/stl_map.h: Same.
2963         * include/bits/locale_classes.h: Same.
2964         * include/bits/stl_set.h: Same.
2965         * include/bits/stl_iterator_base_types.h: Same.
2966         * include/bits/basic_string.h: Same.
2967         * include/bits/stl_multimap.h: Same.
2968         * include/bits/stl_vector.h: Same.
2969         * include/bits/ios_base.h: Same.
2970         * include/bits/stl_deque.h: Same.
2971         * include/bits/postypes.h: Same.
2972         * include/bits/stl_multiset.h: Same.
2973         * include/bits/stl_algo.h: Same.
2974         * include/bits/stl_iterator.h: Same.
2975         * include/bits/stl_tempbuf.h: Same.
2976         * include/bits/stl_construct.h: Same.
2977         * include/bits/stl_relops.h: Same.
2978         * include/tr1/tuple: Same.
2979         * include/backward/auto_ptr.h: Same.
2980
2981         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2982         Fixups for line number changes.
2983         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2984         * testsuite/23_containers/vector/requirements/dr438/
2985         constructor_1_neg.cc: Same.
2986         * testsuite/23_containers/vector/requirements/dr438/
2987         constructor_2_neg.cc: Same.
2988         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2989         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2990         * testsuite/23_containers/deque/requirements/dr438/
2991         constructor_1_neg.cc: Same.
2992         * testsuite/23_containers/deque/requirements/dr438/
2993         constructor_2_neg.cc: Same.
2994         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2995         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2996         * testsuite/23_containers/list/requirements/dr438/
2997         constructor_1_neg.cc: Same.
2998         * testsuite/23_containers/list/requirements/dr438/
2999         constructor_2_neg.cc: Same.
3000         * testsuite/20_util/auto_ptr/assign_neg.cc: Same.
3001
3002         * aclocal.m4: Regenerate.
3003         * config.h.in: Regenerate.
3004         * configure: Regenerate.
3005         * Makefile.in: Regenerate.
3006         * src/Makefile.in: Regenerate.
3007         * po/Makefile.in: Regenerate.
3008         * libmath/Makefile.in: Regenerate.
3009         * include/Makefile.in: Regenerate.
3010         * libsupc++/Makefile.in: Regenerate.
3011         * testsuite/Makefile.in: Regenerate.
3012
3013         * scripts/make_graphs.py: Correct paths for new layout.
3014
3015 2008-01-17  Benjamin Kosnik  <bkoz@redhat.com>
3016
3017         * acinclude.m4 (AC_LC_MESSAGES): Remove serial.
3018         * linkage.m4 (AC_REPLACE_MATHFUNCS): Same.
3019         * configure: Regenerate.
3020         * aclocal.m4: Regenerate.
3021
3022 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
3023
3024         * include/parallel/list_partition.h: Formatting fixes, inline tweaks.
3025         * include/parallel/numeric: Likewise.
3026         * include/parallel/balanced_quicksort.h: Likewise.
3027         * include/parallel/unique_copy.h: Likewise.
3028         * include/parallel/algobase.h: Likewise.
3029         * include/parallel/algo.h: Likewise.
3030
3031 2008-01-14  Seongbae Park <seongbae.park@gmail.com>
3032
3033         * crossconfig.m4: Add missing header checks, C99 TR1 check,
3034         and sigsetjmp check.
3035
3036 2008-01-14  Paolo Carlini  <pcarlini@suse.de>
3037
3038         * include/parallel/tree.h: Remove.
3039         * include/Makefile.am: Update.
3040         * include/Makefile.in: Rebuild.
3041
3042         * src/Makefile.am: Remove spurious trailing backslash.
3043         * src/Makefile.in: Rebuild.
3044         * po/Makefile.in: Likewise.
3045         * libmath/Makefile.in: Likewise.
3046         * testsuite/Makefile.in: Likewise.
3047         * libsupc++/Makefile.in: Likewise.
3048         * aclocal.m4: Likewise.
3049         * Makefile.in: Likewise.
3050         * configure: Likewise.
3051
3052 2008-01-12  Paolo Carlini  <pcarlini@suse.de>
3053
3054         PR libstdc++/34730
3055         * include/debug/functions.h (__check_sorted_set,
3056         __check_sorted_set_aux): Add.
3057         (__check_sorted): Check StrictWeakOrdering.
3058         * include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
3059         __glibcxx_check_strict_weak_ordering_pred): Remove.
3060         (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
3061         (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
3062         * include/debug/debug.h (__glibcxx_requires_sorted_set,
3063         __glibcxx_requires_sorted_set_pred): Add.
3064         * include/bits/stl_algo.h (merge, includes, set_union,
3065         set_intersection, set_difference, set_symmetric_difference):
3066         Adjust, use __glibcxx_requires_sorted_set* instead.
3067         * testsuite/25_algorithms/set_intersection/34730.cc: New.
3068
3069 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
3070
3071         * include/parallel/multiway_merge.h: Reformat to 80 columns;
3072         adjust some inline specifiers; other minor style fixes.
3073         * include/parallel/losertree.h: Likewise.
3074         * include/parallel/list_partition.h: Likewise.
3075         * include/parallel/multiseq_selection.h: Likewise.
3076         * include/parallel/workstealing.h: Likewise.
3077         * include/parallel/base.h: Likewise.
3078         * include/parallel/par_loop.h: Likewise.
3079         * include/parallel/numeric: Likewise.
3080         * include/parallel/quicksort.h: Likewise.
3081         * include/parallel/algorithmfwd.h: Likewise.
3082         * include/parallel/for_each_selectors.h: Likewise.
3083         * include/parallel/omp_loop_static.h: Likewise.
3084         * include/parallel/random_shuffle.h: Likewise.
3085         * include/parallel/balanced_quicksort.h: Likewise.
3086         * include/parallel/set_operations.h: Likewise.
3087         * include/parallel/tree.h: Likewise.
3088         * include/parallel/merge.h: Likewise.
3089         * include/parallel/unique_copy.h: Likewise.
3090         * include/parallel/settings.h: Likewise.
3091         * include/parallel/multiway_mergesort.h: Likewise.
3092         * include/parallel/numericfwd.h: Likewise.
3093         * include/parallel/search.h: Likewise.
3094         * include/parallel/partition.h: Likewise.
3095         * include/parallel/compatibility.h: Likewise.
3096         * include/parallel/partial_sum.h: Likewise.
3097         * include/parallel/find.h: Likewise.
3098         * include/parallel/algo.h: Likewise.
3099         * include/parallel/queue.h: Likewise.
3100         * include/parallel/omp_loop.h: Likewise.
3101         * include/parallel/sort.h: Likewise.
3102         * include/parallel/random_number.h: Likewise.
3103
3104 2008-01-09  Benjamin Kosnik  <bkoz@redhat.com>
3105
3106         * docs/html/17_intro/api.html: Fix markup for rope.h.
3107
3108 2008-01-09  Paolo Carlini  <pcarlini@suse.de>
3109
3110         * include/parallel/iterator.h: Reformat to 80 columns; adjust some
3111         inline specifiers.
3112         * include/parallel/find_selectors.h: Likewise.
3113         * include/parallel/losertree.h: Likewise.
3114         * include/parallel/list_partition.h: Likewise.
3115         * include/parallel/for_each.h: Likewise.
3116         * include/parallel/multiseq_selection.h: Likewise.
3117         * include/parallel/algorithmfwd.h: Likewise.
3118         * include/parallel/for_each_selectors.h: Likewise.
3119         * include/parallel/balanced_quicksort.h: Likewise.
3120         * include/parallel/merge.h: Likewise.
3121         * include/parallel/algobase.h: Likewise.
3122         * include/parallel/find.h: Likewise.
3123         * include/parallel/algo.h: Likewise.
3124         * include/parallel/checkers.h: Likewise.
3125
3126 2008-01-09  Francesco Biscani  <bluescarni@gmail.com>
3127
3128         * include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
3129         of __detail::_Map_base<>.
3130
3131 2008-01-08  Paolo Carlini  <pcarlini@suse.de>
3132
3133         * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
3134         not include <cassert>.
3135         * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
3136         Likewise.
3137         * testsuite/util/testsuite_common_types.h: Include <algorithm>.
3138
3139 2008-01-08  Jakub Jelinek  <jakub@redhat.com>
3140
3141         * configure.ac (--enable-linux-futex): Add new configure option.
3142         (HAVE_LINUX_FUTEX): New AC_DEFINE.
3143         * Makefile.in: Rebuilt.
3144         * aclocal.m4: Rebuilt.
3145         * configure: Rebuilt.
3146         * config.h.in: Rebuilt.
3147         * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
3148         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
3149         * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
3150         _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
3151         * libsupc++/guard.cc: Include climits and syscall.h.
3152         (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
3153         are supported.
3154         (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
3155         (__guard_test_bit): New static inline.
3156         (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
3157         atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
3158
3159 2008-01-07  Paolo Carlini  <pcarlini@suse.de>
3160
3161         PR libstdc++/34680
3162         * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
3163         use dynamic_cast when run-time type identification is disabled; do
3164         not mark inline; only declare, define...
3165         * include/bits/locale_classes.tcc: ... here.
3166
3167 2008-01-06  Ted Phelps  <phelps@gnusto.com>
3168
3169         PR c++/34152
3170         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check
3171         _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO.
3172
3173 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
3174
3175         PR libstdc++/34095
3176         * include/parallel/multiway_merge.h (multiway_merge_bubble,
3177         parallel_multiway_merge): Together with ::operator new use
3178         ::operator delete.
3179         * include/parallel/losertree.h (LoserTree<>::~LoserTree): Likewise.
3180         * include/parallel/quicksort.h (parallel_sort_qs_divide): Likewise.
3181         * include/parallel/random_shuffle.h (parallel_random_shuffle_drs_pu,
3182         sequential_random_shuffle): Likewise.
3183         * include/parallel/tree.h (_M_not_sorted_bulk_insertion_construction):
3184         Likewise.
3185         * include/parallel/multiway_mergesort.h (parallel_sort_mwms_pu,
3186         parallel_sort_mwms): Likewise.
3187         * include/parallel/partial_sum.h (parallel_partial_sum_linear):
3188         Likewise.
3189         * testsuite/25_algorithms/sort/34095.cc: New.
3190
3191 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
3192
3193         * testsuite/25_algorithms/sort/34636.cc: Fix Copyright year.
3194
3195 2008-01-01  Paolo Carlini  <pcarlini@suse.de>
3196
3197         PR libstdc++/34636
3198         * include/parallel/algobase.h (lexicographical_compare_switch(...,
3199         random_access_iterator_tag, random_access_iterator_tag)): Careful
3200         with undereferenceable iterators.
3201         * testsuite/25_algorithms/sort/34636.cc: New.