OSDN Git Service

2005-07-14 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2005-07-14  Paolo Carlini  <pcarlini@suse.de>
2
3         PR libstdc++/21193 (float, double, long double)
4         * include/tr1/functional (hash<float>, hash<double>):
5         Reimplement exploiting the Fnv_hash<>::hash helper.
6         (hash<long double>): Reimplement using frexp (in this
7         case, due to random padding bits, the former approach
8         is not generally viable).
9
10 2005-07-13  Paolo Carlini  <pcarlini@suse.de>
11
12         PR libstdc++/21193 (string & wstring)
13         * include/tr1/functional (hash<string>, hash<wstring>):
14         Reimplement using the FNV hash.
15
16         * include/tr1/functional: Trivial formatting fixes.
17
18 2005-07-11  Paolo Carlini  <pcarlini@suse.de>
19
20         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
21         basic_ostream<>::operator<<(long long)): Don't deal with oct
22         and hex and casts to unsigned here...
23         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
24         const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
25         long, const _CharT*, ios_base::fmtflags)): ... do that here,
26         instead, as per Table 57.
27         (num_put<>::_M_insert_int): Tidy treatment of numeric base and
28         sign.
29         * include/std/std_ostream.h (operator<<(short), operator<<(int)):
30         Adjust logic, as per the letter of the resolution of DR117 [WP].
31         * testsuite/22_locale/num_put/put/char/10.cc: New.
32         * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
33         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
34         Likewise.
35         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
36         Likewise.
37
38 2005-07-07  David Edelsohn  <edelsohn@gnu.org>
39
40         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
41         Change map_t to map_type.
42
43 2005-07-05  Paolo Carlini  <pcarlini@suse.de>
44
45         Add class __versa_string, a versatile "basic_string-type" class:
46         an additional, non-standard, template parameter allows to specify
47         the preferred base class. Two are provided: __rc_string_base,
48         which implements a behavior very similar to our standard string,
49         and __sso_string_base, not reference-counted and optimized for
50         short strings. 
51         * include/ext/rc_string_base.h: New.
52         * include/ext/sso_string_base.h: Likewise.
53         * include/ext/vstring.h: Likewise.
54         * include/ext/vstring.tcc: Likewise.
55         * include/ext/vstring_fwd.h: Likewise.
56         * include/ext/vstring_util.h: Likewise.
57         * include/Makefile.am: Add.
58         * include/Makefile.in: Regenerate.
59         * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
60         * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
61         * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
62         * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
63
64         * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
65         officially used by v3).
66         * aclocal.m4: Likewise.
67         * libmath/Makefile.in: Likewise.
68         * libsupc++/Makefile.in: Likewise.
69         * po/Makefile.in: Likewise.
70         * src/Makefile.in: Likewise.
71         * testsuite/Makefile.in: Likewise.
72
73 2005-07-01  Paolo Carlini  <pcarlini@suse.de>
74
75         Port from libstdcxx_so_7-branch:
76         2004-10-28  Chris Jefferson  <chris@bubblescope.net>
77
78         PR libstdc++/17441
79         * include/bit/stl_algo.h (find(,,,input_iterator_tag),
80         find(,,,random_access_interator_tag),
81         find_if(,,,input_iterator_tag),
82         find_if(,,,random_access_iterator_tag)): Uglify function name.
83         (find, find_if): Use new uglified specialisation names.
84         * testsuite/25_algorithms/find/17441.cc: New.
85
86 2005-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
87
88         * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
89         (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
90         type before shifting.
91
92 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
93             
94         PR libstdc++/21244 (cont^2)
95         * include/ext/bitmap_allocator.h: Convert everywhere
96         bits_per_block to size_t.       
97
98 2005-06-29  Jonathan Wakely  <redi@gcc.gnu.org>
99
100         * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
101         Doxygen comments that use wrong parameter and function names.
102
103 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
104
105         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
106         * docs/html/ext/howto.html: Adjust.
107
108 2005-06-29  Paolo Carlini  <pcarlini@suse.de>
109
110         PR libstdc++/22131
111         * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
112         num_get<>::_M_extract_float, money_get<>::_M_extract):
113         Adjust to assign the result also when digit grouping is
114         wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
115         (NB: consistently for money_get too).
116         * config/locale/generic/c_locale.cc (__convert_to_v): Do
117         not check ios_base::failbit at the outset.
118         * config/locale/gnu/c_locale.cc: Likewise.
119         * testsuite/22_locale/money_get/get/char/22131.cc: New.
120         * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
121         * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
122         * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
123         * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
124         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
125         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
126         Likewise.
127         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
128         Likewise.
129
130 2005-06-28  Paul Brook  <paul@codesourcery.com>
131
132         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
133         __cxa_end_cleanup.
134         * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
135         * libsupc++/eh_arm.cc: New file.
136         * libsupc++/eh_call.cc: New file.
137         * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
138         __gxx_caught_object.
139         (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
140         _Unwind_Complete when using the ARM EABI.
141         (__cxa_end_catch): Use __is_gxx_exception_class.
142         * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
143         using the ARM EABI.
144         (save_caught_exception, restore_caught_exception): New functions.
145         (_throw_typet): New typedef.
146         (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
147         EABI implementations.
148         (PERSONALITY_FUNCTION): Use new functions.  Addd support for ARM EABI
149         unwinding libary.
150         (__cxa_unexpected): Disable when using the ARM EABI.
151         * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
152         (__cxa_rethrow): Use __is_gxx_exception_class.  Call
153         _Unwind_RaiseException when using the ARM EABI.
154         * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
155         EABI semantics.
156         (struct __cxa_eh_globals): Ditto.
157         (__cxa_call_terminate): Add prototype.
158         (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
159         prototypes.
160         (__get_exception_header_from_obj, __get_exception_header_from_ue):
161         Move earlier in file.
162         (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
163         __gxx_caught_object): New functions.
164         * aclocal.m4: Regenerate.
165         * configure: Regenerate.
166         * Makefile.in: Regenerate.
167         * include/Makefile.in: Regenerate.
168         * libmath/Makefile.in: Regenerate.
169         * libsupc++/Makefile.in: Regenerate.
170         * po/Makefile.in: Regenerate.
171         * src/Makefie.in: Regenerate.
172         * testsuite/makefile.in: Regenerate.
173
174 2005-06-27  Paolo Carlini  <pcarlini@suse.de>
175
176         PR libstdc++/22102
177         * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
178         insert_equal((iterator, const _Val&)): Reimplement to check both
179         before and after, as per the algorithm "ignore hint if wrong" of
180         ISO paper N1780.
181
182 2005-06-27  Benjamin Kosnik  <bkoz@redhat.com>
183             Ami Tavory  <pbassoc@gmail.com>
184         
185         * docs/html/documentation.html: Add link for policy based
186         associative containers docs.
187         * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
188         * docs/html/ext/pb_assoc/acks.html: New.
189         * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
190         * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
191         * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
192         * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
193         * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
194         * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
195         * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
196         * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
197         * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
198         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
199         * docs/html/ext/pb_assoc/
200           basic_tree_assoc_cntnr_const_node_iterator.html: New.
201         * docs/html/ext/pb_assoc/
202           basic_tree_assoc_cntnr_node_iterator.html: New.
203         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
204         * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
205         * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
206         * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
207         * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
208         * docs/html/ext/pb_assoc/
209           cc_hash_max_collision_check_resize_trigger.html: New.
210         * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
211         * docs/html/ext/pb_assoc/cd.jpg: New.
212         * docs/html/ext/pb_assoc/component_requirements.html: New.
213         * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
214         * docs/html/ext/pb_assoc/compound_data_type.html: New.
215         * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
216         * docs/html/ext/pb_assoc/concepts.html: New.
217         * docs/html/ext/pb_assoc/contact.html: New.
218         * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
219         * docs/html/ext/pb_assoc/counter_update_policy.html: New.
220         * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
221         * docs/html/ext/pb_assoc/design.html: New.
222         * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
223         * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
224         * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
225         * docs/html/ext/pb_assoc/disclaimer.html: New.
226         * docs/html/ext/pb_assoc/ds_gen.html: New.
227         * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
228         * docs/html/ext/pb_assoc/ds_traits.html: New.
229         * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
230         * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
231         * docs/html/ext/pb_assoc/examples.html: New.
232         * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
233         * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
234         * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
235         * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
236         * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
237         * docs/html/ext/pb_assoc/generics.html: New.
238         * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
239         * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
240         * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
241         * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
242         * docs/html/ext/pb_assoc/hash_based_containers.html: New.
243         * docs/html/ext/pb_assoc/hash_cd.jpg: New.
244         * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
245         * docs/html/ext/pb_assoc/hash_fn.html: New.
246         * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
247         * docs/html/ext/pb_assoc/hash_policies.html: New.
248         * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
249         * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
250         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
251         * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
252         * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
253         * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
254         * docs/html/ext/pb_assoc/home.html: New.
255         * docs/html/ext/pb_assoc/index.html: New.
256         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
257         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
258         * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
259         * docs/html/ext/pb_assoc/insert_type_methods.html: New.
260         * docs/html/ext/pb_assoc/interface.html: New.
261         * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
262         * docs/html/ext/pb_assoc/introduction.html: New.
263         * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
264         * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
265         * docs/html/ext/pb_assoc/lib_download.html: New.
266         * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
267         * docs/html/ext/pb_assoc/list_updates.html: New.
268         * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
269         * docs/html/ext/pb_assoc/lu_based_containers.html: New.
270         * docs/html/ext/pb_assoc/lu_cd.jpg: New.
271         * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
272         * docs/html/ext/pb_assoc/lu_ops.jpg: New.
273         * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
274         * docs/html/ext/pb_assoc/motivation.html: New.
275         * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
276         * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
277         * docs/html/ext/pb_assoc/ms_cd.jpg: New.
278         * docs/html/ext/pb_assoc/ms_gen.html: New.
279         * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
280         * docs/html/ext/pb_assoc/ms_traits.html: New.
281         * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
282         * docs/html/ext/pb_assoc/node_invariants.html: New.
283         * docs/html/ext/pb_assoc/node_invariants.jpg: New.
284         * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
285         * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
286         * docs/html/ext/pb_assoc/null_data_type.html: New.
287         * docs/html/ext/pb_assoc/null_hash_fn.html: New.
288         * docs/html/ext/pb_assoc/null_probe_fn.html: New.
289         * docs/html/ext/pb_assoc/order_by_key.html: New.
290         * docs/html/ext/pb_assoc/order_statistics_key.html: New.
291         * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
292         * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
293         * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
294         * docs/html/ext/pb_assoc/overview.html: New.
295         * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
296         * docs/html/ext/pb_assoc/portability.html: New.
297         * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
298         * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
299         * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
300         * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
301         * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
302         * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
303         * docs/html/ext/pb_assoc/references.html: New.
304         * docs/html/ext/pb_assoc/regression_tests.html: New.
305         * docs/html/ext/pb_assoc/resize_general.html: New.
306         * docs/html/ext/pb_assoc/resize_policies.html: New.
307         * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
308         * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
309         * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
310         * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
311         * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
312         * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
313         * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
314         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
315         * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
316         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
317         * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
318         * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
319         * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
320         * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
321         * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
322         * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
323         * docs/html/ext/pb_assoc/size_policies_general.html: New.
324         * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
325         * docs/html/ext/pb_assoc/timing_tests.html: New.
326         * docs/html/ext/pb_assoc/toc.html: New.
327         * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
328         * docs/html/ext/pb_assoc/
329           tree_assoc_cntnr_const_node_iterator.html: New.
330         * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
331         * docs/html/ext/pb_assoc/tree_based_containers.html: New.
332         * docs/html/ext/pb_assoc/tree_cd.jpg: New.
333         * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
334         * docs/html/ext/pb_assoc/tutorial.html: New.
335         * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
336         * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
337         assoc_headers.
338         * include/Makefile.in: Regenerate.
339         * include/ext/typelist.h: New.
340         * include/ext/pb_assoc/assoc_cntnr.hpp: New.
341         * include/ext/pb_assoc/data_type.hpp: New.
342         * include/ext/pb_assoc/ds_trait.hpp: New.
343         * include/ext/pb_assoc/exception.hpp: New.
344         * include/ext/pb_assoc/hash_policy.hpp: New.
345         * include/ext/pb_assoc/lu_policy.hpp: New.
346         * include/ext/pb_assoc/ms_trait.hpp: New.
347         * include/ext/pb_assoc/tree_policy.hpp: New.
348         * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
349         * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
350         * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
351         * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
352         * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
353         * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
354         * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
355         * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
356         * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
357         * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
358         * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
359         * include/ext/pb_assoc/detail/standard_policies.hpp: New.
360         * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
361         * include/ext/pb_assoc/detail/type_utils.hpp: New.
362         * include/ext/pb_assoc/detail/typelist.hpp: New.
363         * include/ext/pb_assoc/detail/types_traits.hpp: New.
364         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
365           constructor_destructor_fn_imps.hpp: New.
366         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
367           constructors_destructor_fn_imps.hpp: New.
368         * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
369         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
370           d_find_fn_imps.hpp: New.
371         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
372           d_insert_fn_imps.hpp: New.
373         * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
374         * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
375         * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
376         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
377           insert_fn_imps.hpp: New.
378         * include/ext/pb_assoc/detail/basic_assoc_cntnr/
379           iterators_fn_imps.hpp: New.
380         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
381           constructor_destructor_fn_imps.hpp: New.
382         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
383           constructors_destructor_fn_imps.hpp: New.
384         * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
385           resize_fn_imps.hpp: New.
386         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
387           constructor_destructor_fn_imps.hpp: New.
388         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
389           constructors_destructor_fn_imps.hpp: New.
390         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
391           erase_fn_imps.hpp: New.
392         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
393           node_iteration_fn_imps.hpp: New.
394         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
395           policy_access_fn_imps.hpp: New.
396         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
397           r_erase_fn_imps.hpp: New.
398         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
399           r_range_iteration_fn_imps.hpp: New.
400         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
401           range_iteration_fn_imps.hpp: New.     
402         * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
403           split_join_fn_imps.hpp: New.
404         * include/ext/pb_assoc/detail/bin_search_tree_/
405           bin_search_tree_.hpp: New.
406         * include/ext/pb_assoc/detail/bin_search_tree_/
407           cond_dtor_entry_dealtor.hpp: New.
408         * include/ext/pb_assoc/detail/bin_search_tree_/
409           cond_key_dtor_entry_dealtor.hpp: New.
410         * include/ext/pb_assoc/detail/bin_search_tree_/
411           constructors_destructor_fn_imps.hpp: New.
412         * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
413         * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
414         * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
415         * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
416         * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
417         * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
418         * include/ext/pb_assoc/detail/bin_search_tree_/
419           iterators_fn_imps.hpp: New.
420         * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
421         * include/ext/pb_assoc/detail/bin_search_tree_/
422           r_erase_fn_imps.hpp: New.
423         * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
424         * include/ext/pb_assoc/detail/bin_search_tree_/
425           split_join_fn_imps.hpp: New.
426         * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
427           constructor_destructor_fn_imps.hpp: New.
428         * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
429         * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
430         * include/ext/pb_assoc/detail/cc_ht_map_/
431           cond_key_dtor_entry_dealtor.hpp: New.
432         * include/ext/pb_assoc/detail/cc_ht_map_/
433           constructor_destructor_fn_imps.hpp: New.
434         * include/ext/pb_assoc/detail/cc_ht_map_/
435           constructor_destructor_no_store_hash_fn_imps.hpp: New.
436         * include/ext/pb_assoc/detail/cc_ht_map_/
437           constructor_destructor_store_hash_fn_imps.hpp: New.
438         * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
439         * include/ext/pb_assoc/detail/cc_ht_map_/
440           debug_no_store_hash_fn_imps.hpp: New.
441         * include/ext/pb_assoc/detail/cc_ht_map_/
442           debug_store_hash_fn_imps.hpp: New.
443         * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
444         * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
445         * include/ext/pb_assoc/detail/cc_ht_map_/
446           erase_no_store_hash_fn_imps.hpp: New.
447         * include/ext/pb_assoc/detail/cc_ht_map_/
448           erase_store_hash_fn_imps.hpp: New.
449         * include/ext/pb_assoc/detail/cc_ht_map_/
450           find_fn_imps.hpp: New.
451         * include/ext/pb_assoc/detail/cc_ht_map_/
452           find_no_store_hash_fn_imps.hpp: New.
453         * include/ext/pb_assoc/detail/cc_ht_map_/
454           find_store_hash_fn_imps.hpp: New.
455         * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
456         * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
457         * include/ext/pb_assoc/detail/cc_ht_map_/
458           insert_no_store_hash_fn_imps.hpp: New.
459         * include/ext/pb_assoc/detail/cc_ht_map_/
460           insert_store_hash_fn_imps.hpp: New.
461         * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
462         * include/ext/pb_assoc/detail/cc_ht_map_/
463           policy_access_fn_imps.hpp: New.
464         * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
465         * include/ext/pb_assoc/detail/cc_ht_map_/
466           resize_no_store_hash_fn_imps.hpp: New.
467         * include/ext/pb_assoc/detail/cc_ht_map_/
468           resize_store_hash_fn_imps.hpp: New.
469         * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
470         * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
471         * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
472         * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
473         * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
474           constructor_destructor_fn_imps.hpp: New.
475         * include/ext/pb_assoc/detail/gp_ht_map_/
476           constructor_destructor_fn_imps.hpp: New.
477         * include/ext/pb_assoc/detail/gp_ht_map_/
478           constructor_destructor_no_store_hash_fn_imps.hpp: New.
479         * include/ext/pb_assoc/detail/gp_ht_map_/
480           constructor_destructor_store_hash_fn_imps.hpp: New.
481         * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
482         * include/ext/pb_assoc/detail/gp_ht_map_/
483           debug_no_store_hash_fn_imps.hpp: New.
484         * include/ext/pb_assoc/detail/gp_ht_map_/
485           debug_store_hash_fn_imps.hpp: New.
486         * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
487         * include/ext/pb_assoc/detail/gp_ht_map_/
488           erase_no_store_hash_fn_imps.hpp: New.
489         * include/ext/pb_assoc/detail/gp_ht_map_/
490           erase_store_hash_fn_imps.hpp: New.
491         * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
492         * include/ext/pb_assoc/detail/gp_ht_map_/
493           find_no_store_hash_fn_imps.hpp: New.
494         * include/ext/pb_assoc/detail/gp_ht_map_/
495           find_store_hash_fn_imps.hpp: New.
496         * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
497         * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
498         * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
499         * include/ext/pb_assoc/detail/gp_ht_map_/
500           insert_no_store_hash_fn_imps.hpp: New.
501         * include/ext/pb_assoc/detail/gp_ht_map_/
502           insert_store_hash_fn_imps.hpp: New.
503         * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
504         * include/ext/pb_assoc/detail/gp_ht_map_/
505           policy_access_fn_imps.hpp: New.
506         * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
507         * include/ext/pb_assoc/detail/gp_ht_map_/
508           resize_no_store_hash_fn_imps.hpp: New.
509         * include/ext/pb_assoc/detail/gp_ht_map_/
510           resize_store_hash_fn_imps.hpp: New.
511         * include/ext/pb_assoc/detail/hash_fn/
512           direct_mask_range_hashing_imp.hpp: New.
513         * include/ext/pb_assoc/detail/hash_fn/
514           direct_mod_range_hashing_imp.hpp: New.
515         * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
516         * include/ext/pb_assoc/detail/hash_fn/
517           mask_based_range_hashing.hpp: New.
518         * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
519         * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
520         * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
521         * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
522         * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
523         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
524           constructor_destructor_fn_imps.hpp: New.
525         * include/ext/pb_assoc/detail/lu_assoc_cntnr/
526           policy_access_fn_imps.hpp: New.
527         * include/ext/pb_assoc/detail/lu_map_/
528           constructor_destructor_fn_imps.hpp: New.
529         * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
530         * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
531         * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
532         * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
533         * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
534         * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
535         * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
536         * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
537         * include/ext/pb_assoc/detail/lu_policy/
538           counter_lu_metadata_imp.hpp: New.
539         * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
540         * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
541         * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
542         * include/ext/pb_assoc/detail/ov_tree_map_/
543           constructors_destructor_fn_imps.hpp: New.
544         * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
545         * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
546         * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
547         * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
548         * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
549         * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
550         * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
551         * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
552         * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
553         * include/ext/pb_assoc/detail/rb_tree_map_/
554           constructors_destructor_fn_imps.hpp: New.
555         * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
556         * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
557         * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
558         * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
559         * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
560         * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
561         * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
562         * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
563         * include/ext/pb_assoc/detail/resize_policy/
564           cc_hash_max_collision_resize_trigger_imp.hpp: New.
565         * include/ext/pb_assoc/detail/resize_policy/
566           hash_exponential_size_policy_imp.hpp: New.
567         * include/ext/pb_assoc/detail/resize_policy/
568           hash_load_check_resize_trigger_imp.hpp: New.
569         * include/ext/pb_assoc/detail/resize_policy/
570           hash_prime_size_policy_imp.hpp: New.
571         * include/ext/pb_assoc/detail/resize_policy/
572           hash_standard_resize_policy_imp.hpp: New.
573         * include/ext/pb_assoc/detail/resize_policy/
574           ht_prime_size_policy_imp.hpp: New.
575         * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
576         * include/ext/pb_assoc/detail/splay_tree_/
577           constructors_destructor_fn_imps.hpp: New.
578         * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
579         * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
580         * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
581         * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
582         * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
583         * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
584         * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
585         * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
586         * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
587         * include/ext/pb_assoc/detail/tree_assoc_cntnr/
588           constructor_destructor_fn_imps.hpp: New.
589         * include/ext/pb_assoc/detail/tree_policy/
590           null_node_updator_imp.hpp: New.
591         * include/ext/pb_assoc/detail/tree_policy/
592           order_statistics_imp.hpp: New.
593         * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
594         * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
595         * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
596         * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
597         * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
598         * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
599         * include/ext/pb_assoc/detail/typelist/
600           typelist_typelist_append.hpp: New.
601         * include/ext/pb_assoc/detail/unordered_iterator/
602           const_find_iterator.hpp: New.
603         * include/ext/pb_assoc/detail/unordered_iterator/
604           const_iterator.hpp: New.
605         * include/ext/pb_assoc/detail/unordered_iterator/
606           find_iterator.hpp: New.
607         * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
608         * include/ext/pb_assoc/detail/value_type_adapter/
609           constructor_destructor_and_related.hpp: New.
610         * include/ext/pb_assoc/detail/value_type_adapter/
611           erase_fn_imps.hpp: New.
612         * include/ext/pb_assoc/detail/value_type_adapter/
613           erase_if_pred.hpp: New.
614         * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
615         * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
616         * include/ext/pb_assoc/detail/value_type_adapter/
617         insert_fn_imps.hpp: New.
618         * include/ext/pb_assoc/detail/value_type_adapter/
619         invalidation_guarantee_selector.hpp: New.
620         * include/ext/pb_assoc/detail/value_type_adapter/
621         it_value_type_traits.hpp: New.
622         * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
623         * include/ext/pb_assoc/detail/value_type_adapter/
624         iterator_fn_imps.hpp: New.
625         * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
626         * include/ext/pb_assoc/detail/value_type_adapter/
627         value_type_adapter.hpp: New.
628         * include/ext/pb_assoc/detail/value_type_adapter/
629         value_type_traits.hpp: New.
630         * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
631         * testsuite/Makefile.in: Regenerate.
632         * testsuite/testsuite_common_types.h: New.
633         * testsuite/testsuite_visualization.h: New.
634         * testsuite/ext/pb_assoc/example/basic_map.cc: New.
635         * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
636         * testsuite/ext/pb_assoc/example/basic_set.cc: New.
637         * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
638         * testsuite/ext/pb_assoc/example/erase_if.cc: New.
639         * testsuite/ext/pb_assoc/example/extract_key.cc: New.
640         * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
641         * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
642         * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
643         * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
644         * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
645         * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
646         * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
647         * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
648         * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
649         * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
650         * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
651         * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
652         * testsuite/ext/pb_assoc/example/store_hash.cc: New.
653         * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
654         * testsuite/ext/pb_assoc/example/tree_join.cc: New.
655         * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
656         * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
657         * testsuite/ext/pb_assoc/example/tree_split.cc: New.
658         * testsuite/performance/20_util/allocator/(insert.cc,
659           insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
660           producer_consumer.cc): Recast to use typelists and move to...
661         * testsuite/performance/23_containers/find/map.cc: New.
662         * testsuite/performance/23_containers/index/map.cc: New.
663         * testsuite/performance/23_containers/insert/associative.cc: New.
664         * testsuite/performance/23_containers/insert/sequence.cc: New.
665         * testsuite/performance/23_containers/insert_erase/associative.cc: New.
666         * testsuite/performance/23_containers/producer_consumer/
667         (associative.cc, sequence.cc): New.
668         * testsuite/performance/23_containers/sort_search/list.cc: New.
669         * testsuite/performance/23_containers/container_benchmark.cc: Remove.
670         * testsuite/performance/23_containers/map_create_fill.cc: Move...
671         * testsuite/performance/23_containers/create/map.cc: ...here.
672         * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
673         * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
674         * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
675         * testsuite/performance/23_containers/create_sort/list.cc: ...here.
676         * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
677         * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
678         
679 2005-06-23  Jakub Jelinek  <jakub@redhat.com>
680
681         PR libstdc++/22109
682         * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
683         (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
684         _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
685         _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
686         variants.
687         (ignore (streamsize)): Remove _W prefixed aliases.
688         (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
689         _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
690         (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
691         Use #XXname instead of #name as the alias argument.
692         * config/abi/compatibility.h: Replace uses of
693         _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER.  Always
694         pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
695         * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
696         change.
697         * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
698         * configure: Rebuilt.
699
700 2005-06-19  Benjamin Kosnik  <bkoz@redhat.com>
701
702         PR libstdc++/22111
703         * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
704         GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
705         Don't enable abi testing unless versioned.
706         * configure: Regenerate.
707         * testsuite/Makefile.am (check-abi): Remove conditional.
708         * testsuite/Makefile.in: Regenerate.
709         * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
710         v3-symver before proceeding.
711         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
712         if _GLIBCXX_SYMVER.
713         
714 2005-06-17  Paolo Carlini  <pcarlini@suse.de>
715
716         Port from libstdcxx_so_7-branch:
717         2005-01-12  Christopher Jefferson <chris@bubblescope.net>
718
719         * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
720         mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
721         mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
722         return type, just an old HP/SGI workaround.
723         * testsuite/20_util/functional/binders.cc: Move to...
724         * testsuite/20_util/functional/binders/3113.cc: ...here.
725         * testsuite/20_util/functional/binders/1.cc: New.
726
727 2005-06-17  Jonathan Wakely  <redi@gcc.gnu.org>
728
729         * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
730
731 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
732             Benjamin Kosnik  <bkoz@redhat.com>
733
734         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
735         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
736         * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
737         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
738
739         * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
740         * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
741         * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
742         * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
743
744         * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
745         * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
746
747 2005-06-17  Jakub Jelinek  <jakub@redhat.com>
748
749         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
750         * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
751         * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
752         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
753         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
754         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
755         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
756         * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
757         * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
758         * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
759
760 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
761
762         * src/compatibility.cc: Include bits/c++config.h first.
763         (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
764         and PIC are both defined.
765         * include/bits/char_traits.h (char_traits::eq): Rename
766         only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
767
768 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
769
770         * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
771         to _GLIBCXX_SIZE_T_IS_UINT.  Define _GLIBCXX_PTRDIFF_T_IS_INT.
772         * configure: Regenerate.
773         * config.h.in: Regenerate.
774         * src/compatibility.cc (istream:ignore(streamsize)): Use
775         _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
776         * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
777         to _GLIBCXX_SIZE_T_IS_UINT.  Use _GLIBCXX_PTRDIFF_T_IS_INT
778         instead for symbols with streamsize arguments.
779
780 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
781
782         * config/linker-map.gnu: Also export
783         _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
784
785 2005-06-15  Benjamin Kosnik  <bkoz@redhat.com>
786
787         * configure.ac (libtool_VERSION): To 6:6:0.
788         * configure: Regenerate.
789         * config/linker-map.gnu: Edit.
790         * src/istream.cc: Move istream::ignore(streamsize) specializations...
791         * src/compatibility.cc: ...here. New.
792         * include/bits/char_traits.h (char_traits::eq): Rename when
793         appropriate.
794         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
795         Bump glibcxx_min_gnu_ld_version to 21590.
796         * configure: Regenerate.
797         * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
798         * config.h.in: Regenerate.
799         * src/Makefile.am (sources): Add compatibility.cc.
800         * src/Makefile.in: Regenerate.
801         * include/Makefile.am (host_headers_noinst): Add compatibility.h.
802         * include/Makefile.in: Regenerate.
803         * testsuite/testsuite_abi.h (symbol): Add data members.
804         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
805         GLIBCXX_3.4.6.  Remove deprecated versions. Do a better job
806         version checking.
807
808 2005-06-15  Paolo Carlini  <pcarlini@suse.de>
809
810         * include/tr1/hashtable: Trivial formatting fixes.
811         * include/tr1/unordered_map: Likewise.
812         * include/tr1/unordered_set: Likewise.
813
814 2005-06-14  Tom Tromey  <tromey@redhat.com>
815
816         PR libgcj/19877:
817         * configure, aclocal.m4: Rebuilt.
818         * Makefile.in, include/Makefile.in, libmath/Makefile.in,
819         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
820         testsuite/Makefile.in: Likewise.
821
822 2005-06-08  Benjamin Kosnik  <bkoz@redhat.com>
823
824         PR libstdc++/21955
825         * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
826         Remove unnecessary this->_M_mode decoration.
827         * include/bits/fstream.tcc: Adjust line spacing.        
828         * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
829         base class behavior.
830         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
831         * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
832         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
833         filebuf behavior.
834         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
835         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
836         * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
837         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
838         * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
839         
840 2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>
841
842         * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
843         tests.
844         * configure: Regenerated.
845
846 2005-06-07  Adrian Straetling  <straetling@de.ibm.com>
847
848         * config/cpu/s390/atomicity.h: (__exchange_and_add, 
849         __atomic_add): Use the builtins for atomic memory operations.
850
851 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
852
853         PR libstdc++/21770 (cont: __gnu_debug::string)
854         * include/debug/string: Use _Base typedefs for pointer, const_pointer,
855         reference, const_reference, size_type, difference_type.
856         * testsuite/21_strings/basic_string/2.cc: New.
857
858 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
859
860         PR libstdc++/21770 (cont: debug-mode)
861         * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
862         reference, const_reference.
863         * include/debug/list: Likewise.
864         * include/debug/map.h: Likewise.
865         * include/debug/multimap.h: Likewise.
866         * include/debug/multiset.h: Likewise.
867         * include/debug/set.h: Likewise.
868         * include/debug/vector: Likewise.
869
870 2005-06-06  Paolo Carlini  <pcarlini@suse.de>
871
872         Port from libstdcxx_so_7-branch:
873         2004-09-24  Paolo Carlini  <pcarlini@suse.de>
874                     Jonathan Wakely  <redi@gcc.gnu.org>
875
876         * include/bits/stl_list.h (list::list(size_type, value_type,
877         const allocator_type&): Implement according to the letter of the
878         standard, i.e., don't use two overloads, not equivalent in case
879         of non default constructible T.
880         (list::resize(size_type, const value_type&)): Fix the signature:
881         according to the standard the second argument is by value; also,
882         don't use two overloads.
883         * include/bits/list.tcc (list::resize(size_type, const value_type&)):
884         Adjust consistently the signature.
885         * include/bits/stl_deque.h (deque::deque(size_type, value_type,
886         const allocator_type&)): Likewise.
887         (deque::resize(size_type, const value_type&)): Likewise.
888         * include/bits/stl_vector.h (vector::vector(size_type, value_type,
889         const allocator_type&)): Likewise.
890         (vector::resize(size_type, const value_type&)): Likewise.
891         * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
892         * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
893         * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
894         * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
895         * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
896         * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
897         * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
898         * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
899
900         * include/bits/deque.tcc: Minor formatting fix.
901
902 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
903
904         * include/bits/stl_function.h: ... and another one.
905
906 2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>
907
908         * include/bits/stl_function.h: Fix typo in comment.
909
910 2005-06-05  Paolo Carlini  <pcarlini@suse.de>
911
912         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
913         too for ac_c99_complex.
914         * configure: Regenerate.
915
916 2005-06-03  Paolo Carlini  <pcarlini@suse.de>
917
918         PR libstdc++/21770
919         * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
920         rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
921         the latter and add _M_get_Tp_allocator() which returns it. Use
922         everywhere _M_get_Tp_allocator() instead of get_allocator().
923         * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
924         * include/bits/stl_list.h: Add concept-check. In class _List_base
925         rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
926         returns the allocator (of type _Node_alloc_type) converted to
927         _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
928         get_allocator().
929         * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
930         * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
931         rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
932         the latter and add _M_get_Tp_allocator() which returns it. Use
933         everywhere _M_get_Tp_allocator() instead of get_allocator().
934         * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
935         * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
936         _Pair_alloc_type and use it for _Rb_tree.
937         * include/bits/stl_multimap.h: Likewise.
938         * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
939         _Key_alloc_type and use it for _Rb_tree.
940         * include/bits/stl_set.h: Likewise.
941         * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
942         use it for the allocator typedefs.
943         * testsuite/21_strings/basic_string/1.cc: New.
944         * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
945         * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
946         * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
947         * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
948         * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
949         * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
950         * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
951         * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
952         * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
953         * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
954         * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
955         * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
956         * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
957         * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
958         * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
959         * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
960         * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
961         * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
962         * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
963         * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
964         * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
965
966 2005-06-02  Nathan Sidwell  <nathan@codesourcery.com>
967
968         PR c++/21280
969         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
970         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
971
972 2005-05-31  Paolo Carlini  <pcarlini@suse.de>
973
974         PR libstdc++/20534 (contd)
975         * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
976         __gnu_debug::__fancy_abort.
977         * src/debug.cc: Define the latter.
978         * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
979         assert.
980         * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
981
982 2005-05-30  Paolo Carlini  <pcarlini@suse.de>
983
984         * include/std/std_complex.h (log(const complex<_Tp>&)): When
985         _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
986
987 2005-05-28  Paolo Carlini  <pcarlini@suse.de>
988
989         Revert:
990         2005-05-18  Paolo Carlini  <pcarlini@suse.de>
991                     Nathan Myers  <ncm@cantrip.org>
992
993         PR libstdc++/19495
994         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
995         size_type instead of char and rename to _Raw_alloc.
996         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
997         Use the above.
998         * src/bitmap_allocator.cc: Add instantiation for size_type.
999         * src/mt_allocator.cc: Likewise.
1000         * src/pool_allocator.cc: Likewise.
1001         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1002         the existence of an _Array::begin() and size() members.
1003         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1004         of size_type, instead of char, thus avoiding problems with
1005         rebinds, not treated correctly by array_allocator.
1006
1007 2005-05-27  Paolo Carlini  <pcarlini@suse.de>
1008
1009         * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
1010         a notice about the configure options.
1011
1012 2005-05-27  Mark Mitchell  <mark@codesourcery.com>
1013
1014         * docs/html/test.html: Mention PCH_CXXFLAGS.
1015         * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
1016         available stcd++.h PCH.
1017         * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
1018
1019 2005-05-27  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1020
1021         * src/misc-inst.cc: Remove unnecessary included files.
1022
1023 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1024
1025         PR libstdc++/21674
1026         * include/bits/c++config: Remove extern template use when in debug
1027         mode, disable for non-weak systems.
1028         
1029 2005-05-27  Benjamin Kosnik  <bkoz@redhat.com>
1030
1031         PR libstdc++/20534 
1032         * include/debug/debug.h: Forwarding header, that pulls in details
1033         only if in debug mode.
1034         * include/debug/macros.h: ...transfer all the internal macros here.
1035         * include/debug/functions.h: ...transfer all the functions here.
1036         * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
1037         * include/debug/safe_sequence.h: Same.
1038         * include/debug/vector: Tweak.
1039         * include/Makefile.am (debug_headers): Add new includes.
1040         * include/Makefile.in: Regenerate.
1041         * testsuite/17_intro/no_assert_neg.cc: Add.
1042
1043         * include/ext/hash_set: Add debug mode include.
1044         * include/ext/hash_map: Same.
1045         * include/debug/hash_map: Fix included files to match actual files.
1046         * include/debug/hash_set: Same.
1047                 
1048 2005-05-26  Paolo Carlini  <pcarlini@suse.de>
1049
1050         PR libstdc++/13943
1051         * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
1052         available when _GLIBCXX_USE_C99 is defined.
1053         * testsuite/26_numerics/cstdlib/13943.cc: New.
1054
1055         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
1056         also strtoll and strtoull for ac_c99_stdlib.
1057         * configure: Regenerate.
1058
1059 2005-05-25  Benjamin Kosnik  <bkoz@redhat.com>
1060
1061         * config/linker-map.gnu: Add linkage support for no extern templates.
1062         (std::ios_base::_M_call_callbacks): Add.
1063         (std::ios_base::_M_dispose_callbacks): Add.
1064         (std::locale::facet::_S_get_c_name): Add.
1065         (std::__copy_streambufs): Add.
1066         * configure.ac (libtool_VERSION): To 6:5:0.
1067         * configure: Regenerate.
1068         * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
1069         
1070 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
1071
1072         * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
1073         Use, consistently, traits_type::assign.
1074
1075 2005-05-25  Paolo Carlini  <pcarlini@suse.de>
1076
1077         * config/cpu/alpha/atomicity.h: Use the builtins for
1078         atomic memory operations.
1079         * config/cpu/powerpc/atomicity.h: Likewise.
1080         * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
1081
1082 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
1083
1084         * testsuite/25_algorithms/equal.cc: Move to...
1085         * testsuite/25_algorithms/equal: ... here.
1086         * testsuite/25_algorithms/lower_bound.cc: Move to...
1087         * testsuite/25_algorithms/lower_bound: ... here.
1088
1089 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
1090
1091         Port from libstdcxx_so_7-branch:
1092         2005-20-05  Chris Jefferson  <chris@bubblescope.net>
1093
1094         * testsuite/25_algorithms/heap.cc: Move to...
1095         * testsuite/25_algorithms/heap/heap.cc: ...here.
1096         * testsuite/25_algorithms/partition.cc: Move to...
1097         * testsuite/25_algorithms/partition/partition.cc: ...here.
1098
1099         2005-03-29  Christopher Jefferson  <chris@bubblescope.net>
1100
1101         * testsuite/25_algorithms/includes/1.cc: Add tests.
1102         * testsuite/25_algorithms/search/1.cc: Likewise.
1103         * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
1104         * testsuite/25_algorithms/swap_ranges/1.cc: New.
1105         * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
1106         * testsuite/25_algorithms/rotate.cc: Move to...
1107         * testsuite/25_algorithms/rotate/rotate.cc: ... here.
1108         * testsuite/25_algorithms/rotate/1.cc: New.
1109         * testsuite/25_algorithms/rotate/check_type.cc: New.
1110         * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
1111
1112         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
1113
1114         * include/bits/stl_algo.h (replace_copy, replace_copy_if):
1115         Don't assume that __new_value and *__first are convertible to
1116         each other.     
1117
1118         * testsuite/25_algorithms/find/1.cc: New.
1119         * testsuite/25_algorithms/find/check_type.cc: New.
1120         * testsuite/25_algorithms/find_if/1.cc: New.
1121         * testsuite/25_algorithms/find_if/check_type.cc: New.
1122         * testsuite/25_algorithms/replace/1.cc: New.
1123         * testsuite/25_algorithms/replace/check_type.cc: New.
1124         * testsuite/25_algorithms/replace_if/1.cc: New.
1125         * testsuite/25_algorithms/replace_if/check_type.cc: New.
1126         * testsuite/25_algorithms/replace_copy/1.cc: New.
1127         * testsuite/25_algorithms/replace_copy/check_type.cc: New.
1128         * testsuite/25_algorithms/replace_copy_if/1.cc: New.
1129         * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
1130         * testsuite/25_algorithms/remove/1.cc: New.
1131         * testsuite/25_algorithms/remove/check_type.cc: New.
1132         * testsuite/25_algorithms/remove_if/1.cc: New.
1133         * testsuite/25_algorithms/remove_if/check_type.cc: New.
1134         * testsuite/25_algorithms/count/1.cc: New.
1135         * testsuite/25_algorithms/count/check_type.cc: New.
1136         * testsuite/25_algorithms/count_if/1.cc: New.
1137         * testsuite/25_algorithms/count_if/check_type.cc: New.
1138
1139         2005-02-27  Christopher Jefferson  <chris@bubblescope.net>
1140                     Paolo Carlini  <pcarlini@suse.de>
1141
1142         * testsuite/ext/is_heap/check_type.cc: New.
1143         
1144         2005-02-27  Paolo Carlini  <pcarlini@suse.de>
1145
1146         * testsuite/ext/is_heap/1.cc: New.
1147
1148         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
1149
1150         * testsuite/ext/median.cc: New.
1151         * testsuite/25_algorithms/adjacent_find/1.cc: New.
1152         * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
1153         * testsuite/25_algorithms/search/1.cc: New.
1154         * testsuite/25_algorithms/search/check_type.cc: New.
1155         * testsuite/25_algorithms/unique_copy/1.cc: New.
1156         * testsuite/25_algorithms/unique_copy/check_type.cc: New.
1157         * testsuite/25_algorithms/partial_sort/1.cc: New.
1158         * testsuite/25_algorithms/partial_sort/check_type.cc: New.
1159         * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
1160         * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
1161         * testsuite/25_algorithms/lower_bound/1.cc: New.
1162         * testsuite/25_algorithms/lower_bound/check_type.cc: New.
1163         * testsuite/25_algorithms/upper_bound/1.cc: New.
1164         * testsuite/25_algorithms/upper_bound/check_type.cc: New.
1165         * testsuite/25_algorithms/merge/1.cc: New.
1166         * testsuite/25_algorithms/merge/check_type.cc: New.
1167         * testsuite/25_algorithms/inplace_merge/1.cc: New.
1168         * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
1169         * testsuite/25_algorithms/stable_sort/1.cc: New.
1170         * testsuite/25_algorithms/stable_sort/check_type.cc: New.
1171         * testsuite/25_algorithms/nth_element/1.cc: New.
1172         * testsuite/25_algorithms/nth_element/check_type.cc: New.
1173         * testsuite/25_algorithms/equal_range/1.cc: New.
1174         * testsuite/25_algorithms/equal_range/check_type.cc: New.
1175         * testsuite/25_algorithms/binary_search/1.cc: New.
1176         * testsuite/25_algorithms/binary_search/check_type.cc: New.
1177         * testsuite/25_algorithms/includes/1.cc: New.
1178         * testsuite/25_algorithms/includes/check_type.cc: New.
1179         * testsuite/25_algorithms/set_union/1.cc: New.
1180         * testsuite/25_algorithms/set_union/check_type.cc: New.
1181         * testsuite/25_algorithms/set_intersection/1.cc: New.
1182         * testsuite/25_algorithms/set_intersection/check_type.cc: New.
1183         * testsuite/25_algorithms/set_difference/1.cc: New.
1184         * testsuite/25_algorithms/set_difference/check_type.cc: New.
1185         * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
1186         * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.  
1187         * testsuite/25_algorithms/min_element/1.cc: New.
1188         * testsuite/25_algorithms/min_element/check_type.cc: New.
1189         * testsuite/25_algorithms/max_element/1.cc: New.
1190         * testsuite/25_algorithms/max_element/check_type.cc: New.
1191         * testsuite/25_algorithms/prev_permutation/1.cc: New.
1192         * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
1193         * testsuite/25_algorithms/next_permutation/1.cc: New.
1194         * testsuite/25_algorithms/next_permutation/check_type.cc: New.
1195         * testsuite/25_algorithms/find_first_of/1.cc: New.
1196         * testsuite/25_algorithms/find_first_of/check_type.cc: New.
1197         * testsuite/25_algorithms/find_end/1.cc: New.
1198         * testsuite/25_algorithms/find_end/check_type.cc: New.
1199         * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
1200         * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
1201         Likewise.
1202
1203         2005-01-10  Christopher Jefferson <chris@bubblescope.net>
1204
1205         * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
1206         * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
1207         * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
1208         * testsuite/25_algorithms/mismatch/1.cc: Likewise.
1209         * testsuite/25_algorithms/equal/check_type.cc: New.
1210         * testsuite/25_algorithms/equal/1.cc: New.
1211
1212 2005-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1213
1214         * include/bits/allocator.h: Change ___glibcxx_base_allocator to
1215         __glibcxx_base_allocator.
1216         * config/allocator/bitmap_allocator_base.h: Same.
1217         * config/allocator/malloc_allocator_base.h: Same.
1218         * config/allocator/mt_allocator_base.h: Same.
1219         * config/allocator/new_allocator_base.h: Same.
1220         * config/allocator/pool_allocator_base.h: Same.
1221
1222 2005-05-24  Jonathan Wakely  <redi@gcc.gnu.org>
1223
1224         * include/debug/string (class basic_string): Add missing
1225         default template arguments; provide typedefs for char
1226         and wchar_t.
1227         (operator[]): Allow s[s.size()] in debug mode, but not
1228         pedantic mode.
1229
1230 2005-05-24  Paolo Carlini  <pcarlini@suse.de>
1231
1232         Port from libstdcxx_so_7-branch:
1233         2005-04-25  Christopher Jefferson  <chris@bubblescope.net>
1234
1235         * include/bits/stl_algo.h (count): Correct concept checks.
1236         (search_n) : Likewise.
1237         * testsuite/25_algorithms/search_n/check_type.cc: New.
1238
1239         * testsuite/testsuite_iterators.h
1240         (random_access_iterator_wrapper::operator+): Move out of
1241         class to external function, and add symmetric version.
1242
1243         2005-03-14  Christopher Jefferson  <chris@bubblescope.net>
1244
1245         * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
1246         Add const.
1247         
1248         2005-02-01  Christopher Jefferson  <chris@bubblescope.net>
1249
1250         * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
1251         operator--): Fix typo.
1252         (OutputContainer::OutputContainer): Correct zeroing array.
1253         (WritableObject::operator==): Fix typo.
1254         (WritableObject::operator=): make operator= templated 
1255         to allow differing types to be assigned.
1256         (WritableObject::operator++): Fix checking if iterator is
1257         written to multiple times.
1258         (random_access_iterator_wrapper::operator+): Add const.
1259         (random_access_iterator_wrapper::operator-): Likewise.
1260         (random_access_iterator_wrapper::operator[]): Add dereference.
1261
1262 2005-05-23  Jonathan Wakely  <redi@gcc.gnu.org>
1263
1264         * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
1265         had to be defined for pedantic mode in 3.4 and 4.0.0.
1266
1267 2005-05-20  Jan Beulich  <jbeulich@novell.com>
1268
1269         * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
1270         system libraries.
1271
1272 2005-05-20  Paolo Carlini  <pcarlini@suse.de>
1273
1274         * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
1275         Don't qualify __tmp as const, _ValueType is not necessarily
1276         Assignable.
1277         * include/bits/stl_algobase.h (swap, __iter_swap<false>):
1278         Likewise, as an harmless extension.
1279
1280 2005-05-19  Richard Henderson  <rth@redhat.com>
1281
1282         * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
1283
1284 2005-05-19  Jonathan Wakely  <redi@gcc.gnu.org>
1285
1286         * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
1287         debug mode, but not pedantic mode.
1288
1289 2005-05-19  Jan Beulich  <jbeulich@novell.com>
1290
1291         * libsupc++/unwind-cxx.h: Include cstdlib.
1292         (gcc_unreachable): #define.
1293         * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
1294
1295 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
1296             Nathan Myers  <ncm@cantrip.org>
1297
1298         PR libstdc++/19495
1299         * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1300         size_type instead of char and rename to _Raw_alloc.
1301         * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1302         Use the above.
1303         * src/bitmap_allocator.cc: Add instantiation for size_type.
1304         * src/mt_allocator.cc: Likewise.
1305         * src/pool_allocator.cc: Likewise.
1306         * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1307         the existence of an _Array::begin() and size() members.
1308         * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1309         of size_type, instead of char, thus avoiding problems with
1310         rebinds, not treated correctly by array_allocator.
1311
1312 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
1313
1314         * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
1315         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1316         * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
1317         missing dg-require-namedlocale.
1318         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
1319         Likewise.
1320         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
1321         Likewise.
1322         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
1323         Likewise.
1324
1325 2005-05-18  Paolo Carlini  <pcarlini@suse.de>
1326
1327         * testsuite/testsuite_hooks.cc: Remove try_named_locale.
1328         * testsuite/testsuite_hooks.h: Remove try_named_locale.
1329         * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
1330         * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
1331         the above.
1332         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
1333         dg-require-namedlocale.
1334         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
1335         Likewise.
1336         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
1337         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
1338         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
1339         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: 
1340         Likewise.
1341         * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
1342         Likewise.
1343         * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
1344         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
1345         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
1346         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
1347         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
1348         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
1349         * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
1350         Likewise.
1351         * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
1352         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
1353         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
1354         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
1355         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
1356         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise. 
1357         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
1358         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
1359         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise. 
1360         * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.    
1361         * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise. 
1362         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.    
1363         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.   
1364         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.   
1365         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.   
1366         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.   
1367         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.      
1368         * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
1369         Likewise.
1370         * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
1371         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
1372         Likewise.  
1373         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.    
1374         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.    
1375         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.    
1376         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
1377         Likewise.  
1378         * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
1379         Likewise.
1380         * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.    
1381         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise. 
1382         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.  
1383         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.  
1384         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.  
1385         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.  
1386         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise. 
1387         * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise. 
1388         * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.   
1389         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
1390         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.    
1391         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.    
1392         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.    
1393         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
1394         * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
1395         Likewise.
1396         * testsuite/22_locale/collate/compare/char/1.cc: Likewise.  
1397         * testsuite/22_locale/collate/compare/char/2.cc: Likewise.  
1398         * testsuite/22_locale/collate/compare/char/3.cc: Likewise.  
1399         * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.        
1400         * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.     
1401         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.     
1402         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.     
1403         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.     
1404         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
1405         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
1406         Likewise.  
1407         * testsuite/22_locale/collate/hash/char/2.cc: Likewise.     
1408         * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.   
1409         * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.        
1410         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.  
1411         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
1412         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.     
1413         * testsuite/22_locale/collate/transform/char/2.cc: Likewise.     
1414         * testsuite/22_locale/collate/transform/char/3.cc: Likewise.     
1415         * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.      
1416         * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
1417         Likewise.
1418         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise. 
1419         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise. 
1420         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
1421         Likewise.
1422         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1423         Likewise.
1424         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
1425         * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.    
1426         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise. 
1427         * testsuite/22_locale/ctype/is/char/2.cc: Likewise. 
1428         * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.      
1429         * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.  
1430         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.   
1431         * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.  
1432         * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
1433         * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
1434         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.        
1435         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise. 
1436         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.        
1437         * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
1438         * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.   
1439         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise. 
1440         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise. 
1441         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.       
1442         * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.       
1443         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.    
1444         * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.    
1445         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise. 
1446         * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.    
1447         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise. 
1448         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.   
1449         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.   
1450         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
1451         * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
1452         * testsuite/22_locale/facet/2.cc: Likewise.
1453         * testsuite/22_locale/locale/cons/12352.cc: Likewise.
1454         * testsuite/22_locale/locale/cons/12438.cc: Likewise.
1455         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. 
1456         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. 
1457         * testsuite/22_locale/locale/cons/2.cc: Likewise.
1458         * testsuite/22_locale/locale/cons/4.cc: Likewise.
1459         * testsuite/22_locale/locale/cons/5.cc: Likewise.
1460         * testsuite/22_locale/locale/cons/7.cc: Likewise.
1461         * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.  
1462         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.  
1463         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
1464         * testsuite/22_locale/messages/members/char/1.cc: Likewise.
1465         * testsuite/22_locale/messages/members/char/2.cc: Likewise.
1466         * testsuite/22_locale/messages/members/char/3.cc: Likewise.
1467         * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.   
1468         * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
1469         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.   
1470         * testsuite/22_locale/money_get/get/char/1.cc: Likewise.    
1471         * testsuite/22_locale/money_get/get/char/10.cc: Likewise.   
1472         * testsuite/22_locale/money_get/get/char/11.cc: Likewise.   
1473         * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
1474         * testsuite/22_locale/money_get/get/char/12.cc: Likewise.   
1475         * testsuite/22_locale/money_get/get/char/13.cc: Likewise.   
1476         * testsuite/22_locale/money_get/get/char/15.cc: Likewise.   
1477         * testsuite/22_locale/money_get/get/char/16.cc: Likewise.   
1478         * testsuite/22_locale/money_get/get/char/17.cc: Likewise.   
1479         * testsuite/22_locale/money_get/get/char/18.cc: Likewise.   
1480         * testsuite/22_locale/money_get/get/char/2.cc: Likewise.    
1481         * testsuite/22_locale/money_get/get/char/3.cc: Likewise.    
1482         * testsuite/22_locale/money_get/get/char/4.cc: Likewise.    
1483         * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise. 
1484         * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.  
1485         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 
1486         * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.      
1487         * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.      
1488         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
1489         * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.      
1490         * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.      
1491         * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.      
1492         * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.      
1493         * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.      
1494         * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.      
1495         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. 
1496         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. 
1497         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. 
1498         * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.      
1499         * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
1500         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.  
1501         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.  
1502         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.  
1503         * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.      
1504         * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise. 
1505         * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.  
1506         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise. 
1507         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise. 
1508         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise. 
1509         * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.     
1510         * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
1511         * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
1512         * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.    
1513         * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
1514         Likewise. 
1515         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.   
1516         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
1517         Likewise.
1518         * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
1519         Likewise.
1520         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
1521         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.   
1522         * testsuite/22_locale/num_get/get/char/3.cc: Likewise.   
1523         * testsuite/22_locale/num_get/get/char/5.cc: Likewise.   
1524         * testsuite/22_locale/num_get/get/char/6.cc: Likewise.   
1525         * testsuite/22_locale/num_get/get/char/9.cc: Likewise.   
1526         * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
1527         * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise. 
1528         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.  
1529         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.  
1530         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.  
1531         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.  
1532         * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.  
1533         * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise. 
1534         * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise. 
1535         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.      
1536         * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.  
1537         * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.  
1538         * testsuite/22_locale/num_put/put/char/3.cc: Likewise.      
1539         * testsuite/22_locale/num_put/put/char/5.cc: Likewise.      
1540         * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise. 
1541         * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.    
1542         * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise. 
1543         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise. 
1544         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.   
1545         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.   
1546         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise. 
1547         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
1548         * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
1549         * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise. 
1550         * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
1551         * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
1552         * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.    
1553         * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
1554         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.    
1555         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
1556         * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
1557         Likewise. 
1558         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.       
1559         * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.    
1560         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
1561         Likewise. 
1562         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
1563         Likewise. 
1564         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
1565         Likewise.
1566         * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
1567         * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.   
1568         * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.      
1569         * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
1570         Likewise.
1571         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise. 
1572         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.     
1573         * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.     
1574         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
1575         Likewise.  
1576         * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
1577         Likewise.
1578         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.  
1579         * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
1580         Likewise.
1581         * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
1582         Likewise.
1583         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
1584         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
1585         Likewise.
1586         * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
1587         Likewise.
1588         * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
1589         * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
1590         * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
1591         * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
1592         Likewise.
1593         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
1594         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
1595         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
1596         Likewise. 
1597         * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
1598         Likewise.
1599         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
1600         * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
1601         Likewise.
1602         * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
1603         Likewise. 
1604         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
1605         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
1606         Likewise.    
1607         * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
1608         Likewise. 
1609         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise. 
1610         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.     
1611         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.     
1612         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.     
1613         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.     
1614         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.     
1615         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.     
1616         * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.       
1617         * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
1618         * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.  
1619         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.   
1620         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
1621         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
1622         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
1623         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
1624         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
1625         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
1626         * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.     
1627         * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
1628         * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.  
1629         * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
1630         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1631         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
1632         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1633         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
1634         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. 
1635         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.       
1636         * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
1637         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.   
1638         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. 
1639         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. 
1640         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. 
1641         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. 
1642         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.       
1643         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.    
1644         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.  
1645         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.  
1646         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.  
1647         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.  
1648         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.    
1649         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.    
1650         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. 
1651         * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.  
1652         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.  
1653         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.  
1654         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.  
1655         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.  
1656         * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
1657         * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
1658         * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
1659         * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
1660         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.        
1661         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.   
1662         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
1663         Likewise.   
1664         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
1665         Likewise.
1666         * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
1667         * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
1668         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.  
1669         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.    
1670         * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.    
1671         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. 
1672         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.    
1673         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
1674         * testsuite/27_io/objects/wchar_t/10.cc: Likewise. 
1675         * testsuite/27_io/objects/wchar_t/11.cc: Likewise. 
1676         * testsuite/27_io/objects/wchar_t/12.cc: Likewise. 
1677         * testsuite/27_io/objects/wchar_t/13.cc: Likewise. 
1678         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
1679         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1680
1681 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
1682
1683         * libsupc++/eh_personality.cc (gcc_unreachable): Define.
1684
1685 2005-05-16  Paolo Carlini  <pcarlini@suse.de>
1686
1687         * docs/html/install.html: Update list of required named
1688         locales, add "es_ES".
1689
1690 2005-05-13  Magnus Fromreide  <magfr@lysator.liu.se>
1691
1692         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
1693         initialization instead of copying as the string is used only once.
1694         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
1695         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1696         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
1697
1698 2005-05-12  Benjamin Kosnik  <bkoz@redhat.com>
1699
1700         * scripts/create_testsuite_files: Fix.
1701         
1702 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1703
1704         * testsuite/18_support/numeric_limits.cc (dg-options): Add
1705         -mieee to options on sh*-*-*.
1706
1707 2005-05-10  Jonathan Wakely  <redi@gcc.gnu.org>
1708
1709         * include/debug/debug.h: Fix typo in macro name.
1710
1711 2005-05-09  Paolo Carlini  <pcarlini@suse.de>
1712             Giovanni Bajo  <giovannibajo@gcc.gnu.org>
1713             
1714         PR libstdc++/18604
1715         * include/bits/deque.tcc: Fully qualify names from namespace std.
1716         * include/bits/stl_bvector.h: Likewise.
1717         * include/bits/stl_deque.h: Likewise.
1718         * include/bits/stl_list.h: Likewise.
1719         * include/bits/stl_map.h: Likewise.
1720         * include/bits/stl_multimap.h: Likewise.
1721         * include/bits/stl_multiset.h: Likewise.
1722         * include/bits/stl_set.h: Likewise.
1723         * include/bits/stl_vector.h: Likewise.
1724         * include/bits/vector.tcc: Likewise.
1725         * include/std/std_bitset.h: Likewise.
1726         * testsuite/23_containers/bitset/18604.cc: New.
1727         * testsuite/23_containers/deque/18604.cc: Likewise.
1728         * testsuite/23_containers/list/18604.cc: Likewise.
1729         * testsuite/23_containers/map/18604.cc: Likewise.
1730         * testsuite/23_containers/set/18604.cc: Likewise.
1731         * testsuite/23_containers/vector/18604.cc: Likewise.    
1732
1733 2005-05-09  Mike Stump  <mrs@apple.com>
1734
1735         * configure: Regenerate.
1736
1737 2005-05-09  Jonathan Wakely  <redi@gcc.gnu.org>
1738
1739         DR 434. bitset::to_string() hard to use [Ready]
1740         * include/debug/bitset (to_string): Add three overloads, taking
1741         fewer template arguments.
1742
1743 2005-05-06  Mark Mitchell  <mark@codesourcery.com>
1744
1745         * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
1746         * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
1747         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1748         dg-require-fork and dg-require-mkfifo.  Replace try_mkfifo with
1749         mkfifo.
1750         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1751         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1752         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1753         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
1754         Likewise.
1755         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1756         Likewise.
1757         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1758         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
1759         Likewise.
1760         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1761         * testsuite/27_io/objects/char/7.cc: Likewise.
1762         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1763         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1764         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1765
1766 2005-05-04  Benjamin Kosnik  <bkoz@redhat.com>
1767
1768         * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
1769         * testsuite/Makefile.am: Same.
1770         * scripts/create_testsuite_files: Same. 
1771         * Makefile.in: Regenerate.
1772         * configure: Same.
1773         * include/Makefile.in: Same.
1774         * libmath/Makefile.in: Same.
1775         * libsupc++/Makefile.in: Same.
1776         * po/Makefile.in: Same.
1777         * src/Makefile.in: Same.
1778
1779 2005-05-04  Mark Mitchell  <mark@codesourcery.com>
1780
1781         * testsuite/lib/libstdc++.exp (v3-build_support): Look for
1782         __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
1783         whether or not thread support is available.
1784
1785         * docs/html/test.html: Explain how to run the testsuite on an
1786         installed directory. 
1787
1788 2005-05-01  Paolo Carlini  <pcarlini@suse.de>
1789
1790         * config/os/aix/os_defines.h: Remove obsolete __off_t,
1791         __off64_t, __ssize_t defines.
1792         * config/os/djgpp/os_defines.h: Likewise.
1793         * config/os/hpux/os_defines.h: Likewise.
1794         * config/os/irix/irix5.2/os_defines.h: Likewise.
1795         * config/os/irix/irix6.5/os_defines.h: Likewise.
1796         * config/os/solaris/solaris2.5/os_defines.h: Likewise.
1797         * config/os/solaris/solaris2.6/os_defines.h: Likewise.
1798         * config/os/solaris/solaris2.7/os_defines.h: Likewise.
1799         * docs/html/17_intro/porting.html: Don't discuss the defines.
1800         * docs/html/17_intro/porting.texi: Likewise.
1801
1802 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
1803             Nathan Myers  <ncm@cantrip.org>
1804
1805         PR libstdc++/21286
1806         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
1807         Loop on short reads; remove the work-around for
1808         libstdc++/20806, not needed anymore.
1809
1810 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
1811
1812         PR libstdc++/21238
1813         * include/bits/locale_facets.tcc (num_get::_M_extract_float,
1814         num_get::_M_extract_int, num_get::do_get(bool&),
1815         num_put::_M_insert_int, num_put::_M_insert_float,
1816         num_put::do_put(bool), money_get::_M_extract,
1817         money_put::_M_insert): Adjust the __cache_type typedef not to
1818         forward to a numpunct/moneypunct typedef.
1819         * testsuite/testsuite_character.h: Add pod_uint and its numpunct
1820         and moneypunct specializations.
1821         * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
1822         and moneypunct<pod_uint>::id.
1823         * testsuite/22_locale/num_get/3.cc: New.
1824         * testsuite/22_locale/num_put/3.cc: Likewise.
1825         * testsuite/22_locale/money_get/3.cc: Likewise.
1826         * testsuite/22_locale/money_put/3.cc: Likewise.
1827
1828         * include/bits/locale_facets.tcc (money_put::_M_insert,
1829         time_get::_M_extract_name): Prefer operator== to operator!=
1830         on char_types.
1831
1832 2005-04-29  Paolo Carlini  <pcarlini@suse.de>
1833
1834         * include/tr1/type_traits (is_convertible): Adjust according
1835         to the resolution of TR1 issue 3.20.
1836         * testsuite/tr1/4_metaprogramming/relationships_between_types/
1837         is_convertible/is_convertible.cc: Add tests.
1838
1839 2005-04-28  Paolo Carlini  <pcarlini@suse.de>
1840             Gabriel Dos Reis  <gdr@integrable-solutions.net>
1841
1842         PR libstdc++/21244 (cont)
1843         * include/bits/cpp_type_traits.h (struct __traitor): Convert
1844         to bool the values.
1845         * include/bits/stl_algo.h: Convert _S_threshold to int.
1846         * include/bits/stl_bvector.h: Revert previous change, convert
1847         _S_word_bit to int.
1848         * include/debug/formatter.h: Convert __max_parameters to
1849         size_t.
1850         * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
1851         * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
1852         _S_align.
1853         * include/ext/rope: Likewise for _S_alloc_granularity; convert
1854         _S_max_rope_depth to int.
1855         * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
1856         _S_max_rope_depth to int; _S_copy_max to size_t.
1857
1858 2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
1859
1860         * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
1861         * docs/doxygen/doxygroups.cc: Update namespace comments.
1862
1863 2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
1864             Paolo Carlini  <pcarlini@suse.de>
1865
1866         PR libstdc++/21244
1867         * include/bits/stl_bvector.h: Change the anonymous enum
1868         at namespace scope to _S_word_bit_enum.
1869         * testsuite/23_containers/vector/bool/21244.cc: New.
1870
1871 2005-04-27  Paolo Carlini  <pcarlini@suse.de>
1872
1873         * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
1874         has_nothrow_copy, has_nothrow_assign): Adjust according to the
1875         resolution of TR1 issue 3.21.
1876         * testsuite/testsuite_tr1.h (test_copy_property,
1877         test_assign_property): Remove.
1878         * testsuite/tr1/4_metaprogramming/type_properties/
1879         has_nothrow_assign/has_nothrow_assign.cc: Adjust.
1880         * testsuite/tr1/4_metaprogramming/type_properties/
1881         has_nothrow_copy/has_nothrow_copy.cc: Likewise.
1882         * testsuite/tr1/4_metaprogramming/type_properties/
1883         has_trivial_assign/has_trivial_assign.cc: Likewise.
1884         * testsuite/tr1/4_metaprogramming/type_properties/
1885         has_trivial_copy/has_trivial_copy.cc: Likewise.
1886
1887 2005-04-26  Jones Desougi  <jones@ingate.com>
1888
1889         PR libstdc++/21131
1890         * linkage.m4: Fix comments.
1891
1892 2005-04-26  Paolo Carlini  <pcarlini@suse.de>
1893
1894         PR libstdc++/21209
1895         * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
1896         integer overflow, always use a suited unsigned type in the main
1897         parsing loop.
1898         (struct __to_unsigned_type): New.
1899         * testsuite/22_locale/num_get/get/char/16.cc: New.
1900         * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
1901
1902 2005-04-25  Paolo Carlini  <pcarlini@suse.de>
1903
1904         PR libstdc++/21035
1905         * include/bits/basic_string.h (compare): Adjust the documentation
1906         to match the implementation and the standard.
1907
1908 2005-04-24  Paolo Carlini  <pcarlini@suse.de>
1909
1910         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
1911
1912 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
1913
1914         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
1915         explicit instantiations for systems without weak symbols.
1916         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
1917         Likewise. 
1918
1919 2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>
1920
1921         * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
1922
1923 2005-04-17  Paolo Carlini  <pcarlini@suse.de>
1924
1925         PR libstdc++/20914
1926         * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
1927         const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
1928         base or sign here, instead...
1929         (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
1930         after adding the grouping. This fixes the bug and also allows to
1931         clean-up the code dealing with integer types.
1932         (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
1933         _CharT*, int&)): Simplify, remove bits dealing with numeric base.
1934         (__int_to_char(_CharT*, unsigned long, const _CharT*,
1935         ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
1936         const _CharT*, ios_base::fmtflags)): Remove hackish fix for
1937         libstdc++/15565.
1938         (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
1939         __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
1940         Simplify, don't pass the sign.
1941         (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
1942         Deal with a sign at the beginning of __cs; robustify the grouping
1943         check.
1944         * testsuite/22_locale/num_put/put/char/20914.cc: New.
1945         * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
1946
1947 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
1948
1949         * include/ext/bitmap_allocator.h
1950         (__gnu_cxx::free_list::_M_get_mutex): New.
1951         (__gnu_cxx::free_list::_M_get_free_list): New.
1952         (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
1953         (__gnu_cxx::free_list::_S_free_list): Remove.
1954         * src/bitmap_allocator.cc: Same.
1955         * config/linker-map.gnu: Remove free_list and mutex export.
1956
1957 2005-04-14  Benjamin Kosnik  <bkoz@redhat.com>
1958
1959         *  include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
1960         (character::to): New.
1961         (character::from): New.
1962         (operator==): Add state parameter.
1963         (operator<): Same.
1964         (char_traits::copy): Use std::copy.
1965         (char_traits::assign): Use std::fill_n.
1966         (char_traits::to_char_type): Use character::from.
1967         (char_traits::to_int_type): Use character::to.
1968         *  testsuite/testsuite_character.h (__gnu_test::character): Remove.
1969         (__gnu_test::conversion_state): Remove.
1970         (__gnu_test::pod_char): Remove.
1971         (pod_char): New typedef.
1972         (pod_uchar): New typedef.
1973         (pod_ushort): New typedef.
1974         *  testsuite/testsuite_character.cc: Fixups.
1975         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
1976         10081-in.cc: Same.
1977         *  testsuite/21_strings/basic_string/inserters_extractors/pod/
1978         10081-out.cc: Same.
1979         *  testsuite/22_locale/numpunct/members/pod/1.cc: Same.
1980         *  testsuite/22_locale/numpunct/members/pod/2.cc: Same.
1981         *  testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
1982         *  testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
1983         *  testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
1984         *  testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
1985         *  testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
1986         *  testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
1987         *  testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
1988         *  testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
1989         *  testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
1990         *  testsuite/27_io/basic_ios/imbue/14072.cc: Same.
1991         *  testsuite/27_io/basic_istream/extractors_arithmetic/pod/
1992         3983-1.cc: Same.
1993         *  testsuite/27_io/basic_istream/extractors_character/pod/
1994         3983-2.cc: Same.
1995         *  testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
1996         *  testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
1997         *  testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
1998
1999 2005-04-12  Mike Stump  <mrs@apple.com>
2000
2001         * configure: Regenerate.
2002
2003 2005-04-08  Benjamin Kosnik  <bkoz@redhat.com>
2004
2005         * testsuite/Makefile.am: Remove libv3test.a.
2006         * testsuite/Makefile.in: Regenerate.
2007         * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
2008         
2009 2005-04-08  Paolo Carlini  <pcarlini@suse.de>
2010
2011         PR libstdc++/20909
2012         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2013         Don't even try to group numbers like 2e20, i.e., no decimal
2014         point, scientific notation.
2015         * testsuite/22_locale/num_put/put/char/20909.cc: New.
2016         * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2017
2018 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2019
2020         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2021         * acconfig.h: Delete file.
2022         * Makefile.in, acinclude.m4, configure: Regenerate.
2023
2024 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2025
2026         * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2027         (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
2028         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
2029         GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
2030         GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
2031         GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
2032         (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
2033         * acconfig.h: Delete redundant macros.
2034         * config.h.in, configure: Regenerate.
2035
2036 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2037
2038         * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
2039         a subshell and if test fails, test for same functions with 
2040         leading underscore.
2041         (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
2042         * configure: Regenerate.
2043
2044 2005-04-08  Danny Smith  <dannysmith@users.sourceforge.net>
2045             Paolo Carlini  <pcarlini@suse.de>
2046                         
2047         PR libstdc++/20806
2048         * config/os/mingw32/os_defines.h: Define
2049         _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
2050         * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
2051         * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
2052         Use it.
2053         (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
2054
2055 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2056
2057         * acconfig.h: Sort the bottom section.
2058         * config.h.in: Regenerate.
2059
2060 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2061
2062         * acconfig.h: Remove redundant HAVE_FLOAT_H.
2063         * config.h.in: Regenerate.
2064
2065 2005-04-08  Kelley Cook  <kcook@gcc.gnu.org>
2066
2067         * configure.ac: Create template for PACKAGE and VERSION.
2068         Update comment on how to regenerate file.  Update minimum
2069         automake version to 1.9.3.
2070         * acconfig.h: Remove PACKAGE and VERSION.
2071         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
2072         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
2073         testsuite/Makefile.in, config.h.in: Regenerate.
2074
2075 2005-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2076
2077         * docs/html/test.html: Update.
2078         * testsuite/printnow.c: Remove.
2079         * scripts/check_survey.in: Remove.
2080
2081         * testsuite/abi_check.cc: To...
2082         * testuite/testsuite_abi_check.cc: ...here.
2083         * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
2084         testsuite_abi_check.cc.
2085
2086         * testsuite/testsuite_hooks.h: Move character related bits to...
2087         * testsuite/testsuite_character.h: ...here.
2088         * testsuite/testsuite_character.cc: ... and here.
2089         * testsuite/21_strings/basic_string/inserters_extractors/pod/
2090         10081-in.cc: Use testsuite_character.h.
2091         * testsuite/21_strings/basic_string/inserters_extractors/pod/
2092         10081-out.cc: Same.
2093         * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2094         * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2095         * testsuite/27_io/basic_filebuf/2.cc: Same.
2096         * testsuite/27_io/basic_fstream/2.cc: Same.
2097         * testsuite/27_io/basic_istream/2.cc: Same.
2098         * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2099         3983-1.cc: Same.
2100         * testsuite/27_io/basic_istream/extractors_character/char/
2101         9826.cc: Same.
2102         * testsuite/27_io/basic_istream/extractors_character/pod/
2103         3983-2.cc: Same.
2104         * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2105         * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2106         * testsuite/27_io/basic_ostream/2.cc: Same.
2107         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2108         * testsuite/27_io/basic_streambuf/2.cc: Same.
2109         * testsuite/27_io/basic_stringbuf/2.cc: Same.
2110         * testsuite/27_io/basic_stringbuf/4.cc: Same.
2111         * testsuite/27_io/basic_stringstream/2.cc: Same.
2112         * testsuite/27_io/fpos/1.cc: Same.
2113         * testsuite/ext/mt_allocator/tune-1.cc: Same.
2114         * testsuite/ext/mt_allocator/tune-2.cc: Same.
2115         * testsuite/ext/stdio_filebuf/char/1.cc: Same.  
2116         * testsuite/lib/libstdc++.exp (v3-build_support): Add
2117         testsuite_character.cc.
2118         * testsuite/Makefile.am (libv3test_a_SOURCES): Add
2119         testsuite_character.cc.
2120         * testsuite/Makefile.in: Regenerate.
2121                 
2122         * configure.ac: Remove use of check_survey.
2123         * configure: Regenerate.
2124         * testsuite/Makefile.am: Remove check-script and
2125         check-script-install rules.
2126         * testsuite/Makefile.in: Regenerate.
2127
2128 2005-04-06  Ulrich Weigand  <uweigand@de.ibm.com>
2129
2130         * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
2131         clobber to inline assembly statement.
2132
2133 2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
2134
2135         * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
2136         _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
2137         _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
2138         _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
2139         _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
2140         HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
2141         HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
2142         * acconfig.h: ... to eliminate them from here.
2143         (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
2144         * config.h.in, configure: Regenerate.
2145         
2146 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2147
2148         * Makefile.am (ACLOCAL_AMFLAGS): Define.
2149         * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
2150         * configure.ac: Use it.
2151         * acinclude.m4: Delete explicit m4_includes and sincludes.
2152         * aclocal.m4, configure, Makefile.in, po/Makefile.in, 
2153         src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
2154         testsuite/Makefile.in: Regenerate.
2155
2156 2005-04-05  Jonathan Wakely  <redi@gcc.gnu.org>
2157
2158         * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
2159         to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
2160         to destroy resources by testing for equality, not inequality. Add
2161         empty critical sections to solve memory visibility issues.
2162         * testsuite/tr1/2_general_utilities/memory/
2163         shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
2164         explicitly listing line numbers which need to be kept in sync.
2165         * testsuite/tr1/2_general_utilities/memory/
2166         shared_ptr/assign/auto_ptr_neg.cc: Same.
2167         * testsuite/tr1/2_general_utilities/memory/
2168         shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
2169         * testsuite/tr1/2_general_utilities/memory/
2170         shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
2171         -fno-exceptions.
2172         * testsuite/tr1/2_general_utilities/memory/
2173         enable_shared_from_this/not_shared.cc: Add explanatory comments.
2174         * testsuite/tr1/2_general_utilities/memory/
2175         enable_shared_from_this/not_shared2.cc: Same.
2176         * testsuite/tr1/2_general_utilities/memory/
2177         enable_shared_from_this/not_shared3.cc: Same.
2178
2179 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2180
2181         * acconfig.h: Delete macros already AC_DEFINED.
2182         * config.h.in: Regenerate.
2183
2184 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2185
2186         * acconfig.h (HAVE_MODF): Remove.
2187         * linkage.m4: Check for modf.
2188         * config.h.in, configure: Regenerate.
2189
2190 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2191
2192         * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
2193         (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
2194         * config.h.in: Regenerate.
2195         
2196 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2197
2198         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro 
2199         to convert to uppercase instead of shelling out to tr.
2200         * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
2201         * configure, config.h.in: Regenerate.
2202
2203 2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
2204
2205         * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
2206         * config.h.in: Regenerate.
2207
2208 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
2209
2210         * testsuite/Makefile.am (check-local): Remove.
2211         (curent_symbols.txt): Likewise.
2212         (check-abi): Do not depend on current_symbols.txt.
2213         * testsuite/Makefile.in: Regenerated.
2214         * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
2215
2216 2005-04-02  Douglas Gregor  <doug.gregor@gmail.com>
2217         
2218         * include/tr1/tuple_iterate.h (tuple_element): Use new macro
2219         _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
2220         * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
2221         each iteration.
2222         * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
2223         each iteration.
2224         
2225 2005-04-01  Douglas Gregor  <doug.gregor@gmail.com>
2226
2227         * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
2228         member pointers in _Mem_fn but let other function objects pass
2229         through unchanged.
2230         * include/tr1/functional_iterator (bind): Reduce number of bind()
2231         overloads to two to eliminate ambiguities. Use
2232         _Maybe_wrap_member_pointer to handle member pointers gracefully.
2233         
2234 2005-04-01  Mark Mitchell  <mark@codesourcery.com>
2235
2236         * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
2237         (site.exp): Write out the path to the baseline file.
2238         (check-abi): Use DejaGNU.
2239         (check-abi-verbose): Remove.
2240         * testsuite/Makefile.in: Regenerated.
2241         * testsuite/abi_check.cc (main): Check the return value from
2242         compare_symbols.
2243         * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
2244         * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
2245         * testsuite/libstdc++-abi/abi.exp: New file.
2246
2247 2005-03-31  Chris Jefferson  <chris@bubblescope.net>
2248
2249         * include/tr1/tuple: Support iteration via tuple_iterate.h.
2250         * include/tr1/tuple_iterate.h: Iteration file for tuple.
2251
2252 2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>
2253
2254         * include/Makefile.am (tr1_headers): Add bind and mu repetition
2255         headers and reference_wrapper<> forwarding header.
2256         * include/Makefile.in: Regenerate.
2257         * include/tr1/bind_iterate.h: Implementation of function call
2258         operators for the function object returned from tr1::bind().
2259         * include/tr1/bind_repeat.h: Bind-specific repetition header,
2260         akin to include/tr1/repeat.h.
2261         * include/tr1/functional (_Mem_fn): Bug fix: declare result member
2262         template for use with result_of.
2263         (is_bind_expression): New.
2264         (is_placeholder): New.
2265         (_Placeholder): New. Placeholder type for bind.
2266         (_Mu): New. Implementation detail of bind.
2267         (_Bind, _Bind_result): New. Function objects returned by bind.
2268         (_GLIBCXX_JOIN): New. Required to create bind placeholders.
2269         * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
2270         New. Implementation of tr1::bind.
2271         * include/tr1/mu_iterate.h (_Mu): result template and operator()
2272         for the _Mu helper to bind.
2273         * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
2274         used by tuple header.
2275         (ref): Ditto.
2276         (cref): Ditto.
2277         * include/tr1/repeat.h: Add bind-specific repetition macros.
2278         * include/tr1/tuple: Use reference_wrapper forwarding header for
2279         initial definitions, then include <tr1/functional> at the end, to
2280         make the circular dependencies work.
2281         (tie): Support zero-argument tie() function.
2282         * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
2283         bind() functionality with parameters bound.
2284         * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
2285         nested bind() expressions.
2286         * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
2287         of bind() placeholders.
2288         * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
2289         with arguments bound via reference_wrapper<>.
2290         * scripts/gen_includers.pl: Generate the repetitive part of
2291         include/tr1/repeat.h.
2292         * scripts/gen_bind_includers.pl: Generate the repetitive part of
2293         include/tr1/bind_repeat.h. 
2294         
2295 2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
2296
2297         * testsuite/Makefile.am (CXX): Use ${SHELL}.
2298         (GLIBCXX_INCLUDES): Same.
2299         (AM_CXXFLAGS): Same.
2300         * testsuite/Makefile.in: Regenerate.
2301
2302 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
2303
2304         * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
2305         when testing an installed compiler.
2306         
2307         * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
2308         compiling support objects.
2309
2310 2005-03-24  Benjamin Kosnik  <bkoz@redhat.com>
2311
2312         * include/tr1/memory: Forward to...
2313         * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
2314         * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
2315         * include/Makefile.in: Regenerate.
2316         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
2317         auto_ptr_neg.cc: Adjust line numbers.
2318
2319 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
2320
2321         * testsuite/Makefile.am (all-local): Do not build testsuite_files.
2322         * testsuite/Makefile.in: Regenerated. 
2323
2324 2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
2325
2326         * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
2327         using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
2328         _GLIBCXX_USE_C99_WCHAR.
2329         Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
2330         and GLIBCXX_ENABLE_WCHAR_T.
2331         Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in 
2332         GLIBCXX_ENABLE_C99.
2333         Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
2334         GLIBCXX_CHECK_ICONV_SUPPORT.
2335         * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
2336         GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
2337         * crossconfig.m4: Same.
2338         * acconfig.h: Same, adjust comments.
2339         * config.h.in: Regenerate.
2340         * configure: Regenerate.
2341         * docs/html/configopts.html: Change --enable-c-mbchar to
2342         --enable-wchar_t.
2343
2344         * config/locale/gnu/c++locale_internal.h: Guard wide functions
2345         with _GLIBCXX_USE_WCHAR_T.
2346         * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
2347         * include/c_std/std_cstdio.h: Spacing.
2348
2349         * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
2350         * src/debug.cc: Same.
2351
2352 2005-03-23  Mark Mitchell  <mark@codesourcery.com>
2353
2354         * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
2355         exists.
2356
2357         * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
2358         (v3-wchar_t): ... this.
2359         (libstdc++_threads): Rename to ...
2360         (v3-threads): ... this.
2361         (libstdc++_test_objs): Rename to ...
2362         (v3-test_objs): ... this.
2363         (libstdc++_build_support): Rename to ...
2364         (v3-build_support): ... this.
2365         * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
2366
2367         * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
2368         of compilers not in the build directory.
2369         (libstdc++_wchar_t): New variable.
2370         (libstdc++_threads): Likewise.
2371         (libstdc++_test_objs): Likewise.
2372         (v3_target_compile): Use libstdc++_test_objs.
2373         (v3-list-tests): Remove.
2374         (listdc++_build_support): New function.
2375         * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
2376         generate list of tests.
2377
2378 2005-03-21  Chris Jefferson  <chris@bubblescope.net>
2379
2380         PR libstdc++/20577
2381         * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
2382         to swap when the iterator's reference_type is a reference to its
2383         value_type.
2384         * testsuite/25_algorithms/iter_swap/20577.cc: New.
2385
2386 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2387
2388         * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
2389         (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
2390         is expanded by the Makefiles, not by configure.
2391         * fragment.am: Set gcc_version.
2392         * libmath/Makefile.am: Likewise.
2393         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
2394         * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
2395         * testsuite/Makefile.in: Regenerate.
2396
2397 2005-03-16  Paolo Carlini  <pcarlini@suse.de>
2398
2399         * testsuite/20_util/functional/binders.cc: Remove explicit
2400         instantiations for non-weak systems.
2401         * testsuite/20_util/memory/allocator/1.cc: Likewise.
2402         * testsuite/20_util/memory/allocator/10378.cc: Likewise.
2403         * testsuite/20_util/memory/allocator/10416.cc: Likewise.
2404         * testsuite/20_util/memory/allocator/8230.cc: Likewise.
2405         * testsuite/20_util/utility/rel_ops.cc: Likewise.
2406         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2407         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2408         * testsuite/23_containers/deque/cons/1.cc: Likewise.
2409         * testsuite/23_containers/deque/cons/2.cc: Likewise.
2410         * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
2411         * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
2412         * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
2413         * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
2414         * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
2415         * testsuite/23_containers/deque/operators/1.cc: Likewise.
2416         * testsuite/23_containers/list/capacity/1.cc: Likewise.
2417         * testsuite/23_containers/list/cons/1.cc: Likewise.
2418         * testsuite/23_containers/list/cons/2.cc: Likewise.
2419         * testsuite/23_containers/list/cons/3.cc: Likewise.
2420         * testsuite/23_containers/list/cons/4.cc: Likewise.
2421         * testsuite/23_containers/list/cons/5.cc: Likewise.
2422         * testsuite/23_containers/list/cons/6.cc: Likewise.
2423         * testsuite/23_containers/list/cons/7.cc: Likewise.
2424         * testsuite/23_containers/list/cons/8.cc: Likewise.
2425         * testsuite/23_containers/list/cons/9.cc: Likewise.
2426         * testsuite/23_containers/list/invalidation/1.cc: Likewise.
2427         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
2428         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
2429         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
2430         * testsuite/23_containers/list/modifiers/1.cc: Likewise.
2431         * testsuite/23_containers/list/modifiers/2.cc: Likewise.
2432         * testsuite/23_containers/list/modifiers/3.cc: Likewise.
2433         * testsuite/23_containers/list/operators/1.cc: Likewise.
2434         * testsuite/23_containers/list/operators/2.cc: Likewise.
2435         * testsuite/23_containers/list/operators/3.cc: Likewise.
2436         * testsuite/23_containers/list/operators/4.cc: Likewise.
2437         * testsuite/23_containers/map/insert/1.cc: Likewise.
2438         * testsuite/23_containers/map/invalidation/1.cc: Likewise.
2439         * testsuite/23_containers/map/invalidation/2.cc: Likewise.
2440         * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
2441         * testsuite/23_containers/map/operators/1.cc: Likewise.
2442         * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
2443         * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
2444         * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
2445         * testsuite/23_containers/multiset/insert/1.cc: Likewise.
2446         * testsuite/23_containers/multiset/insert/2.cc: Likewise.
2447         * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
2448         * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
2449         * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
2450         * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
2451         * testsuite/23_containers/queue/members/7157.cc: Likewise.
2452         * testsuite/23_containers/set/insert/1.cc: Likewise.
2453         * testsuite/23_containers/set/invalidation/1.cc: Likewise.
2454         * testsuite/23_containers/set/invalidation/2.cc: Likewise.
2455         * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
2456         * testsuite/23_containers/stack/members/7158.cc: Likewise.
2457         * testsuite/23_containers/vector/bool/6886.cc: Likewise.
2458         * testsuite/23_containers/vector/capacity/1.cc: Likewise.
2459         * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
2460         * testsuite/23_containers/vector/cons/1.cc: Likewise.
2461         * testsuite/23_containers/vector/cons/2.cc: Likewise.
2462         * testsuite/23_containers/vector/cons/3.cc: Likewise.
2463         * testsuite/23_containers/vector/cons/6513.cc: Likewise.
2464         * testsuite/23_containers/vector/element_access/1.cc: Likewise.
2465         * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
2466         * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
2467         * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
2468         * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
2469         * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
2470         * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
2471         * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
2472         * testsuite/23_containers/vector/resize/1.cc: Likewise.
2473         * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
2474         * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
2475         * testsuite/24_iterators/insert_iterator.cc: Likewise.
2476         * testsuite/24_iterators/iterator.cc: Likewise.
2477         * testsuite/25_algorithms/copy/1.cc: Likewise.
2478         * testsuite/25_algorithms/copy/2.cc: Likewise.
2479         * testsuite/25_algorithms/copy/3.cc: Likewise.
2480         * testsuite/25_algorithms/copy/4.cc: Likewise.
2481         * testsuite/25_algorithms/equal.cc: Likewise.
2482         * testsuite/25_algorithms/fill/1.cc: Likewise.
2483         * testsuite/25_algorithms/fill/2.cc: Likewise.
2484         * testsuite/25_algorithms/min_max.cc: Likewise.
2485         * testsuite/25_algorithms/rotate.cc: Likewise.
2486         * testsuite/25_algorithms/unique/1.cc: Likewise.
2487         * testsuite/25_algorithms/unique/2.cc: Likewise.
2488         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2489         * testsuite/ext/concept_checks.cc: Likewise.
2490         * testsuite/ext/hash_map/1.cc: Likewise.
2491         * testsuite/ext/hash_set/1.cc: Likewise.
2492         * testsuite/ext/rope/1.cc: Likewise.
2493         * testsuite/ext/rope/2.cc: Likewise.
2494         * testsuite/ext/rope/3.cc: Likewise.
2495         * testsuite/thread/pthread1.cc: Likewise.
2496         * testsuite/thread/pthread4.cc: Likewise.
2497         * testsuite/thread/pthread5.cc: Likewise.
2498         * testsuite/thread/pthread6.cc: Likewise.
2499         * testsuite/thread/pthread7-rope.cc: Likewise.
2500
2501 2005-03-15  Zack Weinberg  <zack@codesourcery.com>
2502
2503         * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
2504         subdirectory.  Generate #define of __GLIBCXX__ from contents of
2505         that file.
2506         * include/Makefile.in: Regenerate.
2507         * include/bits/c++config: Do not define __GLIBCXX__.
2508
2509 2005-03-15  Paolo Carlini  <pcarlini@suse.de>
2510
2511         PR libstdc++/20352
2512         * include/std/std_complex.h (pow(const complex<_Tp>&,
2513         const _Tp&)): On non-c99 platforms, don't try to compute
2514         log of complex zero.
2515
2516 2005-03-10  Ben Elliston  <bje@au.ibm.com>
2517
2518         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
2519         on GNU/Linux.
2520
2521 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
2522
2523         * include/tr1/type_traits (is_polymorphic): Don't forget
2524         the virtual destructor, thus avoiding warnings.
2525         * testsuite/testsuite_tr1.h (class AbstractClass,
2526         class PolymorphicClass): Likewise.
2527
2528 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
2529
2530         * include/std/std_complex.h (pow(const complex<_Tp>&,
2531         const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
2532         __y.__rep()) or __complex_pow(__x, __y) depending on the macro
2533         _GLIBCXX_USE_C99_COMPLEX.
2534
2535 2005-03-07  Paolo Carlini  <pcarlini@suse.de>
2536
2537         * include/std/std_fstream.h (basic_fstream<>::open,
2538         basic_ifstream<>::open, basic_ofstream<>::open): Implement the
2539         resolution of DR 409 [Ready], call clear() on success.
2540         * docs/html/ext/howto.html: Add an entry for DR 409.
2541         * docs/html/faq/index.html (4_4): Clarify the new behavior.
2542         * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
2543         * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
2544
2545 2005-03-05  Joseph S. Myers  <joseph@codesourcery.com>
2546
2547         * testsuite/22_locale/collate/compare/wchar_t/2.cc,
2548         testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
2549         testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
2550         testsuite/22_locale/collate/hash/wchar_t/2.cc,
2551         testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
2552         testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
2553         testsuite/22_locale/collate/transform/wchar_t/2.cc,
2554         testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
2555         testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2556         XFAIL on *-*-hpux11.23.
2557
2558 2005-03-04  Paolo Carlini  <pcarlini@suse.de>
2559
2560         * include/tr1/type_traits: Add is_base_of.
2561         * testsuite/tr1/4_metaprogramming/relationships_between_types/
2562         is_base_of/is_base_of.cc: New.
2563         * testsuite/tr1/4_metaprogramming/relationships_between_types/
2564         is_base_of/typedefs.cc: Likewise.
2565
2566 2005-03-03  Benjamin Kosnik  <bkoz@redhat.com>
2567
2568         * include/tr1/functional: Convert relative path.
2569
2570         * docs/doxygen/user.cfg.in: Add tr1 includes.
2571
2572 2005-03-03  Paolo Carlini  <pcarlini@suse.de>
2573
2574         * include/tr1/type_traits: Implemenet is_polymorphic.
2575         (is_empty): Minor tweaks.
2576         * testsuite/testsuite_tr1.h: Add test types.
2577         * testsuite/tr1/4_metaprogramming/type_properties/
2578         is_polymorphic/is_polymorphic.cc: New.
2579         * testsuite/tr1/4_metaprogramming/type_properties/
2580         is_polymorphic/typedefs.cc: Likewise.
2581         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2582         is_union_or_class/is_union_or_class.cc: Add tests.
2583
2584 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
2585
2586         * include/tr1/functional (_Has_result_type): Cleanup.
2587         (_Result_of_impl): Handle member data pointers correctly.
2588         (reference_wrapper): Support invocation.
2589         Move repetition code into new file include/tr1/repeat.h.
2590         * include/tr1/functional_iterate.h (reference_wrapper): Support
2591         invocation.  Cleanup long lines.
2592         * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
2593         invocation operators.
2594         * include/tr1/repeat.h: Code repetition header.
2595         * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
2596         * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
2597         * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
2598         New test of reference_wrapper invocation.
2599         * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
2600         New test of reference_wrapper typedefs and base classes.
2601         * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
2602         (e-mail address).
2603
2604 2005-03-02  Douglas Gregor  <doug.gregor@gmail.com>
2605
2606         * include/tr1/function (result_of): New class template.
2607         * include/tr1/functional/iterator.h: Implementation of TR1
2608         result_of.
2609         * testsuite/tr1/3_function_objects/result_of.cc: New test
2610
2611 2005-03-01  Vladimir Merzliakov  <wanderer@rsu.ru>
2612
2613         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
2614
2615 2005-02-28  Benjamin Kosnik  <bkoz@redhat.com>
2616
2617         * testsuite/tr1/2_general_utilities/memory/shared_ptr/
2618         cons/auto_ptr_neg.cc: Correct line numbers.
2619
2620         * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
2621
2622 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
2623
2624         * include/tr1/memory: Replace checked_deleter with (unchecked)
2625         _Sp_deleter as GCC warns about delete on incomplete types anyway.
2626
2627 2005-02-28  Jonathan Wakely  <redi@gcc.gnu.org>
2628
2629         * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
2630
2631 2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
2632
2633         PR target/19065
2634         * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
2635         'Q' constraint, not 'm'.
2636
2637 2005-02-26  Earl Chew  <earl_chew@agilent.com>
2638             Christopher Jefferson  <chris@bubblescope.net>
2639
2640         * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
2641         memory if _M_key_compare throws.
2642
2643 2005-02-25  Paolo Carlini  <pcarlini@suse.de>
2644
2645         * include/tr1/type_traits: Add the trivial is_union and is_class;
2646         add the __is_union_or_class extension.
2647         (is_enum, is_empty): Use the latter.
2648         * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
2649         * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
2650         fixes.
2651         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2652         is_union_or_class/is_union_or_class.cc: New.
2653         * testsuite/tr1/4_metaprogramming/composite_type_traits/
2654         is_union_or_class/typedefs.cc: Likewise.
2655
2656 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
2657
2658         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
2659         wchar_t use with _GLIBCXX_USE_WCHAR_T.
2660
2661 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
2662
2663         * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
2664         _GLIBCXX_USE_C99_COMPLEX.
2665         * acinclude.m4: Same.
2666         * acconfig.h: Same.
2667         * configure: Regenerate.
2668         * config.h.in: Same.
2669
2670 2005-02-24  Paolo Carlini  <pcarlini@suse.de>
2671
2672         * include/tr1/functional (mem_fn): Avoid _T, badname on
2673         Darwin.
2674
2675 2005-02-23  Douglas Gregor  <doug.gregor@gmail.com>
2676
2677         * include/tr1/functional (function): New class template.
2678         (mem_fn): New function template.
2679         Implementations of TR1 function and mem_fn facilities.
2680         * include/tr1/functional_iterate.h: Implementations of TR1
2681         function and mem_fn facilities.
2682         * testsuite/tr1/3_function_objects/function/1.cc: New
2683         test of std::tr1::function.
2684         * testsuite/tr1/3_function_objects/function/2.cc: New
2685         test of std::tr1::function.
2686         * testsuite/tr1/3_function_objects/function/3.cc: New
2687         test of std::tr1::function.
2688         * testsuite/tr1/3_function_objects/function/4.cc: New
2689         test of std::tr1::function.
2690         * testsuite/tr1/3_function_objects/function/5.cc: New
2691         test of std::tr1::function.
2692         * testsuite/tr1/3_function_objects/function/6.cc: New
2693         test of std::tr1::function.
2694         * testsuite/tr1/3_function_objects/function/7.cc: New
2695         test of std::tr1::function.
2696         * testsuite/tr1/3_function_objects/function/8.cc: New
2697         test of std::tr1::function.
2698         * testsuite/tr1/3_function_objects/function/9.cc: New
2699         test of std::tr1::function.
2700         * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
2701         std::tr1::mem_fn.
2702
2703 2005-02-23  Paolo Carlini  <pcarlini@suse.de>
2704
2705         * include/tr1/type_traits: Implement is_convertible.
2706         * testsuite/tr1/4_metaprogramming/relationships_between_types/
2707         is_convertible/is_convertible.cc: New.
2708         * testsuite/tr1/4_metaprogramming/relationships_between_types/
2709         is_convertible/typedefs.cc: Likewise.
2710         * testsuite/testsuite_tr1.h: Add class DerivedType.
2711
2712         * include/tr1/type_traits (is_function): Don't mistake references
2713         to function types for function types.
2714         * testsuite/tr1/4_metaprogramming/primary_type_categories/
2715         is_function/is_function.cc: Add testcase.
2716
2717 2005-02-22  Benjamin Kosnik  <bkoz@redhat.com>
2718
2719         * scripts/check_performance: Tweaks.
2720
2721         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
2722         output file with extension that clean rules can find.
2723
2724 2005-02-22  Richard Henderson  <rth@redhat.com>
2725
2726         PR libstdc++/20091
2727         * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
2728         decrement of uncaughtExceptions for rethrow.
2729
2730 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
2731
2732         * include/tr1/functional: Fix License to GPL with exception.
2733         * include/tr1/hashtable: Likewise.
2734         * include/tr1/tuple: Likewise.
2735         * include/tr1/type_traits: Likewise.
2736         * include/tr1/type_traits_fwd.h: Likewise.
2737         * include/tr1/unordered_map: Likewise.
2738         * include/tr1/unordered_set: Likewise.
2739         * include/tr1/utility: Likewise.
2740
2741 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
2742
2743         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
2744         auto_ptr_neg.cc: Add missing dg-do compile directive.
2745         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
2746         auto_ptr_rvalue_neg.cc: Likewise.
2747         * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
2748         shared_ptr_neg.cc: Likewise.
2749         * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
2750         auto_ptr_neg.cc: Likewise.
2751         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
2752         reset_neg.cc: Likewise.
2753         * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
2754         swap_neg.cc: Likewise.
2755
2756 2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
2757
2758         * include/Makefile.am, include/Makefile.in: Fix accidental extra
2759         change from previous commit.
2760
2761 2005-02-21  Jonathan Wakely  <redi@gcc.gnu.org>
2762
2763         * include/tr1/memory: New file.
2764         * include/Makefile.am, include/Makefile.in: Add new TR1 header.
2765         * testsuite/tr1/2_general_utilities/memory/
2766         enable_shared_from_this/not_shared.cc: New test.
2767         * testsuite/tr1/2_general_utilities/memory/
2768         enable_shared_from_this/not_shared2.cc: New test.
2769         * testsuite/tr1/2_general_utilities/memory/
2770         enable_shared_from_this/not_shared3.cc: New test.
2771         * testsuite/tr1/2_general_utilities/memory/
2772         enable_shared_from_this/shared.cc: New test.
2773         * testsuite/tr1/2_general_utilities/memory/
2774         enable_shared_from_this/still_shared.cc: New test.
2775         * testsuite/tr1/2_general_utilities/memory/
2776         shared_ptr/assign/assign.cc: New test.
2777         * testsuite/tr1/2_general_utilities/memory/
2778         shared_ptr/assign/auto_ptr.cc: New test.
2779         * testsuite/tr1/2_general_utilities/memory/
2780         shared_ptr/assign/auto_ptr_neg.cc: New test.
2781         * testsuite/tr1/2_general_utilities/memory/
2782         shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
2783         * testsuite/tr1/2_general_utilities/memory/
2784         shared_ptr/assign/shared_ptr.cc: New test.
2785         * testsuite/tr1/2_general_utilities/memory/
2786         shared_ptr/assign/shared_ptr_neg.cc: New test.
2787         * testsuite/tr1/2_general_utilities/memory/
2788         shared_ptr/comparison/cmp.cc: New test.
2789         * testsuite/tr1/2_general_utilities/memory/
2790         shared_ptr/cons/auto_ptr.cc: New test.
2791         * testsuite/tr1/2_general_utilities/memory/
2792         shared_ptr/cons/auto_ptr_neg.cc: New test.
2793         * testsuite/tr1/2_general_utilities/memory/
2794         shared_ptr/cons/copy.cc: New test.
2795         * testsuite/tr1/2_general_utilities/memory/
2796         shared_ptr/cons/default.cc: New test.
2797         * testsuite/tr1/2_general_utilities/memory/
2798         shared_ptr/cons/pointer.cc: New test.
2799         * testsuite/tr1/2_general_utilities/memory/
2800         shared_ptr/cons/weak_ptr.cc: New test.
2801         * testsuite/tr1/2_general_utilities/memory/
2802         shared_ptr/cons/weak_ptr_expired.cc: New test.
2803         * testsuite/tr1/2_general_utilities/memory/
2804         shared_ptr/dest/dest.cc: New test.
2805         * testsuite/tr1/2_general_utilities/memory/
2806         shared_ptr/misc/io.cc: New test.
2807         * testsuite/tr1/2_general_utilities/memory/
2808         shared_ptr/misc/swap.cc: New test.
2809         * testsuite/tr1/2_general_utilities/memory/
2810         shared_ptr/modifiers/reset.cc: New test.
2811         * testsuite/tr1/2_general_utilities/memory/
2812         shared_ptr/modifiers/reset_neg.cc: New test.
2813         * testsuite/tr1/2_general_utilities/memory/
2814         shared_ptr/modifiers/swap.cc: New test.
2815         * testsuite/tr1/2_general_utilities/memory/
2816         shared_ptr/modifiers/swap_neg.cc: New test.
2817         * testsuite/tr1/2_general_utilities/memory/
2818         shared_ptr/observers/bool_conv.cc: New test.
2819         * testsuite/tr1/2_general_utilities/memory/
2820         shared_ptr/observers/get.cc: New test.
2821         * testsuite/tr1/2_general_utilities/memory/
2822         shared_ptr/observers/unique.cc: New test.
2823         * testsuite/tr1/2_general_utilities/memory/
2824         shared_ptr/observers/use_count.cc: New test.
2825
2826 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
2827
2828         * include/tr1/type_traits (is_member_function_pointer):
2829         Remove ugly workaround for c++/19076.
2830
2831 2005-02-21  Paolo Carlini  <pcarlini@suse.de>
2832
2833         * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
2834         check for this == &_S_empty_rep, it's always false, here.
2835
2836 2005-02-19  Matt Austern  <austern@gmail.com>
2837
2838         * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
2839         hash<T>::operator() a const member function for T a fundamental type
2840         * include/tr1/hashtable (extract1st::operator()): Declare const.
2841         (hash_code_base): Declare all member functions const
2842         (hashtable::find): fix call to this->bucket_count()
2843         (hashtable::count): Likewise.
2844         (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
2845         * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
2846         * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
2847         * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
2848         * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
2849
2850 2005-02-19  Hans-Peter Nilsson  <hp@axis.com>
2851
2852         PR libstdc++/20071
2853         * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
2854         _GLIBCXX_USE_WCHAR_T.
2855
2856 2005-02-18  Richard Henderson  <rth@redhat.com>
2857
2858         PR libstdc++/10606
2859         * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
2860         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
2861         uncaughtExceptions here instead of ...
2862         * libsupc++/eh_throw.cc (__cxa_throw) ... here.
2863         (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
2864         * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
2865         (__cxa_get_exception_ptr): New.
2866         * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
2867
2868 2005-02-18  Matt Austern  <austern@apple.com>
2869
2870         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
2871         test case to use assignment instead of ==
2872         * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
2873         * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
2874         * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
2875         * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
2876
2877 2005-02-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
2878
2879         * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
2880         on Solaris 2.6 and below.
2881         * testsuite/thread/pthread2.cc: Likewise.
2882         * testsuite/thread/pthread3.cc: Likewise.
2883         * testsuite/thread/pthread4.cc: Likewise.
2884         * testsuite/thread/pthread5.cc: Likewise.
2885         * testsuite/thread/pthread6.cc: Likewise.
2886         * testsuite/thread/pthread7-rope.cc: Likewise.
2887
2888 2005-02-17  Matt Austern  <austern@apple.com>
2889
2890         * include/tr1/functional (hash): New function object.
2891         * include/tr1/hashtable: New file.
2892         * include/tr1/unordered_set: New file.
2893         * include/tr1/unordered_map: New file.
2894         * include/Makefile.am: Add three new TR1 headers.
2895         * include/Makefile.in: Likewise.
2896         * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
2897         * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
2898         * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
2899         * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
2900         * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
2901         * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
2902         * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
2903         * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
2904         * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
2905         * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
2906
2907 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
2908
2909         * testsuite/23_containers/set/modifiers/16728.cc:
2910         Remove redundant include <testsuite_performance.h>.
2911
2912 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
2913
2914         PR libstdc++/19829
2915         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
2916         at line #66 to not access str_lit01 beyond its end.
2917         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
2918
2919 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
2920             Jon Grimm  <jgrimm2@us.ibm.com>
2921
2922         PR libstdc++/19955
2923         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
2924         Fix the logic setting _M_narrow_ok: first check whether the
2925         transformation is trivial with a dflt == 0, then deal with the
2926         special case of zero.
2927         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
2928
2929         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
2930         Tweak consistently to use memcmp; minor formatting fixes.
2931
2932 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
2933
2934         PR libstdc++/19946
2935         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
2936         demangler change.
2937         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
2938
2939 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
2940             Paolo Carlini  <pcarlini@suse.de>
2941
2942         PR libstdc++/11706
2943         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
2944         for integer overloads.
2945
2946         * testsuite/26_numerics/cmath/powi.cc: New.
2947
2948 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
2949
2950         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
2951         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
2952         * testsuite/26_numerics/complex/pow.cc: Ditto.
2953
2954         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
2955         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
2956         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
2957         * testsuite/26_numerics/complex/pow.cc: Ditto.
2958
2959 2005-02-09  Mike Stump  <mrs@apple.com>
2960
2961         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
2962
2963 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
2964
2965         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
2966
2967 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
2968
2969         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
2970
2971 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
2972
2973         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
2974         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
2975         src static.
2976
2977 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
2978
2979         * debug.html: Fix broken tags.
2980         * documentation.html: Same.
2981
2982 2005-02-02  Andreas Jaeger  <aj@suse.de>
2983
2984         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
2985         from 2005-01-28.
2986         * testsuite/Makefile.am: Likewise.
2987         * testsuite/Makefile.in: Likewise.
2988
2989 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
2990
2991         * include/bits/cpp_type_traits.h: Rename _M_type fields to
2992         __value, except for __enable_if, _M_type -> __type, consistently
2993         with the other traits.
2994         * include/bits/stl_algobase.h: Tweak consistently.
2995         * include/bits/stl_tree.h: Likewise.
2996         * include/bits/valarray_array.h: Likewise.
2997         * include/c_std/std_cmath.h: Likewise.
2998         * include/debug/safe_iterator.h: Likewise.
2999         * include/std/std_complex.h: Likewise.
3000
3001 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
3002
3003         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
3004         * configure: Regenerated.
3005
3006 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
3007
3008         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
3009         Add required cast.
3010         (numeric_limits<double>::has_denorm): Likewise.
3011         (numeric_limits<long double>::has_denorm): Likewise.
3012
3013 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
3014             Gabriel Dos Reis  <gdr@integrable-solutions.net>
3015
3016         * include/bits/cpp_type_traits.h: Add types to the structs thus
3017         making type_traits.h redundant; exploit new __truth_type and
3018         __traitor helpers.
3019         * include/bits/type_traits.h: Remove.
3020         * include/Makefile.am: Update.
3021         * include/Makefile.in: Regenerate.
3022         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
3023         * include/bits/basic_string.h (replace(iterator, iterator,
3024         _InputIterator, _InputIterator), _S_construct(_InIterator,
3025         _InIterator, const _Alloc&)): Use __is_integer instead.
3026         * include/bits/stl_bvector.h (vector(_InputIterator,
3027         _InputIterator, const allocator_type&), assign(_InputIterator,
3028         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
3029         Likewise.
3030         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
3031         _ForwardIterator)): Use __is_scalar.
3032         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
3033         const allocator_type&), assign(_InputIterator, _InputIterator),
3034         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3035         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
3036         insert(iterator, _InputIterator, _InputIterator)): Likewise.
3037         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
3038         _ForwardIterator)): Use __is_scalar.
3039         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
3040         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
3041         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
3042         _Size, const _Tp&)): Likewise.
3043         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
3044         const allocator_type&), assign(_InputIterator, _InputIterator),
3045         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3046         * include/debug/debug.h (__valid_range(const _InputIterator&,
3047         const _InputIterator&)): Use __is_integer.
3048         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
3049         * include/std/std_string.h: Include cpp_type_traits.h instead.
3050
3051 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
3052
3053         PR libstdc++/19642
3054         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
3055         LC_NUMERIC, and only when actually != "C".
3056
3057 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
3058
3059         * include/tr1/type_traits (is_function): Minor consistency tweaks.
3060
3061 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
3062
3063         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
3064         for the compiler.  Don't set cxxflags.
3065         (v3_target_compile): Search for libv3test.a relative to $objdir.
3066         (lsearch_all_inline): New.
3067         (lsearch_all_inline_not): New.
3068         (v3-list-tests): Rewrite to not need generated files.
3069         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
3070         (IGNORE_THREAD): New.
3071         (TESTS_TO_IGNORE): New.
3072         (site.exp): Set tests_to_ignore, cxxflags.
3073         * aclocal.m4: Regenerate.
3074         * Makefile.in: Regenerate.
3075         * libmath/Makefile.in: Likewise.
3076         * libsupc++/Makefile.in: Likewise.
3077         * po/Makefile.in: Likewise.
3078         * src/Makefile.in: Likewise.
3079         * testsuite/Makefile.in: Likewise.
3080
3081 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
3082
3083         * include/tr1/type_traits: Implement is_empty.
3084         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3085         is_empty.cc: New.
3086         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3087         typedefs.cc: Likewise.
3088
3089         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
3090
3091 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
3092
3093         * include/tr1/type_traits: Implement is_abstract, by exploiting the
3094         resolution of DR core/337.
3095         * testsuite/testsuite_tr1.h: Add AbstractClass.
3096         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3097         is_abstract.cc: New.
3098         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3099         typedefs.cc: Likewise.
3100
3101         * include/tr1/type_traits (is_function): Rewrite, use the conversion
3102         F& -> F* instead, thus avoiding problems with abstract classes.
3103         * testsuite/tr1/4_metaprogramming/primary_type_categories/
3104         is_function/is_function.cc: Add a test for tricky AbstractClass.
3105
3106 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
3107
3108         * include/ext/mt_allocator.h
3109         (struct __per_type_pool_policy<,, false>::_S_get_pool,
3110         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
3111         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
3112         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
3113         reduce to 64 the multiplier for _M_max_bytes (safer wrt
3114         _Binmap_type being a short); trivial reformattings.
3115         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
3116
3117 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
3118
3119         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
3120         to the final test for enable_c99, thus robustifying it; remove
3121         duplicate final test on ac_99_math.
3122         * configure: Regenerate.
3123
3124         * include/std/std_complex.h: Remove usages of the dead
3125         _GLIBCXX_BUGGY_COMPLEX macro.
3126
3127         * testsuite/26_numerics/cmath/19322.cc: Protect with
3128         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
3129         since only C99 math facilities are involved.
3130         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3131         Likewise.
3132
3133 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
3134
3135         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
3136         instead of generic.  Change autoconf report to "darwin or freebsd".
3137         * configure: Regenerate.
3138         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
3139         (ctype<wchar_t>::do_scan_is): Likewise.
3140         (ctype<wchar_t>::do_scan_not): Likewise.
3141
3142 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
3143
3144         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
3145         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
3146         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
3147         * config.h.in: Regenerate.
3148         * configure: Regenerate.
3149         * include/std/std_complex.h: Protect complex builtins with
3150         _GLIBCXX_USE_C99_COMPLEX_MATH.
3151
3152 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
3153
3154         * include/tr1/type_traits: Implement is_signed and is_unsigned.
3155         * testsuite/tr1/4_metaprogramming/type_properties/
3156         is_signed/is_signed.cc: New.
3157         * testsuite/tr1/4_metaprogramming/type_properties/
3158         is_signed/typedefs.cc: Likewise.
3159         * testsuite/tr1/4_metaprogramming/type_properties/
3160         is_unsigned/is_unsigned.cc: Likewise.
3161         * testsuite/tr1/4_metaprogramming/type_properties/
3162         is_unsigned/typedefs.cc: Likewise.
3163
3164 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3165
3166         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
3167
3168 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3169
3170         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
3171         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
3172         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
3173         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
3174         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
3175         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
3176         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
3177         * testsuite/27_io/basic_ostream/flush/wchar_t/
3178         exceptions_badbit_throw.cc: Likewise.
3179         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3180         wchar_t/2.cc: Likewise.
3181         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3182         wchar_t/3.cc: Likewise.
3183         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3184         wchar_t/4.cc: Likewise.
3185         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3186         wchar_t/4402.cc: Likewise.
3187         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3188         wchar_t/5.cc: Likewise.
3189         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3190         wchar_t/6.cc: Likewise.
3191         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3192         wchar_t/9555-oa.cc: Likewise.
3193         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3194         wchar_t/exceptions_badbit_throw.cc: Likewise.
3195         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3196         wchar_t/exceptions_failbit_throw.cc: Likewise.
3197         * testsuite/27_io/basic_ostream/inserters_character/
3198         wchar_t/1.cc: Likewise.
3199         * testsuite/27_io/basic_ostream/inserters_character/
3200         wchar_t/2.cc: Likewise.
3201         * testsuite/27_io/basic_ostream/inserters_character/
3202         wchar_t/3.cc: Likewise.
3203         * testsuite/27_io/basic_ostream/inserters_character/
3204         wchar_t/4.cc: Likewise.
3205         * testsuite/27_io/basic_ostream/inserters_character/
3206         wchar_t/5.cc: Likewise.
3207         * testsuite/27_io/basic_ostream/inserters_character/
3208         wchar_t/6.cc: Likewise.
3209         * testsuite/27_io/basic_ostream/inserters_character/
3210         wchar_t/9555-oc.cc: Likewise.
3211         * testsuite/27_io/basic_ostream/inserters_other/
3212         wchar_t/1.cc: Likewise.
3213         * testsuite/27_io/basic_ostream/inserters_other/
3214         wchar_t/2.cc: Likewise.
3215         * testsuite/27_io/basic_ostream/inserters_other/
3216         wchar_t/3.cc: Likewise.
3217         * testsuite/27_io/basic_ostream/inserters_other/
3218         wchar_t/4.cc: Likewise.
3219         * testsuite/27_io/basic_ostream/inserters_other/
3220         wchar_t/5.cc: Likewise.
3221         * testsuite/27_io/basic_ostream/inserters_other/
3222         wchar_t/9318-out.cc: Likewise.
3223         * testsuite/27_io/basic_ostream/inserters_other/
3224         wchar_t/9424-out.cc: Likewise.
3225         * testsuite/27_io/basic_ostream/inserters_other/
3226         wchar_t/9555-oo.cc: Likewise.
3227         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3228         error_failbit.cc: Likewise.
3229         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3230         exceptions_badbit_throw.cc: Likewise.
3231         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3232         exceptions_failbit_throw.cc: Likewise.
3233         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3234         exceptions_null.cc: Likewise.
3235         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3236         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
3237         * testsuite/27_io/basic_ostream/seekp/char/
3238         exceptions_badbit_throw.cc: Likewise.
3239         * testsuite/27_io/basic_ostream/seekp/wchar_t/
3240         2346-fstream.cc: Likewise.
3241         * testsuite/27_io/basic_ostream/seekp/wchar_t/
3242         2346-sstream.cc: Likewise.
3243         * testsuite/27_io/basic_ostream/seekp/wchar_t/
3244         exceptions_badbit_throw.cc: Likewise.
3245         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
3246         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
3247         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
3248         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
3249         * testsuite/27_io/basic_ostream/tellp/wchar_t/
3250         exceptions_badbit_throw.cc: Likewise.
3251         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
3252
3253         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
3254         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
3255         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
3256         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
3257         * testsuite/data/wostream_seeks-1.tst: Likewise.
3258
3259         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
3260         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
3261         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
3262         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
3263         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
3264         * testsuite/27_io/basic_ostream/flush/char/
3265         exceptions_badbit_throw.cc: Likewise.
3266         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3267         char/2.cc: Likewise.
3268         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3269         char/3.cc: Likewise.
3270         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3271         char/4.cc: Likewise.
3272         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3273         char/4402.cc: Likewise.
3274         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3275         char/5.cc: Likewise.
3276         * testsuite/27_io/basic_ostream/inserters_arithmetic/
3277         char/6.cc: Likewise.
3278         * testsuite/27_io/basic_ostream/inserters_character/
3279         char/4.cc: Likewise.
3280         * testsuite/27_io/basic_ostream/inserters_other/char/
3281         2.cc: Likewise.
3282         * testsuite/27_io/basic_ostream/inserters_other/char/
3283         5.cc: Likewise.
3284         * testsuite/27_io/basic_ostream/inserters_other/char/
3285         error_failbit.cc: Likewise.
3286         * testsuite/27_io/basic_ostream/inserters_other/char/
3287         exceptions_badbit_throw.cc: Likewise.
3288         * testsuite/27_io/basic_ostream/inserters_other/char/
3289         exceptions_failbit_throw.cc: Likewise.
3290         * testsuite/27_io/basic_ostream/inserters_other/char/
3291         exceptions_null.cc: Likewise.
3292         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3293         * testsuite/27_io/basic_ostream/seekp/char/
3294         exceptions_badbit_throw.cc: Likewise.
3295         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
3296         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
3297
3298 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3299
3300         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
3301         of aligned.
3302
3303 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
3304             Andreas Jaeger  <aj@suse.de>
3305
3306         PR libstdc++/19343
3307         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
3308
3309 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
3310
3311         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
3312         lseek on fifo to succeed.  Thus, check for consistent report.
3313
3314 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3315
3316         PR libstdc++/19510
3317         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
3318         in constructor.
3319         (_List_const_iterator): Likewise.
3320         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
3321         (_Rb_tree_const_iterator): Likewise.
3322
3323         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3324         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
3325
3326 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
3327
3328         * testsuite/Makefile.am (check-compile): New.
3329         * testsuite/Makefile.in: Regenerate.
3330         * scripts/check_compile_time: New.
3331         * scripts/check_performance: Tweaks.
3332
3333 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
3334
3335         PR libstdc++/19535
3336         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
3337         Fix typo in the return type.
3338         * testsuite/tr1/6_containers/utility/19535.cc: New.
3339
3340 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
3341
3342         * include/ext/array_allocator.h (array_allocator<>::allocate):
3343         Avoid __used.  Use __array_used instead.
3344         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
3345
3346 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
3347
3348         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
3349         (_XOPEN_SOURCE_EXTENDED): Delete.
3350
3351 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
3352
3353         * testsuite/testsuite_performance.h (time_counter::start):
3354         Clear. Tweaks.
3355         (clear_counters): Inline.
3356         (start_counters): Inline.
3357         (stop_counters): Inline.
3358         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
3359         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
3360         return, add return.
3361         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
3362
3363 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
3364
3365         PR libstdc++/19433
3366         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
3367         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
3368         Obtain amortized constant complexity if t is inserted right after
3369         p - not before p - as per Table 69.
3370         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
3371
3372         * testsuite/23_containers/multiset/insert/2.cc: New.
3373         * testsuite/23_containers/set/insert/1.cc: Likewise.
3374
3375         * testsuite/performance/23_containers/set_create_from_sorted.cc:
3376         Simplify.
3377
3378         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
3379
3380 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
3381
3382         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
3383         * testsuite/ext/rope/4.cc: Add.
3384
3385 2005-01-16  Lorenz Minder  <lminder@gmx.net>
3386             Paolo Carlini  <pcarlini@suse.de>
3387
3388         PR libstdc++/19322
3389         * include/c_std/std_cmath.h: Define the C99 classification facilities
3390         directly inside namespace std:.
3391         * testsuite/26_numerics/cmath/19322.cc: New.
3392
3393 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
3394
3395         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
3396
3397 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
3398
3399         PR libstdc++/19422
3400         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
3401         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
3402         respectively) with hint (end()).
3403         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
3404
3405 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
3406
3407         * configure.host (darwin): On darwin8 or later, no need to build
3408         libstdc++ with -flat_namespace.
3409
3410 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
3411
3412         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
3413
3414 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
3415
3416         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3417         Re-enable commented-out test for double type.
3418
3419 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
3420             Benjamin Kosnik  <bkoz@redhat.com>
3421
3422         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3423         basic_istream<char>::ignore(streamsize, int_type),
3424         basic_istream<wchar_t>::ignore(streamsize),
3425         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
3426         more than numeric_limits<streamsize>::max() chars are skipped,
3427         set _M_gcount = max().
3428         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3429         int_type)): Likewise; keep simple, don't forward.
3430
3431 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
3432
3433         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3434         basic_istream<char>::ignore(streamsize, int_type),
3435         basic_istream<wchar_t>::ignore(streamsize),
3436         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
3437         2005-01-05 change: actually, the previous behavior is conforming
3438         and consistent with that of get(char_type*, streamsize, char_type),
3439         albeit slightly different from that of 3.3/3.4 in a corner case
3440         due to the use of snextc.
3441         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3442         int_type)): Likewise.
3443         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
3444         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
3445
3446 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
3447
3448         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
3449         * testsuite/tr1/4_metaprogramming/other_transformations/
3450         aligned_storage/aligned_storage.cc: New.
3451         * testsuite/tr1/4_metaprogramming/other_transformations/
3452         aligned_storage/typedefs.cc: Likewise.
3453         * testsuite/tr1/4_metaprogramming/type_properties/
3454         alignment_of/alignment_of.cc: Likewise.
3455         * testsuite/tr1/4_metaprogramming/type_properties/
3456         alignment_of/typedefs.cc: Likewise.
3457
3458 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
3459
3460         * Makefile.in: Regenerate.
3461         * libmath/Makefile.in: Likewise.
3462         * libsupc++/Makefile.in: Likewise.
3463         * po/Makefile.in: Likewise.
3464         * src/Makefile.in: Likewise.
3465         * testsuite/Makefile.in: Likewise.
3466
3467 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
3468
3469         * include/bits/stl_algobase.h (lexicographical_compare):
3470         Fix concept check.
3471
3472 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3473
3474         * acinclude.m4: Remove CCODECVT_H.
3475         * configure: Regenerate.
3476         * include/Makefile.am (host_headers_extra): Move to...
3477         (ext_headers): ...here.
3478         * include/Makefile.in: Regenerate.
3479         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
3480         enc_traits to...
3481         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
3482         * include/ext/codecvt_specializations.h: ...here. Remove
3483         _GLIBCXX_USE___ENC_TRAITS.
3484         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
3485         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
3486         namespace.
3487         * config/locale/generic/codecvt_specializations.h: Remove.
3488         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
3489         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
3490
3491 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
3492
3493         * include/bits/fstream.tcc: Remove unnecessary qualifications for
3494         uglified data members of basic_filebuf, including _M_buf,
3495         _M_buf_size, _M_mode, _M_pback_init.
3496         * include/std/std_fstream.h: Same.
3497
3498 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
3499
3500         * testsuite/testsuite_hooks.h:
3501         (copy_constructor::mark_call):  Use __throw_runtime_error.
3502         (assignment_operator::mark_call): Same.
3503         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
3504         (locale_data): Remove, just use runtime_error directly.
3505         (environment_variable): Same.
3506         (not_found): Same.
3507         (run_tests_wrapped_locale): Use __throw_runtime_error.
3508         (run_tests_wrapped_env): Same.
3509         (semaphore::semaphore): Same.
3510         (semaphore::signal): Same.
3511         (semaphore::wait): Same.
3512         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
3513         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
3514         (create_symbols): Use __throw_runtime_error.
3515         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
3516
3517 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
3518
3519         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
3520         process.
3521
3522 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
3523
3524         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3525         basic_istream<char>::ignore(streamsize, int_type),
3526         basic_istream<wchar_t>::ignore(streamsize),
3527         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
3528         first check _M_gcount vs __n.
3529         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3530         int_type)): Likewise.
3531         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
3532         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
3533
3534 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
3535
3536         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
3537         instead of just throw.
3538
3539         * testsuite/testsuite_hooks.cc: Update coypright and follow style
3540         guidelines.
3541         * testsuite/testsuite_hooks.h: Likewise.
3542         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3543         semaphores, not sleep.
3544         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3545         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3546         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3547         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3548         Likewise.
3549         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3550         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3551         * testsuite/27_io/objects/char/7.cc: Likewise.
3552         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3553         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3554         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3555
3556         * configure.ac: Check for sys/ipc.h and sys/sem.h.
3557         * config.h.in: Regenerated.
3558         * configure: Likewise.
3559         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
3560         define.
3561         (sys/types.h): Include.
3562         (sys/ipc.h): Likewise.
3563         (sys/sem.h): Likewise.
3564         (__gnu_test::semun): New type.
3565         (__gnu_test::semaphore::sempaphore): New function.
3566         (__gnu_test::semaphore::~semaphore): Likewise.
3567         (__gnu_test::semaphore::wait): Likewise.
3568         (__gnu_test::semaphore::signal): Likewise.
3569         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
3570         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3571         semaphores, not sleep.
3572         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3573         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3574         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3575         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3576         Likewise.
3577         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3578         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3579         * testsuite/27_io/objects/char/7.cc: Likewise.
3580         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3581         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3582         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3583
3584 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
3585
3586         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3587         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
3588         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
3589         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
3590         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3591         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
3592
3593 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
3594
3595         * src/istream.cc (basic_istream<char>::ignore(streamsize),
3596         basic_istream<char>::ignore(streamsize, int_type),
3597         basic_istream<wchar_t>::ignore(streamsize),
3598         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
3599         _M_gcount overflows.
3600         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
3601         int_type)): Likewise; use snextc in the main loop, consistently
3602         with the specializations above.
3603
3604 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
3605
3606         * include/bits/stl_algobase.h (mismatch): Correct concept check.
3607
3608 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
3609
3610         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
3611         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
3612         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
3613
3614 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
3615
3616         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
3617         null-terminate array1 at the outset.
3618         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
3619         Likewise.