OSDN Git Service

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