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