OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2007-10-02  Richard Sandiford  <richard@codesourcery.com>
2
3         * acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add
4         -fno-exceptions to CXXFLAGS.  Use GCC_TRY_COMPILE_OR_LINK.
5         Make the tests assign results to volatile variables.
6         * configure: Regenerate.
7
8 2007-10-02  Benjamin Kosnik  <bkoz@redhat.com>
9
10         * testsuite/25_algorithms/binary_search/2.cc: Split into...
11         * testsuite/25_algorithms/upper_bound/2.cc: ... this.
12         * testsuite/25_algorithms/lower_bound/2.cc: ... this.
13         * testsuite/25_algorithms/equal_range/2.cc: ... and this.
14         * testsuite/25_algorithms/sort/vectorbool.cc: Add from
15         libstdcxx_so_7-branch.
16
17 2007-09-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
18
19         * src/valarray-inst.cc, include/ext/atomicity.h,
20         include/ext/concurrence.h, include/bits/basic_string.h,
21         include/bits/fstream.tcc, include/ext/vstring.h: Fix comment typos.
22
23 2007-09-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
24
25         * docs/html/test.html, docs/html/ext/mt_allocator.html,
26         docs/html/ext/tr1.html, docs/html/17_intro/contribute.html,
27         docs/html/documentation.html, docs/html/20_util/allocator.html:
28         Update docs to refer to Subversion not CVS. Fix markup.
29
30 2007-09-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
31
32         * docs/html/Makefile: Follow up to libstdc++/14991, remove target.
33
34 2007-09-28  Benjamin Kosnik  <bkoz@redhat.com>
35
36         * include/parallel/algorithmfwd.h: Spacing.
37         * include/parallel/tags.h: Correct comment.
38         
39         * testsuite/Makefile.am (AM_MAKEFLAGS, AM_RUNTESTFLAGS): Remove.
40         * testsuite/Makefile.in: Regenerate.
41         
42 2007-09-27  Benjamin Kosnik  <bkoz@redhat.com>
43
44         * testsuite/util/testsuite_hooks.cc (set_memory_limits): Adjust
45         x86_64 virtual memory setting for libgomp.
46         
47 2007-09-26  Benjamin Kosnik  <bkoz@redhat.com>
48
49         * include/bits/stl_algo.h: Add return type information to comments.
50         * include/bits/algorithmfwd.h: Formatting.
51         * testsuite/util/testsuite_hooks.h (NonDefaultConstructible): Move..
52         * testsuite/util/testsuite_api.h: ...here. Add necessary operators
53         for use in testing chapters 25 and 26.
54         * testsuite/util/testsuite_character.h: Same.
55
56         * testsuite/25_algorithms/*/requirements/explicit_instantiation/
57         2.cc, pod.cc: New.
58
59         * testsuite/26_numerics/accumulate, adjacent_difference, inner_product,
60         partial_sum/requirements/explicit_instantiation/2.cc, pod.cc: New.
61         
62         * testsuite/26_numerics/numeric_arrays/*: Move contents into
63         testsuite/26_numerics.
64
65         * testsuite/26_numerics/numeric_operations: Same.
66         
67         * testsuite/23_containers/*/requirements/explicit_instantiation/2.cc:
68         Adjust includes from testsuite_eh.h to testsuite_api.h.
69
70 2007-09-25  Richard Sandiford  <rsandifo@nildram.co.uk>
71
72         * testsuite/lib/libstdc++.exp (check_v3_target_fileio): Test lseek.
73
74 2007-09-18  Benjamin Kosnik  <bkoz@redhat.com>
75             Chalathip Thumkanon  <chalathip@gmail.com>
76
77         PR libstdc++/32819
78         PR libstdc++/32822
79         * docs/html/ext/pb_ds/hash_based_containers.html: Correct.
80         
81 2007-09-17  Benjamin Kosnik  <bkoz@redhat.com>
82
83         * configure.host: Set atomic_flags on i486.
84
85         * include/Makefile.am: Remove parallel-mode pch.        
86         * include/Makefile.in: Regenerate.
87
88         * testsuite/lib/libstdc++.exp: Set ld_library_flags for libgomp if
89         present.
90
91         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Comment.
92         * configure: Regenerate.
93
94 2007-09-17  Johannes Singler  <singler@ira.uka.de>
95
96         * include/parallel/for_each.h: Fixed comment/doxygen markup typos.
97         * include/parallel/base.h: Same.
98         * include/parallel/numeric: Same.
99         * include/parallel/quicksort.h: Same.
100         * include/parallel/compiletime_settings.h: Same.
101         * include/parallel/random_shuffle.h: Same.
102         * include/parallel/balanced_quicksort.h: Same.
103         * include/parallel/tree.h: Same.
104         * include/parallel/settings.h: Same.
105         * include/parallel/search.h: Same.
106         * include/parallel/partition.h: Same.
107         * include/parallel/partial_sum.h: Same.
108
109 2007-09-17  Paolo Carlini  <pcarlini@suse.de>
110
111         * include/tr1_impl/type_traitsfwd.h (aligned_storage): Remove
112         declaration.
113         * include/tr1_impl/type_traits (aligned_storage): Remove.
114         * include/std/type_traits (aligned_storage, __aligned_storage_msa):
115         Add.
116         * include/tr1/type_traits (aligned_storage): Add.
117         * testsuite/20_util/aligned_storage/value.cc: New.
118         * testsuite/20_util/aligned_storage/requirements/
119         explicit_instantiation.cc: Likewise.
120         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
121         dg-error lines.
122         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
123         Likewise.
124
125 2007-09-16  Paolo Carlini  <pcarlini@suse.de>
126             Douglas Gregor  <doug.gregor@gmail.com>
127
128         * include/tr1_impl/type_traits (aligned_storage): Implement
129         in the neat and general way.
130
131 2007-09-14  Benjamin Kosnik  <bkoz@redhat.com>
132         
133         * include/parallel/base.h (__gnu_parallel::less<Tp>): Add partial
134         specialization for one argument. 
135         (__gnu_parallel::less): Add operator.
136
137         * include/parallel/multiway_merge.h: Use __builtin_alloca. 
138         * include/parallel/partial_sum.h: Same.
139         * include/parallel/find.h: Same.        
140         
141 2007-09-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
142
143         * include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add
144         missing template argument.
145         * testsuite/tr1/2_general_utilities/shared_ptr/requirements/
146         explicit_instantiation/2.cc: New.
147         * testsuite/tr1/2_general_utilities/weak_ptr/requirements/
148         explicit_instantiation/2.cc: New.
149
150 2007-09-14  Benjamin Kosnik  <bkoz@redhat.com>
151
152         * testsuite/17_intro/headers/all_pedantic_errors.cc: New.
153         * include/tr1_impl/cinttypes: Add pragma GCC system_header.
154         * include/tr1_impl/cfenv: Same.
155         * include/tr1_impl/cstdint: Same.
156         * include/tr1/cstdbool: Same.
157         * include/ext/pb_ds/detail/resize_policy/
158         hash_prime_size_policy_imp.hpp: Same.
159         * include/parallel/partial_sum.h: Avoid VLA error with
160         __builtin_alloca.
161
162 2007-09-14  Thiemo Seufer  <ths@mips.com>
163
164         * crossconfig.m4 (mips*-sde-elf*): New stanza.
165         * configure: Regenerate.
166
167 2007-09-12  Benjamin Kosnik  <bkoz@redhat.com>
168
169         * include/ext/pb_ds/*: Change namespace pb_ds to __gnu_pbds.
170         * docs/html/ext/pb_ds/*: Same.
171         * testsuite/ext/pb_ds/*: Same.
172         * testsuite/performance/ext/pb_ds/*: Same.
173         * testsuite/util/*: Same.
174         
175 2007-09-12  Benjamin Kosnik  <bkoz@redhat.com>
176
177         * include/parallel/find.h: Doxygen fixups.
178         * include/bits/hashtable.h: Same.
179
180 2007-09-11  Johannes Singler  <singler@ira.uka.de>
181             Leonor Frias Moya  <lfrias@lsi.upc.edu>
182             Felix Putze  <kontakt@felix-putze.de>
183             Marius Elvert  <marius.elvert@ira.uka.de>
184             Felix Bondarenko  <f.bondarenko@web.de>
185             Robert Geisberger  <robert.geisberger@stud.uni-karlsruhe.de>
186             Robin Dapp  <r.dapp@freenet.de>
187             Benjamin Kosnik  <bkoz@redhat.com>
188
189         Add parallel mode.
190         * include/parallel: New.
191         * include/parallel/iterator.h: New.
192         * include/parallel/multiway_merge.h: New.
193         * include/parallel/parallel.h: New.
194         * include/parallel/algorithm
195         * include/parallel/find_selectors.h: New.
196         * include/parallel/losertree.h: New.
197         * include/parallel/list_partition.h: New.
198         * include/parallel/types.h: New.
199         * include/parallel/for_each.h: New.
200         * include/parallel/multiseq_selection.h: New.
201         * include/parallel/workstealing.h: New.
202         * include/parallel/base.h: New.
203         * include/parallel/par_loop.h: New.
204         * include/parallel/numeric
205         * include/parallel/features.h: New.
206         * include/parallel/quicksort.h: New.
207         * include/parallel/algorithmfwd.h: New.
208         * include/parallel/equally_split.h: New.
209         * include/parallel/compiletime_settings.h: New.
210         * include/parallel/for_each_selectors.h: New.
211         * include/parallel/basic_iterator.h: New.
212         * include/parallel/omp_loop_static.h: New.
213         * include/parallel/random_shuffle.h: New.
214         * include/parallel/balanced_quicksort.h: New.
215         * include/parallel/set_operations.h: New.
216         * include/parallel/tags.h: New.
217         * include/parallel/merge.h: New.
218         * include/parallel/tree.h: New.
219         * include/parallel/settings.h: New.
220         * include/parallel/unique_copy.h: New.
221         * include/parallel/multiway_mergesort.h: New.
222         * include/parallel/numericfwd.h: New.
223         * include/parallel/search.h: New.
224         * include/parallel/partition.h: New.
225         * include/parallel/compatibility.h: New.
226         * include/parallel/algobase.h: New.
227         * include/parallel/find.h: New.
228         * include/parallel/partial_sum.h: New.
229         * include/parallel/algo.h: New.
230         * include/parallel/omp_loop.h: New.
231         * include/parallel/queue.h: New.
232         * include/parallel/timing.h: New.
233         * include/parallel/sort.h: New.
234         * include/parallel/checkers.h: New.
235         * include/parallel/random_number.h: New.
236         * include/bits/algorithmfwd.h: New.
237
238         * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): New.
239         * configure.host: Add atomic_flags.
240         * configure.ac: Export ATOMIC_FLAGS, call GLIBCXX_ENABLE_PARALLEL.
241         * src/Makefile.am: Add parallel_list rules.
242         * include/Makefile.am: Add parallel files.
243         * testsuite/Makefile.am (check-parallel): Add.
244         (check-performance-parallel): Add.
245         * config.h.in: Regenerate.
246         * configure: Same.
247         * libsupc++/Makefile.in: Same.
248         * testsuite/Makefile.in: Same.
249         * Makefile.in: Same.
250         * libmath/Makefile.in: Same.
251         * include/Makefile.in: Same.
252         * src/Makefile.in: Same.
253         * po/Makefile.in: Same.
254         
255         * config/abi/pre/gnu.ver: Export parallel list bits.
256
257         * docs/html/parallel_mode.html: New.
258         * docs/html/documentation.html: Add link.
259         * docs/doxygen/user.cfg.in: Adjust for new files and directory.
260         * docs/doxygen/doxygroups.cc: Adjust namespace markup.
261
262         * include/debug/set.h: Adjust for _GLIBCXX_STD_D or _P change.
263         * include/debug/bitset: Same.
264         * include/debug/multiset.h: Same.
265         * include/debug/vector: Same.
266         * include/debug/map.h: Same.
267         * include/debug/deque: Same.
268         * include/debug/list: Same.
269         * include/debug/debug.h: Same.
270         * include/debug/multimap.h: Same.
271         * include/std/algorithm: Same.
272         * include/std/numeric: Same.
273         * include/std/bitset: Same.
274         * include/std/string: Same.
275         * include/ext/hash_map: Same.
276         * include/ext/hash_set: Same.
277         * include/bits/stl_list.h: Same.
278         * include/bits/stl_map.h: Same.
279         * include/bits/stl_algobase.h: Same.
280         * include/bits/stl_set.h: Same.
281         * include/bits/stl_multimap.h: Same.
282         * include/bits/stl_vector.h: Same.
283         * include/bits/stl_numeric.h: Same.
284         * include/bits/stl_deque.h: Same.
285         * include/bits/stl_multiset.h: Same.
286         * include/bits/char_traits.h: Same.
287         * include/bits/stl_algo.h: Same.
288         * include/bits/c++config: Same.
289         * include/bits/vector.tcc: Same.
290         * include/bits/deque.tcc: Same.
291         * include/bits/stl_bvector.h: Same.
292         * include/bits/list.tcc: Same.
293         * src/list.cc: Same.
294         * src/parallel_list.cc: New.
295
296         * testsuite/lib/libstdc++.exp (check_v3_target_parallel_mode): New.
297         * testsuite/lib/dg-options.exp (dg-require-parallel-mode): New.
298         * scripts/testsuite_flags.in (--cxxparallelflags): New.
299         * scripts/check_performance: Adjust.
300         * testsuite/25_algorithms/headers/parallel_algorithm.cc: New.
301         * testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: New.
302         * testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: New.
303         * testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: New.
304         * testsuite/26_numerics/headers/numeric/parallel_numeric.cc: New.
305         * testsuite/26_numerics/headers/numeric/numeric_parallel_mode.cc: New.
306         * testsuite/26_numerics/headers/numeric/
307         parallel_numeric_mixed1.cc: New.
308         * testsuite/26_numerics/headers/numeric/
309         parallel_numeric_mixed2.cc: New.
310         
311 2007-09-11  Daniel Jacobowitz  <dan@codesourcery.com>
312
313         * testsuite/lib/libstdc++.exp (libstdc++_init): Revert part of
314         2007-09-06 change.
315
316 2007-09-09  Roger Sayle  <roger@eyesopen.com>
317
318         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ECANCELED for cygwin.
319         * configure: Regenerate.
320         * config/os/generic/error_constants.h: Guard.
321         * testsuite/19_diagnostics/headers/system_error/
322         types_std_c++0x.cc: Same.
323
324 2007-09-09  Benjamin Kosnik  <bkoz@redhat.com>
325         
326         * testsuite/25_algorithms/binary_search.cc: Move...
327         * testsuite/25_algorithms/binary_search/2.cc: ...here.
328
329         * testsuite/25_algorithms/sort.cc: Move...      
330         * testsuite/25_algorithms/sort/1.cc: ...here.
331         * testsuite/25_algorithms/partial_sort_copy/2.cc: ...here.
332         * testsuite/25_algorithms/nth_element/3.cc: ...here.
333         * testsuite/25_algorithms/partial_sort/2.cc: ...here.
334         * testsuite/25_algorithms/stable_sort/2.cc: ...here.
335
336         * testsuite/25_algorithms/min_max.cc: Move...
337         * testsuite/25_algorithms/min/1.cc: ...here.
338         * testsuite/25_algorithms/min/2.cc: ...here.
339         * testsuite/25_algorithms/max/1.cc: ...here.
340         * testsuite/25_algorithms/max/2.cc: ...here.
341
342 2007-09-09  Joseph Myers  <joseph@codesourcery.com>
343
344         * testsuite/lib/libstdc++.exp (v3-build-support): Specify output
345         file for preprocessing.  Use remote_exec to call ar and ranlib.
346
347 2007-09-08  Benjamin Kosnik  <bkoz@redhat.com>
348
349         * include/bits/functional_hash.h: Add ext/numeric_traits.h.
350         * include/tr1/functional_hash.h Same.
351         * include/tr1/functional: Remove string, ext/type_traits.h includes.
352         * include/tr1_impl/functional_hash.h: Move string, wstring
353         definitions for std::<hash>::operator into separate file.
354         * include/std/functional
355         * src/hash.cc: New, move definitions here.
356         * src/hash_c++0x.cc: Same.
357         * src/Makefile.am: Add new source files.
358         * configure: Regenerate.
359         * Makefile.in: Same.
360         * src/Makefile.in: Same.
361         * po/Makefile.in: Same.
362         * libmath/Makefile.in: Same.
363         * libsupc++/Makefile.in: Same.
364         * testsuite/Makefile.in: Same.
365         * config/abi/pre/gnu.ver: Add symbols.
366         * config/abi/pre/gnu-versioned-namespace.ver: Same, fix.
367         
368 2007-09-07  Benjamin Kosnik  <bkoz@redhat.com>
369
370         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc:
371         Correct line number.
372
373 2007-09-07  Danny Smith  <dannysmith@users.sourceforge.net>
374
375         PR libstdc++/33203
376         * configure.host (error_constants_dir):  New variable,
377         defaulting to os/generic.
378         ( mingw32*): Overide default.
379         * configure.ac (ERROR_CONSTANTS_SRCDIR): New.
380         * configure: Regenerate.
381         * include/Makefile.am (host_headers): Add
382         $(ERROR_CONSTANTS_SRCDIR)/error_constants.h .
383         * include/Makefile.in: Regenerate.
384         * include/std/system_error (enum posix_errno): Remove.
385         Include <bits/error_constants.h> instead.
386         * config/os/mingw32/error_constants.h: New.
387         * config/os/generic/error_constants.h: New.
388
389 2007-09-06  Benjamin Kosnik  <bkoz@redhat.com>
390
391         * testsuite/lib/libstdc++.exp: Check CXXFLAGS.
392         * scripts/testsuite_flags.in: CXXFLAGS_default, matching dejagnu.
393
394         * include/std/ostream: Spacing tweak.
395         * include/ext/hashtable.h: Use <algorithm>.
396         * include/ext/slist: Same.
397         * include/ext/rope: Same.
398         * include/bits/stl_function.h: Format.
399         * include/tr1_impl/array: Remove section number in doxygen markup.
400         * src/list.cc: Comment tweak.   
401         
402         * docs/doxygen/user.cfg.in: Update for include/tr1_impl.
403         
404         * testsuite/25_algorithms/search_n/iterator.cc: Add using declaration.
405         * testsuite/25_algorithms/nth_element/1.cc:  Same.
406         * testsuite/21_strings/char_traits/requirements/short/1.cc: Use
407         char_type typedef to the underlying character type.     
408         * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc:
409         Remove -ansi -pedantic-errors.
410         * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same.
411         * testsuite/tr1/6_containers/headers/functional/synopsis.cc:
412         Remove specializations.
413         
414 2007-09-06  Paolo Carlini  <pcarlini@suse.de>
415
416         * include/bits/stl_vector.h (_Vector_base<>::_M_allocate):
417         Do not call _M_impl.allocate when __n == 0.
418         * testsuite/23_containers/vector/zero_sized_allocations.cc: New.
419
420 2007-09-06  Benjamin Kosnik  <bkoz@redhat.com>
421         
422         PR libstdc++/29367
423         * include/ext/pb_ds/detail/map_debug_base.hpp: From this..
424         * include/ext/pb_ds/detail/debug_map_base.hpp: ...to this.
425         Rename map_debug_base to debug_map_base, add std::pair output
426         extractors, change duplicate map_debug_base typedef in containers
427         to debug_base. Use m_store_extra_indicator for m_store_hash_indicator.
428         * include/ext/pb_ds/*: Likewise.
429         * include/Makefile.am: Same.
430         * include/Makefile.in: Regenerate.
431         
432 2007-09-06  Matthias Klose  <doko@debian.org>
433
434         * testsuite/27_io/headers/cstdlib: Remove empty directory.
435
436 2007-09-05  Roger Sayle  <roger@eyesopen.com>
437
438         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add EBADMSG for darwin.
439         * configure: Regenerate.
440         * include/std/system_error: Guard.
441         * testsuite/19_diagnostics/headers/system_error/
442         types_std_c++0x.cc: Same.
443         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
444         line numbers.
445
446 2007-09-03  Paolo Carlini  <pcarlini@suse.de>
447
448         PR libstdc++/33293
449         * include/bits/stl_numeric.h (accumulate, inner_product):
450         Add inline function-specifier.
451
452 2007-08-31  Douglas Gregor  <doug.gregor@gmail.com>
453
454         * testsuite/abi/demangle/cxx0x/rref.cc: New.
455
456 2007-08-29  Benjamin Kosnik  <bkoz@redhat.com>
457
458         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENODATA, ENOSR,
459         ENOSTR, ETIME for freebsd.      
460         * configure: Regenerate.
461         * include/std/system_error: Guard.      
462         * testsuite/19_diagnostics/headers/system_error/
463         types_std_c++0x.cc: Same.
464         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
465         line numbers.
466
467 2007-08-28  Paolo Carlini  <pcarlini@suse.de>
468
469         PR libstdc++/33128
470         * include/tr1_impl/random (uniform_int<>::_M_call): Deal with
471         __urng() returning negative values.
472         * testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
473         New.
474
475 2007-08-24  Benjamin Kosnik  <bkoz@redhat.com>
476
477         * acinclude.m4: Fix duplicate variable names.
478         * configure: Regenerate.
479
480 2007-08-24  Benjamin Kosnik  <bkoz@redhat.com>
481
482         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ENOLINK, EPROTO
483         for netbsd.
484         * configure: Regenerate.
485         * include/std/system_error: Guard.      
486         * testsuite/19_diagnostics/headers/system_error/
487         types_std_c++0x.cc: Same.
488         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
489         line numbers.
490
491 2007-08-23  Benjamin Kosnik  <bkoz@redhat.com>
492
493         * include/std/system_error: New file.
494         * src/system_error.cc: New file.
495         * src/Makefile.am (sources): Add.
496         * src/Makefile.in: Regenerate.  
497         * include/Makefile.am (std_headers): Add system_error.
498         * include/Makefile.in: Regenerate.
499         * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New.
500         * configure.ac: Call it.
501         * config.h.in: Regenerate.
502         * include/bits/functional_hash.h: Add hash<error_code>.
503         * include/std/ostream: Add inserters for error_code.
504         
505         * docs/doxygen/user.cfg.in: Add system_error.
506
507         * config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols.
508
509         * testsuite/19_diagnostics/error_code: New.
510         * testsuite/19_diagnostics/error_code/cons: Same.
511         * testsuite/19_diagnostics/error_code/cons/1.cc: Same.
512         * testsuite/19_diagnostics/error_code/operators: Same.
513         * testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
514         * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
515         * testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
516         * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
517         * testsuite/19_diagnostics/error_category: Same.
518         * testsuite/19_diagnostics/error_category/cons: Same.
519         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
520         * testsuite/19_diagnostics/error_category/cons/default.cc: Same.
521         * testsuite/19_diagnostics/error_category/operators: Same.
522         * testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
523         * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
524         * testsuite/19_diagnostics/headers/system_error: Same.
525         * testsuite/19_diagnostics/headers/system_error/
526         types_std_c++0x.cc: Same.
527         * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same.
528         * testsuite/19_diagnostics/system_error: Same.
529         * testsuite/19_diagnostics/system_error/
530         cons_virtual_derivation.cc: Same.
531         * testsuite/19_diagnostics/system_error/cons-1.cc: Same.
532         * testsuite/19_diagnostics/system_error/what-1.cc: Same.
533         * testsuite/19_diagnostics/system_error/what-2.cc: Same.
534         * testsuite/19_diagnostics/system_error/what-big.cc: Same.
535         * testsuite/19_diagnostics/system_error/what-3.cc: Same.
536         * testsuite/19_diagnostics/system_error/what-4.cc: Same.
537         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
538         error_code.cc: Same.
539         * testsuite/27_io/basic_ostream/inserters_other/char/
540         error_code.cc: Same.
541         * testsuite/tr1/6_containers/hash/operators: New.
542         * testsuite/tr1/6_containers/hash/operators/size_t.cc: Same.
543         
544         * testsuite/23_containers/hash: Move...
545         * testsuite/20_util/hash: ... here.
546         * testsuite/20_util/hash/operators: New.
547         * testsuite/20_util/hash/operators/size_t.cc: New.
548
549         * testsuite/20_util/function_objects/bad_function_call: Move...
550         * testsuite/20_util/bad_function_call: ...here.
551         
552 2007-08-21  Benjamin Kosnik  <bkoz@montsouris.artheist.org>
553
554         * include/Makefile.am (install-data-local): Remove pch-install rules.
555         (host_headers): Add stdc++.h, stdtr1c++.h, extc++.h.
556         * include/Makefile.in: Regenerate.
557         * config.h.in: Same.
558
559         * scripts/check_compile: Remove space between outputs.  
560         * include/ext/throw_allocator.h: Correct doxygen markup.        
561         * include/bits/char_traits.h: Correct spacing.
562         * include/bits/stl_function.h: Same, for 80 column.
563         * include/std/valarray: Same.
564         * testsuite/util/testsuite_iterators.h: Same.   
565         * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Format.
566         
567 2007-08-17  Daniel Jacobowitz  <dan@codesourcery.com>
568
569         PR testsuite/31884
570         * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do
571         not access deleted nodes.
572
573         * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc,
574         testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc,
575         testsuite/27_io/basic_filebuf/open/char/4.cc,
576         testsuite/27_io/objects/char/9.cc: Use dg-require-fileio.
577         * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc,
578         testsuite/ext/pb_ds/regression/hash_data_map_rand.cc,
579         testsuite/ext/pb_ds/regression/trie_data_map_rand.cc,
580         testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc,
581         testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc,
582         testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc,
583         testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc,
584         testsuite/ext/pb_ds/regression/priority_queue_rand.cc,
585         testsuite/ext/pb_ds/regression/tree_data_map_rand.cc,
586         testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc,
587         testsuite/ext/throw_allocator/deallocate_global.cc,
588         testsuite/ext/throw_allocator/check_delete.cc,
589         testsuite/ext/throw_allocator/check_allocate_max_size.cc,
590         testsuite/ext/throw_allocator/check_deallocate_null.cc,
591         testsuite/ext/throw_allocator/check_new.cc,
592         testsuite/ext/throw_allocator/deallocate_local.cc,
593         testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
594         cons/gen1.cc,
595         testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/
596         gen1.cc,
597         testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/
598         gen1.cc,
599         testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/
600         gen1.cc,
601         testsuite/23_containers/list/modifiers/insert/25288.cc: Use
602         dg-require-time.
603
604 2007-08-17  Paolo Carlini  <pcarlini@suse.de>
605
606         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
607         dg-error lines.
608         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto.
609
610 2007-08-17  Chris Fairles  <chris.fairles@gmail.com>
611
612         PR libstdc++/33098
613         * include/std/type_traits (__is_convertible_helper):
614         Use add_lvalue_reference.
615
616 2007-08-17  Johannes Willkomm  <willkomm@sc.rwth-aachen.de>
617
618         PR libstdc++/33084
619         * include/std/valarray (operator _Op(const _Tp&,
620         const valarray<>&)): Fix typo.
621         * testsuite/26_numerics/numeric_arrays/valarray/33084.cc: New.
622
623 2007-08-07  Jim Blandy  <jimb@codesourcery.com>
624
625         * src/Makefile.am (libstdc++-symbol.ver): Make
626         sure the build tree copy of libstdc++-symbol.ver is writeable.
627         * src/Makefile.in: Regenerated.
628
629 2007-08-02  Paolo Carlini  <pcarlini@suse.de>
630
631         DR 660, [Ready] in Toronto.
632         * include/bits/stl_function.h (bit_and, bit_or, bit_xor): Add.
633         * testsuite/20_util/function_objects/dr660.cc: New.
634         * docs/html/ext/howto.html: Add an entry for DR 660, update.
635
636         * docs/html/ext/lwg-closed.html, docs/html/ext/lwg-active.html,
637         docs/html/ext/lwg-defects.html: Import Revision 49.
638
639 2007-07-30  Paolo Carlini  <pcarlini@suse.de>
640
641         PR libstdc++/32908
642         * include/bits/stl_algobase.h (struct __lc_rai): New.
643         (lexicographical_compare(_II1, _II1, _II2, _II2),
644         lexicographical_compare(_II1, _II1, _II2, _II2, _Compare)): Use it.
645         * testsuite/performance/25_algorithms/lexicographical_compare.cc: New.
646
647 2007-07-27  Paolo Carlini  <pcarlini@suse.de>
648
649         PR libstdc++/32907
650         * include/bits/basic_string.h (operator==(const basic_string<_CharT>&,
651         const basic_string<_CharT>&)): Add.
652         (operator!=): Forward to operator==.
653         * include/ext/vstring.h(operator==(const __versa_string<_CharT,
654         std::char_traits<_CharT>, std::allocator<_CharT>, _Base>&,
655         const __versa_string<_CharT, std::char_traits<_CharT>,
656         std::allocator<_CharT>, _Base>&)): Add.
657         (operator!=): Forward to operator==.
658
659         * include/ext/sso_string_base.h (_M_compare): Remove.
660
661 2007-07-25  Stephen M. Webb  <stephenw@xandros.com>
662
663         Fixed abi_check for missing symbol size changes.
664         * testsuite/util/testsuite_abi.cc: Changed local variable name to
665         prevent member variable hiding.
666
667 2007-07-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
668
669         PR libstdc++/31836
670         * config/locale/generic/c_locale.cc (__convert_to_v): Don't use
671         strtold if _GLIBCXX_HAVE_BROKEN_STRTOLD is defined.
672         * config/os/hpux/os_defines.h (_GLIBCXX_HAVE_BROKEN_STRTOLD): Define
673         if __hppa__ is defined.
674
675 2007-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
676
677         PR bootstrap/3456
678         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on
679         mips-sgi-irix6*.
680         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
681         * testsuite/thread/18185.cc: Likewise.
682         * testsuite/thread/pthread1.cc: Likewise.
683         * testsuite/thread/pthread2.cc: Likewise.
684         * testsuite/thread/pthread3.cc: Likewise.
685         * testsuite/thread/pthread4.cc: Likewise.
686         * testsuite/thread/pthread5.cc: Likewise.
687         * testsuite/thread/pthread6.cc: Likewise.
688         * testsuite/thread/pthread7-rope.cc: Likewise.
689         * testsuite/tr1/2_general_utilities/shared_ptr/thread/
690         default_weaktoshared.cc: Likewise.
691         * testsuite/tr1/2_general_utilities/shared_ptr/thread/
692         mutex_weaktoshared.cc: Likewise.
693
694 2007-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
695
696         * config/os/mingw32/ctype_base.h: Use the generic libstdc++ masks
697         rather than MSVCRT defines.
698         * config/os/mingw32/ctype_noninline.h (classic_table): Construct
699         and return a static classic table based on generic libstdc++ masks.
700
701 2007-07-12  Douglas Gregor  <doug.gregor@gmail.com>
702
703         * testsuite/tr1/3_function_objects/bind/all_bound.cc: Disambiguate
704         uses of TR1/C++0x facilities.
705         * testsuite/tr1/3_function_objects/bind/nested.cc: Ditto.
706         * testsuite/tr1/3_function_objects/bind/placeholders.cc: Ditto.
707         * testsuite/tr1/6_containers/unordered_multimap/requirements/
708         explicit_instantiation.cc: Ditto. 
709         * testsuite/tr1/6_containers/unordered_multimap/swap/1.cc: Ditto.
710         * testsuite/tr1/6_containers/unordered_multimap/swap/2.cc: Ditto.
711         * testsuite/tr1/6_containers/unordered_set/requirements/
712         explicit_instantiation.cc: Ditto.
713         * testsuite/tr1/6_containers/unordered_set/swap/1.cc: Ditto.
714         * testsuite/tr1/6_containers/unordered_set/swap/2.cc: Ditto.
715         * testsuite/tr1/6_containers/utility/pair.cc: Ditto.
716         * testsuite/tr1/6_containers/unordered_map/requirements/
717         explicit_instantiation.cc: Ditto. 
718         * testsuite/tr1/6_containers/unordered_map/24064.cc: Ditto.
719         * testsuite/tr1/6_containers/unordered_map/swap/1.cc: Ditto.
720         * testsuite/tr1/6_containers/unordered_map/swap/2.cc: Ditto.
721         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Ditto.
722         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Ditto.
723         * testsuite/tr1/6_containers/tuple/cons/assignment.cc: Ditto.
724         * testsuite/tr1/6_containers/tuple/tuple_element.cc: Ditto.
725         * testsuite/tr1/6_containers/tuple/tuple_size.cc: Ditto.
726         * testsuite/tr1/6_containers/tuple/comparison_operators/
727         comparisons.cc: Ditto. 
728         * testsuite/tr1/6_containers/tuple/element_access/get.cc: Ditto.
729         * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: Ditto.
730         * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Ditto.
731         * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
732         Ditto.
733         * testsuite/tr1/6_containers/unordered_multiset/requirements/
734         explicit_instantiation.cc: Ditto.
735         * testsuite/tr1/6_containers/unordered_multiset/swap/1.cc: Ditto.
736         * testsuite/tr1/6_containers/unordered_multiset/swap/2.cc: Ditto.
737
738 2007-07-10  Bob Wilson  <bob.wilson@acm.org>
739         
740         * configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex
741         instead of the non-existent cpu/generic/atomic_mutex.
742         * configure: Regenerate.
743         
744 2007-07-10  Paolo Carlini  <pcarlini@suse.de>
745
746         * include/std/utility (identity, move, forward): Add.
747         * testsuite/20_util/move/requirements/explicit_instantiation.cc: New.
748         * testsuite/20_util/move/1.cc: New.
749         * testsuite/20_util/identity/value.cc: New.
750         * testsuite/20_util/identity/requirements/typedefs.cc: New.
751         * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
752         New.
753         * testsuite/20_util/forward/requirements/explicit_instantiation.cc:
754         New.
755         * testsuite/20_util/forward/1.cc: New.
756         * testsuite/20_util/forward/1_neg.cc: New.
757         
758 2007-07-09  Paolo Carlini  <pcarlini@suse.de>
759
760         * testsuite/27_io/ios_base/failure/what-1.cc: Include <stdexcept>.
761
762 2007-07-09  Jim Xochellis  <jimxoch@yahoo.gr>
763             Paolo Carlini  <pcarlini@suse.de>
764
765         * include/bits/stl_algo.h (search(_ForwardIterator1,
766         _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy.
767         (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
768         _ForwardIterator2, _BinaryPredicate)): Likewise.
769
770 2007-07-06  Hans-Peter Nilsson  <hp@axis.com>
771
772         * testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR)
773         and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
774
775 2007-07-05  Joerg Richter  <joerg.richter@pdv-fs.de>
776
777         PR libstdc++/31957
778         * include/Makefile.am: Work around an AIX sed oddity.
779         * include/Makefile.in: Regenerate.
780         
781 2007-07-04  Jim Xochellis  <jimxoch@yahoo.gr>
782
783         * include/bits/stl_algo.h (search(_ForwardIterator1,
784         _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Simplify
785         general case loop to a for(;;).
786         (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2,
787         _ForwardIterator2, _BinaryPredicate)): Likewise; remove redundant
788         inner loop.
789         
790 2007-07-03  Paolo Carlini  <pcarlini@suse.de>
791
792         PR libstdc++/31518
793         * include/debug/formatter.h (_Error_formatter::_M_get_max_length): New.
794         (_Error_formatter::_Error_formatter): Use it.
795         * src/debug.cc: Define.
796         (_Error_formatter::_M_error): Tweak.
797         * configure.ac: Adjust version to 6:10:0.
798         * config/abi/pre/gnu.ver: Export _Error_formatter::_M_get_max_length
799         at GLIBCXX_3.4.10.
800         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.10.
801         * docs/html/debug.html: Document.
802         * configure: Regenerate.
803
804 2007-07-02  Douglas Gregor  <doug.gregor@gmail.com>
805
806         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
807         Tweak line numbers.
808         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
809         Ditto.
810         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc:
811         Don't try to create an unsigned wchar_t.
812         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
813         Don't try to create an unsigned wchar_t.
814         * testsuite/util/testsuite_hooks.h: Remove a stray semicolon.
815
816 2007-07-01  Douglas Gregor  <doug.gregor@gmail.com>
817
818         * include/std/type_traits (__make_unsigned): Remove invalid
819         wchar_t specialization.
820         (__make_signed): Remove invalid wchar_t specialization.
821         
822 2007-06-29  Douglas Gregor  <doug.gregor@gmail.com>
823
824         * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force
825         C++98 mode.  
826         * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto.
827         * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto.
828         * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto.
829         * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto.
830         * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc:
831         Ditto. 
832         * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc:
833         Ditto. 
834         * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto.
835         * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto.
836         * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto.
837         * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto.
838         * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto.
839         * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto.
840
841 2007-06-28  Paolo Carlini  <pcarlini@suse.de>
842
843         PR libstdc++/32509
844         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Carry out the checks
845         involving the de_DE locale only if an auto locale config is
846         used for a target suitable for the gnu locale model.
847         * docs/html/install.html: Update.
848         * configure: Regenerated.
849
850 2007-06-26  Benjamin Kosnik  <bkoz@redhat.com>
851
852         * testsuite/util/testsuite_api.h: New.
853         * testsuite/27_io/ios_base/failure: Add.
854         * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: New.
855         * testsuite/27_io/ios_base/failure/what-1.cc: Same.
856         * testsuite/27_io/ios_base/failure/what-2.cc: Same.
857         * testsuite/27_io/ios_base/failure/what-big.cc: Same.
858         * testsuite/27_io/ios_base/failure/what-3.cc: Same.
859         * testsuite/19_diagnostics/logic_error/
860         cons_virtual_derivation.cc: Same.
861         * testsuite/19_diagnostics/runtime_error/
862         cons_virtual_derivation.cc: Same.
863         * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Same.
864         * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Same.
865         * testsuite/18_support/bad_exception/cons_virtual_derivation.cc: Same.
866         * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc: Same.
867         * testsuite/ext/concurrence_lock_error: New.
868         * testsuite/ext/concurrence_lock_error/
869         cons_virtual_derivation.cc: Same.
870         * testsuite/ext/forced_exception_error: New.
871         * testsuite/ext/forced_exception_error/
872         cons_virtual_derivation.cc: Same.
873         * testsuite/ext/concurrence_unlock_error: New.
874         * testsuite/ext/concurrence_unlock_error/
875         cons_virtual_derivation.cc: Same.
876         * testsuite/20_util/function_objects/bad_function_call: New.
877         * testsuite/20_util/function_objects/bad_function_call/
878         cons_virtual_derivation.cc: Same.
879         
880 2007-06-26  Benjamin Kosnik  <bkoz@redhat.com>  
881
882         * include/ext/throw_allocator.h: Fixes for -fno-exceptions.
883         * testsuite/util/testsuite_shared.cc: Same.
884         * testsuite/util/io/illegal_input_error.hpp: Same.
885         * testsuite/util/io/verified_cmd_line_input.cc: Same.
886
887         * libsupc++/typeinfo (type_info): Correct comment formatting,
888         clarify member access and public interface.
889         * libsupc++/exception: Less compressed comments.
890         * libsupc++/new: Same.
891         
892 2007-06-18  Paolo Carlini  <pcarlini@suse.de>
893
894         * include/bits/stl_list.h: Rename guard macro consistently with
895         file name.
896         * include/bits/stl_algobase.h: Likewise.
897         * include/bits/stl_map.h: Likewise.
898         * include/bits/stl_queue.h: Likewise.
899         * include/bits/stl_set.h: Likewise.
900         * include/bits/stl_stack.h: Likewise.
901         * include/bits/stl_iterator_base_types.h: Likewise.
902         * include/bits/stl_multimap.h: Likewise.
903         * include/bits/stl_pair.h: Likewise.
904         * include/bits/stl_vector.h: Likewise.
905         * include/bits/stl_deque.h: Likewise.
906         * include/bits/stl_multiset.h: Likewise.
907         * include/bits/stl_iterator_base_funcs.h: Likewise.
908         * include/bits/stl_algo.h: Likewise.
909         * include/bits/stl_iterator.h: Likewise.
910         * include/bits/stl_tempbuf.h: Likewise.
911         * include/bits/stl_bvector.h: Likewise.
912         * include/bits/stl_function.h: Likewise.
913         * include/bits/stl_tree.h: Likewise.
914
915 2007-06-17  Nathan Sidwell  <nathan@codesourcery.com>
916
917         * config/cpu/m68k/atomicity.h: Use __mcfisaa__, __mcfisaaplus__,
918         __mcfisab__ & __mcfisac__ instead of obsolete cpu #defines.
919
920 2007-06-13  Richard Earnshaw  <rearnsha@arm.com>
921
922         * libsupc++/eh_arm.cc (__cxa_type_match): Handle foreign
923         exceptions.
924         * libsubpc++/eh_personality.cc: Don't try to set up foreign or
925         forced unwind types here when using the ARM EABI unwinder.
926
927 2007-06-13  Paolo Carlini  <pcarlini@suse.de>
928
929         * include/c_global/cmath: Tweak includes.
930         * include/std/memory: Likewise.
931         * include/std/complex: Likewise.
932         * include/tr1/memory: Likewise.
933         * include/tr1/complex: Likewise.
934         * include/tr1/cmath: Likewise; do not wrap special functions
935         in #ifndef __GXX_EXPERIMENTAL_CXX0X__.
936
937 2007-06-10  Benjamin Kosnik  <bkoz@redhat.com>
938
939         * testsuite/util/testsuite_performance.h: Add cstring include for
940         memset.
941
942 2007-06-08  Paolo Carlini  <pcarlini@suse.de>
943
944         * docs/html/install.html: Adjust consistently with libstdc++/31717.
945
946 2007-06-08  Francesco Palagi  <palagi@arcetri.astro.it>
947
948         * include/std/fstream: Add Table 92 in comment.
949
950 2007-06-06  Paolo Carlini  <pcarlini@suse.de>
951
952         PR libstdc++/32233
953         * include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
954         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
955         Adjust dg-error line.
956         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
957         Likewise.
958
959 2007-06-06  Benjamin Kosnik  <bkoz@redhat.com>
960             Frank Mori Hess  <frank.hess@nist.gov>
961         
962         * docs/html/debug.html: Correct link.
963
964 2007-06-02  Paolo Carlini  <pcarlini@suse.de>
965
966         * include/tr1_impl/type_traits (is_reference, add_reference,
967         remove_reference): Remove.
968         * include/tr1/type_traits (is_reference, add_reference,
969         remove_reference): Add.
970         * include/std/type_traits (is_lvalue_reference, is_rvalue_reference,
971         is_reference, remove_reference, add_lvalue_reference,
972         add_rvalue_reference): Add.
973         * include/tr1_impl/boost_shared_ptr.h (operator*): Adjust.
974         * testsuite/20_util/add_lvalue_reference/requirements/
975         explicit_instantiation.cc: New.
976         * testsuite/20_util/add_lvalue_reference/value.cc: Likewise.
977         * testsuite/20_util/add_rvalue_reference/requirements/
978         explicit_instantiation.cc: Likewise.
979         * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
980         * testsuite/20_util/is_lvalue_reference/requirements/
981         explicit_instantiation.cc: Likewise.
982         * testsuite/20_util/is_lvalue_reference/requirements/
983         typedefs.cc: Likewise.
984         * testsuite/20_util/is_lvalue_reference/value.cc: Likewise.
985         * testsuite/20_util/is_rvalue_reference/requirements/
986         explicit_instantiation.cc: Likewise.
987         * testsuite/20_util/is_rvalue_reference/requirements/
988         typedefs.cc: Likewise.
989         * testsuite/20_util/is_rvalue_reference/value.cc: Likewise.
990         * testsuite/20_util/is_reference/requirements/
991         explicit_instantiation.cc: Likewise.
992         * testsuite/20_util/is_reference/requirements/typedefs.cc: Likewise.
993         * testsuite/20_util/is_reference/value.cc: Likewise.
994         * testsuite/20_util/remove_reference/requirements/
995         explicit_instantiation.cc: New.
996         * testsuite/20_util/remove_reference/value.cc: Likewise.
997
998         * testsuite/tr1/4_metaprogramming/add_const/requirements/
999         typedefs.cc: Move...
1000         * testsuite/tr1/4_metaprogramming/add_const/value.cc: ... here.
1001         * testsuite/tr1/4_metaprogramming/add_cv/requirements/
1002         typedefs.cc: Move...
1003         * testsuite/tr1/4_metaprogramming/add_cv/value.cc: ... here.
1004         * testsuite/tr1/4_metaprogramming/add_pointer/requirements/
1005         typedefs.cc: Move...
1006         * testsuite/tr1/4_metaprogramming/add_pointer/value.cc: ... here.
1007         * testsuite/tr1/4_metaprogramming/add_reference/requirements/
1008         typedefs.cc: Move...
1009         * testsuite/tr1/4_metaprogramming/add_reference/value.cc: ... here.
1010         * testsuite/tr1/4_metaprogramming/add_volatile/requirements/
1011         typedefs.cc: Move...
1012         * testsuite/tr1/4_metaprogramming/add_volatile/value.cc: ... here.
1013         * testsuite/tr1/4_metaprogramming/aligned_storage/requirements/
1014         typedefs.cc: Move...
1015         * testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: ... here.
1016
1017 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
1018
1019         * configure: Regenerate.
1020
1021 2007-06-01  Benjamin Kosnik  <bkoz@redhat.com>
1022         
1023         * testsuite/19_diagnostics/logic_error/what-big.cc: New.
1024         * testsuite/19_diagnostics/logic_error/what-3.cc: Same.
1025         * testsuite/19_diagnostics/runtime_error/what-big.cc: Same.
1026         * testsuite/19_diagnostics/runtime_error/what-3.cc: Same.
1027
1028         * testsuite/18_support/14493.cc: Break into...
1029         * testsuite/18_support/exception/what.cc: ...this.
1030         * testsuite/18_support/bad_cast/what.cc: ...this.
1031         * testsuite/18_support/bad_alloc/what.cc: ...this.
1032         * testsuite/18_support/bad_typeid/what.cc: ...this.
1033         * testsuite/18_support/bad_exception/what.cc: ...this.
1034
1035         * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: Move...
1036         * testsuite/18_support/bad_exception/23591_thread-1.c: ...here.
1037
1038         * testsuite/18_support/14026.cc: Move...
1039         * testsuite/18_support/uncaught_exception/14026.cc: ...here.
1040
1041 2007-06-01  Benjamin Kosnik  <bkoz@redhat.com>
1042
1043         * include/ext/throw_allocator.h (__throw_allocator::allocate):
1044         Throw bad_alloc for out of memory conditions.   
1045         * testsuite/ext/throw_allocator/deallocate_global.cc: New.
1046         * testsuite/ext/throw_allocator/check_delete.cc: Same.
1047         * testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same.
1048         * testsuite/ext/throw_allocator/check_deallocate_null.cc: Same.
1049         * testsuite/ext/throw_allocator/explicit_instantiation.cc: Same.
1050         * testsuite/ext/throw_allocator/check_new.cc: Same.
1051         * testsuite/ext/throw_allocator/deallocate_local.cc: Same.
1052
1053 2007-05-31  Paolo Carlini  <pcarlini@suse.de>
1054
1055         PR libstdc++/31426
1056         * include/bits/c++config: Remove namespace association bits
1057         from tr1 to std.
1058
1059         * include/ext/type_traits.h (__promote, __promote2,
1060         __promote3, __promote4): Add.
1061
1062         * include/bits/hashtable.h: New.
1063         * include/bits/functional_hash.h: Likewise.
1064         * include/tr1/hashtable.h: Likewise.
1065
1066         * include/tr1_impl/random: New.
1067         * include/tr1_impl/cinttypes: Likewise.
1068         * include/tr1_impl/cstdlib: Likewise.
1069         * include/tr1_impl/unordered_map: Likewise.
1070         * include/tr1_impl/cstdio: Likewise.
1071         * include/tr1_impl/boost_shared_ptr.h: Likewise.
1072         * include/tr1_impl/cctype: Likewise.
1073         * include/tr1_impl/random.tcc: Likewise.
1074         * include/tr1_impl/tuple: Likewise.
1075         * include/tr1_impl/functional_hash.h: Likewise.
1076         * include/tr1_impl/hashtable: Likewise.
1077         * include/tr1_impl/cmath: Likewise.
1078         * include/tr1_impl/type_traitsfwd.h: Likewise.
1079         * include/tr1_impl/hashtable_policy.h: Likewise.
1080         * include/tr1_impl/cfenv: Likewise.
1081         * include/tr1_impl/unordered_set: Likewise.
1082         * include/tr1_impl/functional: Likewise.
1083         * include/tr1_impl/utility: Likewise.
1084         * include/tr1_impl/complex: Likewise.
1085         * include/tr1_impl/type_traits: Likewise.
1086         * include/tr1_impl/cwchar: Likewise.
1087         * include/tr1_impl/cstdint: Likewise.
1088         * include/tr1_impl/regex: Likewise.
1089         * include/tr1_impl/array: Likewise.
1090         * include/tr1_impl/cwctype: Likewise.
1091
1092         * include/tr1/type_traitsfwd.h: Remove.
1093         * include/tr1/boost_shared_ptr.h: Likewise.
1094         * include/tr1/common.h: Likewise.
1095         * include/tr1/hashtable: Likewise.
1096         * include/tr1/hashtable_policy.h: Likewise.
1097         * include/tr1/random.tcc: Likewise.
1098
1099         * include/c_global/cinttypes: Include tr1_impl/cinttypes.
1100         * include/c_global/cstdlib: Likewise for cstdlib.
1101         * include/c_global/cstdio: Likewise for cstdio.
1102         * include/c_global/cctype: Likewise for cctype.
1103         * include/c_global/cmath: Likewise for cmath.
1104         * include/c_global/cfenv: Likewise for cfenv.
1105         * include/c_global/cwchar: Likewise for cwchar.
1106         * include/c_global/cstdint: Likewise for cstdint.
1107         * include/c_global/cwctype: Likewise for cwctype.
1108         * include/tr1/cinttypes: Likewise for cinttypes.
1109         * include/tr1/cstdlib: Likewise for cstdlib.
1110         * include/tr1/cstdio: Likewise for cstdio.
1111         * include/tr1/cctype: Likewise for cctype.
1112         * include/tr1/cmath: Likewise for cmath.
1113         * include/tr1/cfenv: Likewise for cfenv.
1114         * include/tr1/cwchar: Likewise for cwchar.
1115         * include/tr1/cstdint: Likewise for cstdint.
1116         * include/tr1/cwctype: Likewise for cwctype.
1117         * include/tr1/functional_hash.h: Likewise for functional_hash.
1118
1119         * include/std/tuple: Include tr1_impl/tuple.
1120         * include/std/utility: Likewise for utility.
1121         * include/std/type_traits: Likewise for type_traits.
1122         (is_pod): Just forward to __is_pod.
1123         (has_trivial_default_constructor): Just forward to
1124         __has_trivial_constructor.
1125         (has_trivial_copy_constructor): Just forward to __has_trivial_copy.
1126         (has_trivial_assign): Just forward to __has_trivial_assign.
1127         (has_trivial_destructor): Just forward to __has_trivial_destructor.
1128         (has_nothrow_default_constructor): Just forward to
1129         __has_nothrow_constructor.
1130         (has_nothrow_copy_constructor): Just forward to __has_nothrow_copy.
1131         (has_nothrow_assign): Just forward to __has_nothrow_assign.
1132         (is_base_of): Just forward to __is_base_of.
1133         (is_signed, is_unsigned): Implement according to the C++0x
1134         specifications.
1135         * include/std/memory: Likewise for memory.
1136         * include/std/regex: Likewise for regex.
1137         * include/std/random: Likewise for random.
1138         * include/std/unordered_map: Likewise for unordered_map.
1139         * include/std/unordered_set: Likewise for unordered_set.
1140         * include/std/functional: Likewise for functional.
1141         * include/std/complex: Likewise for complex.
1142         * include/std/array: Likewise for array.
1143         * include/tr1/tuple: Likewise for tuple.
1144         * include/tr1/utility: Likewise for utility.
1145         * include/tr1/type_traits: Likewise for type_traits
1146         * include/tr1/memory: Likewise for memory.
1147         * include/tr1/regex: Likewise for regex.
1148         * include/tr1/random: Likewise for random.
1149         * include/tr1/unordered_map: Likewise for unordered_map.
1150         * include/tr1/unordered_set: Likewise for unordered_set.
1151         * include/tr1/functional: Likewise for functional.
1152         * include/tr1/complex: Likewise for complex.
1153         * include/tr1/array: Likewise for array.
1154
1155         * include/c_global/ctgmath: Tweak.
1156         * include/c_global/cstdarg: Likewise.
1157         * include/c_global/ctime: Likewise.
1158         * include/c_global/climits: Likewise.
1159         * include/c_global/cfloat: Likewise.    
1160         * include/c_global/ccomplex: Likewise.
1161         * include/c_global/cstdbool: Likewise.
1162
1163         * include/tr1/poly_laguerre.tcc: Tweak, don't use _GLIBCXX_TR1.
1164         * include/tr1/riemann_zeta.tcc: Likewise.
1165         * include/tr1/beta_function.tcc: Likewise.
1166         * include/tr1/exp_integral.tcc: Likewise.
1167         * include/tr1/hypergeometric.tcc: Likewise.
1168         * include/tr1/modified_bessel_func.tcc: Likewise.
1169         * include/tr1/legendre_function.tcc: Likewise.
1170         * include/tr1/special_function_util.h: Likewise.
1171         * include/tr1/bessel_function.tcc: Likewise.
1172         * include/tr1/poly_hermite.tcc: Likewise.
1173         * include/tr1/ell_integral.tcc: Likewise.
1174         * include/tr1/gamma.tcc: Likewise.
1175         * include/tr1/stdlib.h: Likewise.
1176         * include/tr1/math.h: Likewise.
1177
1178         * include/tr1/complex.h: Minor tweaks.
1179         * include/tr1/wctype.h: Likewise.
1180         * include/tr1/wchar.h: Likewise.
1181         * include/tr1/inttypes.h: Likewise.
1182         * include/tr1/tgmath.h: Likewise.
1183         * include/tr1/cstdbool: Likewise.
1184         * include/tr1/cfloat: Likewise.
1185         * include/tr1/ccomplex: Likewise.
1186         * include/tr1/ctime: Likewise.
1187         * include/tr1/climits: Likewise.
1188         * include/tr1/ctgmath: Likewise.
1189         * include/tr1/cstdarg: Likewise.
1190
1191         * testsuite/tr1/headers.cc: Move...
1192         * testsuite/tr1/headers/all.cc: ... here.
1193         * testsuite/tr1/using_namespace_std_tr1.cc: Move...
1194         * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: ... here.
1195         * testsuite/tr1/headers/using_namespace_std_tr1.cc ... here.
1196         * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: New.
1197
1198         * testsuite/20_util/tuple/requirements/explicit_instantiation.cc:
1199         Adjust namespace.
1200         * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Adjust to
1201         the C++0x requirements.
1202         * testsuite/20_util/has_nothrow_default_constructor/value.cc: Likewise.
1203         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
1204         * testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise.
1205
1206         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1207         dg-error lines.
1208         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1209         Likewise.
1210         * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
1211         Un-xfail.
1212
1213         * testsuite/20_util/is_signed/value.cc: New.
1214         * testsuite/20_util/is_signed/requirements/typedefs.cc: Likewise.
1215         * testsuite/20_util/is_signed/requirements/explicit_instantiation.cc:
1216         Likewise.
1217         * testsuite/20_util/is_unsigned/value.cc: Likewise..
1218         * testsuite/20_util/is_unsigned/requirements/typedefs.cc: Likewise.
1219         * testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc:
1220         Likewise.
1221
1222         * include/Makefile.am: Adjust.  
1223         * include/Makefile.in: Regenerate.
1224
1225 2007-05-31  Paolo Carlini  <pcarlini@suse.de>
1226
1227         PR c++/32158 (libstdc++ bits)
1228         * include/bits/stl_uninitialized.h (__uninitialized_copy_aux,
1229         __uninitialized_fill_aux, __uninitialized_fill_n_aux):
1230         Remove.
1231         (struct __uninitialized_copy, struct __uninitialized_fill,
1232         struct __uninitialized_fill_n): Add.
1233         (uninitialized_copy, uninitialized_fill, uninitialized_fill_n):
1234         Adjust.
1235         * testsuite/20_util/specialized_algorithms/32158.cc: New.
1236
1237         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
1238         _InputIterator, _ForwardIterator)): Robustify vs non-POD input.
1239
1240         * include/bits/stl_vector.h (_M_fill_initialize): New.
1241         (vector(size_type, const value_type&, const allocator_type&),
1242         _M_initialize_dispatch(_Integer, _Integer, __true_type)): Use it.
1243         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1244         Adjust dg-error line.
1245         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1246         Likewise.
1247         * testsuite/23_containers/vector/requirements/dr438/
1248         constructor_1_neg.cc: Likewise.
1249         * testsuite/23_containers/vector/requirements/dr438/
1250         constructor_2_neg.cc: Likewise.
1251
1252 2007-05-29  Paolo Carlini  <pcarlini@suse.de>
1253
1254         * aclocal.m4: Regenerate.
1255
1256         * testsuite/17_intro/headers/c++1998/c++_for_c.tar: Remove.
1257         * testsuite/17_intro/headers/c++1998/c++.tar: Likewise.
1258
1259 2007-05-28  Benjamin Kosnik  <bkoz@redhat.com>
1260
1261         PR libstdc++/31717 
1262         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Re-organize. Sanity check
1263         gnu locale model requests to make sure it will work for the requested
1264         target. Add checks for strxfrm_l, strerror_l when in gnu locale,
1265         and strerror_r everywhere.
1266         * aclocal.m4: Regenerated.
1267         * configure: Regenerated.
1268         * config.h.in: Regenerated.
1269         
1270 2007-05-27  Paolo Carlini  <pcarlini@suse.de>
1271
1272         * include/tr1/boost_shared_ptr.h
1273         (_Sp_counted_base<_S_mutex>::_M_add_ref_lock()): Do not wrap in
1274         #ifdef __GTHREADS.
1275
1276 2007-05-27  Paolo Carlini  <pcarlini@suse.de>
1277
1278         * include/c_global/cwchar: Do not include <ctime>.
1279         * include/c_std/cwchar: Likewise.
1280         * include/ext/throw_allocator.h: Do it here.
1281         
1282 2007-05-25  Paolo Carlini  <pcarlini@suse.de>
1283
1284         * config/locale/gnu/c_locale.h (__convert_from_v): Fix typo.
1285
1286 2007-05-24  Paolo Carlini  <pcarlini@suse.de>
1287
1288         * include/ext/concurrence.h: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_*.
1289
1290 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
1291
1292         * Makefile.in: Regenerate.
1293         * configure: Regenerate.
1294         * aclocal.m4: Regenerate.
1295         * include/Makefile.in: Regenerate.
1296         * libmath/Makefile.in: Regenerate.
1297         * libsupc++/Makefile.in: Regenerate.
1298         * po/Makefile.in: Regenerate.
1299         * src/Makefile.in: Regenerate.
1300         * testsuite/Makefile.in: Regenerate.
1301
1302 2007-05-24  Paolo Carlini  <pcarlini@suse.de>
1303
1304         * config/locale/gnu/c_locale.h (__convert_from_v): Only switch to the
1305         "C" locale if the current one isn't already "C" (for old glibcs).
1306         * config/os/gnu-linux/ctype_noninline.h (ctype<char>::classic_table,
1307         ctype<char>::ctype(__c_locale, const mask*, bool, size_t),
1308         ctype<char>::ctype(const mask*, bool, size_t)): Likewise, for generic
1309         locale model.
1310         * config/locale/gnu/messages_members.h
1311         (messages<>::messages(__c_locale, const char*, size_t),
1312         messages_byname<_CharT>::messages_byname(const char*, size_t)):
1313         Only dynamically allocate memory if __s != "C".
1314         * config/locale/gnu/time_members.h
1315         (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
1316         Likewise.
1317         * config/locale/generic/time_members.h
1318         (__timepunct<_CharT>::__timepunct(__c_locale, const char*, size_t)):
1319         Likewise.
1320
1321         * testsuite/util/testsuite_allocator.h: Revert last change.
1322
1323 2007-05-22  Paolo Carlini  <pcarlini@suse.de>
1324
1325         * testsuite/util/testsuite_allocator.h (check_new): Assign false
1326         to new_called.
1327         (check_delete): Likewise for delete_called.
1328
1329 2007-05-21  Paolo Carlini  <pcarlini@suse.de>
1330
1331         * config/locale/gnu/c_locale.h: Do not include <cstdarg>, use builtins.
1332         * config/locale/generic/c_locale.h: Likewise.
1333
1334 2007-05-21  Paolo Carlini  <pcarlini@suse.de>
1335
1336         PR libstdc++/31621
1337         * acinclude.m4 ([GLIBCXX_CHECK_LINKER_FEATURES]): Use the C compiler.
1338         * configure: Regenerate.
1339
1340 2007-05-20  Paolo Carlini  <pcarlini@suse.de>
1341
1342         * include/bits/stl_algo.h: Shuffle the functions to better match the
1343         order in the standard.
1344
1345 2007-05-17  Paolo Carlini  <pcarlini@suse.de>
1346
1347         * config/locale/gnu/c_locale.h: Do not include <libintl.h>.
1348         * config/locale/gnu/messages_members.h: Do it here.
1349         
1350         * config/locale/gnu/c_locale.h: Do not include <cstdio>, use
1351         the builtins.
1352         * config/locale/generic/c_locale.h: Likewise.
1353
1354 2007-05-17  Benjamin Kosnik  <bkoz@redhat.com>
1355
1356         * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add -g to
1357         compile flags, move code to test to global scope.
1358         * configure: Regenerate.
1359         
1360 2007-05-17  Benjamin Kosnik  <bkoz@redhat.com>
1361
1362         * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: 
1363         Fix dg bits.
1364         * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same.
1365
1366 2007-05-17  Paolo Carlini  <pcarlini@suse.de>
1367
1368         * include/bits/stl_algobase.h (mismatch): Move...
1369         * include/bits/stl_algo.h: ... here.
1370
1371 2007-05-17  Benjamin Kosnik  <bkoz@redhat.com>
1372
1373         * include/tr1/cmath: Guard special math with
1374         __GXX_EXPERIMENTAL_CXX0X__.
1375         * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc:
1376         Remove xfail.
1377
1378 2007-05-17  Paolo Carlini  <pcarlini@suse.de>
1379
1380         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid
1381         unnecessary casts, do widenings just in time.
1382
1383 2007-05-16  Benjamin Kosnik  <bkoz@redhat.com>
1384
1385         * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function
1386         to the test code compiled with -ffunction-sections -fdata-sections.
1387         * configure: Regenerate.
1388
1389         * testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove
1390         _GLIBCXX_USE_WCHAR_T guards as superfluous.
1391         
1392         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add
1393         _GLIBCXX_USE_WCHAR_T guards.    
1394         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
1395         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
1396         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
1397
1398         * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: 
1399         Add.
1400         * testsuite/21_strings/char_traits/typedefs/char/1.cc: Move...
1401         * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: 
1402         ...here.
1403         * testsuite/21_strings/char_traits/typedefs: Remove.
1404         * testsuite/21_strings/char_traits/typedefs/char: Remove.
1405         
1406 2007-05-16  Benjamin Kosnik  <bkoz@redhat.com>  
1407
1408         * docs/html/abi.html: Update for gcc-4.1.2 and gcc-4.2.0.
1409         
1410 2007-05-14  Kaz Kojima  <kkojima@gcc.gnu.org>
1411
1412         * testsuite/tr1/5_numerical_facilities/special_functions/
1413         17_hyperg/check_nan.cc: Add -mieee for sh.
1414
1415 2007-05-14  Paolo Carlini  <pcarlini@suse.de>
1416
1417         * testsuite/util/testsuite_io.h: Only include <ios>.
1418
1419 2007-05-14  Paolo Carlini  <pcarlini@suse.de>
1420
1421         * include/bits/allocator.h: Do not include cpp_type_traits.h.
1422
1423 2007-05-14  Paolo Carlini  <pcarlini@suse.de>
1424
1425         * include/bits/postypes.h (class fpos<>): Remove redundant forward
1426         declaration.
1427
1428 2007-05-13  Paolo Carlini  <pcarlini@suse.de>
1429
1430         * include/bits/stl_tempbuf.h (return_temporary_buffer(_Tp*)): Inline.
1431
1432 2007-05-13  Paolo Carlini  <pcarlini@suse.de>
1433
1434         * include/tr1/type_traitsfwd.h: Fix include guard typo.
1435
1436 2007-05-11  Paolo Carlini  <pcarlini@suse.de>
1437
1438         * include/ext/pod_char_traits.h (char_traits<>::move):
1439         Use __builtin_memmove.
1440         * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name,
1441         collate_byname(const char*, size_t)): Use __builtin_strcmp.
1442         * include/bits/locale_facets.h: Use __builtin_mem* and
1443         __builtin_str* everywhere.
1444         * include/bits/codecvt.h (codecvt_byname(const char*, size_t)):
1445         Use __builtin_strcmp.
1446         * include/bits/char_traits.h: Use __builtin_mem* everywhere.
1447         * include/bits/fstream.tcc (basic_filebuf<>::underflow, imbue):
1448         Use __builtin_memcpy and __builtin_memmove.
1449         * include/bits/locale_facets_nonio.h (moneypunct_byname(const char*,
1450         size_t __refs)): Use __builtin_strcmp.
1451         * include/std/bitset (bitset<>::_M_do_reset): Use __builtin_memset.
1452         * config/locale/gnu/c_locale.h: Use __builtin_strlen, __builtin_strcmp,
1453         and __builtin_memcpy.
1454         * config/locale/gnu/messages_members.h: Likewise.
1455         * config/locale/gnu/time_members.h: Likewise.
1456         * config/locale/generic/c_locale.h: Likewise.
1457         * config/locale/generic/messages_members.h: Likewise.
1458         * config/locale/generic/time_members.h: Likewise.
1459         * config/os/gnu-linux/ctype_noninline.h: Likewise, avoid strdup.
1460         * config/os/tpf/ctype_noninline.h: Likewise.
1461         * config/locale/generic/codecvt_members.cc: Include <cstring>. 
1462         * config/locale/generic/ctype_members.cc: Likewise.
1463         * config/locale/generic/collate_members.cc: Likewise.
1464         * config/locale/gnu/c++locale_internal.h: Likewise.
1465         * config/locale/darwin/ctype_members.cc: Likewise.
1466         * src/ctype.cc: Likewise.
1467         * testsuite/19_diagnostics/logic_error/what-1.cc: Likewise.
1468         * testsuite/19_diagnostics/logic_error/what-2.cc: Likewise.
1469         * testsuite/19_diagnostics/runtime_error/what-1.cc: Likewise.
1470         * testsuite/19_diagnostics/runtime_error/what-2.cc: Likewise.
1471         * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
1472         * config/locale/gnu/messages_members.cc: Avoid strdup.
1473         * config/locale/gnu/monetary_members.cc: Likewise.
1474         * config/locale/gnu/time_members.cc: Likewise.  
1475         * config/locale/gnu/time_members.cc: Likewise.
1476         * config/locale/generic/c_locale.cc: Likewise.
1477
1478 2007-05-11  Benjamin Kosnik  <bkoz@redhat.com>
1479
1480         * include/std/stdexcept: Remove extra spacing.
1481
1482         * testsuite/19_diagnostics/stdexceptions.cc: Break into...
1483         * testsuite/19_diagnostics/bad_exception: ...this. Populate.
1484         * testsuite/19_diagnostics/logic_error: ... this.
1485         * testsuite/19_diagnostics/logic_error/what-1.cc: ...this.
1486         * testsuite/19_diagnostics/logic_error/what-2.cc: ...this.
1487         * testsuite/19_diagnostics/runtime_error: ...this.
1488         * testsuite/19_diagnostics/runtime_error/what-1.cc: ...this.
1489         * testsuite/19_diagnostics/runtime_error/what-2.cc: ...this.
1490         * testsuite/19_diagnostics/runtime_error/what-3.cc: ...this.
1491         * testsuite/19_diagnostics/23591_thread-1.c: Move...
1492         * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: ...here.
1493
1494 2007-05-10  Paolo Carlini  <pcarlini@suse.de>
1495
1496         * 27_io/objects/wchar_t/11.cc: Include <cstring>.
1497         * 27_io/objects/wchar_t/10.cc: Likewise.
1498         * 27_io/objects/wchar_t/12.cc: Likewise.
1499         * 27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise.
1500         * 27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1501         * 27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1502         * 27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1503         * 27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
1504         * 27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1505         * 27_io/basic_ios/cons/char/3.cc: Likewise.
1506         * 27_io/basic_stringbuf/setbuf/char/2.cc: Likewise.
1507         * 27_io/basic_stringbuf/setbuf/char/3.cc: Likewise.
1508         * 27_io/basic_stringbuf/setbuf/char/4.cc: Likewise.
1509         * 27_io/basic_istream/extractors_character/char/4.cc: Likewise.
1510         * 27_io/fpos/mbstate_t/1.cc: Likewise.
1511         * 27_io/basic_filebuf/setbuf/char/2.cc: Likewise.
1512         * 27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
1513         * 25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise.
1514         * 25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise.
1515         * 19_diagnostics/stdexceptions.cc: Likewise.
1516         * 21_strings/char_traits/requirements/short/1.cc: Likewise.
1517         * 21_strings/basic_string/compare/char/1.cc: Likewise.
1518         * 21_strings/basic_string/capacity/1.cc: Likewise.
1519         * ext/codecvt/char-1.cc: Likewise.
1520         * ext/codecvt/char-2.cc: Likewise.
1521         * ext/codecvt/1.cc: Likewise.
1522         * ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
1523         * ext/stdio_sync_filebuf/char/1.cc: Likewise.
1524         * ext/stdio_filebuf/char/2.cc: Likewise.
1525         * ext/stdio_filebuf/char/10063-1.cc: Likewise.
1526         * 22_locale/ctype/narrow/char/19955.cc: Likewise.
1527         * 22_locale/codecvt/unshift/wchar_t/1.cc: Likewise.
1528         * 22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
1529         * 22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
1530         * 22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
1531         * 22_locale/codecvt/unshift/char/1.cc: Likewise.
1532         * 22_locale/codecvt/length/wchar_t/1.cc: Likewise.
1533         * 22_locale/codecvt/length/wchar_t/2.cc: Likewise.
1534         * 22_locale/codecvt/length/wchar_t/3.cc: Likewise.
1535         * 22_locale/codecvt/length/wchar_t/4.cc: Likewise.
1536         * 22_locale/codecvt/length/wchar_t/5.cc: Likewise.
1537         * 22_locale/codecvt/length/wchar_t/6.cc: Likewise.
1538         * 22_locale/codecvt/length/wchar_t/7.cc: Likewise.
1539         * 22_locale/codecvt/always_noconv/char/1.cc: Likewise.
1540         * 22_locale/codecvt/encoding/char/1.cc: Likewise.
1541         * 22_locale/codecvt/in/wchar_t/1.cc: Likewise.
1542         * 22_locale/codecvt/in/wchar_t/2.cc: Likewise.
1543         * 22_locale/codecvt/in/wchar_t/3.cc: Likewise.
1544         * 22_locale/codecvt/in/wchar_t/4.cc: Likewise.
1545         * 22_locale/codecvt/in/wchar_t/5.cc: Likewise.
1546         * 22_locale/codecvt/in/wchar_t/6.cc: Likewise.
1547         * 22_locale/codecvt/in/wchar_t/7.cc: Likewise.
1548         * 22_locale/codecvt/in/wchar_t/8.cc: Likewise.
1549         * 22_locale/codecvt/in/wchar_t/9.cc: Likewise.
1550         * 22_locale/codecvt/in/char/1.cc: Likewise.
1551         * 22_locale/codecvt/max_length/char/1.cc: Likewise.
1552         * 22_locale/codecvt/out/wchar_t/1.cc: Likewise.
1553         * 22_locale/codecvt/out/wchar_t/2.cc: Likewise.
1554         * 22_locale/codecvt/out/wchar_t/3.cc: Likewise.
1555         * 22_locale/codecvt/out/wchar_t/4.cc: Likewise.
1556         * 22_locale/codecvt/out/wchar_t/5.cc: Likewise.
1557         * 22_locale/codecvt/out/wchar_t/6.cc: Likewise.
1558         * 22_locale/codecvt/out/wchar_t/7.cc: Likewise.
1559         * 22_locale/codecvt/out/char/1.cc: Likewise.
1560         * 22_locale/locale/cons/5.cc: Likewise.
1561         * 22_locale/collate_byname/named_equivalence.cc: Likewise.
1562
1563 2007-05-07  Mark Mitchell  <mark@codesourcery.com>
1564
1565         * libstdc++-v3/libsupc++/cxxabi.h (_GLIBCXX_NOTHROW): New macro.
1566         (__cxa_atexit): Use it.
1567
1568         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For
1569         installed-tree testing, search more include directories.
1570
1571 2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
1572
1573         * include/std/type_traits (make_signed): Remove specializations
1574         for floating point types.
1575         (make_unsigned): Same.
1576         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Fix.
1577         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Same.
1578         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
1579         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1580         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
1581         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
1582         
1583 2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
1584
1585         * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New.
1586
1587 2007-05-08  Jason Merrill  <jason@redhat.com>
1588
1589         * libsupc++/cxxabi-internal.h: Remove, to be replaced by...
1590         * libsupc++/cxxabi-forced.h: ...this new file.
1591         * include/ext/vstring.tcc: Include cxxabi-forced.h instead.
1592         * include/bits/istream.tcc: Likewise.
1593         * include/bits/ostream.tcc: Likewise.
1594         * include/bits/basic_string.tcc: Likewise.
1595         * include/bits/ostream_insert.h: Likewise.
1596         * include/bits/fstream.tcc: Likewise.
1597         * include/std/bitset: Likewise.
1598         * libsupc++/cxxabi.h: Restore previous contents.
1599         * Makefile.am (headers): Add cxxabi-forced.h.
1600         * Makefile.in: Regenerate.
1601
1602 2007-05-08  Benjamin Kosnik  <bkoz@redhat.com>
1603
1604         * testsuite/util/testsuite_abi.cc: Add CXXABI_1.3.2.
1605
1606         * libsupc++/cxxabi-internal.h (__foreign_exception::__pure): To
1607         __pure_virtual.
1608
1609 2007-05-07  Jason Merrill  <jason@redhat.com>
1610
1611         * include/bits/ostream.tcc (operator<<(char*)): Add __s.
1612
1613         * config/abi/pre/gnu.ver: Fix symbol versions.
1614         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
1615
1616 2007-05-07  Danny Smith  <dannysmith@users.sourceforge.net>
1617
1618         * config/os/mingw32/os_defines.h (NOMINMAX): Update comment.
1619
1620 2007-05-07  Jason Merrill  <jason@redhat.com>
1621
1622         PR c++/28145
1623         * libsupc++/cxxabi.h (__forced_unwind, __foreign_exception):
1624         New classes.
1625         * libsupc++/eh_exception.cc: Define their destructors.
1626         * config/abi/pre/gnu.ver: Export their type_infos.
1627         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
1628         * libsupc++/eh_personality.cc: A handler for abi::__forced_unwind
1629         matches a forced unwind, and a handler for abi::__foreign_exception
1630         matches a foreign exception.
1631         
1632         * include/bits/istream.tcc: Rethrow forced unwind.
1633         * include/bits/ostream.tcc: Likewise.
1634         * include/bits/ostream_insert.h: Likewise.
1635         * include/bits/basic_string.tcc (operator>>, getline): Likewise.
1636         * include/bits/fstream.tcc (basic_filebuf::close): Likewise.
1637         * include/ext/vstring.cc (operator>>, getline): Likewise.
1638         * src/istream.cc: Likewise.
1639         * src/compatibility.cc (basic_istream::ignore): Likewise.
1640         * include/std/bitset (operator>>): Likewise.
1641         * include/std/fstream (basic_filebuf::close): Remove throw() spec.
1642         * libsupc++/cxxabi-internal.h: Split out from...
1643         * libsupc++/cxxabi.h: ...here.
1644
1645 2007-05-07  Paolo Carlini  <pcarlini@suse.de>
1646
1647         * include/bits/stl_algobase.h: Do not include <cstring>.
1648         (copy(const _Tp*, const _Tp*, _Tp*), __copy_b(const _Tp*, const _Tp*,
1649         _Tp*)): Use __builtin_memmove.
1650         (__fill_aux): Use __builtin_memset.
1651         (equal(const _Tp*, const _Tp*, const _Tp*),
1652         lexicographical_compare(const unsigned char*, const unsigned char*,
1653         const unsigned char*, const unsigned char*)): Use __builtin_memcmp.
1654         * include/bits/valarray_array.h: Do not include <cstring>.
1655         (_Array_default_ctor<, true>::_S_do_it): Use __builtin_memset.
1656         (_Array_copy_ctor<, true>::_S_do_it, _Array_copier<, true>::_S_do_it):
1657         Use __builtin_memcpy.
1658         * include/ext/algorithm
1659         (__lexicographical_compare_3way(const unsigned char*,
1660         const unsigned char*, const unsigned char*, const unsigned char*)):
1661         Use __builtin_memcmp.
1662         * testsuite/23_containers/vector/requirements/dr438/
1663         constructor_1_neg.cc: Adjust dg-error line number.
1664         * testsuite/23_containers/vector/requirements/dr438/
1665         constructor_2_neg.cc: Likewise.
1666
1667 2007-05-07  Mark Mitchell  <mark@codesourcery.com>
1668
1669         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): For
1670         installed-tree testing, search more include directories.
1671
1672         * testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
1673         2.10.
1674         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
1675
1676         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In
1677         installed-tree testing, use "remote_exec host", not "remote_exec
1678         exec".  Trip trailing newlines from output of -dumpversion and
1679         -dumpmachine.
1680
1681 2007-05-07  Benjamin Kosnik  <bkoz@redhat.com>
1682             Howard Hinnant  <hhinnant@apple.com>
1683
1684         * include/std/type_traits: (make_signed, make_unsigned): Adjust
1685         for enum sizes. 
1686         * testsuite/20_util/make_unsigned/requirements/typedefs.cc: Move to...
1687         * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: ...here.
1688         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Add,
1689         compile with -funsigned-char -fshort-enums.
1690         * testsuite/20_util/make_signed/requirements/typedefs.cc: Move to...
1691         * testsuite/20_util/make_signed/requirements/typedefs-1.cc: ...here.
1692         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Add,
1693         compile with -funsigned-char -fshort-enums.
1694
1695         * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
1696         Add a temporary xfail to this test for all platforms.
1697         
1698 2007-05-06  Paolo Carlini  <pcarlini@suse.de>
1699
1700         * include/std/complex: Add missing extern template declarations.
1701         * testsuite/26_numerics/complex/complex_inserters_extractors.cc:
1702         Move...
1703         * testsuite/26_numerics/complex/inserters_extractors/char/1.cc:
1704         ... here.
1705         * testsuite/26_numerics/complex/inserters_extractors/wchar_t/1.cc:
1706         New.
1707
1708 2007-05-06  Paolo Carlini  <pcarlini@suse.de>
1709
1710         PR libstdc++/31834
1711         * testsuite/17_intro/headers/c++200x/all.cc: Protect inclusion
1712         of C99 headers.
1713         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
1714         Likewise.
1715
1716 2007-05-06  Paolo Carlini  <pcarlini@suse.de>
1717
1718         * config/locale/generic/c_locale.cc: Don't use __builtin_huge_val*
1719         when __*_HAS_INFINITY__ is false.
1720
1721 2007-05-04  Paolo Carlini  <pcarlini@suse.de>
1722
1723         * include/bits/stl_raw_storage_iter.h (class raw_storage_iterator):
1724         Adjust template parameter name.
1725
1726 2007-05-04  Mark Mitchell  <mark@codesourcery.com>
1727
1728         * libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception
1729         specification on #ifdef __cplusplus.
1730         
1731 2007-05-04  Paolo Carlini  <pcarlini@suse.de>
1732
1733         * include/bits/stl_memory.h: Rename to stl_auto_ptr.h.
1734         (__get_temporary_buffer, get_temporary_buffer,
1735         return_temporary_buffer): Move...
1736         * include/bits/stl_tempbuf.h: ... here.
1737         * include/std/memory: Adjust includes.
1738         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line
1739         numbers.
1740         * include/Makefile.am: Adjust.
1741         * include/Makefile.in: Regenerate.
1742
1743         * testsuite/util/testsuite_iterators.h: Do not include the entire
1744         <iterator>.
1745         * include/bits/stl_iterator_base_types.h: Adjust includes.
1746         * testsuite/25_algorithms/unique_copy/2.cc: Include <functional>.
1747
1748 2007-05-04  Mark Mitchell  <mark@codesourcery.com>
1749
1750         * libsupc++/atexit_arm.cc: New file.
1751         * libsupc++/vec.cc (__aeabi_atexit): Remove.
1752         * libsupc++/cxxabi.h (__cxa_atexit): Add exception specification.
1753
1754         * libsupc++/Makefile.am: Add atexit_arm.cc.
1755         * libsupc++/Makefile.in: Regenerated.
1756
1757 2007-05-04  Paolo Carlini  <pcarlini@suse.de>
1758
1759         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1760         _ForwardIterator __last, _Allocator)): Change the last parameter
1761         to _Allocator&.
1762         * include/bits/stl_uninitialized.h (__uninitialized_copy_a,
1763         __uninitialized_fill_a, __uninitialized_fill_n_a,
1764         __uninitialized_fill_copy, __uninitialized_copy_fill,
1765         __uninitialized_copy_copy): Likewise.
1766         * include/ext/rope: Adjust everywhere.
1767         * include/ext/ropeimpl.h: Likewise.
1768
1769 2007-05-03  Benjamin Kosnik  <bkoz@redhat.com>
1770
1771         * include/std/type_traits (enable_if): New.
1772         (conditional): New.
1773         (__decay_selector, decay): New.
1774         (__cv_selector, __match_cv_qualifiers): New.
1775         (__make_unsigned, __make_unsigned_selector, make_unsigned): New.
1776         (__make_signed, __make_signed_selector, make_signed): New.
1777         (has_trivial_constructor): ... to has_trivial_default_constructor.
1778         (has_nothrow_constructor): ... to has_nothrow_default_constructor.
1779         (has_trivial_copy): ... to has_trivial_copy_constructor.
1780         (has_nothrow_copy): ... to has_nothrow_copy_constructor.
1781
1782         * include/tr1/type_traits_fwd: Move to...
1783         * include/tr1/type_traitsfwd: ... this, consistency with
1784         ios/string/locale forward headers.
1785         * include/tr1/type_traits: Adjust include.      
1786         * include/Makefile.am (tr1_headers): Change type_traits_fwd.h to
1787         type_traitsfwd.h.
1788         * include/Makefile.in: Regenerate.
1789
1790         * testsuite/23_containers/tuple: Move...
1791         * testsuite/20_util/tuple:... here.
1792
1793         * testsuite/20_util/conditional: New.
1794         * testsuite/20_util/conditional/requirements: Same.
1795         * testsuite/20_util/conditional/requirements/
1796         explicit_instantiation.cc: Same.
1797         * testsuite/20_util/conditional/requirements/typedefs.cc: Same.
1798         * testsuite/20_util/decay: Same.
1799         * testsuite/20_util/decay/requirements: Same.
1800         * testsuite/20_util/decay/requirements/explicit_instantiation.cc: Same.
1801         * testsuite/20_util/decay/requirements/typedefs.cc: Same.
1802         * testsuite/20_util/enable_if: Same.
1803         * testsuite/20_util/enable_if/requirements: Same.
1804         * testsuite/20_util/enable_if/requirements/
1805         explicit_instantiation.cc: Same.
1806         * testsuite/20_util/enable_if/requirements/typedefs.cc: Same.
1807         * testsuite/20_util/enable_if/requirements/typedefs_neg.cc: Same.
1808         * testsuite/20_util/has_nothrow_copy_constructor: Same.
1809         * testsuite/20_util/has_nothrow_copy_constructor/requirements: Same.
1810         * testsuite/20_util/has_nothrow_copy_constructor/requirements/
1811         explicit_instantiation.cc: Same.
1812         * testsuite/20_util/has_nothrow_copy_constructor/requirements/
1813         typedefs.cc: Same.
1814         * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Same.
1815         * testsuite/20_util/has_nothrow_default_constructor: Same.
1816         * testsuite/20_util/has_nothrow_default_constructor/requirements: Same.
1817         * testsuite/20_util/has_nothrow_default_constructor/requirements/
1818         explicit_instantiation.cc: Same.
1819         * testsuite/20_util/has_nothrow_default_constructor/requirements/
1820         typedefs.cc: Same.
1821         * testsuite/20_util/has_nothrow_default_constructor/value.cc: Same.
1822         * testsuite/20_util/has_trivial_copy_constructor: Same.
1823         * testsuite/20_util/has_trivial_copy_constructor/requirements: Same.
1824         * testsuite/20_util/has_trivial_copy_constructor/requirements/
1825         explicit_instantiation.cc: Same.
1826         * testsuite/20_util/has_trivial_copy_constructor/requirements/
1827         typedefs.cc: Same.
1828         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Same.
1829         * testsuite/20_util/has_trivial_default_constructor: Same.
1830         * testsuite/20_util/has_trivial_default_constructor/requirements: Same.
1831         * testsuite/20_util/has_trivial_default_constructor/requirements/
1832         explicit_instantiation.cc: Same.
1833         * testsuite/20_util/has_trivial_default_constructor/requirements/
1834         typedefs.cc: Same.
1835         * testsuite/20_util/has_trivial_default_constructor/value.cc: Same.
1836         * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Same.
1837         * testsuite/20_util/make_signed: Same.
1838         * testsuite/20_util/make_signed/requirements: Same.
1839         * testsuite/20_util/make_signed/requirements/
1840         explicit_instantiation.cc: Same.
1841         * testsuite/20_util/make_signed/requirements/typedefs.cc: Same.
1842         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1843         * testsuite/20_util/make_unsigned: Same.
1844         * testsuite/20_util/make_unsigned/requirements: Same.
1845         * testsuite/20_util/make_unsigned/requirements/
1846         explicit_instantiation.cc: Same.
1847         * testsuite/20_util/make_unsigned/requirements/typedefs.cc: Same.
1848         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1849         
1850 2007-05-02  Paolo Carlini  <pcarlini@suse.de>
1851
1852         PR libstdc++/31777
1853         * include/ext/pool_allocator.h (__pool_alloc<>::allocate,
1854         __pool_alloc<>::deallocate): Fix _S_force_new check.
1855
1856 2007-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1857         
1858         * 23_containers/requirements/sequences/dr438/deque/*: Move to...
1859         * 23_containers/deque/requirements/dr438: ...here.
1860         
1861         * 23_containers/requirements/sequences/dr438/list/*: Move to...
1862         * 23_containers/list/requirements/dr438: ...here.
1863         
1864         * 23_containers/requirements/sequences/dr438/vector/*: Move to...
1865         * 23_containers/vector/requirements/dr438: ...here.
1866
1867 2007-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1868         
1869         * testsuite/*/explicit_instantiations.cc: Change to...
1870         * testsuite/*/explicit_instantiation.cc: ... this.
1871
1872 2007-05-01  Benjamin Kosnik  <bkoz@redhat.com>
1873         
1874         * testsuite/tr1/4_metaprogramming/*/explicit_instantiations.cc: Change
1875         "basic_ofstream" in comment to type_traits.
1876
1877 2007-04-30  Benjamin Kosnik  <bkoz@redhat.com>
1878
1879         Directory layout flattening.
1880
1881         Added in testsuite:
1882         * tr1/4_metaprogramming/add_const
1883         * tr1/4_metaprogramming/add_const/requirements
1884         * tr1/4_metaprogramming/add_const/requirements/
1885         explicit_instantiations.cc
1886         * tr1/4_metaprogramming/add_const/requirements/typedefs.cc
1887         * tr1/4_metaprogramming/add_cv
1888         * tr1/4_metaprogramming/add_cv/requirements
1889         * tr1/4_metaprogramming/add_cv/requirements/explicit_instantiations.cc
1890         * tr1/4_metaprogramming/add_cv/requirements/typedefs.cc
1891         * tr1/4_metaprogramming/add_pointer
1892         * tr1/4_metaprogramming/add_pointer/requirements
1893         * tr1/4_metaprogramming/add_pointer/requirements/
1894         explicit_instantiations.cc
1895         * tr1/4_metaprogramming/add_pointer/requirements/typedefs.cc
1896         * tr1/4_metaprogramming/add_reference
1897         * tr1/4_metaprogramming/add_reference/requirements
1898         * tr1/4_metaprogramming/add_reference/requirements/
1899         explicit_instantiations.cc
1900         * tr1/4_metaprogramming/add_reference/requirements/typedefs.cc
1901         * tr1/4_metaprogramming/add_volatile
1902         * tr1/4_metaprogramming/add_volatile/requirements
1903         * tr1/4_metaprogramming/add_volatile/requirements/
1904         explicit_instantiations.cc
1905         * tr1/4_metaprogramming/add_volatile/requirements/typedefs.cc
1906         * tr1/4_metaprogramming/aligned_storage
1907         * tr1/4_metaprogramming/aligned_storage/requirements
1908         * tr1/4_metaprogramming/aligned_storage/requirements/
1909         explicit_instantiations.cc
1910         * tr1/4_metaprogramming/aligned_storage/requirements/typedefs.cc
1911         * tr1/4_metaprogramming/alignment_of
1912         * tr1/4_metaprogramming/alignment_of/requirements
1913         * tr1/4_metaprogramming/alignment_of/requirements/
1914         explicit_instantiations.cc
1915         * tr1/4_metaprogramming/alignment_of/requirements/typedefs.cc
1916         * tr1/4_metaprogramming/alignment_of/value.cc
1917         * tr1/4_metaprogramming/extent
1918         * tr1/4_metaprogramming/extent/requirements
1919         * tr1/4_metaprogramming/extent/requirements/explicit_instantiations.cc
1920         * tr1/4_metaprogramming/extent/requirements/typedefs.cc
1921         * tr1/4_metaprogramming/extent/value.cc
1922         * tr1/4_metaprogramming/has_nothrow_assign
1923         * tr1/4_metaprogramming/has_nothrow_assign/requirements
1924         * tr1/4_metaprogramming/has_nothrow_assign/requirements/
1925         explicit_instantiations.cc
1926         * tr1/4_metaprogramming/has_nothrow_assign/requirements/typedefs.cc
1927         * tr1/4_metaprogramming/has_nothrow_assign/value.cc
1928         * tr1/4_metaprogramming/has_nothrow_constructor
1929         * tr1/4_metaprogramming/has_nothrow_constructor/requirements
1930         * tr1/4_metaprogramming/has_nothrow_constructor/
1931         requirements/explicit_instantiations.cc
1932         * tr1/4_metaprogramming/has_nothrow_constructor/
1933         requirements/typedefs.cc
1934         * tr1/4_metaprogramming/has_nothrow_constructor/value.cc
1935         * tr1/4_metaprogramming/has_nothrow_copy
1936         * tr1/4_metaprogramming/has_nothrow_copy/requirements
1937         * tr1/4_metaprogramming/has_nothrow_copy/requirements/
1938         explicit_instantiations.cc
1939         * tr1/4_metaprogramming/has_nothrow_copy/requirements/typedefs.cc
1940         * tr1/4_metaprogramming/has_nothrow_copy/value.cc
1941         * tr1/4_metaprogramming/has_trivial_assign
1942         * tr1/4_metaprogramming/has_trivial_assign/requirements
1943         * tr1/4_metaprogramming/has_trivial_assign/requirements/
1944         explicit_instantiations.cc
1945         * tr1/4_metaprogramming/has_trivial_assign/requirements/typedefs.cc
1946         * tr1/4_metaprogramming/has_trivial_assign/value.cc
1947         * tr1/4_metaprogramming/has_trivial_constructor
1948         * tr1/4_metaprogramming/has_trivial_constructor/requirements
1949         * tr1/4_metaprogramming/has_trivial_constructor/
1950         requirements/explicit_instantiations.cc
1951         * tr1/4_metaprogramming/has_trivial_constructor/
1952         requirements/typedefs.cc
1953         * tr1/4_metaprogramming/has_trivial_constructor/value.cc
1954         * tr1/4_metaprogramming/has_trivial_copy
1955         * tr1/4_metaprogramming/has_trivial_copy/requirements
1956         * tr1/4_metaprogramming/has_trivial_copy/
1957         requirements/explicit_instantiations.cc
1958         * tr1/4_metaprogramming/has_trivial_copy/requirements/typedefs.cc
1959         * tr1/4_metaprogramming/has_trivial_copy/value.cc
1960         * tr1/4_metaprogramming/has_trivial_destructor
1961         * tr1/4_metaprogramming/has_trivial_destructor/requirements
1962         * tr1/4_metaprogramming/has_trivial_destructor/
1963         requirements/explicit_instantiations.cc
1964         * tr1/4_metaprogramming/has_trivial_destructor/requirements/typedefs.cc
1965         * tr1/4_metaprogramming/has_trivial_destructor/value.cc
1966         * tr1/4_metaprogramming/has_virtual_destructor
1967         * tr1/4_metaprogramming/has_virtual_destructor/requirements
1968         * tr1/4_metaprogramming/has_virtual_destructor/
1969         requirements/explicit_instantiations.cc
1970         * tr1/4_metaprogramming/has_virtual_destructor/requirements/typedefs.cc
1971         * tr1/4_metaprogramming/has_virtual_destructor/value.cc
1972         * tr1/4_metaprogramming/integral_constant
1973         * tr1/4_metaprogramming/integral_constant/requirements
1974         * tr1/4_metaprogramming/integral_constant/
1975         requirements/explicit_instantiations.cc
1976         * tr1/4_metaprogramming/integral_constant/requirements/typedefs.cc
1977         * tr1/4_metaprogramming/integral_constant/true_false_value.cc
1978         * tr1/4_metaprogramming/is_abstract
1979         * tr1/4_metaprogramming/is_abstract/requirements
1980         * tr1/4_metaprogramming/is_abstract/
1981         requirements/explicit_instantiations.cc
1982         * tr1/4_metaprogramming/is_abstract/requirements/typedefs.cc
1983         * tr1/4_metaprogramming/is_abstract/value.cc
1984         * tr1/4_metaprogramming/is_arithmetic
1985         * tr1/4_metaprogramming/is_arithmetic/requirements
1986         * tr1/4_metaprogramming/is_arithmetic/
1987         requirements/explicit_instantiations.cc
1988         * tr1/4_metaprogramming/is_arithmetic/requirements/typedefs.cc
1989         * tr1/4_metaprogramming/is_arithmetic/value.cc
1990         * tr1/4_metaprogramming/is_array
1991         * tr1/4_metaprogramming/is_array/requirements
1992         * tr1/4_metaprogramming/is_array/
1993         requirements/explicit_instantiations.cc
1994         * tr1/4_metaprogramming/is_array/requirements/typedefs.cc
1995         * tr1/4_metaprogramming/is_array/value.cc
1996         * tr1/4_metaprogramming/is_base_of
1997         * tr1/4_metaprogramming/is_base_of/requirements
1998         * tr1/4_metaprogramming/is_base_of/
1999         requirements/explicit_instantiations.cc
2000         * tr1/4_metaprogramming/is_base_of/requirements/typedefs.cc
2001         * tr1/4_metaprogramming/is_base_of/value.cc
2002         * tr1/4_metaprogramming/is_class
2003         * tr1/4_metaprogramming/is_class/requirements
2004         * tr1/4_metaprogramming/is_class/
2005         requirements/explicit_instantiations.cc
2006         * tr1/4_metaprogramming/is_class/requirements/typedefs.cc
2007         * tr1/4_metaprogramming/is_class/value.cc
2008         * tr1/4_metaprogramming/is_compound
2009         * tr1/4_metaprogramming/is_compound/requirements
2010         * tr1/4_metaprogramming/is_compound/
2011         requirements/explicit_instantiations.cc
2012         * tr1/4_metaprogramming/is_compound/requirements/typedefs.cc
2013         * tr1/4_metaprogramming/is_compound/value.cc
2014         * tr1/4_metaprogramming/is_const
2015         * tr1/4_metaprogramming/is_const/requirements
2016         * tr1/4_metaprogramming/is_const/
2017         requirements/explicit_instantiations.cc
2018         * tr1/4_metaprogramming/is_const/requirements/typedefs.cc
2019         * tr1/4_metaprogramming/is_const/value.cc
2020         * tr1/4_metaprogramming/is_convertible
2021         * tr1/4_metaprogramming/is_convertible/requirements
2022         * tr1/4_metaprogramming/is_convertible/
2023         requirements/explicit_instantiations.cc
2024         * tr1/4_metaprogramming/is_convertible/requirements/typedefs.cc
2025         * tr1/4_metaprogramming/is_convertible/value.cc
2026         * tr1/4_metaprogramming/is_empty
2027         * tr1/4_metaprogramming/is_empty/requirements
2028         * tr1/4_metaprogramming/is_empty/requirements/
2029         explicit_instantiations.cc
2030         * tr1/4_metaprogramming/is_empty/requirements/typedefs.cc
2031         * tr1/4_metaprogramming/is_empty/value.cc
2032         * tr1/4_metaprogramming/is_enum
2033         * tr1/4_metaprogramming/is_enum/requirements
2034         * tr1/4_metaprogramming/is_enum/requirements/explicit_instantiations.cc
2035         * tr1/4_metaprogramming/is_enum/requirements/typedefs.cc
2036         * tr1/4_metaprogramming/is_enum/value.cc
2037         * tr1/4_metaprogramming/is_floating_point
2038         * tr1/4_metaprogramming/is_floating_point/requirements
2039         * tr1/4_metaprogramming/is_floating_point/requirements/
2040         explicit_instantiations.cc
2041         * tr1/4_metaprogramming/is_floating_point/requirements/typedefs.cc
2042         * tr1/4_metaprogramming/is_floating_point/value.cc
2043         * tr1/4_metaprogramming/is_function
2044         * tr1/4_metaprogramming/is_function/requirements
2045         * tr1/4_metaprogramming/is_function/requirements/
2046         explicit_instantiations.cc
2047         * tr1/4_metaprogramming/is_function/requirements/typedefs.cc
2048         * tr1/4_metaprogramming/is_function/value.cc
2049         * tr1/4_metaprogramming/is_fundamental
2050         * tr1/4_metaprogramming/is_fundamental/requirements
2051         * tr1/4_metaprogramming/is_fundamental/requirements/
2052         explicit_instantiations.cc
2053         * tr1/4_metaprogramming/is_fundamental/requirements/typedefs.cc
2054         * tr1/4_metaprogramming/is_fundamental/value.cc
2055         * tr1/4_metaprogramming/is_integral
2056         * tr1/4_metaprogramming/is_integral/requirements
2057         * tr1/4_metaprogramming/is_integral/requirements/
2058         explicit_instantiations.cc
2059         * tr1/4_metaprogramming/is_integral/requirements/typedefs.cc
2060         * tr1/4_metaprogramming/is_integral/value.cc
2061         * tr1/4_metaprogramming/is_member_function_pointer
2062         * tr1/4_metaprogramming/is_member_function_pointer/requirements
2063         * tr1/4_metaprogramming/is_member_function_pointer/
2064         requirements/explicit_instantiations.cc
2065         * tr1/4_metaprogramming/is_member_function_pointer/
2066         requirements/typedefs.cc
2067         * tr1/4_metaprogramming/is_member_function_pointer/value.cc
2068         * tr1/4_metaprogramming/is_member_object_pointer
2069         * tr1/4_metaprogramming/is_member_object_pointer/requirements
2070         * tr1/4_metaprogramming/is_member_object_pointer/
2071         requirements/explicit_instantiations.cc
2072         * tr1/4_metaprogramming/is_member_object_pointer/
2073         requirements/typedefs.cc
2074         * tr1/4_metaprogramming/is_member_object_pointer/value.cc
2075         * tr1/4_metaprogramming/is_member_pointer
2076         * tr1/4_metaprogramming/is_member_pointer/requirements
2077         * tr1/4_metaprogramming/is_member_pointer/requirements/
2078         explicit_instantiations.cc
2079         * tr1/4_metaprogramming/is_member_pointer/requirements/typedefs.cc
2080         * tr1/4_metaprogramming/is_member_pointer/value.cc
2081         * tr1/4_metaprogramming/is_object
2082         * tr1/4_metaprogramming/is_object/requirements
2083         * tr1/4_metaprogramming/is_object/requirements/
2084         explicit_instantiations.cc
2085         * tr1/4_metaprogramming/is_object/requirements/typedefs.cc
2086         * tr1/4_metaprogramming/is_object/value.cc
2087         * tr1/4_metaprogramming/is_pod
2088         * tr1/4_metaprogramming/is_pod/requirements
2089         * tr1/4_metaprogramming/is_pod/requirements/explicit_instantiations.cc
2090         * tr1/4_metaprogramming/is_pod/requirements/typedefs.cc
2091         * tr1/4_metaprogramming/is_pod/value.cc
2092         * tr1/4_metaprogramming/is_pointer
2093         * tr1/4_metaprogramming/is_pointer/requirements
2094         * tr1/4_metaprogramming/is_pointer/requirements/
2095         explicit_instantiations.cc
2096         * tr1/4_metaprogramming/is_pointer/requirements/typedefs.cc
2097         * tr1/4_metaprogramming/is_pointer/value.cc
2098         * tr1/4_metaprogramming/is_polymorphic
2099         * tr1/4_metaprogramming/is_polymorphic/requirements
2100         * tr1/4_metaprogramming/is_polymorphic/requirements/
2101         explicit_instantiations.cc
2102         * tr1/4_metaprogramming/is_polymorphic/requirements/typedefs.cc
2103         * tr1/4_metaprogramming/is_polymorphic/value.cc
2104         * tr1/4_metaprogramming/is_reference
2105         * tr1/4_metaprogramming/is_reference/requirements
2106         * tr1/4_metaprogramming/is_reference/requirements/
2107         explicit_instantiations.cc
2108         * tr1/4_metaprogramming/is_reference/requirements/typedefs.cc
2109         * tr1/4_metaprogramming/is_reference/value.cc
2110         * tr1/4_metaprogramming/is_same
2111         * tr1/4_metaprogramming/is_same/requirements
2112         * tr1/4_metaprogramming/is_same/requirements/explicit_instantiations.cc
2113         * tr1/4_metaprogramming/is_same/requirements/typedefs.cc
2114         * tr1/4_metaprogramming/is_same/value.cc
2115         * tr1/4_metaprogramming/is_scalar
2116         * tr1/4_metaprogramming/is_scalar/requirements
2117         * tr1/4_metaprogramming/is_scalar/requirements/
2118         explicit_instantiations.cc
2119         * tr1/4_metaprogramming/is_scalar/requirements/typedefs.cc
2120         * tr1/4_metaprogramming/is_scalar/value.cc
2121         * tr1/4_metaprogramming/is_signed
2122         * tr1/4_metaprogramming/is_signed/requirements
2123         * tr1/4_metaprogramming/is_signed/requirements/
2124         explicit_instantiations.cc
2125         * tr1/4_metaprogramming/is_signed/requirements/typedefs.cc
2126         * tr1/4_metaprogramming/is_signed/value.cc
2127         * tr1/4_metaprogramming/is_union
2128         * tr1/4_metaprogramming/is_union/requirements
2129         * tr1/4_metaprogramming/is_union/requirements/
2130         explicit_instantiations.cc
2131         * tr1/4_metaprogramming/is_union/requirements/typedefs.cc
2132         * tr1/4_metaprogramming/is_union/value.cc
2133         * tr1/4_metaprogramming/is_unsigned
2134         * tr1/4_metaprogramming/is_unsigned/requirements
2135         * tr1/4_metaprogramming/is_unsigned/requirements/
2136         explicit_instantiations.cc
2137         * tr1/4_metaprogramming/is_unsigned/requirements/typedefs.cc
2138         * tr1/4_metaprogramming/is_unsigned/value.cc
2139         * tr1/4_metaprogramming/is_void
2140         * tr1/4_metaprogramming/is_void/requirements
2141         * tr1/4_metaprogramming/is_void/requirements/explicit_instantiations.cc
2142         * tr1/4_metaprogramming/is_void/requirements/typedefs.cc
2143         * tr1/4_metaprogramming/is_void/value.cc
2144         * tr1/4_metaprogramming/is_volatile
2145         * tr1/4_metaprogramming/is_volatile/requirements
2146         * tr1/4_metaprogramming/is_volatile/requirements/
2147         explicit_instantiations.cc
2148         * tr1/4_metaprogramming/is_volatile/requirements/typedefs.cc
2149         * tr1/4_metaprogramming/is_volatile/value.cc
2150         * tr1/4_metaprogramming/rank
2151         * tr1/4_metaprogramming/rank/requirements
2152         * tr1/4_metaprogramming/rank/requirements/explicit_instantiations.cc
2153         * tr1/4_metaprogramming/rank/requirements/typedefs.cc
2154         * tr1/4_metaprogramming/rank/value.cc
2155         * tr1/4_metaprogramming/remove_all_extents
2156         * tr1/4_metaprogramming/remove_all_extents/requirements
2157         * tr1/4_metaprogramming/remove_all_extents/requirements/
2158         explicit_instantiations.cc
2159         * tr1/4_metaprogramming/remove_all_extents/value.cc
2160         * tr1/4_metaprogramming/remove_const
2161         * tr1/4_metaprogramming/remove_const/requirements
2162         * tr1/4_metaprogramming/remove_const/requirements/
2163         explicit_instantiations.cc
2164         * tr1/4_metaprogramming/remove_const/value.cc
2165         * tr1/4_metaprogramming/remove_cv
2166         * tr1/4_metaprogramming/remove_cv/requirements
2167         * tr1/4_metaprogramming/remove_cv/requirements/
2168         explicit_instantiations.cc
2169         * tr1/4_metaprogramming/remove_cv/value.cc
2170         * tr1/4_metaprogramming/remove_extent
2171         * tr1/4_metaprogramming/remove_extent/requirements
2172         * tr1/4_metaprogramming/remove_extent/requirements/
2173         explicit_instantiations.cc
2174         * tr1/4_metaprogramming/remove_extent/value.cc
2175         * tr1/4_metaprogramming/remove_pointer
2176         * tr1/4_metaprogramming/remove_pointer/requirements
2177         * tr1/4_metaprogramming/remove_pointer/requirements/
2178         explicit_instantiations.cc
2179         * tr1/4_metaprogramming/remove_pointer/value.cc
2180         * tr1/4_metaprogramming/remove_reference
2181         * tr1/4_metaprogramming/remove_reference/requirements
2182         * tr1/4_metaprogramming/remove_reference/requirements/
2183         explicit_instantiations.cc
2184         * tr1/4_metaprogramming/remove_reference/value.cc
2185         * tr1/4_metaprogramming/remove_volatile
2186         * tr1/4_metaprogramming/remove_volatile/requirements
2187         * tr1/4_metaprogramming/remove_volatile/requirements/
2188         explicit_instantiations.cc
2189         * tr1/4_metaprogramming/remove_volatile/value.cc
2190
2191         Deleted in testsuite:   
2192         * tr1/4_metaprogramming/alignment_of/alignment_of.cc
2193         * tr1/4_metaprogramming/alignment_of/typedefs.cc
2194         * tr1/4_metaprogramming/array_modifications
2195         * tr1/4_metaprogramming/array_modifications/remove_all_extents.cc
2196         * tr1/4_metaprogramming/array_modifications/remove_extent.cc
2197         * tr1/4_metaprogramming/composite_type_traits
2198         * tr1/4_metaprogramming/composite_type_traits/is_arithmetic
2199         * tr1/4_metaprogramming/composite_type_traits/is_arithmetic/
2200         is_arithmetic.cc
2201         * tr1/4_metaprogramming/composite_type_traits/is_arithmetic/typedefs.cc
2202         * tr1/4_metaprogramming/composite_type_traits/is_compound
2203         * tr1/4_metaprogramming/composite_type_traits/is_compound/
2204         is_compound.cc
2205         * tr1/4_metaprogramming/composite_type_traits/is_compound/typedefs.cc
2206         * tr1/4_metaprogramming/composite_type_traits/is_fundamental
2207         * tr1/4_metaprogramming/composite_type_traits/is_fundamental/
2208         is_fundamental.cc
2209         * tr1/4_metaprogramming/composite_type_traits/is_fundamental/
2210         typedefs.cc
2211         * tr1/4_metaprogramming/composite_type_traits/is_member_pointer
2212         * tr1/4_metaprogramming/composite_type_traits/is_member_pointer/
2213         is_member_pointer.cc
2214         * tr1/4_metaprogramming/composite_type_traits/is_member_pointer/
2215         typedefs.cc
2216         * tr1/4_metaprogramming/composite_type_traits/is_object
2217         * tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc
2218         * tr1/4_metaprogramming/composite_type_traits/is_object/is_object.cc
2219         * tr1/4_metaprogramming/composite_type_traits/is_object/typedefs.cc
2220         * tr1/4_metaprogramming/composite_type_traits/is_scalar
2221         * tr1/4_metaprogramming/composite_type_traits/is_scalar/is_scalar.cc
2222         * tr1/4_metaprogramming/composite_type_traits/is_scalar/typedefs.cc
2223         * tr1/4_metaprogramming/const_volatile_modifications
2224         * tr1/4_metaprogramming/const_volatile_modifications/add_const.cc
2225         * tr1/4_metaprogramming/const_volatile_modifications/add_cv.cc
2226         * tr1/4_metaprogramming/const_volatile_modifications/add_volatile.cc
2227         * tr1/4_metaprogramming/const_volatile_modifications/remove_const.cc
2228         * tr1/4_metaprogramming/const_volatile_modifications/remove_cv.cc
2229         * tr1/4_metaprogramming/const_volatile_modifications/remove_volatile.cc
2230         * tr1/4_metaprogramming/extent/extent.cc
2231         * tr1/4_metaprogramming/extent/typedefs.cc
2232         * tr1/4_metaprogramming/has_nothrow_assign/has_nothrow_assign.cc
2233         * tr1/4_metaprogramming/has_nothrow_assign/typedefs.cc
2234         * tr1/4_metaprogramming/has_nothrow_constructor/
2235         has_nothrow_constructor.cc
2236         * tr1/4_metaprogramming/has_nothrow_constructor/typedefs.cc
2237         * tr1/4_metaprogramming/has_nothrow_copy/has_nothrow_copy.cc
2238         * tr1/4_metaprogramming/has_nothrow_copy/typedefs.cc
2239         * tr1/4_metaprogramming/has_trivial_assign/has_trivial_assign.cc
2240         * tr1/4_metaprogramming/has_trivial_assign/typedefs.cc
2241         * tr1/4_metaprogramming/has_trivial_constructor/
2242         has_trivial_constructor.cc
2243         * tr1/4_metaprogramming/has_trivial_constructor/typedefs.cc
2244         * tr1/4_metaprogramming/has_trivial_copy/has_trivial_copy.cc
2245         * tr1/4_metaprogramming/has_trivial_copy/typedefs.cc
2246         * tr1/4_metaprogramming/has_trivial_destructor/
2247         has_trivial_destructor.cc
2248         * tr1/4_metaprogramming/has_trivial_destructor/typedefs.cc
2249         * tr1/4_metaprogramming/has_virtual_destructor/
2250         has_virtual_destructor.cc
2251         * tr1/4_metaprogramming/has_virtual_destructor/typedefs.cc
2252         * tr1/4_metaprogramming/helper_classes
2253         * tr1/4_metaprogramming/helper_classes/static_definition.cc
2254         * tr1/4_metaprogramming/helper_classes/true_false_type.cc
2255         * tr1/4_metaprogramming/helper_classes/true_false_type_typedefs.cc
2256         * tr1/4_metaprogramming/helper_classes/typedefs.cc
2257         * tr1/4_metaprogramming/integral_constant/true_false_type.cc
2258         * tr1/4_metaprogramming/integral_constant/typedefs.cc
2259         * tr1/4_metaprogramming/is_abstract/is_abstract.cc
2260         * tr1/4_metaprogramming/is_abstract/typedefs.cc
2261         * tr1/4_metaprogramming/is_arithmetic/is_arithmetic.cc
2262         * tr1/4_metaprogramming/is_arithmetic/typedefs.cc
2263         * tr1/4_metaprogramming/is_array/is_array.cc
2264         * tr1/4_metaprogramming/is_array/typedefs.cc
2265         * tr1/4_metaprogramming/is_base_of/is_base_of.cc
2266         * tr1/4_metaprogramming/is_base_of/typedefs.cc
2267         * tr1/4_metaprogramming/is_class/is_class.cc
2268         * tr1/4_metaprogramming/is_class/typedefs.cc
2269         * tr1/4_metaprogramming/is_compound/is_compound.cc
2270         * tr1/4_metaprogramming/is_compound/typedefs.cc
2271         * tr1/4_metaprogramming/is_const/is_const.cc
2272         * tr1/4_metaprogramming/is_const/typedefs.cc
2273         * tr1/4_metaprogramming/is_convertible/is_convertible.cc
2274         * tr1/4_metaprogramming/is_convertible/typedefs.cc
2275         * tr1/4_metaprogramming/is_empty/is_empty.cc
2276         * tr1/4_metaprogramming/is_empty/typedefs.cc
2277         * tr1/4_metaprogramming/is_enum/is_enum.cc
2278         * tr1/4_metaprogramming/is_enum/typedefs.cc
2279         * tr1/4_metaprogramming/is_floating_point/is_floating_point.cc
2280         * tr1/4_metaprogramming/is_floating_point/typedefs.cc
2281         * tr1/4_metaprogramming/is_function/is_function.cc
2282         * tr1/4_metaprogramming/is_function/typedefs.cc
2283         * tr1/4_metaprogramming/is_fundamental/is_fundamental.cc
2284         * tr1/4_metaprogramming/is_fundamental/typedefs.cc
2285         * tr1/4_metaprogramming/is_integral/is_integral.cc
2286         * tr1/4_metaprogramming/is_integral/typedefs.cc
2287         * tr1/4_metaprogramming/is_member_function_pointer/
2288         is_member_function_pointer.cc
2289         * tr1/4_metaprogramming/is_member_function_pointer/typedefs.cc
2290         * tr1/4_metaprogramming/is_member_object_pointer/
2291         is_member_object_pointer.cc
2292         * tr1/4_metaprogramming/is_member_object_pointer/typedefs.cc
2293         * tr1/4_metaprogramming/is_member_pointer/is_member_pointer.cc
2294         * tr1/4_metaprogramming/is_member_pointer/typedefs.cc
2295         * tr1/4_metaprogramming/is_object/is_object.cc
2296         * tr1/4_metaprogramming/is_object/typedefs.cc
2297         * tr1/4_metaprogramming/is_pod/is_pod.cc
2298         * tr1/4_metaprogramming/is_pod/typedefs.cc
2299         * tr1/4_metaprogramming/is_pointer/is_pointer.cc
2300         * tr1/4_metaprogramming/is_pointer/typedefs.cc
2301         * tr1/4_metaprogramming/is_polymorphic/is_polymorphic.cc
2302         * tr1/4_metaprogramming/is_polymorphic/typedefs.cc
2303         * tr1/4_metaprogramming/is_reference/is_reference.cc
2304         * tr1/4_metaprogramming/is_reference/typedefs.cc
2305         * tr1/4_metaprogramming/is_same/is_same.cc
2306         * tr1/4_metaprogramming/is_same/typedefs.cc
2307         * tr1/4_metaprogramming/is_scalar/is_scalar.cc
2308         * tr1/4_metaprogramming/is_scalar/typedefs.cc
2309         * tr1/4_metaprogramming/is_signed/is_signed.cc
2310         * tr1/4_metaprogramming/is_signed/typedefs.cc
2311         * tr1/4_metaprogramming/is_union/is_union.cc
2312         * tr1/4_metaprogramming/is_union/typedefs.cc
2313         * tr1/4_metaprogramming/is_unsigned/is_unsigned.cc
2314         * tr1/4_metaprogramming/is_unsigned/typedefs.cc
2315         * tr1/4_metaprogramming/is_void/is_void.cc
2316         * tr1/4_metaprogramming/is_void/typedefs.cc
2317         * tr1/4_metaprogramming/is_volatile/is_volatile.cc
2318         * tr1/4_metaprogramming/is_volatile/typedefs.cc
2319         * tr1/4_metaprogramming/other_transformations
2320         * tr1/4_metaprogramming/other_transformations/aligned_storage
2321         * tr1/4_metaprogramming/other_transformations/aligned_storage/
2322         aligned_storage.cc
2323         * tr1/4_metaprogramming/other_transformations/aligned_storage/
2324         typedefs.cc
2325         * tr1/4_metaprogramming/pointer_modifications
2326         * tr1/4_metaprogramming/pointer_modifications/add_pointer.cc
2327         * tr1/4_metaprogramming/pointer_modifications/remove_pointer.cc
2328         * tr1/4_metaprogramming/primary_type_categories
2329         * tr1/4_metaprogramming/primary_type_categories/is_array
2330         * tr1/4_metaprogramming/primary_type_categories/is_array/is_array.cc
2331         * tr1/4_metaprogramming/primary_type_categories/is_array/typedefs.cc
2332         * tr1/4_metaprogramming/primary_type_categories/is_class
2333         * tr1/4_metaprogramming/primary_type_categories/is_class/is_class.cc
2334         * tr1/4_metaprogramming/primary_type_categories/is_class/typedefs.cc
2335         * tr1/4_metaprogramming/primary_type_categories/is_enum
2336         * tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc
2337         * tr1/4_metaprogramming/primary_type_categories/is_enum/is_enum.cc
2338         * tr1/4_metaprogramming/primary_type_categories/is_enum/typedefs.cc
2339         * tr1/4_metaprogramming/primary_type_categories/is_floating_point
2340         * tr1/4_metaprogramming/primary_type_categories/is_floating_point/
2341         is_floating_point.cc
2342         * tr1/4_metaprogramming/primary_type_categories/is_floating_point/
2343         typedefs.cc
2344         * tr1/4_metaprogramming/primary_type_categories/is_function
2345         * tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc
2346         * tr1/4_metaprogramming/primary_type_categories/is_function/
2347         is_function.cc
2348         * tr1/4_metaprogramming/primary_type_categories/is_function/typedefs.cc
2349         * tr1/4_metaprogramming/primary_type_categories/is_integral
2350         * tr1/4_metaprogramming/primary_type_categories/is_integral/
2351         is_integral.cc
2352         * tr1/4_metaprogramming/primary_type_categories/is_integral/typedefs.cc
2353         * tr1/4_metaprogramming/primary_type_categories/
2354         is_member_function_pointer
2355         * tr1/4_metaprogramming/primary_type_categories/
2356         is_member_function_pointer/is_member_function_pointer.cc
2357         * tr1/4_metaprogramming/primary_type_categories/
2358         is_member_function_pointer/typedefs.cc
2359         * tr1/4_metaprogramming/primary_type_categories/
2360         is_member_object_pointer
2361         * tr1/4_metaprogramming/primary_type_categories/
2362         is_member_object_pointer/is_member_object_pointer.cc
2363         * tr1/4_metaprogramming/primary_type_categories/
2364         is_member_object_pointer/typedefs.cc
2365         * tr1/4_metaprogramming/primary_type_categories/is_pointer
2366         * tr1/4_metaprogramming/primary_type_categories/is_pointer/
2367         is_pointer.cc
2368         * tr1/4_metaprogramming/primary_type_categories/is_pointer/typedefs.cc
2369         * tr1/4_metaprogramming/primary_type_categories/is_reference
2370         * tr1/4_metaprogramming/primary_type_categories/is_reference/
2371         is_reference.cc
2372         * tr1/4_metaprogramming/primary_type_categories/is_reference/
2373         typedefs.cc
2374         * tr1/4_metaprogramming/primary_type_categories/is_union
2375         * tr1/4_metaprogramming/primary_type_categories/is_union/is_union.cc
2376         * tr1/4_metaprogramming/primary_type_categories/is_union/typedefs.cc
2377         * tr1/4_metaprogramming/primary_type_categories/is_void
2378         * tr1/4_metaprogramming/primary_type_categories/is_void/is_void.cc
2379         * tr1/4_metaprogramming/primary_type_categories/is_void/typedefs.cc
2380         * tr1/4_metaprogramming/rank/rank.cc
2381         * tr1/4_metaprogramming/rank/typedefs.cc
2382         * tr1/4_metaprogramming/reference_modifications/add_reference.cc
2383         * tr1/4_metaprogramming/reference_modifications/remove_reference.cc
2384         * tr1/4_metaprogramming/relationships_between_types
2385         * tr1/4_metaprogramming/relationships_between_types/is_base_of
2386         * tr1/4_metaprogramming/relationships_between_types/is_base_of/
2387         is_base_of.cc
2388         * tr1/4_metaprogramming/relationships_between_types/is_base_of/
2389         typedefs.cc
2390         * tr1/4_metaprogramming/relationships_between_types/is_convertible
2391         * tr1/4_metaprogramming/relationships_between_types/is_convertible/
2392         is_convertible.cc
2393         * tr1/4_metaprogramming/relationships_between_types/is_convertible/
2394         typedefs.cc
2395         * tr1/4_metaprogramming/relationships_between_types/is_same
2396         * tr1/4_metaprogramming/relationships_between_types/is_same/is_same.cc
2397         * tr1/4_metaprogramming/relationships_between_types/is_same/typedefs.cc
2398         * tr1/4_metaprogramming/type_properties
2399         * tr1/4_metaprogramming/type_properties/alignment_of
2400         * tr1/4_metaprogramming/type_properties/alignment_of/alignment_of.cc
2401         * tr1/4_metaprogramming/type_properties/alignment_of/typedefs.cc
2402         * tr1/4_metaprogramming/type_properties/extent
2403         * tr1/4_metaprogramming/type_properties/extent/extent.cc
2404         * tr1/4_metaprogramming/type_properties/extent/typedefs.cc
2405         * tr1/4_metaprogramming/type_properties/has_nothrow_assign
2406         * tr1/4_metaprogramming/type_properties/has_nothrow_assign/
2407         has_nothrow_assign.cc
2408         * tr1/4_metaprogramming/type_properties/has_nothrow_assign/typedefs.cc
2409         * tr1/4_metaprogramming/type_properties/has_nothrow_constructor
2410         * tr1/4_metaprogramming/type_properties/has_nothrow_constructor/
2411         has_nothrow_constructor.cc
2412         * tr1/4_metaprogramming/type_properties/has_nothrow_constructor/
2413         typedefs.cc
2414         * tr1/4_metaprogramming/type_properties/has_nothrow_copy
2415         * tr1/4_metaprogramming/type_properties/has_nothrow_copy/
2416         has_nothrow_copy.cc
2417         * tr1/4_metaprogramming/type_properties/has_nothrow_copy/typedefs.cc
2418         * tr1/4_metaprogramming/type_properties/has_trivial_assign
2419         * tr1/4_metaprogramming/type_properties/has_trivial_assign/
2420         has_trivial_assign.cc
2421         * tr1/4_metaprogramming/type_properties/has_trivial_assign/typedefs.cc
2422         * tr1/4_metaprogramming/type_properties/has_trivial_constructor
2423         * tr1/4_metaprogramming/type_properties/has_trivial_constructor/
2424         has_trivial_constructor.cc
2425         * tr1/4_metaprogramming/type_properties/has_trivial_constructor/
2426         typedefs.cc
2427         * tr1/4_metaprogramming/type_properties/has_trivial_copy
2428         * tr1/4_metaprogramming/type_properties/has_trivial_copy/
2429         has_trivial_copy.cc
2430         * tr1/4_metaprogramming/type_properties/has_trivial_copy/typedefs.cc
2431         * tr1/4_metaprogramming/type_properties/has_trivial_destructor
2432         * tr1/4_metaprogramming/type_properties/has_trivial_destructor/
2433         has_trivial_destructor.cc
2434         * tr1/4_metaprogramming/type_properties/has_trivial_destructor/
2435         typedefs.cc
2436         * tr1/4_metaprogramming/type_properties/has_virtual_destructor
2437         * tr1/4_metaprogramming/type_properties/has_virtual_destructor/
2438         has_virtual_destructor.cc
2439         * tr1/4_metaprogramming/type_properties/has_virtual_destructor/
2440         typedefs.cc
2441         * tr1/4_metaprogramming/type_properties/is_abstract
2442         * tr1/4_metaprogramming/type_properties/is_abstract/is_abstract.cc
2443         * tr1/4_metaprogramming/type_properties/is_abstract/typedefs.cc
2444         * tr1/4_metaprogramming/type_properties/is_const
2445         * tr1/4_metaprogramming/type_properties/is_const/is_const.cc
2446         * tr1/4_metaprogramming/type_properties/is_const/typedefs.cc
2447         * tr1/4_metaprogramming/type_properties/is_empty
2448         * tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc
2449         * tr1/4_metaprogramming/type_properties/is_empty/typedefs.cc
2450         * tr1/4_metaprogramming/type_properties/is_pod
2451         * tr1/4_metaprogramming/type_properties/is_pod/is_pod.cc
2452         * tr1/4_metaprogramming/type_properties/is_pod/typedefs.cc
2453         * tr1/4_metaprogramming/type_properties/is_polymorphic
2454         * tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc
2455         * tr1/4_metaprogramming/type_properties/is_polymorphic/
2456         is_polymorphic.cc
2457         * tr1/4_metaprogramming/type_properties/is_polymorphic/typedefs.cc
2458         * tr1/4_metaprogramming/type_properties/is_signed
2459         * tr1/4_metaprogramming/type_properties/is_signed/is_signed.cc
2460         * tr1/4_metaprogramming/type_properties/is_signed/typedefs.cc
2461         * tr1/4_metaprogramming/type_properties/is_unsigned
2462         * tr1/4_metaprogramming/type_properties/is_unsigned/is_unsigned.cc
2463         * tr1/4_metaprogramming/type_properties/is_unsigned/typedefs.cc
2464         * tr1/4_metaprogramming/type_properties/is_volatile
2465         * tr1/4_metaprogramming/type_properties/is_volatile/is_volatile.cc
2466         * tr1/4_metaprogramming/type_properties/is_volatile/typedefs.cc
2467         * tr1/4_metaprogramming/type_properties/rank
2468         * tr1/4_metaprogramming/type_properties/rank/rank.cc
2469         * tr1/4_metaprogramming/type_properties/rank/typedefs.cc
2470
2471 2007-04-30  Hans-Peter Nilsson  <hp@axis.com>
2472
2473         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Correct
2474         regexp to filter out -nostdinc++.
2475
2476 2007-04-30  Paolo Carlini  <pcarlini@suse.de>
2477
2478         PR libstdc++/30449 (equal)
2479         * include/bits/stl_algobase.h (struct __niter_base): Add.
2480         (copy(_II, _II, _OI), copy_backward(_BI1, _BI1, _BI2),
2481         fill(_ForwardIterator, _ForwardIterator, const _Tp&),
2482         fill_n(_OI, _Size, const _Tp&), equal(_II1, _II1, _II2)):
2483         Use it.
2484         (struct __copy_normal, __copy_backward_normal,
2485         struct __fill_normal, struct __fill_n_normal): Remove.
2486         (struct __equal, struct __equal_aux): Add.
2487         * include/bits/stl_iterator.h: Add _Iterator_type typedef.
2488
2489         * include/bits/stl_algobase.h (__fill_aux(wchar_t*,
2490         wchar_t*, wchar_t), __fill_n_aux(wchar_t*, _Size, wchar_t)):
2491         Remove.
2492
2493         * testsuite/23_containers/requirements/sequences/dr438/vector/
2494         constructor_1_neg.cc: Adjust dg-error line number.
2495         * testsuite/23_containers/requirements/sequences/dr438/vector/
2496         constructor_2_neg.cc: Likewise.
2497
2498 2007-04-30  Paolo Carlini  <pcarlini@suse.de>
2499
2500         * include/tr1/type_traits (is_pod): Use __is_pod.
2501         * testsuite/tr1/4_metaprogramming/type_properties/
2502         has_trivial_destructor/has_trivial_destructor.cc: Adjust.
2503         * testsuite/tr1/4_metaprogramming/type_properties/
2504         has_nothrow_constructor/has_nothrow_constructor.cc: Likewise.
2505         * testsuite/tr1/4_metaprogramming/type_properties/
2506         has_trivial_constructor/has_trivial_constructor.cc: Likewise.
2507         * testsuite/tr1/4_metaprogramming/type_properties/
2508         is_pod/is_pod.cc: Likewise.
2509
2510 2007-04-29  Paolo Carlini  <pcarlini@suse.de>
2511
2512         * include/bits/localefwd.h: Remove redundant inline qualifiers.
2513         (__check_facet): Move...
2514         * include/bits/basic_ios.h: ... here.
2515         (widen(char), narrow(char_type, char)): Define inline.
2516         * include/bits/basic_ios.tcc (widen(char), narrow(char_type, char)):
2517         Remove.
2518
2519 2007-04-27  Paolo Carlini  <pcarlini@suse.de>
2520
2521         DR 438, [DR].
2522         * include/bits/basic_string.h (_S_construct_aux(_InIterator,
2523         _InIterator, const _Alloc&, __true_type)): Do not cast the
2524         second argument.
2525         * include/ext/rc_string_base.h (_S_construct_aux(_Integer,
2526         _Integer, const _Alloc&, std::__true_type)): Likewise.
2527         * include/ext/sso_string_base.h (_M_construct_aux(_InIterator,
2528         _InIterator, std::__true_type)): Likewise.
2529         * include/bits/stl_deque.h (_M_initialize_dispatch(_Integer,
2530         _Integer, __true_type)): Cast the first argument.
2531         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do
2532         not cast the arguments.
2533         (_M_insert_dispatch(iterator, _Integer, _Integer, __true_type)):
2534         Likewise.
2535         * include/bits/stl_list.h (_M_initialize_dispatch(_Integer,
2536         _Integer, __true_type)): Likewise.
2537         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do
2538         not cast both arguments.
2539         * include/bits/stl_bvector.h (_M_initialize_dispatch(_Integer,
2540         _Integer, __true_type)): Cast the first argument.
2541         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do not
2542         cast the arguments.
2543         * include/bits/stl_vector.h (_M_initialize_dispatch(_Integer,
2544         _Integer, __true_type)): Cast the first argument.
2545         (_M_assign_dispatch(_Integer, _Integer, __true_type)): Do not
2546         cast the arguments.
2547         (_M_insert_dispatch(iterator, _Integer, _Integer, __true_type)):
2548         Likewise.
2549         * testsuite/21_strings/basic_string/requirements/dr438/
2550         constructor.cc: New.
2551         * testsuite/ext/vstring/requirements/dr438/constructor.cc: Likewise.
2552         * testsuite/23_containers/requirements/sequences/dr438/deque/
2553         assign_neg.cc: Likewise.
2554         * testsuite/23_containers/requirements/sequences/dr438/deque/
2555         constructor.cc: Likewise.
2556         * testsuite/23_containers/requirements/sequences/dr438/deque/
2557         constructor_1_neg.cc: Likewise.
2558         * testsuite/23_containers/requirements/sequences/dr438/deque/
2559         constructor_1_neg.cc: Likewise.
2560         * testsuite/23_containers/requirements/sequences/dr438/deque/
2561         insert_neg.cc: Likewise.
2562         * testsuite/23_containers/requirements/sequences/dr438/list/
2563         assign_neg.cc: Likewise.
2564         * testsuite/23_containers/requirements/sequences/dr438/list/
2565         constructor.cc: Likewise.
2566         * testsuite/23_containers/requirements/sequences/dr438/list/
2567         constructor_1_neg.cc: Likewise.
2568         * testsuite/23_containers/requirements/sequences/dr438/list/
2569         constructor_1_neg.cc: Likewise.
2570         * testsuite/23_containers/requirements/sequences/dr438/list/
2571         insert_neg.cc: Likewise.
2572         * testsuite/23_containers/requirements/sequences/dr438/vector/
2573         assign_neg.cc: Likewise.
2574         * testsuite/23_containers/requirements/sequences/dr438/vector/
2575         constructor.cc: Likewise.
2576         * testsuite/23_containers/requirements/sequences/dr438/vector/
2577         constructor_1_neg.cc: Likewise.
2578         * testsuite/23_containers/requirements/sequences/dr438/vector/
2579         constructor_1_neg.cc: Likewise.
2580         * testsuite/23_containers/requirements/sequences/dr438/vector/
2581         insert_neg.cc: Likewise.
2582         * testsuite/23_containers/requirements/sequences/dr438/vector/
2583         bool/constructor.cc: Likewise.
2584         * docs/html/ext/howto.html: Add an entry for DR 438.
2585
2586 2007-04-25  Paolo Carlini  <pcarlini@suse.de>
2587
2588         * include/bits/locale_classes.h: Remove redundant inline specifiers.
2589         * include/bits/ios_base.h: Likewise.
2590         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error line
2591         numbers.
2592         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2593
2594 2007-04-24  Paolo Carlini  <pcarlini@suse.de>
2595
2596         * include/bits/locale_facets.h (class collate, class collate_byname):
2597         Move...
2598         * include/bits/locale_classes.h: ... here.
2599         * include/bits/locale_facets.tcc (locale::combine, locale::operator(),
2600         has_facet, use_facet, collate::_M_compare, collate::_M_transform,
2601         collate::do_compare, collate::do_transform, collate::do_hash): Move...
2602         * include/bits/locale_classes.tcc: ... here, new.
2603         * include/Makefile.am: Add.
2604         * testsuite/util/testsuite_abi.h: Include <locale>.
2605         * include/std/locale: Tweak.
2606         * include/std/istream: Likewise.
2607         * include/std/ostream: Likewise.
2608         * include/bits/codecvt.h: Likewise.
2609         * include/Makefile.in: Regenerate.
2610
2611         * include/bits/codecvt.h: Adjust extern template declarations.
2612         * include/bits/ostream_insert.h: Likewise.
2613         * include/bits/ostream.tcc: Likewise.
2614
2615         * include/bits/locale_facets.h: Do not include <bits/codecvt.h>.
2616         * include/std/fstream: Do it here.
2617         * include/bits/locale_facets_nonio.h: Likewise.
2618
2619 2007-04-23  Paolo Carlini  <pcarlini@suse.de>
2620
2621         * include/bits/locale_facets.h (class time_base,
2622         struct __timepunct_cache, class __timepunct, class time_get,
2623         class time_get_byname, class time_put, class time_put_byname,
2624         class money_base, struct __moneypunct_cache, class moneypunct,
2625         class moneypunct_byname, class money_get, class money_put,
2626         struct messages_base, class messages, class messages_byname): Move...
2627         * include/bits/locale_facets_nonio.h: ... here.
2628         * include/bits/locale_facets.tcc
2629         (struct __use_cache<__moneypunct_cache<> >,
2630         __moneypunct_cache<>::_M_cache, money_get<>::_M_extract,
2631         money_get<>::__do_get, money_get<>::do_get, money_put<>::_M_insert,
2632         money_put<>::__do_put, money_put<>::do_put, time_get<>::do_date_order,
2633         time_get<>::_M_extract_via_format, time_get<>::_M_extract_num,
2634         time_get<>::_M_extract_name, time_get<>::do_get_time,
2635         time_get<>::do_get_date, time_get<>::do_get_weekday,
2636         time_get<>::do_get_monthname, time_get<>::do_get_year, time_put<>::put,
2637         time_put<>::do_put): Move...
2638         * include/bits/locale_facets_nonio.tcc: ... here.
2639         * include/Makefile.am: Add.
2640         * include/std/locale: Adjust includes.
2641         * include/std/fstream: Likewise.
2642         * include/std/istream: Likewise.
2643         * include/std/ostream: Likewise.
2644         * include/Makefile.in: Regenerate.
2645
2646 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
2647
2648         * scripts/testsuite_flags.in: Add --build-cc option.
2649         * testsuite/lib/libstdc++.exp (libstdc++_init): Set cc.  Fix typo
2650         in previous change.
2651         (v3_target_compile_as_c): Use cc.
2652
2653 2007-04-22  Mark Mitchell  <mark@codesourcery.com>
2654
2655         * testsuite/lib/libstdc++.exp (libstdc++_init): Use the same flags
2656         for remote host testing we use for local host testing.  Copy all
2657         testsuite headers to the remote host
2658         (v3_target_compile_as_c): Use remote_exec, not just exec.
2659
2660 2007-04-22  Paolo Carlini  <pcarlini@suse.de>
2661
2662         * include/tr1/functional: Formatting fixes.
2663
2664 2007-04-22  Paolo Carlini  <pcarlini@suse.de>
2665
2666         * include/ext/concurrence.h: Do not include <cstdlib>, use
2667         __builtin_abort.
2668         * include/debug/debug.h: Likewise.
2669         * include/tr1/memory: Likewise.
2670         * include/tr1/boost_shared_ptr.h: Likewise.
2671         * include/tr1/functional: Likewise.
2672
2673 2007-04-22  Paolo Carlini  <pcarlini@suse.de>
2674
2675         * include/bits/locale_facets.tcc: Do not include <typeinfo>.
2676         * testsuite/27_io/basic_ios/imbue/14072.cc: Do it here.
2677         * testsuite/27_io/basic_ios/cons/char/3.cc: Likewise.
2678         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
2679         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
2680         * testsuite/21_strings/basic_string/inserters_extractors/
2681         pod/10081-in.cc: Likewise.
2682         * testsuite/21_strings/basic_string/inserters_extractors/
2683         pod/10081-out.cc: Likewise.
2684         * testsuite/22_locale/locale/cons/2.cc: Likewise.
2685         * testsuite/22_locale/locale/cons/unicode.cc: Likewise.
2686         * testsuite/22_locale/numpunct/members/pod/2.cc: Likewise.
2687         * testsuite/22_locale/global_templates/1.cc: Likewise.
2688
2689 2007-04-19  Joseph Myers  <joseph@codesourcery.com>
2690
2691         * configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu*
2692         for long double compatibility.
2693         * configure: Regenerate.
2694         * src/complex_io.cc, src/istream-inst.cc, src/ostream-inst.cc:
2695         Condition some _GLIBCXX_LDBL_COMPAT calls on _GLIBCXX_USE_WCHAR_T.
2696
2697 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
2698
2699         * configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
2700         * configure: Regenerate.
2701
2702 2007-04-14  Paolo Carlini  <pcarlini@suse.de>
2703
2704         * config/locale/generic/c_locale.cc: Include <limits>.
2705
2706 2007-04-13  Paolo Carlini  <pcarlini@suse.de>
2707
2708         PR libstdc++/31556
2709         * include/bits/stl_algobase.h (equal(_InputIterator1, _InputIterator1,
2710         _InputIterator2, _BinaryPredicate), mismatch(_InputIterator1,
2711         _InputIterator1, _InputIterator2, _BinaryPredicate)): Convert
2712         predicate return to bool.
2713         * include/bits/stl_algo.h (__find_if(_InputIterator, _InputIterator,
2714         _Predicate, input_iterator_tag), search(_ForwardIterator1,
2715         _ForwardIterator1, _ForwardIterator2, _ForwardIterator2,
2716         _BinaryPredicate), __search_n(_ForwardIterator, _ForwardIterator,
2717         _Integer, const _Tp&, _BinaryPredicate, std::forward_iterator_tag),
2718         __search_n(_RandomAccessIter, _RandomAccessIter, _Integer, const _Tp&,
2719         _BinaryPredicate, std::random_access_iterator_tag),
2720         search_n(_ForwardIterator, _ForwardIterator, _Integer, const _Tp&,
2721         _BinaryPredicate), remove_copy_if(_InputIterator, _InputIterator,
2722         _OutputIterator, _Predicate), __unique_copy(_ForwardIterator,
2723         _ForwardIterator, _OutputIterator, _BinaryPredicate,
2724         forward_iterator_tag, output_iterator_tag),
2725         __unique_copy(_InputIterator, _InputIterator, _OutputIterator,
2726         _BinaryPredicate, input_iterator_tag, output_iterator_tag),
2727         __unique_copy(_InputIterator, _InputIterator, _OutputIterator,
2728         _BinaryPredicate, input_iterator_tag, output_iterator_tag),
2729         __unique_copy(_InputIterator, _InputIterator, _ForwardIterator,
2730         _BinaryPredicate, input_iterator_tag, forward_iterator_tag),
2731         unique(_ForwardIterator, _ForwardIterator, _BinaryPredicate),
2732         __partition(_BidirectionalIterator, _BidirectionalIterator, _Predicate,
2733         bidirectional_iterator_tag), binary_search(_ForwardIterator,
2734         _ForwardIterator, const _Tp&, _Compare),
2735         next_permutation(_BidirectionalIterator, _BidirectionalIterator,
2736         _Compare), prev_permutation(_BidirectionalIterator,
2737         _BidirectionalIterator, _Compare)): Likewise.
2738
2739 2007-04-13  Paolo Carlini  <pcarlini@suse.de>
2740
2741         PR libstdc++/31554
2742         * include/bits/stl_algo.h (stable_partition): Convert __buf.size()
2743         to _DistanceType.
2744
2745 2007-04-13  Paolo Carlini  <pcarlini@suse.de>
2746
2747         * include/ext/numeric_traits.h: Do not include <limits>.
2748         (__numeric_traits_integer::__is_signed, __digits): Add.
2749         (__numeric_traits_floating::__digits10, __max_exponent10): Add.
2750         * src/istream.cc (ignore<char>(streamsize, int_type), operator>>
2751         (basic_istream<char>&, char*), ignore<wchar_t>(streamsize,
2752         int_type)): Use the latter.
2753         * src/compatibility.cc (ignore<char>(streamsize),
2754         ignore<wchar_t>(streamsize)): Likewise.
2755         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
2756         Likewise.
2757         * include/bits/stl_memory.h (__get_temporary_buffer): Likewise.
2758         * include/bits/stl_algobase.h (lexicographical_compare(const char*,
2759         const char*, const char*, const char*)): Likewise.
2760         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter,
2761         _InIter, ios_base&, ios_base::iostate&, _ValueT&),
2762         num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT),
2763         num_put<>::_M_insert_float(_OutIter, ios_base&, _CharT, char,
2764         _ValueT), collate<>::do_hash(const _CharT*, const _CharT*)): Likewise.
2765         * include/bits/basic_string.h (basic_string<>::_S_compare): Likewise.
2766         * include/bits/istream.tcc (operator>>(short&), operator>>(int&),
2767         ignore(streamsize), ignore(streamsize, int_type), operator>>
2768         (basic_istream<>&, _CharT*)): Likewise.
2769         * include/bits/stl_bvector.h (vector<bool>::max_size): Likewise.
2770         * include/tr1/functional_hash.h (struct hash<long double>): Likewise.
2771         * include/std/istream: Do not include <limits>.
2772         * include/tr1/cmath: Include <limits>.
2773         * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise.
2774         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
2775         Likewise.
2776         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
2777         Likewise.
2778         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
2779         Likewise.
2780         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
2781         Likewise.
2782         * testsuite/27_io/ios_base/storage/2.cc: Likewise.
2783
2784         * include/tr1/hashtable: Do not include the whole <iterator>.
2785
2786 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
2787
2788         * config/locale/gnu/c_locale.h: Do not include <langinfo.h>
2789         and <iconv.h>.
2790         * config/locale/gnu/c++locale_internal.h: Include <langinfo.h>.
2791
2792 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
2793
2794         * include/std/istream (class basic_istream<>): Remove unneded friend
2795         declarations.
2796
2797 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
2798
2799         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Initialize v.
2800
2801 2007-04-11  Paolo Carlini  <pcarlini@suse.de>
2802
2803         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
2804         ios_base&, ios_base::iostate&, void*&)): Fix for sizeof(void*)
2805         > sizeof(unsigned long).
2806
2807         * testsuite/22_locale/num_get/get/char/1.cc: Fix void* test.
2808         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2809
2810         * testsuite/22_locale/num_put/put/char/1.cc: Tweak comment.
2811         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2812
2813 2007-04-11  Zack Weinberg  <zackw@panix.com>
2814
2815         * include/std/iosfwd: Do not include <bits/c++locale.h> and
2816         <bits/functexcept.h>.
2817
2818 2007-04-10  Benjamin Kosnik  <bkoz@redhat.com>
2819
2820         * include/ext/pb_ds/detail/resize_policy/
2821         cc_hash_max_collision_check_resize_trigger_imp.hpp: Qualify
2822         namespace std members.  
2823         * include/ext/pb_ds/detail/list_update_policy/
2824         counter_lu_metadata.hpp: Same.
2825         * include/ext/throw_allocator.h: Same.
2826         * include/ext/pod_char_traits.h: Same.
2827         * include/ext/malloc_allocator.h: Same.
2828         * libsupc++/del_op.cc: Same, simplify.
2829
2830         * include/bits/c++config: Adjust macro name.
2831         
2832         * include/c_global/cstring: Alphabetize.
2833         * include/c_global/cwctype: Same.
2834         
2835 2007-04-10  Paolo Carlini  <pcarlini@suse.de>
2836
2837         * include/tr1/cmath: Include <bits/stl_algobase.h> instead of
2838         the whole <algorithm>.
2839
2840 2007-04-10  Paolo Carlini  <pcarlini@suse.de>
2841
2842         * include/tr1/type_traits (__is_function_helper): New, uses
2843         variadic templates.
2844         (is_function): Forward to the latter.
2845         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2846         is_function/is_function.cc: Add test.
2847
2848 2007-04-10  Paolo Carlini  <pcarlini@suse.de>
2849
2850         PR libstdc++/28277 (partial: vstring bits)
2851         * include/bits/ostream_insert.h: New.
2852         * include/Makefile.am: Add.
2853         * include/ext/vstring.h (operator<<(basic_ostream<>&,
2854         const __versa_string<>&): Forward to __ostream_insert.
2855         * include/bits/basic_string.h (operator<<(basic_ostream<>&,
2856         const string<>&)): Likewise.
2857         * include/std/ostream (operator<<(basic_ostream<>&, _CharT),
2858         operator<<(basic_ostream<char,>&, char), operator<<(basic_ostream<>&,
2859         const _CharT*), operator<<(basic_ostream<char,>&, const char*)):
2860         Likewise.
2861         * include/ext/vstring.tcc (operator<<(basic_ostream<>&,
2862         const __versa_string<>&)): Remove.
2863         (class basic_ostream): Remove friend declarations.
2864         (basic_ostream<>::_M_write(char_type, streamsize),
2865         _M_insert(const char_type*, streamsize)): Remove.
2866         * include/bits/ostream.tcc (_M_insert(const char_type*, streamsize)):
2867         Remove definition.
2868         (operator<<(basic_ostream<>&, const char*)): Use __ostream_insert.
2869         * config/abi/pre/gnu.ver: Adjust.
2870         * src/ostream-inst.cc: Add __ostream_insert instantiations.
2871         * include/bits/locale_facets.h (__pad<>::_S_pad): Remove __num
2872         parameter.
2873         * include/bits/locale_facets.tcc (__pad<>::_S_pad): Adjust.
2874         (num_put<>::_M_pad(_CharT, streamsize, ios_base&, _CharT*,
2875         const _CharT*, int&)): Likewise.
2876         * include/Makefile.in: Rebuild.
2877         * testsuite/ext/vstring/inserters_extractors/char/28277.cc: New.
2878         * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: New.
2879
2880         * include/ext/vstring_util.h: Do not include the whole <locale>.
2881         * include/ext/vstring.tcc (operator>>(basic_istream<>&,
2882         __versa_string<>&, getline(basic_istream<>&, __versa_string<>&,
2883         _CharT)): Tweak to refer to ios_base as a base of istream; do not
2884         refer to non-standard types of istream.
2885         * include/bits/istream.tcc (operator>>(basic_istream<>&, _CharT*),
2886         ws(basic_istream<>&)): Do not refer to non-standard types of istream.
2887         * include/std/bitset (operator>>(std::basic_istream<>&, bitset<>&)):
2888         Avoid using basic_streambuf<>*.
2889
2890         * include/bits/istream.tcc (operator>>(basic_istream<>&,
2891         basic_string<>&), getline(basic_istream<>&, basic_string<>&, _CharT)):
2892         Move...
2893         * include/bits/basic_string.tcc: ... here; tweak to refer to ios_base
2894         as a base of istream; do not refer to non-standard types of istream.
2895         * include/std/string: Tweak includes.
2896
2897         * include/ext/type_traits.h (__is_null_pointer): Add.
2898         * include/ext/rc_string_base.h: Use it.
2899         * include/ext/sso_string_base.h: Likewise.
2900         * include/bits/basic_string.tcc (__is_null_pointer): Remove, use
2901         the above.
2902         * include/ext/vstring_util.h (__vstring_utility<>::_S_is_null_pointer):
2903         Remove.
2904
2905 2007-04-09  Paolo Carlini  <pcarlini@suse.de>
2906
2907         * include/tr1/type_traits_fwd.h (__is_union_or_class): Remove.
2908         * include/tr1/type_traits (struct __in_array,
2909         struct __is_union_or_class, struct __is_union_or_class_helper,
2910         struct __is_empty_helper, struct __is_polymorphic_helper):
2911         Remove.
2912         (struct is_enum): Use __is_enum.
2913         (struct is_union): Use __is_union.
2914         (struct is_class): Use __is_class.
2915         (struct is_function): Adjust.
2916         (struct is_empty): Use __is_empty.
2917         (struct is_polymorphic): Use __is_polymorphic.
2918         (struct is_abstract): Use __is_abstract.
2919         (struct has_virtual_destructor): Use __has_virtual_destructor.
2920         (struct __is_base_of_helper): Use __is_base_of.
2921         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2922         is_union_or_class/typedefs.cc: Remove.
2923         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2924         is_union_or_class/is_union_or_class.cc: Likewise.
2925         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2926         is_class/typedefs.cc: New.
2927         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2928         is_class/is_class.cc: Likewise.
2929         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2930         is_union/typedefs.cc: Likewise.
2931         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2932         is_union/is_union.cc: Likewise.
2933         * testsuite/tr1/4_metaprogramming/type_properties/
2934         has_virtual_destructor/typedefs.cc: Likewise.
2935         * testsuite/tr1/4_metaprogramming/type_properties/
2936         has_virtual_destructor/has_virtual_destructor.cc: Likewise.
2937         * testsuite/util/testsuite_tr1.h (class VirtualDestructorClass): Add.
2938         * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
2939         is_polymorphic.cc: Add test.
2940
2941 2007-04-08  Alexey Beshenov  <bav.272304@gmail.com>
2942
2943         PR libstdc++/31511
2944         * include/c_global/cmath.tcc (__cmath_power): Use _Tp(1).
2945         * include/c_std/cmath.tcc (__cmath_power): Likewise.
2946
2947 2007-04-06  Paolo Carlini  <pcarlini@suse.de>
2948
2949         PR libstdc++/31117
2950         * config/locale/gnu/c_locale.cc (__convert_to_v): Do not use errno,
2951         just check that the value is finite.
2952         * config/locale/generic/c_locale.cc (__convert_to_v): Likewise.
2953
2954 2007-04-06  Paolo Carlini  <pcarlini@suse.de>
2955
2956         * include/ext/type_traits.h (__numeric_traits): Move...
2957         * include/ext/numeric_traits.h: ... here.
2958         * include/Makefile.am: Add.
2959         * include/ext/pb_ds/detail/type_utils.hpp: Include 
2960         <ext/numeric_traits.h> too.
2961         * include/tr1/random: Likewise.
2962         * testsuite/ext/type_traits/numeric_traits.cc: Move...
2963         * testsuite/ext/numeric_traits/numeric_traits.cc: ... here.
2964         * include/Makefile.in: Regenerate.
2965
2966 2007-04-04  Paolo Carlini  <pcarlini@suse.de>
2967
2968         * include/bits/valarray_array.h (__valarray_default_construct(_Tp*,
2969         _Tp*)): Use __is_scalar instead of __is_pod.
2970
2971 2007-04-03  Paolo Carlini  <pcarlini@suse.de>
2972
2973         * include/bits/stl_algobase.h (__copy_aux(_II, _II, _OI),
2974         __copy_backward_aux(_BI1, _BI1, _BI2)): Use __is_pod.
2975         * include/bits/stl_deque.h (deque<>::_M_destroy_data(iterator,
2976         iterator, const std::allocator<>&)): Use __has_trivial_constructor.
2977         (deque<>::_M_destroy_data_dispatch): Remove.
2978         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
2979         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
2980         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
2981         _Size, const _Tp&)): Use __is_pod.
2982         * include/bits/stl_tempbuf.h (_Temporary_buffer::
2983         _Temporary_buffer(_ForwardIterator, _ForwardIterator)): Use __is_pod.
2984         (_Temporary_buffer::_M_initialize_buffer): Remove.
2985         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
2986         _ForwardIterator)): Use __has_trivial_destructor.
2987         (__destroy_aux): Remove.
2988
2989 2007-04-03  Paolo Carlini  <pcarlini@suse.de>
2990
2991         * include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
2992         Uglify parameter.
2993
2994 2007-04-03  Paolo Carlini  <pcarlini@suse.de>
2995
2996         PR libstdc++/31440
2997         * include/bits/stl_tree.h (_M_lower_bound(_Link_type, _Link_type,
2998         const _Key&), _M_upper_bound(_Link_type, _Link_type, const _Key&)):
2999         Add.
3000         (_M_equal_range(const _Key&) const): Remove.
3001         (lower_bound(const key_type&), lower_bound(const key_type&) const,
3002         upper_bound(const key_type&), upper_bound(const key_type&) const,
3003         equal_range(const key_type&), equal_range(const key_type&) const):
3004         Adjust.
3005         (find(const _Key&), find(const _Key&) const): Tweak.
3006         * testsuite/23_containers/map/operations/31440.cc: New.
3007
3008 2007-04-02  Matthew Levine  <gcc@severeweblint.org>
3009             Paolo Carlini  <pcarlini@suse.de>
3010
3011         PR libstdc++/31370
3012         * include/bits/stl_bvector.h (vector<bool>::max_size): Fix.
3013         (vector<bool>::_M_check_len): Add.
3014         * include/bits/vector.tcc (_M_fill_insert(iterator, size_type, bool),
3015         _M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
3016         std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it.
3017         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: New.
3018         * testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust.
3019
3020         * include/bits/stl_vector.h (vector<>::_M_check_len): Add.
3021         * include/bits/vector.tcc (_M_insert_aux(iterator, const _Tp&),
3022         _M_fill_insert(iterator, size_type, const value_type&),
3023         _M_range_insert(iterator, _ForwardIterator, _ForwardIterator,
3024         std::forward_iterator_tag)): Use it.
3025
3026 2007-04-02  Paolo Carlini  <pcarlini@suse.de>
3027
3028         PR libstdc++/31401 (vstring bits)
3029         * include/ext/vstring.tcc (find(const _CharT*, size_type,
3030         size_type)): Avoid unsigned overflow.
3031
3032 2007-04-02  Paolo Carlini  <pcarlini@suse.de>
3033
3034         * include/bits/locale_facets.tcc (num_put<>::do_put(iter_type,
3035         ios_base&, char_type, const void*)): Fix for sizeof(const void*)
3036         > sizeof(unsigned long).
3037
3038 2007-04-01  Andreas Tobler  <a.tobler@schweiz.org>
3039
3040         * include/tr1/poly_laguerre.tcc: Missing s/__alpha/__alpha1, line 278.
3041
3042 2007-04-01  Richard Henderson  <rth@redhat.com>
3043
3044         * include/tr1/poly_laguerre.tcc: s/__alpha/__alpha1/g.
3045         * include/tr1/ell_integral.tcc: Likewise.
3046
3047 2007-03-31  Paolo Carlini  <pcarlini@suse.de>
3048
3049         * include/bits/stl_bvector.h (_M_fill_insert(iterator, size_type,
3050         bool), _M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
3051         std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Move
3052         out of line...
3053         * include/bits/vector.tcc: ... here.
3054
3055 2007-03-30  Paolo Carlini  <pcarlini@suse.de>
3056
3057         PR c++/26099
3058         * include/bits/cpp_type_traits.h (struct __is_pod, struct __is_empty):
3059         Remove.
3060         * include/bits/valarray_array.h: Adjust.
3061         * include/bits/allocator.h: Likewise.
3062         * include/bits/stl_tree.h: Likewise.
3063
3064 2007-03-30  Paolo Carlini  <pcarlini@suse.de>
3065
3066         PR libstdc++/31401
3067         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
3068         size_type)): Avoid unsigned overflow.
3069         * testsuite/21_strings/basic_string/find/char/4.cc: New.
3070         * testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.
3071
3072 2007-03-27  Paolo Carlini  <pcarlini@suse.de>
3073
3074         * include/bits/fstream.tcc (basic_filebuf<>::underflow):
3075         Don't call codecvt::in at all if _M_ext_next >= _M_ext_end.
3076         * testsuite/27_io/basic_filebuf/underflow/char/3.cc: New.
3077
3078 2007-03-26  Benjamin Kosnik  <bkoz@redhat.com>
3079
3080         * include/c_compatibility/complex.h: Without
3081         __GXX_EXPERIMENTAL_CXX0X__ include_next complex.h.      
3082         * include/c_compatibility/fenv.h: Same.
3083         * include/c_compatibility/inttypes.h: Same.
3084         * include/c_compatibility/stdbool.h: Same.
3085         * include/c_compatibility/stdint.h: Same.
3086         * include/c_compatibility/tgmath.h: Same.
3087
3088         * include/tr1/cinttypes: Use include_next.
3089         * include/tr1/cstdint: Same.
3090         * include/tr1/cstdbool: Same.
3091
3092         * acinclude.m4 (GLIBCXX_ENABLE_C99): Add check for tgmath.h
3093         * configure: Regenerate.
3094         * config.h.in: Same.
3095         
3096 2007-03-25  Paolo Carlini  <pcarlini@suse.de>
3097
3098         * include/tr1/functional: Formatting fixes.
3099
3100 2007-03-23  Paolo Carlini  <pcarlini@suse.de>
3101
3102         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc:
3103         Likewise use std::numeric_limits<>::max().
3104         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc:
3105         Minor tweaks.
3106
3107 2007-03-23  Hans-Peter Nilsson  <hp@axis.com>
3108
3109         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc
3110         (test02): Use std::numeric_limits<>::max() to get suitable large
3111         values.
3112
3113 2007-03-22  Benjamin Kosnik  <bkoz@redhat.com>
3114
3115         * testsuite/21_strings/headers/cstdlib/functions_std.cc: Without
3116         C99 support, _GLIBCXX_USE_WCHAR_T not defined, so
3117         dg-require-c-std.
3118         * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Same.
3119         * testsuite/27_io/headers/iostream/synopsis.cc: Same.
3120         * testsuite/27_io/headers/streambuf/types_std.cc: Same.
3121         * testsuite/27_io/headers/sstream/types_std.cc: Same.
3122         * testsuite/27_io/headers/ostream/types_std.cc: Same.
3123         * testsuite/27_io/headers/istream/types_std.cc: Same.
3124         * testsuite/27_io/headers/iostream/types_std.cc: Same.
3125         * testsuite/27_io/headers/fstream/types_std.cc: Same.
3126         * testsuite/21_strings/headers/string/types_std.cc: Same.
3127         * testsuite/21_strings/headers/cwctype/functions_std.cc: Same.
3128         * testsuite/21_strings/headers/cwctype/types_std.cc: Same.
3129         * testsuite/21_strings/headers/cwchar/functions_std.cc: Same.
3130         * testsuite/21_strings/headers/cwchar/types_std.cc: Same.
3131         
3132         * include/Makefile.am (c_compatibility_headers): Add fenv.h.
3133         * include/Makefile.in: Regenerate.
3134         * configure.host: Update comment.
3135
3136         * include/tr1/cfenv: Use include_next.
3137
3138 2007-03-19  Paolo Carlini  <pcarlini@suse.de>
3139
3140         * include/tr1/tuple (get(_Tuple_impl<>&, get(const _Tuple_impl<>&):
3141         Rename as __get_helper.
3142         (get(tuple<>&, get(const tuple<>&)): Forward to the latter.
3143
3144 2007-03-19  Benjamin Kosnik  <bkoz@redhat.com>
3145
3146         * docs/doxygen/user.cfg.in: Update for new includes, macros.
3147         
3148 2007-03-18  Mark Mitchell  <mark@codesourcery.com>
3149
3150         * libsupc++/array_type_info.cc: Likewise.
3151         * libsupc++/bad_cast.cc: Likewise.
3152         * libsupc++/bad_typeid.cc: Likewise.
3153         * libsupc++/class_type_info.cc: Likewise.
3154         * libsupc++/dyncast.cc: Likewise.
3155         * libsupc++/enum_type_info.cc: Likewise.
3156         * libsupc++/function_type_info.cc: Likewise.
3157         * libsupc++/fundamental_type_info.cc: Likewise.
3158         * libsupc++/pbase_type_info.cc: Likewise.
3159         * libsupc++/pmem_type_info.cc: Likewise.
3160         * libsupc++/pointer_type_info.cc: Likewise.
3161         * libsupc++/si_class_type_info.cc: Likewise.
3162         * libsupc++/vmi_class_type_info.cc: Likewise.
3163         * libsupc++/tinfo.h: Move inline type_info functions here.
3164         * libsupc++/tinfo.cc: Separate type_info classes into their own
3165         files.
3166         * libsupc++/tinfo2.cc: Likewise.
3167         * Makefile.am (sources): Mention new files.
3168         * Makefile.in: Regenerated.
3169
3170 2007-03-16  Benjamin Kosnik  <bkoz@redhat.com>
3171
3172         * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Use
3173         -std=gnu++0x instead of -std=c++0x for testing.
3174         * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same.
3175         * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same.
3176         * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same.
3177         * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same.
3178         * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same.
3179         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same.
3180         * testsuite/17_intro/headers/c++200x/all.cc: Same.
3181         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same.
3182         * testsuite/23_containers/hash/requirements/
3183         explicit_instantiation.cc: Same.
3184         * testsuite/23_containers/unordered_map/requirements/
3185         explicit_instantiation.cc: Same.
3186         * testsuite/23_containers/tuple/requirements/
3187         explicit_instantiation.cc: Same.
3188         * testsuite/23_containers/unordered_multimap/requirements/
3189         explicit_instantiation.cc: Same.
3190         * testsuite/23_containers/unordered_set/requirements/
3191         explicit_instantiation.cc: Same.
3192         * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same.
3193         * testsuite/23_containers/unordered_multiset/requirements/
3194         explicit_instantiation.cc: Same.
3195         * testsuite/23_containers/array/requirements/
3196         explicit_instantiation.cc: Same.
3197         * testsuite/20_util/enable_shared_from_this/requirements/
3198         explicit_instantiation.cc: Same.
3199         * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same.
3200         * testsuite/20_util/headers/functional/
3201         using_namespace_std_placeholders.cc: Same.
3202         * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same.
3203         * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same.
3204         * testsuite/20_util/shared_ptr/requirements/
3205         explicit_instantiation.cc: Same.
3206         * testsuite/20_util/weak_ptr/requirements/
3207         explicit_instantiation.cc: Same.
3208         
3209 2007-03-16  Benjamin Kosnik  <bkoz@redhat.com>
3210         
3211         * testsuite/lib/dg-options.exp (dg-require-c-std): New.
3212         * testsuite/lib/libstdc++.exp (check_v3_target_c_std): New. Check to
3213         see if _GLIBCXX_USE_C99_MATH is active. 
3214         * testsuite/tr1/5_numerical_facilities/special_functions/
3215         08_cyl_bessel_i/check_nan.cc: Use dg-require-c-std.
3216         * testsuite/tr1/5_numerical_facilities/special_functions/
3217         17_hyperg/check_nan.cc: Same.
3218         * testsuite/tr1/5_numerical_facilities/special_functions/
3219         13_ellint_2/check_nan.cc: Same.
3220         * testsuite/tr1/5_numerical_facilities/special_functions/
3221         20_riemann_zeta/check_nan.cc: Same.
3222         * testsuite/tr1/5_numerical_facilities/special_functions/
3223         01_assoc_laguerre/check_nan.cc: Same.
3224         * testsuite/tr1/5_numerical_facilities/special_functions/
3225         02_assoc_legendre/check_nan.cc: Same.
3226         * testsuite/tr1/5_numerical_facilities/special_functions/
3227         22_sph_legendre/check_nan.cc: Same.
3228         * testsuite/tr1/5_numerical_facilities/special_functions/
3229         10_cyl_bessel_k/check_nan.cc: Same.
3230         * testsuite/tr1/5_numerical_facilities/special_functions/
3231         09_cyl_bessel_j/check_nan.cc: Same.
3232         * testsuite/tr1/5_numerical_facilities/special_functions/
3233         21_sph_bessel/check_nan.cc: Same.
3234         * testsuite/tr1/5_numerical_facilities/special_functions/
3235         07_conf_hyperg/check_nan.cc: Same.
3236         * testsuite/tr1/5_numerical_facilities/special_functions/
3237         16_hermite/check_nan.cc: Same.
3238         * testsuite/tr1/5_numerical_facilities/special_functions/
3239         12_ellint_1/check_nan.cc: Same.
3240         * testsuite/tr1/5_numerical_facilities/special_functions/
3241         05_comp_ellint_2/check_nan.cc: Same.
3242         * testsuite/tr1/5_numerical_facilities/special_functions/
3243         18_laguerre/check_nan.cc: Same.
3244         * testsuite/tr1/5_numerical_facilities/special_functions/
3245         14_ellint_3/check_nan.cc: Same.
3246         * testsuite/tr1/5_numerical_facilities/special_functions/
3247         04_comp_ellint_1/check_nan.cc: Same.
3248         * testsuite/tr1/5_numerical_facilities/special_functions/
3249         06_comp_ellint_3/check_nan.cc: Same.
3250         * testsuite/tr1/5_numerical_facilities/special_functions/
3251         19_legendre/check_nan.cc: Same.
3252         * testsuite/tr1/5_numerical_facilities/special_functions/