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