1 2004-02-03 Paolo Carlini <pcarlini@suse.de>
3 * include/bits/basic_string.h (insert(iterator)): Remove,
4 non-standard and already scheduled for removal.
6 2004-02-03 Paolo Carlini <pcarlini@suse.de>
8 * include/bits/stl_iterator_base_funcs.h: Minor formatting
9 and indentation tweaks.
10 * include/bits/stl_iterator_base_types.h: Likewise.
11 * include/bits/stl_list.h: Likewise.
12 * include/bits/stl_map.h: Likewise.
13 * include/bits/stl_tempbuf.h: Likewise.
15 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
17 * include/bits/gslice.h, include/bits/gslice_array.h,
18 include/bits/indirect_array.h, include/bits/mask_array.h,
19 include/bits/slice_array.h, include/bits/stl_numeric.h,
20 include/std/std_valarray.h: Update copyright years.
22 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
24 * include/bits/gslice.h (gslice): Document.
25 * include/bits/gslice_array.h (gslice_array): Document.
26 * include/bits/indirect_array (indirect_array): Document.
27 * include/bits/mask_array (mask_array): Document.
28 * include/bits/slice_array.h (slice,slice_array): Document.
29 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
30 adjacent_difference): Document
31 * include/std/std_valarray.h (valarray): Document.
33 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
35 * docs/html/19_diagnostics/howto.html: Move verbose terminate
37 * docs/html/18_support/howto.html: Here.
38 * docs/html/documentation.html: Add reference here.
40 2004-02-02 Paolo Carlini <pcarlini@suse.de>
42 * config/locale/gnu/c++locale_internal.h: Remove prototypes
43 of no longer used GLIBC thread locale functions.
45 2004-02-02 Eric Christopher <echristo@redhat.com>
46 Zack Weinberg <zack@codesourcery.com>
48 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
50 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
51 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
52 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
53 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
54 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
55 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
56 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
57 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
60 2004-02-02 Paolo Carlini <pcarlini@suse.de>
62 * include/bits/stl_function.h: Additional minor tweaks.
63 * include/bits/stl_multiset.h: Likewise.
65 * include/bits/stl_queue.h: Minor tweaks.
67 2004-02-02 Paolo Carlini <pcarlini@suse.de>
69 PR libstdc++/13976 (continued)
70 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
71 Make the second parameter unnamed, to void unused parameter
73 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
75 2004-02-02 Paolo Carlini <pcarlini@suse.de>
78 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
79 Make the second parameter unnamed, to void unused parameter
81 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
82 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
84 2004-02-01 Paolo Carlini <pcarlini@suse.de>
86 * include/bits/stl_algo.h: Additional minor tweaks.
87 * include/bits/stl_map.h: Likewise.
88 * include/bits/stl_multimap.h: Likewise.
89 * include/bits/stl_multiset.h: Likewise.
90 * include/bits/stl_set.h: Likewise.
91 * include/bits/stl_tree.h: Likewise.
93 2004-02-01 Paolo Carlini <pcarlini@suse.de>
95 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
98 2004-02-01 Paolo Carlini <pcarlini@suse.de>
100 * include/bits/stl_function.h: Additional minor tweaks.
102 2004-02-01 Paolo Carlini <pcarlini@suse.de>
104 * include/bits/deque.tcc: Wrap overlong lines, constify
105 a few variables, reformat according to the coding standards.
106 * include/bits/list.tcc: Likewise.
107 * include/bits/stl_deque.h: Likewise.
108 * include/bits/stl_function.h: Likewise.
109 * include/bits/stl_iterator.h: Likewise.
110 * include/bits/stl_iterator_base_funcs.h: Likewise.
111 * include/bits/stl_iterator_base_types.h: Likewise.
112 * include/bits/stl_list.h: Likewise.
113 * include/bits/stl_map.h: Likewise.
114 * include/bits/stl_multimap.h: Likewise.
115 * include/bits/stl_multiset.h: Likewise.
116 * include/bits/stl_relops.h: Likewise.
117 * include/bits/stl_set.h: Likewise.
119 2004-02-01 Paolo Carlini <pcarlini@suse.de>
121 * include/bits/stl_bvector.h: Wrap overlong lines, constify
122 a few variables, reformat according to the coding standards.
123 * include/bits/stl_tree.h: Likewise.
125 2004-01-31 Paolo Carlini <pcarlini@suse.de>
127 * include/bits/stl_algo.h: Minor additional reformat, add
129 * include/bits/stl_algobase.h: Add copyright year.
131 2004-01-31 Paolo Carlini <pcarlini@suse.de>
133 * include/bits/stl_algo.h: Wrap overlong lines, constify
134 a few variables, reformat according to the coding standards.
135 * include/bits/stl_algobase.h: Likewise.
136 * include/bits/stl_heap.h: Likewise.
138 2004-01-31 Paolo Carlini <pcarlini@suse.de>
140 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
142 * include/bits/basic_string.h: Fix two comments.
144 2004-01-31 Per Bothner <per@bothner.com>
146 * include/ext/mt_allocator.h
147 (__mt_alloc::_S_thread_freelist_mutex): Guard with
148 __GTHREAD_MUTEX_INIT.
150 2004-01-31 Paolo Carlini <pcarlini@suse.de>
152 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
154 2004-01-30 Paolo Carlini <pcarlini@suse.de>
156 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
157 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
158 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
160 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
162 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
163 Don't use clear, but instead assign. Use insert.
165 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
167 * src/demangle.cc: Add instantiations.
168 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
169 * src/Makefile.in: Regenerate.
171 2004-01-30 David Edelsohn <edelsohn@gnu.org>
173 * src/allocator.cc: Protect _S_get_thread_id() and
174 _S_thread_key_destr() with #ifdef __GTHREADS.
176 2004-01-30 Paolo Carlini <pcarlini@suse.de>
178 Reshuffle performance testsuite.
179 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
180 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
181 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
182 fstream_seek_write.cc, ifstream_extract_float.cc,
183 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
184 list_create_fill_sort.cc, map_create_fill.cc,
185 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
186 ofstream_insert_float.cc, ofstream_insert_int.cc,
187 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
188 wchar_t_out.cc: Split into...
189 * testsuite/performance/20_util/allocator.cc: New.
190 * testsuite/performance/20_util/allocator_map_thread.cc: New.
191 * testsuite/performance/20_util/allocator_thread.cc: New.
192 * testsuite/performance/21_strings/string_append: New.
193 * testsuite/performance/22_locale/is_wchar_t.cc: New.
194 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
195 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
196 * testsuite/performance/22_locale/wchar_t_in.cc: New.
197 * testsuite/performance/22_locale/wchar_t_length.cc: New.
198 * testsuite/performance/22_locale/wchar_t_out.cc: New.
199 * testsuite/performance/23_containers/container_benchmark.cc: New.
200 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
201 * testsuite/performance/23_containers/map_create_fill.cc: New.
202 * testsuite/performance/26_numerics/complex_norm.cc: New.
203 * testsuite/performance/27_io/cout_insert_int.cc: New.
204 * testsuite/performance/27_io/filebuf_copy.cc: New.
205 * testsuite/performance/27_io/filebuf_sputc.cc: New.
206 * testsuite/performance/27_io/fstream_seek_write.cc: New.
207 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
208 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
209 * testsuite/performance/27_io/ifstream_getline.cc: New.
210 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
211 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
213 2004-01-30 Paolo Carlini <pcarlini@suse.de>
215 * include/bits/basic_string.tcc (_Rep::_S_create):
216 Never allocate a string bigger than max_size(); always keep
217 __capacity and __size in sync to avoid memory leaks at
220 2004-01-30 Paolo Carlini <pcarlini@suse.de>
222 * include/bits/basic_string.tcc (_S_construct(_InIterator,
223 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
224 the double loop, streamline.
226 * include/bits/basic_string.tcc: Very minor tweaks.
228 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
230 * scripts/check_performance: Only compile with $THREAD_FLAG
231 when test is marked to require it. Allow multiple
232 compilations/executions of marked tests.
233 * testsuite/testsuite_performance.h (report_performance):
234 Report dynamic thread support status.
235 (report_header): Likewise.
236 * testsuite/performance/allocator.cc: Stabilize iteration
237 count. Support more allocators. Mark each allocator test to
238 run and report independently.
239 * testsuite/performance/allocator_map_thread.cc: Likewise.
240 * testsuite/performance/allocator_thread.cc: Likewise.
242 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
244 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
245 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
246 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
247 std::get_temporary_buffer() instead of duplicating its code.
248 Update to C++STYLE conventions.
249 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
250 new() instead of std::malloc().
251 (return_temporary_buffer): Use ::operator delete() instead of
254 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
256 * include/bits/allocator.h: Temporary switch to new_allocator as
257 the default to unjam bootstraps.
259 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
261 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
262 * include/Makefile.in: Regenerate.
263 * include/bits/allocator_traits.h: Remove.
264 * include/bits/allocator.h: Remove allocator_traits.h include, and
266 (allocator): Empty base class, inherit from the underlying allocator.
267 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
268 * src/allocator.cc: ...here. New. For the underlying allocators.
269 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
270 * config/linker-map.gnu: Remove __pool_alloc bits.
271 * src/Makefile.am (sources): Add allocator.cc.
272 * src/Makefile.in: Regenerate.
273 * testsuite/20_util/allocator/1.cc: Split second test into...
274 * testsuite/20_util/allocator/8230.cc: ...this.
275 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
276 typedef to use std::allocatore. Format.
277 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
279 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
280 __throw_bad_alloc calls. Don't include <memory>.
281 * include/ext/malloc_allocator.h: Remove <memory> include.
282 * include/ext/new_allocator.h (new_allocator): Same.
283 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
284 declaration. Switch __alloc to _Alloc.
285 * include/ext/hashtable.h: Remove __alloc.
286 * include/backward/alloc.h: Only inject allocator, not
287 implementation details.
289 * include/ext/mt_allocator.h: Replace free with delete.
291 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
293 * src/globals_io.cc: Change to __gnu_internal namespace.
294 * src/globals_locale.cc: Same.
295 * src/locale_init.cc: Same.
296 * src/ios_init.cc: Same.
298 2004-01-28 Stefan Olsson <stefan@snon.net>
300 * include/ext/mt_allocator.h: Replaced all malloc() calls with
301 operator new(). Added support for the env variable
302 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
303 one in allocate() as well). Fix typos.
305 2004-01-28 Paolo Carlini <pcarlini@suse.de>
307 * include/bits/basic_string.h (_S_create(size_t,
308 const _Alloc&): Change signature to take two size_type
310 * include/bits/basic_string.tcc (_S_construct(_InIterator,
311 _InIterator, const _Alloc&, input_iterator_tag)): Update
313 (_S_construct(_InIterator, _InIterator, const _Alloc&,
314 forward_iterator_tag)): Likewise.
315 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
316 (_M_mutate(size_type, size_type, size_type)): Don't
317 implement the exponential growth policy, demand it to
318 _S_create, update call and simplify.
319 (_M_clone(const _Alloc&, size_type)): Likewise.
320 (_S_create(size_type, size_type, const _Alloc&)): Implement
321 the growth policy, simplify otherwise.
323 * include/bits/basic_string.h (_Rep::operator[]): Tweak
324 signature to take a size_type, consistently with the other
327 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
329 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
330 delete declarations, add include and test variable.
332 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
334 * include/bits/codecvt.h, include/bits/locale_facets.h,
335 include/bits/postypes.h, include/bits/stl_bvector.h,
336 include/bits/stl_multiset.h, include/bits/stl_set.h,
337 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
338 include/std/std_complex.h: Document.
340 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
343 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
344 iword/pword selector.
345 (ios_base::iword, ios_base::pword): Use it.
346 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
347 iword or pword member on alloc failure.
348 * testsuite/27_io/ios_base/storage/11584.cc: New test.
350 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
351 PJ Darcy <darcypj@us.ibm.com>
353 * configure.host: Add support for *-tpf.
354 * crossconfig.m4: Likewise.
355 * configure: Regenerate.
356 * config/os/tpf: New directory.
357 * config/os/tpf/os_defines.h: New file.
358 * config/os/tpf/ctype_base.h: Likewise.
359 * config/os/tpf/ctype_inline.h: Likewise.
360 * config/os/tpf/ctype_noninline.h: Likewise.
362 2004-01-27 Paolo Carlini <pcarlini@suse.de>
365 * include/bits/sstream.tcc: Guard use of extern template.
367 2004-01-27 Paolo Carlini <pcarlini@suse.de>
369 * include/bits/basic_string.tcc
370 (basic_string(const basic_string&, size_type, size_type),
371 basic_string(const basic_string&, size_type, size_type,
372 const _Alloc&)): Avoid unnecessarily constructing iterators.
374 2004-01-26 Paolo Carlini <pcarlini@suse.de>
376 * config/locale/generic/c_locale.cc: Fix throw messages
377 to use the __N marker.
378 * config/locale/gnu/c_locale.cc: Likewise.
379 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
381 * docs/html/17_intro/C++STYLE: Likewise.
382 * include/bits/basic_ios.tcc: Likewise.
383 * include/bits/fstream.tcc: Likewise.
384 * include/bits/vector.tcc: Likewise.
385 * include/ext/ropeimpl.h: Likewise.
386 * include/std/std_bitset.h: Likewise.
387 * src/ios.cc: Likewise.
388 * src/locale.cc: Likewise.
389 * src/localename.cc: Likewise.
391 2004-01-26 Paolo Carlini <pcarlini@suse.de>
393 * include/bits/basic_string.h (_M_replace_aux): Use the
394 __N marker in throw message.
395 * include/bits/basic_string.tcc (assign(const _CharT*,
396 size_type), insert(size_type, const _CharT*, size_type),
397 replace(size_type, size_type, const _CharT*, size_type),
398 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
401 * include/bits/basic_string.h, include/bits/basic_string.tcc:
402 Fold overlong lines, minor formatting changes.
404 2004-01-26 Paolo Carlini <pcarlini@suse.de>
406 * include/bits/basic_string.h (replace(iterator, iterator,
407 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
408 (replace(iterator, iterator, const _CharT*)): Ditto.
409 (replace(iterator, iterator, const _CharT*, size_type)):
410 Add missing _GLIBCXX_DEBUG_PEDASSERT.
412 2004-01-26 Paolo Carlini <pcarlini@suse.de>
414 * include/bits/basic_string.tcc (replace(size_type,
415 size_type, const _CharT*, size_type)): Implement optimized
416 in-place algorithm for non-overlapping ranges.
417 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
418 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
420 * include/bits/basic_string.tcc (insert(size_type,
421 const _CharT*, size_type)): Tweak slightly.
423 2004-01-26 Andreas Schwab <schwab@suse.de>
425 * config/locale/gnu/monetary_members.cc: Restore locale before
426 rethrowing exception.
428 2004-01-25 Paolo Carlini <pcarlini@suse.de>
430 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
432 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
435 * include/bits/basic_string.tcc: Very minor tweaks.
437 2004-01-25 Paolo Carlini <pcarlini@suse.de>
439 * testsuite/performance/string_append.cc: Increase number
442 2004-01-25 Paolo Carlini <pcarlini@suse.de>
444 * include/bits/basic_string.h (erase(size_type, size_type),
445 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
446 instead, thus avoiding redundant check for length_error.
448 * include/bits/basic_string.h: Tweak some comments.
450 2004-01-24 Paolo Carlini <pcarlini@suse.de>
452 * include/bits/basic_string.tcc (operator+(const _CharT*,
453 const basic_string&)): No need to go through the append
454 taking two iterators.
456 2004-01-24 Paolo Carlini <pcarlini@suse.de>
458 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
459 Revert last change to use std::min: machine language is worse.
460 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
461 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
462 (find_last_not_of(_CharT, size_type)): Ditto.
464 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
465 size_type)): Discard the value returned by _M_check.
466 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
467 (append(const basic_string&, size_type, size_type)): Ditto.
468 (copy(_CharT*, size_type, size_type)): Ditto.
469 (compare(size_type, size_type, const basic_string&)): Ditto.
470 (compare(size_type, size_type, const basic_string&,
471 size_type, size_type)): Ditto.
472 (compare(size_type, size_type, const _CharT*)): Ditto.
473 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
475 2004-01-24 Paolo Carlini <pcarlini@suse.de>
477 * include/bits/basic_string.h (insert(size_type,
478 const basic_string&, size_type, size_type)): Define inline here.
479 * include/bits/basic_string.tcc (insert(size_type,
480 const basic_string&, size_type, size_type)): Move inline.
482 2004-01-24 Paolo Carlini <pcarlini@suse.de>
484 * include/bits/basic_string.h (assign(const basic_string&,
485 size_type, size_type)): Define inline here.
486 (replace(size_type, size_type, const basic_string&,
487 size_type, size_type)): Ditto.
488 (_M_replace_dispatch(iterator, iterator, _InputIterator,
489 _InputIterator, __false_type)): Only declare.
490 (_M_replace(iterator, iterator, _InputIterator,
491 _InputIterator)): Remove.
492 * include/bits/basic_string.tcc (assign(const basic_string&,
493 size_type, size_type)): Move inline.
494 (replace(size_type, size_type, const basic_string&,
495 size_type, size_type)): Ditto.
496 (_M_replace_dispatch(iterator, iterator, _InputIterator,
497 _InputIterator, __false_type)): Define, now does also what
498 _M_replace did before.
499 * src/string-inst.cc (_M_replace): Don't instantiate.
501 * include/bits/basic_string.tcc (find(const _CharT*,
502 size_type, size_type)): Tidy.
503 (rfind(_CharT, size_type)): Ditto.
504 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
505 (find_first_not_of(_CharT, size_type)): Ditto.
506 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
507 (find_last_not_of(_CharT, size_type)): Ditto.
509 2004-01-23 Paolo Carlini <pcarlini@suse.de>
512 * include/debug/bitset (operator|=): Fix typo.
513 * testsuite/23_containers/bitset/operations/13838.cc: New.
515 2004-01-23 Paolo Carlini <pcarlini@suse.de>
517 * include/bits/basic_string.tcc (insert(size_type,
518 const _CharT*, size_type __n)): Fix length_error check.
519 (replace(size_type, size_type, const _CharT*, size_type):
520 Ditto; call _M_replace_safe.
521 (_M_replace_aux(size_type, size_type, size_type, _CharT):
522 Fix length_error check.
523 (_M_replace(iterator, iterator, _InputIterator,
524 _InputIterator)): Ditto, tweak.
525 (_M_replace_safe(size_type, size_type, const _CharT*,
526 size_type)): Remove length_error check.
528 * include/bits/basic_string.tcc (append(const basic_string&),
529 append(const basic_string&, size_type, size_type)): Tweak
532 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
533 size_type)): If __n == 0 don't call traits::copy.
535 2004-01-23 Stefan Olsson <stefan@snon.net>
537 * include/ext/mt_allocator.h: Reduce lock contention.
539 2004-01-23 Paolo Carlini <pcarlini@suse.de>
542 * include/bits/fstream.tcc (underflow): Remove unused
544 * include/bits/streambuf_iterator.h (equal): Ditto.
545 * include/bits/locale_facets.h (_M_convert_from_char):
548 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
551 * config/linker-map.gnu (nan): Delete.
552 * libmath/mathconf.h (NAN, nan): Delete.
553 * linkage.m4 (nan): Don't check for it.
554 * libmath/nan.c: Delete file.
556 * config.h.in, configure: Regenerate.
558 2004-01-23 Paolo Carlini <pcarlini@suse.de>
560 * include/bits/basic_string.h (push_back(_CharT)):
562 (insert(size_type, const basic_string&)): Trivial tweak.
563 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
564 (insert(iterator, _CharT)): Ditto.
565 (erase(size_type, size_type)): Ditto.
566 (erase(iterator)): Ditto.
567 (erase(iterator, iterator)): Ditto.
568 (replace(size_type, size_type, size_type, _CharT)): Ditto.
570 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
573 * testsuite/performance/allocator_map_thread.cc: New test.
575 2004-01-22 Paolo Carlini <pcarlini@suse.de>
577 * include/bits/locale_facets.tcc
578 (money_put::do_put(..., long double)): Use the basic_string
579 constructor for char arrays, not that for C-strings, to pass
580 __digits to do_put(..., const string_type&): __ws isn't
583 2004-01-22 Paolo Carlini <pcarlini@suse.de>
585 * include/bits/basic_string.h (_M_replace_safe): Change
586 signatures to take size_types and const _CharT*.
587 (_M_replace_aux): Likewise, takes size_types instead of
589 (append(size_type, _CharT)): Update call.
590 (assign(size_type, _CharT)): Ditto.
591 (replace(iterator, iterator, size_type, _CharT)): Ditto.
592 (_M_replace_dispatch(iterator, iterator, _Integer,
593 _Integer, __true_type)): Ditto.
594 * include/bits/basic_string.tcc (assign(const _CharT*,
596 (insert(size_type, const _CharT*, size_type)): Ditto.
597 (replace(size_type, size_type, const _CharT*,
599 (_M_replace(iterator, iterator, _InputIterator,
600 _InputIterator)): Ditto.
601 (append(const basic_string&)): Ditto.
602 (append(const basic_string&, size_type, size_type): Ditto.
603 (append(const _CharT*, size_type): Ditto.
604 (_M_replace_safe, _M_replace_safe): Change definitions
605 accordingly, simplify.
606 * string-inst.cc (_M_replace_safe): Don't instantiate.
608 2004-01-21 Paolo Carlini <pcarlini@suse.de>
610 * include/bits/basic_string.tcc (append(const basic_string&)):
611 Revert previous change.
612 (append(const basic_string&, size_type, size_type)): Revert
613 previous change, use _M_check and _M_limit.
615 2004-01-21 Paolo Carlini <pcarlini@suse.de>
617 * include/bits/basic_string.h (_M_check): Change to return
618 a checked __pos and take an additional const char* argument.
619 (_M_fold): Rename to _M_limit, change to return a size_type,
620 corresponding to the __off limited to the actual length.
621 (insert(size_type, size_type, _CharT)): Update call, call
623 (insert(iterator, _CharT)): Call replace(iterator, iterator,
624 size_type, _CharT) instead.
625 (erase(size_type, size_type)): Update calls.
626 (replace(size_type, size_type, size_type, _CharT)): Ditto.
627 (substr(size_type, size_type)): Use _M_check.
628 * include/bits/basic_string.tcc (basic_string(const basic_string&,
629 size_type, size_type)): Update calls.
630 (basic_string(const basic_string&, size_type, size_type,
631 const _Alloc&)): Ditto.
632 (assign(const basic_string&, size_type, size_type)): Use the
633 new _M_check and _M_limit.
634 (insert(size_type, const basic_string&, size_type, size_type):
636 (insert(size_type, const _CharT*, size_type)): Ditto.
637 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
638 (replace(size_type, size_type, const basic_string&,
639 size_type, size_type)): Ditto.
640 (append(const basic_string&)): Ditto.
641 (append(const basic_string&, size_type, size_type)): Ditto.
642 (copy(_CharT*, size_type, size_type)): Ditto.
643 (compare(size_type, size_type, const basic_string&)): Ditto.
644 (compare(size_type, size_type, const basic_string&,size_type,
646 (compare(size_type, size_type, const _CharT*)): Ditto.
647 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
649 2004-01-19 Stefan Olsson <stefan@snon.net>
651 * include/ext/mt_allocator.h: If a thread, when it dies, still has
652 memory on it's freelist this memory is not returned to global
653 list. Simplification of deallocate so that memory is always
654 returned to the calling thread id's freelist instead of to
655 global. Fix typos. Add volatile where appropriate.
657 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
659 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
660 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
661 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
663 2004-01-19 Paolo Carlini <pcarlini@suse.de>
665 * src/debug.cc: Make sure all the names are prefixed with
666 double (or single) underscore.
668 2004-01-19 Paolo Carlini <pcarlini@suse.de>
670 * src/debug.cc: Trivial formatting change.
672 2004-01-19 Paolo Carlini <pcarlini@suse.de>
674 * include/bits/basic_string.tcc (_S_construct(size_type,
675 _CharT, const _Alloc&)): Remove redundant try/catch.
676 (_M_mutate(size_type, size_type, size_type)): Ditto.
677 (_M_clone(const _Alloc&, size_type)): Ditto.
679 2004-01-18 Paolo Carlini <pcarlini@suse.de>
681 * include/bits/basic_string.h (c_str()): Simplify, due to
682 21.3.4 the internal representation is always kept null-terminated.
683 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
684 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
685 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
688 2004-01-18 Paolo Carlini <pcarlini@suse.de>
690 * include/bits/basic_string.h (append(size_type, _CharT)):
691 Moved inline, just call _M_replace_aux, no source iterators at
692 risk of being clobbered.
693 (assign(size_type, _CharT)): Call directly _M_replace_aux.
694 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
695 input_iterator_tag)): Remove fifth unused argument.
696 (_M_replace_dispatch(iterator, iterator, _InputIterator,
697 _InputIterator, __false_type)): Update call.
698 * include/bits/basic_string.tcc (replace(size_type, size_type,
699 const _CharT*, size_type)): Update call.
700 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
701 throw string literal.
702 (_M_replace_safe(iterator, iterator, _ForwardIterator,
703 _ForwardIterator)): Likewise.
704 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
705 input_iterator_tag)): Remove fifth unused argument.
706 (append(size_type __n, _CharT __c)): Move inline.
707 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
708 const C*, const C*, input_iterator_tag)): Remove fifth unused
711 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
713 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
714 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
716 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
718 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
721 2004-01-15 Stefan Olsson <stefan@snon.net>
723 * include/ext/mt_allocator.h: Reuse thread id's as soon as
724 possible by changing the behaviour of thread_freelist to do
725 push_front when threads die instead of push_back.
727 2004-01-14 Paolo Carlini <pcarlini@suse.de>
729 * include/bits/locale_facets.h (struct __numpunct_cache):
730 Add member _M_grouping_size, caching the length of _M_grouping.
731 (__numpunct_cache<>::_M_cache): Assign the latter.
732 (__verify_grouping): Move declaration...
733 * include/bits/locale_facets.tcc (__verify_grouping):
734 ... here, change signature to take a const char* and a size_t
735 for the grouping; not a template anymore.
736 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
737 Likewise change signature and tweak consistently.
738 (num_get::_M_extract_float, num_get::_M_extract_int,
739 num_put::_M_insert_int, num_put::_M_insert_float,
740 money_get::do_get(string_type&), money_get::do_put(string_type)):
742 * config/locale/generic/numeric_members.cc
743 (numpunct<>::_M_initialize_numpunct): Assign the new member.
744 * config/locale/gnu/numeric_members.cc
745 (numpunct<>::_M_initialize_numpunct): Likewise.
746 * src/locale-inst.cc (__add_grouping): Tweak signature.
747 (__verify_grouping): Don't instantiate, not a template anymore.
749 * include/bits/locale_facets.h: Rename _M_truename_len ->
750 _M_truename_size, _M_falsename_len -> _M_falsename_size.
751 * include/bits/locale_facets.tcc: Likewise.
752 * config/locale/generic/numeric_members.cc: Likewise.
753 * config/locale/gnu/numeric_members.cc: Likewise.
755 2004-01-14 Stefan Olsson <stefan@snon.net>
757 * include/ext/mt_allocator.h: Fixups.
758 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
759 * testsuite/performance/allocator_thread.cc: Same.
761 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
763 * testsuite/performance/ifstream_extract_float.cc: Add higher
765 * testsuite/performance/ofstream_insert_float.cc: Same.
767 2004-01-13 Paolo Carlini <pcarlini@suse.de>
769 * src/locale-misc-inst.cc (__convert_from_v(long),
770 __convert_from_v(unsigned long), __convert_from_v(long long),
771 __convert_from_v(unsigned long long)): Remove, unused.
773 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
775 * testsuite/performance/ifstream_extract_float.cc: New.
776 * testsuite/performance/ofstream_insert_float.cc: Float generation
779 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
780 * 20_util/auto_ptr/1.cc: ...this.
781 * 20_util/auto_ptr/2.cc: Same.
782 * 20_util/auto_ptr/3.cc: Same.
783 * 20_util/auto_ptr/3946.cc: Same.
784 * 20_util/auto_ptr/4.cc: Same.
785 * 20_util/auto_ptr/5.cc: Same.
786 * 20_util/auto_ptr/6.cc: Same.
787 * 20_util/auto_ptr/7.cc: Same.
788 * 20_util/auto_ptr/assign_neg.cc
789 * 20_util/pairs.cc: Break into...
790 * 20_util/pair/1.cc: ...this.
791 * 20_util/pair/2.cc: Same.
792 * 20_util/pair/3.cc: Same.
793 * 20_util/pair/4.cc: Same.
795 2004-01-13 Paolo Carlini <pcarlini@suse.de>
797 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
798 Set correctly just basefield, the only group that matters.
800 2004-01-13 Paolo Carlini <pcarlini@suse.de>
802 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
803 (_Rope_rep_base): Inherit directly from the rope allocator;
804 use rebinding instead of _Alloc_traits; pick up data member
805 from _Rope_rep_alloc_base.
806 (_Rope_alloc_base): Eliminate.
807 (_Rope_base): Inherit directly from the rope allocator; use
808 rebinding instead of _Alloc_traits; pick up data member from
810 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
811 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
813 2004-01-13 Paolo Carlini <pcarlini@suse.de>
816 * include/bits/basic_string.tcc (compare(size_type, size_type,
817 const _CharT*, size_type)): Implement correctly the resolution
818 of DR 5: basically, s is a char array, -not- a C string.
819 * include/bits/basic_string.h: Tweak some comments.
820 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
821 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
823 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
825 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
828 2004-01-12 Paolo Carlini <pcarlini@suse.de>
830 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
832 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
835 2004-01-12 Paolo Carlini <pcarlini@suse.de>
837 * include/bits/locale_facets.h (struct __numpunct_cache):
838 Add members _M_truename_len and _M_falsename_len, caching
839 the lengths of _M_truename and _M_falsename.
840 (__numpunct_cache<>::_M_cache): Assign the latter.
841 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
842 num_put::do_put(bool)): Use the new members, thus avoiding
843 computing string lengths again and again.
844 * config/locale/generic/numeric_members.cc
845 (numpunct<>::_M_initialize_numpunct): Assign the new members.
846 * config/locale/gnu/numeric_members.cc
847 (numpunct<>::_M_initialize_numpunct): Likewise.
849 2004-01-12 Mark Mitchell <mark@codesourcery.com>
851 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
852 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
854 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
855 and remove Cygwin XFAIL.
856 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
857 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
858 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
859 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
861 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
862 * testsuite/27_io/objects/char/7.cc: Likewise.
863 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
864 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
865 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
867 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
869 * include/std/std_complex.h (std::complex<>::real): Return a
870 reference. Add non-const overload.
871 (std::complex<>::real): Likewise.
872 (std::real): Likewise.
873 (std::imag): Likewise.
874 (std::operator+): Tidy.
875 (std::operator-): Likewise.
876 (std::operator*): Likewise.
877 (std::operator/): Likewise.
878 (std::operator>>): Likewise.
880 2004-01-11 Paolo Carlini <pcarlini@suse.de>
883 * include/bits/fstream.tcc (imbue): Exploit the external
884 buffer to imbue 'on the fly' a new locale and convert its
885 remainder with the new codecvt facet.
886 (underflow): Tweak slightly to deal with this special case.
887 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
888 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
889 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
890 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
891 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
893 2004-01-10 Paolo Carlini <pcarlini@suse.de>
895 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
898 2004-01-10 Paolo Carlini <pcarlini@suse.de>
901 * include/bits/locale_classes.h (class locale): Fix category
903 * testsuite/22_locale/locale/13630.cc: Add.
905 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
907 * include/bits/locale_facets.h: Make a name really dependent. This
908 will be needed when Core Issue 224 is implemented.
910 2004-01-09 Paolo Carlini <pcarlini@suse.de>
912 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
913 * testsuite/performance/allocator_thread.cc: Likewise.
915 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
917 * crossconfig.m4: Add LFS, io bits to linux cross config.
918 * acconfig.h: Remove obsolete bits, reorder.
919 * config.h.in: Regenerate.
923 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
925 * include/bits/stl_list.h:
926 * include/bits/list.tc:
928 Performance enhancements for destructor, push_front(),
929 push_back(), pop_front(), pop_back(), sort()
930 Eliminated static_casts where possible.
931 Moved code out of header files into new src/list.cc
932 implementation file for library where possible.
933 Remove inheritance from iterator class and create separate
934 classes for non-constant and constant iterators.
935 * include/bits/stl_tree.h (_Rb_tree class):
937 Only erase contents in destructor.
938 Eliminate unnecessary initialization in assignment operator.
939 Optimize for the nominal case by not checking whether
940 container is empty in clear().
941 Re-order test in _M_insert() to improve performance.
942 Move initialization of new node's left & right pointers to
943 src/tree.cc to where new node's colour is initialized
944 and to reduce the amount of inline code.
945 Use _M_leftmost() and _M_end() to improve readability where
947 Create separate classes for non-constant and constant
948 iterators to clarify code, avoid extra template parameters and
949 casting away constness.
951 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
953 * src/Makefile.am (sources): Add list.cc, tree.cc.
954 * src/stl_tree.cc: Move to...
955 * src/tree.cc: ...here.
957 * config/linker-map.gnu: Tweaks.
958 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
959 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
961 * bits/stl_vector.h: Column wrap comments.
963 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
965 (re-open) PR libstdc++/12658
966 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
967 (locale::global): Likewise.
969 2004-01-07 Paolo Carlini <pcarlini@suse.de>
971 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
972 Remove redundant #include.
973 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
974 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
975 re-enable normal testing.
976 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
978 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
979 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
981 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
983 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
985 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
987 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
989 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
991 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
993 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
994 More properly, #include <locale>.
995 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
996 Remove redundant #include.
997 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
998 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
999 redundant DejaGnu directive.
1000 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
1003 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
1004 Stefan Olsson <stefan@snon.net>
1006 * scripts/check_performance: Use -pthread.
1007 * testsuite/performance/allocator.cc: Tweaks, add list.
1008 * testsuite/performance/allocator_thread.cc: New.
1010 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
1012 * include/bits/locale_facets.h: Document public classes and
1014 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
1017 2004-01-06 Paolo Carlini <pcarlini@suse.de>
1019 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
1020 Remove redundant #includes.
1021 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
1023 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
1025 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
1026 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
1027 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
1028 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
1029 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
1030 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
1031 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
1032 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
1033 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
1034 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
1035 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
1036 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
1037 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
1038 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
1039 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
1041 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
1043 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
1045 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
1047 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
1049 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
1050 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
1051 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
1053 2004-01-04 Paolo Carlini <pcarlini@suse.de>
1055 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
1056 Remove redundant #includes.
1057 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
1059 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
1061 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
1063 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1065 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
1067 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
1069 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1071 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
1073 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
1075 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
1077 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
1079 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1082 2004-01-04 Mark Mitchell <mark@codesourcery.com>
1085 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
1087 * testsuite/27_io/basic_fstream/4.cc: Likewise.
1088 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
1089 * testsuite/27_io/basic_ios/4.cc: Likewise.
1090 * testsuite/27_io/basic_iostream/4.cc: Likewise.
1091 * testsuite/27_io/basic_istream/4.cc: Likewise.
1092 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
1093 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
1094 * testsuite/27_io/basic_ostream/4.cc: Likewise.
1095 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
1096 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
1097 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
1099 2004-01-04 Paolo Carlini <pcarlini@suse.de>
1101 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
1102 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
1103 always use double underscored names.
1104 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
1106 * include/bits/locale_facets.h (struct __numpunct_cache):
1107 Dimension _M_atoms_out and _M_atoms_in one position smaller.
1108 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out