1 2004-02-05 Geoffrey Keating <geoffk@apple.com>
5 * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
6 'gcc-lib'. Add comment about poorly-named variables.
7 * aclocal.m4: Regenerate.
8 * configure: Regenerate.
10 2004-02-05 Paolo Carlini <pcarlini@suse.de>
12 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
13 Thousands-sep are always optional; thousands-sep are not allowed
14 after the decimal_point.
15 * testsuite/22_locale/money_get/get/char/12.cc: New.
16 * testsuite/22_locale/money_get/get/char/13.cc: New.
17 * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
18 * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
20 * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
21 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
22 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
23 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
24 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
25 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
26 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
27 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
29 * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
31 * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
33 2004-02-05 Richard Sandiford <rsandifo@redhat.com>
35 * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
37 * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
38 it to decide whether FIONREAD should take an off_t or int argument.
40 2004-02-05 Paolo Carlini <pcarlini@suse.de>
42 * include/bits/stl_function.h: Minor formatting changes.
44 2004-02-04 Zack Weinberg <zack@codesourcery.com>
46 Revert previous change to config/abi/*/baseline_symbols.txt.
48 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
49 Zack Weinberg <zack@codesourcery.com>
51 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
53 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
54 (__basic_file<char>::_M_open_mode): Delete.
55 * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
57 * testsuite/27_io/basic_filebuf/close/char/9964.cc
58 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
59 Correct flags to filebuf::open calls.
61 * config/abi/alpha-freebsd5/baseline_symbols.txt
62 * config/abi/alpha-linux-gnu/baseline_symbols.txt
63 * config/abi/hppa-linux-gnu/baseline_symbols.txt
64 * config/abi/i386-freebsd4/baseline_symbols.txt
65 * config/abi/i386-freebsd5/baseline_symbols.txt
66 * config/abi/i486-linux-gnu/baseline_symbols.txt
67 * config/abi/ia64-linux-gnu/baseline_symbols.txt
68 * config/abi/mips-linux-gnu/baseline_symbols.txt
69 * config/abi/sparc-freebsd5/baseline_symbols.txt
70 * config/abi/sparc-linux-gnu/baseline_symbols.txt
71 * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
72 Remove entry for __basic_file<char>::_M_open_mode.
74 2004-02-04 Loren J. Rittle <ljrittle@acm.org>
76 * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
78 2004-02-04 Felix Yen <fwy@alumni.brown.edu>
80 * testsuite/performance/20_util/producer_consumer.cc: New.
81 * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
83 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
85 * testsuite/performance/20_util/allocator.cc: Move to..
86 * testsuite/performance/20_util/allocator/insert.cc: ...here.
87 * testsuite/performance/20_util/allocator_thread.cc: Move to...
88 * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
89 * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
90 * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
92 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
94 * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
95 * docs/html/faq/index.txt: Regenerate.
97 2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
99 * include/ext/debug_allocator.h: _M_extra now stands for the
100 number of extra objects instead of the number of extra bytes.
101 (debug_allocator::allocate): Adjust.
102 (debug_allocator::deallocate): Adjust.
104 * include/ext/pool_allocator.h: Fix typo.
106 2004-02-03 Felix Yen <fwy@alumni.brown.edu>
107 Benjamin Kosnik <bkoz@redhat.com>
109 * testsuite/performance/20_util/allocator.cc: Add map,
111 * testsuite/performance/20_util/allocator_thread.cc: Same.
113 2004-02-03 Paolo Carlini <pcarlini@suse.de>
115 * include/bits/basic_string.h (insert(iterator)): Remove,
116 non-standard and already scheduled for removal.
118 2004-02-03 Paolo Carlini <pcarlini@suse.de>
120 * include/bits/stl_iterator_base_funcs.h: Minor formatting
121 and indentation tweaks.
122 * include/bits/stl_iterator_base_types.h: Likewise.
123 * include/bits/stl_list.h: Likewise.
124 * include/bits/stl_map.h: Likewise.
125 * include/bits/stl_tempbuf.h: Likewise.
127 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
129 * include/bits/gslice.h, include/bits/gslice_array.h,
130 include/bits/indirect_array.h, include/bits/mask_array.h,
131 include/bits/slice_array.h, include/bits/stl_numeric.h,
132 include/std/std_valarray.h: Update copyright years.
134 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
136 * include/bits/gslice.h (gslice): Document.
137 * include/bits/gslice_array.h (gslice_array): Document.
138 * include/bits/indirect_array (indirect_array): Document.
139 * include/bits/mask_array (mask_array): Document.
140 * include/bits/slice_array.h (slice,slice_array): Document.
141 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
142 adjacent_difference): Document
143 * include/std/std_valarray.h (valarray): Document.
145 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
147 * docs/html/19_diagnostics/howto.html: Move verbose terminate
149 * docs/html/18_support/howto.html: Here.
150 * docs/html/documentation.html: Add reference here.
152 2004-02-02 Paolo Carlini <pcarlini@suse.de>
154 * config/locale/gnu/c++locale_internal.h: Remove prototypes
155 of no longer used GLIBC thread locale functions.
157 2004-02-02 Eric Christopher <echristo@redhat.com>
158 Zack Weinberg <zack@codesourcery.com>
160 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
162 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
163 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
164 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
165 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
166 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
167 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
168 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
169 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
172 2004-02-02 Paolo Carlini <pcarlini@suse.de>
174 * include/bits/stl_function.h: Additional minor tweaks.
175 * include/bits/stl_multiset.h: Likewise.
177 * include/bits/stl_queue.h: Minor tweaks.
179 2004-02-02 Paolo Carlini <pcarlini@suse.de>
181 PR libstdc++/13976 (continued)
182 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
183 Make the second parameter unnamed, to void unused parameter
185 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
187 2004-02-02 Paolo Carlini <pcarlini@suse.de>
190 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
191 Make the second parameter unnamed, to void unused parameter
193 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
194 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
196 2004-02-01 Paolo Carlini <pcarlini@suse.de>
198 * include/bits/stl_algo.h: Additional minor tweaks.
199 * include/bits/stl_map.h: Likewise.
200 * include/bits/stl_multimap.h: Likewise.
201 * include/bits/stl_multiset.h: Likewise.
202 * include/bits/stl_set.h: Likewise.
203 * include/bits/stl_tree.h: Likewise.
205 2004-02-01 Paolo Carlini <pcarlini@suse.de>
207 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
210 2004-02-01 Paolo Carlini <pcarlini@suse.de>
212 * include/bits/stl_function.h: Additional minor tweaks.
214 2004-02-01 Paolo Carlini <pcarlini@suse.de>
216 * include/bits/deque.tcc: Wrap overlong lines, constify
217 a few variables, reformat according to the coding standards.
218 * include/bits/list.tcc: Likewise.
219 * include/bits/stl_deque.h: Likewise.
220 * include/bits/stl_function.h: Likewise.
221 * include/bits/stl_iterator.h: Likewise.
222 * include/bits/stl_iterator_base_funcs.h: Likewise.
223 * include/bits/stl_iterator_base_types.h: Likewise.
224 * include/bits/stl_list.h: Likewise.
225 * include/bits/stl_map.h: Likewise.
226 * include/bits/stl_multimap.h: Likewise.
227 * include/bits/stl_multiset.h: Likewise.
228 * include/bits/stl_relops.h: Likewise.
229 * include/bits/stl_set.h: Likewise.
231 2004-02-01 Paolo Carlini <pcarlini@suse.de>
233 * include/bits/stl_bvector.h: Wrap overlong lines, constify
234 a few variables, reformat according to the coding standards.
235 * include/bits/stl_tree.h: Likewise.
237 2004-01-31 Paolo Carlini <pcarlini@suse.de>
239 * include/bits/stl_algo.h: Minor additional reformat, add
241 * include/bits/stl_algobase.h: Add copyright year.
243 2004-01-31 Paolo Carlini <pcarlini@suse.de>
245 * include/bits/stl_algo.h: Wrap overlong lines, constify
246 a few variables, reformat according to the coding standards.
247 * include/bits/stl_algobase.h: Likewise.
248 * include/bits/stl_heap.h: Likewise.
250 2004-01-31 Paolo Carlini <pcarlini@suse.de>
252 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
254 * include/bits/basic_string.h: Fix two comments.
256 2004-01-31 Per Bothner <per@bothner.com>
258 * include/ext/mt_allocator.h
259 (__mt_alloc::_S_thread_freelist_mutex): Guard with
260 __GTHREAD_MUTEX_INIT.
262 2004-01-31 Paolo Carlini <pcarlini@suse.de>
264 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
266 2004-01-30 Paolo Carlini <pcarlini@suse.de>
268 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
269 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
270 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
272 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
274 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
275 Don't use clear, but instead assign. Use insert.
277 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
279 * src/demangle.cc: Add instantiations.
280 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
281 * src/Makefile.in: Regenerate.
283 2004-01-30 David Edelsohn <edelsohn@gnu.org>
285 * src/allocator.cc: Protect _S_get_thread_id() and
286 _S_thread_key_destr() with #ifdef __GTHREADS.
288 2004-01-30 Paolo Carlini <pcarlini@suse.de>
290 Reshuffle performance testsuite.
291 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
292 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
293 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
294 fstream_seek_write.cc, ifstream_extract_float.cc,
295 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
296 list_create_fill_sort.cc, map_create_fill.cc,
297 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
298 ofstream_insert_float.cc, ofstream_insert_int.cc,
299 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
300 wchar_t_out.cc: Split into...
301 * testsuite/performance/20_util/allocator.cc: New.
302 * testsuite/performance/20_util/allocator_map_thread.cc: New.
303 * testsuite/performance/20_util/allocator_thread.cc: New.
304 * testsuite/performance/21_strings/string_append: New.
305 * testsuite/performance/22_locale/is_wchar_t.cc: New.
306 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
307 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
308 * testsuite/performance/22_locale/wchar_t_in.cc: New.
309 * testsuite/performance/22_locale/wchar_t_length.cc: New.
310 * testsuite/performance/22_locale/wchar_t_out.cc: New.
311 * testsuite/performance/23_containers/container_benchmark.cc: New.
312 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
313 * testsuite/performance/23_containers/map_create_fill.cc: New.
314 * testsuite/performance/26_numerics/complex_norm.cc: New.
315 * testsuite/performance/27_io/cout_insert_int.cc: New.
316 * testsuite/performance/27_io/filebuf_copy.cc: New.
317 * testsuite/performance/27_io/filebuf_sputc.cc: New.
318 * testsuite/performance/27_io/fstream_seek_write.cc: New.
319 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
320 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
321 * testsuite/performance/27_io/ifstream_getline.cc: New.
322 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
323 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
325 2004-01-30 Paolo Carlini <pcarlini@suse.de>
327 * include/bits/basic_string.tcc (_Rep::_S_create):
328 Never allocate a string bigger than max_size(); always keep
329 __capacity and __size in sync to avoid memory leaks at
332 2004-01-30 Paolo Carlini <pcarlini@suse.de>
334 * include/bits/basic_string.tcc (_S_construct(_InIterator,
335 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
336 the double loop, streamline.
338 * include/bits/basic_string.tcc: Very minor tweaks.
340 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
342 * scripts/check_performance: Only compile with $THREAD_FLAG
343 when test is marked to require it. Allow multiple
344 compilations/executions of marked tests.
345 * testsuite/testsuite_performance.h (report_performance):
346 Report dynamic thread support status.
347 (report_header): Likewise.
348 * testsuite/performance/allocator.cc: Stabilize iteration
349 count. Support more allocators. Mark each allocator test to
350 run and report independently.
351 * testsuite/performance/allocator_map_thread.cc: Likewise.
352 * testsuite/performance/allocator_thread.cc: Likewise.
354 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
356 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
357 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
358 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
359 std::get_temporary_buffer() instead of duplicating its code.
360 Update to C++STYLE conventions.
361 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
362 new() instead of std::malloc().
363 (return_temporary_buffer): Use ::operator delete() instead of
366 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
368 * include/bits/allocator.h: Temporary switch to new_allocator as
369 the default to unjam bootstraps.
371 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
373 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
374 * include/Makefile.in: Regenerate.
375 * include/bits/allocator_traits.h: Remove.
376 * include/bits/allocator.h: Remove allocator_traits.h include, and
378 (allocator): Empty base class, inherit from the underlying allocator.
379 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
380 * src/allocator.cc: ...here. New. For the underlying allocators.
381 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
382 * config/linker-map.gnu: Remove __pool_alloc bits.
383 * src/Makefile.am (sources): Add allocator.cc.
384 * src/Makefile.in: Regenerate.
385 * testsuite/20_util/allocator/1.cc: Split second test into...
386 * testsuite/20_util/allocator/8230.cc: ...this.
387 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
388 typedef to use std::allocatore. Format.
389 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
391 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
392 __throw_bad_alloc calls. Don't include <memory>.
393 * include/ext/malloc_allocator.h: Remove <memory> include.
394 * include/ext/new_allocator.h (new_allocator): Same.
395 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
396 declaration. Switch __alloc to _Alloc.
397 * include/ext/hashtable.h: Remove __alloc.
398 * include/backward/alloc.h: Only inject allocator, not
399 implementation details.
401 * include/ext/mt_allocator.h: Replace free with delete.
403 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
405 * src/globals_io.cc: Change to __gnu_internal namespace.
406 * src/globals_locale.cc: Same.
407 * src/locale_init.cc: Same.
408 * src/ios_init.cc: Same.
410 2004-01-28 Stefan Olsson <stefan@snon.net>
412 * include/ext/mt_allocator.h: Replaced all malloc() calls with
413 operator new(). Added support for the env variable
414 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
415 one in allocate() as well). Fix typos.
417 2004-01-28 Paolo Carlini <pcarlini@suse.de>
419 * include/bits/basic_string.h (_S_create(size_t,
420 const _Alloc&): Change signature to take two size_type
422 * include/bits/basic_string.tcc (_S_construct(_InIterator,
423 _InIterator, const _Alloc&, input_iterator_tag)): Update
425 (_S_construct(_InIterator, _InIterator, const _Alloc&,
426 forward_iterator_tag)): Likewise.
427 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
428 (_M_mutate(size_type, size_type, size_type)): Don't
429 implement the exponential growth policy, demand it to
430 _S_create, update call and simplify.
431 (_M_clone(const _Alloc&, size_type)): Likewise.
432 (_S_create(size_type, size_type, const _Alloc&)): Implement
433 the growth policy, simplify otherwise.
435 * include/bits/basic_string.h (_Rep::operator[]): Tweak
436 signature to take a size_type, consistently with the other
439 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
441 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
442 delete declarations, add include and test variable.
444 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
446 * include/bits/codecvt.h, include/bits/locale_facets.h,
447 include/bits/postypes.h, include/bits/stl_bvector.h,
448 include/bits/stl_multiset.h, include/bits/stl_set.h,
449 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
450 include/std/std_complex.h: Document.
452 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
455 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
456 iword/pword selector.
457 (ios_base::iword, ios_base::pword): Use it.
458 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
459 iword or pword member on alloc failure.
460 * testsuite/27_io/ios_base/storage/11584.cc: New test.
462 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
463 PJ Darcy <darcypj@us.ibm.com>
465 * configure.host: Add support for *-tpf.
466 * crossconfig.m4: Likewise.
467 * configure: Regenerate.
468 * config/os/tpf: New directory.
469 * config/os/tpf/os_defines.h: New file.
470 * config/os/tpf/ctype_base.h: Likewise.
471 * config/os/tpf/ctype_inline.h: Likewise.
472 * config/os/tpf/ctype_noninline.h: Likewise.
474 2004-01-27 Paolo Carlini <pcarlini@suse.de>
477 * include/bits/sstream.tcc: Guard use of extern template.
479 2004-01-27 Paolo Carlini <pcarlini@suse.de>
481 * include/bits/basic_string.tcc
482 (basic_string(const basic_string&, size_type, size_type),
483 basic_string(const basic_string&, size_type, size_type,
484 const _Alloc&)): Avoid unnecessarily constructing iterators.
486 2004-01-26 Paolo Carlini <pcarlini@suse.de>
488 * config/locale/generic/c_locale.cc: Fix throw messages
489 to use the __N marker.
490 * config/locale/gnu/c_locale.cc: Likewise.
491 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
493 * docs/html/17_intro/C++STYLE: Likewise.
494 * include/bits/basic_ios.tcc: Likewise.
495 * include/bits/fstream.tcc: Likewise.
496 * include/bits/vector.tcc: Likewise.
497 * include/ext/ropeimpl.h: Likewise.
498 * include/std/std_bitset.h: Likewise.
499 * src/ios.cc: Likewise.
500 * src/locale.cc: Likewise.
501 * src/localename.cc: Likewise.
503 2004-01-26 Paolo Carlini <pcarlini@suse.de>
505 * include/bits/basic_string.h (_M_replace_aux): Use the
506 __N marker in throw message.
507 * include/bits/basic_string.tcc (assign(const _CharT*,
508 size_type), insert(size_type, const _CharT*, size_type),
509 replace(size_type, size_type, const _CharT*, size_type),
510 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
513 * include/bits/basic_string.h, include/bits/basic_string.tcc:
514 Fold overlong lines, minor formatting changes.
516 2004-01-26 Paolo Carlini <pcarlini@suse.de>
518 * include/bits/basic_string.h (replace(iterator, iterator,
519 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
520 (replace(iterator, iterator, const _CharT*)): Ditto.
521 (replace(iterator, iterator, const _CharT*, size_type)):
522 Add missing _GLIBCXX_DEBUG_PEDASSERT.
524 2004-01-26 Paolo Carlini <pcarlini@suse.de>
526 * include/bits/basic_string.tcc (replace(size_type,
527 size_type, const _CharT*, size_type)): Implement optimized
528 in-place algorithm for non-overlapping ranges.
529 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
530 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
532 * include/bits/basic_string.tcc (insert(size_type,
533 const _CharT*, size_type)): Tweak slightly.
535 2004-01-26 Andreas Schwab <schwab@suse.de>
537 * config/locale/gnu/monetary_members.cc: Restore locale before
538 rethrowing exception.
540 2004-01-25 Paolo Carlini <pcarlini@suse.de>
542 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
544 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
547 * include/bits/basic_string.tcc: Very minor tweaks.
549 2004-01-25 Paolo Carlini <pcarlini@suse.de>
551 * testsuite/performance/string_append.cc: Increase number
554 2004-01-25 Paolo Carlini <pcarlini@suse.de>
556 * include/bits/basic_string.h (erase(size_type, size_type),
557 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
558 instead, thus avoiding redundant check for length_error.
560 * include/bits/basic_string.h: Tweak some comments.
562 2004-01-24 Paolo Carlini <pcarlini@suse.de>
564 * include/bits/basic_string.tcc (operator+(const _CharT*,
565 const basic_string&)): No need to go through the append
566 taking two iterators.
568 2004-01-24 Paolo Carlini <pcarlini@suse.de>
570 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
571 Revert last change to use std::min: machine language is worse.
572 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
573 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
574 (find_last_not_of(_CharT, size_type)): Ditto.
576 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
577 size_type)): Discard the value returned by _M_check.
578 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
579 (append(const basic_string&, size_type, size_type)): Ditto.
580 (copy(_CharT*, size_type, size_type)): Ditto.
581 (compare(size_type, size_type, const basic_string&)): Ditto.
582 (compare(size_type, size_type, const basic_string&,
583 size_type, size_type)): Ditto.
584 (compare(size_type, size_type, const _CharT*)): Ditto.
585 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
587 2004-01-24 Paolo Carlini <pcarlini@suse.de>
589 * include/bits/basic_string.h (insert(size_type,
590 const basic_string&, size_type, size_type)): Define inline here.
591 * include/bits/basic_string.tcc (insert(size_type,
592 const basic_string&, size_type, size_type)): Move inline.
594 2004-01-24 Paolo Carlini <pcarlini@suse.de>
596 * include/bits/basic_string.h (assign(const basic_string&,
597 size_type, size_type)): Define inline here.
598 (replace(size_type, size_type, const basic_string&,
599 size_type, size_type)): Ditto.
600 (_M_replace_dispatch(iterator, iterator, _InputIterator,
601 _InputIterator, __false_type)): Only declare.
602 (_M_replace(iterator, iterator, _InputIterator,
603 _InputIterator)): Remove.
604 * include/bits/basic_string.tcc (assign(const basic_string&,
605 size_type, size_type)): Move inline.
606 (replace(size_type, size_type, const basic_string&,
607 size_type, size_type)): Ditto.
608 (_M_replace_dispatch(iterator, iterator, _InputIterator,
609 _InputIterator, __false_type)): Define, now does also what
610 _M_replace did before.
611 * src/string-inst.cc (_M_replace): Don't instantiate.
613 * include/bits/basic_string.tcc (find(const _CharT*,
614 size_type, size_type)): Tidy.
615 (rfind(_CharT, size_type)): Ditto.
616 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
617 (find_first_not_of(_CharT, size_type)): Ditto.
618 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
619 (find_last_not_of(_CharT, size_type)): Ditto.
621 2004-01-23 Paolo Carlini <pcarlini@suse.de>
624 * include/debug/bitset (operator|=): Fix typo.
625 * testsuite/23_containers/bitset/operations/13838.cc: New.
627 2004-01-23 Paolo Carlini <pcarlini@suse.de>
629 * include/bits/basic_string.tcc (insert(size_type,
630 const _CharT*, size_type __n)): Fix length_error check.
631 (replace(size_type, size_type, const _CharT*, size_type):
632 Ditto; call _M_replace_safe.
633 (_M_replace_aux(size_type, size_type, size_type, _CharT):
634 Fix length_error check.
635 (_M_replace(iterator, iterator, _InputIterator,
636 _InputIterator)): Ditto, tweak.
637 (_M_replace_safe(size_type, size_type, const _CharT*,
638 size_type)): Remove length_error check.
640 * include/bits/basic_string.tcc (append(const basic_string&),
641 append(const basic_string&, size_type, size_type)): Tweak
644 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
645 size_type)): If __n == 0 don't call traits::copy.
647 2004-01-23 Stefan Olsson <stefan@snon.net>
649 * include/ext/mt_allocator.h: Reduce lock contention.
651 2004-01-23 Paolo Carlini <pcarlini@suse.de>
654 * include/bits/fstream.tcc (underflow): Remove unused
656 * include/bits/streambuf_iterator.h (equal): Ditto.
657 * include/bits/locale_facets.h (_M_convert_from_char):
660 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
663 * config/linker-map.gnu (nan): Delete.
664 * libmath/mathconf.h (NAN, nan): Delete.
665 * linkage.m4 (nan): Don't check for it.
666 * libmath/nan.c: Delete file.
668 * config.h.in, configure: Regenerate.
670 2004-01-23 Paolo Carlini <pcarlini@suse.de>
672 * include/bits/basic_string.h (push_back(_CharT)):
674 (insert(size_type, const basic_string&)): Trivial tweak.
675 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
676 (insert(iterator, _CharT)): Ditto.
677 (erase(size_type, size_type)): Ditto.
678 (erase(iterator)): Ditto.
679 (erase(iterator, iterator)): Ditto.
680 (replace(size_type, size_type, size_type, _CharT)): Ditto.
682 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
685 * testsuite/performance/allocator_map_thread.cc: New test.
687 2004-01-22 Paolo Carlini <pcarlini@suse.de>
689 * include/bits/locale_facets.tcc
690 (money_put::do_put(..., long double)): Use the basic_string
691 constructor for char arrays, not that for C-strings, to pass
692 __digits to do_put(..., const string_type&): __ws isn't
695 2004-01-22 Paolo Carlini <pcarlini@suse.de>
697 * include/bits/basic_string.h (_M_replace_safe): Change
698 signatures to take size_types and const _CharT*.
699 (_M_replace_aux): Likewise, takes size_types instead of
701 (append(size_type, _CharT)): Update call.
702 (assign(size_type, _CharT)): Ditto.
703 (replace(iterator, iterator, size_type, _CharT)): Ditto.
704 (_M_replace_dispatch(iterator, iterator, _Integer,
705 _Integer, __true_type)): Ditto.
706 * include/bits/basic_string.tcc (assign(const _CharT*,
708 (insert(size_type, const _CharT*, size_type)): Ditto.
709 (replace(size_type, size_type, const _CharT*,
711 (_M_replace(iterator, iterator, _InputIterator,
712 _InputIterator)): Ditto.
713 (append(const basic_string&)): Ditto.
714 (append(const basic_string&, size_type, size_type): Ditto.
715 (append(const _CharT*, size_type): Ditto.
716 (_M_replace_safe, _M_replace_safe): Change definitions
717 accordingly, simplify.
718 * string-inst.cc (_M_replace_safe): Don't instantiate.
720 2004-01-21 Paolo Carlini <pcarlini@suse.de>
722 * include/bits/basic_string.tcc (append(const basic_string&)):
723 Revert previous change.
724 (append(const basic_string&, size_type, size_type)): Revert
725 previous change, use _M_check and _M_limit.
727 2004-01-21 Paolo Carlini <pcarlini@suse.de>
729 * include/bits/basic_string.h (_M_check): Change to return
730 a checked __pos and take an additional const char* argument.
731 (_M_fold): Rename to _M_limit, change to return a size_type,
732 corresponding to the __off limited to the actual length.
733 (insert(size_type, size_type, _CharT)): Update call, call
735 (insert(iterator, _CharT)): Call replace(iterator, iterator,
736 size_type, _CharT) instead.
737 (erase(size_type, size_type)): Update calls.
738 (replace(size_type, size_type, size_type, _CharT)): Ditto.
739 (substr(size_type, size_type)): Use _M_check.
740 * include/bits/basic_string.tcc (basic_string(const basic_string&,
741 size_type, size_type)): Update calls.
742 (basic_string(const basic_string&, size_type, size_type,
743 const _Alloc&)): Ditto.
744 (assign(const basic_string&, size_type, size_type)): Use the
745 new _M_check and _M_limit.
746 (insert(size_type, const basic_string&, size_type, size_type):
748 (insert(size_type, const _CharT*, size_type)): Ditto.
749 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
750 (replace(size_type, size_type, const basic_string&,
751 size_type, size_type)): Ditto.
752 (append(const basic_string&)): Ditto.
753 (append(const basic_string&, size_type, size_type)): Ditto.
754 (copy(_CharT*, size_type, size_type)): Ditto.
755 (compare(size_type, size_type, const basic_string&)): Ditto.
756 (compare(size_type, size_type, const basic_string&,size_type,
758 (compare(size_type, size_type, const _CharT*)): Ditto.
759 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
761 2004-01-19 Stefan Olsson <stefan@snon.net>
763 * include/ext/mt_allocator.h: If a thread, when it dies, still has
764 memory on it's freelist this memory is not returned to global
765 list. Simplification of deallocate so that memory is always
766 returned to the calling thread id's freelist instead of to
767 global. Fix typos. Add volatile where appropriate.
769 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
771 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
772 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
773 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
775 2004-01-19 Paolo Carlini <pcarlini@suse.de>
777 * src/debug.cc: Make sure all the names are prefixed with
778 double (or single) underscore.
780 2004-01-19 Paolo Carlini <pcarlini@suse.de>
782 * src/debug.cc: Trivial formatting change.
784 2004-01-19 Paolo Carlini <pcarlini@suse.de>
786 * include/bits/basic_string.tcc (_S_construct(size_type,
787 _CharT, const _Alloc&)): Remove redundant try/catch.
788 (_M_mutate(size_type, size_type, size_type)): Ditto.
789 (_M_clone(const _Alloc&, size_type)): Ditto.
791 2004-01-18 Paolo Carlini <pcarlini@suse.de>
793 * include/bits/basic_string.h (c_str()): Simplify, due to
794 21.3.4 the internal representation is always kept null-terminated.
795 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
796 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
797 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
800 2004-01-18 Paolo Carlini <pcarlini@suse.de>
802 * include/bits/basic_string.h (append(size_type, _CharT)):
803 Moved inline, just call _M_replace_aux, no source iterators at
804 risk of being clobbered.
805 (assign(size_type, _CharT)): Call directly _M_replace_aux.
806 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
807 input_iterator_tag)): Remove fifth unused argument.
808 (_M_replace_dispatch(iterator, iterator, _InputIterator,
809 _InputIterator, __false_type)): Update call.
810 * include/bits/basic_string.tcc (replace(size_type, size_type,
811 const _CharT*, size_type)): Update call.
812 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
813 throw string literal.
814 (_M_replace_safe(iterator, iterator, _ForwardIterator,
815 _ForwardIterator)): Likewise.
816 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
817 input_iterator_tag)): Remove fifth unused argument.
818 (append(size_type __n, _CharT __c)): Move inline.
819 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
820 const C*, const C*, input_iterator_tag)): Remove fifth unused
823 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
825 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
826 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
828 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
830 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
833 2004-01-15 Stefan Olsson <stefan@snon.net>
835 * include/ext/mt_allocator.h: Reuse thread id's as soon as
836 possible by changing the behaviour of thread_freelist to do
837 push_front when threads die instead of push_back.
839 2004-01-14 Paolo Carlini <pcarlini@suse.de>
841 * include/bits/locale_facets.h (struct __numpunct_cache):
842 Add member _M_grouping_size, caching the length of _M_grouping.
843 (__numpunct_cache<>::_M_cache): Assign the latter.
844 (__verify_grouping): Move declaration...
845 * include/bits/locale_facets.tcc (__verify_grouping):
846 ... here, change signature to take a const char* and a size_t
847 for the grouping; not a template anymore.
848 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
849 Likewise change signature and tweak consistently.
850 (num_get::_M_extract_float, num_get::_M_extract_int,
851 num_put::_M_insert_int, num_put::_M_insert_float,
852 money_get::do_get(string_type&), money_get::do_put(string_type)):
854 * config/locale/generic/numeric_members.cc
855 (numpunct<>::_M_initialize_numpunct): Assign the new member.
856 * config/locale/gnu/numeric_members.cc
857 (numpunct<>::_M_initialize_numpunct): Likewise.
858 * src/locale-inst.cc (__add_grouping): Tweak signature.
859 (__verify_grouping): Don't instantiate, not a template anymore.
861 * include/bits/locale_facets.h: Rename _M_truename_len ->
862 _M_truename_size, _M_falsename_len -> _M_falsename_size.
863 * include/bits/locale_facets.tcc: Likewise.
864 * config/locale/generic/numeric_members.cc: Likewise.
865 * config/locale/gnu/numeric_members.cc: Likewise.
867 2004-01-14 Stefan Olsson <stefan@snon.net>
869 * include/ext/mt_allocator.h: Fixups.
870 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
871 * testsuite/performance/allocator_thread.cc: Same.
873 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
875 * testsuite/performance/ifstream_extract_float.cc: Add higher
877 * testsuite/performance/ofstream_insert_float.cc: Same.
879 2004-01-13 Paolo Carlini <pcarlini@suse.de>
881 * src/locale-misc-inst.cc (__convert_from_v(long),
882 __convert_from_v(unsigned long), __convert_from_v(long long),
883 __convert_from_v(unsigned long long)): Remove, unused.
885 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
887 * testsuite/performance/ifstream_extract_float.cc: New.
888 * testsuite/performance/ofstream_insert_float.cc: Float generation
891 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
892 * 20_util/auto_ptr/1.cc: ...this.
893 * 20_util/auto_ptr/2.cc: Same.
894 * 20_util/auto_ptr/3.cc: Same.
895 * 20_util/auto_ptr/3946.cc: Same.
896 * 20_util/auto_ptr/4.cc: Same.
897 * 20_util/auto_ptr/5.cc: Same.
898 * 20_util/auto_ptr/6.cc: Same.
899 * 20_util/auto_ptr/7.cc: Same.
900 * 20_util/auto_ptr/assign_neg.cc
901 * 20_util/pairs.cc: Break into...
902 * 20_util/pair/1.cc: ...this.
903 * 20_util/pair/2.cc: Same.
904 * 20_util/pair/3.cc: Same.
905 * 20_util/pair/4.cc: Same.
907 2004-01-13 Paolo Carlini <pcarlini@suse.de>
909 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
910 Set correctly just basefield, the only group that matters.
912 2004-01-13 Paolo Carlini <pcarlini@suse.de>
914 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
915 (_Rope_rep_base): Inherit directly from the rope allocator;
916 use rebinding instead of _Alloc_traits; pick up data member
917 from _Rope_rep_alloc_base.
918 (_Rope_alloc_base): Eliminate.
919 (_Rope_base): Inherit directly from the rope allocator; use
920 rebinding instead of _Alloc_traits; pick up data member from
922 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
923 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
925 2004-01-13 Paolo Carlini <pcarlini@suse.de>
928 * include/bits/basic_string.tcc (compare(size_type, size_type,
929 const _CharT*, size_type)): Implement correctly the resolution
930 of DR 5: basically, s is a char array, -not- a C string.
931 * include/bits/basic_string.h: Tweak some comments.
932 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
933 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
935 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
937 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
940 2004-01-12 Paolo Carlini <pcarlini@suse.de>
942 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
944 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
947 2004-01-12 Paolo Carlini <pcarlini@suse.de>
949 * include/bits/locale_facets.h (struct __numpunct_cache):
950 Add members _M_truename_len and _M_falsename_len, caching
951 the lengths of _M_truename and _M_falsename.
952 (__numpunct_cache<>::_M_cache): Assign the latter.
953 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
954 num_put::do_put(bool)): Use the new members, thus avoiding
955 computing string lengths again and again.
956 * config/locale/generic/numeric_members.cc
957 (numpunct<>::_M_initialize_numpunct): Assign the new members.
958 * config/locale/gnu/numeric_members.cc
959 (numpunct<>::_M_initialize_numpunct): Likewise.
961 2004-01-12 Mark Mitchell <mark@codesourcery.com>
963 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
964 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
966 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
967 and remove Cygwin XFAIL.
968 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
969 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
970 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
971 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
973 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
974 * testsuite/27_io/objects/char/7.cc: Likewise.
975 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
976 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
977 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
979 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
981 * include/std/std_complex.h (std::complex<>::real): Return a
982 reference. Add non-const overload.
983 (std::complex<>::real): Likewise.
984 (std::real): Likewise.
985 (std::imag): Likewise.
986 (std::operator+): Tidy.
987 (std::operator-): Likewise.
988 (std::operator*): Likewise.
989 (std::operator/): Likewise.
990 (std::operator>>): Likewise.
992 2004-01-11 Paolo Carlini <pcarlini@suse.de>
995 * include/bits/fstream.tcc (imbue): Exploit the external
996 buffer to imbue 'on the fly' a new locale and convert its
997 remainder with the new codecvt facet.
998 (underflow): Tweak slightly to deal with this special case.
999 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
1000 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
1001 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
1002 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
1003 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
1005 2004-01-10 Paolo Carlini <pcarlini@suse.de>
1007 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1010 2004-01-10 Paolo Carlini <pcarlini@suse.de>
1013 * include/bits/locale_classes.h (class locale): Fix category
1015 * testsuite/22_locale/locale/13630.cc: Add.
1017 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
1019 * include/bits/locale_facets.h: Make a name really dependent. This
1020 will be needed when Core Issue 224 is implemented.
1022 2004-01-09 Paolo Carlini <pcarlini@suse.de>
1024 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
1025 * testsuite/performance/allocator_thread.cc: Likewise.
1027 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
1029 * crossconfig.m4: Add LFS, io bits to linux cross config.
1030 * acconfig.h: Remove obsolete bits, reorder.
1031 * config.h.in: Regenerate.
1035 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
1037 * include/bits/stl_list.h:
1038 * include/bits/list.tc:
1040 Performance enhancements for destructor, push_front(),
1041 push_back(), pop_front(), pop_back(), sort()
1042 Eliminated static_casts where possible.
1043 Moved code out of header files into new src/list.cc
1044 implementation file for library where possible.
1045 Remove inheritance from iterator class and create separate
1046 classes for non-constant and constant iterators.
1047 * include/bits/stl_tree.h (_Rb_tree class):
1049 Only erase contents in destructor.
1050 Eliminate unnecessary initialization in assignment operator.
1051 Optimize for the nominal case by not checking whether
1052 container is empty in clear().
1053 Re-order test in _M_insert() to improve performance.
1054 Move initialization of new node's left & right pointers to
1055 src/tree.cc to where new node's colour is initialized
1056 and to reduce the amount of inline code.
1057 Use _M_leftmost() and _M_end() to improve readability where
1059 Create separate classes for non-constant and constant
1060 iterators to clarify code, avoid extra template parameters and
1061 casting away constness.
1063 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
1065 * src/Makefile.am (sources): Add list.cc, tree.cc.
1066 * src/stl_tree.cc: Move to...
1067 * src/tree.cc: ...here.
1069 * config/linker-map.gnu: Tweaks.
1070 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
1071 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
1073 * bits/stl_vector.h: Column wrap comments.
1075 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
1077 (re-open) PR libstdc++/12658
1078 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
1079 (locale::global): Likewise.
1081 2004-01-07 Paolo Carlini <pcarlini@suse.de>
1083 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
1084 Remove redundant #include.
1085 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
1086 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
1087 re-enable normal testing.
1088 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
1090 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
1091 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
1093 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
1095 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
1097 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
1099 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
1101 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
1103 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
1105 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
1106 More properly, #include <locale>.
1107 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
1108 Remove redundant #include.
1109 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
1110 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
1111 redundant DejaGnu directive.
1112 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
1115 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
1116 Stefan Olsson <stefan@snon.net>
1118 * scripts/check_performance: Use -pthread.
1119 * testsuite/performance/allocator.cc: Tweaks, add list.
1120 * testsuite/performance/allocator_thread.cc: New.
1122 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
1124 * include/bits/locale_facets.h: Document public classes and
1126 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
1129 2004-01-06 Paolo Carlini <pcarlini@suse.de>
1131 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
1132 Remove redundant #includes.
1133 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
1135 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
1137 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
1138 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
1139 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
1140 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
1141 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
1142 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
1143 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
1144 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
1145 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
1146 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
1147 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
1148 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
1149 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
1150 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
1151 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
1153 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
1155 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
1157 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
1159 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
1161 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
1162 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
1163 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
1165 2004-01-04 Paolo Carlini <pcarlini@suse.de>
1167 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
1168 Remove redundant #includes.
1169 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
1171 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
1173 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
1175 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1177 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
1179 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
1181 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1183 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
1185 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
1187 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
1189 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
1191 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1194 2004-01-04 Mark Mitchell <mark@codesourcery.com>
1197 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
1199 * testsuite/27_io/basic_fstream/4.cc: Likewise.
1200 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
1201 * testsuite/27_io/basic_ios/4.cc: Likewise.
1202 * testsuite/27_io/basic_iostream/4.cc: Likewise.
1203 * testsuite/27_io/basic_istream/4.cc: Likewise.
1204 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
1205 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
1206 * testsuite/27_io/basic_ostream/4.cc: Likewise.
1207 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
1208 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
1209 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
1211 2004-01-04 Paolo Carlini <pcarlini@suse.de>
1213 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
1214 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
1215 always use double underscored names.
1216 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
1218 * include/bits/locale_facets.h (struct __numpunct_cache):
1219 Dimension _M_atoms_out and _M_atoms_in one position smaller.
1220 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out