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