1 2004-03-29 Paolo Carlini <pcarlini@suse.de>
3 * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
4 on allocator behavior, the memory pointed by data2 may well be not
7 2004-03-28 Chavdar Botev <cbotev@yahoo.com>
10 * include/bits/basic_string.tcc
11 (basic_string::basic_string(const basic_string&)): Pass to
12 _Rep::_M_grab the actual allocator of the string being constructed
13 not the default constructed one.
15 2004-03-27 Benjamin Kosnik <bkoz@redhat.com>
18 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
19 (__enc_traits::_M_destroy): New.
20 (__enc_traits::~__enc_traits): Use it.
21 (__enc_traits::operator=): Use _M_destroy, _M_init.
22 (__enc_traits::__enc_traits): Same.
24 2004-03-27 Petur Runolfsson <peturr02@ru.is>
26 * testsuite/ext/enc_filebuf/char/13598.cc: New.
28 2004-03-27 Paolo Carlini <pcarlini@suse.de>
30 * include/ext/mt_allocator.h: Uglify consistently names of
31 variables, members and classes; tidy.
33 2004-03-27 Dhruv Matani <dhruvbird@gmx.net>
35 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
36 Deallocation loop rewrote.
38 2004-03-26 Paolo Carlini <pcarlini@suse.de>
40 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
41 __mt_alloc<>::deallocate): Protect two instances of
42 block->thread_id with __GTHREADS.
44 2004-03-25 Gawain Bolton <gp.bolton@computer.org>
46 * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
47 default argument in constructors.
48 (_Rb_tree::_M_empty_initialize): Remove.
50 2004-03-25 Benjamin Kosnik <bkoz@redhat.com>
52 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
53 * testsuite/23_containers/set/operators/1_neg.cc: Same.
55 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
57 * include/bits/cpp_type_traits.h: Changed __is_pod
58 completely. Now, it does not use any of the previous type_traits
59 to detect the pod types, and it also detects function pointers as
62 * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
63 which encapsulates the internal implementation of an rb_tree. Made
64 the allocator a base class of this class instead of the rb_tree,
65 which was not conforming. This _Rb_tree_impl class is also
66 specialized on whether the _Compare parameter is a POD type or
67 not. If so, then it maintains the comparison function as a data
68 member, otherwise it makes the _Compare parameter a base class of
69 itself. Also, _M_key_compare is now a function instead of a data
70 member, so that the above trick can work properly. Delegated the
71 initialization of the other data members to this newly created
72 class. Also, now other member functions of rb_tree must refer to
73 _M_key_compare as _M_impl._M_key_compare(). The other data members
74 (*) can be referenced to as _M_impl.(*), where
75 (*) includes _M_header, and _M_node_count.
77 2004-03-25 Paolo Carlini <pcarlini@suse.de>
79 * include/ext/mt_allocator.h (__mt_alloc<>::tune):
80 Add _M_min_bin, the size in bytes of the smallest bin.
81 (__mt_alloc<>::tune()): Tweak accordingly.
82 (__mt_alloc<>::tune(size_t, ...)): Likewise.
83 (__mt_alloc<>::block_record): Change to a union: members next
84 and thread_id are never used at the same time.
85 (__mt_alloc<>::allocate): Update consistently.
86 (__mt_alloc<>::deallocate): Likewise.
87 (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
88 _S_bin_size for the configurable _M_min_size.
90 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
92 * include/bits/stl_list.h: Created a _List_impl class and made it
93 derive from the allocator, instead of the list deriving from the
94 allocator class, which was not conformant. Changed all references
95 from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
96 as above (changed all references to the concerned variables).
98 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
100 * include/bits/stl_deque.h: Created a _Deque_impl class and made
101 it derive from the allocator, instead of the deque deriving from
102 the allocator class, which was not conformant. Changed all
103 references to the _M_start, _M_finish, _M_map, and _M_map_size to
105 (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
106 qualification in 2 places where it was missing.
107 (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
109 * include/bits/deque.tcc: Same as above (changed all references to
110 the concerned variables).
112 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
114 * include/bits/stl_vector.h: Created a _Vector_impl class and made
115 it derive from the allocator, instead of the _Vector_base class,
116 deriving from the allocator which was not conformant. Changed all
117 references to the _M_start, _M_finish, and _M_end_of_storage to
119 * include/bits/vector.tcc: Same as above (changed all references
120 to the concerned variables).
122 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
124 * testsuite/23_containers/deque/cons/clear_allocator.cc: New.
125 * testsuite/23_containers/list/cons/clear_allocator.cc: New.
126 * testsuite/23_containers/vector/cons/clear_allocator.cc: New.
128 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
130 * include/ext/malloc_allocator.h: Fixed the construct function to
131 call global placement new instead of assignment. Added a check
132 after the return from malloc to check whether returned pointer is
133 NULL, and if so, throw std::bad_alloc().
134 * include/ext/debug_allocator.h: Added a check in the deallocate
135 function to check whether the user has passed a NULL pointer or
138 2004-03-24 Benjamin Kosnik <bkoz@redhat.com>
140 * docs/html/20_util/allocator.html: Add bitmap_allocator links.
142 2004-03-24 Andreas Schwab <schwab@suse.de>
144 * testsuite/lib/prune.exp (prune_g++_output): Ignore errata
145 warning from IA64 assembler.
147 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
149 * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
150 function call __builtin_ctz instead of the while loop.
151 (allocate) -> If condition has __builtin_expect.
152 (deallocate) -> Ditto.
153 Renamed a few left-over variables and typedefs according to the
154 C++STYLE mentioned in the documentation.
155 Protected calls to __gthread* by __gthread_active_p(), whose value
156 is cached in the local variable __threads_active.
158 2004-03-24 Felix Yen <fwy@alumni.brown.edu>
160 * testsuite/performance/20_util/allocator/producer_consumer.cc:
161 Use linear algorithm for producer.
163 2004-03-24 Paolo Carlini <pcarlini@suse.de>
165 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
166 __mt_alloc<>::deallocate): Avoid redundant conditionals.
168 2004-03-23 Benjamin Kosnik <bkoz@redhat.com>
170 * include/bits/locale_facets.h: Tweaks for 80 column.
171 (__numpunct_cache::_M_cache): Move to locale_facets.tcc.
172 (__moneypunct_cache::_M_cache): Same.
173 (num_get): Don't inherit from __num_base.
175 (money_get): Don't inherit from money_base.
177 (__timepunct::_M_am_pm_format): New.
178 (time_get::_M_extract_num): Return iterator, use ios_base as argument.
179 (time_get::_M_extract_name): Same.
180 (time_get::_M_extract_via_format): Same.
181 * include/bits/locale_facets.tcc: Tweaks for 80 column.
182 Use _M_getloc instead of getloc.
183 * testsuite/22_locale/money_put/put/char/9780-3.cc: New.
184 * testsuite/22_locale/num_put/put/char/9780-2.cc: New.
185 * testsuite/22_locale/time_put/put/char/9780-1.cc: New.
187 2004-03-22 Paolo Carlini <pcarlini@suse.de>
189 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
190 * configure: Regenerate.
191 * config/allocator/pool_allocator_base.h: New.
192 * include/ext/pool_allocator.h: Convert to a standard-conforming
194 * src/allocator.cc: Tweak instantiations.
195 * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
196 * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
197 * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
198 * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
199 * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
200 * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
202 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
204 * config/cpu/cris/atomicity.h (__atomic_add): Remove "static
205 inline" and attribute-unused. Qualify parameter __mem with
207 (__exchange_and_add): Ditto. Add back memory clobber to asm.
209 2004-03-20 Paolo Carlini <pcarlini@suse.de>
211 * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
213 * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
215 * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
217 * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
219 * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
221 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
223 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
225 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
227 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
229 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
232 2004-03-20 Paolo Carlini <pcarlini@suse.de>
234 * include/std/std_valarray.h: Document DR389 [Ready].
235 * docs/html/ext/howto.html: Add an entry for DR389.
237 2004-03-19 Michael Eager <eager@mvista.com>
239 * config/cpu/mips/atomicity.h: Prevent reg loads between LL and
242 2004-03-19 Paolo Carlini <pcarlini@suse.de>
244 * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
246 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
247 * testsuite/22_locale/num_get/get/char/13.cc: Likewise.
248 * testsuite/22_locale/num_get/get/char/14.cc: Likewise.
249 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
250 * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
251 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
252 * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
253 * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
254 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
256 2004-03-19 Paolo Carlini <pcarlini@suse.de>
257 Petur Runolfsson <peturr02@ru.is>
260 * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
261 no way to find out the conversion used by the underlying FILE*.
262 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
263 * testsuite/27_io/objects/char/9.cc: Tweak.
265 2004-03-19 Paolo Carlini <pcarlini@suse.de>
268 * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
269 memory allocation/deallocation calls.
270 * testsuite/ext/14648.cc: New.
272 2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
275 * include/backward/bvector.h (bit_vector): Allocator is in std
278 2004-03-19 Phil Edwards <phil@codesourcery.com>
280 * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV,
281 not libiconv. SUBST this variable as well.
282 * testsuite/Makefile.am (site.exp): New target, based on that
283 created by automake. Also set libiconv.
285 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in,
286 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
287 testsuite/Makefile.in: Regenerate.
289 2004-03-16 Benjamin Kosnik <bkoz@redhat.com>
291 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
292 new_allocator for all hosts.
293 * configure: Regenerate.
295 2004-03-16 Paolo Carlini <pcarlini@suse.de>
297 * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
298 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
300 2004-03-15 Paolo Carlini <pcarlini@suse.de>
302 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
303 Adjust the logic underlying the parsing of symbol to deal
304 correctly with an optional sign component (i.e., when either
305 negative_sign or positive_sign is empty)
306 * testsuite/22_locale/money_get/get/char/19.cc: New.
307 * testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
309 2004-03-15 Paolo Carlini <pcarlini@suse.de>
311 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
312 Do not accept an incomplete currency symbol.
313 * testsuite/22_locale/money_get/get/char/18.cc: New.
314 * testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
316 2004-03-13 Benjamin Kosnik <bkoz@redhat.com>
318 * config/allocator: New.
319 * config/allocator/bitmap_allocator_base.h: New.
320 * config/allocator/malloc_allocator_base.h: New.
321 * config/allocator/mt_allocator_base.h: New.
322 * config/allocator/new_allocator_base.h: New.
323 * include/bits/allocator.h: Include c++allocator.h.
324 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
325 * aclocal.m4: Regenerate.
326 * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
327 * configure: Regenerate.
328 * include/Makefile.am (host_headers_extra): Add c++allocator.h.
329 * include/Makefile.in: Regenerate.
330 * docs/html/configopts.html: Add enable-libstdcxx-allocator.
332 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
334 * include/bits/allocator.h: Revert.
336 2004-03-12 Paolo Carlini <pcarlini@suse.de>
338 * docs/html/ext/howto.html: Add entry for DR 253 [Ready].
339 * include/bits/gslice_array.h: Add comment about DR 253.
340 * include/bits/indirect_array.h: Likewise.
341 * include/bits/mask_array.h: Likewise.
342 * include/bits/slice_array.h: Likewise.
344 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
346 * testsuite/20_util/allocator/14176.cc: New.
347 * include/ext/mt_allocator.h: Formatting fixes.
349 2004-03-11 Dhruv Matani <dhruvbird@HotPOP.com>
351 * include/Makefile.am (ext_headers): Add
352 ${ext_srcdir}/bitmap_allocator.h .
353 * include/Makefile.in: Regenerate.
354 * docs/html/ext/ballocator_doc.txt: New file.
355 * include/ext/bitmap_allocator.h: New file.
356 * testsuite/performance/20_util/allocator/list_sort_search.cc: Add
358 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
359 * testsuite/performance/20_util/allocator/producer_consumer.cc: Add
360 test for the bitmap_allocator<>.
361 * testsuite/performance/20_util/allocator/insert.cc: Likewise.
362 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
363 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
365 2004-03-11 Paolo Carlini <pcarlini@suse.de>
367 * include/std/std_complex.h (pow(const complex&, const _Tp&),
368 pow(const _Tp&, const complex&), pow(const complex&,
369 const complex&)): Fully qualify with std:: a few calls.
370 * testsuite/26_numerics/complex/13450.cc: Minor tweak.
372 2004-03-11 Steven Bosscher <stevenb@suse.de>
375 * include/c_std/cmath.tcc (__cmath_power): Define inline.
377 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
379 * configure.ac: Bump AC_PREREQ to 2.59.
381 2004-03-10 Paolo Carlini <pcarlini@suse.de>
383 * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
385 2004-03-10 Paul Kienzle <pkienzle@nist.gov>
386 Paolo Carlini <pcarlini@suse.de>
389 * include/std/std_complex.h (pow(const complex&, const _Tp&),
390 pow(const _Tp&, const complex&)): Use cmath pow only when safe.
391 * testsuite/26_numerics/complex/13450.cc: New.
393 * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
394 * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
396 2004-03-10 Jerry Quinn <jlquinn@optonline.net>
399 * include/bits/gslice_array.h (gslice_array()): Make public.
400 (operator=(gslice_array)): Make public. Implement.
401 * include/bits/indirect_array.h (indirect_array()): Make public.
402 * include/bits/mask_array.h (mask_array()): Make public.
403 (operator=(mask_array)): Make public. Implement.
404 * include/bits/valarray_array.tcc (__valarray_copy):
405 Comment. Add versions for gslice_array and mask_array.
406 * testsuite/26_numerics/valarray_subset_assignment.cc: New test.
408 2004-03-09 Benjamin Kosnik <bkoz@redhat.com>
410 * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
412 * testsuite/23_containers/vector/modifiers/swap.cc: Same.
413 * testsuite/23_containers/set/modifiers/swap.cc: Same.
414 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
415 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
416 * testsuite/23_containers/map/modifiers/swap.cc: Same.
417 * testsuite/23_containers/list/modifiers/swap.cc: Same.
419 * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
421 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
424 * testsuite/23_containers/deque/modifiers/swap.cc: New.
425 * testsuite/23_containers/list/modifiers/swap.cc: New.
426 * testsuite/23_containers/map/modifiers/swap.cc: New.
427 * testsuite/23_containers/multimap/modifiers/swap.cc: New.
428 * testsuite/23_containers/multiset/modifiers/swap.cc: New.
429 * testsuite/23_containers/set/modifiers/swap.cc: New.
430 * testsuite/23_containers/vector/modifiers/swap.cc: New.
432 2004-03-08 Petur Runolfsson <peturr02@ru.is>
435 * testsuite/22_locale/locale/cons/12658_thread.cc: New.
437 2004-03-08 Paolo Carlini <pcarlini@suse.de>
439 * docs/html/ext/howto.html: Add entry for DR 103 [WP].
440 * include/bits/stl_multiset.h: Add comment about DR 103.
441 * include/bits/stl_set.h: Likewise.
443 2004-03-08 Paolo Carlini <pcarlini@suse.de>
445 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
446 The value _space_ indicates that at least one space is required
448 * testsuite/22_locale/money_get/get/char/17.cc: New.
449 * testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
451 * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
452 * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
454 * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
455 Remove redundant conditional on __str.size().
457 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
459 * include/bits/allocator.h: Switch defaults to mt_alloc.
461 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
463 * include/ext/mt_allocator.h (_S_initialize): If
464 !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
466 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
469 * src/locale_init.cc (locale::locale): Lock critical regions with
471 (locale::global): Same.
472 * include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
473 Add in once bits for cases without __GTHREAD_MUTEX_INIT.
474 (__glibcxx_mutex_lock): Same.
476 * config/cpu/generic/atomicity.h: Remove
477 _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
478 * src/misc-inst.cc: Move all locking bits out of this file.
480 * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
481 * src/misc-inst.cc: Same.
482 * config/cpu/hppa/atomicity.h: Same.
484 * config/linker-map.gnu: Remove types in the signature of atomic
485 exports, as they may vary.
487 2004-03-06 Paolo Carlini <pcarlini@suse.de>
489 * include/bits/locale_facets.tcc: Tweak the comment preceding
490 has_facet: doesn't throw.
492 2004-03-06 Paolo Carlini <pcarlini@suse.de>
494 * testsuite/22_locale/money_get/get/char/1.cc: Clean up.
495 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
496 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
497 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
498 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
499 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
500 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
501 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
503 2004-03-06 Paolo Carlini <pcarlini@suse.de>
505 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
506 num_get<>::_M_extract_int, num_get<>::do_get(bool&),
507 __pad<>::_S_pad): Prefer plain operator== to traits::eq().
508 * testsuite/testsuite_character.h (struct __gnu_test::character):
510 * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char):
513 2004-03-05 Paolo Carlini <pcarlini@suse.de>
515 * testsuite/27_io/fpos/14320-2.cc: Remove xfail.
517 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
519 * testsuite/23_containers/multiset/insert/1.cc: Test result string.
521 * testsuite/23_containers/bitset/invalidation/1.cc: Main always
523 * testsuite/23_containers/deque/invalidation/4.cc: Same.
524 * testsuite/23_containers/list/invalidation/1.cc: Same.
525 * testsuite/23_containers/list/invalidation/2.cc: Same.
526 * testsuite/23_containers/list/invalidation/3.cc: Same.
527 * testsuite/23_containers/list/invalidation/4.cc: Same.
528 * testsuite/23_containers/map/invalidation/2.cc: Same.
529 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
530 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
531 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
532 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
533 * testsuite/23_containers/set/invalidation/1.cc: Same.
534 * testsuite/23_containers/set/invalidation/2.cc: Same.
535 * testsuite/23_containers/vector/invalidation/1.cc: Same.
536 * testsuite/23_containers/vector/invalidation/2.cc: Same.
537 * testsuite/23_containers/vector/invalidation/3.cc: Same.
538 * testsuite/23_containers/vector/invalidation/4.cc: Same.
540 2004-03-04 Paolo Carlini <pcarlini@suse.de>
542 * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to
544 * testsuite/lib/libstdc++.exp: Don't add it conditionally to
546 * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT"
548 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
549 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
550 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
551 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
552 * testsuite/23_containers/vector/resize/1.cc: Likewise.
553 * testsuite/26_numerics/complex_value.cc: Likewise.
554 * testsuite/27_io/ios_base/storage/1.cc: Likewise.
555 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
556 * testsuite/27_io/ios_base/storage/3.cc: Likewise.
557 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
558 * testsuite/27_io/objects/char/5.cc: Likewise.
559 * testsuite/27_io/objects/wchar_t/5.cc: Likewise.
560 * testsuite/backward/11460.cc: Likewise.
561 * testsuite/thread/pthread7-rope.cc: Likewise.
563 * testsuite/21_strings/basic_string/compare/char/1.cc: Add
564 missing test variable.
565 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add
566 missing test variable.
568 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
570 * testsuite/20_util/allocator/1.cc: Provide explicit
571 instantiations for non-weak systems.
572 * testsuite/20_util/binders.cc: Same.
573 * testsuite/20_util/allocator/8230.cc: Same.
574 * testsuite/20_util/allocator/10378.cc: Same.
575 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
576 * testsuite/22_locale/ctype/is/char/2.cc: Same.
577 * testsuite/thread/pthread7-rope.cc: Same.
578 * testsuite/thread/pthread6.cc: Same.
579 * testsuite/thread/pthread5.cc: Same.
580 * testsuite/thread/pthread4.cc: Same.
581 * testsuite/thread/pthread1.cc: Same.
582 * testsuite/ext/rope.cc: Same.
583 * testsuite/ext/hash_set.cc: Same.
584 * testsuite/ext/hash_map.cc: Same.
585 * testsuite/ext/concept_checks.cc: Same.
586 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
587 * testsuite/25_algorithms/unique/2.cc: Same.
588 * testsuite/25_algorithms/unique/1.cc: Same.
589 * testsuite/25_algorithms/rotate.cc: Same.
590 * testsuite/25_algorithms/min_max.cc: Same.
591 * testsuite/25_algorithms/equal.cc: Same.
592 * testsuite/24_iterators/rel_ops.cc: Same.
593 * testsuite/24_iterators/iterator.cc: Same.
594 * testsuite/24_iterators/insert_iterator.cc: Same.
595 * testsuite/24_iterators/front_insert_iterator.cc: Same.
596 * testsuite/24_iterators/back_insert_iterator.cc: Same.
597 * testsuite/23_containers/vector/resize/1.cc: Same.
598 * testsuite/23_containers/vector/modifiers/2.cc: Same.
599 * testsuite/23_containers/vector/modifiers/1.cc: Same.
600 * testsuite/23_containers/vector/invalidation/4.cc: Same.
601 * testsuite/23_containers/vector/invalidation/3.cc: Same.
602 * testsuite/23_containers/vector/invalidation/2.cc: Same.
603 * testsuite/23_containers/vector/invalidation/1.cc: Same.
604 * testsuite/23_containers/vector/element_access/1.cc: Same.
605 * testsuite/23_containers/vector/cons/6513.cc: Same.
606 * testsuite/23_containers/vector/cons/3.cc: Same.
607 * testsuite/23_containers/vector/cons/2.cc: Same.
608 * testsuite/23_containers/vector/cons/1.cc: Same.
609 * testsuite/23_containers/vector/capacity/8230.cc: Same.
610 * testsuite/23_containers/vector/capacity/1.cc: Same.
611 * testsuite/23_containers/vector/bool/6886.cc: Same.
612 * testsuite/23_containers/stack/members/7158.cc: Same.
613 * testsuite/23_containers/set/invalidation/2.cc: Same.
614 * testsuite/23_containers/set/invalidation/1.cc: Same.
615 * testsuite/23_containers/queue/members/7157.cc: Same.
616 * testsuite/23_containers/priority_queue/members/7161.cc: Same.
617 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
618 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
619 * testsuite/23_containers/multiset/insert/1.cc: Same.
620 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
621 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
622 * testsuite/23_containers/map/operators/1.cc: Same.
623 * testsuite/23_containers/map/invalidation/2.cc: Same.
624 * testsuite/23_containers/map/invalidation/1.cc: Same.
625 * testsuite/23_containers/map/insert/1.cc: Same.
626 * testsuite/23_containers/list/operators/4.cc: Same.
627 * testsuite/23_containers/list/operators/3.cc: Same.
628 * testsuite/23_containers/list/operators/2.cc: Same.
629 * testsuite/23_containers/list/operators/1.cc: Same.
630 * testsuite/23_containers/list/modifiers/3.cc: Same.
631 * testsuite/23_containers/list/modifiers/2.cc: Same.
632 * testsuite/23_containers/list/modifiers/1.cc: Same.
633 * testsuite/23_containers/list/invalidation/4.cc: Same.
634 * testsuite/23_containers/list/invalidation/3.cc: Same.
635 * testsuite/23_containers/list/invalidation/2.cc: Same.
636 * testsuite/23_containers/list/invalidation/1.cc: Same.
637 * testsuite/23_containers/list/cons/9.cc: Same.
638 * testsuite/23_containers/list/cons/8.cc: Same.
639 * testsuite/23_containers/list/cons/7.cc: Same.
640 * testsuite/23_containers/list/cons/6.cc: Same.
641 * testsuite/23_containers/list/cons/5.cc: Same.
642 * testsuite/23_containers/list/cons/4.cc: Same.
643 * testsuite/23_containers/list/cons/3.cc: Same.
644 * testsuite/23_containers/list/cons/2.cc: Same.
645 * testsuite/23_containers/list/cons/1.cc: Same.
646 * testsuite/23_containers/list/capacity/1.cc: Same.
647 * testsuite/23_containers/deque/operators/1.cc: Same.
648 * testsuite/23_containers/deque/invalidation/4.cc: Same.
649 * testsuite/23_containers/deque/invalidation/3.cc: Same.
650 * testsuite/23_containers/deque/invalidation/2.cc: Same.
651 * testsuite/23_containers/deque/invalidation/1.cc: Same.
652 * testsuite/23_containers/deque/cons/2.cc: Same.
653 * testsuite/23_containers/deque/cons/1.cc: Same.
655 * src/allocator.cc: Add char, wchar_t instantiations
656 to match extern template declarations in memory.h.
658 2004-03-03 Paolo Carlini <pcarlini@suse.de>
660 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
661 Fix warning regression.
663 2004-03-03 Paolo Carlini <pcarlini@suse.de>
665 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
666 Deal properly with empty __digits and negative frac_digits,
669 2004-03-03 Jonathan Wakely <redi@gcc.gnu.org>
671 * docs/html/documentation.html: Regenerate.
673 2004-03-02 Paolo Carlini <pcarlini@suse.de>
676 * include/bits/postypes.h (class streamoff): Remove, now
677 streamoff is just typedef a 64 bit signed integer type.
678 (class fpos): Tweak consistently.
679 * testsuite/27_io/fpos/14320-1.cc: New.
680 * testsuite/27_io/fpos/14320-2.cc: New.
681 * testsuite/27_io/fpos/14320-3.cc: New.
682 * testsuite/27_io/fpos/14320-4.cc: New.
683 * testsuite/27_io/fpos/14320-5.cc: New.
684 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now.
686 2004-03-02 Paolo Carlini <pcarlini@suse.de>
688 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
689 Reorganize a bit the main parsing loop, thus early detecting
690 an empty value component.
691 * testsuite/22_locale/money_get/get/char/16.cc: New.
692 * testsuite/22_locale/money_get/get/wchar_t/16.cc: New.
694 2004-03-02 Benjamin Kosnik <bkoz@redhat.com>
696 Support automake 1.8.2
697 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
698 * po/Makefile.am (EXTRA_DIST): New.
699 * po/Makefile.in: Regenerate.
701 * include/Makefile.in: Same.
702 * libmath/Makefile.in: Same.
703 * libsupc++/Makefile.in: Same.
704 * src/Makefile.in: Same.
705 * testsuite/Makefile.in: Same.
707 * include/Makefile.am (${host_builddir}/gthr-posix.h): Use
708 __GXX_WEAK__ instead of SUPPORTS_WEAK.
709 (${host_builddir}/gthr-default.h): Same.
710 (${host_builddir}/gthr.h): Same.
711 * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove
712 _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via
714 * aclocal.m4: Regenerate.
715 * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK.
716 * config.h.in: Regenerate.
719 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
721 Support autoconf 2.59
722 * acinclude.m4: Quote correctly.
723 * aclocal.m4: Regenerate.
726 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
728 * docs/html/test.html: Add multilib RUNTESTFLAGS example.
730 * docs/html/18_support/howto.html: Add bit about writing to
731 stderr, mostly by Zack.
733 2004-03-01 Paolo Carlini <pcarlini@suse.de>
735 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
736 money_get<>::do_get(string_type&)): ... and two more.
738 2004-03-01 Paolo Carlini <pcarlini@suse.de>
740 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
741 Fix thinkos in the switch from string_type& to string& as last
744 2004-03-01 Paolo Carlini <pcarlini@suse.de>
746 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
747 Also when parsing exponent sign, first look for thousands_sep
748 and decimal_point; tweak a bit.
749 * testsuite/22_locale/num_get/get/char/15.cc: New.
750 * testsuite/22_locale/num_get/get/wchar_t/15.cc: New.
752 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
753 num_get<>::_M_extract_int): Reorder some conditionals.
755 2004-03-01 Paolo Carlini <pcarlini@suse.de>
757 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
758 Consistently with numpunct, enforce the requirements in
759 22.2.6.3, p3 for the thousands separators; tweak a bit.
760 * testsuite/22_locale/money_get/get/char/15.cc: New.
761 * testsuite/22_locale/money_get/get/wchar_t/15.cc: New.
763 2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com>
765 * testsuite/lib/libstdc++.exp (v3-list-tests): Use
766 testsuite_files from correct multilib blddir when running
769 2004-02-29 Phil Edwards <phil@codesourcery.com>
771 * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy
772 the summary file to the logfile.
773 * testsuite/Makefile.in: Regenerate.
775 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
777 * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
779 * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
780 __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.
782 2004-02-28 Paolo Carlini <pcarlini@suse.de>
784 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
785 According to 22.2.3.1, p2, 'units' may be followed by 'e' with
786 no 'decimal-point' in the middle: in this case too we must fix
787 up __found_grouping; slightly tweak.
788 * testsuite/22_locale/num_get/get/char/14.cc: New.
789 * testsuite/22_locale/num_get/get/wchar_t/14.cc: New.
791 2004-02-27 Eric Christopher <echristo@redhat.com>
792 Phil Edwards <phil@codesourcery.com>
794 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
795 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
796 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
797 testsuite/22_locale/collate/hash/wchar_t/2.cc,
798 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
799 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
800 testsuite/22_locale/collate/transform/wchar_t/2.cc,
801 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
802 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
803 Use dg-require-iconv.
804 * testsuite/lib/libstdc++.exp: Load target-supports.exp.
806 2004-02-27 Phil Edwards <phil@codesourcery.com>
807 Eric Christopher <echristo@redhat.com>
809 * testsuite/config/default.exp: Update with comments.
810 (${tool}_target_compile): New wrapper routine.
811 * testsuite/lib/dg-options.exp: New file, with dg-require-iconv.
812 * testsuite/lib/libstdc++.exp: Update with comments and cosmetic
814 (load_gcc_lib, v3track): New routines.
815 (v3-init): Rename to libstdc++_init.
816 * testsuite/libstdc++-dg/normal.exp: No longer call v3-init.
817 Move DEFAULT_CXXFLAGS handling into libstdc++_init.
819 2004-02-27 Benjamin Kosnik <bkoz@redhat.com>
821 * config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
823 * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
825 * config/os/irix/irix5.2/atomicity.h: Merge..
826 * config/os/irix/irix6.5/atomicity.h: Merge..
827 * config/os/irix/atomicity.h: ...into this.
828 * config/os/irix/atomic_word.h: New.
829 * configure.host: Set atomic_word_dir for irix.
831 * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
832 * i386/atomicity.h: Same.
833 * m68k/atomicity.h: Same.
834 * sparc/atomicity.h: Same.
836 2004-02-27 David Edelsohn <edelsohn@gnu.org>
838 * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
839 static, and inline keywords.
841 2004-02-27 Paolo Carlini <pcarlini@suse.de>
843 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
844 num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
845 call reserve on the __tmp_gruping string.
846 (num_get<>::_M_extract_float): Don't append unnecessarily a
847 char() to the returned string.
848 * include/bits/locale_facets.tcc: Trivial reformattings.
850 2004-02-27 Paolo Carlini <pcarlini@suse.de>
852 * include/bits/locale_facets.h (money_get<>::_M_extract):
853 Change signature: now takes a plain string&.
854 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
855 Update consistently the definition; use the moneypunct cache
856 to parse the value; use swap to change __units.
857 (money_get<>::do_get(long double&)): Update call of _M_extract,
858 avoid ctype::narrow, not correct wrt the standard.
859 (money_get<>::do_get(string_type&)): Likewise, update call
860 of _M_extract, use ctype::widen.
861 * src/locale-inst.cc: Tweak instantiations of _M_extract.
863 2004-02-26 Ian Lance Taylor <ian@wasabisystems.com>
865 * testsuite/demangle/abi_examples/01.cc: Expect error -2.
866 * testsuite/demangle/abi_examples/02.cc: Likewise.
867 * testsuite/demangle/regression/cw-11.cc: Likewise.
868 * testsuite/demangle/regression/cw-16.cc: Change two expected
869 results to match libiberty demangler output.
871 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
874 * libsupc++/Makefile.am: Use libiberty demangler.
875 (c_sources): Add cp-demangle.c.
876 * libsupc++/Makefile.in: Regenerate.
877 * src/Makefile.am (sources): Remove demangle.cc.
878 * src/Makefile.in: Regenerate.
879 * include/Makefile.am (bits_headers): Move demangle.h.
880 (ext_headers): ...here.
881 * include/Makefile.in: Regenerate.
882 * include/bits/demangle.h: Move...
883 * include/ext/demangle.h: ...here.
884 * src/demangle.cc: Remove.
886 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
888 * include/bits/demangle.h: Add type template parameter to all
889 templates with just an Allocator template parameter.
891 2004-02-25 Benjamin Kosnik <bkoz@redhat.com>
893 * include/bits/atomicity.h: New, forward declarations for __atomic_add
894 and __exchange_and_add.
895 * config/cpu/generic/atomic_word.h: New, typdef for atomic word.
896 * config/cpu/cris/atomic_word.h: Same.
897 * config/cpu/sparc/atomic_word.h: Same.
898 * include/bits/ios_base.h (_Callback_list::_M_remove_reference):
899 Qualifiy with __gnu_cxx.
900 (_Callback_list::_M_add_reference): Same.
901 * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
902 (locale::facet::_M_remove_reference): Same.
903 (locale::_Impl::_M_add_reference): Add.
904 (locale::_Impl::_M_remove_reference): Same.
905 * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
906 (basic_string::_Rep::_M_dispose): Same.
907 * src/ios.cc (ios_base::xalloc): Same.
908 * src/ios_init.cc (ios_base::Init::Init): Same.
909 (ios_base::Init::~Init): Same.
910 * src/locale.cc (locale::id::_M_id): Same.
911 * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
912 static, and inline keywords.
913 * config/cpu/alpha/atomicity.h: Same.
914 * config/cpu/cris/atomicity.h: Same.
915 * config/cpu/generic/atomicity.h: Same.
916 * config/cpu/hppa/atomicity.h: Same.
917 * config/cpu/i386/atomicity.h: Same.
918 * config/cpu/ia64/atomicity.h: Same.
919 * config/cpu/m68k/atomicity.h: Same.
920 * config/cpu/mips/atomicity.h: Same.
921 * config/cpu/powerpc/atomicity.h: Same.
922 * config/cpu/s390/atomicity.h: Same.
923 * config/cpu/sparc/atomicity.h: Same.
925 * src/Makefile.am (host_sources): Add atomicity.cc.
926 (atomicity.cc): New rule.
927 * src/Makefile.in: Regenerate.
928 * include/Makefile.am (host_headers): Remove host atomicity.h.
929 (host_headers): Add atomic_word.h.
930 (bits_headers): Add bits atomicity.h.
931 Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
932 * include/Makefile.in: Regenerate.
933 * configure.host (atomic_word_dir): Add.
934 * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
935 ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
936 * configure: Regenerate.
937 * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
939 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
940 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
942 2004-02-25 Jonathan Wakely <redi@gcc.gnu.org>
944 * docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
945 docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
946 Fix markup, more <link> tags.
948 2004-02-25 Carlo Wood <carlo@alinoe.com>
951 namespace __gnu_cxx::demangler
952 (session<Allocator>::qualifier_list_Allocator): Add
953 (session<Allocator>::M_qualifier_list_alloc): Add
954 (session<Allocator>::decode_type_with_postfix):
955 Use M_qualifier_list_alloc instead of calling operator new/delete.
957 2004-02-24 Paolo Carlini <pcarlini@suse.de>
960 * include/bits/postypes.h (class streamoff): Add operator++(),
961 operator++(int), operator--() and operator--(int).
962 * testsuite/27_io/fpos/14252.cc: New.
964 2004-02-24 Richard Sandiford <rsandifo@redhat.com>
966 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
967 error in handling of hex constants.
969 2004-02-24 Paolo Carlini <pcarlini@suse.de>
971 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
972 Prefer basic_string::append to operator+= and a temporary.
974 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
976 * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
977 Only use fputs, not write.
979 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
981 * include/ext/malloc_allocator.h: Add operators ==, !=.
982 * include/ext/new_allocator.h: Add operators ==, !=.
983 * include/ext/mt_allocator.h (__mt_alloc::tune): New.
984 (__mt_alloc::_S_get_options): New.
985 (__mt_alloc::_S_set_options): New.
986 (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
987 (__mt_alloc::_S_no_of_bins): To _S_bin_size.
988 Move functions out of line, simplify, format.
989 * src/allocator.cc: Simplify explicit instantiations.
990 * include/bits/allocator.h: Tweak.
992 2004-02-22 Paolo Carlini <pcarlini@suse.de>
994 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
995 Restructure formatting of value component, first dealing with
996 the non-decimal digits; use reserve.
998 2004-02-22 Paolo Carlini <pcarlini@suse.de>
1000 * include/bits/locale_facets.h (class money_get): Inherit
1001 from money_base too; tweak declaration of _M_extract, now
1002 parameterized on _Intl too.
1003 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
1004 Update definition to use the cache; call reserve on __res to
1005 avoid multiple reallocations; fix parsing of sign component
1006 according to 22.2.6.1.2, p3.
1007 (money_get<>::do_get(long double&),
1008 money_get<>::do_get(string_type&)): Update calls of _M_extract.
1009 * src/locale-inst.cc: Add instantiations of
1010 money_get::_M_extract<false> and money_get::_M_extract<true>.
1011 * testsuite/22_locale/money_get/get/char/14.cc: New.
1012 * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
1014 2004-02-21 Mark Mitchell <mark@codesourcery.com>
1016 * libsupc++/vterminate.cc
1017 (__gnu_cxx::__verbose_terminate_handler): Guard against recursive
1019 * src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
1021 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
1022 not set RLIMIT_AS on HP-UX.
1024 2004-02-21 Mark Mitchell <mark@codesourcery.com>
1026 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
1027 not set RLIMIT_AS on HP-UX.
1029 2004-02-21 Paolo Carlini <pcarlini@suse.de>
1031 * include/bits/locale_facets.h (class money_base): Add { _S_minus,
1032 _S_zero, _S_end } enum, _S_atoms.
1033 (struct __moneypunct_cache<>): Parameterize on _Intl too; add
1034 _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
1035 _M_negative_sign_size, _M_atoms; tweak constructor consistently.
1036 (__moneypunct_cache<>::~__moneypunct_cache): Update.
1037 (__moneypunct_cache<>::_M_cache): Fill the cache.
1038 (class moneypunct): Tweak __cache_type typedef.
1039 (class money_put): Inherit from money_base too; tweak declaration
1040 of _M_insert, now parameterized on _Intl.
1041 * include/bits/locale_facets.tcc
1042 (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
1043 (money_put<>::_M_insert): Update definition to use the cache;
1044 call reserve on __res to avoid multiple reallocations.
1045 (money_put<>::do_put(long double),
1046 money_put<>::do_put(const string_type&): Update calls of _M_insert.
1047 * config/locale/generic/monetary_members.cc
1048 (moneypunct<char, true>::_M_initialize_moneypunct,
1049 moneypunct<char, false>::_M_initialize_moneypunct,
1050 moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1051 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
1052 * config/locale/gnu/monetary_members.cc: Likewise.
1053 * config/locale/gnu/monetary_members.cc
1054 (moneypunct<wchar_t, true>::~moneypunct(),
1055 moneypunct<wchar_t, false>::~moneypunct()): Likewise.
1056 * src/globals_locale.cc: Tweak fake_money_cache_c.
1057 * src/locale-inst.cc: Add instantiations for
1058 money_put::_M_insert<false> and money_put::_M_insert<true> and
1059 __moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
1060 * src/locale_facets.cc: Define money_base::_S_atoms.
1061 * src/locale_init.cc: Update placement new of
1062 __moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
1063 __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
1065 * config/locale/generic/numeric_members.cc: Clean up.
1066 * config/locale/gnu/numeric_members.cc: Likewise.
1067 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
1068 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
1069 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
1070 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
1071 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
1072 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
1074 2004-02-20 Mark Mitchell <mark@codesourcery.com>
1076 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
1077 FIFO for writing with ios_base::in|ios_base::out.
1078 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1079 * testsuite/27_io/objects/char/7.cc: Likewise.
1080 * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
1083 2004-02-19 David Edelsohn <edelsohn@gnu.org>
1085 * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
1086 from iso-8859-1 to ISO8859-1.
1087 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
1088 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
1089 * 22_locale/collate/hash/wchar_t/2.cc: Same.
1090 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
1091 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
1092 * 22_locale/collate/transform/wchar_t/2.cc: Same.
1093 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
1094 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
1096 2004-02-18 Paolo Carlini <pcarlini@suse.de>
1098 * include/bits/locale_facets.h (money_get<>::_M_extract):
1099 New, helper for do_get.
1100 (money_put<>::_M_insert): Likewise, for do_put.
1101 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
1102 money_put<>::_M_insert): Define.
1103 (money_get<>::do_get(long double&), money_get<>::do_get(
1104 string_type&), money_put::do_put(long double),
1105 money_put::do_put(const string_type&)): Use the helpers.
1107 2004-02-18 Paolo Carlini <pcarlini@suse.de>
1109 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
1110 Rewrite, avoiding recursion.
1111 (__gnu_internal::xwrite): Minor tweaks.
1113 2004-02-17 Stefan Olsson <stefan@xapa.se>
1115 * include/ext/mt_allocator.h: Removed the last
1116 pointer. Deallocated blocks are now added to the front of
1117 freelists as proposed by Felix Yen. This gives roughly 10%
1118 performance boost and saves some memory.
1119 * docs/html/ext/mt_allocator.html: Change due to that deallocated
1120 blocks now are added to the front of freelists. The reason to this
1121 approach is also explained.
1123 2004-02-17 Paolo Carlini <pcarlini@suse.de>
1125 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
1126 num_get<>::_M_extract_int, money_get<>::do_get): Simplify
1127 grouping fidelity conditional.
1129 2004-02-16 Paolo Carlini <pcarlini@suse.de>
1131 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
1132 Qualify exception with std::.
1133 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
1134 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
1135 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
1136 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
1137 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
1139 2004-02-16 Paolo Carlini <pcarlini@suse.de>
1141 * testsuite/ext/enc_filebuf/char/13189.cc: Don't check
1142 for now that the catch block is not reached.
1143 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
1145 2004-02-16 Paolo Carlini <pcarlini@suse.de>
1147 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
1148 Fix parsing of the remaining sign characters.
1149 * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
1150 the input is scanned 'til eof.
1151 * 22_locale/money_get/get/char/4.cc: Likewise.
1152 * 22_locale/money_get/get/wchar_t/2.cc: Likewise.
1153 * 22_locale/money_get/get/wchar_t/4.cc: Likewise.
1154 * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
1155 not do_pos_format: the former is the only one that matters during
1157 * 22_locale/money_get/get/wchar_t/8.cc: Likewise.
1159 * 22_locale/money_get/get/char/6.cc: Minor tweak.
1160 * 22_locale/money_get/get/wchar_t/6.cc: Likewise.
1162 2004-02-15 David Asher <david.asher@cavium.com>
1165 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
1166 access __olds beyond __oldlen.
1168 2004-02-14 Paolo Carlini <pcarlini@suse.de>
1170 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
1171 sure the exception is actually thrown.
1172 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
1173 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
1174 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
1176 2004-02-14 Paolo Carlini <pcarlini@suse.de>
1179 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
1180 In case of conversion errors, throw ios_failure; simplify.
1181 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
1182 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
1183 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
1184 previously we didn't throw in case of conversion errors, instead
1185 just returned eof().
1186 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
1187 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
1188 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
1190 * include/bits/fstream.tcc (basic_filebuf<>::overflow):
1191 Trivial simplification of a conditional.
1193 2004-02-12 Paolo Carlini <pcarlini@suse.de>
1195 PR libstdc++/13731 (final part: writev)
1196 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
1197 New, a wrapper around writev() handling partial writes.
1198 (__basic_file<char>::xwrite): Move to __gnu_internal and make
1200 (__basic_file<char>::xsputn): Update call.
1201 (__basic_file<char>::xsputn_2): Likewise.
1202 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
1203 Don't declare, now static.
1205 2004-02-11 Stefan Olsson <stefan@xapa.se>
1207 * docs/html/ext/mt_allocator.html: New.
1209 2004-02-11 Benjamin Kosnik <bkoz@redhat.com>
1211 * docs/html/20_util/allocator.html: New file, consolidate
1212 allocator information here. Revamp.
1213 * docs/html/documentation.html: Change links.
1214 * docs/html/20_util/howto.html: Same.
1215 * docs/html/ext/howto.html: Same.
1217 2004-02-11 Paolo Carlini <pcarlini@suse.de>
1219 PR libstdc++/13731 (first part: write)
1220 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
1222 * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
1223 Define it: a wrapper around write() handling partial write.
1224 (__basic_file<char>::xsputn): Use it.
1225 (__basic_file<char>::xsputn_2): Likewise.
1227 2004-02-11 Paolo Carlini <pcarlini@suse.de>
1228 Petur Runolfsson <peturr02@ru.is>
1231 * include/std/std_istream.h (operator>>(__istream_type& (*)
1232 (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
1233 operator>>(ios_base& (*)(ios_base&))): Declare inline.
1234 * include/std/std_ostream.h (operator<<(__ostream_type& (*)
1235 (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
1236 operator<<(ios_base& (*) (ios_base&))): Likewise.
1237 * testsuite/performance/27_io/fmtflags_manipulators.cc: New.
1239 2004-02-10 Loren J. Rittle <ljrittle@acm.org>
1242 * config/linker-map.gnu: Add typeinfo and typeinfo name for
1243 __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
1246 * config/linker-map.gnu: Add typeinfo and typeinfo name for
1247 __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
1249 2004-02-09 Loren J. Rittle <ljrittle@acm.org>
1251 * include/ext/pool_allocator.h: Include c++config.h.
1253 2004-02-09 Stefan Olsson <stefan@xapa.se>
1255 * include/ext/mt_allocator.h: thread_id is unused in non threaded
1256 applications and now has a ifdef to remove it completely on
1257 compilers without thread support. Include stdlib.h due to a
1258 compiler warning on getenv().
1260 2004-02-09 Paul Brook <paul@codesourcery.com>
1262 * libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
1264 2004-02-09 Paolo Carlini <pcarlini@suse.de>
1267 * src/locale_init.cc (locale::global(const locale&)): Use
1268 locale::name() in order to decide whether calling setlocale.
1269 * testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
1271 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
1272 Avoid computing &= unnecessarily.
1274 2004-02-09 James E Wilson <wilson@specifixinc.com>
1277 * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
1278 __builtin_extend_pointer.
1280 2004-02-09 Paolo Carlini <pcarlini@suse.de>
1283 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
1284 Don't leave dangling pointers.
1285 * testsuite/27_io/basic_ios/imbue/14072.cc: New.
1286 * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
1287 facet is needed in the final test.
1289 2004-02-09 Bernardo Innocenti <bernie@develer.com>
1291 * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
1292 * configure: Regenerate.
1294 2004-02-08 Richard Henderson <rth@redhat.com>
1297 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
1298 uncaughtExceptions during nested catch rethrow.
1299 * testsuite/18_support/14026.cc: New.
1301 2004-02-08 Paolo Carlini <pcarlini@suse.de>
1303 * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
1304 When working in place remember to set the state to sharable
1305 (otherwise, _M_mutate does it).
1307 2004-02-08 Bernardo Innocenti <bernie@develer.com>
1309 * include/bits/allocator.h, include/bits/basic_ios.h,
1310 include/bits/basic_ios.tcc, include/bits/basic_string.h,
1311 include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
1312 include/bits/char_traits.h, include/bits/codecvt.h,
1313 include/bits/concurrence.h, include/bits/cpp_type_traits.h,
1314 include/bits/demangle.h, include/bits/deque.tcc,
1315 include/bits/fstream.tcc, include/bits/functexcept.h,
1316 include/bits/gslice.h, include/bits/gslice_array.h,
1317 include/bits/indirect_array.h, include/bits/ios_base.h,
1318 include/bits/istream.tcc, include/bits/list.tcc,
1319 include/bits/locale_classes.h, include/bits/locale_facets.h,
1320 include/bits/locale_facets.tcc, include/bits/localefwd.h,
1321 include/bits/mask_array.h, include/bits/ostream.tcc,
1322 include/bits/postypes.h, include/bits/slice_array.h,
1323 include/bits/sstream.tcc, include/bits/stl_algo.h,
1324 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
1325 include/bits/stl_construct.h, include/bits/stl_deque.h,
1326 include/bits/stl_function.h, include/bits/stl_heap.h,
1327 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1328 include/bits/stl_list.h, include/bits/stl_map.h,
1329 include/bits/stl_multimap.h, include/bits/stl_multiset.h,
1330 include/bits/stl_numeric.h, include/bits/stl_pair.h,
1331 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1332 include/bits/stl_relops.h, include/bits/stl_set.h,
1333 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1334 include/bits/stl_threads.h, include/bits/stl_tree.h,
1335 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1336 include/bits/stream_iterator.h, include/bits/streambuf.tcc,
1337 include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
1338 include/bits/type_traits.h, include/bits/valarray_after.h,
1339 include/bits/valarray_array.h, include/bits/valarray_array.tcc,
1340 include/bits/valarray_before.h, include/bits/vector.tcc: Remove
1341 trailing whitespace.
1343 2004-02-06 Paolo Carlini <pcarlini@suse.de>
1345 * include/bits/basic_string.h: Fix comment.
1347 2004-02-06 Paolo Carlini <pcarlini@suse.de>
1349 * include/bits/stl_construct.h: Wrap overlong lines, reformat
1350 according to the coding standards.
1351 * include/bits/stl_pair.h: Likewise.
1352 * include/bits/stl_raw_storage_iter.h: Likewise.
1353 * include/bits/stl_stack.h: Likewise.
1354 * include/bits/stl_uninitialized.h: Likewise.
1355 * include/bits/stream_iterator.h: Likewise.
1356 * include/bits/streambuf_iterator.h: Likewise.
1357 * include/bits/type_traits.h: Likewise.
1359 2004-02-06 Paolo Carlini <pcarlini@suse.de>
1361 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
1364 2004-02-05 Loren J. Rittle <ljrittle@acm.org>
1366 * scripts/check_performance: Support PCH.
1368 * scripts/check_performance (CXX): Add -DNOTHREAD.
1369 * testsuite/performance/20_util/allocator/insert.cc: Integrate
1370 threaded tests from insert_insert.cc. Tweak iterations,
1371 remove special cases.
1372 * testsuite/performance/20_util/allocator/insert_insert.cc:
1373 Make all tests single-threaded. Tweak iterations.
1374 * testsuite/performance/20_util/allocator/map_thread.cc:
1376 * testsuite/performance/20_util/allocator/producer_consumer.cc:
1379 2004-02-05 Geoffrey Keating <geoffk@apple.com>
1383 * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
1384 'gcc-lib'. Add comment about poorly-named variables.
1385 * aclocal.m4: Regenerate.
1386 * configure: Regenerate.
1388 2004-02-05 Paolo Carlini <pcarlini@suse.de>
1390 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
1391 Thousands-sep are always optional; thousands-sep are not allowed
1392 after the decimal_point.
1393 * testsuite/22_locale/money_get/get/char/12.cc: New.
1394 * testsuite/22_locale/money_get/get/char/13.cc: New.
1395 * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
1396 * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
1398 * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
1399 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
1400 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
1401 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
1402 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
1403 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
1404 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
1405 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
1407 * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
1409 * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
1411 2004-02-05 Richard Sandiford <rsandifo@redhat.com>
1413 * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
1415 * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
1416 it to decide whether FIONREAD should take an off_t or int argument.
1418 2004-02-05 Paolo Carlini <pcarlini@suse.de>
1420 * include/bits/stl_function.h: Minor formatting changes.
1422 2004-02-04 Zack Weinberg <zack@codesourcery.com>
1424 Revert previous change to config/abi/*/baseline_symbols.txt.
1426 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
1427 Zack Weinberg <zack@codesourcery.com>
1429 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
1431 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
1432 (__basic_file<char>::_M_open_mode): Delete.
1433 * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
1435 * testsuite/27_io/basic_filebuf/close/char/9964.cc
1436 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
1437 Correct flags to filebuf::open calls.
1439 * config/abi/alpha-freebsd5/baseline_symbols.txt
1440 * config/abi/alpha-linux-gnu/baseline_symbols.txt
1441 * config/abi/hppa-linux-gnu/baseline_symbols.txt
1442 * config/abi/i386-freebsd4/baseline_symbols.txt
1443 * config/abi/i386-freebsd5/baseline_symbols.txt
1444 * config/abi/i486-linux-gnu/baseline_symbols.txt
1445 * config/abi/ia64-linux-gnu/baseline_symbols.txt
1446 * config/abi/mips-linux-gnu/baseline_symbols.txt
1447 * config/abi/sparc-freebsd5/baseline_symbols.txt
1448 * config/abi/sparc-linux-gnu/baseline_symbols.txt
1449 * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
1450 Remove entry for __basic_file<char>::_M_open_mode.
1452 2004-02-04 Loren J. Rittle <ljrittle@acm.org>
1454 * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
1456 2004-02-04 Felix Yen <fwy@alumni.brown.edu>
1458 * testsuite/performance/20_util/producer_consumer.cc: New.
1459 * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
1461 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
1463 * testsuite/performance/20_util/allocator.cc: Move to..
1464 * testsuite/performance/20_util/allocator/insert.cc: ...here.
1465 * testsuite/performance/20_util/allocator_thread.cc: Move to...
1466 * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
1467 * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
1468 * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
1470 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
1472 * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
1473 * docs/html/faq/index.txt: Regenerate.
1475 2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
1477 * include/ext/debug_allocator.h: _M_extra now stands for the
1478 number of extra objects instead of the number of extra bytes.
1479 (debug_allocator::allocate): Adjust.
1480 (debug_allocator::deallocate): Adjust.
1482 * include/ext/pool_allocator.h: Fix typo.
1484 2004-02-03 Felix Yen <fwy@alumni.brown.edu>
1485 Benjamin Kosnik <bkoz@redhat.com>
1487 * testsuite/performance/20_util/allocator.cc: Add map,
1489 * testsuite/performance/20_util/allocator_thread.cc: Same.
1491 2004-02-03 Paolo Carlini <pcarlini@suse.de>
1493 * include/bits/basic_string.h (insert(iterator)): Remove,
1494 non-standard and already scheduled for removal.
1496 2004-02-03 Paolo Carlini <pcarlini@suse.de>
1498 * include/bits/stl_iterator_base_funcs.h: Minor formatting
1499 and indentation tweaks.
1500 * include/bits/stl_iterator_base_types.h: Likewise.
1501 * include/bits/stl_list.h: Likewise.
1502 * include/bits/stl_map.h: Likewise.
1503 * include/bits/stl_tempbuf.h: Likewise.
1505 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
1507 * include/bits/gslice.h, include/bits/gslice_array.h,
1508 include/bits/indirect_array.h, include/bits/mask_array.h,
1509 include/bits/slice_array.h, include/bits/stl_numeric.h,
1510 include/std/std_valarray.h: Update copyright years.
1512 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
1514 * include/bits/gslice.h (gslice): Document.
1515 * include/bits/gslice_array.h (gslice_array): Document.
1516 * include/bits/indirect_array (indirect_array): Document.
1517 * include/bits/mask_array (mask_array): Document.
1518 * include/bits/slice_array.h (slice,slice_array): Document.
1519 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
1520 adjacent_difference): Document
1521 * include/std/std_valarray.h (valarray): Document.
1523 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
1525 * docs/html/19_diagnostics/howto.html: Move verbose terminate
1527 * docs/html/18_support/howto.html: Here.
1528 * docs/html/documentation.html: Add reference here.
1530 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1532 * config/locale/gnu/c++locale_internal.h: Remove prototypes
1533 of no longer used GLIBC thread locale functions.
1535 2004-02-02 Eric Christopher <echristo@redhat.com>
1536 Zack Weinberg <zack@codesourcery.com>
1538 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
1540 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
1541 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
1542 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
1543 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
1544 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
1545 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
1546 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
1547 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1550 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1552 * include/bits/stl_function.h: Additional minor tweaks.
1553 * include/bits/stl_multiset.h: Likewise.
1555 * include/bits/stl_queue.h: Minor tweaks.
1557 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1559 PR libstdc++/13976 (continued)
1560 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
1561 Make the second parameter unnamed, to void unused parameter
1563 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
1565 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1568 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
1569 Make the second parameter unnamed, to void unused parameter
1571 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
1572 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
1574 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1576 * include/bits/stl_algo.h: Additional minor tweaks.
1577 * include/bits/stl_map.h: Likewise.
1578 * include/bits/stl_multimap.h: Likewise.
1579 * include/bits/stl_multiset.h: Likewise.
1580 * include/bits/stl_set.h: Likewise.
1581 * include/bits/stl_tree.h: Likewise.
1583 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1585 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
1588 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1590 * include/bits/stl_function.h: Additional minor tweaks.
1592 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1594 * include/bits/deque.tcc: Wrap overlong lines, constify
1595 a few variables, reformat according to the coding standards.
1596 * include/bits/list.tcc: Likewise.
1597 * include/bits/stl_deque.h: Likewise.
1598 * include/bits/stl_function.h: Likewise.
1599 * include/bits/stl_iterator.h: Likewise.
1600 * include/bits/stl_iterator_base_funcs.h: Likewise.
1601 * include/bits/stl_iterator_base_types.h: Likewise.
1602 * include/bits/stl_list.h: Likewise.
1603 * include/bits/stl_map.h: Likewise.
1604 * include/bits/stl_multimap.h: Likewise.
1605 * include/bits/stl_multiset.h: Likewise.
1606 * include/bits/stl_relops.h: Likewise.
1607 * include/bits/stl_set.h: Likewise.
1609 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1611 * include/bits/stl_bvector.h: Wrap overlong lines, constify
1612 a few variables, reformat according to the coding standards.
1613 * include/bits/stl_tree.h: Likewise.
1615 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1617 * include/bits/stl_algo.h: Minor additional reformat, add
1619 * include/bits/stl_algobase.h: Add copyright year.
1621 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1623 * include/bits/stl_algo.h: Wrap overlong lines, constify
1624 a few variables, reformat according to the coding standards.
1625 * include/bits/stl_algobase.h: Likewise.
1626 * include/bits/stl_heap.h: Likewise.
1628 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1630 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
1632 * include/bits/basic_string.h: Fix two comments.
1634 2004-01-31 Per Bothner <per@bothner.com>
1636 * include/ext/mt_allocator.h
1637 (__mt_alloc::_S_thread_freelist_mutex): Guard with
1638 __GTHREAD_MUTEX_INIT.
1640 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1642 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
1644 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1646 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
1647 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
1648 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
1650 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
1652 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
1653 Don't use clear, but instead assign. Use insert.
1655 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
1657 * src/demangle.cc: Add instantiations.
1658 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
1659 * src/Makefile.in: Regenerate.
1661 2004-01-30 David Edelsohn <edelsohn@gnu.org>
1663 * src/allocator.cc: Protect _S_get_thread_id() and
1664 _S_thread_key_destr() with #ifdef __GTHREADS.
1666 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1668 Reshuffle performance testsuite.
1669 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
1670 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
1671 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
1672 fstream_seek_write.cc, ifstream_extract_float.cc,
1673 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
1674 list_create_fill_sort.cc, map_create_fill.cc,
1675 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
1676 ofstream_insert_float.cc, ofstream_insert_int.cc,
1677 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
1678 wchar_t_out.cc: Split into...
1679 * testsuite/performance/20_util/allocator.cc: New.
1680 * testsuite/performance/20_util/allocator_map_thread.cc: New.
1681 * testsuite/performance/20_util/allocator_thread.cc: New.
1682 * testsuite/performance/21_strings/string_append: New.
1683 * testsuite/performance/22_locale/is_wchar_t.cc: New.
1684 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
1685 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
1686 * testsuite/performance/22_locale/wchar_t_in.cc: New.
1687 * testsuite/performance/22_locale/wchar_t_length.cc: New.
1688 * testsuite/performance/22_locale/wchar_t_out.cc: New.
1689 * testsuite/performance/23_containers/container_benchmark.cc: New.
1690 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
1691 * testsuite/performance/23_containers/map_create_fill.cc: New.
1692 * testsuite/performance/26_numerics/complex_norm.cc: New.
1693 * testsuite/performance/27_io/cout_insert_int.cc: New.
1694 * testsuite/performance/27_io/filebuf_copy.cc: New.
1695 * testsuite/performance/27_io/filebuf_sputc.cc: New.
1696 * testsuite/performance/27_io/fstream_seek_write.cc: New.
1697 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
1698 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
1699 * testsuite/performance/27_io/ifstream_getline.cc: New.
1700 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
1701 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
1703 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1705 * include/bits/basic_string.tcc (_Rep::_S_create):
1706 Never allocate a string bigger than max_size(); always keep
1707 __capacity and __size in sync to avoid memory leaks at
1710 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1712 * include/bits/basic_string.tcc (_S_construct(_InIterator,
1713 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
1714 the double loop, streamline.
1716 * include/bits/basic_string.tcc: Very minor tweaks.
1718 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
1720 * scripts/check_performance: Only compile with $THREAD_FLAG
1721 when test is marked to require it. Allow multiple
1722 compilations/executions of marked tests.
1723 * testsuite/testsuite_performance.h (report_performance):
1724 Report dynamic thread support status.
1725 (report_header): Likewise.
1726 * testsuite/performance/allocator.cc: Stabilize iteration
1727 count. Support more allocators. Mark each allocator test to
1728 run and report independently.
1729 * testsuite/performance/allocator_map_thread.cc: Likewise.
1730 * testsuite/performance/allocator_thread.cc: Likewise.
1732 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
1734 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
1735 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
1736 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
1737 std::get_temporary_buffer() instead of duplicating its code.
1738 Update to C++STYLE conventions.
1739 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
1740 new() instead of std::malloc().
1741 (return_temporary_buffer): Use ::operator delete() instead of
1744 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
1746 * include/bits/allocator.h: Temporary switch to new_allocator as
1747 the default to unjam bootstraps.
1749 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
1751 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
1752 * include/Makefile.in: Regenerate.
1753 * include/bits/allocator_traits.h: Remove.
1754 * include/bits/allocator.h: Remove allocator_traits.h include, and
1756 (allocator): Empty base class, inherit from the underlying allocator.
1757 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
1758 * src/allocator.cc: ...here. New. For the underlying allocators.
1759 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
1760 * config/linker-map.gnu: Remove __pool_alloc bits.
1761 * src/Makefile.am (sources): Add allocator.cc.
1762 * src/Makefile.in: Regenerate.
1763 * testsuite/20_util/allocator/1.cc: Split second test into...
1764 * testsuite/20_util/allocator/8230.cc: ...this.
1765 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
1766 typedef to use std::allocatore. Format.
1767 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
1769 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
1770 __throw_bad_alloc calls. Don't include <memory>.
1771 * include/ext/malloc_allocator.h: Remove <memory> include.
1772 * include/ext/new_allocator.h (new_allocator): Same.
1773 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
1774 declaration. Switch __alloc to _Alloc.
1775 * include/ext/hashtable.h: Remove __alloc.
1776 * include/backward/alloc.h: Only inject allocator, not
1777 implementation details.
1779 * include/ext/mt_allocator.h: Replace free with delete.
1781 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
1783 * src/globals_io.cc: Change to __gnu_internal namespace.
1784 * src/globals_locale.cc: Same.
1785 * src/locale_init.cc: Same.
1786 * src/ios_init.cc: Same.
1788 2004-01-28 Stefan Olsson <stefan@snon.net>
1790 * include/ext/mt_allocator.h: Replaced all malloc() calls with
1791 operator new(). Added support for the env variable
1792 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
1793 one in allocate() as well). Fix typos.
1795 2004-01-28 Paolo Carlini <pcarlini@suse.de>
1797 * include/bits/basic_string.h (_S_create(size_t,
1798 const _Alloc&): Change signature to take two size_type
1800 * include/bits/basic_string.tcc (_S_construct(_InIterator,
1801 _InIterator, const _Alloc&, input_iterator_tag)): Update
1803 (_S_construct(_InIterator, _InIterator, const _Alloc&,
1804 forward_iterator_tag)): Likewise.
1805 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
1806 (_M_mutate(size_type, size_type, size_type)): Don't
1807 implement the exponential growth policy, demand it to
1808 _S_create, update call and simplify.
1809 (_M_clone(const _Alloc&, size_type)): Likewise.
1810 (_S_create(size_type, size_type, const _Alloc&)): Implement
1811 the growth policy, simplify otherwise.
1813 * include/bits/basic_string.h (_Rep::operator[]): Tweak
1814 signature to take a size_type, consistently with the other
1817 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
1819 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
1820 delete declarations, add include and test variable.
1822 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
1824 * include/bits/codecvt.h, include/bits/locale_facets.h,
1825 include/bits/postypes.h, include/bits/stl_bvector.h,
1826 include/bits/stl_multiset.h, include/bits/stl_set.h,
1827 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1828 include/std/std_complex.h: Document.
1830 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
1833 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
1834 iword/pword selector.
1835 (ios_base::iword, ios_base::pword): Use it.
1836 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
1837 iword or pword member on alloc failure.
1838 * testsuite/27_io/ios_base/storage/11584.cc: New test.
1840 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
1841 PJ Darcy <darcypj@us.ibm.com>
1843 * configure.host: Add support for *-tpf.
1844 * crossconfig.m4: Likewise.
1845 * configure: Regenerate.
1846 * config/os/tpf: New directory.
1847 * config/os/tpf/os_defines.h: New file.
1848 * config/os/tpf/ctype_base.h: Likewise.
1849 * config/os/tpf/ctype_inline.h: Likewise.
1850 * config/os/tpf/ctype_noninline.h: Likewise.
1852 2004-01-27 Paolo Carlini <pcarlini@suse.de>
1855 * include/bits/sstream.tcc: Guard use of extern template.
1857 2004-01-27 Paolo Carlini <pcarlini@suse.de>
1859 * include/bits/basic_string.tcc
1860 (basic_string(const basic_string&, size_type, size_type),
1861 basic_string(const basic_string&, size_type, size_type,
1862 const _Alloc&)): Avoid unnecessarily constructing iterators.
1864 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1866 * config/locale/generic/c_locale.cc: Fix throw messages
1867 to use the __N marker.
1868 * config/locale/gnu/c_locale.cc: Likewise.
1869 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
1871 * docs/html/17_intro/C++STYLE: Likewise.
1872 * include/bits/basic_ios.tcc: Likewise.
1873 * include/bits/fstream.tcc: Likewise.
1874 * include/bits/vector.tcc: Likewise.
1875 * include/ext/ropeimpl.h: Likewise.
1876 * include/std/std_bitset.h: Likewise.
1877 * src/ios.cc: Likewise.
1878 * src/locale.cc: Likewise.
1879 * src/localename.cc: Likewise.
1881 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1883 * include/bits/basic_string.h (_M_replace_aux): Use the
1884 __N marker in throw message.
1885 * include/bits/basic_string.tcc (assign(const _CharT*,
1886 size_type), insert(size_type, const _CharT*, size_type),
1887 replace(size_type, size_type, const _CharT*, size_type),
1888 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
1891 * include/bits/basic_string.h, include/bits/basic_string.tcc:
1892 Fold overlong lines, minor formatting changes.
1894 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1896 * include/bits/basic_string.h (replace(iterator, iterator,
1897 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
1898 (replace(iterator, iterator, const _CharT*)): Ditto.
1899 (replace(iterator, iterator, const _CharT*, size_type)):
1900 Add missing _GLIBCXX_DEBUG_PEDASSERT.
1902 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1904 * include/bits/basic_string.tcc (replace(size_type,
1905 size_type, const _CharT*, size_type)): Implement optimized
1906 in-place algorithm for non-overlapping ranges.
1907 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
1908 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
1910 * include/bits/basic_string.tcc (insert(size_type,
1911 const _CharT*, size_type)): Tweak slightly.
1913 2004-01-26 Andreas Schwab <schwab@suse.de>
1915 * config/locale/gnu/monetary_members.cc: Restore locale before
1916 rethrowing exception.
1918 2004-01-25 Paolo Carlini <pcarlini@suse.de>
1920 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
1922 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
1925 * include/bits/basic_string.tcc: Very minor tweaks.
1927 2004-01-25 Paolo Carlini <pcarlini@suse.de>
1929 * testsuite/performance/string_append.cc: Increase number
1932 2004-01-25 Paolo Carlini <pcarlini@suse.de>
1934 * include/bits/basic_string.h (erase(size_type, size_type),
1935 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
1936 instead, thus avoiding redundant check for length_error.
1938 * include/bits/basic_string.h: Tweak some comments.
1940 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1942 * include/bits/basic_string.tcc (operator+(const _CharT*,
1943 const basic_string&)): No need to go through the append
1944 taking two iterators.
1946 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1948 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
1949 Revert last change to use std::min: machine language is worse.
1950 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
1951 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
1952 (find_last_not_of(_CharT, size_type)): Ditto.
1954 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
1955 size_type)): Discard the value returned by _M_check.
1956 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
1957 (append(const basic_string&, size_type, size_type)): Ditto.
1958 (copy(_CharT*, size_type, size_type)): Ditto.
1959 (compare(size_type, size_type, const basic_string&)): Ditto.
1960 (compare(size_type, size_type, const basic_string&,
1961 size_type, size_type)): Ditto.
1962 (compare(size_type, size_type, const _CharT*)): Ditto.
1963 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
1965 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1967 * include/bits/basic_string.h (insert(size_type,
1968 const basic_string&, size_type, size_type)): Define inline here.
1969 * include/bits/basic_string.tcc (insert(size_type,
1970 const basic_string&, size_type, size_type)): Move inline.
1972 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1974 * include/bits/basic_string.h (assign(const basic_string&,
1975 size_type, size_type)): Define inline here.
1976 (replace(size_type, size_type, const basic_string&,
1977 size_type, size_type)): Ditto.
1978 (_M_replace_dispatch(iterator, iterator, _InputIterator,
1979 _InputIterator, __false_type)): Only declare.
1980 (_M_replace(iterator, iterator, _InputIterator,
1981 _InputIterator)): Remove.
1982 * include/bits/basic_string.tcc (assign(const basic_string&,
1983 size_type, size_type)): Move inline.
1984 (replace(size_type, size_type, const basic_string&,
1985 size_type, size_type)): Ditto.
1986 (_M_replace_dispatch(iterator, iterator, _InputIterator,
1987 _InputIterator, __false_type)): Define, now does also what
1988 _M_replace did before.
1989 * src/string-inst.cc (_M_replace): Don't instantiate.
1991 * include/bits/basic_string.tcc (find(const _CharT*,
1992 size_type, size_type)): Tidy.
1993 (rfind(_CharT, size_type)): Ditto.
1994 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
1995 (find_first_not_of(_CharT, size_type)): Ditto.
1996 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
1997 (find_last_not_of(_CharT, size_type)): Ditto.
1999 2004-01-23 Paolo Carlini <pcarlini@suse.de>
2002 * include/debug/bitset (operator|=): Fix typo.
2003 * testsuite/23_containers/bitset/operations/13838.cc: New.
2005 2004-01-23 Paolo Carlini <pcarlini@suse.de>
2007 * include/bits/basic_string.tcc (insert(size_type,
2008 const _CharT*, size_type __n)): Fix length_error check.
2009 (replace(size_type, size_type, const _CharT*, size_type):
2010 Ditto; call _M_replace_safe.
2011 (_M_replace_aux(size_type, size_type, size_type, _CharT):
2012 Fix length_error check.
2013 (_M_replace(iterator, iterator, _InputIterator,
2014 _InputIterator)): Ditto, tweak.
2015 (_M_replace_safe(size_type, size_type, const _CharT*,
2016 size_type)): Remove length_error check.
2018 * include/bits/basic_string.tcc (append(const basic_string&),
2019 append(const basic_string&, size_type, size_type)): Tweak
2022 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
2023 size_type)): If __n == 0 don't call traits::copy.
2025 2004-01-23 Stefan Olsson <stefan@snon.net>
2027 * include/ext/mt_allocator.h: Reduce lock contention.
2029 2004-01-23 Paolo Carlini <pcarlini@suse.de>
2032 * include/bits/fstream.tcc (underflow): Remove unused
2034 * include/bits/streambuf_iterator.h (equal): Ditto.
2035 * include/bits/locale_facets.h (_M_convert_from_char):
2038 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2041 * config/linker-map.gnu (nan): Delete.
2042 * libmath/mathconf.h (NAN, nan): Delete.
2043 * linkage.m4 (nan): Don't check for it.
2044 * libmath/nan.c: Delete file.
2046 * config.h.in, configure: Regenerate.
2048 2004-01-23 Paolo Carlini <pcarlini@suse.de>
2050 * include/bits/basic_string.h (push_back(_CharT)):
2051 Call _M_replace_aux.
2052 (insert(size_type, const basic_string&)): Trivial tweak.
2053 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
2054 (insert(iterator, _CharT)): Ditto.
2055 (erase(size_type, size_type)): Ditto.
2056 (erase(iterator)): Ditto.
2057 (erase(iterator, iterator)): Ditto.
2058 (replace(size_type, size_type, size_type, _CharT)): Ditto.
2060 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
2063 * testsuite/performance/allocator_map_thread.cc: New test.
2065 2004-01-22 Paolo Carlini <pcarlini@suse.de>
2067 * include/bits/locale_facets.tcc
2068 (money_put::do_put(..., long double)): Use the basic_string
2069 constructor for char arrays, not that for C-strings, to pass
2070 __digits to do_put(..., const string_type&): __ws isn't
2073 2004-01-22 Paolo Carlini <pcarlini@suse.de>
2075 * include/bits/basic_string.h (_M_replace_safe): Change
2076 signatures to take size_types and const _CharT*.
2077 (_M_replace_aux): Likewise, takes size_types instead of
2079 (append(size_type, _CharT)): Update call.
2080 (assign(size_type, _CharT)): Ditto.
2081 (replace(iterator, iterator, size_type, _CharT)): Ditto.
2082 (_M_replace_dispatch(iterator, iterator, _Integer,
2083 _Integer, __true_type)): Ditto.
2084 * include/bits/basic_string.tcc (assign(const _CharT*,
2086 (insert(size_type, const _CharT*, size_type)): Ditto.
2087 (replace(size_type, size_type, const _CharT*,
2089 (_M_replace(iterator, iterator, _InputIterator,
2090 _InputIterator)): Ditto.
2091 (append(const basic_string&)): Ditto.
2092 (append(const basic_string&, size_type, size_type): Ditto.
2093 (append(const _CharT*, size_type): Ditto.
2094 (_M_replace_safe, _M_replace_safe): Change definitions
2095 accordingly, simplify.
2096 * string-inst.cc (_M_replace_safe): Don't instantiate.
2098 2004-01-21 Paolo Carlini <pcarlini@suse.de>
2100 * include/bits/basic_string.tcc (append(const basic_string&)):
2101 Revert previous change.
2102 (append(const basic_string&, size_type, size_type)): Revert
2103 previous change, use _M_check and _M_limit.
2105 2004-01-21 Paolo Carlini <pcarlini@suse.de>
2107 * include/bits/basic_string.h (_M_check): Change to return
2108 a checked __pos and take an additional const char* argument.
2109 (_M_fold): Rename to _M_limit, change to return a size_type,
2110 corresponding to the __off limited to the actual length.
2111 (insert(size_type, size_type, _CharT)): Update call, call
2113 (insert(iterator, _CharT)): Call replace(iterator, iterator,
2114 size_type, _CharT) instead.
2115 (erase(size_type, size_type)): Update calls.
2116 (replace(size_type, size_type, size_type, _CharT)): Ditto.
2117 (substr(size_type, size_type)): Use _M_check.
2118 * include/bits/basic_string.tcc (basic_string(const basic_string&,
2119 size_type, size_type)): Update calls.
2120 (basic_string(const basic_string&, size_type, size_type,
2121 const _Alloc&)): Ditto.
2122 (assign(const basic_string&, size_type, size_type)): Use the
2123 new _M_check and _M_limit.
2124 (insert(size_type, const basic_string&, size_type, size_type):
2126 (insert(size_type, const _CharT*, size_type)): Ditto.
2127 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
2128 (replace(size_type, size_type, const basic_string&,
2129 size_type, size_type)): Ditto.
2130 (append(const basic_string&)): Ditto.
2131 (append(const basic_string&, size_type, size_type)): Ditto.
2132 (copy(_CharT*, size_type, size_type)): Ditto.
2133 (compare(size_type, size_type, const basic_string&)): Ditto.
2134 (compare(size_type, size_type, const basic_string&,size_type,
2136 (compare(size_type, size_type, const _CharT*)): Ditto.
2137 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
2139 2004-01-19 Stefan Olsson <stefan@snon.net>
2141 * include/ext/mt_allocator.h: If a thread, when it dies, still has
2142 memory on it's freelist this memory is not returned to global
2143 list. Simplification of deallocate so that memory is always
2144 returned to the calling thread id's freelist instead of to
2145 global. Fix typos. Add volatile where appropriate.
2147 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
2149 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
2150 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
2151 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
2153 2004-01-19 Paolo Carlini <pcarlini@suse.de>
2155 * src/debug.cc: Make sure all the names are prefixed with
2156 double (or single) underscore.
2158 2004-01-19 Paolo Carlini <pcarlini@suse.de>
2160 * src/debug.cc: Trivial formatting change.
2162 2004-01-19 Paolo Carlini <pcarlini@suse.de>
2164 * include/bits/basic_string.tcc (_S_construct(size_type,
2165 _CharT, const _Alloc&)): Remove redundant try/catch.
2166 (_M_mutate(size_type, size_type, size_type)): Ditto.
2167 (_M_clone(const _Alloc&, size_type)): Ditto.
2169 2004-01-18 Paolo Carlini <pcarlini@suse.de>
2171 * include/bits/basic_string.h (c_str()): Simplify, due to
2172 21.3.4 the internal representation is always kept null-terminated.
2173 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
2174 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
2175 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
2178 2004-01-18 Paolo Carlini <pcarlini@suse.de>
2180 * include/bits/basic_string.h (append(size_type, _CharT)):
2181 Moved inline, just call _M_replace_aux, no source iterators at
2182 risk of being clobbered.
2183 (assign(size_type, _CharT)): Call directly _M_replace_aux.
2184 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
2185 input_iterator_tag)): Remove fifth unused argument.
2186 (_M_replace_dispatch(iterator, iterator, _InputIterator,
2187 _InputIterator, __false_type)): Update call.
2188 * include/bits/basic_string.tcc (replace(size_type, size_type,
2189 const _CharT*, size_type)): Update call.
2190 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
2191 throw string literal.
2192 (_M_replace_safe(iterator, iterator, _ForwardIterator,
2193 _ForwardIterator)): Likewise.
2194 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
2195 input_iterator_tag)): Remove fifth unused argument.
2196 (append(size_type __n, _CharT __c)): Move inline.
2197 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
2198 const C*, const C*, input_iterator_tag)): Remove fifth unused
2201 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
2203 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
2204 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
2206 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2208 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
2211 2004-01-15 Stefan Olsson <stefan@snon.net>
2213 * include/ext/mt_allocator.h: Reuse thread id's as soon as
2214 possible by changing the behaviour of thread_freelist to do
2215 push_front when threads die instead of push_back.
2217 2004-01-14 Paolo Carlini <pcarlini@suse.de>
2219 * include/bits/locale_facets.h (struct __numpunct_cache):
2220 Add member _M_grouping_size, caching the length of _M_grouping.
2221 (__numpunct_cache<>::_M_cache): Assign the latter.
2222 (__verify_grouping): Move declaration...
2223 * include/bits/locale_facets.tcc (__verify_grouping):
2224 ... here, change signature to take a const char* and a size_t
2225 for the grouping; not a template anymore.
2226 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
2227 Likewise change signature and tweak consistently.
2228 (num_get::_M_extract_float, num_get::_M_extract_int,
2229 num_put::_M_insert_int, num_put::_M_insert_float,
2230 money_get::do_get(string_type&), money_get::do_put(string_type)):
2232 * config/locale/generic/numeric_members.cc
2233 (numpunct<>::_M_initialize_numpunct): Assign the new member.
2234 * config/locale/gnu/numeric_members.cc
2235 (numpunct<>::_M_initialize_numpunct): Likewise.
2236 * src/locale-inst.cc (__add_grouping): Tweak signature.
2237 (__verify_grouping): Don't instantiate, not a template anymore.
2239 * include/bits/locale_facets.h: Rename _M_truename_len ->
2240 _M_truename_size, _M_falsename_len -> _M_falsename_size.
2241 * include/bits/locale_facets.tcc: Likewise.
2242 * config/locale/generic/numeric_members.cc: Likewise.
2243 * config/locale/gnu/numeric_members.cc: Likewise.
2245 2004-01-14 Stefan Olsson <stefan@snon.net>
2247 * include/ext/mt_allocator.h: Fixups.
2248 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
2249 * testsuite/performance/allocator_thread.cc: Same.
2251 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
2253 * testsuite/performance/ifstream_extract_float.cc: Add higher
2255 * testsuite/performance/ofstream_insert_float.cc: Same.
2257 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2259 * src/locale-misc-inst.cc (__convert_from_v(long),
2260 __convert_from_v(unsigned long), __convert_from_v(long long),
2261 __convert_from_v(unsigned long long)): Remove, unused.
2263 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
2265 * testsuite/performance/ifstream_extract_float.cc: New.
2266 * testsuite/performance/ofstream_insert_float.cc: Float generation
2269 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
2270 * 20_util/auto_ptr/1.cc: ...this.
2271 * 20_util/auto_ptr/2.cc: Same.
2272 * 20_util/auto_ptr/3.cc: Same.
2273 * 20_util/auto_ptr/3946.cc: Same.
2274 * 20_util/auto_ptr/4.cc: Same.
2275 * 20_util/auto_ptr/5.cc: Same.
2276 * 20_util/auto_ptr/6.cc: Same.
2277 * 20_util/auto_ptr/7.cc: Same.
2278 * 20_util/auto_ptr/assign_neg.cc
2279 * 20_util/pairs.cc: Break into...
2280 * 20_util/pair/1.cc: ...this.
2281 * 20_util/pair/2.cc: Same.
2282 * 20_util/pair/3.cc: Same.
2283 * 20_util/pair/4.cc: Same.
2285 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2287 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
2288 Set correctly just basefield, the only group that matters.
2290 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2292 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
2293 (_Rope_rep_base): Inherit directly from the rope allocator;
2294 use rebinding instead of _Alloc_traits; pick up data member
2295 from _Rope_rep_alloc_base.
2296 (_Rope_alloc_base): Eliminate.
2297 (_Rope_base): Inherit directly from the rope allocator; use
2298 rebinding instead of _Alloc_traits; pick up data member from
2300 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
2301 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
2303 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2306 * include/bits/basic_string.tcc (compare(size_type, size_type,
2307 const _CharT*, size_type)): Implement correctly the resolution
2308 of DR 5: basically, s is a char array, -not- a C string.
2309 * include/bits/basic_string.h: Tweak some comments.
2310 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
2311 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
2313 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
2315 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
2318 2004-01-12 Paolo Carlini <pcarlini@suse.de>
2320 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
2322 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2325 2004-01-12 Paolo Carlini <pcarlini@suse.de>
2327 * include/bits/locale_facets.h (struct __numpunct_cache):
2328 Add members _M_truename_len and _M_falsename_len, caching
2329 the lengths of _M_truename and _M_falsename.
2330 (__numpunct_cache<>::_M_cache): Assign the latter.
2331 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
2332 num_put::do_put(bool)): Use the new members, thus avoiding
2333 computing string lengths again and again.
2334 * config/locale/generic/numeric_members.cc
2335 (numpunct<>::_M_initialize_numpunct): Assign the new members.
2336 * config/locale/gnu/numeric_members.cc
2337 (numpunct<>::_M_initialize_numpunct): Likewise.
2339 2004-01-12 Mark Mitchell <mark@codesourcery.com>
2341 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
2342 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
2344 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
2345 and remove Cygwin XFAIL.
2346 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2347 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2348 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2349 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2351 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2352 * testsuite/27_io/objects/char/7.cc: Likewise.
2353 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2354 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2355 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2357 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
2359 * include/std/std_complex.h (std::complex<>::real): Return a
2360 reference. Add non-const overload.
2361 (std::complex<>::real): Likewise.
2362 (std::real): Likewise.
2363 (std::imag): Likewise.
2364 (std::operator+): Tidy.
2365 (std::operator-): Likewise.
2366 (std::operator*): Likewise.
2367 (std::operator/): Likewise.
2368 (std::operator>>): Likewise.
2370 2004-01-11 Paolo Carlini <pcarlini@suse.de>
2373 * include/bits/fstream.tcc (imbue): Exploit the external
2374 buffer to imbue 'on the fly' a new locale and convert its
2375 remainder with the new codecvt facet.
2376 (underflow): Tweak slightly to deal with this special case.
2377 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
2378 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
2379 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
2380 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
2381 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
2383 2004-01-10 Paolo Carlini <pcarlini@suse.de>
2385 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
2388 2004-01-10 Paolo Carlini <pcarlini@suse.de>
2391 * include/bits/locale_classes.h (class locale): Fix category
2393 * testsuite/22_locale/locale/13630.cc: Add.
2395 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2397 * include/bits/locale_facets.h: Make a name really dependent. This
2398 will be needed when Core Issue 224 is implemented.
2400 2004-01-09 Paolo Carlini <pcarlini@suse.de>
2402 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
2403 * testsuite/performance/allocator_thread.cc: Likewise.
2405 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
2407 * crossconfig.m4: Add LFS, io bits to linux cross config.
2408 * acconfig.h: Remove obsolete bits, reorder.
2409 * config.h.in: Regenerate.
2413 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
2415 * include/bits/stl_list.h:
2416 * include/bits/list.tc:
2418 Performance enhancements for destructor, push_front(),
2419 push_back(), pop_front(), pop_back(), sort()
2420 Eliminated static_casts where possible.
2421 Moved code out of header files into new src/list.cc
2422 implementation file for library where possible.
2423 Remove inheritance from iterator class and create separate
2424 classes for non-constant and constant iterators.
2425 * include/bits/stl_tree.h (_Rb_tree class):
2427 Only erase contents in destructor.
2428 Eliminate unnecessary initialization in assignment operator.
2429 Optimize for the nominal case by not checking whether
2430 container is empty in clear().
2431 Re-order test in _M_insert() to improve performance.
2432 Move initialization of new node's left & right pointers to
2433 src/tree.cc to where new node's colour is initialized
2434 and to reduce the amount of inline code.
2435 Use _M_leftmost() and _M_end() to improve readability where
2437 Create separate classes for non-constant and constant
2438 iterators to clarify code, avoid extra template parameters and
2439 casting away constness.
2441 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
2443 * src/Makefile.am (sources): Add list.cc, tree.cc.
2444 * src/stl_tree.cc: Move to...
2445 * src/tree.cc: ...here.
2447 * config/linker-map.gnu: Tweaks.
2448 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
2449 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
2451 * bits/stl_vector.h: Column wrap comments.
2453 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
2455 (re-open) PR libstdc++/12658
2456 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
2457 (locale::global): Likewise.
2459 2004-01-07 Paolo Carlini <pcarlini@suse.de>
2461 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
2462 Remove redundant #include.
2463 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
2464 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
2465 re-enable normal testing.
2466 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
2468 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
2469 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
2471 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
2473 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
2475 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
2477 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
2479 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
2481 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
2483 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
2484 More properly, #include <locale>.
2485 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
2486 Remove redundant #include.
2487 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
2488 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
2489 redundant DejaGnu directive.
2490 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
2493 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
2494 Stefan Olsson <stefan@snon.net>
2496 * scripts/check_performance: Use -pthread.
2497 * testsuite/performance/allocator.cc: Tweaks, add list.
2498 * testsuite/performance/allocator_thread.cc: New.
2500 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
2502 * include/bits/locale_facets.h: Document public classes and
2504 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
2507 2004-01-06 Paolo Carlini <pcarlini@suse.de>
2509 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
2510 Remove redundant #includes.
2511 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
2513 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
2515 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
2516 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
2517 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
2518 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
2519 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
2520 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
2521 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
2522 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
2523 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
2524 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
2525 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
2526 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
2527 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
2528 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
2529 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
2531 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
2533 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
2535 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
2537 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
2539 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
2540 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
2541 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
2543 2004-01-04 Paolo Carlini <pcarlini@suse.de>
2545 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
2546 Remove redundant #includes.
2547 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
2549 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
2551 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
2553 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
2555 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
2557 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
2559 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
2561 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
2563 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
2565 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
2567 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2569 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
2572 2004-01-04 Mark Mitchell <mark@codesourcery.com>
2575 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
2577 * testsuite/27_io/basic_fstream/4.cc: Likewise.
2578 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
2579 * testsuite/27_io/basic_ios/4.cc: Likewise.
2580 * testsuite/27_io/basic_iostream/4.cc: Likewise.
2581 * testsuite/27_io/basic_istream/4.cc: Likewise.
2582 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
2583 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
2584 * testsuite/27_io/basic_ostream/4.cc: Likewise.
2585 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
2586 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
2587 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
2589 2004-01-04 Paolo Carlini <pcarlini@suse.de>
2591 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
2592 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
2593 always use double underscored names.
2594 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
2596 * include/bits/locale_facets.h (struct __numpunct_cache):
2597 Dimension _M_atoms_out and _M_atoms_in one position smaller.
2598 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out