OSDN Git Service

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