OSDN Git Service

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