1 2004-02-05 Loren J. Rittle <ljrittle@acm.org>
3 * scripts/check_performance: Support PCH.
5 2004-02-05 Geoffrey Keating <geoffk@apple.com>
9 * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
10 'gcc-lib'. Add comment about poorly-named variables.
11 * aclocal.m4: Regenerate.
12 * configure: Regenerate.
14 2004-02-05 Paolo Carlini <pcarlini@suse.de>
16 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
17 Thousands-sep are always optional; thousands-sep are not allowed
18 after the decimal_point.
19 * testsuite/22_locale/money_get/get/char/12.cc: New.
20 * testsuite/22_locale/money_get/get/char/13.cc: New.
21 * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
22 * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
24 * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
25 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
26 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
27 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
28 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
29 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
30 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
31 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
33 * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
35 * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
37 2004-02-05 Richard Sandiford <rsandifo@redhat.com>
39 * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
41 * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
42 it to decide whether FIONREAD should take an off_t or int argument.
44 2004-02-05 Paolo Carlini <pcarlini@suse.de>
46 * include/bits/stl_function.h: Minor formatting changes.
48 2004-02-04 Zack Weinberg <zack@codesourcery.com>
50 Revert previous change to config/abi/*/baseline_symbols.txt.
52 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
53 Zack Weinberg <zack@codesourcery.com>
55 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
57 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
58 (__basic_file<char>::_M_open_mode): Delete.
59 * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
61 * testsuite/27_io/basic_filebuf/close/char/9964.cc
62 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
63 Correct flags to filebuf::open calls.
65 * config/abi/alpha-freebsd5/baseline_symbols.txt
66 * config/abi/alpha-linux-gnu/baseline_symbols.txt
67 * config/abi/hppa-linux-gnu/baseline_symbols.txt
68 * config/abi/i386-freebsd4/baseline_symbols.txt
69 * config/abi/i386-freebsd5/baseline_symbols.txt
70 * config/abi/i486-linux-gnu/baseline_symbols.txt
71 * config/abi/ia64-linux-gnu/baseline_symbols.txt
72 * config/abi/mips-linux-gnu/baseline_symbols.txt
73 * config/abi/sparc-freebsd5/baseline_symbols.txt
74 * config/abi/sparc-linux-gnu/baseline_symbols.txt
75 * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
76 Remove entry for __basic_file<char>::_M_open_mode.
78 2004-02-04 Loren J. Rittle <ljrittle@acm.org>
80 * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
82 2004-02-04 Felix Yen <fwy@alumni.brown.edu>
84 * testsuite/performance/20_util/producer_consumer.cc: New.
85 * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
87 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
89 * testsuite/performance/20_util/allocator.cc: Move to..
90 * testsuite/performance/20_util/allocator/insert.cc: ...here.
91 * testsuite/performance/20_util/allocator_thread.cc: Move to...
92 * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
93 * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
94 * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
96 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
98 * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
99 * docs/html/faq/index.txt: Regenerate.
101 2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
103 * include/ext/debug_allocator.h: _M_extra now stands for the
104 number of extra objects instead of the number of extra bytes.
105 (debug_allocator::allocate): Adjust.
106 (debug_allocator::deallocate): Adjust.
108 * include/ext/pool_allocator.h: Fix typo.
110 2004-02-03 Felix Yen <fwy@alumni.brown.edu>
111 Benjamin Kosnik <bkoz@redhat.com>
113 * testsuite/performance/20_util/allocator.cc: Add map,
115 * testsuite/performance/20_util/allocator_thread.cc: Same.
117 2004-02-03 Paolo Carlini <pcarlini@suse.de>
119 * include/bits/basic_string.h (insert(iterator)): Remove,
120 non-standard and already scheduled for removal.
122 2004-02-03 Paolo Carlini <pcarlini@suse.de>
124 * include/bits/stl_iterator_base_funcs.h: Minor formatting
125 and indentation tweaks.
126 * include/bits/stl_iterator_base_types.h: Likewise.
127 * include/bits/stl_list.h: Likewise.
128 * include/bits/stl_map.h: Likewise.
129 * include/bits/stl_tempbuf.h: Likewise.
131 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
133 * include/bits/gslice.h, include/bits/gslice_array.h,
134 include/bits/indirect_array.h, include/bits/mask_array.h,
135 include/bits/slice_array.h, include/bits/stl_numeric.h,
136 include/std/std_valarray.h: Update copyright years.
138 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
140 * include/bits/gslice.h (gslice): Document.
141 * include/bits/gslice_array.h (gslice_array): Document.
142 * include/bits/indirect_array (indirect_array): Document.
143 * include/bits/mask_array (mask_array): Document.
144 * include/bits/slice_array.h (slice,slice_array): Document.
145 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
146 adjacent_difference): Document
147 * include/std/std_valarray.h (valarray): Document.
149 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
151 * docs/html/19_diagnostics/howto.html: Move verbose terminate
153 * docs/html/18_support/howto.html: Here.
154 * docs/html/documentation.html: Add reference here.
156 2004-02-02 Paolo Carlini <pcarlini@suse.de>
158 * config/locale/gnu/c++locale_internal.h: Remove prototypes
159 of no longer used GLIBC thread locale functions.
161 2004-02-02 Eric Christopher <echristo@redhat.com>
162 Zack Weinberg <zack@codesourcery.com>
164 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
166 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
167 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
168 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
169 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
170 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
171 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
172 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
173 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
176 2004-02-02 Paolo Carlini <pcarlini@suse.de>
178 * include/bits/stl_function.h: Additional minor tweaks.
179 * include/bits/stl_multiset.h: Likewise.
181 * include/bits/stl_queue.h: Minor tweaks.
183 2004-02-02 Paolo Carlini <pcarlini@suse.de>
185 PR libstdc++/13976 (continued)
186 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
187 Make the second parameter unnamed, to void unused parameter
189 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
191 2004-02-02 Paolo Carlini <pcarlini@suse.de>
194 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
195 Make the second parameter unnamed, to void unused parameter
197 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
198 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
200 2004-02-01 Paolo Carlini <pcarlini@suse.de>
202 * include/bits/stl_algo.h: Additional minor tweaks.
203 * include/bits/stl_map.h: Likewise.
204 * include/bits/stl_multimap.h: Likewise.
205 * include/bits/stl_multiset.h: Likewise.
206 * include/bits/stl_set.h: Likewise.
207 * include/bits/stl_tree.h: Likewise.
209 2004-02-01 Paolo Carlini <pcarlini@suse.de>
211 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
214 2004-02-01 Paolo Carlini <pcarlini@suse.de>
216 * include/bits/stl_function.h: Additional minor tweaks.
218 2004-02-01 Paolo Carlini <pcarlini@suse.de>
220 * include/bits/deque.tcc: Wrap overlong lines, constify
221 a few variables, reformat according to the coding standards.
222 * include/bits/list.tcc: Likewise.
223 * include/bits/stl_deque.h: Likewise.
224 * include/bits/stl_function.h: Likewise.
225 * include/bits/stl_iterator.h: Likewise.
226 * include/bits/stl_iterator_base_funcs.h: Likewise.
227 * include/bits/stl_iterator_base_types.h: Likewise.
228 * include/bits/stl_list.h: Likewise.
229 * include/bits/stl_map.h: Likewise.
230 * include/bits/stl_multimap.h: Likewise.
231 * include/bits/stl_multiset.h: Likewise.
232 * include/bits/stl_relops.h: Likewise.
233 * include/bits/stl_set.h: Likewise.
235 2004-02-01 Paolo Carlini <pcarlini@suse.de>
237 * include/bits/stl_bvector.h: Wrap overlong lines, constify
238 a few variables, reformat according to the coding standards.
239 * include/bits/stl_tree.h: Likewise.
241 2004-01-31 Paolo Carlini <pcarlini@suse.de>
243 * include/bits/stl_algo.h: Minor additional reformat, add
245 * include/bits/stl_algobase.h: Add copyright year.
247 2004-01-31 Paolo Carlini <pcarlini@suse.de>
249 * include/bits/stl_algo.h: Wrap overlong lines, constify
250 a few variables, reformat according to the coding standards.
251 * include/bits/stl_algobase.h: Likewise.
252 * include/bits/stl_heap.h: Likewise.
254 2004-01-31 Paolo Carlini <pcarlini@suse.de>
256 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
258 * include/bits/basic_string.h: Fix two comments.
260 2004-01-31 Per Bothner <per@bothner.com>
262 * include/ext/mt_allocator.h
263 (__mt_alloc::_S_thread_freelist_mutex): Guard with
264 __GTHREAD_MUTEX_INIT.
266 2004-01-31 Paolo Carlini <pcarlini@suse.de>
268 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
270 2004-01-30 Paolo Carlini <pcarlini@suse.de>
272 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
273 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
274 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
276 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
278 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
279 Don't use clear, but instead assign. Use insert.
281 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
283 * src/demangle.cc: Add instantiations.
284 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
285 * src/Makefile.in: Regenerate.
287 2004-01-30 David Edelsohn <edelsohn@gnu.org>
289 * src/allocator.cc: Protect _S_get_thread_id() and
290 _S_thread_key_destr() with #ifdef __GTHREADS.
292 2004-01-30 Paolo Carlini <pcarlini@suse.de>
294 Reshuffle performance testsuite.
295 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
296 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
297 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
298 fstream_seek_write.cc, ifstream_extract_float.cc,
299 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
300 list_create_fill_sort.cc, map_create_fill.cc,
301 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
302 ofstream_insert_float.cc, ofstream_insert_int.cc,
303 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
304 wchar_t_out.cc: Split into...
305 * testsuite/performance/20_util/allocator.cc: New.
306 * testsuite/performance/20_util/allocator_map_thread.cc: New.
307 * testsuite/performance/20_util/allocator_thread.cc: New.
308 * testsuite/performance/21_strings/string_append: New.
309 * testsuite/performance/22_locale/is_wchar_t.cc: New.
310 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
311 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
312 * testsuite/performance/22_locale/wchar_t_in.cc: New.
313 * testsuite/performance/22_locale/wchar_t_length.cc: New.
314 * testsuite/performance/22_locale/wchar_t_out.cc: New.
315 * testsuite/performance/23_containers/container_benchmark.cc: New.
316 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
317 * testsuite/performance/23_containers/map_create_fill.cc: New.
318 * testsuite/performance/26_numerics/complex_norm.cc: New.
319 * testsuite/performance/27_io/cout_insert_int.cc: New.
320 * testsuite/performance/27_io/filebuf_copy.cc: New.
321 * testsuite/performance/27_io/filebuf_sputc.cc: New.
322 * testsuite/performance/27_io/fstream_seek_write.cc: New.
323 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
324 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
325 * testsuite/performance/27_io/ifstream_getline.cc: New.
326 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
327 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
329 2004-01-30 Paolo Carlini <pcarlini@suse.de>
331 * include/bits/basic_string.tcc (_Rep::_S_create):
332 Never allocate a string bigger than max_size(); always keep
333 __capacity and __size in sync to avoid memory leaks at
336 2004-01-30 Paolo Carlini <pcarlini@suse.de>
338 * include/bits/basic_string.tcc (_S_construct(_InIterator,
339 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
340 the double loop, streamline.
342 * include/bits/basic_string.tcc: Very minor tweaks.
344 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
346 * scripts/check_performance: Only compile with $THREAD_FLAG
347 when test is marked to require it. Allow multiple
348 compilations/executions of marked tests.
349 * testsuite/testsuite_performance.h (report_performance):
350 Report dynamic thread support status.
351 (report_header): Likewise.
352 * testsuite/performance/allocator.cc: Stabilize iteration
353 count. Support more allocators. Mark each allocator test to
354 run and report independently.
355 * testsuite/performance/allocator_map_thread.cc: Likewise.
356 * testsuite/performance/allocator_thread.cc: Likewise.
358 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
360 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
361 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
362 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
363 std::get_temporary_buffer() instead of duplicating its code.
364 Update to C++STYLE conventions.
365 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
366 new() instead of std::malloc().
367 (return_temporary_buffer): Use ::operator delete() instead of
370 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
372 * include/bits/allocator.h: Temporary switch to new_allocator as
373 the default to unjam bootstraps.
375 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
377 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
378 * include/Makefile.in: Regenerate.
379 * include/bits/allocator_traits.h: Remove.
380 * include/bits/allocator.h: Remove allocator_traits.h include, and
382 (allocator): Empty base class, inherit from the underlying allocator.
383 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
384 * src/allocator.cc: ...here. New. For the underlying allocators.
385 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
386 * config/linker-map.gnu: Remove __pool_alloc bits.
387 * src/Makefile.am (sources): Add allocator.cc.
388 * src/Makefile.in: Regenerate.
389 * testsuite/20_util/allocator/1.cc: Split second test into...
390 * testsuite/20_util/allocator/8230.cc: ...this.
391 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
392 typedef to use std::allocatore. Format.
393 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
395 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
396 __throw_bad_alloc calls. Don't include <memory>.
397 * include/ext/malloc_allocator.h: Remove <memory> include.
398 * include/ext/new_allocator.h (new_allocator): Same.
399 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
400 declaration. Switch __alloc to _Alloc.
401 * include/ext/hashtable.h: Remove __alloc.
402 * include/backward/alloc.h: Only inject allocator, not
403 implementation details.
405 * include/ext/mt_allocator.h: Replace free with delete.
407 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
409 * src/globals_io.cc: Change to __gnu_internal namespace.
410 * src/globals_locale.cc: Same.
411 * src/locale_init.cc: Same.
412 * src/ios_init.cc: Same.
414 2004-01-28 Stefan Olsson <stefan@snon.net>
416 * include/ext/mt_allocator.h: Replaced all malloc() calls with
417 operator new(). Added support for the env variable
418 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
419 one in allocate() as well). Fix typos.
421 2004-01-28 Paolo Carlini <pcarlini@suse.de>
423 * include/bits/basic_string.h (_S_create(size_t,
424 const _Alloc&): Change signature to take two size_type
426 * include/bits/basic_string.tcc (_S_construct(_InIterator,
427 _InIterator, const _Alloc&, input_iterator_tag)): Update
429 (_S_construct(_InIterator, _InIterator, const _Alloc&,
430 forward_iterator_tag)): Likewise.
431 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
432 (_M_mutate(size_type, size_type, size_type)): Don't
433 implement the exponential growth policy, demand it to
434 _S_create, update call and simplify.
435 (_M_clone(const _Alloc&, size_type)): Likewise.
436 (_S_create(size_type, size_type, const _Alloc&)): Implement
437 the growth policy, simplify otherwise.
439 * include/bits/basic_string.h (_Rep::operator[]): Tweak
440 signature to take a size_type, consistently with the other
443 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
445 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
446 delete declarations, add include and test variable.
448 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
450 * include/bits/codecvt.h, include/bits/locale_facets.h,
451 include/bits/postypes.h, include/bits/stl_bvector.h,
452 include/bits/stl_multiset.h, include/bits/stl_set.h,
453 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
454 include/std/std_complex.h: Document.
456 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
459 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
460 iword/pword selector.
461 (ios_base::iword, ios_base::pword): Use it.
462 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
463 iword or pword member on alloc failure.
464 * testsuite/27_io/ios_base/storage/11584.cc: New test.
466 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
467 PJ Darcy <darcypj@us.ibm.com>
469 * configure.host: Add support for *-tpf.
470 * crossconfig.m4: Likewise.
471 * configure: Regenerate.
472 * config/os/tpf: New directory.
473 * config/os/tpf/os_defines.h: New file.
474 * config/os/tpf/ctype_base.h: Likewise.
475 * config/os/tpf/ctype_inline.h: Likewise.
476 * config/os/tpf/ctype_noninline.h: Likewise.
478 2004-01-27 Paolo Carlini <pcarlini@suse.de>
481 * include/bits/sstream.tcc: Guard use of extern template.
483 2004-01-27 Paolo Carlini <pcarlini@suse.de>
485 * include/bits/basic_string.tcc
486 (basic_string(const basic_string&, size_type, size_type),
487 basic_string(const basic_string&, size_type, size_type,
488 const _Alloc&)): Avoid unnecessarily constructing iterators.
490 2004-01-26 Paolo Carlini <pcarlini@suse.de>
492 * config/locale/generic/c_locale.cc: Fix throw messages
493 to use the __N marker.
494 * config/locale/gnu/c_locale.cc: Likewise.
495 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
497 * docs/html/17_intro/C++STYLE: Likewise.
498 * include/bits/basic_ios.tcc: Likewise.
499 * include/bits/fstream.tcc: Likewise.
500 * include/bits/vector.tcc: Likewise.
501 * include/ext/ropeimpl.h: Likewise.
502 * include/std/std_bitset.h: Likewise.
503 * src/ios.cc: Likewise.
504 * src/locale.cc: Likewise.
505 * src/localename.cc: Likewise.
507 2004-01-26 Paolo Carlini <pcarlini@suse.de>
509 * include/bits/basic_string.h (_M_replace_aux): Use the
510 __N marker in throw message.
511 * include/bits/basic_string.tcc (assign(const _CharT*,
512 size_type), insert(size_type, const _CharT*, size_type),
513 replace(size_type, size_type, const _CharT*, size_type),
514 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
517 * include/bits/basic_string.h, include/bits/basic_string.tcc:
518 Fold overlong lines, minor formatting changes.
520 2004-01-26 Paolo Carlini <pcarlini@suse.de>
522 * include/bits/basic_string.h (replace(iterator, iterator,
523 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
524 (replace(iterator, iterator, const _CharT*)): Ditto.
525 (replace(iterator, iterator, const _CharT*, size_type)):
526 Add missing _GLIBCXX_DEBUG_PEDASSERT.
528 2004-01-26 Paolo Carlini <pcarlini@suse.de>
530 * include/bits/basic_string.tcc (replace(size_type,
531 size_type, const _CharT*, size_type)): Implement optimized
532 in-place algorithm for non-overlapping ranges.
533 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
534 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
536 * include/bits/basic_string.tcc (insert(size_type,
537 const _CharT*, size_type)): Tweak slightly.
539 2004-01-26 Andreas Schwab <schwab@suse.de>
541 * config/locale/gnu/monetary_members.cc: Restore locale before
542 rethrowing exception.
544 2004-01-25 Paolo Carlini <pcarlini@suse.de>
546 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
548 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
551 * include/bits/basic_string.tcc: Very minor tweaks.
553 2004-01-25 Paolo Carlini <pcarlini@suse.de>
555 * testsuite/performance/string_append.cc: Increase number
558 2004-01-25 Paolo Carlini <pcarlini@suse.de>
560 * include/bits/basic_string.h (erase(size_type, size_type),
561 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
562 instead, thus avoiding redundant check for length_error.
564 * include/bits/basic_string.h: Tweak some comments.
566 2004-01-24 Paolo Carlini <pcarlini@suse.de>
568 * include/bits/basic_string.tcc (operator+(const _CharT*,
569 const basic_string&)): No need to go through the append
570 taking two iterators.
572 2004-01-24 Paolo Carlini <pcarlini@suse.de>
574 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
575 Revert last change to use std::min: machine language is worse.
576 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
577 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
578 (find_last_not_of(_CharT, size_type)): Ditto.
580 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
581 size_type)): Discard the value returned by _M_check.
582 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
583 (append(const basic_string&, size_type, size_type)): Ditto.
584 (copy(_CharT*, size_type, size_type)): Ditto.
585 (compare(size_type, size_type, const basic_string&)): Ditto.
586 (compare(size_type, size_type, const basic_string&,
587 size_type, size_type)): Ditto.
588 (compare(size_type, size_type, const _CharT*)): Ditto.
589 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
591 2004-01-24 Paolo Carlini <pcarlini@suse.de>
593 * include/bits/basic_string.h (insert(size_type,
594 const basic_string&, size_type, size_type)): Define inline here.
595 * include/bits/basic_string.tcc (insert(size_type,
596 const basic_string&, size_type, size_type)): Move inline.
598 2004-01-24 Paolo Carlini <pcarlini@suse.de>
600 * include/bits/basic_string.h (assign(const basic_string&,
601 size_type, size_type)): Define inline here.
602 (replace(size_type, size_type, const basic_string&,
603 size_type, size_type)): Ditto.
604 (_M_replace_dispatch(iterator, iterator, _InputIterator,
605 _InputIterator, __false_type)): Only declare.
606 (_M_replace(iterator, iterator, _InputIterator,
607 _InputIterator)): Remove.
608 * include/bits/basic_string.tcc (assign(const basic_string&,
609 size_type, size_type)): Move inline.
610 (replace(size_type, size_type, const basic_string&,
611 size_type, size_type)): Ditto.
612 (_M_replace_dispatch(iterator, iterator, _InputIterator,
613 _InputIterator, __false_type)): Define, now does also what
614 _M_replace did before.
615 * src/string-inst.cc (_M_replace): Don't instantiate.
617 * include/bits/basic_string.tcc (find(const _CharT*,
618 size_type, size_type)): Tidy.
619 (rfind(_CharT, size_type)): Ditto.
620 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
621 (find_first_not_of(_CharT, size_type)): Ditto.
622 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
623 (find_last_not_of(_CharT, size_type)): Ditto.
625 2004-01-23 Paolo Carlini <pcarlini@suse.de>
628 * include/debug/bitset (operator|=): Fix typo.
629 * testsuite/23_containers/bitset/operations/13838.cc: New.
631 2004-01-23 Paolo Carlini <pcarlini@suse.de>
633 * include/bits/basic_string.tcc (insert(size_type,
634 const _CharT*, size_type __n)): Fix length_error check.
635 (replace(size_type, size_type, const _CharT*, size_type):
636 Ditto; call _M_replace_safe.
637 (_M_replace_aux(size_type, size_type, size_type, _CharT):
638 Fix length_error check.
639 (_M_replace(iterator, iterator, _InputIterator,
640 _InputIterator)): Ditto, tweak.
641 (_M_replace_safe(size_type, size_type, const _CharT*,
642 size_type)): Remove length_error check.
644 * include/bits/basic_string.tcc (append(const basic_string&),
645 append(const basic_string&, size_type, size_type)): Tweak
648 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
649 size_type)): If __n == 0 don't call traits::copy.
651 2004-01-23 Stefan Olsson <stefan@snon.net>
653 * include/ext/mt_allocator.h: Reduce lock contention.
655 2004-01-23 Paolo Carlini <pcarlini@suse.de>
658 * include/bits/fstream.tcc (underflow): Remove unused
660 * include/bits/streambuf_iterator.h (equal): Ditto.
661 * include/bits/locale_facets.h (_M_convert_from_char):
664 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
667 * config/linker-map.gnu (nan): Delete.
668 * libmath/mathconf.h (NAN, nan): Delete.
669 * linkage.m4 (nan): Don't check for it.
670 * libmath/nan.c: Delete file.
672 * config.h.in, configure: Regenerate.
674 2004-01-23 Paolo Carlini <pcarlini@suse.de>
676 * include/bits/basic_string.h (push_back(_CharT)):
678 (insert(size_type, const basic_string&)): Trivial tweak.
679 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
680 (insert(iterator, _CharT)): Ditto.
681 (erase(size_type, size_type)): Ditto.
682 (erase(iterator)): Ditto.
683 (erase(iterator, iterator)): Ditto.
684 (replace(size_type, size_type, size_type, _CharT)): Ditto.
686 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
689 * testsuite/performance/allocator_map_thread.cc: New test.
691 2004-01-22 Paolo Carlini <pcarlini@suse.de>
693 * include/bits/locale_facets.tcc
694 (money_put::do_put(..., long double)): Use the basic_string
695 constructor for char arrays, not that for C-strings, to pass
696 __digits to do_put(..., const string_type&): __ws isn't
699 2004-01-22 Paolo Carlini <pcarlini@suse.de>
701 * include/bits/basic_string.h (_M_replace_safe): Change
702 signatures to take size_types and const _CharT*.
703 (_M_replace_aux): Likewise, takes size_types instead of
705 (append(size_type, _CharT)): Update call.
706 (assign(size_type, _CharT)): Ditto.
707 (replace(iterator, iterator, size_type, _CharT)): Ditto.
708 (_M_replace_dispatch(iterator, iterator, _Integer,
709 _Integer, __true_type)): Ditto.
710 * include/bits/basic_string.tcc (assign(const _CharT*,
712 (insert(size_type, const _CharT*, size_type)): Ditto.
713 (replace(size_type, size_type, const _CharT*,
715 (_M_replace(iterator, iterator, _InputIterator,
716 _InputIterator)): Ditto.
717 (append(const basic_string&)): Ditto.
718 (append(const basic_string&, size_type, size_type): Ditto.
719 (append(const _CharT*, size_type): Ditto.
720 (_M_replace_safe, _M_replace_safe): Change definitions
721 accordingly, simplify.
722 * string-inst.cc (_M_replace_safe): Don't instantiate.
724 2004-01-21 Paolo Carlini <pcarlini@suse.de>
726 * include/bits/basic_string.tcc (append(const basic_string&)):
727 Revert previous change.
728 (append(const basic_string&, size_type, size_type)): Revert
729 previous change, use _M_check and _M_limit.
731 2004-01-21 Paolo Carlini <pcarlini@suse.de>
733 * include/bits/basic_string.h (_M_check): Change to return
734 a checked __pos and take an additional const char* argument.
735 (_M_fold): Rename to _M_limit, change to return a size_type,
736 corresponding to the __off limited to the actual length.
737 (insert(size_type, size_type, _CharT)): Update call, call
739 (insert(iterator, _CharT)): Call replace(iterator, iterator,
740 size_type, _CharT) instead.
741 (erase(size_type, size_type)): Update calls.
742 (replace(size_type, size_type, size_type, _CharT)): Ditto.
743 (substr(size_type, size_type)): Use _M_check.
744 * include/bits/basic_string.tcc (basic_string(const basic_string&,
745 size_type, size_type)): Update calls.
746 (basic_string(const basic_string&, size_type, size_type,
747 const _Alloc&)): Ditto.
748 (assign(const basic_string&, size_type, size_type)): Use the
749 new _M_check and _M_limit.
750 (insert(size_type, const basic_string&, size_type, size_type):
752 (insert(size_type, const _CharT*, size_type)): Ditto.
753 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
754 (replace(size_type, size_type, const basic_string&,
755 size_type, size_type)): Ditto.
756 (append(const basic_string&)): Ditto.
757 (append(const basic_string&, size_type, size_type)): Ditto.
758 (copy(_CharT*, size_type, size_type)): Ditto.
759 (compare(size_type, size_type, const basic_string&)): Ditto.
760 (compare(size_type, size_type, const basic_string&,size_type,
762 (compare(size_type, size_type, const _CharT*)): Ditto.
763 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
765 2004-01-19 Stefan Olsson <stefan@snon.net>
767 * include/ext/mt_allocator.h: If a thread, when it dies, still has
768 memory on it's freelist this memory is not returned to global
769 list. Simplification of deallocate so that memory is always
770 returned to the calling thread id's freelist instead of to
771 global. Fix typos. Add volatile where appropriate.
773 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
775 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
776 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
777 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
779 2004-01-19 Paolo Carlini <pcarlini@suse.de>
781 * src/debug.cc: Make sure all the names are prefixed with
782 double (or single) underscore.
784 2004-01-19 Paolo Carlini <pcarlini@suse.de>
786 * src/debug.cc: Trivial formatting change.
788 2004-01-19 Paolo Carlini <pcarlini@suse.de>
790 * include/bits/basic_string.tcc (_S_construct(size_type,
791 _CharT, const _Alloc&)): Remove redundant try/catch.
792 (_M_mutate(size_type, size_type, size_type)): Ditto.
793 (_M_clone(const _Alloc&, size_type)): Ditto.
795 2004-01-18 Paolo Carlini <pcarlini@suse.de>
797 * include/bits/basic_string.h (c_str()): Simplify, due to
798 21.3.4 the internal representation is always kept null-terminated.
799 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
800 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
801 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
804 2004-01-18 Paolo Carlini <pcarlini@suse.de>
806 * include/bits/basic_string.h (append(size_type, _CharT)):
807 Moved inline, just call _M_replace_aux, no source iterators at
808 risk of being clobbered.
809 (assign(size_type, _CharT)): Call directly _M_replace_aux.
810 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
811 input_iterator_tag)): Remove fifth unused argument.
812 (_M_replace_dispatch(iterator, iterator, _InputIterator,
813 _InputIterator, __false_type)): Update call.
814 * include/bits/basic_string.tcc (replace(size_type, size_type,
815 const _CharT*, size_type)): Update call.
816 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
817 throw string literal.
818 (_M_replace_safe(iterator, iterator, _ForwardIterator,
819 _ForwardIterator)): Likewise.
820 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
821 input_iterator_tag)): Remove fifth unused argument.
822 (append(size_type __n, _CharT __c)): Move inline.
823 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
824 const C*, const C*, input_iterator_tag)): Remove fifth unused
827 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
829 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
830 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
832 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
834 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
837 2004-01-15 Stefan Olsson <stefan@snon.net>
839 * include/ext/mt_allocator.h: Reuse thread id's as soon as
840 possible by changing the behaviour of thread_freelist to do
841 push_front when threads die instead of push_back.
843 2004-01-14 Paolo Carlini <pcarlini@suse.de>
845 * include/bits/locale_facets.h (struct __numpunct_cache):
846 Add member _M_grouping_size, caching the length of _M_grouping.
847 (__numpunct_cache<>::_M_cache): Assign the latter.
848 (__verify_grouping): Move declaration...
849 * include/bits/locale_facets.tcc (__verify_grouping):
850 ... here, change signature to take a const char* and a size_t
851 for the grouping; not a template anymore.
852 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
853 Likewise change signature and tweak consistently.
854 (num_get::_M_extract_float, num_get::_M_extract_int,
855 num_put::_M_insert_int, num_put::_M_insert_float,
856 money_get::do_get(string_type&), money_get::do_put(string_type)):
858 * config/locale/generic/numeric_members.cc
859 (numpunct<>::_M_initialize_numpunct): Assign the new member.
860 * config/locale/gnu/numeric_members.cc
861 (numpunct<>::_M_initialize_numpunct): Likewise.
862 * src/locale-inst.cc (__add_grouping): Tweak signature.
863 (__verify_grouping): Don't instantiate, not a template anymore.
865 * include/bits/locale_facets.h: Rename _M_truename_len ->
866 _M_truename_size, _M_falsename_len -> _M_falsename_size.
867 * include/bits/locale_facets.tcc: Likewise.
868 * config/locale/generic/numeric_members.cc: Likewise.
869 * config/locale/gnu/numeric_members.cc: Likewise.
871 2004-01-14 Stefan Olsson <stefan@snon.net>
873 * include/ext/mt_allocator.h: Fixups.
874 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
875 * testsuite/performance/allocator_thread.cc: Same.
877 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
879 * testsuite/performance/ifstream_extract_float.cc: Add higher
881 * testsuite/performance/ofstream_insert_float.cc: Same.
883 2004-01-13 Paolo Carlini <pcarlini@suse.de>
885 * src/locale-misc-inst.cc (__convert_from_v(long),
886 __convert_from_v(unsigned long), __convert_from_v(long long),
887 __convert_from_v(unsigned long long)): Remove, unused.
889 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
891 * testsuite/performance/ifstream_extract_float.cc: New.
892 * testsuite/performance/ofstream_insert_float.cc: Float generation
895 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
896 * 20_util/auto_ptr/1.cc: ...this.
897 * 20_util/auto_ptr/2.cc: Same.
898 * 20_util/auto_ptr/3.cc: Same.
899 * 20_util/auto_ptr/3946.cc: Same.
900 * 20_util/auto_ptr/4.cc: Same.
901 * 20_util/auto_ptr/5.cc: Same.
902 * 20_util/auto_ptr/6.cc: Same.
903 * 20_util/auto_ptr/7.cc: Same.
904 * 20_util/auto_ptr/assign_neg.cc
905 * 20_util/pairs.cc: Break into...
906 * 20_util/pair/1.cc: ...this.
907 * 20_util/pair/2.cc: Same.
908 * 20_util/pair/3.cc: Same.
909 * 20_util/pair/4.cc: Same.
911 2004-01-13 Paolo Carlini <pcarlini@suse.de>
913 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
914 Set correctly just basefield, the only group that matters.
916 2004-01-13 Paolo Carlini <pcarlini@suse.de>
918 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
919 (_Rope_rep_base): Inherit directly from the rope allocator;
920 use rebinding instead of _Alloc_traits; pick up data member
921 from _Rope_rep_alloc_base.
922 (_Rope_alloc_base): Eliminate.
923 (_Rope_base): Inherit directly from the rope allocator; use
924 rebinding instead of _Alloc_traits; pick up data member from
926 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
927 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
929 2004-01-13 Paolo Carlini <pcarlini@suse.de>
932 * include/bits/basic_string.tcc (compare(size_type, size_type,
933 const _CharT*, size_type)): Implement correctly the resolution
934 of DR 5: basically, s is a char array, -not- a C string.
935 * include/bits/basic_string.h: Tweak some comments.
936 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
937 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
939 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
941 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
944 2004-01-12 Paolo Carlini <pcarlini@suse.de>
946 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
948 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
951 2004-01-12 Paolo Carlini <pcarlini@suse.de>
953 * include/bits/locale_facets.h (struct __numpunct_cache):
954 Add members _M_truename_len and _M_falsename_len, caching
955 the lengths of _M_truename and _M_falsename.
956 (__numpunct_cache<>::_M_cache): Assign the latter.
957 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
958 num_put::do_put(bool)): Use the new members, thus avoiding
959 computing string lengths again and again.
960 * config/locale/generic/numeric_members.cc
961 (numpunct<>::_M_initialize_numpunct): Assign the new members.
962 * config/locale/gnu/numeric_members.cc
963 (numpunct<>::_M_initialize_numpunct): Likewise.
965 2004-01-12 Mark Mitchell <mark@codesourcery.com>
967 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
968 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
970 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
971 and remove Cygwin XFAIL.
972 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
973 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
974 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
975 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
977 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
978 * testsuite/27_io/objects/char/7.cc: Likewise.
979 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
980 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
981 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
983 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
985 * include/std/std_complex.h (std::complex<>::real): Return a
986 reference. Add non-const overload.
987 (std::complex<>::real): Likewise.
988 (std::real): Likewise.
989 (std::imag): Likewise.
990 (std::operator+): Tidy.
991 (std::operator-): Likewise.
992 (std::operator*): Likewise.
993 (std::operator/): Likewise.
994 (std::operator>>): Likewise.
996 2004-01-11 Paolo Carlini <pcarlini@suse.de>
999 * include/bits/fstream.tcc (imbue): Exploit the external
1000 buffer to imbue 'on the fly' a new locale and convert its
1001 remainder with the new codecvt facet.
1002 (underflow): Tweak slightly to deal with this special case.
1003 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
1004 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
1005 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
1006 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
1007 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
1009 2004-01-10 Paolo Carlini <pcarlini@suse.de>
1011 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1014 2004-01-10 Paolo Carlini <pcarlini@suse.de>
1017 * include/bits/locale_classes.h (class locale): Fix category
1019 * testsuite/22_locale/locale/13630.cc: Add.
1021 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
1023 * include/bits/locale_facets.h: Make a name really dependent. This
1024 will be needed when Core Issue 224 is implemented.
1026 2004-01-09 Paolo Carlini <pcarlini@suse.de>
1028 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
1029 * testsuite/performance/allocator_thread.cc: Likewise.
1031 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
1033 * crossconfig.m4: Add LFS, io bits to linux cross config.
1034 * acconfig.h: Remove obsolete bits, reorder.
1035 * config.h.in: Regenerate.
1039 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
1041 * include/bits/stl_list.h:
1042 * include/bits/list.tc:
1044 Performance enhancements for destructor, push_front(),
1045 push_back(), pop_front(), pop_back(), sort()
1046 Eliminated static_casts where possible.
1047 Moved code out of header files into new src/list.cc
1048 implementation file for library where possible.
1049 Remove inheritance from iterator class and create separate
1050 classes for non-constant and constant iterators.
1051 * include/bits/stl_tree.h (_Rb_tree class):
1053 Only erase contents in destructor.
1054 Eliminate unnecessary initialization in assignment operator.
1055 Optimize for the nominal case by not checking whether
1056 container is empty in clear().
1057 Re-order test in _M_insert() to improve performance.
1058 Move initialization of new node's left & right pointers to
1059 src/tree.cc to where new node's colour is initialized
1060 and to reduce the amount of inline code.
1061 Use _M_leftmost() and _M_end() to improve readability where
1063 Create separate classes for non-constant and constant
1064 iterators to clarify code, avoid extra template parameters and
1065 casting away constness.
1067 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
1069 * src/Makefile.am (sources): Add list.cc, tree.cc.
1070 * src/stl_tree.cc: Move to...
1071 * src/tree.cc: ...here.
1073 * config/linker-map.gnu: Tweaks.
1074 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
1075 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
1077 * bits/stl_vector.h: Column wrap comments.
1079 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
1081 (re-open) PR libstdc++/12658
1082 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
1083 (locale::global): Likewise.
1085 2004-01-07 Paolo Carlini <pcarlini@suse.de>
1087 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
1088 Remove redundant #include.
1089 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
1090 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
1091 re-enable normal testing.
1092 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
1094 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
1095 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
1097 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
1099 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
1101 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
1103 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
1105 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
1107 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
1109 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
1110 More properly, #include <locale>.
1111 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
1112 Remove redundant #include.
1113 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
1114 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
1115 redundant DejaGnu directive.
1116 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
1119 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
1120 Stefan Olsson <stefan@snon.net>
1122 * scripts/check_performance: Use -pthread.
1123 * testsuite/performance/allocator.cc: Tweaks, add list.
1124 * testsuite/performance/allocator_thread.cc: New.
1126 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
1128 * include/bits/locale_facets.h: Document public classes and
1130 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
1133 2004-01-06 Paolo Carlini <pcarlini@suse.de>
1135 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
1136 Remove redundant #includes.
1137 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
1139 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
1141 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
1142 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
1143 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
1144 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
1145 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
1146 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
1147 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
1148 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
1149 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
1150 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
1151 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
1152 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
1153 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
1154 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
1155 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
1157 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
1159 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
1161 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
1163 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
1165 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
1166 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
1167 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
1169 2004-01-04 Paolo Carlini <pcarlini@suse.de>
1171 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
1172 Remove redundant #includes.
1173 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
1175 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
1177 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
1179 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
1181 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
1183 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
1185 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
1187 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
1189 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
1191 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
1193 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
1195 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1198 2004-01-04 Mark Mitchell <mark@codesourcery.com>
1201 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
1203 * testsuite/27_io/basic_fstream/4.cc: Likewise.
1204 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
1205 * testsuite/27_io/basic_ios/4.cc: Likewise.
1206 * testsuite/27_io/basic_iostream/4.cc: Likewise.
1207 * testsuite/27_io/basic_istream/4.cc: Likewise.
1208 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
1209 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
1210 * testsuite/27_io/basic_ostream/4.cc: Likewise.
1211 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
1212 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
1213 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
1215 2004-01-04 Paolo Carlini <pcarlini@suse.de>
1217 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
1218 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
1219 always use double underscored names.
1220 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
1222 * include/bits/locale_facets.h (struct __numpunct_cache):
1223 Dimension _M_atoms_out and _M_atoms_in one position smaller.
1224 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out