OSDN Git Service

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