1 2004-04-18 Release Manager
5 2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
7 * include/bits/stl_bvector.h: Use _M_impl._M_start.
9 2004-04-16 Benjamin Kosnik <bkoz@redhat.com>
11 * include/bits/c++config (_GLIBCXX_STD): New.
12 * src/list.cc: Use it.
13 * include/std/std_bitset.h: Same.
14 * include/bits/vector.tcc: Same.
15 * include/bits/stl_set.h: Same.
16 * include/bits/stl_multiset.h: Same.
17 * include/bits/stl_multimap.h: Same.
18 * include/bits/stl_map.h: Same.
19 * include/bits/stl_list.h: Same.
20 * include/bits/stl_vector.h: Same.
21 * include/bits/stl_bvector.h: Same.
22 * include/bits/stl_deque.h: Same.
23 * include/bits/deque.tcc: Same.
24 * include/bits/list.tcc: Same.
25 * include/debug/vector: Same.
26 * include/debug/set.h: Same.
27 * include/debug/multiset.h: Same.
28 * include/debug/multimap.h: Same.
29 * include/debug/map.h: Same.
30 * include/debug/list: Same.
31 * include/debug/deque: Same.
32 * include/debug/bitset: Same.
33 * include/debug/formatter.h (__gnu_debug): Remove using directive.
34 Add using declaration for std::type_info.
35 * include/debug/safe_iterator.h: Add using declaration for
36 std::iterator_traits and std::pair.
37 * src/debug_list.cc: New.
38 * src/Makefile.am: Add debug_list.cc.
39 * src/Makefile.in: Regenerate.
40 * config/linker-map.gnu: Add _List_node_base exports for std and
43 * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
44 idiom that other containers use.
45 * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
47 2004-04-14 Zack Weinberg <zack@codesourcery.com>
49 * testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
50 Change definition of CXX to use $(shell) instead of backticks.
51 * testsuite/Makefile.in: Regenerate.
53 2004-04-09 Andreas Schwab <schwab@suse.de>
55 * testsuite/lib/prune.exp (prune_g++_output): Ignore errata
56 warning from IA64 assembler.
58 2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
61 * include/bits/stl_tree.h: Adjust initialization list order.
63 2004-03-26 Benjamin Kosnik <bkoz@redhat.com>
66 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
67 (__enc_traits::_M_destroy): New.
68 (__enc_traits::~__enc_traits): Use it.
69 (__enc_traits::operator=): Use _M_destroy, _M_init.
70 (__enc_traits::__enc_traits): Same.
72 2004-03-26 Petur Runolfsson <peturr02@ru.is>
74 * testsuite/ext/enc_filebuf/char/13598.cc: New.
76 2004-03-25 Gawain Bolton <gp.bolton@computer.org>
78 * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
79 default argument in constructors.
80 (_Rb_tree::_M_empty_initialize): Remove.
82 2004-03-25 Benjamin Kosnik <bkoz@redhat.com>
84 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
85 * testsuite/23_containers/set/operators/1_neg.cc: Same.
87 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
89 * include/bits/cpp_type_traits.h: Changed __is_pod
90 completely. Now, it does not use any of the previous type_traits
91 to detect the pod types, and it also detects function pointers as
94 * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
95 which encapsulates the internal implementation of an rb_tree. Made
96 the allocator a base class of this class instead of the rb_tree,
97 which was not conforming. This _Rb_tree_impl class is also
98 specialized on whether the _Compare parameter is a POD type or
99 not. If so, then it maintains the comparison function as a data
100 member, otherwise it makes the _Compare parameter a base class of
101 itself. Also, _M_key_compare is now a function instead of a data
102 member, so that the above trick can work properly. Delegated the
103 initialization of the other data members to this newly created
104 class. Also, now other member functions of rb_tree must refer to
105 _M_key_compare as _M_impl._M_key_compare(). The other data members
106 (*) can be referenced to as _M_impl.(*), where
107 (*) includes _M_header, and _M_node_count.
109 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
111 * include/bits/stl_list.h: Created a _List_impl class and made it
112 derive from the allocator, instead of the list deriving from the
113 allocator class, which was not conformant. Changed all references
114 from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
115 as above (changed all references to the concerned variables).
117 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
119 * include/bits/stl_deque.h: Created a _Deque_impl class and made
120 it derive from the allocator, instead of the deque deriving from
121 the allocator class, which was not conformant. Changed all
122 references to the _M_start, _M_finish, _M_map, and _M_map_size to
124 (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
125 qualification in 2 places where it was missing.
126 (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
128 * include/bits/deque.tcc: Same as above (changed all references to
129 the concerned variables).
131 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
133 * include/bits/stl_vector.h: Created a _Vector_impl class and made
134 it derive from the allocator, instead of the _Vector_base class,
135 deriving from the allocator which was not conformant. Changed all
136 references to the _M_start, _M_finish, and _M_end_of_storage to
138 * include/bits/vector.tcc: Same as above (changed all references
139 to the concerned variables).
141 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
143 * testsuite/23_containers/deque/cons/clear_allocator.cc: New.
144 * testsuite/23_containers/list/cons/clear_allocator.cc: New.
145 * testsuite/23_containers/vector/cons/clear_allocator.cc: New.
147 2004-03-23 Benjamin Kosnik <bkoz@redhat.com>
149 * include/bits/locale_facets.h: Tweaks for 80 column.
150 (__numpunct_cache::_M_cache): Move to locale_facets.tcc.
151 (__moneypunct_cache::_M_cache): Same.
152 (num_get): Don't inherit from __num_base.
154 (money_get): Don't inherit from money_base.
156 (__timepunct::_M_am_pm_format): New.
157 (time_get::_M_extract_num): Return iterator, use ios_base as argument.
158 (time_get::_M_extract_name): Same.
159 (time_get::_M_extract_via_format): Same.
160 * include/bits/locale_facets.tcc: Tweaks for 80 column.
161 Use _M_getloc instead of getloc.
162 * testsuite/22_locale/money_put/put/char/9780-3.cc: New.
163 * testsuite/22_locale/num_put/put/char/9780-2.cc: New.
164 * testsuite/22_locale/time_put/put/char/9780-1.cc: New.
166 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
169 * config/cpu/cris/atomicity.h (__atomic_add): Remove "static
170 inline" and attribute-unused. Qualify parameter __mem with
172 (__exchange_and_add): Ditto. Add back memory clobber to asm.
174 2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
177 * include/backward/bvector.h (bit_vector): Allocator is in std
180 2004-03-20 Paolo Carlini <pcarlini@suse.de>
182 * include/std/std_valarray.h: Document DR389 [Ready].
183 * docs/html/ext/howto.html: Add an entry for DR389.
185 2004-03-19 Paolo Carlini <pcarlini@suse.de>
188 * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
189 memory allocation/deallocation calls.
190 * testsuite/ext/14648.cc: New.
192 2004-03-17 Benjamin Kosnik <bkoz@redhat.com>
195 * configure.ac (AC_PREREQ): Use 2.57.
196 (AM_INIT_AUTOMAKE): Remove -Wno-override.
198 2004-03-17 David Billinghurst <David.Billinghurst@riotinto.com>
201 Revert patch of 2004-02-17, as it breaks mips-sgi-irix6.5 -o32
202 (Almost certainly a target issue)
203 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
204 num_get<>::_M_extract_int, money_get<>::do_get): Simplify
205 grouping fidelity conditional.
207 2004-03-17 Benjamin Kosnik <bkoz@redhat.com>
209 Revert dg-require-iconv changes.
210 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Revert.
211 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
212 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
213 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
214 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
215 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
216 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
217 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
218 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
220 2004-03-16 Benjamin Kosnik <bkoz@redhat.com>
222 * Merge from mainline.
224 2004-03-16 Benjamin Kosnik <bkoz@redhat.com>
226 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
227 new_allocator for all hosts.
228 * configure: Regenerate.
230 2004-03-16 Paolo Carlini <pcarlini@suse.de>
232 * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
233 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
235 2004-03-15 Paolo Carlini <pcarlini@suse.de>
237 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
238 Adjust the logic underlying the parsing of symbol to deal
239 correctly with an optional sign component (i.e., when either
240 negative_sign or positive_sign is empty)
241 * testsuite/22_locale/money_get/get/char/19.cc: New.
242 * testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
244 2004-03-15 Paolo Carlini <pcarlini@suse.de>
246 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
247 Do not accept an incomplete currency symbol.
248 * testsuite/22_locale/money_get/get/char/18.cc: New.
249 * testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
251 2004-03-13 Benjamin Kosnik <bkoz@redhat.com>
253 * config/allocator: New.
254 * config/allocator/bitmap_allocator_base.h: New.
255 * config/allocator/malloc_allocator_base.h: New.
256 * config/allocator/mt_allocator_base.h: New.
257 * config/allocator/new_allocator_base.h: New.
258 * include/bits/allocator.h: Include c++allocator.h.
259 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
260 * aclocal.m4: Regenerate.
261 * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
262 * configure: Regenerate.
263 * include/Makefile.am (host_headers_extra): Add c++allocator.h.
264 * include/Makefile.in: Regenerate.
265 * docs/html/configopts.html: Add enable-libstdcxx-allocator.
267 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
269 * include/bits/allocator.h: Revert.
271 2004-03-12 Paolo Carlini <pcarlini@suse.de>
273 * docs/html/ext/howto.html: Add entry for DR 253 [Ready].
274 * include/bits/gslice_array.h: Add comment about DR 253.
275 * include/bits/indirect_array.h: Likewise.
276 * include/bits/mask_array.h: Likewise.
277 * include/bits/slice_array.h: Likewise.
279 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
281 * testsuite/20_util/allocator/14176.cc: New.
282 * include/ext/mt_allocator.h: Formatting fixes.
284 2004-03-11 Dhruv Matani <dhruvbird@HotPOP.com>
286 * include/Makefile.am (ext_headers): Add
287 ${ext_srcdir}/bitmap_allocator.h .
288 * include/Makefile.in: Regenerate.
289 * docs/html/ext/ballocator_doc.txt: New file.
290 * include/ext/bitmap_allocator.h: New file.
291 * testsuite/performance/20_util/allocator/list_sort_search.cc: Add
293 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
294 * testsuite/performance/20_util/allocator/producer_consumer.cc: Add
295 test for the bitmap_allocator<>.
296 * testsuite/performance/20_util/allocator/insert.cc: Likewise.
297 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
298 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
300 2004-03-11 Paolo Carlini <pcarlini@suse.de>
302 * include/std/std_complex.h (pow(const complex&, const _Tp&),
303 pow(const _Tp&, const complex&), pow(const complex&,
304 const complex&)): Fully qualify with std:: a few calls.
305 * testsuite/26_numerics/complex/13450.cc: Minor tweak.
307 2004-03-11 Steven Bosscher <stevenb@suse.de>
310 * include/c_std/cmath.tcc (__cmath_power): Define inline.
312 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
314 * configure.ac: Bump AC_PREREQ to 2.59.
316 2004-03-10 Paolo Carlini <pcarlini@suse.de>
318 * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
320 2004-03-10 Paul Kienzle <pkienzle@nist.gov>
321 Paolo Carlini <pcarlini@suse.de>
324 * include/std/std_complex.h (pow(const complex&, const _Tp&),
325 pow(const _Tp&, const complex&)): Use cmath pow only when safe.
326 * testsuite/26_numerics/complex/13450.cc: New.
328 * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
329 * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
331 2004-03-10 Jerry Quinn <jlquinn@optonline.net>
334 * include/bits/gslice_array.h (gslice_array()): Make public.
335 (operator=(gslice_array)): Make public. Implement.
336 * include/bits/indirect_array.h (indirect_array()): Make public.
337 * include/bits/mask_array.h (mask_array()): Make public.
338 (operator=(mask_array)): Make public. Implement.
339 * include/bits/valarray_array.tcc (__valarray_copy):
340 Comment. Add versions for gslice_array and mask_array.
341 * testsuite/26_numerics/valarray_subset_assignment.cc: New test.
343 2004-03-09 Benjamin Kosnik <bkoz@redhat.com>
345 * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
347 * testsuite/23_containers/vector/modifiers/swap.cc: Same.
348 * testsuite/23_containers/set/modifiers/swap.cc: Same.
349 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
350 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
351 * testsuite/23_containers/map/modifiers/swap.cc: Same.
352 * testsuite/23_containers/list/modifiers/swap.cc: Same.
354 * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
356 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
359 * testsuite/23_containers/deque/modifiers/swap.cc: New.
360 * testsuite/23_containers/list/modifiers/swap.cc: New.
361 * testsuite/23_containers/map/modifiers/swap.cc: New.
362 * testsuite/23_containers/multimap/modifiers/swap.cc: New.
363 * testsuite/23_containers/multiset/modifiers/swap.cc: New.
364 * testsuite/23_containers/set/modifiers/swap.cc: New.
365 * testsuite/23_containers/vector/modifiers/swap.cc: New.
367 2004-03-08 Petur Runolfsson <peturr02@ru.is>
370 * testsuite/22_locale/locale/cons/12658_thread.cc: New.
372 2004-03-08 Paolo Carlini <pcarlini@suse.de>
374 * docs/html/ext/howto.html: Add entry for DR 103 [WP].
375 * include/bits/stl_multiset.h: Add comment about DR 103.
376 * include/bits/stl_set.h: Likewise.
378 2004-03-08 Paolo Carlini <pcarlini@suse.de>
380 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
381 The value _space_ indicates that at least one space is required
383 * testsuite/22_locale/money_get/get/char/17.cc: New.
384 * testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
386 * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
387 * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
389 * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
390 Remove redundant conditional on __str.size().
392 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
394 * include/bits/allocator.h: Switch defaults to mt_alloc.
396 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
398 * include/ext/mt_allocator.h (_S_initialize): If
399 !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
401 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
404 * src/locale_init.cc (locale::locale): Lock critical regions with
406 (locale::global): Same.
407 * include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
408 Add in once bits for cases without __GTHREAD_MUTEX_INIT.
409 (__glibcxx_mutex_lock): Same.
411 * config/cpu/generic/atomicity.h: Remove
412 _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
413 * src/misc-inst.cc: Move all locking bits out of this file.
415 * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
416 * src/misc-inst.cc: Same.
417 * config/cpu/hppa/atomicity.h: Same.
419 * config/linker-map.gnu: Remove types in the signature of atomic
420 exports, as they may vary.
422 2004-03-06 Paolo Carlini <pcarlini@suse.de>
424 * include/bits/locale_facets.tcc: Tweak the comment preceding
425 has_facet: doesn't throw.
427 2004-03-06 Paolo Carlini <pcarlini@suse.de>
429 * testsuite/22_locale/money_get/get/char/1.cc: Clean up.
430 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
431 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
432 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
433 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
434 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
435 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
436 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
438 2004-03-06 Paolo Carlini <pcarlini@suse.de>
440 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
441 num_get<>::_M_extract_int, num_get<>::do_get(bool&),
442 __pad<>::_S_pad): Prefer plain operator== to traits::eq().
443 * testsuite/testsuite_character.h (struct __gnu_test::character):
445 * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char):
448 2004-03-05 Paolo Carlini <pcarlini@suse.de>
450 * testsuite/27_io/fpos/14320-2.cc: Remove xfail.
452 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
454 * testsuite/23_containers/multiset/insert/1.cc: Test result string.
456 * testsuite/23_containers/bitset/invalidation/1.cc: Main always
458 * testsuite/23_containers/deque/invalidation/4.cc: Same.
459 * testsuite/23_containers/list/invalidation/1.cc: Same.
460 * testsuite/23_containers/list/invalidation/2.cc: Same.
461 * testsuite/23_containers/list/invalidation/3.cc: Same.
462 * testsuite/23_containers/list/invalidation/4.cc: Same.
463 * testsuite/23_containers/map/invalidation/2.cc: Same.
464 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
465 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
466 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
467 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
468 * testsuite/23_containers/set/invalidation/1.cc: Same.
469 * testsuite/23_containers/set/invalidation/2.cc: Same.
470 * testsuite/23_containers/vector/invalidation/1.cc: Same.
471 * testsuite/23_containers/vector/invalidation/2.cc: Same.
472 * testsuite/23_containers/vector/invalidation/3.cc: Same.
473 * testsuite/23_containers/vector/invalidation/4.cc: Same.
475 2004-03-04 Paolo Carlini <pcarlini@suse.de>
477 * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to
479 * testsuite/lib/libstdc++.exp: Don't add it conditionally to
481 * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT"
483 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
484 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
485 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
486 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
487 * testsuite/23_containers/vector/resize/1.cc: Likewise.
488 * testsuite/26_numerics/complex_value.cc: Likewise.
489 * testsuite/27_io/ios_base/storage/1.cc: Likewise.
490 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
491 * testsuite/27_io/ios_base/storage/3.cc: Likewise.
492 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
493 * testsuite/27_io/objects/char/5.cc: Likewise.
494 * testsuite/27_io/objects/wchar_t/5.cc: Likewise.
495 * testsuite/backward/11460.cc: Likewise.
496 * testsuite/thread/pthread7-rope.cc: Likewise.
498 * testsuite/21_strings/basic_string/compare/char/1.cc: Add
499 missing test variable.
500 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add
501 missing test variable.
503 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
505 * testsuite/20_util/allocator/1.cc: Provide explicit
506 instantiations for non-weak systems.
507 * testsuite/20_util/binders.cc: Same.
508 * testsuite/20_util/allocator/8230.cc: Same.
509 * testsuite/20_util/allocator/10378.cc: Same.
510 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
511 * testsuite/22_locale/ctype/is/char/2.cc: Same.
512 * testsuite/thread/pthread7-rope.cc: Same.
513 * testsuite/thread/pthread6.cc: Same.
514 * testsuite/thread/pthread5.cc: Same.
515 * testsuite/thread/pthread4.cc: Same.
516 * testsuite/thread/pthread1.cc: Same.
517 * testsuite/ext/rope.cc: Same.
518 * testsuite/ext/hash_set.cc: Same.
519 * testsuite/ext/hash_map.cc: Same.
520 * testsuite/ext/concept_checks.cc: Same.
521 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
522 * testsuite/25_algorithms/unique/2.cc: Same.
523 * testsuite/25_algorithms/unique/1.cc: Same.
524 * testsuite/25_algorithms/rotate.cc: Same.
525 * testsuite/25_algorithms/min_max.cc: Same.
526 * testsuite/25_algorithms/equal.cc: Same.
527 * testsuite/24_iterators/rel_ops.cc: Same.
528 * testsuite/24_iterators/iterator.cc: Same.
529 * testsuite/24_iterators/insert_iterator.cc: Same.
530 * testsuite/24_iterators/front_insert_iterator.cc: Same.
531 * testsuite/24_iterators/back_insert_iterator.cc: Same.
532 * testsuite/23_containers/vector/resize/1.cc: Same.
533 * testsuite/23_containers/vector/modifiers/2.cc: Same.
534 * testsuite/23_containers/vector/modifiers/1.cc: Same.
535 * testsuite/23_containers/vector/invalidation/4.cc: Same.
536 * testsuite/23_containers/vector/invalidation/3.cc: Same.
537 * testsuite/23_containers/vector/invalidation/2.cc: Same.
538 * testsuite/23_containers/vector/invalidation/1.cc: Same.
539 * testsuite/23_containers/vector/element_access/1.cc: Same.
540 * testsuite/23_containers/vector/cons/6513.cc: Same.
541 * testsuite/23_containers/vector/cons/3.cc: Same.
542 * testsuite/23_containers/vector/cons/2.cc: Same.
543 * testsuite/23_containers/vector/cons/1.cc: Same.
544 * testsuite/23_containers/vector/capacity/8230.cc: Same.
545 * testsuite/23_containers/vector/capacity/1.cc: Same.
546 * testsuite/23_containers/vector/bool/6886.cc: Same.
547 * testsuite/23_containers/stack/members/7158.cc: Same.
548 * testsuite/23_containers/set/invalidation/2.cc: Same.
549 * testsuite/23_containers/set/invalidation/1.cc: Same.
550 * testsuite/23_containers/queue/members/7157.cc: Same.
551 * testsuite/23_containers/priority_queue/members/7161.cc: Same.
552 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
553 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
554 * testsuite/23_containers/multiset/insert/1.cc: Same.
555 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
556 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
557 * testsuite/23_containers/map/operators/1.cc: Same.
558 * testsuite/23_containers/map/invalidation/2.cc: Same.
559 * testsuite/23_containers/map/invalidation/1.cc: Same.
560 * testsuite/23_containers/map/insert/1.cc: Same.
561 * testsuite/23_containers/list/operators/4.cc: Same.
562 * testsuite/23_containers/list/operators/3.cc: Same.
563 * testsuite/23_containers/list/operators/2.cc: Same.
564 * testsuite/23_containers/list/operators/1.cc: Same.
565 * testsuite/23_containers/list/modifiers/3.cc: Same.
566 * testsuite/23_containers/list/modifiers/2.cc: Same.
567 * testsuite/23_containers/list/modifiers/1.cc: Same.
568 * testsuite/23_containers/list/invalidation/4.cc: Same.
569 * testsuite/23_containers/list/invalidation/3.cc: Same.
570 * testsuite/23_containers/list/invalidation/2.cc: Same.
571 * testsuite/23_containers/list/invalidation/1.cc: Same.
572 * testsuite/23_containers/list/cons/9.cc: Same.
573 * testsuite/23_containers/list/cons/8.cc: Same.
574 * testsuite/23_containers/list/cons/7.cc: Same.
575 * testsuite/23_containers/list/cons/6.cc: Same.
576 * testsuite/23_containers/list/cons/5.cc: Same.
577 * testsuite/23_containers/list/cons/4.cc: Same.
578 * testsuite/23_containers/list/cons/3.cc: Same.
579 * testsuite/23_containers/list/cons/2.cc: Same.
580 * testsuite/23_containers/list/cons/1.cc: Same.
581 * testsuite/23_containers/list/capacity/1.cc: Same.
582 * testsuite/23_containers/deque/operators/1.cc: Same.
583 * testsuite/23_containers/deque/invalidation/4.cc: Same.
584 * testsuite/23_containers/deque/invalidation/3.cc: Same.
585 * testsuite/23_containers/deque/invalidation/2.cc: Same.
586 * testsuite/23_containers/deque/invalidation/1.cc: Same.
587 * testsuite/23_containers/deque/cons/2.cc: Same.
588 * testsuite/23_containers/deque/cons/1.cc: Same.
590 * src/allocator.cc: Add char, wchar_t instantiations
591 to match extern template declarations in memory.h.
593 2004-03-03 Paolo Carlini <pcarlini@suse.de>
595 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
596 Fix warning regression.
598 2004-03-03 Paolo Carlini <pcarlini@suse.de>
600 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
601 Deal properly with empty __digits and negative frac_digits,
604 2004-03-03 Jonathan Wakely <redi@gcc.gnu.org>
606 * docs/html/documentation.html: Regenerate.
608 2004-03-02 Paolo Carlini <pcarlini@suse.de>
611 * include/bits/postypes.h (class streamoff): Remove, now
612 streamoff is just typedef a 64 bit signed integer type.
613 (class fpos): Tweak consistently.
614 * testsuite/27_io/fpos/14320-1.cc: New.
615 * testsuite/27_io/fpos/14320-2.cc: New.
616 * testsuite/27_io/fpos/14320-3.cc: New.
617 * testsuite/27_io/fpos/14320-4.cc: New.
618 * testsuite/27_io/fpos/14320-5.cc: New.
619 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now.
621 2004-03-02 Paolo Carlini <pcarlini@suse.de>
623 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
624 Reorganize a bit the main parsing loop, thus early detecting
625 an empty value component.
626 * testsuite/22_locale/money_get/get/char/16.cc: New.
627 * testsuite/22_locale/money_get/get/wchar_t/16.cc: New.
629 2004-03-02 Benjamin Kosnik <bkoz@redhat.com>
631 Support automake 1.8.2
632 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
633 * po/Makefile.am (EXTRA_DIST): New.
634 * po/Makefile.in: Regenerate.
636 * include/Makefile.in: Same.
637 * libmath/Makefile.in: Same.
638 * libsupc++/Makefile.in: Same.
639 * src/Makefile.in: Same.
640 * testsuite/Makefile.in: Same.
642 * include/Makefile.am (${host_builddir}/gthr-posix.h): Use
643 __GXX_WEAK__ instead of SUPPORTS_WEAK.
644 (${host_builddir}/gthr-default.h): Same.
645 (${host_builddir}/gthr.h): Same.
646 * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove
647 _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via
649 * aclocal.m4: Regenerate.
650 * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK.
651 * config.h.in: Regenerate.
654 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
656 Support autoconf 2.59
657 * acinclude.m4: Quote correctly.
658 * aclocal.m4: Regenerate.
661 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
663 * docs/html/test.html: Add multilib RUNTESTFLAGS example.
665 * docs/html/18_support/howto.html: Add bit about writing to
666 stderr, mostly by Zack.
668 2004-03-01 Paolo Carlini <pcarlini@suse.de>
670 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
671 money_get<>::do_get(string_type&)): ... and two more.
673 2004-03-01 Paolo Carlini <pcarlini@suse.de>
675 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
676 Fix thinkos in the switch from string_type& to string& as last
679 2004-03-01 Paolo Carlini <pcarlini@suse.de>
681 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
682 Also when parsing exponent sign, first look for thousands_sep
683 and decimal_point; tweak a bit.
684 * testsuite/22_locale/num_get/get/char/15.cc: New.
685 * testsuite/22_locale/num_get/get/wchar_t/15.cc: New.
687 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
688 num_get<>::_M_extract_int): Reorder some conditionals.
690 2004-03-01 Paolo Carlini <pcarlini@suse.de>
692 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
693 Consistently with numpunct, enforce the requirements in
694 22.2.6.3, p3 for the thousands separators; tweak a bit.
695 * testsuite/22_locale/money_get/get/char/15.cc: New.
696 * testsuite/22_locale/money_get/get/wchar_t/15.cc: New.
698 2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com>
700 * testsuite/lib/libstdc++.exp (v3-list-tests): Use
701 testsuite_files from correct multilib blddir when running
704 2004-02-29 Phil Edwards <phil@codesourcery.com>
706 * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy
707 the summary file to the logfile.
708 * testsuite/Makefile.in: Regenerate.
710 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
712 * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
714 * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
715 __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.
717 2004-02-28 Paolo Carlini <pcarlini@suse.de>
719 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
720 According to 22.2.3.1, p2, 'units' may be followed by 'e' with
721 no 'decimal-point' in the middle: in this case too we must fix
722 up __found_grouping; slightly tweak.
723 * testsuite/22_locale/num_get/get/char/14.cc: New.
724 * testsuite/22_locale/num_get/get/wchar_t/14.cc: New.
726 2004-02-27 Eric Christopher <echristo@redhat.com>
727 Phil Edwards <phil@codesourcery.com>
729 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
730 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
731 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
732 testsuite/22_locale/collate/hash/wchar_t/2.cc,
733 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
734 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
735 testsuite/22_locale/collate/transform/wchar_t/2.cc,
736 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
737 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
738 Use dg-require-iconv.
739 * testsuite/lib/libstdc++.exp: Load target-supports.exp.
741 2004-02-27 Phil Edwards <phil@codesourcery.com>
742 Eric Christopher <echristo@redhat.com>
744 * testsuite/config/default.exp: Update with comments.
745 (${tool}_target_compile): New wrapper routine.
746 * testsuite/lib/dg-options.exp: New file, with dg-require-iconv.
747 * testsuite/lib/libstdc++.exp: Update with comments and cosmetic
749 (load_gcc_lib, v3track): New routines.
750 (v3-init): Rename to libstdc++_init.
751 * testsuite/libstdc++-dg/normal.exp: No longer call v3-init.
752 Move DEFAULT_CXXFLAGS handling into libstdc++_init.
754 2004-02-27 Benjamin Kosnik <bkoz@redhat.com>
756 * config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
758 * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
760 * config/os/irix/irix5.2/atomicity.h: Merge..
761 * config/os/irix/irix6.5/atomicity.h: Merge..
762 * config/os/irix/atomicity.h: ...into this.
763 * config/os/irix/atomic_word.h: New.
764 * configure.host: Set atomic_word_dir for irix.
766 * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
767 * i386/atomicity.h: Same.
768 * m68k/atomicity.h: Same.
769 * sparc/atomicity.h: Same.
771 2004-02-27 David Edelsohn <edelsohn@gnu.org>
773 * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
774 static, and inline keywords.
776 2004-02-27 Paolo Carlini <pcarlini@suse.de>
778 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
779 num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
780 call reserve on the __tmp_gruping string.
781 (num_get<>::_M_extract_float): Don't append unnecessarily a
782 char() to the returned string.
783 * include/bits/locale_facets.tcc: Trivial reformattings.
785 2004-02-27 Paolo Carlini <pcarlini@suse.de>
787 * include/bits/locale_facets.h (money_get<>::_M_extract):
788 Change signature: now takes a plain string&.
789 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
790 Update consistently the definition; use the moneypunct cache
791 to parse the value; use swap to change __units.
792 (money_get<>::do_get(long double&)): Update call of _M_extract,
793 avoid ctype::narrow, not correct wrt the standard.
794 (money_get<>::do_get(string_type&)): Likewise, update call
795 of _M_extract, use ctype::widen.
796 * src/locale-inst.cc: Tweak instantiations of _M_extract.
798 2004-02-26 Ian Lance Taylor <ian@wasabisystems.com>
800 * testsuite/demangle/abi_examples/01.cc: Expect error -2.
801 * testsuite/demangle/abi_examples/02.cc: Likewise.
802 * testsuite/demangle/regression/cw-11.cc: Likewise.
803 * testsuite/demangle/regression/cw-16.cc: Change two expected
804 results to match libiberty demangler output.
806 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
809 * libsupc++/Makefile.am: Use libiberty demangler.
810 (c_sources): Add cp-demangle.c.
811 * libsupc++/Makefile.in: Regenerate.
812 * src/Makefile.am (sources): Remove demangle.cc.
813 * src/Makefile.in: Regenerate.
814 * include/Makefile.am (bits_headers): Move demangle.h.
815 (ext_headers): ...here.
816 * include/Makefile.in: Regenerate.
817 * include/bits/demangle.h: Move...
818 * include/ext/demangle.h: ...here.
819 * src/demangle.cc: Remove.
821 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
823 * include/bits/demangle.h: Add type template parameter to all
824 templates with just an Allocator template parameter.
826 2004-02-25 Benjamin Kosnik <bkoz@redhat.com>
828 * include/bits/atomicity.h: New, forward declarations for __atomic_add
829 and __exchange_and_add.
830 * config/cpu/generic/atomic_word.h: New, typdef for atomic word.
831 * config/cpu/cris/atomic_word.h: Same.
832 * config/cpu/sparc/atomic_word.h: Same.
833 * include/bits/ios_base.h (_Callback_list::_M_remove_reference):
834 Qualifiy with __gnu_cxx.
835 (_Callback_list::_M_add_reference): Same.
836 * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
837 (locale::facet::_M_remove_reference): Same.
838 (locale::_Impl::_M_add_reference): Add.
839 (locale::_Impl::_M_remove_reference): Same.
840 * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
841 (basic_string::_Rep::_M_dispose): Same.
842 * src/ios.cc (ios_base::xalloc): Same.
843 * src/ios_init.cc (ios_base::Init::Init): Same.
844 (ios_base::Init::~Init): Same.
845 * src/locale.cc (locale::id::_M_id): Same.
846 * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
847 static, and inline keywords.
848 * config/cpu/alpha/atomicity.h: Same.
849 * config/cpu/cris/atomicity.h: Same.
850 * config/cpu/generic/atomicity.h: Same.
851 * config/cpu/hppa/atomicity.h: Same.
852 * config/cpu/i386/atomicity.h: Same.
853 * config/cpu/ia64/atomicity.h: Same.
854 * config/cpu/m68k/atomicity.h: Same.
855 * config/cpu/mips/atomicity.h: Same.
856 * config/cpu/powerpc/atomicity.h: Same.
857 * config/cpu/s390/atomicity.h: Same.
858 * config/cpu/sparc/atomicity.h: Same.
860 * src/Makefile.am (host_sources): Add atomicity.cc.
861 (atomicity.cc): New rule.
862 * src/Makefile.in: Regenerate.
863 * include/Makefile.am (host_headers): Remove host atomicity.h.
864 (host_headers): Add atomic_word.h.
865 (bits_headers): Add bits atomicity.h.
866 Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
867 * include/Makefile.in: Regenerate.
868 * configure.host (atomic_word_dir): Add.
869 * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
870 ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
871 * configure: Regenerate.
872 * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
874 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
875 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
877 2004-02-25 Jonathan Wakely <redi@gcc.gnu.org>
879 * docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
880 docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
881 Fix markup, more <link> tags.
883 2004-02-25 Carlo Wood <carlo@alinoe.com>
886 namespace __gnu_cxx::demangler
887 (session<Allocator>::qualifier_list_Allocator): Add
888 (session<Allocator>::M_qualifier_list_alloc): Add
889 (session<Allocator>::decode_type_with_postfix):
890 Use M_qualifier_list_alloc instead of calling operator new/delete.
892 2004-02-24 Paolo Carlini <pcarlini@suse.de>
895 * include/bits/postypes.h (class streamoff): Add operator++(),
896 operator++(int), operator--() and operator--(int).
897 * testsuite/27_io/fpos/14252.cc: New.
899 2004-02-24 Richard Sandiford <rsandifo@redhat.com>
901 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
902 error in handling of hex constants.
904 2004-02-24 Paolo Carlini <pcarlini@suse.de>
906 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
907 Prefer basic_string::append to operator+= and a temporary.
909 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
911 * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
912 Only use fputs, not write.
914 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
916 * include/ext/malloc_allocator.h: Add operators ==, !=.
917 * include/ext/new_allocator.h: Add operators ==, !=.
918 * include/ext/mt_allocator.h (__mt_alloc::tune): New.
919 (__mt_alloc::_S_get_options): New.
920 (__mt_alloc::_S_set_options): New.
921 (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
922 (__mt_alloc::_S_no_of_bins): To _S_bin_size.
923 Move functions out of line, simplify, format.
924 * src/allocator.cc: Simplify explicit instantiations.
925 * include/bits/allocator.h: Tweak.
927 2004-02-22 Paolo Carlini <pcarlini@suse.de>
929 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
930 Restructure formatting of value component, first dealing with
931 the non-decimal digits; use reserve.
933 2004-02-22 Paolo Carlini <pcarlini@suse.de>
935 * include/bits/locale_facets.h (class money_get): Inherit
936 from money_base too; tweak declaration of _M_extract, now
937 parameterized on _Intl too.
938 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
939 Update definition to use the cache; call reserve on __res to
940 avoid multiple reallocations; fix parsing of sign component
941 according to 22.2.6.1.2, p3.
942 (money_get<>::do_get(long double&),
943 money_get<>::do_get(string_type&)): Update calls of _M_extract.
944 * src/locale-inst.cc: Add instantiations of
945 money_get::_M_extract<false> and money_get::_M_extract<true>.
946 * testsuite/22_locale/money_get/get/char/14.cc: New.
947 * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
949 2004-02-21 Mark Mitchell <mark@codesourcery.com>
951 * libsupc++/vterminate.cc
952 (__gnu_cxx::__verbose_terminate_handler): Guard against recursive
954 * src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
956 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
957 not set RLIMIT_AS on HP-UX.
959 2004-02-21 Mark Mitchell <mark@codesourcery.com>
961 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
962 not set RLIMIT_AS on HP-UX.
964 2004-02-21 Paolo Carlini <pcarlini@suse.de>
966 * include/bits/locale_facets.h (class money_base): Add { _S_minus,
967 _S_zero, _S_end } enum, _S_atoms.
968 (struct __moneypunct_cache<>): Parameterize on _Intl too; add
969 _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
970 _M_negative_sign_size, _M_atoms; tweak constructor consistently.
971 (__moneypunct_cache<>::~__moneypunct_cache): Update.
972 (__moneypunct_cache<>::_M_cache): Fill the cache.
973 (class moneypunct): Tweak __cache_type typedef.
974 (class money_put): Inherit from money_base too; tweak declaration
975 of _M_insert, now parameterized on _Intl.
976 * include/bits/locale_facets.tcc
977 (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
978 (money_put<>::_M_insert): Update definition to use the cache;
979 call reserve on __res to avoid multiple reallocations.
980 (money_put<>::do_put(long double),
981 money_put<>::do_put(const string_type&): Update calls of _M_insert.
982 * config/locale/generic/monetary_members.cc
983 (moneypunct<char, true>::_M_initialize_moneypunct,
984 moneypunct<char, false>::_M_initialize_moneypunct,
985 moneypunct<wchar_t, true>::_M_initialize_moneypunct,
986 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
987 * config/locale/gnu/monetary_members.cc: Likewise.
988 * config/locale/gnu/monetary_members.cc
989 (moneypunct<wchar_t, true>::~moneypunct(),
990 moneypunct<wchar_t, false>::~moneypunct()): Likewise.
991 * src/globals_locale.cc: Tweak fake_money_cache_c.
992 * src/locale-inst.cc: Add instantiations for
993 money_put::_M_insert<false> and money_put::_M_insert<true> and
994 __moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
995 * src/locale_facets.cc: Define money_base::_S_atoms.
996 * src/locale_init.cc: Update placement new of
997 __moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
998 __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
1000 * config/locale/generic/numeric_members.cc: Clean up.
1001 * config/locale/gnu/numeric_members.cc: Likewise.
1002 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
1003 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
1004 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
1005 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
1006 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
1007 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
1009 2004-02-20 Mark Mitchell <mark@codesourcery.com>
1011 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
1012 FIFO for writing with ios_base::in|ios_base::out.
1013 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1014 * testsuite/27_io/objects/char/7.cc: Likewise.
1015 * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
1018 2004-02-19 David Edelsohn <edelsohn@gnu.org>
1020 * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
1021 from iso-8859-1 to ISO8859-1.
1022 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
1023 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
1024 * 22_locale/collate/hash/wchar_t/2.cc: Same.
1025 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
1026 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
1027 * 22_locale/collate/transform/wchar_t/2.cc: Same.
1028 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
1029 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
1031 2004-02-18 Paolo Carlini <pcarlini@suse.de>
1033 * include/bits/locale_facets.h (money_get<>::_M_extract):
1034 New, helper for do_get.
1035 (money_put<>::_M_insert): Likewise, for do_put.
1036 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
1037 money_put<>::_M_insert): Define.
1038 (money_get<>::do_get(long double&), money_get<>::do_get(
1039 string_type&), money_put::do_put(long double),
1040 money_put::do_put(const string_type&)): Use the helpers.
1042 2004-02-18 Paolo Carlini <pcarlini@suse.de>
1044 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
1045 Rewrite, avoiding recursion.
1046 (__gnu_internal::xwrite): Minor tweaks.
1048 2004-02-17 Stefan Olsson <stefan@xapa.se>
1050 * include/ext/mt_allocator.h: Removed the last
1051 pointer. Deallocated blocks are now added to the front of
1052 freelists as proposed by Felix Yen. This gives roughly 10%
1053 performance boost and saves some memory.
1054 * docs/html/ext/mt_allocator.html: Change due to that deallocated
1055 blocks now are added to the front of freelists. The reason to this
1056 approach is also explained.
1058 2004-02-17 Paolo Carlini <pcarlini@suse.de>
1060 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
1061 num_get<>::_M_extract_int, money_get<>::do_get): Simplify
1062 grouping fidelity conditional.
1064 2004-02-16 Paolo Carlini <pcarlini@suse.de>
1066 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
1067 Qualify exception with std::.
1068 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
1069 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
1070 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
1071 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
1072 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
1074 2004-02-16 Paolo Carlini <pcarlini@suse.de>
1076 * testsuite/ext/enc_filebuf/char/13189.cc: Don't check
1077 for now that the catch block is not reached.
1078 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
1080 2004-02-16 Paolo Carlini <pcarlini@suse.de>
1082 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
1083 Fix parsing of the remaining sign characters.
1084 * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
1085 the input is scanned 'til eof.
1086 * 22_locale/money_get/get/char/4.cc: Likewise.
1087 * 22_locale/money_get/get/wchar_t/2.cc: Likewise.
1088 * 22_locale/money_get/get/wchar_t/4.cc: Likewise.
1089 * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
1090 not do_pos_format: the former is the only one that matters during
1092 * 22_locale/money_get/get/wchar_t/8.cc: Likewise.
1094 * 22_locale/money_get/get/char/6.cc: Minor tweak.
1095 * 22_locale/money_get/get/wchar_t/6.cc: Likewise.
1097 2004-02-15 David Asher <david.asher@cavium.com>
1100 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
1101 access __olds beyond __oldlen.
1103 2004-02-14 Paolo Carlini <pcarlini@suse.de>
1105 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
1106 sure the exception is actually thrown.
1107 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
1108 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
1109 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
1111 2004-02-14 Paolo Carlini <pcarlini@suse.de>
1114 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
1115 In case of conversion errors, throw ios_failure; simplify.
1116 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
1117 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
1118 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
1119 previously we didn't throw in case of conversion errors, instead
1120 just returned eof().
1121 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
1122 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
1123 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
1125 * include/bits/fstream.tcc (basic_filebuf<>::overflow):
1126 Trivial simplification of a conditional.
1128 2004-02-12 Paolo Carlini <pcarlini@suse.de>
1130 PR libstdc++/13731 (final part: writev)
1131 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
1132 New, a wrapper around writev() handling partial writes.
1133 (__basic_file<char>::xwrite): Move to __gnu_internal and make
1135 (__basic_file<char>::xsputn): Update call.
1136 (__basic_file<char>::xsputn_2): Likewise.
1137 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
1138 Don't declare, now static.
1140 2004-02-11 Stefan Olsson <stefan@xapa.se>
1142 * docs/html/ext/mt_allocator.html: New.
1144 2004-02-11 Benjamin Kosnik <bkoz@redhat.com>
1146 * docs/html/20_util/allocator.html: New file, consolidate
1147 allocator information here. Revamp.
1148 * docs/html/documentation.html: Change links.
1149 * docs/html/20_util/howto.html: Same.
1150 * docs/html/ext/howto.html: Same.
1152 2004-02-11 Paolo Carlini <pcarlini@suse.de>
1154 PR libstdc++/13731 (first part: write)
1155 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
1157 * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
1158 Define it: a wrapper around write() handling partial write.
1159 (__basic_file<char>::xsputn): Use it.
1160 (__basic_file<char>::xsputn_2): Likewise.
1162 2004-02-11 Paolo Carlini <pcarlini@suse.de>
1163 Petur Runolfsson <peturr02@ru.is>
1166 * include/std/std_istream.h (operator>>(__istream_type& (*)
1167 (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
1168 operator>>(ios_base& (*)(ios_base&))): Declare inline.
1169 * include/std/std_ostream.h (operator<<(__ostream_type& (*)
1170 (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
1171 operator<<(ios_base& (*) (ios_base&))): Likewise.
1172 * testsuite/performance/27_io/fmtflags_manipulators.cc: New.
1174 2004-02-10 Loren J. Rittle <ljrittle@acm.org>
1177 * config/linker-map.gnu: Add typeinfo and typeinfo name for
1178 __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
1181 * config/linker-map.gnu: Add typeinfo and typeinfo name for
1182 __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
1184 2004-02-09 Loren J. Rittle <ljrittle@acm.org>
1186 * include/ext/pool_allocator.h: Include c++config.h.
1188 2004-02-09 Stefan Olsson <stefan@xapa.se>
1190 * include/ext/mt_allocator.h: thread_id is unused in non threaded
1191 applications and now has a ifdef to remove it completely on
1192 compilers without thread support. Include stdlib.h due to a
1193 compiler warning on getenv().
1195 2004-02-09 Paul Brook <paul@codesourcery.com>
1197 * libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
1199 2004-02-09 Paolo Carlini <pcarlini@suse.de>
1202 * src/locale_init.cc (locale::global(const locale&)): Use
1203 locale::name() in order to decide whether calling setlocale.
1204 * testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
1206 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
1207 Avoid computing &= unnecessarily.
1209 2004-02-09 James E Wilson <wilson@specifixinc.com>
1212 * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
1213 __builtin_extend_pointer.
1215 2004-02-09 Paolo Carlini <pcarlini@suse.de>
1218 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
1219 Don't leave dangling pointers.
1220 * testsuite/27_io/basic_ios/imbue/14072.cc: New.
1221 * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
1222 facet is needed in the final test.
1224 2004-02-09 Bernardo Innocenti <bernie@develer.com>
1226 * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
1227 * configure: Regenerate.
1229 2004-02-08 Richard Henderson <rth@redhat.com>
1232 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
1233 uncaughtExceptions during nested catch rethrow.
1234 * testsuite/18_support/14026.cc: New.
1236 2004-02-08 Paolo Carlini <pcarlini@suse.de>
1238 * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
1239 When working in place remember to set the state to sharable
1240 (otherwise, _M_mutate does it).
1242 2004-02-08 Bernardo Innocenti <bernie@develer.com>
1244 * include/bits/allocator.h, include/bits/basic_ios.h,
1245 include/bits/basic_ios.tcc, include/bits/basic_string.h,
1246 include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
1247 include/bits/char_traits.h, include/bits/codecvt.h,
1248 include/bits/concurrence.h, include/bits/cpp_type_traits.h,
1249 include/bits/demangle.h, include/bits/deque.tcc,
1250 include/bits/fstream.tcc, include/bits/functexcept.h,
1251 include/bits/gslice.h, include/bits/gslice_array.h,
1252 include/bits/indirect_array.h, include/bits/ios_base.h,
1253 include/bits/istream.tcc, include/bits/list.tcc,
1254 include/bits/locale_classes.h, include/bits/locale_facets.h,
1255 include/bits/locale_facets.tcc, include/bits/localefwd.h,
1256 include/bits/mask_array.h, include/bits/ostream.tcc,
1257 include/bits/postypes.h, include/bits/slice_array.h,
1258 include/bits/sstream.tcc, include/bits/stl_algo.h,
1259 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
1260 include/bits/stl_construct.h, include/bits/stl_deque.h,
1261 include/bits/stl_function.h, include/bits/stl_heap.h,
1262 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1263 include/bits/stl_list.h, include/bits/stl_map.h,
1264 include/bits/stl_multimap.h, include/bits/stl_multiset.h,
1265 include/bits/stl_numeric.h, include/bits/stl_pair.h,
1266 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1267 include/bits/stl_relops.h, include/bits/stl_set.h,
1268 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1269 include/bits/stl_threads.h, include/bits/stl_tree.h,
1270 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1271 include/bits/stream_iterator.h, include/bits/streambuf.tcc,
1272 include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
1273 include/bits/type_traits.h, include/bits/valarray_after.h,
1274 include/bits/valarray_array.h, include/bits/valarray_array.tcc,
1275 include/bits/valarray_before.h, include/bits/vector.tcc: Remove
1276 trailing whitespace.
1278 2004-02-06 Paolo Carlini <pcarlini@suse.de>
1280 * include/bits/basic_string.h: Fix comment.
1282 2004-02-06 Paolo Carlini <pcarlini@suse.de>
1284 * include/bits/stl_construct.h: Wrap overlong lines, reformat
1285 according to the coding standards.
1286 * include/bits/stl_pair.h: Likewise.
1287 * include/bits/stl_raw_storage_iter.h: Likewise.
1288 * include/bits/stl_stack.h: Likewise.
1289 * include/bits/stl_uninitialized.h: Likewise.
1290 * include/bits/stream_iterator.h: Likewise.
1291 * include/bits/streambuf_iterator.h: Likewise.
1292 * include/bits/type_traits.h: Likewise.
1294 2004-02-06 Paolo Carlini <pcarlini@suse.de>
1296 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
1299 2004-02-05 Loren J. Rittle <ljrittle@acm.org>
1301 * scripts/check_performance: Support PCH.
1303 * scripts/check_performance (CXX): Add -DNOTHREAD.
1304 * testsuite/performance/20_util/allocator/insert.cc: Integrate
1305 threaded tests from insert_insert.cc. Tweak iterations,
1306 remove special cases.
1307 * testsuite/performance/20_util/allocator/insert_insert.cc:
1308 Make all tests single-threaded. Tweak iterations.
1309 * testsuite/performance/20_util/allocator/map_thread.cc:
1311 * testsuite/performance/20_util/allocator/producer_consumer.cc:
1314 2004-02-05 Geoffrey Keating <geoffk@apple.com>
1318 * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
1319 'gcc-lib'. Add comment about poorly-named variables.
1320 * aclocal.m4: Regenerate.
1321 * configure: Regenerate.
1323 2004-02-05 Paolo Carlini <pcarlini@suse.de>
1325 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
1326 Thousands-sep are always optional; thousands-sep are not allowed
1327 after the decimal_point.
1328 * testsuite/22_locale/money_get/get/char/12.cc: New.
1329 * testsuite/22_locale/money_get/get/char/13.cc: New.
1330 * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
1331 * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
1333 * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
1334 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
1335 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
1336 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
1337 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
1338 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
1339 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
1340 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
1342 * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
1344 * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
1346 2004-02-05 Richard Sandiford <rsandifo@redhat.com>
1348 * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
1350 * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
1351 it to decide whether FIONREAD should take an off_t or int argument.
1353 2004-02-05 Paolo Carlini <pcarlini@suse.de>
1355 * include/bits/stl_function.h: Minor formatting changes.
1357 2004-02-04 Zack Weinberg <zack@codesourcery.com>
1359 Revert previous change to config/abi/*/baseline_symbols.txt.
1361 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
1362 Zack Weinberg <zack@codesourcery.com>
1364 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
1366 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
1367 (__basic_file<char>::_M_open_mode): Delete.
1368 * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
1370 * testsuite/27_io/basic_filebuf/close/char/9964.cc
1371 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
1372 Correct flags to filebuf::open calls.
1374 * config/abi/alpha-freebsd5/baseline_symbols.txt
1375 * config/abi/alpha-linux-gnu/baseline_symbols.txt
1376 * config/abi/hppa-linux-gnu/baseline_symbols.txt
1377 * config/abi/i386-freebsd4/baseline_symbols.txt
1378 * config/abi/i386-freebsd5/baseline_symbols.txt
1379 * config/abi/i486-linux-gnu/baseline_symbols.txt
1380 * config/abi/ia64-linux-gnu/baseline_symbols.txt
1381 * config/abi/mips-linux-gnu/baseline_symbols.txt
1382 * config/abi/sparc-freebsd5/baseline_symbols.txt
1383 * config/abi/sparc-linux-gnu/baseline_symbols.txt
1384 * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
1385 Remove entry for __basic_file<char>::_M_open_mode.
1387 2004-02-04 Loren J. Rittle <ljrittle@acm.org>
1389 * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
1391 2004-02-04 Felix Yen <fwy@alumni.brown.edu>
1393 * testsuite/performance/20_util/producer_consumer.cc: New.
1394 * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
1396 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
1398 * testsuite/performance/20_util/allocator.cc: Move to..
1399 * testsuite/performance/20_util/allocator/insert.cc: ...here.
1400 * testsuite/performance/20_util/allocator_thread.cc: Move to...
1401 * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
1402 * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
1403 * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
1405 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
1407 * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
1408 * docs/html/faq/index.txt: Regenerate.
1410 2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
1412 * include/ext/debug_allocator.h: _M_extra now stands for the
1413 number of extra objects instead of the number of extra bytes.
1414 (debug_allocator::allocate): Adjust.
1415 (debug_allocator::deallocate): Adjust.
1417 * include/ext/pool_allocator.h: Fix typo.
1419 2004-02-03 Felix Yen <fwy@alumni.brown.edu>
1420 Benjamin Kosnik <bkoz@redhat.com>
1422 * testsuite/performance/20_util/allocator.cc: Add map,
1424 * testsuite/performance/20_util/allocator_thread.cc: Same.
1426 2004-02-03 Paolo Carlini <pcarlini@suse.de>
1428 * include/bits/basic_string.h (insert(iterator)): Remove,
1429 non-standard and already scheduled for removal.
1431 2004-02-03 Paolo Carlini <pcarlini@suse.de>
1433 * include/bits/stl_iterator_base_funcs.h: Minor formatting
1434 and indentation tweaks.
1435 * include/bits/stl_iterator_base_types.h: Likewise.
1436 * include/bits/stl_list.h: Likewise.
1437 * include/bits/stl_map.h: Likewise.
1438 * include/bits/stl_tempbuf.h: Likewise.
1440 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
1442 * include/bits/gslice.h, include/bits/gslice_array.h,
1443 include/bits/indirect_array.h, include/bits/mask_array.h,
1444 include/bits/slice_array.h, include/bits/stl_numeric.h,
1445 include/std/std_valarray.h: Update copyright years.
1447 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
1449 * include/bits/gslice.h (gslice): Document.
1450 * include/bits/gslice_array.h (gslice_array): Document.
1451 * include/bits/indirect_array (indirect_array): Document.
1452 * include/bits/mask_array (mask_array): Document.
1453 * include/bits/slice_array.h (slice,slice_array): Document.
1454 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
1455 adjacent_difference): Document
1456 * include/std/std_valarray.h (valarray): Document.
1458 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
1460 * docs/html/19_diagnostics/howto.html: Move verbose terminate
1462 * docs/html/18_support/howto.html: Here.
1463 * docs/html/documentation.html: Add reference here.
1465 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1467 * config/locale/gnu/c++locale_internal.h: Remove prototypes
1468 of no longer used GLIBC thread locale functions.
1470 2004-02-02 Eric Christopher <echristo@redhat.com>
1471 Zack Weinberg <zack@codesourcery.com>
1473 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
1475 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
1476 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
1477 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
1478 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
1479 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
1480 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
1481 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
1482 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1485 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1487 * include/bits/stl_function.h: Additional minor tweaks.
1488 * include/bits/stl_multiset.h: Likewise.
1490 * include/bits/stl_queue.h: Minor tweaks.
1492 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1494 PR libstdc++/13976 (continued)
1495 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
1496 Make the second parameter unnamed, to void unused parameter
1498 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
1500 2004-02-02 Paolo Carlini <pcarlini@suse.de>
1503 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
1504 Make the second parameter unnamed, to void unused parameter
1506 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
1507 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
1509 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1511 * include/bits/stl_algo.h: Additional minor tweaks.
1512 * include/bits/stl_map.h: Likewise.
1513 * include/bits/stl_multimap.h: Likewise.
1514 * include/bits/stl_multiset.h: Likewise.
1515 * include/bits/stl_set.h: Likewise.
1516 * include/bits/stl_tree.h: Likewise.
1518 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1520 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
1523 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1525 * include/bits/stl_function.h: Additional minor tweaks.
1527 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1529 * include/bits/deque.tcc: Wrap overlong lines, constify
1530 a few variables, reformat according to the coding standards.
1531 * include/bits/list.tcc: Likewise.
1532 * include/bits/stl_deque.h: Likewise.
1533 * include/bits/stl_function.h: Likewise.
1534 * include/bits/stl_iterator.h: Likewise.
1535 * include/bits/stl_iterator_base_funcs.h: Likewise.
1536 * include/bits/stl_iterator_base_types.h: Likewise.
1537 * include/bits/stl_list.h: Likewise.
1538 * include/bits/stl_map.h: Likewise.
1539 * include/bits/stl_multimap.h: Likewise.
1540 * include/bits/stl_multiset.h: Likewise.
1541 * include/bits/stl_relops.h: Likewise.
1542 * include/bits/stl_set.h: Likewise.
1544 2004-02-01 Paolo Carlini <pcarlini@suse.de>
1546 * include/bits/stl_bvector.h: Wrap overlong lines, constify
1547 a few variables, reformat according to the coding standards.
1548 * include/bits/stl_tree.h: Likewise.
1550 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1552 * include/bits/stl_algo.h: Minor additional reformat, add
1554 * include/bits/stl_algobase.h: Add copyright year.
1556 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1558 * include/bits/stl_algo.h: Wrap overlong lines, constify
1559 a few variables, reformat according to the coding standards.
1560 * include/bits/stl_algobase.h: Likewise.
1561 * include/bits/stl_heap.h: Likewise.
1563 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1565 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
1567 * include/bits/basic_string.h: Fix two comments.
1569 2004-01-31 Per Bothner <per@bothner.com>
1571 * include/ext/mt_allocator.h
1572 (__mt_alloc::_S_thread_freelist_mutex): Guard with
1573 __GTHREAD_MUTEX_INIT.
1575 2004-01-31 Paolo Carlini <pcarlini@suse.de>
1577 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
1579 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1581 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
1582 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
1583 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
1585 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
1587 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
1588 Don't use clear, but instead assign. Use insert.
1590 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
1592 * src/demangle.cc: Add instantiations.
1593 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
1594 * src/Makefile.in: Regenerate.
1596 2004-01-30 David Edelsohn <edelsohn@gnu.org>
1598 * src/allocator.cc: Protect _S_get_thread_id() and
1599 _S_thread_key_destr() with #ifdef __GTHREADS.
1601 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1603 Reshuffle performance testsuite.
1604 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
1605 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
1606 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
1607 fstream_seek_write.cc, ifstream_extract_float.cc,
1608 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
1609 list_create_fill_sort.cc, map_create_fill.cc,
1610 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
1611 ofstream_insert_float.cc, ofstream_insert_int.cc,
1612 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
1613 wchar_t_out.cc: Split into...
1614 * testsuite/performance/20_util/allocator.cc: New.
1615 * testsuite/performance/20_util/allocator_map_thread.cc: New.
1616 * testsuite/performance/20_util/allocator_thread.cc: New.
1617 * testsuite/performance/21_strings/string_append: New.
1618 * testsuite/performance/22_locale/is_wchar_t.cc: New.
1619 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
1620 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
1621 * testsuite/performance/22_locale/wchar_t_in.cc: New.
1622 * testsuite/performance/22_locale/wchar_t_length.cc: New.
1623 * testsuite/performance/22_locale/wchar_t_out.cc: New.
1624 * testsuite/performance/23_containers/container_benchmark.cc: New.
1625 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
1626 * testsuite/performance/23_containers/map_create_fill.cc: New.
1627 * testsuite/performance/26_numerics/complex_norm.cc: New.
1628 * testsuite/performance/27_io/cout_insert_int.cc: New.
1629 * testsuite/performance/27_io/filebuf_copy.cc: New.
1630 * testsuite/performance/27_io/filebuf_sputc.cc: New.
1631 * testsuite/performance/27_io/fstream_seek_write.cc: New.
1632 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
1633 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
1634 * testsuite/performance/27_io/ifstream_getline.cc: New.
1635 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
1636 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
1638 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1640 * include/bits/basic_string.tcc (_Rep::_S_create):
1641 Never allocate a string bigger than max_size(); always keep
1642 __capacity and __size in sync to avoid memory leaks at
1645 2004-01-30 Paolo Carlini <pcarlini@suse.de>
1647 * include/bits/basic_string.tcc (_S_construct(_InIterator,
1648 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
1649 the double loop, streamline.
1651 * include/bits/basic_string.tcc: Very minor tweaks.
1653 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
1655 * scripts/check_performance: Only compile with $THREAD_FLAG
1656 when test is marked to require it. Allow multiple
1657 compilations/executions of marked tests.
1658 * testsuite/testsuite_performance.h (report_performance):
1659 Report dynamic thread support status.
1660 (report_header): Likewise.
1661 * testsuite/performance/allocator.cc: Stabilize iteration
1662 count. Support more allocators. Mark each allocator test to
1663 run and report independently.
1664 * testsuite/performance/allocator_map_thread.cc: Likewise.
1665 * testsuite/performance/allocator_thread.cc: Likewise.
1667 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
1669 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
1670 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
1671 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
1672 std::get_temporary_buffer() instead of duplicating its code.
1673 Update to C++STYLE conventions.
1674 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
1675 new() instead of std::malloc().
1676 (return_temporary_buffer): Use ::operator delete() instead of
1679 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
1681 * include/bits/allocator.h: Temporary switch to new_allocator as
1682 the default to unjam bootstraps.
1684 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
1686 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
1687 * include/Makefile.in: Regenerate.
1688 * include/bits/allocator_traits.h: Remove.
1689 * include/bits/allocator.h: Remove allocator_traits.h include, and
1691 (allocator): Empty base class, inherit from the underlying allocator.
1692 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
1693 * src/allocator.cc: ...here. New. For the underlying allocators.
1694 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
1695 * config/linker-map.gnu: Remove __pool_alloc bits.
1696 * src/Makefile.am (sources): Add allocator.cc.
1697 * src/Makefile.in: Regenerate.
1698 * testsuite/20_util/allocator/1.cc: Split second test into...
1699 * testsuite/20_util/allocator/8230.cc: ...this.
1700 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
1701 typedef to use std::allocatore. Format.
1702 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
1704 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
1705 __throw_bad_alloc calls. Don't include <memory>.
1706 * include/ext/malloc_allocator.h: Remove <memory> include.
1707 * include/ext/new_allocator.h (new_allocator): Same.
1708 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
1709 declaration. Switch __alloc to _Alloc.
1710 * include/ext/hashtable.h: Remove __alloc.
1711 * include/backward/alloc.h: Only inject allocator, not
1712 implementation details.
1714 * include/ext/mt_allocator.h: Replace free with delete.
1716 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
1718 * src/globals_io.cc: Change to __gnu_internal namespace.
1719 * src/globals_locale.cc: Same.
1720 * src/locale_init.cc: Same.
1721 * src/ios_init.cc: Same.
1723 2004-01-28 Stefan Olsson <stefan@snon.net>
1725 * include/ext/mt_allocator.h: Replaced all malloc() calls with
1726 operator new(). Added support for the env variable
1727 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
1728 one in allocate() as well). Fix typos.
1730 2004-01-28 Paolo Carlini <pcarlini@suse.de>
1732 * include/bits/basic_string.h (_S_create(size_t,
1733 const _Alloc&): Change signature to take two size_type
1735 * include/bits/basic_string.tcc (_S_construct(_InIterator,
1736 _InIterator, const _Alloc&, input_iterator_tag)): Update
1738 (_S_construct(_InIterator, _InIterator, const _Alloc&,
1739 forward_iterator_tag)): Likewise.
1740 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
1741 (_M_mutate(size_type, size_type, size_type)): Don't
1742 implement the exponential growth policy, demand it to
1743 _S_create, update call and simplify.
1744 (_M_clone(const _Alloc&, size_type)): Likewise.
1745 (_S_create(size_type, size_type, const _Alloc&)): Implement
1746 the growth policy, simplify otherwise.
1748 * include/bits/basic_string.h (_Rep::operator[]): Tweak
1749 signature to take a size_type, consistently with the other
1752 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
1754 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
1755 delete declarations, add include and test variable.
1757 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
1759 * include/bits/codecvt.h, include/bits/locale_facets.h,
1760 include/bits/postypes.h, include/bits/stl_bvector.h,
1761 include/bits/stl_multiset.h, include/bits/stl_set.h,
1762 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1763 include/std/std_complex.h: Document.
1765 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
1768 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
1769 iword/pword selector.
1770 (ios_base::iword, ios_base::pword): Use it.
1771 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
1772 iword or pword member on alloc failure.
1773 * testsuite/27_io/ios_base/storage/11584.cc: New test.
1775 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
1776 PJ Darcy <darcypj@us.ibm.com>
1778 * configure.host: Add support for *-tpf.
1779 * crossconfig.m4: Likewise.
1780 * configure: Regenerate.
1781 * config/os/tpf: New directory.
1782 * config/os/tpf/os_defines.h: New file.
1783 * config/os/tpf/ctype_base.h: Likewise.
1784 * config/os/tpf/ctype_inline.h: Likewise.
1785 * config/os/tpf/ctype_noninline.h: Likewise.
1787 2004-01-27 Paolo Carlini <pcarlini@suse.de>
1790 * include/bits/sstream.tcc: Guard use of extern template.
1792 2004-01-27 Paolo Carlini <pcarlini@suse.de>
1794 * include/bits/basic_string.tcc
1795 (basic_string(const basic_string&, size_type, size_type),
1796 basic_string(const basic_string&, size_type, size_type,
1797 const _Alloc&)): Avoid unnecessarily constructing iterators.
1799 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1801 * config/locale/generic/c_locale.cc: Fix throw messages
1802 to use the __N marker.
1803 * config/locale/gnu/c_locale.cc: Likewise.
1804 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
1806 * docs/html/17_intro/C++STYLE: Likewise.
1807 * include/bits/basic_ios.tcc: Likewise.
1808 * include/bits/fstream.tcc: Likewise.
1809 * include/bits/vector.tcc: Likewise.
1810 * include/ext/ropeimpl.h: Likewise.
1811 * include/std/std_bitset.h: Likewise.
1812 * src/ios.cc: Likewise.
1813 * src/locale.cc: Likewise.
1814 * src/localename.cc: Likewise.
1816 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1818 * include/bits/basic_string.h (_M_replace_aux): Use the
1819 __N marker in throw message.
1820 * include/bits/basic_string.tcc (assign(const _CharT*,
1821 size_type), insert(size_type, const _CharT*, size_type),
1822 replace(size_type, size_type, const _CharT*, size_type),
1823 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
1826 * include/bits/basic_string.h, include/bits/basic_string.tcc:
1827 Fold overlong lines, minor formatting changes.
1829 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1831 * include/bits/basic_string.h (replace(iterator, iterator,
1832 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
1833 (replace(iterator, iterator, const _CharT*)): Ditto.
1834 (replace(iterator, iterator, const _CharT*, size_type)):
1835 Add missing _GLIBCXX_DEBUG_PEDASSERT.
1837 2004-01-26 Paolo Carlini <pcarlini@suse.de>
1839 * include/bits/basic_string.tcc (replace(size_type,
1840 size_type, const _CharT*, size_type)): Implement optimized
1841 in-place algorithm for non-overlapping ranges.
1842 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
1843 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
1845 * include/bits/basic_string.tcc (insert(size_type,
1846 const _CharT*, size_type)): Tweak slightly.
1848 2004-01-26 Andreas Schwab <schwab@suse.de>
1850 * config/locale/gnu/monetary_members.cc: Restore locale before
1851 rethrowing exception.
1853 2004-01-25 Paolo Carlini <pcarlini@suse.de>
1855 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
1857 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
1860 * include/bits/basic_string.tcc: Very minor tweaks.
1862 2004-01-25 Paolo Carlini <pcarlini@suse.de>
1864 * testsuite/performance/string_append.cc: Increase number
1867 2004-01-25 Paolo Carlini <pcarlini@suse.de>
1869 * include/bits/basic_string.h (erase(size_type, size_type),
1870 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
1871 instead, thus avoiding redundant check for length_error.
1873 * include/bits/basic_string.h: Tweak some comments.
1875 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1877 * include/bits/basic_string.tcc (operator+(const _CharT*,
1878 const basic_string&)): No need to go through the append
1879 taking two iterators.
1881 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1883 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
1884 Revert last change to use std::min: machine language is worse.
1885 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
1886 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
1887 (find_last_not_of(_CharT, size_type)): Ditto.
1889 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
1890 size_type)): Discard the value returned by _M_check.
1891 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
1892 (append(const basic_string&, size_type, size_type)): Ditto.
1893 (copy(_CharT*, size_type, size_type)): Ditto.
1894 (compare(size_type, size_type, const basic_string&)): Ditto.
1895 (compare(size_type, size_type, const basic_string&,
1896 size_type, size_type)): Ditto.
1897 (compare(size_type, size_type, const _CharT*)): Ditto.
1898 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
1900 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1902 * include/bits/basic_string.h (insert(size_type,
1903 const basic_string&, size_type, size_type)): Define inline here.
1904 * include/bits/basic_string.tcc (insert(size_type,
1905 const basic_string&, size_type, size_type)): Move inline.
1907 2004-01-24 Paolo Carlini <pcarlini@suse.de>
1909 * include/bits/basic_string.h (assign(const basic_string&,
1910 size_type, size_type)): Define inline here.
1911 (replace(size_type, size_type, const basic_string&,
1912 size_type, size_type)): Ditto.
1913 (_M_replace_dispatch(iterator, iterator, _InputIterator,
1914 _InputIterator, __false_type)): Only declare.
1915 (_M_replace(iterator, iterator, _InputIterator,
1916 _InputIterator)): Remove.
1917 * include/bits/basic_string.tcc (assign(const basic_string&,
1918 size_type, size_type)): Move inline.
1919 (replace(size_type, size_type, const basic_string&,
1920 size_type, size_type)): Ditto.
1921 (_M_replace_dispatch(iterator, iterator, _InputIterator,
1922 _InputIterator, __false_type)): Define, now does also what
1923 _M_replace did before.
1924 * src/string-inst.cc (_M_replace): Don't instantiate.
1926 * include/bits/basic_string.tcc (find(const _CharT*,
1927 size_type, size_type)): Tidy.
1928 (rfind(_CharT, size_type)): Ditto.
1929 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
1930 (find_first_not_of(_CharT, size_type)): Ditto.
1931 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
1932 (find_last_not_of(_CharT, size_type)): Ditto.
1934 2004-01-23 Paolo Carlini <pcarlini@suse.de>
1937 * include/debug/bitset (operator|=): Fix typo.
1938 * testsuite/23_containers/bitset/operations/13838.cc: New.
1940 2004-01-23 Paolo Carlini <pcarlini@suse.de>
1942 * include/bits/basic_string.tcc (insert(size_type,
1943 const _CharT*, size_type __n)): Fix length_error check.
1944 (replace(size_type, size_type, const _CharT*, size_type):
1945 Ditto; call _M_replace_safe.
1946 (_M_replace_aux(size_type, size_type, size_type, _CharT):
1947 Fix length_error check.
1948 (_M_replace(iterator, iterator, _InputIterator,
1949 _InputIterator)): Ditto, tweak.
1950 (_M_replace_safe(size_type, size_type, const _CharT*,
1951 size_type)): Remove length_error check.
1953 * include/bits/basic_string.tcc (append(const basic_string&),
1954 append(const basic_string&, size_type, size_type)): Tweak
1957 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
1958 size_type)): If __n == 0 don't call traits::copy.
1960 2004-01-23 Stefan Olsson <stefan@snon.net>
1962 * include/ext/mt_allocator.h: Reduce lock contention.
1964 2004-01-23 Paolo Carlini <pcarlini@suse.de>
1967 * include/bits/fstream.tcc (underflow): Remove unused
1969 * include/bits/streambuf_iterator.h (equal): Ditto.
1970 * include/bits/locale_facets.h (_M_convert_from_char):
1973 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1976 * config/linker-map.gnu (nan): Delete.
1977 * libmath/mathconf.h (NAN, nan): Delete.
1978 * linkage.m4 (nan): Don't check for it.
1979 * libmath/nan.c: Delete file.
1981 * config.h.in, configure: Regenerate.
1983 2004-01-23 Paolo Carlini <pcarlini@suse.de>
1985 * include/bits/basic_string.h (push_back(_CharT)):
1986 Call _M_replace_aux.
1987 (insert(size_type, const basic_string&)): Trivial tweak.
1988 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
1989 (insert(iterator, _CharT)): Ditto.
1990 (erase(size_type, size_type)): Ditto.
1991 (erase(iterator)): Ditto.
1992 (erase(iterator, iterator)): Ditto.
1993 (replace(size_type, size_type, size_type, _CharT)): Ditto.
1995 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
1998 * testsuite/performance/allocator_map_thread.cc: New test.
2000 2004-01-22 Paolo Carlini <pcarlini@suse.de>
2002 * include/bits/locale_facets.tcc
2003 (money_put::do_put(..., long double)): Use the basic_string
2004 constructor for char arrays, not that for C-strings, to pass
2005 __digits to do_put(..., const string_type&): __ws isn't
2008 2004-01-22 Paolo Carlini <pcarlini@suse.de>
2010 * include/bits/basic_string.h (_M_replace_safe): Change
2011 signatures to take size_types and const _CharT*.
2012 (_M_replace_aux): Likewise, takes size_types instead of
2014 (append(size_type, _CharT)): Update call.
2015 (assign(size_type, _CharT)): Ditto.
2016 (replace(iterator, iterator, size_type, _CharT)): Ditto.
2017 (_M_replace_dispatch(iterator, iterator, _Integer,
2018 _Integer, __true_type)): Ditto.
2019 * include/bits/basic_string.tcc (assign(const _CharT*,
2021 (insert(size_type, const _CharT*, size_type)): Ditto.
2022 (replace(size_type, size_type, const _CharT*,
2024 (_M_replace(iterator, iterator, _InputIterator,
2025 _InputIterator)): Ditto.
2026 (append(const basic_string&)): Ditto.
2027 (append(const basic_string&, size_type, size_type): Ditto.
2028 (append(const _CharT*, size_type): Ditto.
2029 (_M_replace_safe, _M_replace_safe): Change definitions
2030 accordingly, simplify.
2031 * string-inst.cc (_M_replace_safe): Don't instantiate.
2033 2004-01-21 Paolo Carlini <pcarlini@suse.de>
2035 * include/bits/basic_string.tcc (append(const basic_string&)):
2036 Revert previous change.
2037 (append(const basic_string&, size_type, size_type)): Revert
2038 previous change, use _M_check and _M_limit.
2040 2004-01-21 Paolo Carlini <pcarlini@suse.de>
2042 * include/bits/basic_string.h (_M_check): Change to return
2043 a checked __pos and take an additional const char* argument.
2044 (_M_fold): Rename to _M_limit, change to return a size_type,
2045 corresponding to the __off limited to the actual length.
2046 (insert(size_type, size_type, _CharT)): Update call, call
2048 (insert(iterator, _CharT)): Call replace(iterator, iterator,
2049 size_type, _CharT) instead.
2050 (erase(size_type, size_type)): Update calls.
2051 (replace(size_type, size_type, size_type, _CharT)): Ditto.
2052 (substr(size_type, size_type)): Use _M_check.
2053 * include/bits/basic_string.tcc (basic_string(const basic_string&,
2054 size_type, size_type)): Update calls.
2055 (basic_string(const basic_string&, size_type, size_type,
2056 const _Alloc&)): Ditto.
2057 (assign(const basic_string&, size_type, size_type)): Use the
2058 new _M_check and _M_limit.
2059 (insert(size_type, const basic_string&, size_type, size_type):
2061 (insert(size_type, const _CharT*, size_type)): Ditto.
2062 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
2063 (replace(size_type, size_type, const basic_string&,
2064 size_type, size_type)): Ditto.
2065 (append(const basic_string&)): Ditto.
2066 (append(const basic_string&, size_type, size_type)): Ditto.
2067 (copy(_CharT*, size_type, size_type)): Ditto.
2068 (compare(size_type, size_type, const basic_string&)): Ditto.
2069 (compare(size_type, size_type, const basic_string&,size_type,
2071 (compare(size_type, size_type, const _CharT*)): Ditto.
2072 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
2074 2004-01-19 Stefan Olsson <stefan@snon.net>
2076 * include/ext/mt_allocator.h: If a thread, when it dies, still has
2077 memory on it's freelist this memory is not returned to global
2078 list. Simplification of deallocate so that memory is always
2079 returned to the calling thread id's freelist instead of to
2080 global. Fix typos. Add volatile where appropriate.
2082 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
2084 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
2085 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
2086 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
2088 2004-01-19 Paolo Carlini <pcarlini@suse.de>
2090 * src/debug.cc: Make sure all the names are prefixed with
2091 double (or single) underscore.
2093 2004-01-19 Paolo Carlini <pcarlini@suse.de>
2095 * src/debug.cc: Trivial formatting change.
2097 2004-01-19 Paolo Carlini <pcarlini@suse.de>
2099 * include/bits/basic_string.tcc (_S_construct(size_type,
2100 _CharT, const _Alloc&)): Remove redundant try/catch.
2101 (_M_mutate(size_type, size_type, size_type)): Ditto.
2102 (_M_clone(const _Alloc&, size_type)): Ditto.
2104 2004-01-18 Paolo Carlini <pcarlini@suse.de>
2106 * include/bits/basic_string.h (c_str()): Simplify, due to
2107 21.3.4 the internal representation is always kept null-terminated.
2108 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
2109 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
2110 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
2113 2004-01-18 Paolo Carlini <pcarlini@suse.de>
2115 * include/bits/basic_string.h (append(size_type, _CharT)):
2116 Moved inline, just call _M_replace_aux, no source iterators at
2117 risk of being clobbered.
2118 (assign(size_type, _CharT)): Call directly _M_replace_aux.
2119 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
2120 input_iterator_tag)): Remove fifth unused argument.
2121 (_M_replace_dispatch(iterator, iterator, _InputIterator,
2122 _InputIterator, __false_type)): Update call.
2123 * include/bits/basic_string.tcc (replace(size_type, size_type,
2124 const _CharT*, size_type)): Update call.
2125 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
2126 throw string literal.
2127 (_M_replace_safe(iterator, iterator, _ForwardIterator,
2128 _ForwardIterator)): Likewise.
2129 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
2130 input_iterator_tag)): Remove fifth unused argument.
2131 (append(size_type __n, _CharT __c)): Move inline.
2132 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
2133 const C*, const C*, input_iterator_tag)): Remove fifth unused
2136 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
2138 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
2139 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
2141 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2143 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
2146 2004-01-15 Stefan Olsson <stefan@snon.net>
2148 * include/ext/mt_allocator.h: Reuse thread id's as soon as
2149 possible by changing the behaviour of thread_freelist to do
2150 push_front when threads die instead of push_back.
2152 2004-01-14 Paolo Carlini <pcarlini@suse.de>
2154 * include/bits/locale_facets.h (struct __numpunct_cache):
2155 Add member _M_grouping_size, caching the length of _M_grouping.
2156 (__numpunct_cache<>::_M_cache): Assign the latter.
2157 (__verify_grouping): Move declaration...
2158 * include/bits/locale_facets.tcc (__verify_grouping):
2159 ... here, change signature to take a const char* and a size_t
2160 for the grouping; not a template anymore.
2161 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
2162 Likewise change signature and tweak consistently.
2163 (num_get::_M_extract_float, num_get::_M_extract_int,
2164 num_put::_M_insert_int, num_put::_M_insert_float,
2165 money_get::do_get(string_type&), money_get::do_put(string_type)):
2167 * config/locale/generic/numeric_members.cc
2168 (numpunct<>::_M_initialize_numpunct): Assign the new member.
2169 * config/locale/gnu/numeric_members.cc
2170 (numpunct<>::_M_initialize_numpunct): Likewise.
2171 * src/locale-inst.cc (__add_grouping): Tweak signature.
2172 (__verify_grouping): Don't instantiate, not a template anymore.
2174 * include/bits/locale_facets.h: Rename _M_truename_len ->
2175 _M_truename_size, _M_falsename_len -> _M_falsename_size.
2176 * include/bits/locale_facets.tcc: Likewise.
2177 * config/locale/generic/numeric_members.cc: Likewise.
2178 * config/locale/gnu/numeric_members.cc: Likewise.
2180 2004-01-14 Stefan Olsson <stefan@snon.net>
2182 * include/ext/mt_allocator.h: Fixups.
2183 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
2184 * testsuite/performance/allocator_thread.cc: Same.
2186 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
2188 * testsuite/performance/ifstream_extract_float.cc: Add higher
2190 * testsuite/performance/ofstream_insert_float.cc: Same.
2192 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2194 * src/locale-misc-inst.cc (__convert_from_v(long),
2195 __convert_from_v(unsigned long), __convert_from_v(long long),
2196 __convert_from_v(unsigned long long)): Remove, unused.
2198 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
2200 * testsuite/performance/ifstream_extract_float.cc: New.
2201 * testsuite/performance/ofstream_insert_float.cc: Float generation
2204 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
2205 * 20_util/auto_ptr/1.cc: ...this.
2206 * 20_util/auto_ptr/2.cc: Same.
2207 * 20_util/auto_ptr/3.cc: Same.
2208 * 20_util/auto_ptr/3946.cc: Same.
2209 * 20_util/auto_ptr/4.cc: Same.
2210 * 20_util/auto_ptr/5.cc: Same.
2211 * 20_util/auto_ptr/6.cc: Same.
2212 * 20_util/auto_ptr/7.cc: Same.
2213 * 20_util/auto_ptr/assign_neg.cc
2214 * 20_util/pairs.cc: Break into...
2215 * 20_util/pair/1.cc: ...this.
2216 * 20_util/pair/2.cc: Same.
2217 * 20_util/pair/3.cc: Same.
2218 * 20_util/pair/4.cc: Same.
2220 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2222 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
2223 Set correctly just basefield, the only group that matters.
2225 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2227 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
2228 (_Rope_rep_base): Inherit directly from the rope allocator;
2229 use rebinding instead of _Alloc_traits; pick up data member
2230 from _Rope_rep_alloc_base.
2231 (_Rope_alloc_base): Eliminate.
2232 (_Rope_base): Inherit directly from the rope allocator; use
2233 rebinding instead of _Alloc_traits; pick up data member from
2235 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
2236 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
2238 2004-01-13 Paolo Carlini <pcarlini@suse.de>
2241 * include/bits/basic_string.tcc (compare(size_type, size_type,
2242 const _CharT*, size_type)): Implement correctly the resolution
2243 of DR 5: basically, s is a char array, -not- a C string.
2244 * include/bits/basic_string.h: Tweak some comments.
2245 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
2246 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
2248 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
2250 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
2253 2004-01-12 Paolo Carlini <pcarlini@suse.de>
2255 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
2257 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2260 2004-01-12 Paolo Carlini <pcarlini@suse.de>
2262 * include/bits/locale_facets.h (struct __numpunct_cache):
2263 Add members _M_truename_len and _M_falsename_len, caching
2264 the lengths of _M_truename and _M_falsename.
2265 (__numpunct_cache<>::_M_cache): Assign the latter.
2266 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
2267 num_put::do_put(bool)): Use the new members, thus avoiding
2268 computing string lengths again and again.
2269 * config/locale/generic/numeric_members.cc
2270 (numpunct<>::_M_initialize_numpunct): Assign the new members.
2271 * config/locale/gnu/numeric_members.cc
2272 (numpunct<>::_M_initialize_numpunct): Likewise.
2274 2004-01-12 Mark Mitchell <mark@codesourcery.com>
2276 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
2277 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
2279 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
2280 and remove Cygwin XFAIL.
2281 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2282 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2283 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2284 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2286 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2287 * testsuite/27_io/objects/char/7.cc: Likewise.
2288 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2289 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2290 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2292 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
2294 * include/std/std_complex.h (std::complex<>::real): Return a
2295 reference. Add non-const overload.
2296 (std::complex<>::real): Likewise.
2297 (std::real): Likewise.
2298 (std::imag): Likewise.
2299 (std::operator+): Tidy.
2300 (std::operator-): Likewise.
2301 (std::operator*): Likewise.
2302 (std::operator/): Likewise.
2303 (std::operator>>): Likewise.
2305 2004-01-11 Paolo Carlini <pcarlini@suse.de>
2308 * include/bits/fstream.tcc (imbue): Exploit the external
2309 buffer to imbue 'on the fly' a new locale and convert its
2310 remainder with the new codecvt facet.
2311 (underflow): Tweak slightly to deal with this special case.
2312 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
2313 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
2314 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
2315 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
2316 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
2318 2004-01-10 Paolo Carlini <pcarlini@suse.de>
2320 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
2323 2004-01-10 Paolo Carlini <pcarlini@suse.de>
2326 * include/bits/locale_classes.h (class locale): Fix category
2328 * testsuite/22_locale/locale/13630.cc: Add.
2330 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2332 * include/bits/locale_facets.h: Make a name really dependent. This
2333 will be needed when Core Issue 224 is implemented.
2335 2004-01-09 Paolo Carlini <pcarlini@suse.de>
2337 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
2338 * testsuite/performance/allocator_thread.cc: Likewise.
2340 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
2342 * crossconfig.m4: Add LFS, io bits to linux cross config.
2343 * acconfig.h: Remove obsolete bits, reorder.
2344 * config.h.in: Regenerate.
2348 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
2350 * include/bits/stl_list.h:
2351 * include/bits/list.tc:
2353 Performance enhancements for destructor, push_front(),
2354 push_back(), pop_front(), pop_back(), sort()
2355 Eliminated static_casts where possible.
2356 Moved code out of header files into new src/list.cc
2357 implementation file for library where possible.
2358 Remove inheritance from iterator class and create separate
2359 classes for non-constant and constant iterators.
2360 * include/bits/stl_tree.h (_Rb_tree class):
2362 Only erase contents in destructor.
2363 Eliminate unnecessary initialization in assignment operator.
2364 Optimize for the nominal case by not checking whether
2365 container is empty in clear().
2366 Re-order test in _M_insert() to improve performance.
2367 Move initialization of new node's left & right pointers to
2368 src/tree.cc to where new node's colour is initialized
2369 and to reduce the amount of inline code.
2370 Use _M_leftmost() and _M_end() to improve readability where
2372 Create separate classes for non-constant and constant
2373 iterators to clarify code, avoid extra template parameters and
2374 casting away constness.
2376 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
2378 * src/Makefile.am (sources): Add list.cc, tree.cc.
2379 * src/stl_tree.cc: Move to...
2380 * src/tree.cc: ...here.
2382 * config/linker-map.gnu: Tweaks.
2383 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
2384 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
2386 * bits/stl_vector.h: Column wrap comments.
2388 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
2390 (re-open) PR libstdc++/12658
2391 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
2392 (locale::global): Likewise.
2394 2004-01-07 Paolo Carlini <pcarlini@suse.de>
2396 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
2397 Remove redundant #include.
2398 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
2399 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
2400 re-enable normal testing.
2401 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
2403 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
2404 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
2406 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
2408 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
2410 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
2412 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
2414 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
2416 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
2418 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
2419 More properly, #include <locale>.
2420 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
2421 Remove redundant #include.
2422 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
2423 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
2424 redundant DejaGnu directive.
2425 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
2428 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
2429 Stefan Olsson <stefan@snon.net>
2431 * scripts/check_performance: Use -pthread.
2432 * testsuite/performance/allocator.cc: Tweaks, add list.
2433 * testsuite/performance/allocator_thread.cc: New.
2435 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
2437 * include/bits/locale_facets.h: Document public classes and
2439 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
2442 2004-01-06 Paolo Carlini <pcarlini@suse.de>
2444 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
2445 Remove redundant #includes.
2446 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
2448 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
2450 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
2451 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
2452 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
2453 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
2454 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
2455 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
2456 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
2457 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
2458 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
2459 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
2460 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
2461 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
2462 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
2463 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
2464 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
2466 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
2468 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
2470 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
2472 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
2474 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
2475 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
2476 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
2478 2004-01-04 Paolo Carlini <pcarlini@suse.de>
2480 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
2481 Remove redundant #includes.
2482 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
2484 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
2486 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
2488 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
2490 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
2492 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
2494 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
2496 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
2498 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
2500 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
2502 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2504 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
2507 2004-01-04 Mark Mitchell <mark@codesourcery.com>
2510 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
2512 * testsuite/27_io/basic_fstream/4.cc: Likewise.
2513 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
2514 * testsuite/27_io/basic_ios/4.cc: Likewise.
2515 * testsuite/27_io/basic_iostream/4.cc: Likewise.
2516 * testsuite/27_io/basic_istream/4.cc: Likewise.
2517 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
2518 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
2519 * testsuite/27_io/basic_ostream/4.cc: Likewise.
2520 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
2521 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
2522 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
2524 2004-01-04 Paolo Carlini <pcarlini@suse.de>
2526 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
2527 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
2528 always use double underscored names.
2529 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
2531 * include/bits/locale_facets.h (struct __numpunct_cache):
2532 Dimension _M_atoms_out and _M_atoms_in one position smaller.
2533 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out