OSDN Git Service

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