OSDN Git Service

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