* libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
[people/dverkamp/gcc.git] / libstdc++-v3 / ChangeLog
1 2007-06-13  Richard Earnshaw  <rearnsha@arm.com>
2
3         * libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
4         exceptions.
5         * libsubpc++/eh_personality.cc: Don't try to set up foreign or
6         forced unwind types here when using the ARM EABI unwinder.
7
8 2007-06-13  Paolo Carlini  <pcarlini@suse.de>
9
10         * include/c_global/cmath: Tweak includes.
11         * include/std/memory: Likewise.
12         * include/std/complex: Likewise.
13         * include/tr1/memory: Likewise.
14         * include/tr1/complex: Likewise.
15         * include/tr1/cmath: Likewise; do not wrap special functions
16         in #ifndef __GXX_EXPERIMENTAL_CXX0X__.
17
18 2007-06-10  Benjamin Kosnik  <bkoz@redhat.com>
19
20         * testsuite/util/testsuite_performance.h: Add cstring include for
21         memset.
22
23 2007-06-08  Paolo Carlini  <pcarlini@suse.de>
24
25         * docs/html/install.html: Adjust consistently with libstdc++/31717.
26
27 2007-06-08  Francesco Palagi  <palagi@arcetri.astro.it>
28
29         * include/std/fstream: Add Table 92 in comment.
30
31 2007-06-06  Paolo Carlini  <pcarlini@suse.de>
32
33         PR libstdc++/32233
34         * include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
35         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
36         Adjust dg-error line.
37         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
38         Likewise.
39
40 2007-06-06  Benjamin Kosnik  <bkoz@redhat.com>
41             Frank Mori Hess  <frank.hess@nist.gov>
42         
43         * docs/html/debug.html: Correct link.
44
45 2007-06-02  Paolo Carlini  <pcarlini@suse.de>
46
47         * include/tr1_impl/type_traits (is_reference, add_reference,
48         remove_reference): Remove.
49         * include/tr1/type_traits (is_reference, add_reference,
50         remove_reference): Add.
51         * include/std/type_traits (is_lvalue_reference, is_rvalue_reference,
52         is_reference, remove_reference, add_lvalue_reference,
53         add_rvalue_reference): Add.
54         * include/tr1_impl/boost_shared_ptr.h (operator*): Adjust.
55         * testsuite/20_util/add_lvalue_reference/requirements/
56         explicit_instantiation.cc: New.
57         * testsuite/20_util/add_lvalue_reference/value.cc: Likewise.
58         * testsuite/20_util/add_rvalue_reference/requirements/
59         explicit_instantiation.cc: Likewise.
60         * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
61         * testsuite/20_util/is_lvalue_reference/requirements/
62         explicit_instantiation.cc: Likewise.
63         * testsuite/20_util/is_lvalue_reference/requirements/
64         typedefs.cc: Likewise.
65         * testsuite/20_util/is_lvalue_reference/value.cc: Likewise.
66         * testsuite/20_util/is_rvalue_reference/requirements/
67         explicit_instantiation.cc: Likewise.
68         * testsuite/20_util/is_rvalue_reference/requirements/
69         typedefs.cc: Likewise.
70         * testsuite/20_util/is_rvalue_reference/value.cc: Likewise.
71         * testsuite/20_util/is_reference/requirements/
72         explicit_instantiation.cc: Likewise.
73         * testsuite/20_util/is_reference/requirements/typedefs.cc: Likewise.
74         * testsuite/20_util/is_reference/value.cc: Likewise.
75         * testsuite/20_util/remove_reference/requirements/
76         explicit_instantiation.cc: New.
77         * testsuite/20_util/remove_reference/value.cc: Likewise.
78
79         * testsuite/tr1/4_metaprogramming/add_const/requirements/
80         typedefs.cc: Move...
81         * testsuite/tr1/4_metaprogramming/add_const/value.cc: ... here.
82         * testsuite/tr1/4_metaprogramming/add_cv/requirements/
83         typedefs.cc: Move...
84         * testsuite/tr1/4_metaprogramming/add_cv/value.cc: ... here.
85         * testsuite/tr1/4_metaprogramming/add_pointer/requirements/
86         typedefs.cc: Move...
87         * testsuite/tr1/4_metaprogramming/add_pointer/value.cc: ... here.
88         * testsuite/tr1/4_metaprogramming/add_reference/requirements/
89         typedefs.cc: Move...
90         * testsuite/tr1/4_metaprogramming/add_reference/value.cc: ... here.
91         * testsuite/tr1/4_metaprogramming/add_volatile/requirements/
92         typedefs.cc: Move...
93         * testsuite/tr1/4_metaprogramming/add_volatile/value.cc: ... here.
94         * testsuite/tr1/4_metaprogramming/aligned_storage/requirements/
95         typedefs.cc: Move...
96         * testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: ... here.
97
98 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
99
100         * configure: Regenerate.
101
102 2007-06-01  Benjamin Kosnik  <bkoz@redhat.com>
103         
104         * testsuite/19_diagnostics/logic_error/what-big.cc: New.
105         * testsuite/19_diagnostics/logic_error/what-3.cc: Same.
106         * testsuite/19_diagnostics/runtime_error/what-big.cc: Same.
107         * testsuite/19_diagnostics/runtime_error/what-3.cc: Same.
108
109         * testsuite/18_support/14493.cc: Break into...
110         * testsuite/18_support/exception/what.cc: ...this.
111         * testsuite/18_support/bad_cast/what.cc: ...this.
112         * testsuite/18_support/bad_alloc/what.cc: ...this.
113         * testsuite/18_support/bad_typeid/what.cc: ...this.
114         * testsuite/18_support/bad_exception/what.cc: ...this.
115
116         * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: Move...
117         * testsuite/18_support/bad_exception/23591_thread-1.c: ...here.
118
119         * testsuite/18_support/14026.cc: Move...
120         * testsuite/18_support/uncaught_exception/14026.cc: ...here.
121
122 2007-06-01  Benjamin Kosnik  <bkoz@redhat.com>
123
124         * include/ext/throw_allocator.h (__throw_allocator::allocate):
125         Throw bad_alloc for out of memory conditions.   
126         * testsuite/ext/throw_allocator/deallocate_global.cc: New.
127         * testsuite/ext/throw_allocator/check_delete.cc: Same.
128         * testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same.
129         * testsuite/ext/throw_allocator/check_deallocate_null.cc: Same.
130         * testsuite/ext/throw_allocator/explicit_instantiation.cc: Same.
131         * testsuite/ext/throw_allocator/check_new.cc: Same.
132         * testsuite/ext/throw_allocator/deallocate_local.cc: Same.
133
134 2007-05-31  Paolo Carlini  <pcarlini@suse.de>
135
136         PR libstdc++/31426
137         * include/bits/c++config: Remove namespace association bits
138         from tr1 to std.
139
140         * include/ext/type_traits.h (__promote, __promote2,
141         __promote3, __promote4): Add.
142
143         * include/bits/hashtable.h: New.
144         * include/bits/functional_hash.h: Likewise.
145         * include/tr1/hashtable.h: Likewise.
146
147         * include/tr1_impl/random: New.
148         * include/tr1_impl/cinttypes: Likewise.
149         * include/tr1_impl/cstdlib: Likewise.
150         * include/tr1_impl/unordered_map: Likewise.
151         * include/tr1_impl/cstdio: Likewise.
152         * include/tr1_impl/boost_shared_ptr.h: Likewise.
153         * include/tr1_impl/cctype: Likewise.
154         * include/tr1_impl/random.tcc: Likewise.
155         * include/tr1_impl/tuple: Likewise.
156         * include/tr1_impl/functional_hash.h: Likewise.
157         * include/tr1_impl/hashtable: Likewise.
158         * include/tr1_impl/cmath: Likewise.
159         * include/tr1_impl/type_traitsfwd.h: Likewise.
160         * include/tr1_impl/hashtable_policy.h: Likewise.
161         * include/tr1_impl/cfenv: Likewise.
162         * include/tr1_impl/unordered_set: Likewise.
163         * include/tr1_impl/functional: Likewise.
164         * include/tr1_impl/utility: Likewise.
165         * include/tr1_impl/complex: Likewise.
166         * include/tr1_impl/type_traits: Likewise.
167         * include/tr1_impl/cwchar: Likewise.
168         * include/tr1_impl/cstdint: Likewise.
169         * include/tr1_impl/regex: Likewise.
170         * include/tr1_impl/array: Likewise.
171         * include/tr1_impl/cwctype: Likewise.
172
173         * include/tr1/type_traitsfwd.h: Remove.
174         * include/tr1/boost_shared_ptr.h: Likewise.
175         * include/tr1/common.h: Likewise.
176         * include/tr1/hashtable: Likewise.
177         * include/tr1/hashtable_policy.h: Likewise.
178         * include/tr1/random.tcc: Likewise.
179
180         * include/c_global/cinttypes: Include tr1_impl/cinttypes.
181         * include/c_global/cstdlib: Likewise for cstdlib.
182         * include/c_global/cstdio: Likewise for cstdio.
183         * include/c_global/cctype: Likewise for cctype.
184         * include/c_global/cmath: Likewise for cmath.
185         * include/c_global/cfenv: Likewise for cfenv.
186         * include/c_global/cwchar: Likewise for cwchar.
187         * include/c_global/cstdint: Likewise for cstdint.
188         * include/c_global/cwctype: Likewise for cwctype.
189         * include/tr1/cinttypes: Likewise for cinttypes.
190         * include/tr1/cstdlib: Likewise for cstdlib.
191         * include/tr1/cstdio: Likewise for cstdio.
192         * include/tr1/cctype: Likewise for cctype.
193         * include/tr1/cmath: Likewise for cmath.
194         * include/tr1/cfenv: Likewise for cfenv.
195         * include/tr1/cwchar: Likewise for cwchar.
196         * include/tr1/cstdint: Likewise for cstdint.
197         * include/tr1/cwctype: Likewise for cwctype.
198         * include/tr1/functional_hash.h: Likewise for functional_hash.
199
200         * include/std/tuple: Include tr1_impl/tuple.
201         * include/std/utility: Likewise for utility.
202         * include/std/type_traits: Likewise for type_traits.
203         (is_pod): Just forward to __is_pod.
204         (has_trivial_default_constructor): Just forward to
205         __has_trivial_constructor.
206         (has_trivial_copy_constructor): Just forward to __has_trivial_copy.
207         (has_trivial_assign): Just forward to __has_trivial_assign.
208         (has_trivial_destructor): Just forward to __has_trivial_destructor.
209         (has_nothrow_default_constructor): Just forward to
210         __has_nothrow_constructor.
211         (has_nothrow_copy_constructor): Just forward to __has_nothrow_copy.
212         (has_nothrow_assign): Just forward to __has_nothrow_assign.
213         (is_base_of): Just forward to __is_base_of.
214         (is_signed, is_unsigned): Implement according to the C++0x
215         specifications.
216         * include/std/memory: Likewise for memory.
217         * include/std/regex: Likewise for regex.
218         * include/std/random: Likewise for random.
219         * include/std/unordered_map: Likewise for unordered_map.
220         * include/std/unordered_set: Likewise for unordered_set.
221         * include/std/functional: Likewise for functional.
222         * include/std/complex: Likewise for complex.
223         * include/std/array: Likewise for array.
224         * include/tr1/tuple: Likewise for tuple.
225         * include/tr1/utility: Likewise for utility.
226         * include/tr1/type_traits: Likewise for type_traits
227         * include/tr1/memory: Likewise for memory.
228         * include/tr1/regex: Likewise for regex.
229         * include/tr1/random: Likewise for random.
230         * include/tr1/unordered_map: Likewise for unordered_map.
231         * include/tr1/unordered_set: Likewise for unordered_set.
232         * include/tr1/functional: Likewise for functional.
233         * include/tr1/complex: Likewise for complex.
234         * include/tr1/array: Likewise for array.
235
236         * include/c_global/ctgmath: Tweak.
237         * include/c_global/cstdarg: Likewise.
238         * include/c_global/ctime: Likewise.
239         * include/c_global/climits: Likewise.
240         * include/c_global/cfloat: Likewise.    
241         * include/c_global/ccomplex: Likewise.
242         * include/c_global/cstdbool: Likewise.
243
244         * include/tr1/poly_laguerre.tcc: Tweak, don't use _GLIBCXX_TR1.
245         * include/tr1/riemann_zeta.tcc: Likewise.
246         * include/tr1/beta_function.tcc: Likewise.
247         * include/tr1/exp_integral.tcc: Likewise.
248         * include/tr1/hypergeometric.tcc: Likewise.
249         * include/tr1/modified_bessel_func.tcc: Likewise.
250         * include/tr1/legendre_function.tcc: Likewise.
251         * include/tr1/special_function_util.h: Likewise.
252         * include/tr1/bessel_function.tcc: Likewise.
253         * include/tr1/poly_hermite.tcc: Likewise.
254         * include/tr1/ell_integral.tcc: Likewise.
255         * include/tr1/gamma.tcc: Likewise.
256         * include/tr1/stdlib.h: Likewise.
257         * include/tr1/math.h: Likewise.
258
259         * include/tr1/complex.h: Minor tweaks.
260         * include/tr1/wctype.h: Likewise.
261         * include/tr1/wchar.h: Likewise.
262         * include/tr1/inttypes.h: Likewise.
263         * include/tr1/tgmath.h: Likewise.
264         * include/tr1/cstdbool: Likewise.
265         * include/tr1/cfloat: Likewise.
266         * include/tr1/ccomplex: Likewise.
267         * include/tr1/ctime: Likewise.
268         * include/tr1/climits: Likewise.
269         * include/tr1/ctgmath: Likewise.
270         * include/tr1/cstdarg: Likewise.
271
272         * testsuite/tr1/headers.cc: Move...
273         * testsuite/tr1/headers/all.cc: ... here.
274         * testsuite/tr1/using_namespace_std_tr1.cc: Move...
275         * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: ... here.
276         * testsuite/tr1/headers/using_namespace_std_tr1.cc ... here.
277         * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: New.
278
279         * testsuite/20_util/tuple/requirements/explicit_instantiation.cc:
280         Adjust namespace.
281         * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Adjust to
282         the C++0x requirements.
283         * testsuite/20_util/has_nothrow_default_constructor/value.cc: Likewise.
284         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
285         * testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise.
286
287         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
288         dg-error lines.
289         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
290         Likewise.
291         * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
292         Un-xfail.
293
294         * testsuite/20_util/is_signed/value.cc: New.
295         * testsuite/20_util/is_signed/requirements/typedefs.cc: Likewise.
296         * testsuite/20_util/is_signed/requirements/explicit_instantiation.cc:
297         Likewise.
298         * testsuite/20_util/is_unsigned/value.cc: Likewise..
299         * testsuite/20_util/is_unsigned/requirements/typedefs.cc: Likewise.
300         * testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc:
301         Likewise.
302
303         * include/Makefile.am: Adjust.  
304         * include/Makefile.in: Regenerate.
305
306 2007-05-31  Paolo Carlini  <pcarlini@suse.de>
307
308         PR c++/32158 (libstdc++ bits)
309         * include/bits/stl_uninitialized.h (__uninitialized_copy_aux,
310         __uninitialized_fill_aux, __uninitialized_fill_n_aux):
311         Remove.
312         (struct __uninitialized_copy, struct __uninitialized_fill,
313         struct __uninitialized_fill_n): Add.
314         (uninitialized_copy, uninitialized_fill, uninitialized_fill_n):
315         Adjust.
316         * testsuite/20_util/specialized_algorithms/32158.cc: New.
317
318         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
319         _InputIterator, _ForwardIterator)): Robustify vs non-POD input.
320
321         * include/bits/stl_vector.h (_M_fill_initialize): New.
322         (vector(size_type, const value_type&, const allocator_type&),
323         _M_initialize_dispatch(_Integer, _Integer, __true_type)): Use it.
324         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
325         Adjust dg-error line.
326         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
327         Likewise.
328         * testsuite/23_containers/vector/requirements/dr438/
329         constructor_1_neg.cc: Likewise.
330         * testsuite/23_containers/vector/requirements/dr438/
331         constructor_2_neg.cc: Likewise.
332
333 2007-05-29  Paolo Carlini  <pcarlini@suse.de>
334
335         * aclocal.m4: Regenerate.
336
337         * testsuite/17_intro/headers/c++1998/c++_for_c.tar: Remove.
338         * testsuite/17_intro/headers/c++1998/c++.tar: Likewise.
339
340 2007-05-28  Benjamin Kosnik  <bkoz@redhat.com>
341
342         PR libstdc++/31717 
343         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Re-organize. Sanity check
344         gnu locale model requests to make sure it will work for the requested
345         target. Add checks for strxfrm_l, strerror_l when in gnu locale,
346         and strerror_r everywhere.
347         * aclocal.m4: Regenerated.
348         * configure: Regenerated.
349         * config.h.in: Regenerated.
350         
351 2007-05-27  Paolo Carlini  <pcarlini@suse.de>
352
353         * include/tr1/boost_shared_ptr.h
354         (_Sp_counted_base<_S_mutex>::_M_add_ref_lock()): Do not wrap in
355         #ifdef __GTHREADS.
356
357 2007-05-27  Paolo Carlini  <pcarlini@suse.de>
358
359         * include/c_global/cwchar: Do not include <ctime>.
360         * include/c_std/cwchar: Likewise.
361         * include/ext/throw_allocator.h: Do it here.
362         
363 2007-05-25  Paolo Carlini  <pcarlini@suse.de>
364
365         * config/locale/gnu/c_locale.h (__convert_from_v): Fix typo.
366
367 2007-05-24  Paolo Carlini  <pcarlini@suse.de>
368
369         * include/ext/concurrence.h: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_*.
370
371 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
372
373         * Makefile.in: Regenerate.
374         * configure: Regenerate.
375         * aclocal.m4: Regenerate.
376         * include/Makefile.in: Regenerate.
377         * libmath/Makefile.in: Regenerate.
378         * libsupc++/Makefile.in: Regenerate.
379         * po/Makefile.in: Regenerate.
380         * src/Makefile.in: Regenerate.
381         * testsuite/Makefile.in: Regenerate.
382
383 2007-05-24  Paolo Carlini  <pcarlini@suse.de>
384
385         * config/locale/gnu/c_locale.h (__convert_from_v): Only switch to the
386         "C" locale if the current one isn't already "C" (for old glibcs).
387         * config/os/gnu-linux/ctype_noninline.h (ctype<char>::classic_table,
388         ctype<char>::ctype(__c_locale, const mask*, bool, size_t),
389         ctype<char>::ctype(const mask*, bool, size_t)): Likewise, for generic
390         locale model.
391         * config/locale/gnu/messages_members.h
392         (messages<>::messages(__c_locale, const char*, size_t),
393         messages_byname<_CharT>::messages_byname(const char*, size_t)):
394         Only dynamically allocate memory if __s != "C".
395         * config/locale/gnu/time_members.h
396         (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
397         Likewise.
398         * config/locale/generic/time_members.h
399         (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
400         Likewise.
401
402         * testsuite/util/testsuite_allocator.h: Revert last change.
403
404 2007-05-22  Paolo Carlini  <pcarlini@suse.de>
405
406         * testsuite/util/testsuite_allocator.h (check_new): Assign false
407         to new_called.
408         (check_delete): Likewise for delete_called.
409
410 2007-05-21  Paolo Carlini  <pcarlini@suse.de>
411
412         * config/locale/gnu/c_locale.h: Do not include <cstdarg>, use builtins.
413         * config/locale/generic/c_locale.h: Likewise.
414
415 2007-05-21  Paolo Carlini  <pcarlini@suse.de>
416
417         PR libstdc++/31621
418         * acinclude.m4 ([GLIBCXX_CHECK_LINKER_FEATURES]): Use the C compiler.
419         * configure: Regenerate.
420
421 2007-05-20  Paolo Carlini  <pcarlini@suse.de>
422
423         * include/bits/stl_algo.h: Shuffle the functions to better match the
424         order in the standard.
425
426 2007-05-17  Paolo Carlini  <pcarlini@suse.de>
427
428         * config/locale/gnu/c_locale.h: Do not include <libintl.h>.
429         * config/locale/gnu/messages_members.h: Do it here.
430         
431         * config/locale/gnu/c_locale.h: Do not include <cstdio>, use
432         the builtins.
433         * config/locale/generic/c_locale.h: Likewise.
434
435 2007-05-17  Benjamin Kosnik  <bkoz@redhat.com>
436
437         * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add -g to
438         compile flags, move code to test to global scope.
439         * configure: Regenerate.
440         
441 2007-05-17  Benjamin Kosnik  <bkoz@redhat.com>
442
443         * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: 
444         Fix dg bits.
445         * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same.
446
447 2007-05-17  Paolo Carlini  <pcarlini@suse.de>
448
449         * include/bits/stl_algobase.h (mismatch): Move...
450         * include/bits/stl_algo.h: ... here.
451
452 2007-05-17  Benjamin Kosnik  <bkoz@redhat.com>
453
454         * include/tr1/cmath: Guard special math with
455         __GXX_EXPERIMENTAL_CXX0X__.
456         * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc:
457         Remove xfail.
458
459 2007-05-17  Paolo Carlini  <pcarlini@suse.de>
460
461         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid
462         unnecessary casts, do widenings just in time.
463
464 2007-05-16  Benjamin Kosnik  <bkoz@redhat.com>
465
466         * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function
467         to the test code compiled with -ffunction-sections -fdata-sections.
468         * configure: Regenerate.
469
470         * testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove
471         _GLIBCXX_USE_WCHAR_T guards as superfluous.
472         
473         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add
474         _GLIBCXX_USE_WCHAR_T guards.    
475         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
476         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
477         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
478
479         * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: 
480         Add.
481         * testsuite/21_strings/char_traits/typedefs/char/1.cc: Move...
482         * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: 
483         ...here.
484         * testsuite/21_strings/char_traits/typedefs: Remove.
485         * testsuite/21_strings/char_traits/typedefs/char: Remove.
486         
487 2007-05-16  Benjamin Kosnik  <bkoz@redhat.com>  
488
489         * docs/html/abi.html: Update for gcc-4.1.2 and gcc-4.2.0.
490         
491 2007-05-14  Kaz Kojima  <kkojima@gcc.gnu.org>
492
493         * testsuite/tr1/5_numerical_facilities/special_functions/
494         17_hyperg/check_nan.cc: Add -mieee for sh.
495
496 2007-05-14  Paolo Carlini  <pcarlini@suse.de>
497
498         * testsuite/util/testsuite_io.h: Only include <ios>.
499
500 2007-05-14  Paolo Carlini  <pcarlini@suse.de>
501
502         * include/bits/allocator.h: Do not include cpp_type_traits.h.
503
504 2007-05-14  Paolo Carlini  <pcarlini@suse.de>
505
506         * include/bits/postypes.h (class fpos<>): Remove redundant forward
507         declaration.
508
509 2007-05-13  Paolo Carlini  <pcarlini@suse.de>
510
511         * include/bits/stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.
512
513 2007-05-13  Paolo Carlini  <pcarlini@suse.de>
514
515         * include/tr1/type_traitsfwd.h: Fix include guard typo.
516
517 2007-05-11  Paolo Carlini  <pcarlini@suse.de>
518
519         * include/ext/pod_char_traits.h (char_traits<>::move):
520         Use __builtin_memmove.
521         * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name,
522         collate_byname(const char*, size_t)): Use __builtin_strcmp.
523         * include/bits/locale_facets.h: Use __builtin_mem* and
524         __builtin_str* everywhere.
525         * include/bits/codecvt.h (codecvt_byname(const char*, size_t)):
526         Use __builtin_strcmp.
527         * include/bits/char_traits.h: Use __builtin_mem* everywhere.
528         * include/bits/fstream.tcc (basic_filebuf<>::underflow, imbue):
529         Use __builtin_memcpy and __builtin_memmove.
530         * include/bits/locale_facets_nonio.h (moneypunct_byname(const char*,
531         size_t __refs)): Use __builtin_strcmp.
532         * include/std/bitset (bitset<>::_M_do_reset): Use __builtin_memset.
533         * config/locale/gnu/c_locale.h: Use __builtin_strlen, __builtin_strcmp,
534         and __builtin_memcpy.
535         * config/locale/gnu/messages_members.h: Likewise.
536         * config/locale/gnu/time_members.h: Likewise.
537         * config/locale/generic/c_locale.h: Likewise.
538         * config/locale/generic/messages_members.h: Likewise.
539         * config/locale/generic/time_members.h: Likewise.
540         * config/os/gnu-linux/ctype_noninline.h: Likewise, avoid strdup.
541         * config/os/tpf/ctype_noninline.h: Likewise.
542         * config/locale/generic/codecvt_members.cc: Include <cstring>. 
543         * config/locale/generic/ctype_members.cc: Likewise.
544         * config/locale/generic/collate_members.cc: Likewise.
545         * config/locale/gnu/c++locale_internal.h: Likewise.
546         * config/locale/darwin/ctype_members.cc: Likewise.
547         * src/ctype.cc: Likewise.
548         * testsuite/19_diagnostics/logic_error/what-1.cc: Likewise.
549         * testsuite/19_diagnostics/logic_error/what-2.cc: Likewise.
550         * testsuite/19_diagnostics/runtime_error/what-1.cc: Likewise.
551         * testsuite/19_diagnostics/runtime_error/what-2.cc: Likewise.
552         * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
553         * config/locale/gnu/messages_members.cc: Avoid strdup.
554         * config/locale/gnu/monetary_members.cc: Likewise.
555         * config/locale/gnu/time_members.cc: Likewise.  
556         * config/locale/gnu/time_members.cc: Likewise.
557         * config/locale/generic/c_locale.cc: Likewise.
558
559 2007-05-11  Benjamin Kosnik  <bkoz@redhat.com>
560
561         * include/std/stdexcept: Remove extra spacing.
562
563         * testsuite/19_diagnostics/stdexceptions.cc: Break into...
564         * testsuite/19_diagnostics/bad_exception: ...this. Populate.
565         * testsuite/19_diagnostics/logic_error: ... this.
566         * testsuite/19_diagnostics/logic_error/what-1.cc: ...this.
567         * testsuite/19_diagnostics/logic_error/what-2.cc: ...this.
568         * testsuite/19_diagnostics/runtime_error: ...this.
569         * testsuite/19_diagnostics/runtime_error/what-1.cc: ...this.
570         * testsuite/19_diagnostics/runtime_error/what-2.cc: ...this.
571         * testsuite/19_diagnostics/runtime_error/what-3.cc: ...this.
572         * testsuite/19_diagnostics/23591_thread-1.c: Move...
573         * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: ...here.
574
575 2007-05-10  Paolo Carlini  <pcarlini@suse.de>
576
577         * 27_io/objects/wchar_t/11.cc: Include <cstring>.
578         * 27_io/objects/wchar_t/10.cc: Likewise.
579         * 27_io/objects/wchar_t/12.cc: Likewise.
580         * 27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise.
581         * 27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
582         * 27_io/basic_streambuf/overflow/char/1.cc: Likewise.
583         * 27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
584         * 27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
585         * 27_io/basic_streambuf/sputn/char/1.cc: Likewise.
586         * 27_io/basic_ios/cons/char/3.cc: Likewise.
587         * 27_io/basic_stringbuf/setbuf/char/2.cc: Likewise.
588         * 27_io/basic_stringbuf/setbuf/char/3.cc: Likewise.
589         * 27_io/basic_stringbuf/setbuf/char/4.cc: Likewise.
590         * 27_io/basic_istream/extractors_character/char/4.cc: Likewise.
591         * 27_io/fpos/mbstate_t/1.cc: Likewise.
592         * 27_io/basic_filebuf/setbuf/char/2.cc: Likewise.
593         * 27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
594         * 25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise.
595         * 25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise.
596         * 19_diagnostics/stdexceptions.cc: Likewise.
597         * 21_strings/char_traits/requirements/short/1.cc: Likewise.
598         * 21_strings/basic_string/compare/char/1.cc: Likewise.
599         * 21_strings/basic_string/capacity/1.cc: Likewise.
600         * ext/codecvt/char-1.cc: Likewise.
601         * ext/codecvt/char-2.cc: Likewise.
602         * ext/codecvt/1.cc: Likewise.
603         * ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
604         * ext/stdio_sync_filebuf/char/1.cc: Likewise.
605         * ext/stdio_filebuf/char/2.cc: Likewise.
606         * ext/stdio_filebuf/char/10063-1.cc: Likewise.
607         * 22_locale/ctype/narrow/char/19955.cc: Likewise.
608         * 22_locale/codecvt/unshift/wchar_t/1.cc: Likewise.
609         * 22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
610         * 22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
611         * 22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
612         * 22_locale/codecvt/unshift/char/1.cc: Likewise.
613         * 22_locale/codecvt/length/wchar_t/1.cc: Likewise.
614         * 22_locale/codecvt/length/wchar_t/2.cc: Likewise.
615         * 22_locale/codecvt/length/wchar_t/3.cc: Likewise.
616         * 22_locale/codecvt/length/wchar_t/4.cc: Likewise.
617         * 22_locale/codecvt/length/wchar_t/5.cc: Likewise.
618         * 22_locale/codecvt/length/wchar_t/6.cc: Likewise.
619         * 22_locale/codecvt/length/wchar_t/7.cc: Likewise.
620         * 22_locale/codecvt/always_noconv/char/1.cc: Likewise.
621         * 22_locale/codecvt/encoding/char/1.cc: Likewise.
622         * 22_locale/codecvt/in/wchar_t/1.cc: Likewise.
623         * 22_locale/codecvt/in/wchar_t/2.cc: Likewise.
624         * 22_locale/codecvt/in/wchar_t/3.cc: Likewise.
625         * 22_locale/codecvt/in/wchar_t/4.cc: Likewise.
626         * 22_locale/codecvt/in/wchar_t/5.cc: Likewise.
627         * 22_locale/codecvt/in/wchar_t/6.cc: Likewise.
628         * 22_locale/codecvt/in/wchar_t/7.cc: Likewise.
629         * 22_locale/codecvt/in/wchar_t/8.cc: Likewise.
630         * 22_locale/codecvt/in/wchar_t/9.cc: Likewise.
631         * 22_locale/codecvt/in/char/1.cc: Likewise.
632         * 22_locale/codecvt/max_length/char/1.cc: Likewise.
633         * 22_locale/codecvt/out/wchar_t/1.cc: Likewise.
634         * 22_locale/codecvt/out/wchar_t/2.cc: Likewise.
635         * 22_locale/codecvt/out/wchar_t/3.cc: Likewise.
636         * 22_locale/codecvt/out/wchar_t/4.cc: Likewise.
637         * 22_locale/codecvt/out/wchar_t/5.cc: Likewise.
638         * 22_locale/codecvt/out/wchar_t/6.cc: Likewise.
639         * 22_locale/codecvt/out/wchar_t/7.cc: Likewise.
640         * 22_locale/codecvt/out/char/1.cc: Likewise.
641         * 22_locale/locale/cons/5.cc: Likewise.
642         * 22_locale/collate_byname/named_equivalence.cc: Likewise.
643
644 2007-05-07  Mark Mitchell  <mark@codesourcery.com>
645
646         * libstdc++-v3/libsupc++/cxxabi.h (_GLIBCXX_NOTHROW): New macro.
647         (__cxa_atexit): Use it.
648
649         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For
650         installed-tree testing, search more include directories.
651
652 2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
653
654         * include/std/type_traits (make_signed): Remove specializations
655         for floating point types.
656         (make_unsigned): Same.
657         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Fix.
658         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Same.
659         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
660         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
661         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
662         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
663         
664 2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
665
666         * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New.
667
668 2007-05-08  Jason Merrill  <jason@redhat.com>
669
670         * libsupc++/cxxabi-internal.h: Remove, to be replaced by...
671         * libsupc++/cxxabi-forced.h: ...this new file.
672         * include/ext/vstring.tcc: Include cxxabi-forced.h instead.
673         * include/bits/istream.tcc: Likewise.
674         * include/bits/ostream.tcc: Likewise.
675         * include/bits/basic_string.tcc: Likewise.
676         * include/bits/ostream_insert.h: Likewise.
677         * include/bits/fstream.tcc: Likewise.
678         * include/std/bitset: Likewise.
679         * libsupc++/cxxabi.h: Restore previous contents.
680         * Makefile.am (headers): Add cxxabi-forced.h.
681         * Makefile.in: Regenerate.
682
683 2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
684
685         * testsuite/util/testsuite_abi.cc: Add CXXABI_1.3.2.
686
687         * libsupc++/cxxabi-internal.h (__foreign_exception::__pure): To
688         __pure_virtual.
689
690 2007-05-07  Jason Merrill  <jason@redhat.com>
691
692         * include/bits/ostream.tcc (operator<<(char*)): Add __s.
693
694         * config/abi/pre/gnu.ver: Fix symbol versions.
695         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
696
697 2007-05-07  Danny Smith  <dannysmith@users.sourceforge.net>
698
699         * config/os/mingw32/os_defines.h (NOMINMAX): Update comment.
700
701 2007-05-07  Jason Merrill  <jason@redhat.com>
702
703         PR c++/28145
704         * libsupc++/cxxabi.h (__forced_unwind, __foreign_exception):
705         New classes.
706         * libsupc++/eh_exception.cc: Define their destructors.
707         * config/abi/pre/gnu.ver: Export their type_infos.
708         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
709         * libsupc++/eh_personality.cc: A handler for abi::__forced_unwind
710         matches a forced unwind, and a handler for abi::__foreign_exception
711         matches a foreign exception.
712         
713         * include/bits/istream.tcc: Rethrow forced unwind.
714         * include/bits/ostream.tcc: Likewise.
715         * include/bits/ostream_insert.h: Likewise.
716         * include/bits/basic_string.tcc (operator>>, getline): Likewise.
717         * include/bits/fstream.tcc (basic_filebuf::close): Likewise.
718         * include/ext/vstring.cc (operator>>, getline): Likewise.
719         * src/istream.cc: Likewise.
720         * src/compatibility.cc (basic_istream::ignore): Likewise.
721         * include/std/bitset (operator>>): Likewise.
722         * include/std/fstream (basic_filebuf::close): Remove throw() spec.
723         * libsupc++/cxxabi-internal.h: Split out from...
724         * libsupc++/cxxabi.h: ...here.
725
726 2007-05-07  Paolo Carlini  <pcarlini@suse.de>
727
728         * include/bits/stl_algobase.h: Do not include <cstring>.
729         (copy(const _Tp*, const _Tp*, _Tp*), __copy_b(const _Tp*, const _Tp*,
730         _Tp*)): Use __builtin_memmove.
731         (__fill_aux): Use __builtin_memset.
732         (equal(const _Tp*, const _Tp*, const _Tp*),
733         lexicographical_compare(const unsigned char*, const unsigned char*,
734         const unsigned char*, const unsigned char*)): Use __builtin_memcmp.
735         * include/bits/valarray_array.h: Do not include <cstring>.
736         (_Array_default_ctor<, true>::_S_do_it): Use __builtin_memset.
737         (_Array_copy_ctor<, true>::_S_do_it, _Array_copier<, true>::_S_do_it):
738         Use __builtin_memcpy.
739         * include/ext/algorithm
740         (__lexicographical_compare_3way(const unsigned char*,
741         const unsigned char*, const unsigned char*, const unsigned char*)):
742         Use __builtin_memcmp.
743         * testsuite/23_containers/vector/requirements/dr438/
744         constructor_1_neg.cc: Adjust dg-error line number.
745         * testsuite/23_containers/vector/requirements/dr438/
746         constructor_2_neg.cc: Likewise.
747
748 2007-05-07  Mark Mitchell  <mark@codesourcery.com>
749
750         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For
751         installed-tree testing, search more include directories.
752
753         * testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
754         2.10.
755         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
756
757         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In
758         installed-tree testing, use "remote_exec host", not "remote_exec
759         exec".  Trip trailing newlines from output of -dumpversion and
760         -dumpmachine.
761
762 2007-05-07  Benjamin Kosnik  <bkoz@redhat.com>
763             Howard Hinnant  <hhinnant@apple.com>
764
765         * include/std/type_traits: (make_signed, make_unsigned): Adjust
766         for enum sizes. 
767         * testsuite/20_util/make_unsigned/requirements/typedefs.cc: Move to...
768         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: ...here.
769         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Add,
770         compile with -funsigned-char -fshort-enums.
771         * testsuite/20_util/make_signed/requirements/typedefs.cc: Move to...
772         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: ...here.
773         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Add,
774         compile with -funsigned-char -fshort-enums.
775
776         * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
777         Add a temporary xfail to this test for all platforms.
778         
779 2007-05-06  Paolo Carlini  <pcarlini@suse.de>
780
781         * include/std/complex: Add missing extern template declarations.
782         * testsuite/26_numerics/complex/complex_inserters_extractors.cc:
783         Move...
784         * testsuite/26_numerics/complex/inserters_extractors/char/1.cc:
785         ... here.
786         * testsuite/26_numerics/complex/inserters_extractors/wchar_t/1.cc:
787         New.
788
789 2007-05-06  Paolo Carlini  <pcarlini@suse.de>
790
791         PR libstdc++/31834
792         * testsuite/17_intro/headers/c++200x/all.cc: Protect inclusion
793         of C99 headers.
794         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
795         Likewise.
796
797 2007-05-06  Paolo Carlini  <pcarlini@suse.de>
798
799         * config/locale/generic/c_locale.cc: Don't use __builtin_huge_val*
800         when __*_HAS_INFINITY__ is false.
801
802 2007-05-04  Paolo Carlini  <pcarlini@suse.de>
803
804         * include/bits/stl_raw_storage_iter.h (class raw_storage_iterator):
805         Adjust template parameter name.
806
807 2007-05-04  Mark Mitchell  <mark@codesourcery.com>
808
809         * libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception
810         specification on #ifdef __cplusplus.
811         
812 2007-05-04  Paolo Carlini  <pcarlini@suse.de>
813
814         * include/bits/stl_memory.h: Rename to stl_auto_ptr.h.
815         (__get_temporary_buffer, get_temporary_buffer,
816         return_temporary_buffer): Move...
817         * include/bits/stl_tempbuf.h: ... here.
818         * include/std/memory: Adjust includes.
819         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line
820         numbers.
821         * include/Makefile.am: Adjust.
822         * include/Makefile.in: Regenerate.
823
824         * testsuite/util/testsuite_iterators.h: Do not include the entire
825         <iterator>.
826         * include/bits/stl_iterator_base_types.h: Adjust includes.
827         * testsuite/25_algorithms/unique_copy/2.cc: Include <functional>.
828
829 2007-05-04  Mark Mitchell  <mark@codesourcery.com>
830
831         * libsupc++/atexit_arm.cc: New file.
832         * libsupc++/vec.cc (__aeabi_atexit): Remove.
833         * libsupc++/cxxabi.h (__cxa_atexit): Add exception specification.
834
835         * libsupc++/Makefile.am: Add atexit_arm.cc.
836         * libsupc++/Makefile.in: Regenerated.
837
838 2007-05-04  Paolo Carlini  <pcarlini@suse.de>
839
840         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
841         _ForwardIterator __last, _Allocator)): Change the last parameter
842         to _Allocator&.
843         * include/bits/stl_uninitialized.h (__uninitialized_copy_a,
844         __uninitialized_fill_a, __uninitialized_fill_n_a,
845         __uninitialized_fill_copy, __uninitialized_copy_fill,
846         __uninitialized_copy_copy): Likewise.
847         * include/ext/rope: Adjust everywhere.
848         * include/ext/ropeimpl.h: Likewise.
849
850 2007-05-03  Benjamin Kosnik  <bkoz@redhat.com>
851
852         * include/std/type_traits (enable_if): New.
853         (conditional): New.
854         (__decay_selector, decay): New.
855         (__cv_selector, __match_cv_qualifiers): New.
856         (__make_unsigned, __make_unsigned_selector, make_unsigned): New.
857         (__make_signed, __make_signed_selector, make_signed): New.
858         (has_trivial_constructor): ... to has_trivial_default_constructor.
859         (has_nothrow_constructor): ... to has_nothrow_default_constructor.
860         (has_trivial_copy): ... to has_trivial_copy_constructor.
861         (has_nothrow_copy): ... to has_nothrow_copy_constructor.
862
863         * include/tr1/type_traits_fwd: Move to...
864         * include/tr1/type_traitsfwd: ... this, consistency with
865         ios/string/locale forward headers.
866         * include/tr1/type_traits: Adjust include.      
867         * include/Makefile.am (tr1_headers): Change type_traits_fwd.h to
868         type_traitsfwd.h.
869         * include/Makefile.in: Regenerate.
870
871         * testsuite/23_containers/tuple: Move...
872         * testsuite/20_util/tuple:... here.
873
874         * testsuite/20_util/conditional: New.
875         * testsuite/20_util/conditional/requirements: Same.
876         * testsuite/20_util/conditional/requirements/
877         explicit_instantiation.cc: Same.
878         * testsuite/20_util/conditional/requirements/typedefs.cc: Same.
879         * testsuite/20_util/decay: Same.
880         * testsuite/20_util/decay/requirements: Same.
881         * testsuite/20_util/decay/requirements/explicit_instantiation.cc: Same.
882         * testsuite/20_util/decay/requirements/typedefs.cc: Same.
883         * testsuite/20_util/enable_if: Same.
884         * testsuite/20_util/enable_if/requirements: Same.
885         * testsuite/20_util/enable_if/requirements/
886         explicit_instantiation.cc: Same.
887         * testsuite/20_util/enable_if/requirements/typedefs.cc: Same.
888         * testsuite/20_util/enable_if/requirements/typedefs_neg.cc: Same.
889         * testsuite/20_util/has_nothrow_copy_constructor: Same.
890         * testsuite/20_util/has_nothrow_copy_constructor/requirements: Same.
891         * testsuite/20_util/has_nothrow_copy_constructor/requirements/
892         explicit_instantiation.cc: Same.
893         * testsuite/20_util/has_nothrow_copy_constructor/requirements/
894         typedefs.cc: Same.
895         * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Same.
896         * testsuite/20_util/has_nothrow_default_constructor: Same.
897         * testsuite/20_util/has_nothrow_default_constructor/requirements: Same.
898         * testsuite/20_util/has_nothrow_default_constructor/requirements/
899         explicit_instantiation.cc: Same.
900         * testsuite/20_util/has_nothrow_default_constructor/requirements/
901         typedefs.cc: Same.
902         * testsuite/20_util/has_nothrow_default_constructor/value.cc: Same.
903         * testsuite/20_util/has_trivial_copy_constructor: Same.
904         * testsuite/20_util/has_trivial_copy_constructor/requirements: Same.
905         * testsuite/20_util/has_trivial_copy_constructor/requirements/
906         explicit_instantiation.cc: Same.
907         * testsuite/20_util/has_trivial_copy_constructor/requirements/
908         typedefs.cc: Same.
909         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Same.
910         * testsuite/20_util/has_trivial_default_constructor: Same.
911         * testsuite/20_util/has_trivial_default_constructor/requirements: Same.
912         * testsuite/20_util/has_trivial_default_constructor/requirements/
913         explicit_instantiation.cc: Same.
914         * testsuite/20_util/has_trivial_default_constructor/requirements/
915         typedefs.cc: Same.
916         * testsuite/20_util/has_trivial_default_constructor/value.cc: Same.
917         * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Same.
918         * testsuite/20_util/make_signed: Same.
919         * testsuite/20_util/make_signed/requirements: Same.
920         * testsuite/20_util/make_signed/requirements/
921         explicit_instantiation.cc: Same.
922         * testsuite/20_util/make_signed/requirements/typedefs.cc: Same.
923         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
924         * testsuite/20_util/make_unsigned: Same.
925         * testsuite/20_util/make_unsigned/requirements: Same.
926         * testsuite/20_util/make_unsigned/requirements/
927         explicit_instantiation.cc: Same.
928         * testsuite/20_util/make_unsigned/requirements/typedefs.cc: Same.
929         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
930         
931 2007-05-02  Paolo Carlini  <pcarlini@suse.de>
932
933         PR libstdc++/31777
934         * include/ext/pool_allocator.h (__pool_alloc<>::allocate,
935         __pool_alloc<>::deallocate): Fix _S_force_new check.
936
937 2007-05-01  Benjamin Kosnik  <bkoz@redhat.com>
938         
939         * 23_containers/requirements/sequences/dr438/deque/*: Move to...
940         * 23_containers/deque/requirements/dr438: ...here.
941         
942         * 23_containers/requirements/sequences/dr438/list/*: Move to...
943         * 23_containers/list/requirements/dr438: ...here.
944         
945         * 23_containers/requirements/sequences/dr438/vector/*: Move to...
946         * 23_containers/vector/requirements/dr438: ...here.
947
948 2007-05-01  Benjamin Kosnik  <bkoz@redhat.com>
949         
950         * testsuite/*/explicit_instantiations.cc: Change to...
951         * testsuite/*/explicit_instantiation.cc: ... this.
952
953 2007-05-01  Benjamin Kosnik  <bkoz@redhat.com>
954         
955         * testsuite/tr1/4_metaprogramming/*/explicit_instantiations.cc: Change
956         "basic_ofstream" in comment to type_traits.
957
958 2007-04-30  Benjamin Kosnik  <bkoz@redhat.com>
959
960         Directory layout flattening.
961
962         Added in testsuite:
963         * tr1/4_metaprogramming/add_const
964         * tr1/4_metaprogramming/add_const/requirements
965         * tr1/4_metaprogramming/add_const/requirements/
966         explicit_instantiations.cc
967         * tr1/4_metaprogramming/add_const/requirements/typedefs.cc
968         * tr1/4_metaprogramming/add_cv
969         * tr1/4_metaprogramming/add_cv/requirements
970         * tr1/4_metaprogramming/add_cv/requirements/explicit_instantiations.cc
971         * tr1/4_metaprogramming/add_cv/requirements/typedefs.cc
972         * tr1/4_metaprogramming/add_pointer
973         * tr1/4_metaprogramming/add_pointer/requirements
974         * tr1/4_metaprogramming/add_pointer/requirements/
975         explicit_instantiations.cc
976         * tr1/4_metaprogramming/add_pointer/requirements/typedefs.cc
977         * tr1/4_metaprogramming/add_reference
978         * tr1/4_metaprogramming/add_reference/requirements
979         * tr1/4_metaprogramming/add_reference/requirements/
980         explicit_instantiations.cc
981         * tr1/4_metaprogramming/add_reference/requirements/typedefs.cc
982         * tr1/4_metaprogramming/add_volatile
983         * tr1/4_metaprogramming/add_volatile/requirements
984         * tr1/4_metaprogramming/add_volatile/requirements/
985         explicit_instantiations.cc
986         * tr1/4_metaprogramming/add_volatile/requirements/typedefs.cc
987         * tr1/4_metaprogramming/aligned_storage
988         * tr1/4_metaprogramming/aligned_storage/requirements
989         * tr1/4_metaprogramming/aligned_storage/requirements/
990         explicit_instantiations.cc
991         * tr1/4_metaprogramming/aligned_storage/requirements/typedefs.cc
992         * tr1/4_metaprogramming/alignment_of
993         * tr1/4_metaprogramming/alignment_of/requirements
994         * tr1/4_metaprogramming/alignment_of/requirements/
995         explicit_instantiations.cc
996         * tr1/4_metaprogramming/alignment_of/requirements/typedefs.cc
997         * tr1/4_metaprogramming/alignment_of/value.cc
998         * tr1/4_metaprogramming/extent
999         * tr1/4_metaprogramming/extent/requirements
1000         * tr1/4_metaprogramming/extent/requirements/explicit_instantiations.cc
1001         * tr1/4_metaprogramming/extent/requirements/typedefs.cc
1002         * tr1/4_metaprogramming/extent/value.cc
1003         * tr1/4_metaprogramming/has_nothrow_assign
1004         * tr1/4_metaprogramming/has_nothrow_assign/requirements
1005         * tr1/4_metaprogramming/has_nothrow_assign/requirements/
1006         explicit_instantiations.cc
1007         * tr1/4_metaprogramming/has_nothrow_assign/requirements/typedefs.cc
1008         * tr1/4_metaprogramming/has_nothrow_assign/value.cc
1009         * tr1/4_metaprogramming/has_nothrow_constructor
1010         * tr1/4_metaprogramming/has_nothrow_constructor/requirements
1011         * tr1/4_metaprogramming/has_nothrow_constructor/
1012         requirements/explicit_instantiations.cc
1013         * tr1/4_metaprogramming/has_nothrow_constructor/
1014         requirements/typedefs.cc
1015         * tr1/4_metaprogramming/has_nothrow_constructor/value.cc
1016         * tr1/4_metaprogramming/has_nothrow_copy
1017         * tr1/4_metaprogramming/has_nothrow_copy/requirements
1018         * tr1/4_metaprogramming/has_nothrow_copy/requirements/
1019         explicit_instantiations.cc
1020         * tr1/4_metaprogramming/has_nothrow_copy/requirements/typedefs.cc
1021         * tr1/4_metaprogramming/has_nothrow_copy/value.cc
1022         * tr1/4_metaprogramming/has_trivial_assign
1023         * tr1/4_metaprogramming/has_trivial_assign/requirements
1024         * tr1/4_metaprogramming/has_trivial_assign/requirements/
1025         explicit_instantiations.cc
1026         * tr1/4_metaprogramming/has_trivial_assign/requirements/typedefs.cc
1027         * tr1/4_metaprogramming/has_trivial_assign/value.cc
1028         * tr1/4_metaprogramming/has_trivial_constructor
1029         * tr1/4_metaprogramming/has_trivial_constructor/requirements
1030         * tr1/4_metaprogramming/has_trivial_constructor/
1031         requirements/explicit_instantiations.cc
1032         * tr1/4_metaprogramming/has_trivial_constructor/
1033         requirements/typedefs.cc
1034         * tr1/4_metaprogramming/has_trivial_constructor/value.cc
1035         * tr1/4_metaprogramming/has_trivial_copy
1036         * tr1/4_metaprogramming/has_trivial_copy/requirements
1037         * tr1/4_metaprogramming/has_trivial_copy/
1038         requirements/explicit_instantiations.cc
1039         * tr1/4_metaprogramming/has_trivial_copy/requirements/typedefs.cc
1040         * tr1/4_metaprogramming/has_trivial_copy/value.cc
1041         * tr1/4_metaprogramming/has_trivial_destructor
1042         * tr1/4_metaprogramming/has_trivial_destructor/requirements
1043         * tr1/4_metaprogramming/has_trivial_destructor/
1044         requirements/explicit_instantiations.cc
1045         * tr1/4_metaprogramming/has_trivial_destructor/requirements/typedefs.cc
1046         * tr1/4_metaprogramming/has_trivial_destructor/value.cc
1047         * tr1/4_metaprogramming/has_virtual_destructor
1048         * tr1/4_metaprogramming/has_virtual_destructor/requirements
1049         * tr1/4_metaprogramming/has_virtual_destructor/
1050         requirements/explicit_instantiations.cc
1051         * tr1/4_metaprogramming/has_virtual_destructor/requirements/typedefs.cc
1052         * tr1/4_metaprogramming/has_virtual_destructor/value.cc
1053         * tr1/4_metaprogramming/integral_constant
1054         * tr1/4_metaprogramming/integral_constant/requirements
1055         * tr1/4_metaprogramming/integral_constant/
1056         requirements/explicit_instantiations.cc
1057         * tr1/4_metaprogramming/integral_constant/requirements/typedefs.cc
1058         * tr1/4_metaprogramming/integral_constant/true_false_value.cc
1059         * tr1/4_metaprogramming/is_abstract
1060         * tr1/4_metaprogramming/is_abstract/requirements
1061         * tr1/4_metaprogramming/is_abstract/
1062         requirements/explicit_instantiations.cc
1063         * tr1/4_metaprogramming/is_abstract/requirements/typedefs.cc
1064         * tr1/4_metaprogramming/is_abstract/value.cc
1065         * tr1/4_metaprogramming/is_arithmetic
1066         * tr1/4_metaprogramming/is_arithmetic/requirements
1067         * tr1/4_metaprogramming/is_arithmetic/
1068         requirements/explicit_instantiations.cc
1069         * tr1/4_metaprogramming/is_arithmetic/requirements/typedefs.cc
1070         * tr1/4_metaprogramming/is_arithmetic/value.cc
1071         * tr1/4_metaprogramming/is_array
1072         * tr1/4_metaprogramming/is_array/requirements
1073         * tr1/4_metaprogramming/is_array/
1074         requirements/explicit_instantiations.cc
1075         * tr1/4_metaprogramming/is_array/requirements/typedefs.cc
1076         * tr1/4_metaprogramming/is_array/value.cc
1077         * tr1/4_metaprogramming/is_base_of
1078         * tr1/4_metaprogramming/is_base_of/requirements
1079         * tr1/4_metaprogramming/is_base_of/
1080         requirements/explicit_instantiations.cc
1081         * tr1/4_metaprogramming/is_base_of/requirements/typedefs.cc
1082         * tr1/4_metaprogramming/is_base_of/value.cc
1083         * tr1/4_metaprogramming/is_class
1084         * tr1/4_metaprogramming/is_class/requirements
1085         * tr1/4_metaprogramming/is_class/
1086         requirements/explicit_instantiations.cc
1087         * tr1/4_metaprogramming/is_class/requirements/typedefs.cc
1088         * tr1/4_metaprogramming/is_class/value.cc
1089         * tr1/4_metaprogramming/is_compound
1090         * tr1/4_metaprogramming/is_compound/requirements
1091         * tr1/4_metaprogramming/is_compound/
1092         requirements/explicit_instantiations.cc
1093         * tr1/4_metaprogramming/is_compound/requirements/typedefs.cc
1094         * tr1/4_metaprogramming/is_compound/value.cc
1095         * tr1/4_metaprogramming/is_const
1096         * tr1/4_metaprogramming/is_const/requirements
1097         * tr1/4_metaprogramming/is_const/
1098         requirements/explicit_instantiations.cc
1099         * tr1/4_metaprogramming/is_const/requirements/typedefs.cc
1100         * tr1/4_metaprogramming/is_const/value.cc
1101         * tr1/4_metaprogramming/is_convertible
1102         * tr1/4_metaprogramming/is_convertible/requirements
1103         * tr1/4_metaprogramming/is_convertible/
1104         requirements/explicit_instantiations.cc
1105         * tr1/4_metaprogramming/is_convertible/requirements/typedefs.cc
1106         * tr1/4_metaprogramming/is_convertible/value.cc
1107         * tr1/4_metaprogramming/is_empty
1108         * tr1/4_metaprogramming/is_empty/requirements
1109         * tr1/4_metaprogramming/is_empty/requirements/
1110         explicit_instantiations.cc
1111         * tr1/4_metaprogramming/is_empty/requirements/typedefs.cc
1112         * tr1/4_metaprogramming/is_empty/value.cc
1113         * tr1/4_metaprogramming/is_enum
1114         * tr1/4_metaprogramming/is_enum/requirements
1115         * tr1/4_metaprogramming/is_enum/requirements/explicit_instantiations.cc
1116         * tr1/4_metaprogramming/is_enum/requirements/typedefs.cc
1117         * tr1/4_metaprogramming/is_enum/value.cc
1118         * tr1/4_metaprogramming/is_floating_point
1119         * tr1/4_metaprogramming/is_floating_point/requirements
1120         * tr1/4_metaprogramming/is_floating_point/requirements/
1121         explicit_instantiations.cc
1122         * tr1/4_metaprogramming/is_floating_point/requirements/typedefs.cc
1123         * tr1/4_metaprogramming/is_floating_point/value.cc
1124         * tr1/4_metaprogramming/is_function
1125         * tr1/4_metaprogramming/is_function/requirements
1126         * tr1/4_metaprogramming/is_function/requirements/
1127         explicit_instantiations.cc
1128         * tr1/4_metaprogramming/is_function/requirements/typedefs.cc
1129         * tr1/4_metaprogramming/is_function/value.cc
1130         * tr1/4_metaprogramming/is_fundamental
1131         * tr1/4_metaprogramming/is_fundamental/requirements
1132         * tr1/4_metaprogramming/is_fundamental/requirements/
1133         explicit_instantiations.cc
1134         * tr1/4_metaprogramming/is_fundamental/requirements/typedefs.cc
1135         * tr1/4_metaprogramming/is_fundamental/value.cc
1136         * tr1/4_metaprogramming/is_integral
1137         * tr1/4_metaprogramming/is_integral/requirements
1138         * tr1/4_metaprogramming/is_integral/requirements/
1139         explicit_instantiations.cc
1140         * tr1/4_metaprogramming/is_integral/requirements/typedefs.cc
1141         * tr1/4_metaprogramming/is_integral/value.cc
1142         * tr1/4_metaprogramming/is_member_function_pointer
1143         * tr1/4_metaprogramming/is_member_function_pointer/requirements
1144         * tr1/4_metaprogramming/is_member_function_pointer/
1145         requirements/explicit_instantiations.cc
1146         * tr1/4_metaprogramming/is_member_function_pointer/
1147         requirements/typedefs.cc
1148         * tr1/4_metaprogramming/is_member_function_pointer/value.cc
1149         * tr1/4_metaprogramming/is_member_object_pointer
1150         * tr1/4_metaprogramming/is_member_object_pointer/requirements
1151         * tr1/4_metaprogramming/is_member_object_pointer/
1152         requirements/explicit_instantiations.cc
1153         * tr1/4_metaprogramming/is_member_object_pointer/
1154         requirements/typedefs.cc
1155         * tr1/4_metaprogramming/is_member_object_pointer/value.cc
1156         * tr1/4_metaprogramming/is_member_pointer
1157         * tr1/4_metaprogramming/is_member_pointer/requirements
1158         * tr1/4_metaprogramming/is_member_pointer/requirements/
1159         explicit_instantiations.cc
1160         * tr1/4_metaprogramming/is_member_pointer/requirements/typedefs.cc
1161         * tr1/4_metaprogramming/is_member_pointer/value.cc
1162         * tr1/4_metaprogramming/is_object
1163         * tr1/4_metaprogramming/is_object/requirements
1164         * tr1/4_metaprogramming/is_object/requirements/
1165         explicit_instantiations.cc
1166         * tr1/4_metaprogramming/is_object/requirements/typedefs.cc
1167         * tr1/4_metaprogramming/is_object/value.cc
1168         * tr1/4_metaprogramming/is_pod
1169         * tr1/4_metaprogramming/is_pod/requirements
1170         * tr1/4_metaprogramming/is_pod/requirements/explicit_instantiations.cc
1171         * tr1/4_metaprogramming/is_pod/requirements/typedefs.cc
1172         * tr1/4_metaprogramming/is_pod/value.cc
1173         * tr1/4_metaprogramming/is_pointer
1174         * tr1/4_metaprogramming/is_pointer/requirements
1175         * tr1/4_metaprogramming/is_pointer/requirements/
1176         explicit_instantiations.cc
1177         * tr1/4_metaprogramming/is_pointer/requirements/typedefs.cc
1178         * tr1/4_metaprogramming/is_pointer/value.cc
1179         * tr1/4_metaprogramming/is_polymorphic
1180         * tr1/4_metaprogramming/is_polymorphic/requirements
1181         * tr1/4_metaprogramming/is_polymorphic/requirements/
1182         explicit_instantiations.cc
1183         * tr1/4_metaprogramming/is_polymorphic/requirements/typedefs.cc
1184         * tr1/4_metaprogramming/is_polymorphic/value.cc
1185         * tr1/4_metaprogramming/is_reference
1186         * tr1/4_metaprogramming/is_reference/requirements
1187         * tr1/4_metaprogramming/is_reference/requirements/
1188         explicit_instantiations.cc
1189         * tr1/4_metaprogramming/is_reference/requirements/typedefs.cc
1190         * tr1/4_metaprogramming/is_reference/value.cc
1191         * tr1/4_metaprogramming/is_same
1192         * tr1/4_metaprogramming/is_same/requirements
1193         * tr1/4_metaprogramming/is_same/requirements/explicit_instantiations.cc
1194         * tr1/4_metaprogramming/is_same/requirements/typedefs.cc
1195         * tr1/4_metaprogramming/is_same/value.cc
1196         * tr1/4_metaprogramming/is_scalar
1197         * tr1/4_metaprogramming/is_scalar/requirements
1198         * tr1/4_metaprogramming/is_scalar/requirements/
1199         explicit_instantiations.cc
1200         * tr1/4_metaprogramming/is_scalar/requirements/typedefs.cc
1201         * tr1/4_metaprogramming/is_scalar/value.cc
1202         * tr1/4_metaprogramming/is_signed
1203         * tr1/4_metaprogramming/is_signed/requirements
1204         * tr1/4_metaprogramming/is_signed/requirements/
1205         explicit_instantiations.cc
1206         * tr1/4_metaprogramming/is_signed/requirements/typedefs.cc
1207         * tr1/4_metaprogramming/is_signed/value.cc
1208         * tr1/4_metaprogramming/is_union
1209         * tr1/4_metaprogramming/is_union/requirements
1210         * tr1/4_metaprogramming/is_union/requirements/
1211         explicit_instantiations.cc
1212         * tr1/4_metaprogramming/is_union/requirements/typedefs.cc
1213         * tr1/4_metaprogramming/is_union/value.cc
1214         * tr1/4_metaprogramming/is_unsigned
1215         * tr1/4_metaprogramming/is_unsigned/requirements
1216         * tr1/4_metaprogramming/is_unsigned/requirements/
1217         explicit_instantiations.cc
1218         * tr1/4_metaprogramming/is_unsigned/requirements/typedefs.cc
1219         * tr1/4_metaprogramming/is_unsigned/value.cc
1220         * tr1/4_metaprogramming/is_void
1221         * tr1/4_metaprogramming/is_void/requirements
1222         * tr1/4_metaprogramming/is_void/requirements/explicit_instantiations.cc
1223         * tr1/4_metaprogramming/is_void/requirements/typedefs.cc
1224         * tr1/4_metaprogramming/is_void/value.cc
1225         * tr1/4_metaprogramming/is_volatile
1226         * tr1/4_metaprogramming/is_volatile/requirements
1227         * tr1/4_metaprogramming/is_volatile/requirements/
1228         explicit_instantiations.cc
1229         * tr1/4_metaprogramming/is_volatile/requirements/typedefs.cc
1230         * tr1/4_metaprogramming/is_volatile/value.cc
1231         * tr1/4_metaprogramming/rank
1232         * tr1/4_metaprogramming/rank/requirements
1233         * tr1/4_metaprogramming/rank/requirements/explicit_instantiations.cc
1234         * tr1/4_metaprogramming/rank/requirements/typedefs.cc
1235         * tr1/4_metaprogramming/rank/value.cc
1236         * tr1/4_metaprogramming/remove_all_extents
1237         * tr1/4_metaprogramming/remove_all_extents/requirements
1238         * tr1/4_metaprogramming/remove_all_extents/requirements/
1239         explicit_instantiations.cc
1240         * tr1/4_metaprogramming/remove_all_extents/value.cc
1241         * tr1/4_metaprogramming/remove_const
1242         * tr1/4_metaprogramming/remove_const/requirements
1243         * tr1/4_metaprogramming/remove_const/requirements/
1244         explicit_instantiations.cc
1245         * tr1/4_metaprogramming/remove_const/value.cc
1246         * tr1/4_metaprogramming/remove_cv
1247         * tr1/4_metaprogramming/remove_cv/requirements
1248         * tr1/4_metaprogramming/remove_cv/requirements/
1249         explicit_instantiations.cc
1250         * tr1/4_metaprogramming/remove_cv/value.cc
1251         * tr1/4_metaprogramming/remove_extent
1252         * tr1/4_metaprogramming/remove_extent/requirements
1253         * tr1/4_metaprogramming/remove_extent/requirements/
1254         explicit_instantiations.cc
1255         * tr1/4_metaprogramming/remove_extent/value.cc
1256         * tr1/4_metaprogramming/remove_pointer
1257         * tr1/4_metaprogramming/remove_pointer/requirements
1258         * tr1/4_metaprogramming/remove_pointer/requirements/
1259         explicit_instantiations.cc
1260         * tr1/4_metaprogramming/remove_pointer/value.cc
1261         * tr1/4_metaprogramming/remove_reference
1262         * tr1/4_metaprogramming/remove_reference/requirements
1263         * tr1/4_metaprogramming/remove_reference/requirements/
1264         explicit_instantiations.cc
1265         * tr1/4_metaprogramming/remove_reference/value.cc
1266         * tr1/4_metaprogramming/remove_volatile
1267         * tr1/4_metaprogramming/remove_volatile/requirements
1268         * tr1/4_metaprogramming/remove_volatile/requirements/
1269         explicit_instantiations.cc
1270         * tr1/4_metaprogramming/remove_volatile/value.cc
1271
1272         Deleted in testsuite:   
1273         * tr1/4_metaprogramming/alignment_of/alignment_of.cc
1274         * tr1/4_metaprogramming/alignment_of/typedefs.cc
1275         * tr1/4_metaprogramming/array_modifications
1276         * tr1/4_metaprogramming/array_modifications/remove_all_extents.cc
1277         * tr1/4_metaprogramming/array_modifications/remove_extent.cc
1278         * tr1/4_metaprogramming/composite_type_traits
1279         * tr1/4_metaprogramming/composite_type_traits/is_arithmetic
1280         * tr1/4_metaprogramming/composite_type_traits/is_arithmetic/
1281         is_arithmetic.cc
1282         * tr1/4_metaprogramming/composite_type_traits/is_arithmetic/typedefs.cc
1283         * tr1/4_metaprogramming/composite_type_traits/is_compound
1284         * tr1/4_metaprogramming/composite_type_traits/is_compound/
1285         is_compound.cc
1286         * tr1/4_metaprogramming/composite_type_traits/is_compound/typedefs.cc
1287         * tr1/4_metaprogramming/composite_type_traits/is_fundamental
1288         * tr1/4_metaprogramming/composite_type_traits/is_fundamental/
1289         is_fundamental.cc
1290         * tr1/4_metaprogramming/composite_type_traits/is_fundamental/
1291         typedefs.cc
1292         * tr1/4_metaprogramming/composite_type_traits/is_member_pointer
1293         * tr1/4_metaprogramming/composite_type_traits/is_member_pointer/
1294         is_member_pointer.cc
1295         * tr1/4_metaprogramming/composite_type_traits/is_member_pointer/
1296         typedefs.cc
1297         * tr1/4_metaprogramming/composite_type_traits/is_object
1298         * tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc
1299         * tr1/4_metaprogramming/composite_type_traits/is_object/is_object.cc
1300         * tr1/4_metaprogramming/composite_type_traits/is_object/typedefs.cc
1301         * tr1/4_metaprogramming/composite_type_traits/is_scalar
1302         * tr1/4_metaprogramming/composite_type_traits/is_scalar/is_scalar.cc
1303         * tr1/4_metaprogramming/composite_type_traits/is_scalar/typedefs.cc
1304         * tr1/4_metaprogramming/const_volatile_modifications
1305         * tr1/4_metaprogramming/const_volatile_modifications/add_const.cc
1306         * tr1/4_metaprogramming/const_volatile_modifications/add_cv.cc
1307         * tr1/4_metaprogramming/const_volatile_modifications/add_volatile.cc
1308         * tr1/4_metaprogramming/const_volatile_modifications/remove_const.cc
1309         * tr1/4_metaprogramming/const_volatile_modifications/remove_cv.cc
1310         * tr1/4_metaprogramming/const_volatile_modifications/remove_volatile.cc
1311         * tr1/4_metaprogramming/extent/extent.cc
1312         * tr1/4_metaprogramming/extent/typedefs.cc
1313         * tr1/4_metaprogramming/has_nothrow_assign/has_nothrow_assign.cc
1314         * tr1/4_metaprogramming/has_nothrow_assign/typedefs.cc
1315         * tr1/4_metaprogramming/has_nothrow_constructor/
1316         has_nothrow_constructor.cc
1317         * tr1/4_metaprogramming/has_nothrow_constructor/typedefs.cc
1318         * tr1/4_metaprogramming/has_nothrow_copy/has_nothrow_copy.cc
1319         * tr1/4_metaprogramming/has_nothrow_copy/typedefs.cc
1320         * tr1/4_metaprogramming/has_trivial_assign/has_trivial_assign.cc
1321         * tr1/4_metaprogramming/has_trivial_assign/typedefs.cc
1322         * tr1/4_metaprogramming/has_trivial_constructor/
1323         has_trivial_constructor.cc
1324         * tr1/4_metaprogramming/has_trivial_constructor/typedefs.cc
1325         * tr1/4_metaprogramming/has_trivial_copy/has_trivial_copy.cc
1326         * tr1/4_metaprogramming/has_trivial_copy/typedefs.cc
1327         * tr1/4_metaprogramming/has_trivial_destructor/
1328         has_trivial_destructor.cc
1329         * tr1/4_metaprogramming/has_trivial_destructor/typedefs.cc
1330         * tr1/4_metaprogramming/has_virtual_destructor/
1331         has_virtual_destructor.cc
1332         * tr1/4_metaprogramming/has_virtual_destructor/typedefs.cc
1333         * tr1/4_metaprogramming/helper_classes
1334         * tr1/4_metaprogramming/helper_classes/static_definition.cc
1335         * tr1/4_metaprogramming/helper_classes/true_false_type.cc
1336         * tr1/4_metaprogramming/helper_classes/true_false_type_typedefs.cc
1337         * tr1/4_metaprogramming/helper_classes/typedefs.cc
1338         * tr1/4_metaprogramming/integral_constant/true_false_type.cc
1339         * tr1/4_metaprogramming/integral_constant/typedefs.cc
1340         * tr1/4_metaprogramming/is_abstract/is_abstract.cc
1341         * tr1/4_metaprogramming/is_abstract/typedefs.cc
1342         * tr1/4_metaprogramming/is_arithmetic/is_arithmetic.cc
1343         * tr1/4_metaprogramming/is_arithmetic/typedefs.cc
1344         * tr1/4_metaprogramming/is_array/is_array.cc
1345         * tr1/4_metaprogramming/is_array/typedefs.cc
1346         * tr1/4_metaprogramming/is_base_of/is_base_of.cc
1347         * tr1/4_metaprogramming/is_base_of/typedefs.cc
1348         * tr1/4_metaprogramming/is_class/is_class.cc
1349         * tr1/4_metaprogramming/is_class/typedefs.cc
1350         * tr1/4_metaprogramming/is_compound/is_compound.cc
1351         * tr1/4_metaprogramming/is_compound/typedefs.cc
1352         * tr1/4_metaprogramming/is_const/is_const.cc
1353         * tr1/4_metaprogramming/is_const/typedefs.cc
1354         * tr1/4_metaprogramming/is_convertible/is_convertible.cc
1355         * tr1/4_metaprogramming/is_convertible/typedefs.cc
1356         * tr1/4_metaprogramming/is_empty/is_empty.cc
1357         * tr1/4_metaprogramming/is_empty/typedefs.cc
1358         * tr1/4_metaprogramming/is_enum/is_enum.cc
1359         * tr1/4_metaprogramming/is_enum/typedefs.cc
1360         * tr1/4_metaprogramming/is_floating_point/is_floating_point.cc
1361         * tr1/4_metaprogramming/is_floating_point/typedefs.cc
1362         * tr1/4_metaprogramming/is_function/is_function.cc
1363         * tr1/4_metaprogramming/is_function/typedefs.cc
1364         * tr1/4_metaprogramming/is_fundamental/is_fundamental.cc
1365         * tr1/4_metaprogramming/is_fundamental/typedefs.cc
1366         * tr1/4_metaprogramming/is_integral/is_integral.cc
1367         * tr1/4_metaprogramming/is_integral/typedefs.cc
1368         * tr1/4_metaprogramming/is_member_function_pointer/
1369         is_member_function_pointer.cc
1370         * tr1/4_metaprogramming/is_member_function_pointer/typedefs.cc
1371         * tr1/4_metaprogramming/is_member_object_pointer/
1372         is_member_object_pointer.cc
1373         * tr1/4_metaprogramming/is_member_object_pointer/typedefs.cc
1374         * tr1/4_metaprogramming/is_member_pointer/is_member_pointer.cc
1375         * tr1/4_metaprogramming/is_member_pointer/typedefs.cc
1376         * tr1/4_metaprogramming/is_object/is_object.cc
1377         * tr1/4_metaprogramming/is_object/typedefs.cc
1378         * tr1/4_metaprogramming/is_pod/is_pod.cc
1379         * tr1/4_metaprogramming/is_pod/typedefs.cc
1380         * tr1/4_metaprogramming/is_pointer/is_pointer.cc
1381         * tr1/4_metaprogramming/is_pointer/typedefs.cc
1382         * tr1/4_metaprogramming/is_polymorphic/is_polymorphic.cc
1383         * tr1/4_metaprogramming/is_polymorphic/typedefs.cc
1384         * tr1/4_metaprogramming/is_reference/is_reference.cc
1385         * tr1/4_metaprogramming/is_reference/typedefs.cc
1386         * tr1/4_metaprogramming/is_same/is_same.cc
1387         * tr1/4_metaprogramming/is_same/typedefs.cc
1388         * tr1/4_metaprogramming/is_scalar/is_scalar.cc
1389         * tr1/4_metaprogramming/is_scalar/typedefs.cc
1390         * tr1/4_metaprogramming/is_signed/is_signed.cc
1391         * tr1/4_metaprogramming/is_signed/typedefs.cc
1392         * tr1/4_metaprogramming/is_union/is_union.cc
1393         * tr1/4_metaprogramming/is_union/typedefs.cc
1394         * tr1/4_metaprogramming/is_unsigned/is_unsigned.cc
1395         * tr1/4_metaprogramming/is_unsigned/typedefs.cc
1396         * tr1/4_metaprogramming/is_void/is_void.cc
1397         * tr1/4_metaprogramming/is_void/typedefs.cc
1398         * tr1/4_metaprogramming/is_volatile/is_volatile.cc
1399         * tr1/4_metaprogramming/is_volatile/typedefs.cc
1400         * tr1/4_metaprogramming/other_transformations
1401         * tr1/4_metaprogramming/other_transformations/aligned_storage
1402         * tr1/4_metaprogramming/other_transformations/aligned_storage/
1403         aligned_storage.cc
1404         * tr1/4_metaprogramming/other_transformations/aligned_storage/
1405         typedefs.cc
1406         * tr1/4_metaprogramming/pointer_modifications
1407         * tr1/4_metaprogramming/pointer_modifications/add_pointer.cc
1408         * tr1/4_metaprogramming/pointer_modifications/remove_pointer.cc
1409         * tr1/4_metaprogramming/primary_type_categories
1410         * tr1/4_metaprogramming/primary_type_categories/is_array
1411         * tr1/4_metaprogramming/primary_type_categories/is_array/is_array.cc
1412         * tr1/4_metaprogramming/primary_type_categories/is_array/typedefs.cc
1413         * tr1/4_metaprogramming/primary_type_categories/is_class
1414         * tr1/4_metaprogramming/primary_type_categories/is_class/is_class.cc
1415         * tr1/4_metaprogramming/primary_type_categories/is_class/typedefs.cc
1416         * tr1/4_metaprogramming/primary_type_categories/is_enum
1417         * tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc
1418         * tr1/4_metaprogramming/primary_type_categories/is_enum/is_enum.cc
1419         * tr1/4_metaprogramming/primary_type_categories/is_enum/typedefs.cc
1420         * tr1/4_metaprogramming/primary_type_categories/is_floating_point
1421         * tr1/4_metaprogramming/primary_type_categories/is_floating_point/
1422         is_floating_point.cc
1423         * tr1/4_metaprogramming/primary_type_categories/is_floating_point/
1424         typedefs.cc
1425         * tr1/4_metaprogramming/primary_type_categories/is_function
1426         * tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc
1427         * tr1/4_metaprogramming/primary_type_categories/is_function/
1428         is_function.cc
1429         * tr1/4_metaprogramming/primary_type_categories/is_function/typedefs.cc
1430         * tr1/4_metaprogramming/primary_type_categories/is_integral
1431         * tr1/4_metaprogramming/primary_type_categories/is_integral/
1432         is_integral.cc
1433         * tr1/4_metaprogramming/primary_type_categories/is_integral/typedefs.cc
1434         * tr1/4_metaprogramming/primary_type_categories/
1435         is_member_function_pointer
1436         * tr1/4_metaprogramming/primary_type_categories/
1437         is_member_function_pointer/is_member_function_pointer.cc
1438         * tr1/4_metaprogramming/primary_type_categories/
1439         is_member_function_pointer/typedefs.cc
1440         * tr1/4_metaprogramming/primary_type_categories/
1441         is_member_object_pointer
1442         * tr1/4_metaprogramming/primary_type_categories/
1443         is_member_object_pointer/is_member_object_pointer.cc
1444         * tr1/4_metaprogramming/primary_type_categories/
1445         is_member_object_pointer/typedefs.cc
1446         * tr1/4_metaprogramming/primary_type_categories/is_pointer
1447         * tr1/4_metaprogramming/primary_type_categories/is_pointer/
1448         is_pointer.cc
1449         * tr1/4_metaprogramming/primary_type_categories/is_pointer/typedefs.cc
1450         * tr1/4_metaprogramming/primary_type_categories/is_reference
1451         * tr1/4_metaprogramming/primary_type_categories/is_reference/
1452         is_reference.cc
1453         * tr1/4_metaprogramming/primary_type_categories/is_reference/
1454         typedefs.cc
1455         * tr1/4_metaprogramming/primary_type_categories/is_union
1456         * tr1/4_metaprogramming/primary_type_categories/is_union/is_union.cc
1457         * tr1/4_metaprogramming/primary_type_categories/is_union/typedefs.cc
1458         * tr1/4_metaprogramming/primary_type_categories/is_void
1459         * tr1/4_metaprogramming/primary_type_categories/is_void/is_void.cc
1460         * tr1/4_metaprogramming/primary_type_categories/is_void/typedefs.cc
1461         * tr1/4_metaprogramming/rank/rank.cc
1462         * tr1/4_metaprogramming/rank/typedefs.cc
1463         * tr1/4_metaprogramming/reference_modifications/add_reference.cc
1464         * tr1/4_metaprogramming/reference_modifications/remove_reference.cc
1465         * tr1/4_metaprogramming/relationships_between_types
1466         * tr1/4_metaprogramming/relationships_between_types/is_base_of
1467         * tr1/4_metaprogramming/relationships_between_types/is_base_of/
1468         is_base_of.cc
1469         * tr1/4_metaprogramming/relationships_between_types/is_base_of/
1470         typedefs.cc
1471         * tr1/4_metaprogramming/relationships_between_types/is_convertible
1472         * tr1/4_metaprogramming/relationships_between_types/is_convertible/
1473         is_convertible.cc
1474         * tr1/4_metaprogramming/relationships_between_types/is_convertible/
1475         typedefs.cc
1476         * tr1/4_metaprogramming/relationships_between_types/is_same
1477         * tr1/4_metaprogramming/relationships_between_types/is_same/is_same.cc
1478         * tr1/4_metaprogramming/relationships_between_types/is_same/typedefs.cc
1479         * tr1/4_metaprogramming/type_properties
1480         * tr1/4_metaprogramming/type_properties/alignment_of
1481         * tr1/4_metaprogramming/type_properties/alignment_of/alignment_of.cc
1482         * tr1/4_metaprogramming/type_properties/alignment_of/typedefs.cc
1483         * tr1/4_metaprogramming/type_properties/extent
1484         * tr1/4_metaprogramming/type_properties/extent/extent.cc
1485         * tr1/4_metaprogramming/type_properties/extent/typedefs.cc
1486         * tr1/4_metaprogramming/type_properties/has_nothrow_assign
1487         * tr1/4_metaprogramming/type_properties/has_nothrow_assign/
1488         has_nothrow_assign.cc
1489         * tr1/4_metaprogramming/type_properties/has_nothrow_assign/typedefs.cc
1490         * tr1/4_metaprogramming/type_properties/has_nothrow_constructor
1491         * tr1/4_metaprogramming/type_properties/has_nothrow_constructor/
1492         has_nothrow_constructor.cc
1493         * tr1/4_metaprogramming/type_properties/has_nothrow_constructor/
1494         typedefs.cc
1495         * tr1/4_metaprogramming/type_properties/has_nothrow_copy
1496         * tr1/4_metaprogramming/type_properties/has_nothrow_copy/
1497         has_nothrow_copy.cc
1498         * tr1/4_metaprogramming/type_properties/has_nothrow_copy/typedefs.cc
1499         * tr1/4_metaprogramming/type_properties/has_trivial_assign
1500         * tr1/4_metaprogramming/type_properties/has_trivial_assign/
1501         has_trivial_assign.cc
1502         * tr1/4_metaprogramming/type_properties/has_trivial_assign/typedefs.cc
1503         * tr1/4_metaprogramming/type_properties/has_trivial_constructor
1504         * tr1/4_metaprogramming/type_properties/has_trivial_constructor/
1505         has_trivial_constructor.cc
1506         * tr1/4_metaprogramming/type_properties/has_trivial_constructor/
1507         typedefs.cc
1508         * tr1/4_metaprogramming/type_properties/has_trivial_copy
1509         * tr1/4_metaprogramming/type_properties/has_trivial_copy/
1510         has_trivial_copy.cc
1511         * tr1/4_metaprogramming/type_properties/has_trivial_copy/typedefs.cc
1512         * tr1/4_metaprogramming/type_properties/has_trivial_destructor
1513         * tr1/4_metaprogramming/type_properties/has_trivial_destructor/
1514         has_trivial_destructor.cc
1515         * tr1/4_metaprogramming/type_properties/has_trivial_destructor/
1516         typedefs.cc
1517         * tr1/4_metaprogramming/type_properties/has_virtual_destructor
1518         * tr1/4_metaprogramming/type_properties/has_virtual_destructor/
1519         has_virtual_destructor.cc
1520         * tr1/4_metaprogramming/type_properties/has_virtual_destructor/
1521         typedefs.cc
1522         * tr1/4_metaprogramming/type_properties/is_abstract
1523         * tr1/4_metaprogramming/type_properties/is_abstract/is_abstract.cc
1524         * tr1/4_metaprogramming/type_properties/is_abstract/typedefs.cc
1525         * tr1/4_metaprogramming/type_properties/is_const
1526         * tr1/4_metaprogramming/type_properties/is_const/is_const.cc
1527         * tr1/4_metaprogramming/type_properties/is_const/typedefs.cc
1528         * tr1/4_metaprogramming/type_properties/is_empty
1529         * tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc
1530         * tr1/4_metaprogramming/type_properties/is_empty/typedefs.cc
1531         * tr1/4_metaprogramming/type_properties/is_pod
1532         * tr1/4_metaprogramming/type_properties/is_pod/is_pod.cc
1533         * tr1/4_metaprogramming/type_properties/is_pod/typedefs.cc
1534         * tr1/4_metaprogramming/type_properties/is_polymorphic
1535         * tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
1536         * tr1/4_metaprogramming/type_properties/is_polymorphic/
1537         is_polymorphic.cc
1538         * tr1/4_metaprogramming/type_properties/is_polymorphic/typedefs.cc
1539         * tr1/4_metaprogramming/type_properties/is_signed
1540         * tr1/4_metaprogramming/type_properties/is_signed/is_signed.cc
1541         * tr1/4_metaprogramming/type_properties/is_signed/typedefs.cc
1542         * tr1/4_metaprogramming/type_properties/is_unsigned
1543         * tr1/4_metaprogramming/type_properties/is_unsigned/is_unsigned.cc
1544         * tr1/4_metaprogramming/type_properties/is_unsigned/typedefs.cc
1545         * tr1/4_metaprogramming/type_properties/is_volatile
1546         * tr1/4_metaprogramming/type_properties/is_volatile/is_volatile.cc
1547         * tr1/4_metaprogramming/type_properties/is_volatile/typedefs.cc
1548         * tr1/4_metaprogramming/type_properties/rank
1549         * tr1/4_metaprogramming/type_properties/rank/rank.cc
1550         * tr1/4_metaprogramming/type_properties/rank/typedefs.cc
1551
1552 2007-04-30  Hans-Peter Nilsson  <hp@axis.com>
1553
1554         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Correct
1555         regexp to filter out -nostdinc++.
1556
1557 2007-04-30  Paolo Carlini  <pcarlini@suse.de>
1558
1559         PR libstdc++/30449 (equal)
1560         * include/bits/stl_algobase.h (struct __niter_base): Add.
1561         (copy(_II, _II, _OI), copy_backward(_BI1, _BI1, _BI2),
1562         fill(_ForwardIterator, _ForwardIterator, const _Tp&),
1563         fill_n(_OI, _Size, const _Tp&), equal(_II1, _II1, _II2)):
1564         Use it.
1565         (struct __copy_normal, __copy_backward_normal,
1566         struct __fill_normal, struct __fill_n_normal): Remove.
1567         (struct __equal, struct __equal_aux): Add.
1568         * include/bits/stl_iterator.h: Add _Iterator_type typedef.
1569
1570         * include/bits/stl_algobase.h (__fill_aux(wchar_t*,
1571         wchar_t*, wchar_t), __fill_n_aux(wchar_t*, _Size, wchar_t)):
1572         Remove.
1573
1574         * testsuite/23_containers/requirements/sequences/dr438/vector/
1575         constructor_1_neg.cc: Adjust dg-error line number.
1576         * testsuite/23_containers/requirements/sequences/dr438/vector/
1577         constructor_2_neg.cc: Likewise.
1578
1579 2007-04-30  Paolo Carlini  <pcarlini@suse.de>
1580
1581         * include/tr1/type_traits (is_pod): Use __is_pod.
1582         * testsuite/tr1/4_metaprogramming/type_properties/
1583         has_trivial_destructor/has_trivial_destructor.cc: Adjust.
1584         * testsuite/tr1/4_metaprogramming/type_properties/
1585         has_nothrow_constructor/has_nothrow_constructor.cc: Likewise.
1586         * testsuite/tr1/4_metaprogramming/type_properties/
1587         has_trivial_constructor/has_trivial_constructor.cc: Likewise.
1588         * testsuite/tr1/4_metaprogramming/type_properties/
1589         is_pod/is_pod.cc: Likewise.
1590
1591 2007-04-29  Paolo Carlini  <pcarlini@suse.de>
1592
1593         * include/bits/localefwd.h: Remove redundant inline qualifiers.
1594         (__check_facet): Move...
1595         * include/bits/basic_ios.h: ... here.
1596         (widen(char), narrow(char_type, char)): Define inline.
1597         * include/bits/basic_ios.tcc (widen(char), narrow(char_type, char)):
1598         Remove.
1599
1600 2007-04-27  Paolo Carlini  <pcarlini@suse.de>
1601
1602         DR 438, [DR].
1603         * include/bits/basic_string.h (_S_construct_aux(_InIterator,
1604         _InIterator, const _Alloc&, __true_type)): Do not cast the
1605         second argument.
1606         * include/ext/rc_string_base.h (_S_construct_aux(_Integer,
1607         _Integer, const _Alloc&, std::__true_type)): Likewise.
1608         * include/ext/sso_string_base.h (_M_construct_aux(_InIterator,
1609         _InIterator, std::__true_type)): Likewise.
1610         * include/bits/stl_deque.h (_M_initialize_dispatch(_Integer,
1611         _Integer, __true_type)): Cast the first argument.
1612         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do
1613         not cast the arguments.
1614         (_M_insert_dispatch(iterator, _Integer, _Integer, __true_type)):
1615         Likewise.
1616         * include/bits/stl_list.h (_M_initialize_dispatch(_Integer,
1617         _Integer, __true_type)): Likewise.
1618         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do
1619         not cast both arguments.
1620         * include/bits/stl_bvector.h (_M_initialize_dispatch(_Integer,
1621         _Integer, __true_type)): Cast the first argument.
1622         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do not
1623         cast the arguments.
1624         * include/bits/stl_vector.h (_M_initialize_dispatch(_Integer,
1625         _Integer, __true_type)): Cast the first argument.
1626         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do not
1627         cast the arguments.
1628         (_M_insert_dispatch(iterator, _Integer, _Integer, __true_type)):
1629         Likewise.
1630         * testsuite/21_strings/basic_string/requirements/dr438/
1631         constructor.cc: New.
1632         * testsuite/ext/vstring/requirements/dr438/constructor.cc: Likewise.
1633         * testsuite/23_containers/requirements/sequences/dr438/deque/
1634         assign_neg.cc: Likewise.
1635         * testsuite/23_containers/requirements/sequences/dr438/deque/
1636         constructor.cc: Likewise.
1637         * testsuite/23_containers/requirements/sequences/dr438/deque/
1638         constructor_1_neg.cc: Likewise.
1639         * testsuite/23_containers/requirements/sequences/dr438/deque/
1640         constructor_1_neg.cc: Likewise.
1641         * testsuite/23_containers/requirements/sequences/dr438/deque/
1642         insert_neg.cc: Likewise.
1643         * testsuite/23_containers/requirements/sequences/dr438/list/
1644         assign_neg.cc: Likewise.
1645         * testsuite/23_containers/requirements/sequences/dr438/list/
1646         constructor.cc: Likewise.
1647         * testsuite/23_containers/requirements/sequences/dr438/list/
1648         constructor_1_neg.cc: Likewise.
1649         * testsuite/23_containers/requirements/sequences/dr438/list/
1650         constructor_1_neg.cc: Likewise.
1651         * testsuite/23_containers/requirements/sequences/dr438/list/
1652         insert_neg.cc: Likewise.
1653         * testsuite/23_containers/requirements/sequences/dr438/vector/
1654         assign_neg.cc: Likewise.
1655         * testsuite/23_containers/requirements/sequences/dr438/vector/
1656         constructor.cc: Likewise.
1657         * testsuite/23_containers/requirements/sequences/dr438/vector/
1658         constructor_1_neg.cc: Likewise.
1659         * testsuite/23_containers/requirements/sequences/dr438/vector/
1660         constructor_1_neg.cc: Likewise.
1661         * testsuite/23_containers/requirements/sequences/dr438/vector/
1662         insert_neg.cc: Likewise.
1663         * testsuite/23_containers/requirements/sequences/dr438/vector/
1664         bool/constructor.cc: Likewise.
1665         * docs/html/ext/howto.html: Add an entry for DR 438.
1666
1667 2007-04-25  Paolo Carlini  <pcarlini@suse.de>
1668
1669         * include/bits/locale_classes.h: Remove redundant inline specifiers.
1670         * include/bits/ios_base.h: Likewise.
1671         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error line
1672         numbers.
1673         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1674
1675 2007-04-24  Paolo Carlini  <pcarlini@suse.de>
1676
1677         * include/bits/locale_facets.h (class collate, class collate_byname):
1678         Move...
1679         * include/bits/locale_classes.h: ... here.
1680         * include/bits/locale_facets.tcc (locale::combine, locale::operator(),
1681         has_facet, use_facet, collate::_M_compare, collate::_M_transform,
1682         collate::do_compare, collate::do_transform, collate::do_hash): Move...
1683         * include/bits/locale_classes.tcc: ... here, new.
1684         * include/Makefile.am: Add.
1685         * testsuite/util/testsuite_abi.h: Include <locale>.
1686         * include/std/locale: Tweak.
1687         * include/std/istream: Likewise.
1688         * include/std/ostream: Likewise.
1689         * include/bits/codecvt.h: Likewise.
1690         * include/Makefile.in: Regenerate.
1691
1692         * include/bits/codecvt.h: Adjust extern template declarations.
1693         * include/bits/ostream_insert.h: Likewise.
1694         * include/bits/ostream.tcc: Likewise.
1695
1696         * include/bits/locale_facets.h: Do not include <bits/codecvt.h>.
1697         * include/std/fstream: Do it here.
1698         * include/bits/locale_facets_nonio.h: Likewise.
1699
1700 2007-04-23  Paolo Carlini  <pcarlini@suse.de>
1701
1702         * include/bits/locale_facets.h (class time_base,
1703         struct __timepunct_cache, class __timepunct, class time_get,
1704         class time_get_byname, class time_put, class time_put_byname,
1705         class money_base, struct __moneypunct_cache, class moneypunct,
1706         class moneypunct_byname, class money_get, class money_put,
1707         struct messages_base, class messages, class messages_byname): Move...
1708         * include/bits/locale_facets_nonio.h: ... here.
1709         * include/bits/locale_facets.tcc
1710         (struct __use_cache<__moneypunct_cache<> >,
1711         __moneypunct_cache<>::_M_cache, money_get<>::_M_extract,
1712         money_get<>::__do_get, money_get<>::do_get, money_put<>::_M_insert,
1713         money_put<>::__do_put, money_put<>::do_put, time_get<>::do_date_order,
1714         time_get<>::_M_extract_via_format, time_get<>::_M_extract_num,
1715         time_get<>::_M_extract_name, time_get<>::do_get_time,
1716         time_get<>::do_get_date, time_get<>::do_get_weekday,
1717         time_get<>::do_get_monthname, time_get<>::do_get_year, time_put<>::put,
1718         time_put<>::do_put): Move...
1719         * include/bits/locale_facets_nonio.tcc: ... here.
1720         * include/Makefile.am: Add.
1721         * include/std/locale: Adjust includes.
1722         * include/std/fstream: Likewise.
1723         * include/std/istream: Likewise.
1724         * include/std/ostream: Likewise.
1725         * include/Makefile.in: Regenerate.
1726
1727 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
1728
1729         * scripts/testsuite_flags.in: Add --build-cc option.
1730         * testsuite/lib/libstdc++.exp (libstdc++_init): Set cc.  Fix typo
1731         in previous change.
1732         (v3_target_compile_as_c): Use cc.
1733
1734 2007-04-22  Mark Mitchell  <mark@codesourcery.com>
1735
1736         * testsuite/lib/libstdc++.exp (libstdc++_init): Use the same flags
1737         for remote host testing we use for local host testing.  Copy all
1738         testsuite headers to the remote host
1739         (v3_target_compile_as_c): Use remote_exec, not just exec.
1740
1741 2007-04-22  Paolo Carlini  <pcarlini@suse.de>
1742
1743         * include/tr1/functional: Formatting fixes.
1744
1745 2007-04-22  Paolo Carlini  <pcarlini@suse.de>
1746
1747         * include/ext/concurrence.h: Do not include <cstdlib>, use
1748         __builtin_abort.
1749         * include/debug/debug.h: Likewise.
1750         * include/tr1/memory: Likewise.
1751         * include/tr1/boost_shared_ptr.h: Likewise.
1752         * include/tr1/functional: Likewise.
1753
1754 2007-04-22  Paolo Carlini  <pcarlini@suse.de>
1755
1756         * include/bits/locale_facets.tcc: Do not include <typeinfo>.
1757         * testsuite/27_io/basic_ios/imbue/14072.cc: Do it here.
1758         * testsuite/27_io/basic_ios/cons/char/3.cc: Likewise.
1759         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
1760         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
1761         * testsuite/21_strings/basic_string/inserters_extractors/
1762         pod/10081-in.cc: Likewise.
1763         * testsuite/21_strings/basic_string/inserters_extractors/
1764         pod/10081-out.cc: Likewise.
1765         * testsuite/22_locale/locale/cons/2.cc: Likewise.
1766         * testsuite/22_locale/locale/cons/unicode.cc: Likewise.
1767         * testsuite/22_locale/numpunct/members/pod/2.cc: Likewise.
1768         * testsuite/22_locale/global_templates/1.cc: Likewise.
1769
1770 2007-04-19  Joseph Myers  <joseph@codesourcery.com>
1771
1772         * configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu*
1773         for long double compatibility.
1774         * configure: Regenerate.
1775         * src/complex_io.cc, src/istream-inst.cc, src/ostream-inst.cc:
1776         Condition some _GLIBCXX_LDBL_COMPAT calls on _GLIBCXX_USE_WCHAR_T.
1777
1778 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
1779
1780         * configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
1781         * configure: Regenerate.
1782
1783 2007-04-14  Paolo Carlini  <pcarlini@suse.de>
1784
1785         * config/locale/generic/c_locale.cc: Include <limits>.
1786
1787 2007-04-13  Paolo Carlini  <pcarlini@suse.de>
1788
1789         PR libstdc++/31556
1790         * include/bits/stl_algobase.h (equal(_InputIterator1, _InputIterator1,
1791         _InputIterator2, _BinaryPredicate), mismatch(_InputIterator1,
1792         _InputIterator1, _InputIterator2, _BinaryPredicate)): Convert
1793         predicate return to bool.
1794         * include/bits/stl_algo.h (__find_if(_InputIterator, _InputIterator,
1795         _Predicate, input_iterator_tag), search(_ForwardIterator1,
1796         _ForwardIterator1, _ForwardIterator2, _ForwardIterator2,
1797         _BinaryPredicate), __search_n(_ForwardIterator, _ForwardIterator,
1798         _Integer, const _Tp&, _BinaryPredicate, std::forward_iterator_tag),
1799         __search_n(_RandomAccessIter, _RandomAccessIter, _Integer, const _Tp&,
1800         _BinaryPredicate, std::random_access_iterator_tag),
1801         search_n(_ForwardIterator, _ForwardIterator, _Integer, const _Tp&,
1802         _BinaryPredicate), remove_copy_if(_InputIterator, _InputIterator,
1803         _OutputIterator, _Predicate), __unique_copy(_ForwardIterator,
1804         _ForwardIterator, _OutputIterator, _BinaryPredicate,
1805         forward_iterator_tag, output_iterator_tag),
1806         __unique_copy(_InputIterator, _InputIterator, _OutputIterator,
1807         _BinaryPredicate, input_iterator_tag, output_iterator_tag),
1808         __unique_copy(_InputIterator, _InputIterator, _OutputIterator,
1809         _BinaryPredicate, input_iterator_tag, output_iterator_tag),
1810         __unique_copy(_InputIterator, _InputIterator, _ForwardIterator,
1811         _BinaryPredicate, input_iterator_tag, forward_iterator_tag),
1812         unique(_ForwardIterator, _ForwardIterator, _BinaryPredicate),
1813         __partition(_BidirectionalIterator, _BidirectionalIterator, _Predicate,
1814         bidirectional_iterator_tag), binary_search(_ForwardIterator,
1815         _ForwardIterator, const _Tp&, _Compare),
1816         next_permutation(_BidirectionalIterator, _BidirectionalIterator,
1817         _Compare), prev_permutation(_BidirectionalIterator,
1818         _BidirectionalIterator, _Compare)): Likewise.
1819
1820 2007-04-13  Paolo Carlini  <pcarlini@suse.de>
1821
1822         PR libstdc++/31554
1823         * include/bits/stl_algo.h (stable_partition): Convert __buf.size()
1824         to _DistanceType.
1825
1826 2007-04-13  Paolo Carlini  <pcarlini@suse.de>
1827
1828         * include/ext/numeric_traits.h: Do not include <limits>.
1829         (__numeric_traits_integer::__is_signed, __digits): Add.
1830         (__numeric_traits_floating::__digits10, __max_exponent10): Add.
1831         * src/istream.cc (ignore<char>(streamsize, int_type), operator>>
1832         (basic_istream<char>&, char*), ignore<wchar_t>(streamsize,
1833         int_type)): Use the latter.
1834         * src/compatibility.cc (ignore<char>(streamsize),
1835         ignore<wchar_t>(streamsize)): Likewise.
1836         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
1837         Likewise.
1838         * include/bits/stl_memory.h (__get_temporary_buffer): Likewise.
1839         * include/bits/stl_algobase.h (lexicographical_compare(const char*,
1840         const char*, const char*, const char*)): Likewise.
1841         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
1842         _InIter, ios_base&, ios_base::iostate&, _ValueT&),
1843         num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT),
1844         num_put<>::_M_insert_float(_OutIter, ios_base&, _CharT, char,
1845         _ValueT), collate<>::do_hash(const _CharT*, const _CharT*)): Likewise.
1846         * include/bits/basic_string.h (basic_string<>::_S_compare): Likewise.
1847         * include/bits/istream.tcc (operator>>(short&), operator>>(int&),
1848         ignore(streamsize), ignore(streamsize, int_type), operator>>
1849         (basic_istream<>&, _CharT*)): Likewise.
1850         * include/bits/stl_bvector.h (vector<bool>::max_size): Likewise.
1851         * include/tr1/functional_hash.h (struct hash<long double>): Likewise.
1852         * include/std/istream: Do not include <limits>.
1853         * include/tr1/cmath: Include <limits>.
1854         * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise.
1855         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
1856         Likewise.
1857         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
1858         Likewise.
1859         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
1860         Likewise.
1861         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
1862         Likewise.
1863         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1864
1865         * include/tr1/hashtable: Do not include the whole <iterator>.
1866
1867 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
1868
1869         * config/locale/gnu/c_locale.h: Do not include <langinfo.h>
1870         and <iconv.h>.
1871         * config/locale/gnu/c++locale_internal.h: Include <langinfo.h>.
1872
1873 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
1874
1875         * include/std/istream (class basic_istream<>): Remove unneded friend
1876         declarations.
1877
1878 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
1879
1880         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Initialize v.
1881
1882 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
1883
1884         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
1885         ios_base&, ios_base::iostate&, void*&)): Fix for sizeof(void*)
1886         > sizeof(unsigned long).
1887
1888         * testsuite/22_locale/num_get/get/char/1.cc: Fix void* test.
1889         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
1890
1891         * testsuite/22_locale/num_put/put/char/1.cc: Tweak comment.
1892         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
1893
1894 2007-04-11  Zack Weinberg  <zackw@panix.com>
1895
1896         * include/std/iosfwd: Do not include <bits/c++locale.h> and
1897         <bits/functexcept.h>.
1898
1899 2007-04-10  Benjamin Kosnik  <bkoz@redhat.com>
1900
1901         * include/ext/pb_ds/detail/resize_policy/
1902         cc_hash_max_collision_check_resize_trigger_imp.hpp: Qualify
1903         namespace std members.  
1904         * include/ext/pb_ds/detail/list_update_policy/
1905         counter_lu_metadata.hpp: Same.
1906         * include/ext/throw_allocator.h: Same.
1907         * include/ext/pod_char_traits.h: Same.
1908         * include/ext/malloc_allocator.h: Same.
1909         * libsupc++/del_op.cc: Same, simplify.
1910
1911         * include/bits/c++config: Adjust macro name.
1912         
1913         * include/c_global/cstring: Alphabetize.
1914         * include/c_global/cwctype: Same.
1915         
1916 2007-04-10  Paolo Carlini  <pcarlini@suse.de>
1917
1918         * include/tr1/cmath: Include <bits/stl_algobase.h> instead of
1919         the whole <algorithm>.
1920
1921 2007-04-10  Paolo Carlini  <pcarlini@suse.de>
1922
1923         * include/tr1/type_traits (__is_function_helper): New, uses
1924         variadic templates.
1925         (is_function): Forward to the latter.
1926         * testsuite/tr1/4_metaprogramming/primary_type_categories/
1927         is_function/is_function.cc: Add test.
1928
1929 2007-04-10  Paolo Carlini  <pcarlini@suse.de>
1930
1931         PR libstdc++/28277 (partial: vstring bits)
1932         * include/bits/ostream_insert.h: New.
1933         * include/Makefile.am: Add.
1934         * include/ext/vstring.h (operator<<(basic_ostream<>&,
1935         const __versa_string<>&): Forward to __ostream_insert.
1936         * include/bits/basic_string.h (operator<<(basic_ostream<>&,
1937         const string<>&)): Likewise.
1938         * include/std/ostream (operator<<(basic_ostream<>&, _CharT),
1939         operator<<(basic_ostream<char,>&, char), operator<<(basic_ostream<>&,
1940         const _CharT*), operator<<(basic_ostream<char,>&, const char*)):
1941         Likewise.
1942         * include/ext/vstring.tcc (operator<<(basic_ostream<>&,
1943         const __versa_string<>&)): Remove.
1944         (class basic_ostream): Remove friend declarations.
1945         (basic_ostream<>::_M_write(char_type, streamsize),
1946         _M_insert(const char_type*, streamsize)): Remove.
1947         * include/bits/ostream.tcc (_M_insert(const char_type*, streamsize)):
1948         Remove definition.
1949         (operator<<(basic_ostream<>&, const char*)): Use __ostream_insert.
1950         * config/abi/pre/gnu.ver: Adjust.
1951         * src/ostream-inst.cc: Add __ostream_insert instantiations.
1952         * include/bits/locale_facets.h (__pad<>::_S_pad): Remove __num
1953         parameter.
1954         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Adjust.
1955         (num_put<>::_M_pad(_CharT, streamsize, ios_base&, _CharT*,
1956         const _CharT*, int&)): Likewise.
1957         * include/Makefile.in: Rebuild.
1958         * testsuite/ext/vstring/inserters_extractors/char/28277.cc: New.
1959         * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: New.
1960
1961         * include/ext/vstring_util.h: Do not include the whole <locale>.
1962         * include/ext/vstring.tcc (operator>>(basic_istream<>&,
1963         __versa_string<>&, getline(basic_istream<>&, __versa_string<>&,
1964         _CharT)): Tweak to refer to ios_base as a base of istream; do not
1965         refer to non-standard types of istream.
1966         * include/bits/istream.tcc (operator>>(basic_istream<>&, _CharT*),
1967         ws(basic_istream<>&)): Do not refer to non-standard types of istream.
1968         * include/std/bitset (operator>>(std::basic_istream<>&, bitset<>&)):
1969         Avoid using basic_streambuf<>*.
1970
1971         * include/bits/istream.tcc (operator>>(basic_istream<>&,
1972         basic_string<>&), getline(basic_istream<>&, basic_string<>&, _CharT)):
1973         Move...
1974         * include/bits/basic_string.tcc: ... here; tweak to refer to ios_base
1975         as a base of istream; do not refer to non-standard types of istream.
1976         * include/std/string: Tweak includes.
1977
1978         * include/ext/type_traits.h (__is_null_pointer): Add.
1979         * include/ext/rc_string_base.h: Use it.
1980         * include/ext/sso_string_base.h: Likewise.
1981         * include/bits/basic_string.tcc (__is_null_pointer): Remove, use
1982         the above.
1983         * include/ext/vstring_util.h (__vstring_utility<>::_S_is_null_pointer):
1984         Remove.
1985
1986 2007-04-09  Paolo Carlini  <pcarlini@suse.de>
1987
1988         * include/tr1/type_traits_fwd.h (__is_union_or_class): Remove.
1989         * include/tr1/type_traits (struct __in_array,
1990         struct __is_union_or_class, struct __is_union_or_class_helper,
1991         struct __is_empty_helper, struct __is_polymorphic_helper):
1992         Remove.
1993         (struct is_enum): Use __is_enum.
1994         (struct is_union): Use __is_union.
1995         (struct is_class): Use __is_class.
1996         (struct is_function): Adjust.
1997         (struct is_empty): Use __is_empty.
1998         (struct is_polymorphic): Use __is_polymorphic.
1999         (struct is_abstract): Use __is_abstract.
2000         (struct has_virtual_destructor): Use __has_virtual_destructor.
2001         (struct __is_base_of_helper): Use __is_base_of.
2002         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2003         is_union_or_class/typedefs.cc: Remove.
2004         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2005         is_union_or_class/is_union_or_class.cc: Likewise.
2006         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2007         is_class/typedefs.cc: New.
2008         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2009         is_class/is_class.cc: Likewise.
2010         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2011         is_union/typedefs.cc: Likewise.
2012         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2013         is_union/is_union.cc: Likewise.
2014         * testsuite/tr1/4_metaprogramming/type_properties/
2015         has_virtual_destructor/typedefs.cc: Likewise.
2016         * testsuite/tr1/4_metaprogramming/type_properties/
2017         has_virtual_destructor/has_virtual_destructor.cc: Likewise.
2018         * testsuite/util/testsuite_tr1.h (class VirtualDestructorClass): Add.
2019         * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
2020         is_polymorphic.cc: Add test.
2021
2022 2007-04-08  Alexey Beshenov  <bav.272304@gmail.com>
2023
2024         PR libstdc++/31511
2025         * include/c_global/cmath.tcc (__cmath_power): Use _Tp(1).
2026         * include/c_std/cmath.tcc (__cmath_power): Likewise.
2027
2028 2007-04-06  Paolo Carlini  <pcarlini@suse.de>
2029
2030         PR libstdc++/31117
2031         * config/locale/gnu/c_locale.cc (__convert_to_v): Do not use errno,
2032         just check that the value is finite.
2033         * config/locale/generic/c_locale.cc (__convert_to_v): Likewise.
2034
2035 2007-04-06  Paolo Carlini  <pcarlini@suse.de>
2036
2037         * include/ext/type_traits.h (__numeric_traits): Move...
2038         * include/ext/numeric_traits.h: ... here.
2039         * include/Makefile.am: Add.
2040         * include/ext/pb_ds/detail/type_utils.hpp: Include 
2041         <ext/numeric_traits.h> too.
2042         * include/tr1/random: Likewise.
2043         * testsuite/ext/type_traits/numeric_traits.cc: Move...
2044         * testsuite/ext/numeric_traits/numeric_traits.cc: ... here.
2045         * include/Makefile.in: Regenerate.
2046
2047 2007-04-04  Paolo Carlini  <pcarlini@suse.de>
2048
2049         * include/bits/valarray_array.h (__valarray_default_construct(_Tp*,
2050         _Tp*)): Use __is_scalar instead of __is_pod.
2051
2052 2007-04-03  Paolo Carlini  <pcarlini@suse.de>
2053
2054         * include/bits/stl_algobase.h (__copy_aux(_II, _II, _OI),
2055         __copy_backward_aux(_BI1, _BI1, _BI2)): Use __is_pod.
2056         * include/bits/stl_deque.h (deque<>::_M_destroy_data(iterator,
2057         iterator, const std::allocator<>&)): Use __has_trivial_constructor.
2058         (deque<>::_M_destroy_data_dispatch): Remove.
2059         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
2060         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
2061         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
2062         _Size, const _Tp&)): Use __is_pod.
2063         * include/bits/stl_tempbuf.h (_Temporary_buffer::
2064         _Temporary_buffer(_ForwardIterator, _ForwardIterator)): Use __is_pod.
2065         (_Temporary_buffer::_M_initialize_buffer): Remove.
2066         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
2067         _ForwardIterator)): Use __has_trivial_destructor.
2068         (__destroy_aux): Remove.
2069
2070 2007-04-03  Paolo Carlini  <pcarlini@suse.de>
2071
2072         * include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
2073         Uglify parameter.
2074
2075 2007-04-03  Paolo Carlini  <pcarlini@suse.de>
2076
2077         PR libstdc++/31440
2078         * include/bits/stl_tree.h (_M_lower_bound(_Link_type, _Link_type,
2079         const _Key&), _M_upper_bound(_Link_type, _Link_type, const _Key&)):
2080         Add.
2081         (_M_equal_range(const _Key&) const): Remove.
2082         (lower_bound(const key_type&), lower_bound(const key_type&) const,
2083         upper_bound(const key_type&), upper_bound(const key_type&) const,
2084         equal_range(const key_type&), equal_range(const key_type&) const):
2085         Adjust.
2086         (find(const _Key&), find(const _Key&) const): Tweak.
2087         * testsuite/23_containers/map/operations/31440.cc: New.
2088
2089 2007-04-02  Matthew Levine  <gcc@severeweblint.org>
2090             Paolo Carlini  <pcarlini@suse.de>
2091
2092         PR libstdc++/31370
2093         * include/bits/stl_bvector.h (vector<bool>::max_size): Fix.
2094         (vector<bool>::_M_check_len): Add.
2095         * include/bits/vector.tcc (_M_fill_insert(iterator, size_type, bool),
2096         _M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
2097         std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it.
2098         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: New.
2099         * testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust.
2100
2101         * include/bits/stl_vector.h (vector<>::_M_check_len): Add.
2102         * include/bits/vector.tcc (_M_insert_aux(iterator, const _Tp&),
2103         _M_fill_insert(iterator, size_type, const value_type&),
2104         _M_range_insert(iterator, _ForwardIterator, _ForwardIterator,
2105         std::forward_iterator_tag)): Use it.
2106
2107 2007-04-02  Paolo Carlini  <pcarlini@suse.de>
2108
2109         PR libstdc++/31401 (vstring bits)
2110         * include/ext/vstring.tcc (find(const _CharT*, size_type,
2111         size_type)): Avoid unsigned overflow.
2112
2113 2007-04-02  Paolo Carlini  <pcarlini@suse.de>
2114
2115         * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
2116         ios_base&, char_type, const void*)): Fix for sizeof(const void*)
2117         > sizeof(unsigned long).
2118
2119 2007-04-01  Andreas Tobler  <a.tobler@schweiz.org>
2120
2121         * include/tr1/poly_laguerre.tcc: Missing s/__alpha/__alpha1, line 278.
2122
2123 2007-04-01  Richard Henderson  <rth@redhat.com>
2124
2125         * include/tr1/poly_laguerre.tcc: s/__alpha/__alpha1/g.
2126         * include/tr1/ell_integral.tcc: Likewise.
2127
2128 2007-03-31  Paolo Carlini  <pcarlini@suse.de>
2129
2130         * include/bits/stl_bvector.h (_M_fill_insert(iterator, size_type,
2131         bool), _M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
2132         std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Move
2133         out of line...
2134         * include/bits/vector.tcc: ... here.
2135
2136 2007-03-30  Paolo Carlini  <pcarlini@suse.de>
2137
2138         PR c++/26099
2139         * include/bits/cpp_type_traits.h (struct __is_pod, struct __is_empty):
2140         Remove.
2141         * include/bits/valarray_array.h: Adjust.
2142         * include/bits/allocator.h: Likewise.
2143         * include/bits/stl_tree.h: Likewise.
2144
2145 2007-03-30  Paolo Carlini  <pcarlini@suse.de>
2146
2147         PR libstdc++/31401
2148         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
2149         size_type)): Avoid unsigned overflow.
2150         * testsuite/21_strings/basic_string/find/char/4.cc: New.
2151         * testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.
2152
2153 2007-03-27  Paolo Carlini  <pcarlini@suse.de>
2154
2155         * include/bits/fstream.tcc (basic_filebuf<>::underflow):
2156         Don't call codecvt::in at all if _M_ext_next >= _M_ext_end.
2157         * testsuite/27_io/basic_filebuf/underflow/char/3.cc: New.
2158
2159 2007-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2160
2161         * include/c_compatibility/complex.h: Without
2162         __GXX_EXPERIMENTAL_CXX0X__ include_next complex.h.      
2163         * include/c_compatibility/fenv.h: Same.
2164         * include/c_compatibility/inttypes.h: Same.
2165         * include/c_compatibility/stdbool.h: Same.
2166         * include/c_compatibility/stdint.h: Same.
2167         * include/c_compatibility/tgmath.h: Same.
2168
2169         * include/tr1/cinttypes: Use include_next.
2170         * include/tr1/cstdint: Same.
2171         * include/tr1/cstdbool: Same.
2172
2173         * acinclude.m4 (GLIBCXX_ENABLE_C99): Add check for tgmath.h
2174         * configure: Regenerate.
2175         * config.h.in: Same.
2176         
2177 2007-03-25  Paolo Carlini  <pcarlini@suse.de>
2178
2179         * include/tr1/functional: Formatting fixes.
2180
2181 2007-03-23  Paolo Carlini  <pcarlini@suse.de>
2182
2183         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc:
2184         Likewise use std::numeric_limits<>::max().
2185         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc:
2186         Minor tweaks.
2187
2188 2007-03-23  Hans-Peter Nilsson  <hp@axis.com>
2189
2190         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc
2191         (test02): Use std::numeric_limits<>::max() to get suitable large
2192         values.
2193
2194 2007-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2195
2196         * testsuite/21_strings/headers/cstdlib/functions_std.cc: Without
2197         C99 support, _GLIBCXX_USE_WCHAR_T not defined, so
2198         dg-require-c-std.
2199         * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Same.
2200         * testsuite/27_io/headers/iostream/synopsis.cc: Same.
2201         * testsuite/27_io/headers/streambuf/types_std.cc: Same.
2202         * testsuite/27_io/headers/sstream/types_std.cc: Same.
2203         * testsuite/27_io/headers/ostream/types_std.cc: Same.
2204         * testsuite/27_io/headers/istream/types_std.cc: Same.
2205         * testsuite/27_io/headers/iostream/types_std.cc: Same.
2206         * testsuite/27_io/headers/fstream/types_std.cc: Same.
2207         * testsuite/21_strings/headers/string/types_std.cc: Same.
2208         * testsuite/21_strings/headers/cwctype/functions_std.cc: Same.
2209         * testsuite/21_strings/headers/cwctype/types_std.cc: Same.
2210         * testsuite/21_strings/headers/cwchar/functions_std.cc: Same.
2211         * testsuite/21_strings/headers/cwchar/types_std.cc: Same.
2212         
2213         * include/Makefile.am (c_compatibility_headers): Add fenv.h.
2214         * include/Makefile.in: Regenerate.
2215         * configure.host: Update comment.
2216
2217         * include/tr1/cfenv: Use include_next.
2218
2219 2007-03-19  Paolo Carlini  <pcarlini@suse.de>
2220
2221         * include/tr1/tuple (get(_Tuple_impl<>&, get(const _Tuple_impl<>&):
2222         Rename as __get_helper.
2223         (get(tuple<>&, get(const tuple<>&)): Forward to the latter.
2224
2225 2007-03-19  Benjamin Kosnik  <bkoz@redhat.com>
2226
2227         * docs/doxygen/user.cfg.in: Update for new includes, macros.
2228         
2229 2007-03-18  Mark Mitchell  <mark@codesourcery.com>
2230
2231         * libsupc++/array_type_info.cc: Likewise.
2232         * libsupc++/bad_cast.cc: Likewise.
2233         * libsupc++/bad_typeid.cc: Likewise.
2234         * libsupc++/class_type_info.cc: Likewise.
2235         * libsupc++/dyncast.cc: Likewise.
2236         * libsupc++/enum_type_info.cc: Likewise.
2237         * libsupc++/function_type_info.cc: Likewise.
2238         * libsupc++/fundamental_type_info.cc: Likewise.
2239         * libsupc++/pbase_type_info.cc: Likewise.
2240         * libsupc++/pmem_type_info.cc: Likewise.
2241         * libsupc++/pointer_type_info.cc: Likewise.
2242         * libsupc++/si_class_type_info.cc: Likewise.
2243         * libsupc++/vmi_class_type_info.cc: Likewise.
2244         * libsupc++/tinfo.h: Move inline type_info functions here.
2245         * libsupc++/tinfo.cc: Separate type_info classes into their own
2246         files.
2247         * libsupc++/tinfo2.cc: Likewise.
2248         * Makefile.am (sources): Mention new files.
2249         * Makefile.in: Regenerated.
2250
2251 2007-03-16  Benjamin Kosnik  <bkoz@redhat.com>
2252
2253         * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Use
2254         -std=gnu++0x instead of -std=c++0x for testing.
2255         * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same.
2256         * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same.
2257         * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same.
2258         * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same.
2259         * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same.
2260         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same.
2261         * testsuite/17_intro/headers/c++200x/all.cc: Same.
2262         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same.
2263         * testsuite/23_containers/hash/requirements/
2264         explicit_instantiation.cc: Same.
2265         * testsuite/23_containers/unordered_map/requirements/
2266         explicit_instantiation.cc: Same.
2267         * testsuite/23_containers/tuple/requirements/
2268         explicit_instantiation.cc: Same.
2269         * testsuite/23_containers/unordered_multimap/requirements/
2270         explicit_instantiation.cc: Same.
2271         * testsuite/23_containers/unordered_set/requirements/
2272         explicit_instantiation.cc: Same.
2273         * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same.
2274         * testsuite/23_containers/unordered_multiset/requirements/
2275         explicit_instantiation.cc: Same.
2276         * testsuite/23_containers/array/requirements/
2277         explicit_instantiation.cc: Same.
2278         * testsuite/20_util/enable_shared_from_this/requirements/
2279         explicit_instantiation.cc: Same.
2280         * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same.
2281         * testsuite/20_util/headers/functional/
2282         using_namespace_std_placeholders.cc: Same.
2283         * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same.
2284         * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same.
2285         * testsuite/20_util/shared_ptr/requirements/
2286         explicit_instantiation.cc: Same.
2287         * testsuite/20_util/weak_ptr/requirements/
2288         explicit_instantiation.cc: Same.
2289         
2290 2007-03-16  Benjamin Kosnik  <bkoz@redhat.com>
2291         
2292         * testsuite/lib/dg-options.exp (dg-require-c-std): New.
2293         * testsuite/lib/libstdc++.exp (check_v3_target_c_std): New. Check to
2294         see if _GLIBCXX_USE_C99_MATH is active. 
2295         * testsuite/tr1/5_numerical_facilities/special_functions/
2296         08_cyl_bessel_i/check_nan.cc: Use dg-require-c-std.
2297         * testsuite/tr1/5_numerical_facilities/special_functions/
2298         17_hyperg/check_nan.cc: Same.
2299         * testsuite/tr1/5_numerical_facilities/special_functions/
2300         13_ellint_2/check_nan.cc: Same.
2301         * testsuite/tr1/5_numerical_facilities/special_functions/
2302         20_riemann_zeta/check_nan.cc: Same.
2303         * testsuite/tr1/5_numerical_facilities/special_functions/
2304         01_assoc_laguerre/check_nan.cc: Same.
2305         * testsuite/tr1/5_numerical_facilities/special_functions/
2306         02_assoc_legendre/check_nan.cc: Same.
2307         * testsuite/tr1/5_numerical_facilities/special_functions/
2308         22_sph_legendre/check_nan.cc: Same.
2309         * testsuite/tr1/5_numerical_facilities/special_functions/
2310         10_cyl_bessel_k/check_nan.cc: Same.
2311         * testsuite/tr1/5_numerical_facilities/special_functions/
2312         09_cyl_bessel_j/check_nan.cc: Same.
2313         * testsuite/tr1/5_numerical_facilities/special_functions/
2314         21_sph_bessel/check_nan.cc: Same.
2315         * testsuite/tr1/5_numerical_facilities/special_functions/
2316         07_conf_hyperg/check_nan.cc: Same.
2317         * testsuite/tr1/5_numerical_facilities/special_functions/
2318         16_hermite/check_nan.cc: Same.
2319         * testsuite/tr1/5_numerical_facilities/special_functions/
2320         12_ellint_1/check_nan.cc: Same.
2321         * testsuite/tr1/5_numerical_facilities/special_functions/
2322         05_comp_ellint_2/check_nan.cc: Same.
2323         * testsuite/tr1/5_numerical_facilities/special_functions/
2324         18_laguerre/check_nan.cc: Same.
2325         * testsuite/tr1/5_numerical_facilities/special_functions/
2326         14_ellint_3/check_nan.cc: Same.
2327         * testsuite/tr1/5_numerical_facilities/special_functions/
2328         04_comp_ellint_1/check_nan.cc: Same.
2329         * testsuite/tr1/5_numerical_facilities/special_functions/
2330         06_comp_ellint_3/check_nan.cc: Same.
2331         * testsuite/tr1/5_numerical_facilities/special_functions/
2332         19_legendre/check_nan.cc: Same.
2333         * testsuite/tr1/5_numerical_facilities/special_functions/
2334         03_beta/check_nan.cc: Same.
2335         * testsuite/tr1/5_numerical_facilities/special_functions/
2336         11_cyl_neumann/check_nan.cc: Same.
2337         * testsuite/tr1/5_numerical_facilities/special_functions/
2338         15_expint/check_nan.cc: Same.
2339         * testsuite/tr1/5_numerical_facilities/special_functions/
2340         23_sph_neumann/check_nan.cc: Same.
2341
2342         * include/tr1/poly_laguerre.tcc (__poly_laguerre): Don't check if
2343         unsigned int can be a NaN.
2344
2345 2007-03-16  Edward M. Smith-Rowland  <3dw4rd@verizon.net>
2346
2347         * docs/html/ext/tr1.html : Marked tr1 math special functions done.
2348         * docs/html/faq/index.html : Ditto.
2349         * include/Makefile.in : Added new special function header files.
2350         * include/Makefile.am : Ditto.  
2351         * include/tr1/common.h : Added type promotion routines for three
2352         and four args.
2353
2354         * include/tr1/special_function_util.h: New.
2355         * include/tr1/bessel_function.tcc: New.
2356         * include/tr1/beta_function.tcc: New.
2357         * include/tr1/ell_integral.tcc: New.
2358         * include/tr1/exp_integral.tcc: New.
2359         * include/tr1/gamma.tcc: New.
2360         * include/tr1/hypergeometric.tcc: New.
2361         * include/tr1/legendre_function.tcc: New.
2362         * include/tr1/modified_bessel_func.tcc: New.
2363         * include/tr1/poly_hermite.tcc: New.
2364         * include/tr1/poly_laguerre.tcc: New.
2365         * include/tr1/riemann_zeta.tcc: New.
2366         * include/tr1/cmath : Included tr1 math special functions.
2367         * include/tr1/math.h : Ditto.
2368         * testsuite/tr1/5_numerical_facilities/special_functions/
2369         testcase.h: New.
2370         * testsuite/tr1/5_numerical_facilities/special_functions/
2371         01_assoc_laguerre/compile.cc: New.
2372         * testsuite/tr1/5_numerical_facilities/special_functions/
2373         01_assoc_laguerre/check_nan.cc: New.
2374         * testsuite/tr1/5_numerical_facilities/special_functions/
2375         01_assoc_laguerre/check_value.cc: New.
2376         * testsuite/tr1/5_numerical_facilities/special_functions/
2377         01_assoc_laguerre/compile_2.cc: New.
2378         * testsuite/tr1/5_numerical_facilities/special_functions/
2379         02_assoc_legendre/compile.cc: New.
2380         * testsuite/tr1/5_numerical_facilities/special_functions/
2381         02_assoc_legendre/check_nan.cc: New.
2382         * testsuite/tr1/5_numerical_facilities/special_functions/
2383         02_assoc_legendre/check_value.cc: New.
2384         * testsuite/tr1/5_numerical_facilities/special_functions/
2385         02_assoc_legendre/compile_2.cc: New.
2386         * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
2387         compile.cc: New.
2388         * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
2389         check_nan.cc: New.
2390         * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
2391         check_value.cc: New.
2392         * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
2393         compile_2.cc: New.
2394         * testsuite/tr1/5_numerical_facilities/special_functions/
2395         04_comp_ellint_1/compile.cc: New.
2396         * testsuite/tr1/5_numerical_facilities/special_functions/
2397         04_comp_ellint_1/check_nan.cc: New.
2398         * testsuite/tr1/5_numerical_facilities/special_functions/
2399         04_comp_ellint_1/check_value.cc: New.
2400         * testsuite/tr1/5_numerical_facilities/special_functions/
2401         04_comp_ellint_1/compile_2.cc: New.
2402         * testsuite/tr1/5_numerical_facilities/special_functions/
2403         05_comp_ellint_2/compile.cc: New.
2404         * testsuite/tr1/5_numerical_facilities/special_functions/
2405         05_comp_ellint_2/check_nan.cc: New.
2406         * testsuite/tr1/5_numerical_facilities/special_functions/
2407         05_comp_ellint_2/check_value.cc: New.
2408         * testsuite/tr1/5_numerical_facilities/special_functions/
2409         05_comp_ellint_2/compile_2.cc: New.
2410         * testsuite/tr1/5_numerical_facilities/special_functions/
2411         06_comp_ellint_3/compile.cc: New.
2412         * testsuite/tr1/5_numerical_facilities/special_functions/
2413         06_comp_ellint_3/check_nan.cc: New.
2414         * testsuite/tr1/5_numerical_facilities/special_functions/
2415         06_comp_ellint_3/check_value.cc: New.
2416         * testsuite/tr1/5_numerical_facilities/special_functions/
2417         06_comp_ellint_3/compile_2.cc: New.
2418         * testsuite/tr1/5_numerical_facilities/special_functions/
2419         07_conf_hyperg/compile.cc: New.
2420         * testsuite/tr1/5_numerical_facilities/special_functions/
2421         07_conf_hyperg/check_nan.cc: New.
2422         * testsuite/tr1/5_numerical_facilities/special_functions/
2423         07_conf_hyperg/check_value.cc: New.
2424         * testsuite/tr1/5_numerical_facilities/special_functions/
2425         07_conf_hyperg/compile_2.cc: New.
2426         * testsuite/tr1/5_numerical_facilities/special_functions/
2427         08_cyl_bessel_i/compile.cc: New.
2428         * testsuite/tr1/5_numerical_facilities/special_functions/
2429         08_cyl_bessel_i/check_nan.cc: New.
2430         * testsuite/tr1/5_numerical_facilities/special_functions/
2431         08_cyl_bessel_i/check_value.cc: New.
2432         * testsuite/tr1/5_numerical_facilities/special_functions/
2433         08_cyl_bessel_i/compile_2.cc: New.
2434         * testsuite/tr1/5_numerical_facilities/special_functions/
2435         09_cyl_bessel_j/compile.cc: New.
2436         * testsuite/tr1/5_numerical_facilities/special_functions/
2437         09_cyl_bessel_j/check_nan.cc: New.
2438         * testsuite/tr1/5_numerical_facilities/special_functions/
2439         09_cyl_bessel_j/check_value.cc: New.
2440         * testsuite/tr1/5_numerical_facilities/special_functions/
2441         09_cyl_bessel_j/compile_2.cc: New.
2442         * testsuite/tr1/5_numerical_facilities/special_functions/
2443         10_cyl_bessel_k/compile.cc: New.
2444         * testsuite/tr1/5_numerical_facilities/special_functions/
2445         10_cyl_bessel_k/check_nan.cc: New.
2446         * testsuite/tr1/5_numerical_facilities/special_functions/
2447         10_cyl_bessel_k/check_value.cc: New.
2448         * testsuite/tr1/5_numerical_facilities/special_functions/
2449         10_cyl_bessel_k/compile_2.cc: New.
2450         * testsuite/tr1/5_numerical_facilities/special_functions/
2451         11_cyl_neumann/compile.cc: New.
2452         * testsuite/tr1/5_numerical_facilities/special_functions/
2453         11_cyl_neumann/check_nan.cc: New.
2454         * testsuite/tr1/5_numerical_facilities/special_functions/
2455         11_cyl_neumann/check_value.cc: New.
2456         * testsuite/tr1/5_numerical_facilities/special_functions/
2457         11_cyl_neumann/compile_2.cc: New.
2458         * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
2459         compile.cc: New.
2460         * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
2461         check_nan.cc: New.
2462         * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
2463         check_value.cc: New.
2464         * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
2465         compile_2.cc: New.
2466         * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
2467         compile.cc: New.
2468         * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
2469         check_nan.cc: New.
2470         * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
2471         check_value.cc: New.
2472         * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
2473         compile_2.cc: New.
2474         * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
2475         compile.cc: New.
2476         * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
2477         check_nan.cc: New.
2478         * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
2479         check_value.cc: New.
2480         * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
2481         compile_2.cc: New.
2482         * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
2483         check_value_neg.cc: New.
2484         * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
2485         compile.cc: New.
2486         * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
2487         check_nan.cc: New.
2488         * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
2489         compile_2.cc: New.
2490         * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
2491         check_value_pos.cc: New.
2492         * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
2493         compile.cc: New.
2494         * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
2495         check_nan.cc: New.
2496         * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
2497         compile_2.cc: New.
2498         * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
2499         compile.cc: New.
2500         * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
2501         check_nan.cc: New.
2502         * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
2503         check_value.cc: New.
2504         * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
2505         compile_2.cc: New.
2506         * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
2507         compile.cc: New.
2508         * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
2509         check_nan.cc: New.
2510         * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
2511         check_value.cc: New.
2512         * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
2513         compile_2.cc: New.
2514         * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
2515         compile.cc: New.
2516         * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
2517         check_nan.cc: New.
2518         * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
2519         check_value.cc: New.
2520         * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
2521         compile_2.cc: New.
2522         * testsuite/tr1/5_numerical_facilities/special_functions/
2523         20_riemann_zeta/check_value_neg.cc: New.
2524         * testsuite/tr1/5_numerical_facilities/special_functions/
2525         20_riemann_zeta/compile.cc: New.
2526         * testsuite/tr1/5_numerical_facilities/special_functions/
2527         20_riemann_zeta/check_nan.cc: New.
2528         * testsuite/tr1/5_numerical_facilities/special_functions/
2529         20_riemann_zeta/compile_2.cc: New.
2530         * testsuite/tr1/5_numerical_facilities/special_functions/
2531         20_riemann_zeta/check_value_pos.cc: New.
2532         * testsuite/tr1/5_numerical_facilities/special_functions/
2533         21_sph_bessel/compile.cc: New.
2534         * testsuite/tr1/5_numerical_facilities/special_functions/
2535         21_sph_bessel/check_nan.cc: New.
2536         * testsuite/tr1/5_numerical_facilities/special_functions/
2537         21_sph_bessel/check_value.cc: New.
2538         * testsuite/tr1/5_numerical_facilities/special_functions/
2539         21_sph_bessel/compile_2.cc: New.
2540         * testsuite/tr1/5_numerical_facilities/special_functions/
2541         22_sph_legendre/compile.cc: New.
2542         * testsuite/tr1/5_numerical_facilities/special_functions/
2543         22_sph_legendre/check_nan.cc: New.
2544         * testsuite/tr1/5_numerical_facilities/special_functions/
2545         22_sph_legendre/check_value.cc: New.
2546         * testsuite/tr1/5_numerical_facilities/special_functions/
2547         22_sph_legendre/compile_2.cc: New.
2548         * testsuite/tr1/5_numerical_facilities/special_functions/
2549         23_sph_neumann/compile.cc: New.
2550         * testsuite/tr1/5_numerical_facilities/special_functions/
2551         23_sph_neumann/check_nan.cc: New.
2552         * testsuite/tr1/5_numerical_facilities/special_functions/
2553         23_sph_neumann/check_value.cc: New.
2554         * testsuite/tr1/5_numerical_facilities/special_functions/
2555         23_sph_neumann/ compile_2.cc: New.
2556         
2557 2007-03-15  Hans-Peter Nilsson  <hp@axis.com>
2558
2559         * testsuite/lib/libstdc++.exp (v3-build_support) <ar>: If it
2560         exists, use env(AR_FOR_TARGET).  Log the command.
2561         <ranlib>: Similar.
2562
2563 2007-03-14  Nathan Sidwell  <nathan@codesourcery.com>
2564             Joseph Myers  <joseph@codesourcery.com>::
2565
2566         * testsuite/lib/libstdc++.exp (check_v3_target_fileio,
2567         check_v3_target_time): New.
2568         * testsuite/lib/dg-options.exp (dg-require-fileio,
2569         dg-require-time): New.
2570         * testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
2571         * testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
2572         * testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
2573         * testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
2574         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
2575         * testsuite/ext/stdio_filebuf/char/2.cc: Use it.
2576         * testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
2577         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
2578         * testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
2579         * testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
2580         * testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
2581         * testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
2582         * testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
2583         * testsuite/27_io/objects/char/12048-2.cc: Use it.
2584         * testsuite/27_io/objects/char/12048-4.cc: Use it.
2585         * testsuite/27_io/objects/char/12048-1.cc: Use it.
2586         * testsuite/27_io/objects/char/12048-3.cc: Use it.
2587         * testsuite/27_io/objects/char/10.cc: Use it.
2588         * testsuite/27_io/objects/char/12048-5.cc: Use it.
2589         * testsuite/27_io/basic_istream/get/char/2.cc: Use it.
2590         * testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
2591         * testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
2592         * testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
2593         * testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
2594         * testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
2595         * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
2596         * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
2597         * testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
2598         * testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
2599         * testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
2600         * testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
2601         * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
2602         * testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
2603         * testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
2604         * testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
2605         * testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
2606         * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
2607         * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
2608         * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
2609         * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
2610         * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
2611         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
2612         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
2613         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
2614         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
2615         * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
2616         * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
2617         * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
2618         * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
2619         * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
2620         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
2621         * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
2622         * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
2623         * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
2624         * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
2625         * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
2626         * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
2627         * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
2628         * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
2629         * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
2630         * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
2631         * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
2632         * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
2633         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
2634         * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
2635         * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
2636         * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
2637         * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
2638         * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
2639         * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
2640         * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
2641         * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
2642         * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
2643         * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
2644         * testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
2645         * testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
2646         * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
2647         * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
2648         * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
2649         * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
2650         * testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
2651         * testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
2652         * testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
2653         * testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
2654         * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
2655         * testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
2656         * testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
2657         * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
2658         * testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
2659         * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
2660         * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
2661         * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
2662         * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
2663         * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
2664         * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
2665         * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
2666         * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
2667         * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
2668         * testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
2669         * testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
2670         * testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
2671         * testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
2672         * testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
2673         * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
2674         * testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
2675         * testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
2676         * testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
2677         * testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
2678         * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
2679         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
2680         * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
2681         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
2682         * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
2683         * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
2684         * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
2685         * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
2686         * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
2687         * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
2688         * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
2689         * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
2690         * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
2691         * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
2692         * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
2693         * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
2694         * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
2695         * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
2696         * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
2697         * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
2698         * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
2699         * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
2700         * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
2701         * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
2702         * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
2703         * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
2704         * testsuite/21_strings/basic_string/inserters_extractors/
2705         char/10.cc: Use it.
2706         * testsuite/21_strings/basic_string/inserters_extractors/
2707         char/11.cc: Use it.
2708         * testsuite/21_strings/basic_string/inserters_extractors/
2709         char/5.cc: Use it.
2710
2711 2007-03-13  Paolo Carlini  <pcarlini@suse.de>
2712
2713         * include/tr1/tuple: Only include <utility> for std::pair, and
2714         forward declare reference_wrapper; formatting fixes.
2715         * include/tr1/ref_fwd.h: Remove.
2716         * include/tr1/tuple_defs.h: Remove, unused.
2717         * include/Makefile.am: Update.
2718         * include/Makefile.in: Regenerate.
2719         * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
2720         Include <tr1/functional> too.
2721
2722         * include/tr1/tuple: Define tuple_size<tuple<_Elements...> >::value.
2723
2724 2007-03-12  Stephen M. Webb  <stephen.webb@bregmasoft.com>
2725
2726         * include/tr1/regex: Add "boilerplate" implementations.
2727         * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/
2728         translate_nocase.cc: New.
2729         * testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/
2730         ctor.cc: Likewise.
2731         * testsuite/tr1/7_regular_expressions/regex_traits/char/
2732         translate_nocase.cc: Likewise.
2733         * testsuite/tr1/7_regular_expressions/regex_traits/char/
2734         ctor.cc: Likewise.
2735         * testsuite/tr1/7_regular_expressions/regex/cons/char/
2736         c_string_ecma.cc: Likewise.
2737         * testsuite/tr1/7_regular_expressions/regex/cons/char/
2738         default.cc: Likewise.
2739         * testsuite/tr1/7_regular_expressions/regex/cons/char/
2740         c_string_grep.cc: Likewise.
2741         * testsuite/tr1/7_regular_expressions/regex/cons/char/
2742         c_string_extended.cc: Likewise.
2743         * testsuite/tr1/7_regular_expressions/regex/cons/char/
2744         c_string_basic.cc: Likewise.
2745         * testsuite/tr1/7_regular_expressions/regex/cons/char/
2746         c_string_awk.cc: Likewise.
2747         * testsuite/tr1/7_regular_expressions/regex/cons/char/
2748         c_string_egrep.cc: Likewise.
2749         * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
2750         range.cc: Likewise.
2751         * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
2752         string_op.cc: Likewise.
2753         * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
2754         string.cc: Likewise.
2755         * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
2756         pstring.cc: Likewise.
2757         * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
2758         cstring_op.cc: Likewise.
2759         * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/
2760         cstring.cc: Likewise.
2761         * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
2762         range.cc: Likewise.
2763         * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
2764         string_op.cc: Likewise.
2765         * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
2766         string.cc: Likewise.
2767         * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
2768         pstring.cc: Likewise.
2769         * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
2770         cstring_op.cc: Likewise.
2771         * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/
2772         cstring.cc: Likewise.
2773         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
2774         range.cc: Likewise.
2775         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
2776         default.cc: Likewise.
2777         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
2778         string.cc: Likewise.
2779         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
2780         pstring.cc: Likewise.
2781         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
2782         cstring.cc: Likewise.
2783         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
2784         range.cc: Likewise.
2785         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
2786         default.cc: Likewise.
2787         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
2788         string.cc: Likewise.
2789         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
2790         pstring.cc: Likewise.
2791         * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
2792         cstring.cc: Likewise.
2793         * testsuite/tr1/7_regular_expressions/match_results/ctors/char/
2794         default.cc: Likewise.
2795
2796 2007-03-12  Paolo Carlini  <pcarlini@suse.de>
2797
2798         * include/bits/stl_algo.h (swap_ranges): Move...
2799         * include/bits/stl_algobase.h: ... here.
2800         * include/tr1/array: Trim includes, stl_algobase.h is enough.
2801
2802 2007-03-11  Paolo Carlini  <pcarlini@suse.de>
2803
2804         PR libstdc++/28080 (final)
2805         * include/std/iosfwd: Do not include <bits/c++io.h>.
2806         * config/io/basic_file_stdio.h: Do it here.
2807         * include/ext/stdio_sync_filebuf.h: Likewise.
2808         * include/ext/rope: Include <bits/gthr.h> unconditionally.
2809         * include/std/fstream: Do not include <bits/gthr.h>.
2810         
2811         * include/std/ios: Do not include <cstdio>.
2812         * include/bits/ios_base.h: Do it here.
2813         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
2814         line numbers.
2815         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2816
2817 2007-03-10  Paolo Carlini  <pcarlini@suse.de>
2818
2819         PR libstdc++/28080 (partial)
2820         * include/std/memory: Move C++03 implementation...
2821         * include/bits/stl_memory.h: ... here, new.
2822         * include/Makefile.am: Add.
2823         * include/bits/stl_tempbuf.h: Include the latter instead.
2824         * include/tr1/hashtable: Include allocator.h instead of
2825         the whole <memory>.
2826         * include/tr1/hashtable_policy.h: Include stl_function.h
2827         instead of <functional>.
2828         * include/Makefile.in: Regenerate.
2829         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error
2830         line numbers.
2831
2832 2007-03-09  Douglas Gregor  <doug.gregor@gmail.com>
2833
2834         * include/Makefile.in: Regenerate.
2835         * include/tr1/mu_iterate.h: Remove.
2836         * include/tr1/tuple (_Tuple_impl): New.
2837         (tuple): Make variadic, re-implement as shell over _Tuple_impl.
2838         (0-element tuple): Basis case.
2839         (2-element tuple): Handle pair methods.
2840         (__get_helper): Remove.
2841         (tuple_element): Reimplement with variadic templates.
2842         (tuple_size): Ditto.
2843         (get): Ditto.
2844         (operator==): Use variadic templates in the signature.
2845         (operator<): Ditto.
2846         (operator!=): Ditto.
2847         (operator>): Ditto.
2848         (operator<=): Ditto.
2849         (operator>=): Ditto.
2850         (__stripped_tuple_type): Remove; we've inlined its behavior.
2851         (make_tuple): Reimplement with variadic templates.
2852         (tie): Ditto.
2853         * include/tr1/tuple_iterate.h: Remove.
2854         * include/tr1/bind_repeat.h: Remove.
2855         * include/tr1/ref_wrap_iterate.h: Remove.
2856         * include/tr1/bind_iterate.h: Remove.
2857         * include/tr1/functional (_Weak_result_type): Add variadic
2858         partial specializations.
2859         (result_of): Ditto.
2860         (__invoke): Reimplement using variadic templates.
2861         (reference_wrapper): Reimplement operator() with variadic
2862         templates.
2863         (_Maybe_unary_or_binary_function): New.
2864         (_Mem_fn): Implement for member function pointers using variadic
2865         templates.
2866         (placeholders): Define 30 placeholders.
2867         (_Index_tuple): New.
2868         (_Build_index_tuple): New.
2869         (_No_tuple_element): New.
2870         (_Safe_tuple_element_impl): New.
2871         (_Safe_tuple_element): New.
2872         (_Mu): Reimplement with variadic templates, use
2873         _Safe_tuple_element instead of tuple_element.
2874         (_Bind): Reimplement with variadic templates and tuples.
2875         (_Bind_result): Ditto.
2876         (bind): Reimplement with variadic templates.
2877         (_Function_handler): Ditto.
2878         (function): Ditto.
2879         * include/tr1/functional_iterate.h: Remove.
2880         * include/tr1/repeat.h: Remove.
2881         * include/Makefile.am: Don't install removed headers.
2882         
2883 2007-03-06  Paolo Carlini  <pcarlini@suse.de>
2884
2885         PR libstdc++/28080 (partial)
2886         * include/bits/stl_algobase.h: Do not include <cstdlib>.
2887         * src/localename.cc: Do it here.
2888         * src/ctype.cc: Likewise.
2889         * include/ext/pb_ds/detail/map_debug_base.hpp: Likewise.
2890         * include/ext/pb_ds/exception.hpp: Likewise.
2891         * include/ext/pb_ds/list_update_policy.hpp: Likewise.
2892         * include/bits/stl_algo.h: Likewise.
2893         * include/tr1/random: Likewise.
2894         * testsuite/util/testsuite_hooks.cc: Likewise.
2895         * testsuite/util/testsuite_abi_check.cc: Likewise.
2896         * testsuite/util/testsuite_abi.cc: Likewise.
2897         * testsuite/util/performance/assoc/timing/
2898         tree_order_statistics_test.hpp: Likewise.
2899         * config/locale/darwin/ctype_members.cc: Likewise.
2900         * config/locale/gnu/c++locale_internal.h: Likewise.
2901         * config/locale/generic/ctype_members.cc: Likewise.
2902         * config/locale/generic/time_members.cc: Likewise.
2903
2904         * include/ext/pb_ds/detail/resize_policy/
2905         hash_load_check_resize_trigger_imp.hpp: Qualify abort.
2906         * testsuite/util/performance/assoc/timing/
2907         multimap_find_test.hpp: Likewise.
2908         * include/std/valarray: Do include <cstdlib>.
2909         * include/tr1/hashtable: Likewise.
2910
2911 2007-03-05  Joseph Myers  <joseph@codesourcery.com>
2912
2913         PR libstdc++/30675
2914         * testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
2915         "ar"] and [transform "ranlib"].
2916
2917 2007-03-04  Paolo Carlini  <pcarlini@suse.de>
2918
2919         * testsuite/27_io/basic_ostream/inserters_arithmetic/
2920         char/31031.cc: Include the right header.
2921
2922 2007-03-04  Benjamin Kosnik  <bkoz@redhat.com>
2923
2924         * acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global.
2925         * configure.host (c_model): Set default to c_global.
2926         * configure: Regenerate.
2927         * include/Makefile.am (c_compatibility_headers_extra): Make
2928         conditional on GLIBCXX_C_HEADERS_COMPATIBILITY.
2929         (c_base_headers_extra): Make conditional on GLIBCXX_C_HEADERS_EXTRA.
2930         (c_compatibility_headers): Make conditional on c/c_std/c_global.
2931         * include/Makefile.in: Regenerate.
2932         * docs/html/configopts.html: Add c_global information to
2933         --enable-cheaders. Eventually, "c_std" should mean "C" includes
2934         that are in namespace std, with optional C++ "C" compatibility
2935         includes to inject into global scope. And "c_global" should mean
2936         "C" includes that are in the global namespace, with C++ includes
2937         injecting into namespace std and no C++ "C" compatibility
2938         includes.
2939  
2940 2007-03-04  Benjamin Kosnik  <bkoz@redhat.com>
2941
2942         * include/bits/c++config: Add _GLIBCXX_NAMEPACE_C.
2943         Add _GLIBCXX_NAMESPACE_ASSOCIATION_CXX200x.
2944         Add _GLIBCXX_TR1 as namespace macro.
2945         Add namespace associations for std::__cxx200x conditionally.
2946
2947         * include/c_compatibility/assert.h: Correct doxygen markup,
2948         conditionalize the global injections on _GLIBCXX_NAMESPACE_C.
2949         * include/c_compatibility/ctype.h: Same.
2950         * include/c_compatibility/errno.h: Same.
2951         * include/c_compatibility/float.h: Same.
2952         * include/c_compatibility/iso646.h: Same.
2953         * include/c_compatibility/limits.h: Same.
2954         * include/c_compatibility/locale.h: Same.
2955         * include/c_compatibility/math.h: Same.
2956         * include/c_compatibility/setjmp.h: Same.
2957         * include/c_compatibility/signal.h: Same.
2958         * include/c_compatibility/stdarg.h: Same.
2959         * include/c_compatibility/stddef.h: Same.
2960         * include/c_compatibility/stdio.h: Same.
2961         * include/c_compatibility/stdlib.h: Same.
2962         * include/c_compatibility/string.h: Same.
2963         * include/c_compatibility/time.h: Same.
2964         * include/c_compatibility/wchar.h: Same.
2965         * include/c_compatibility/wctype.h: Same.
2966
2967         * include/c_compatibility/complex.h: Add.
2968         * include/c_compatibility/fenv.h: Same.
2969         * include/c_compatibility/inttypes.h: Same.
2970         * include/c_compatibility/stdbool.h: Same.
2971         * include/c_compatibility/stdint.h: Same.
2972         * include/c_compatibility/tgmath.h: Same.
2973
2974         * include/c_global/cassert: Add, use include_next, use C++0x features
2975         if -std=c++0x.
2976         * include/c_global/cctype: Same.
2977         * include/c_global/cerrno: Same.
2978         * include/c_global/cfloat: Same.
2979         * include/c_global/ciso646: Same.
2980         * include/c_global/climits: Same.
2981         * include/c_global/clocale: Same.
2982         * include/c_global/cmath: Same.
2983         * include/c_global/cmath.tcc: Same.
2984         * include/c_global/csetjmp: Same.
2985         * include/c_global/csignal: Same.
2986         * include/c_global/cstdarg: Same.
2987         * include/c_global/cstddef: Same.
2988         * include/c_global/cstdio: Same.
2989         * include/c_global/cstdlib: Same.
2990         * include/c_global/cstring: Same.
2991         * include/c_global/ctime: Same.
2992         * include/c_global/cwchar: Same.
2993         * include/c_global/cwctype: Same.
2994
2995         * include/c_global/ccomplex: Add.
2996         * include/c_global/cfenv: Add.
2997         * include/c_global/cinttypes: Add. 
2998         * include/c_global/cstdbool: Add.
2999         * include/c_global/cstdint: Add.
3000         * include/c_global/ctgmath: Add.
3001
3002         * include/std/algorithm: Use C++0x features if -std=c++0x.      
3003         * include/std/bitset: Same.
3004         * include/std/complex: Same.
3005         * include/std/deque: Same.
3006         * include/std/fstream: Same.
3007         * include/std/functional: Same.
3008         * include/std/iomanip: Same.
3009         * include/std/ios: Same.
3010         * include/std/iosfwd: Same.
3011         * include/std/iostream: Same.
3012         * include/std/istream: Same.
3013         * include/std/iterator: Same.
3014         * include/std/limits: Same.
3015         * include/std/list: Same.
3016         * include/std/locale: Same.
3017         * include/std/map: Same.
3018         * include/std/memory: Same.
3019         * include/std/numeric: Same.
3020         * include/std/ostream: Same.
3021         * include/std/queue: Same.
3022         * include/std/set: Same.
3023         * include/std/sstream: Same.
3024         * include/std/stack: Same.
3025         * include/std/stdexcept: Same.
3026         * include/std/streambuf: Same.
3027         * include/std/string: Same.
3028         * include/std/utility: Same.
3029         * include/std/valarray: Same.
3030         * include/std/vector: Same.
3031
3032         * include/std/array: Add.
3033         * include/std/random: Add.
3034         * include/std/regex: Add.
3035         * include/std/tuple: Add.
3036         * include/std/type_traits: Add.
3037         * include/std/unordered_map: Add.
3038         * include/std/unordered_set: Add.
3039         * include/std/c++0x_warning.h: Add.
3040         
3041         * include/tr1/array: Switch namespaces based on _GLIBCXX_TR1.
3042         * include/tr1/boost_shared_ptr.h: Same.
3043         * include/tr1/cctype: Same.
3044         * include/tr1/cfenv: Same.
3045         * include/tr1/cinttypes: Same.
3046         * include/tr1/cmath: Same.
3047         * include/tr1/common.h: Same.
3048         * include/tr1/complex: Same.
3049         * include/tr1/cstdint: Same.
3050         * include/tr1/cstdio: Same.
3051         * include/tr1/cstdlib: Same.
3052         * include/tr1/cwchar: Same.
3053         * include/tr1/cwctype: Same.
3054         * include/tr1/functional: Same.
3055         * include/tr1/functional_hash.h: Same.
3056         * include/tr1/functional_iterate.h: Same.
3057         * include/tr1/hashtable: Same.
3058         * include/tr1/hashtable_policy.h: Same.
3059         * include/tr1/math.h: Same.
3060         * include/tr1/memory: Same.
3061         * include/tr1/random: Same.
3062         * include/tr1/random.tcc: Same.
3063         * include/tr1/ref_fwd.h: Same.
3064         * include/tr1/repeat.h: Same.
3065         * include/tr1/stdlib.h: Same.
3066         * include/tr1/tuple: Same.
3067         * include/tr1/tuple_iterate.h: Same.
3068         * include/tr1/type_traits: Same.
3069         * include/tr1/type_traits_fwd.h: Same.
3070         * include/tr1/unordered_map: Same.
3071         * include/tr1/unordered_set: Same.
3072         * include/tr1/utility: Same.
3073
3074         * include/tr1/ccomplex: Add.
3075         * include/tr1/complex.h: Add.
3076         * include/tr1/regex: Add.
3077
3078         * include/Makefile.am: Add C++0x headers, "C" compatibility headers.
3079         * include/Makefile.in: Regenerate.
3080
3081         * testsuite/tr1/headers.cc: Add in regex/complex.
3082
3083         * testsuite/17_intro/headers/c++200x/all.cc: New.
3084         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same.
3085         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same.
3086         * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Same.
3087         * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Same.
3088         * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same.
3089         * testsuite/20_util/enable_shared_from_this/requirements/
3090         explicit_instantiation.cc: Same.
3091         * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same.
3092         * testsuite/20_util/headers/functional/
3093         using_namespace_std_placeholders.cc: Same.
3094         * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same.
3095         * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Same.
3096         * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same.
3097         * testsuite/20_util/shared_ptr/requirements/
3098         explicit_instantiation.cc: Same.
3099         * testsuite/20_util/weak_ptr/requirements/
3100         explicit_instantiation.cc: Same.
3101         * testsuite/23_containers/array/requirements/
3102         explicit_instantiation.cc: Same.
3103         * testsuite/23_containers/hash/requirements/
3104         explicit_instantiation.cc: Same.
3105         * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Same.
3106         * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Same.
3107         * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same.
3108         * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Same.
3109         * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Same.
3110         * testsuite/23_containers/tuple/requirements/
3111         explicit_instantiation.cc: Same.
3112         * testsuite/23_containers/unordered_map/requirements/
3113         explicit_instantiation.cc: Same.
3114         * testsuite/23_containers/unordered_multimap/requirements/
3115         explicit_instantiation.cc: Same.
3116         * testsuite/23_containers/unordered_multiset/requirements/
3117         explicit_instantiation.cc: Same.
3118         * testsuite/23_containers/unordered_set/requirements/
3119         explicit_instantiation.cc: Same.
3120         * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Same.
3121         * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Same.
3122         * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same.
3123         * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same.
3124         * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same.
3125         * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Same.
3126         * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Same.
3127         * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same.
3128         * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Same.
3129         * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Same.
3130         * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Same.
3131
3132         * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Rename ...
3133         * testsuite/tr1/8_c_compatibility/cinttypes/types.cc: Same.
3134         * testsuite/tr1/8_c_compatibility/cmath/types.cc: Same.
3135         * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Same.
3136         * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Same.
3137         * testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc: ...to this.
3138         * testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc: Same.
3139         * testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc: Same.
3140         * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Same.
3141         * testsuite/tr1/8_c_compatibility/cstdlib/types_std_tr1.cc: Same.
3142
3143 2007-03-03  Paolo Carlini  <pcarlini@suse.de>
3144
3145         PR libstdc++/31031
3146         * include/bits/istream.tcc: Inhibit implicit instantiation of
3147         the _M_insert helpers.
3148         * include/bits/ostream.tcc: Likewise for _M_extract.
3149         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
3150         31031.cc: New.
3151         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
3152         31031.cc: Likewise.
3153
3154 2007-03-03  Benjamin Kosnik  <bkoz@redhat.com>
3155
3156         * include/debug/functions.h: Use cstddef.
3157         
3158         * testsuite/tr1/3_function_objects/headers/functional/
3159         using_namespace_std_tr1_placeholders.cc: Fix include.
3160         
3161 2007-03-03  Benjamin Kosnik  <bkoz@redhat.com>
3162
3163         * crossconfig.m4 (djgpp): Correct builtin defines to HAVE___,
3164         instead of HAVE____.
3165         * configure: Regenerate.
3166
3167 2007-03-03  Paolo Carlini  <pcarlini@suse.de>
3168
3169         PR libstdc++/28080 (partial)
3170         * include/bits/stl_algobase.h: Do not include <iosfwd>,
3171         <bits/functexcept.h> is enough; adjust __copy_aux declarations;
3172         remove declaration of copy overload for istreambuf_iterator /
3173         ostreambuf_iterator.
3174         * src/debug.cc: Include <cstdio>.
3175         * include/ext/rope: Include <iosfwd>.
3176         * include/bits/char_traits.h: Include <cstdio> and <cwchar>.
3177         * include/bits/stl_algo.h: Remove declaration of find overload
3178         for istreambuf_iterator.
3179         * include/std/queue: Clean up includes.
3180         * include/std/stack: Likewise.
3181         * include/std/memory: Likewise.
3182         * include/std/algorithm: Likewise.
3183         * include/std/vector: Likewise.
3184         * include/std/deque: Likewise.
3185         * include/std/list: Likewise.
3186         * include/bits/stl_tree.h: Likewise.
3187         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust
3188         dg-error markers.
3189         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
3190         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
3191         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
3192         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
3193         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
3194         * testsuite/20_util/auto_ptr/assign_neg.cc: Likewise.
3195
3196         * include/ext/type_traits.h: Fix type of __max_digits10; clean up
3197         includes.
3198
3199         * testsuite/util/testsuite_hooks.h: Do not include <cstddef>.
3200         * testsuite/util/testsuite_hooks.cc: Do it here.
3201
3202 2007-03-02  Paolo Carlini  <pcarlini@suse.de>
3203
3204         * testsuite/27_io/objects/wchar_t/9661-1.cc: Include <cstdlib>.
3205         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3206         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3207         * testsuite/27_io/objects/char/7.cc: Likewise.
3208         * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
3209         * testsuite/27_io/basic_istream/ignore/char/2.cc: Likewise.
3210         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise.
3211         * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
3212         * testsuite/27_io/basic_istream/extractors_arithmetic/char/
3213         11.cc: Likewise.
3214         * testsuite/27_io/basic_istream/extractors_character/wchar_t/
3215         4.cc: Likewise.
3216         * testsuite/27_io/basic_istream/extractors_character/char/
3217         4.cc: Likewise.
3218         * testsuite/27_io/basic_ostream/seekp/wchar_t/
3219         2346-fstream.cc: Likewise.
3220         * testsuite/27_io/basic_ostream/seekp/char/
3221         2346-fstream.cc: Likewise.
3222         * testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: Likewise.
3223         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
3224         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
3225         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3226         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3227         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Likewise.
3228         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3229         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3230         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise.
3231         * testsuite/21_strings/basic_string/inserters_extractors/
3232         wchar_t/10.cc: Likewise.
3233         * testsuite/21_strings/basic_string/inserters_extractors/
3234         wchar_t/11.cc: Likewise.
3235         * testsuite/21_strings/basic_string/inserters_extractors/
3236         char/10.cc: Likewise.
3237         * testsuite/21_strings/basic_string/inserters_extractors/
3238         char/11.cc: Likewise.
3239         * testsuite/ext/pb_ds/example/trie_dna.cc: Likewise.
3240         * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
3241         * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
3242         * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Likewise.
3243         * testsuite/performance/27_io/ifstream_getline.cc: Likewise.
3244         * testsuite/22_locale/locale/cons/4.cc: Likewise.
3245         * testsuite/22_locale/locale/cons/5.cc: Likewise.
3246         * testsuite/tr1/2_general_utilities/shared_ptr/thread/
3247         mutex_weaktoshared.cc: Likewise.
3248         * testsuite/tr1/2_general_utilities/shared_ptr/thread/
3249         default_weaktoshared.cc: Likewise.
3250         * testsuite/thread/pthread5.cc: Likewise.
3251         * testsuite/thread/pthread1.cc: Likewise.
3252         * testsuite/23_containers/deque/cons/assign/1.cc: Likewise.
3253
3254 2007-03-02  Paolo Carlini  <pcarlini@suse.de>
3255
3256         * testsuite/thread/pthread1.cc: Include <pthread.h>.
3257         * testsuite/thread/pthread2.cc: Likewise.
3258         * testsuite/thread/pthread3.cc: Likewise.
3259         * testsuite/thread/pthread4.cc: Likewise.
3260         * testsuite/thread/pthread5.cc: Likewise.
3261         * testsuite/thread/pthread6.cc: Likewise.
3262         * testsuite/thread/pthread7-rope.cc: Likewise.
3263
3264 2007-03-02  Paolo Carlini  <pcarlini@suse.de>
3265
3266         PR libstdc++/28080 (partial)
3267         * include/tr1/random (class random_device): Rework to use simple
3268         <cstdio> input, do not include <fstream>.
3269         * include/tr1/random.tcc (all inserters and extractors): Refer
3270         to ios_base as base class of basic_istream or basic_ostream.
3271
3272 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
3273
3274         * Makefile.am: Add dummy install-pdf target.
3275         * Makefile.in: Regenerate
3276
3277 2007-03-01  Paolo Carlini  <pcarlini@suse.de>
3278
3279         PR libstdc++/31005
3280         * include/bits/localefwd.h: Include <cctype>.
3281
3282 2007-02-27  Paolo Carlini  <pcarlini@suse.de>
3283
3284         PR libstdc++/28080 (partial)
3285         * include/std/bitset: Do not include <ios>, <iosfwd> is enough.
3286         (operator>>(std::basic_istream<>&, bitset<>&)): Tweak, refer to
3287         ios_base as a base of basic_istream.
3288         * include/std/iomanip: Do not include <ios>, <iosfwd> + 
3289         <bits/ios_base.h> is enough.
3290         * include/std/iosfwd: Do not include <cctype> here...
3291         * include/bits/locale_facets.h: ... do it here, when needed.
3292         * include/bits/ostream.tcc: Clean up, do not include <locale> here...
3293         * include/std/ostream: ... here instead.
3294         * include/bits/istream.tcc: Likewise for <locale> and <ostream>...
3295         * include/std/istream: ... here.
3296         * include/bits/sstream.tcc: Do not include <sstream>.
3297
3298 2007-02-27  Richard Guenther  <rguenther@suse.de>
3299
3300         * acinclude.m4: Adjust regular expression for ld version extraction.
3301         * configure: Regenerate.
3302
3303 2007-02-26  DJ Delorie  <dj@redhat.com>
3304
3305         * crossconfig.m4 (djgpp): Pre-detect djgpp-specific results, to
3306         avoid needing to link during cross compiling.
3307         * configure: Regenerated.
3308
3309 2007-02-26  Paolo Carlini  <pcarlini@suse.de>
3310
3311         PR libstdc++/28080 (partial)
3312         * include/std/bitset: Do not include <istream> and <ostream>,
3313         <ios> is enough.
3314         * include/std/iomanip: Do not include the whole <istream>,
3315         <ios> is enough; do not include <functional>; reformat.
3316         * include/std/functional: Do not include <cstddef>.
3317         * include/std/list: Do not include <bits/stl_uninitialized.h>.
3318         * include/std/numeric: Do not include the whole <iterator> and
3319         <bits/stl_function.h>.
3320         * include/std/valarray: Do not include <numeric>.
3321         * include/bits/stl_numeric.h: Include <bits/concept_check.h>.
3322         * src/iostream-inst.cc: Include <istream>.
3323         * include/ext/functional: Include <cstddef>.
3324         * testsuite/util/testsuite_hooks.h: Do not include <locale>,
3325         <ctime> is enough; qualify tm.
3326         * testsuite/util/testsuite_hooks.cc: Qualify tm.
3327
3328 2007-02-26  Paolo Carlini  <pcarlini@suse.de>
3329
3330         * include/bits/locale_facets.h (class ctype_byname<char>,
3331         class ctype_byname<wchar_t>): Declare.
3332         * src/ctype.cc (ctype_byname<wchar_t>::ctype_byname(const char*,
3333         size_t), ctype_byname<wchar_t>::~ctype_byname): Define.
3334         * config/locale/generic/ctype_members.cc (ctype_byname<char>::
3335         ctype_byname(const char*, size_t), ctype_byname<char>::~ctype_byname):
3336         Likewise.
3337         * config/locale/gnu/ctype_members.cc (ctype_byname<char>::
3338         ctype_byname(const char*, size_t), ctype_byname<char>::~ctype_byname):
3339         Likewise.
3340         * config/locale/darwin/ctype_members.cc (ctype_byname<char>::
3341         ctype_byname(const char*, size_t), ctype_byname<char>::~ctype_byname):
3342         Likewise.
3343         * testsuite/22_locale/headers/locale/synopsis.cc: Remove xfail.
3344
3345 2007-02-25  Paolo Carlini  <pcarlini@suse.de>
3346
3347         * testsuite/19_diagnostics/headers/cerrno/macros.cc: Include
3348         the right header.
3349         * testsuite/18_support/headers/cstdlib/macros.cc: Likewise.
3350
3351 2007-02-23  Paolo Carlini  <pcarlini@suse.de>
3352         
3353         PR libstdc++/25896
3354         * include/tr1/hashtable (_Hashtable<>::erase(const key_type&)):
3355         Take care of &_M_extract((*__slot)->_M_v) == &__k.
3356
3357         * testsuite/tr1/6_containers/unordered_map/erase/1.cc: New.
3358         * testsuite/tr1/6_containers/unordered_multimap/erase/1.cc: Likewise.
3359         * testsuite/tr1/6_containers/unordered_multiset/erase/1.cc: Likewise.
3360         * testsuite/tr1/6_containers/unordered_set/erase/1.cc: Likewise.
3361
3362 2007-02-23  Mark Mitchell  <mark@codesourcery.com>
3363
3364         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: XFAIL for wrapped
3365         targets.
3366
3367 2007-02-23  Mark Mitchell  <mark@codesourcery.com>
3368
3369         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
3370         XFAIL for Newlib targets.
3371
3372 2007-02-22  Simon Martin  <simartin@users.sourceforge.net>
3373
3374         * testsuite/27_io/basic_ios/cons/char/3.cc: Fixed type mismatches in
3375         explicit instantiations.
3376         * testsuite/27_io/basic_istream/extractors_other/pod/
3377         3983-3.cc: Likewise.
3378         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc:
3379         Likewise.
3380         * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
3381         Likewise.
3382         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
3383         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
3384         * testsuite/21_strings/basic_string/inserters_extractors/
3385         pod/10081-in.cc: Likewise.
3386         * testsuite/21_strings/basic_string/inserters_extractors/pod/
3387         10081-out.cc: Likewise.
3388         * testsuite/21_strings/basic_string/capacity/1.cc: Likewise.
3389
3390 2007-02-22  Paolo Carlini  <pcarlini@suse.de>
3391
3392         * include/tr1/unordered_map (class __unordered_map,
3393         class __unordered_multimap): New.
3394         (class unordered_map, class unordered_multimap): Forward to
3395         the latter.
3396         * include/tr1/unordered_set: Likewise for unordered_set and
3397         unordered_multiset.
3398         * testsuite/tr1/6_containers/headers/unordered_set/synopsis.cc:
3399         Remove xfail.
3400         * testsuite/tr1/6_containers/headers/unordered_map/synopsis.cc:
3401         Likewise.
3402         * testsuite/tr1/6_containers/unordered_multimap/requirements/
3403         explicit_instantiation.cc: Adjust.
3404         * testsuite/tr1/6_containers/unordered_set/requirements/
3405         explicit_instantiation.cc: Likewise.
3406         * testsuite/tr1/6_containers/unordered_map/requirements/
3407         explicit_instantiation.cc: Likewise.
3408         * testsuite/tr1/6_containers/unordered_multiset/requirements/
3409         explicit_instantiation.cc: Likewise.
3410         * testsuite/tr1/6_containers/unordered_map/24064.cc: Likewise.
3411         * testsuite/util/native_type/assoc/native_hash_set.hpp: Likewise.
3412         * testsuite/util/native_type/assoc/native_hash_map.hpp: Likewise.
3413
3414 2007-02-20  Mark Mitchell  <mark@codesourcery.com>
3415
3416         * testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue
3417         with -fexceptions.
3418
3419 2007-02-20  Paolo Carlini  <pcarlini@suse.de>
3420
3421         PR libstdc++/28080 (partial)
3422         * include/tr1/functional: Split out hash bits to...
3423         * include/tr1/functional_hash.h: ...here.
3424         * include/Makefile.am: Add.
3425         * include/tr1/unordered_set: Include the latter instead.
3426         * include/tr1/unordered_map: Likewise.
3427         * include/tr1/random: Do not include the whole <algorithm>,
3428         stl_algobase.h is enough.
3429         * include/tr1/memory: Likewise.
3430         * include/Makefile.in: Regenerate.
3431
3432         * include/tr1/utility (get(std::pair<>&), get(const std::pair<>&)):
3433         Mark inline.
3434
3435 2007-02-20  Benjamin Kosnik  <bkoz@redhat.com>
3436
3437         Directory layout flattening.
3438
3439         Added in testsuite:
3440         * 20_util/allocator
3441         * 20_util/auto_ptr
3442         * 20_util/function_objects
3443         * 20_util/function_objects/binders
3444         * 20_util/function_objects/binders/1.cc
3445         * 20_util/function_objects/binders/3113.cc
3446         * 20_util/function_objects/comparisons.cc
3447         * 20_util/pair
3448         * 20_util/raw_storage_iterator
3449         * 20_util/rel_ops.cc
3450         * 20_util/specialized_algorithms
3451         * 20_util/specialized_algorithms/16505.cc
3452         * 20_util/temporary_buffer.cc
3453         * 26_numerics/numeric_arrays/slice_array
3454         * 26_numerics/numeric_arrays/slice_array/array_assignment.cc
3455         * 26_numerics/numeric_arrays/slice_array/requirements
3456         * 26_numerics/numeric_arrays/slice_array/requirements/
3457         explicit_instantiation.cc
3458         * 26_numerics/numeric_arrays/slice_array/requirements/typedefs.cc
3459         * 26_numerics/numeric_arrays/valarray
3460         * 26_numerics/numeric_arrays/valarray/27867.cc
3461         * 26_numerics/numeric_arrays/valarray/28277.cc
3462         * 26_numerics/numeric_arrays/valarray/30416.cc
3463         * 26_numerics/numeric_arrays/valarray/algo.cc
3464         * 26_numerics/numeric_arrays/valarray/binary_closure.cc
3465         * 26_numerics/numeric_arrays/valarray/const_bracket.cc
3466         * 26_numerics/numeric_arrays/valarray/dr543.cc
3467         * 26_numerics/numeric_arrays/valarray/name_lookup.cc
3468         * 26_numerics/numeric_arrays/valarray/operators.cc
3469         * 26_numerics/numeric_arrays/valarray/requirements
3470         * 26_numerics/numeric_arrays/valarray/requirements/
3471         explicit_instantiation.cc
3472         * 26_numerics/numeric_arrays/valarray/requirements/typedefs.cc
3473         * 26_numerics/numeric_arrays/valarray/subset_assignment.cc
3474         * tr1/2_general_utilities/enable_shared_from_this
3475         * tr1/2_general_utilities/shared_ptr
3476         * tr1/2_general_utilities/weak_ptr
3477         
3478         Deleted in testsuite:
3479         * 20_util/functional
3480         * 20_util/functional/binders
3481         * 20_util/functional/binders/1.cc
3482         * 20_util/functional/binders/3113.cc
3483         * 20_util/functional/comparisons.cc
3484         * 20_util/memory
3485         * 20_util/memory/16505.cc
3486         * 20_util/memory/allocator
3487         * 20_util/memory/allocator/10378.cc
3488         * 20_util/memory/allocator/14176.cc
3489         * 20_util/memory/allocator/1.cc
3490         * 20_util/memory/allocator/8230.cc
3491         * 20_util/memory/allocator/requirements
3492         * 20_util/memory/allocator/requirements/explicit_instantiation
3493         * 20_util/memory/allocator/requirements/explicit_instantiation/1.cc
3494         * 20_util/memory/auto_ptr
3495         * 20_util/memory/auto_ptr/1.cc
3496         * 20_util/memory/auto_ptr/2.cc
3497         * 20_util/memory/auto_ptr/3946.cc
3498         * 20_util/memory/auto_ptr/3.cc
3499         * 20_util/memory/auto_ptr/4.cc
3500         * 20_util/memory/auto_ptr/5.cc
3501         * 20_util/memory/auto_ptr/6.cc
3502         * 20_util/memory/auto_ptr/7.cc
3503         * 20_util/memory/auto_ptr/assign_neg.cc
3504         * 20_util/memory/auto_ptr/requirements
3505         * 20_util/memory/auto_ptr/requirements/explicit_instantiation
3506         * 20_util/memory/auto_ptr/requirements/explicit_instantiation/1.cc
3507         * 20_util/memory/raw_storage_iterator
3508         * 20_util/memory/raw_storage_iterator/requirements
3509         * 20_util/memory/raw_storage_iterator/requirements/base_classes.cc
3510         * 20_util/memory/raw_storage_iterator/requirements/
3511         explicit_instantiation
3512         * 20_util/memory/raw_storage_iterator/requirements/
3513         explicit_instantiation/1.cc
3514         * 20_util/memory/raw_storage_iterator/requirements/typedefs.cc
3515         * 20_util/memory/temporary_buffer.cc
3516         * 20_util/utility
3517         * 20_util/utility/pair
3518         * 20_util/utility/pair/1.cc
3519         * 20_util/utility/pair/2.cc
3520         * 20_util/utility/pair/3.cc
3521         * 20_util/utility/pair/4.cc
3522         * 20_util/utility/pair/requirements
3523         * 20_util/utility/pair/requirements/explicit_instantiation
3524         * 20_util/utility/pair/requirements/explicit_instantiation/1.cc
3525         * 20_util/utility/rel_ops.cc
3526         * 26_numerics/numeric_arrays/27867.cc
3527         * 26_numerics/numeric_arrays/28277.cc
3528         * 26_numerics/numeric_arrays/30416.cc
3529         * 26_numerics/numeric_arrays/binary_closure.cc
3530         * 26_numerics/numeric_arrays/dr543.cc
3531         * 26_numerics/numeric_arrays/slice_array_assignment.cc
3532         * 26_numerics/numeric_arrays/valarray.cc
3533         * 26_numerics/numeric_arrays/valarray_const_bracket.cc
3534         * 26_numerics/numeric_arrays/valarray_name_lookup.cc
3535         * 26_numerics/numeric_arrays/valarray_operators.cc
3536         * 26_numerics/numeric_arrays/valarray_subset_assignment.cc
3537         * tr1/2_general_utilities/memory
3538         * tr1/2_general_utilities/memory/enable_shared_from_this
3539         * tr1/2_general_utilities/memory/enable_shared_from_this/1.cc
3540         * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared2.cc
3541         * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared3.cc
3542         * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared.cc
3543         * tr1/2_general_utilities/memory/enable_shared_from_this/requirements
3544         * tr1/2_general_utilities/memory/enable_shared_from_this/
3545         requirements/explicit_instantiation
3546         * tr1/2_general_utilities/memory/enable_shared_from_this/
3547         requirements/explicit_instantiation/1.cc
3548         * tr1/2_general_utilities/memory/enable_shared_from_this/shared.cc
3549         * tr1/2_general_utilities/memory/enable_shared_from_this/
3550         still_shared.cc
3551         * tr1/2_general_utilities/memory/shared_ptr
3552         * tr1/2_general_utilities/memory/shared_ptr/assign
3553         * tr1/2_general_utilities/memory/shared_ptr/assign/assign.cc
3554         * tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr.cc
3555         * tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_neg.cc
3556         * tr1/2_general_utilities/memory/shared_ptr/assign/
3557         auto_ptr_rvalue_neg.cc
3558         * tr1/2_general_utilities/memory/shared_ptr/assign/dr541.cc
3559         * tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr.cc
3560         * tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr_neg.cc
3561         * tr1/2_general_utilities/memory/shared_ptr/casts
3562         * tr1/2_general_utilities/memory/shared_ptr/casts/1.cc
3563         * tr1/2_general_utilities/memory/shared_ptr/comparison
3564         * tr1/2_general_utilities/memory/shared_ptr/comparison/cmp.cc
3565         * tr1/2_general_utilities/memory/shared_ptr/cons
3566         * tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr.cc
3567         * tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr_neg.cc
3568         * tr1/2_general_utilities/memory/shared_ptr/cons/copy.cc
3569         * tr1/2_general_utilities/memory/shared_ptr/cons/default.cc
3570         * tr1/2_general_utilities/memory/shared_ptr/cons/pointer.cc
3571         * tr1/2_general_utilities/memory/shared_ptr/cons/weak_ptr.cc
3572         * tr1/2_general_utilities/memory/shared_ptr/cons/weak_ptr_expired.cc
3573         * tr1/2_general_utilities/memory/shared_ptr/dest
3574         * tr1/2_general_utilities/memory/shared_ptr/dest/dest.cc
3575         * tr1/2_general_utilities/memory/shared_ptr/misc
3576         * tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc
3577         * tr1/2_general_utilities/memory/shared_ptr/misc/io.cc
3578         * tr1/2_general_utilities/memory/shared_ptr/misc/swap.cc
3579         * tr1/2_general_utilities/memory/shared_ptr/modifiers
3580         * tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc
3581         * tr1/2_general_utilities/memory/shared_ptr/modifiers/reset.cc
3582         * tr1/2_general_utilities/memory/shared_ptr/modifiers/reset_neg.cc
3583         * tr1/2_general_utilities/memory/shared_ptr/modifiers/swap.cc
3584         * tr1/2_general_utilities/memory/shared_ptr/modifiers/swap_neg.cc
3585         * tr1/2_general_utilities/memory/shared_ptr/observers
3586         * tr1/2_general_utilities/memory/shared_ptr/observers/bool_conv.cc
3587         * tr1/2_general_utilities/memory/shared_ptr/observers/get.cc
3588         * tr1/2_general_utilities/memory/shared_ptr/observers/unique.cc
3589         * tr1/2_general_utilities/memory/shared_ptr/observers/use_count.cc
3590         * tr1/2_general_utilities/memory/shared_ptr/requirements
3591         * tr1/2_general_utilities/memory/shared_ptr/requirements/
3592         explicit_instantiation
3593         * tr1/2_general_utilities/memory/shared_ptr/requirements/
3594         explicit_instantiation/1.cc
3595         * tr1/2_general_utilities/memory/shared_ptr/thread
3596         * tr1/2_general_utilities/memory/shared_ptr/thread/
3597         default_weaktoshared.cc
3598         * tr1/2_general_utilities/memory/shared_ptr/thread/
3599         mutex_weaktoshared.cc
3600         * tr1/2_general_utilities/memory/weak_ptr
3601         * tr1/2_general_utilities/memory/weak_ptr/lock
3602         * tr1/2_general_utilities/memory/weak_ptr/lock/1.cc
3603         * tr1/2_general_utilities/memory/weak_ptr/requirements
3604         * tr1/2_general_utilities/memory/weak_ptr/requirements/
3605         explicit_instantiation
3606         * tr1/2_general_utilities/memory/weak_ptr/requirements/
3607         explicit_instantiation/1.cc
3608
3609 2007-02-20  Benjamin Kosnik  <bkoz@redhat.com>
3610
3611         Revamp library API testing.
3612         
3613         Added in testsuite:
3614         * 17_intro/headers
3615         * 17_intro/headers/all_assert_neg.cc
3616         * 17_intro/headers/all_c++200x_compatibility.cc
3617         * 17_intro/headers/all.cc
3618         * 17_intro/headers/c++1998
3619         * 17_intro/headers/c++1998/all.cc
3620         * 17_intro/headers/c++1998/all_multiple_inclusion.cc
3621         * 17_intro/headers/c++1998/c++_for_c.tar
3622         * 17_intro/headers/c++1998/c++.tar
3623         * 17_intro/using_namespace_std.cc
3624         * 18_support/headers
3625         * 18_support/headers/cfloat
3626         * 18_support/headers/cfloat/values.cc
3627         * 18_support/headers/climits
3628         * 18_support/headers/climits/values.cc
3629         * 18_support/headers/csetjmp
3630         * 18_support/headers/csetjmp/functions_std.cc
3631         * 18_support/headers/csetjmp/macros.cc
3632         * 18_support/headers/csetjmp/types_std.cc
3633         * 18_support/headers/csignal
3634         * 18_support/headers/csignal/functions_std.cc
3635         * 18_support/headers/csignal/macros.cc
3636         * 18_support/headers/csignal/types_std.cc
3637         * 18_support/headers/cstdarg
3638         * 18_support/headers/cstdarg/macros.cc
3639         * 18_support/headers/cstdarg/types_std.cc
3640         * 18_support/headers/cstddef
3641         * 18_support/headers/cstddef/macros.cc
3642         * 18_support/headers/cstddef/types_std.cc
3643         * 18_support/headers/cstdlib
3644         * 18_support/headers/cstdlib/functions_std.cc
3645         * 18_support/headers/cstdlib/macros.cc
3646         * 18_support/headers/ctime
3647         * 18_support/headers/ctime/functions_std.cc
3648         * 18_support/headers/ctime/macros.cc
3649         * 18_support/headers/ctime/types_std.cc
3650         * 18_support/headers/exception
3651         * 18_support/headers/exception/synopsis.cc