1 2004-08-27 Jason Merrill <jason@redhat.com>
4 * libsupc++/guard.cc (static_mutex): Internal class implementing a
5 recursive mutex which controls initialization of local statics.
6 (__gnu_cxx::recursive_init): New exception class.
7 (__cxa_guard_acquire): Deal with locking and recursion detection.
8 (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise.
10 2004-08-27 Matthias Klose <doko@debian.org>
12 * configure.host: For mips*-*-linux* update cpu_include_dir
13 after atomicity_dir is set.
15 2004-08-27 Matthias Klose <doko@debian.org>
17 * config/abi/arm-linux-gnu/baseline_symbols.txt: New.
18 * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
19 * configure.host: Set abi_baseline_pair for arm*-*-linux* and
22 2004-08-27 Paolo Carlini <pcarlini@suse.de>
24 * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New.
25 * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
26 * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
27 * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
28 * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
30 * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor
32 * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise.
33 * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
34 * testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
35 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
37 2004-08-25 Paolo Carlini <pcarlini@suse.de>
39 PR libstdc++/17038 (partial)
40 * include/bits/locale_facets.tcc (time_put<>::do_put): Increase
42 * include/bits/locale_facets.h (class __timepunct): Add FIXME
44 * config/locale/generic/time_members.cc (_M_put): Always null
46 * config/locale/gnu/time_members.cc (_M_put): Likewise.
47 * testsuite/22_locale/time_put/put/char/17038.cc: New.
48 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.
50 2004-08-24 Paolo Carlini <pcarlini@suse.de>
52 * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New.
53 * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
54 * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
55 * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
56 * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
57 * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
59 * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess
61 * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
63 2004-08-22 Matthias Klose <doko@debian.org>
65 * config/abi/m68k-linux-gnu/baseline_symbols.txt: New.
66 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
68 2004-08-23 Paolo Carlini <pcarlini@suse.de>
70 * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.
71 * aclocal.m4: Regenerate with automake-1.9.1.
72 * configure: Regenerate.
73 * Makefile.in: Likewise.
74 * include/Makefile.in: Likewise.
75 * libmath/Makefile.in: Likewise.
76 * libsupc++/Makefile.in: Likewise.
77 * po/Makefile.in: Likewise.
78 * src/Makefile.in: Likewise.
79 * testsuite/Makefile.in: Likewise.
81 2004-08-22 Paolo Carlini <pcarlini@suse.de>
83 * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
84 to a signed type, long according to the resolution of DR 359.
85 * testsuite/22_locale/num_put/put/char/9.cc: New.
86 * testsuite/22_locale/num_put/put/wchar_t/9.cc: New.
88 * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
89 Simplify a bit: no need to clear showpos.
91 2004-08-21 Paolo Carlini <pcarlini@suse.de>
93 * include/bits/char_traits.h (struct _Char_traits_match): Remove,
96 2004-08-21 Paolo Carlini <pcarlini@suse.de>
98 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper
99 wchar_t type for the fill argument; minor formatting tweaks.
100 * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
101 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
102 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
103 * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise.
104 * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise.
105 * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise.
107 2004-08-21 Paolo Carlini <pcarlini@suse.de>
109 * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal
110 with _M_word != _M_local_word two times, redundantly.
112 2004-08-20 Jason Merrill <jason@redhat.com>
114 * include/Makefile.am (${host_builddir}/gthr.h): Don't add
115 _GLIBCXX_ to #pragma lines.
116 * include/Makefile.in: Update.
118 2004-08-20 Paolo Carlini <pcarlini@suse.de>
120 PR libstdc++/7219 (continued)
121 * include/bits/ios_base.h (class ios_base): Expose Annex D.6
123 * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED.
124 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error
126 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
128 2004-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
130 * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
131 barrier to locking asm.
133 2004-08-20 Paolo Carlini <pcarlini@suse.de>
135 * include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
136 actually the warning is a front-end bug (c++/17120).
138 2004-08-20 Matthias Klose <doko@debian.org>
140 * config/abi/s390-linux-gnu/baseline_symbols.txt: New.
142 2004-08-20 Paolo Carlini <pcarlini@suse.de>
144 * include/c_std/cmath.tcc (__cmath_power): Suppress assignment
145 used as truth value warning.
147 2004-08-20 Paolo Carlini <pcarlini@suse.de>
149 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit
152 2004-08-20 Paolo Carlini <pcarlini@suse.de>
154 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it.
156 2004-08-19 Benjamin Kosnik <bkoz@redhat.com>
158 * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check
160 * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same.
162 2004-08-19 Paolo Carlini <pcarlini@suse.de>
164 * testsuite/performance/20_util/allocator/insert.cc: For std::map
165 instantiate the allocator for a correct pair type.
166 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
167 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
168 * testsuite/performance/20_util/allocator/producer_consumer.cc:
171 * testsuite/performance/20_util/allocator/list_sort_search.cc: Very
172 minor formatting fixes.
173 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
175 2004-08-19 Paolo Carlini <pcarlini@suse.de>
177 * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the
179 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
180 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
181 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
182 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
183 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
184 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
185 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
187 2004-08-19 Paolo Carlini <pcarlini@suse.de>
189 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
191 2004-08-18 Matthias Klose <doko@debian.org>
193 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
194 * config/abi/i386-linux-gnu/baseline_symbols.txt: New.
195 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New.
197 2004-08-17 Paolo Carlini <pcarlini@suse.de>
199 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
201 2004-08-17 Paolo Carlini <pcarlini@suse.de>
203 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
205 2004-08-17 Benjamin Kosnik <bkoz@redhat.com>
207 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
209 2004-08-16 Paolo Carlini <pcarlini@suse.de>
211 * include/bits/indirect_array.h: Trivial formatting fixes.
212 * include/bits/valarray_after.h: Likewise.
213 * include/bits/valarray_array.h: Likewise.
214 * src/valarray-inst.cc: Likewise.
216 2004-08-15 Paolo Carlini <pcarlini@suse.de>
218 * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
219 * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
220 * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
222 * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
223 * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
224 * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
225 * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
226 * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
228 2004-08-15 Paolo Carlini <pcarlini@suse.de>
230 * include/bits/deque.tcc: Trivial formatting fixes.
232 2004-08-15 Paolo Carlini <pcarlini@suse.de>
234 * include/bits/deque.tcc: Trivial formatting fixes.
236 * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
237 Remove unneded typedef.
239 * include/bits/locale_facets.tcc: Very minor tweaks.
241 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
242 type for the fill argument.
243 * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
244 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
245 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
246 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
247 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
248 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
249 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
250 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
252 2004-08-13 Paolo Carlini <pcarlini@suse.de>
254 * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
255 memmove is not needed, memcpy suffices.
257 2004-08-13 Paolo Carlini <pcarlini@suse.de>
259 * include/std/std_fstream.h (class basic_ifstream,
260 class basic_ofstream, class basic_fstream): Add const overloads
261 of is_open, as per DR 365 [WP].
262 * docs/html/ext/howto.html: Add an entry for DR 365.
264 2004-08-12 Paolo Carlini <pcarlini@suse.de>
266 * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
268 2004-08-12 Paolo Carlini <pcarlini@suse.de>
271 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
272 to the returned value, reorganize a bit.
273 * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
274 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
276 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
277 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
278 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
279 * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
281 2004-08-12 Paul Brook <paul@codesourcery.com>
283 * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
284 _GLIBCXX_CXA_VEC_CTOR_RETURN.
285 * config/cpu/generic/cxxabi_tweaks.h: Ditto.
286 * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
287 __cxa_vec_ctor_return.
288 * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
289 Use _GLIBCXX_CXA_VEC_CTOR_RETURN.
291 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
293 * Makefile.in, aclocal.m4, configure, include/Makefile.in,
294 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
295 src/Makefile.in, testsuite/Makefile.in: Regenerate
297 2004-08-12 Jan Beulich <jbeulich@novell.com>
299 * config/locale/generic/ctype_members.cc
300 (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
301 initializer for return value, as that is invalid for enumerated types.
302 * config/locale/gnu/ctype_members.cc
303 (ctype<wchar_t>::_M_convert_to_wmask): Likewise.
305 2004-08-11 Paolo Carlini <pcarlini@suse.de>
307 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
309 2004-08-11 Paolo Carlini <pcarlini@suse.de>
311 * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
313 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
314 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
315 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
316 * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
317 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
318 * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
319 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
320 * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
321 * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
322 * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
323 * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
324 * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
325 * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
326 * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
327 * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
328 * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
329 * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
330 * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
331 * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
332 * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
333 * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
335 2004-08-11 Paolo Carlini <pcarlini@suse.de>
336 Petur Runolfsson <peturr02@ru.is>
339 * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
340 standard streams are constructed.
341 * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
343 2004-08-09 Paolo Carlini <pcarlini@suse.de>
345 * include/bits/stl_bvector.h: Trivial formatting fixes.
347 2004-08-09 Paolo Carlini <pcarlini@suse.de>
349 * src/ios.cc (ios_base::_M_grow_words): Uglify the names.
351 2004-08-07 Jonathan Wakely <redi@gcc.gnu.org>
352 Paolo Carlini <pcarlini@suse.de>
354 * src/debug.cc (_Error_formatter::_M_print_string): In order
355 to print individual words from __string, _M_format_word can't
356 be called since may be just sprintf, thus ignoring completely
357 __n: instead, use memmove and append '\0' by hand.
359 2004-08-07 Paolo Carlini <pcarlini@suse.de>
361 * config/locale/generic/c_locale.h (__convert_from_v): Don't
362 use a default for __prec, assume __prec >= 0 and simplify.
363 * config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
364 * include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
365 Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
367 2004-08-04 Phil Edwards <phil@codesourcery.com>
369 * docs/html/configopts.html: Emphasize that options change.
370 * docs/html/17_intro/configury.html: Update links.
372 2004-08-03 Paolo Carlini <pcarlini@suse.de>
374 * include/bits/list.tcc: Trivial formatting fixes.
376 2004-08-03 Mark Mitchell <mark@codesourcery.com>
378 * libsupc++/new_op.cc: Update comments.
379 * libsupc++/del_op.cc: Likewise.
381 2004-08-02 Mark Mitchell <mark@codesourcery.com>
383 * libsupc++/cxxabi.h: Make all declarations have default
385 * libsupc++/exception: Likewise.
386 * libsupc++/new: Likewise.
387 * libsupc++/typeinfo: Likewise.
388 * libsupc++/unwind-cxx.h: Likewise.
389 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
390 the __cxxabiv1 namespace.
391 (__cxa_free_exception): Likewise.
392 * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
393 (__cxa_bad_typeid): Likewise.
394 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
395 (__cxa_end_catch): Likewise.
396 * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
397 (__cxa_get_globals): Likewise.
398 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
399 (__cxa_rethrow): Likewise.
400 * libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
401 * libsupc++/eh_type.cc: Include <cxxabi.h>.
403 * Makefile.am (hosted_source): Add libmath and testsuite.
404 (SUBDIRS): Remove them.
405 * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
406 on arm*-*-symbianelf*.
407 * crossconfig.m4: Add arm*-*-symbianelf* support.
408 * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
409 when freestanding. Do not bring names into std:: namespace with
410 "using" when freestanding. Declare required functions and macros
412 * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
414 * libsupc++/del_op.cc: Declare "free" only when freestanding.
415 * libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
416 (malloc): Declare when freestanding.
419 (__cxa_allocate_exception): Call malloc, not std::malloc. Likewise
421 (__cxa_free_exception): Likewise for free.
422 * libsupc++/new_op.cc: Declare "malloc" when freestanding.
423 * libsupc++/pure.cc (writestr): Define to nothing when
425 * libsupc++/vterminate.cc: Do not define anything when
427 * Makefile.in: Regenerated.
428 * aclocal.m4: Likewise.
429 * configure: Likewise.
430 * include/Makefile.in: Likewise.
431 * libmath/Makefile.in: Likewise.
432 * libsupc++/Makefile.in: Likewise.
433 * po/Makefile.in: Likewise.
434 * src/Makefile.in: Likewise.
435 * testsuite/Makefile.in: Likewise.
437 2004-08-01 Matt Austern <austern@apple.com>
440 * include/bits/stl_list.h (_M_create_node): Remove unused
441 zero-argument version.
442 * include/ext/slist (_M_create_node): Pass two arguments to
443 allocator's construct() member function.
444 * testsuite/23_containers/deque/explicit_instantiation.cc: New.
445 * testsuite/23_containers/list/explicit_instantiation.cc: New.
446 * testsuite/23_containers/vector/explicit_instantiation.cc: New.
447 * testsuite/23_containers/map/explicit_instantiation.cc: New.
448 * testsuite/23_containers/set/explicit_instantiation.cc: New.
449 * testsuite/23_containers/multimap/explicit_instantiation.cc: New.
450 * testsuite/23_containers/multiset/explicit_instantiation.cc: New.
451 * testsuite/ext/hash_set_explicit_instantiation.cc: New.
452 * testsuite/ext/slist_explicit_instantiation.cc: New.
454 2004-07-30 Paolo Carlini <pcarlini@suse.de>
456 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
457 num_get<>::_M_extract_int): In the main parsing loop delay the
458 life of __q to the actual use point.
460 2004-07-29 Paolo Carlini <pcarlini@suse.de>
463 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
464 Don't clip the precision passed down to __convert_from_v:
465 22.2.2.2.2 nowhere says so.
466 * testsuite/22_locale/num_put/put/char/14220.cc: New.
467 * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
469 2004-07-29 Paolo Carlini <pcarlini@suse.de>
471 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
473 2004-07-29 Paolo Carlini <pcarlini@suse.de>
474 Petur Runolfsson <peturr02@ru.is>
476 PR libstdc++/12658 (continued)
477 * src/locale_init.cc (locale::locale, locale::global): Use
478 a single locale_mutex instead of two separate mutexes.
480 2004-07-29 Paolo Carlini <pcarlini@suse.de>
483 * include/debug/map.h (insert(_InputIterator, _InputIterator)):
485 * testsuite/23_containers/map/insert/16813.cc: New.
487 2004-07-29 Phil Edwards <phil@codesourcery.com>
489 * docs/html/faq/index.html: Update version references. Make
490 clear that code from SGI has diverged greatly. Remove references
491 to library snapshots and what's-new sections.
492 * docs/html/faq/index.txt: Regenerate.
494 2004-07-28 Matt Austern <austern@apple.com>
496 * include/bits/stl_construct.h (_Destroy): New three-argument
497 overload that takes an allocator argument. Another inline
498 three-argument overload that takes std::allocator and dispatches
499 to the two-argument version.
500 * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
501 Change return type to void to match uninitialized_fill_n.
502 (__uninitialized_copy_a_): New function. Like uninitialized_copy
503 except that it takes an allocator and uses it for construct and
504 destroy. If the allocator is std::allocator, dispatches to
506 (__uninitialized_fill_a): Likewise.
507 (__uninitialized_fill_n_a): Likewise.
508 (__uninitialized_copy_copy): Give it an allocator argument.
509 (__uninitialized_fill_copy): Likewise.
510 (__uninitialized_copy_fill): Likewise.
511 * include/bits/deque.tcc: Use new forms defined in stl_construct.h
512 and stl_uninitialized.h. Replace use of single-argument _Construct
513 and _Destroy with use of allocator's construct and destroy methods.
514 * include/bits/list.tcc: Likewise.
515 * include/bits/stl_deque.h: Likewise.
516 * include/bits/stl_list.h: Likewise.
517 * include/bits/stl_tree.h: Likewise.
518 * include/bits/stl_vector.h: Likewise.
519 * include/bits/vector.tcc: Likewise.
520 * include/ext/hashtable.h: Use rebind so that allocator_type
521 has correct type for a container's allocator. Replace use of
522 single-argument _Construct and _Destroy with use of allocator's
523 construct and destroy methods.
524 * include/ext/memory (__uninitialized_copy_n_a): New function.
525 Like uninitialized_copy_n except that it takes an extra parameter,
526 an allocator, and uses it for construct and destroy operations.
527 * include/ext/rope: Use new forms defined in stl_construct.h,
528 stl_uninitialized.h, and ext/memory. Replace use of single-argument
529 _Construct and _Destroy with allocator construct and destroy methods.
530 * include/ext/ropeimpl.h: Likewise.
531 * include/ext/slist.h: Likewise.
532 * testsuite/testsuite_allocator.h (check_construct_destroy): New.
533 * testsuite/testsuite_allocator.cc (check_construct_destroy): New.
534 * testsuite/23_containers/deque/check_construct_destroy.cc: New.
535 * testsuite/23_containers/list/check_construct_destroy.cc: New.
536 * testsuite/23_containers/set/check_construct_destroy.cc: New.
537 * testsuite/23_containers/vector/check_construct_destroy.cc: New.
538 * testsuite/ext/hash_check_construct_destroy.cc: New.
539 * testsuite/ext/slist_check_construct_destroy.cc: New.
541 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
543 2003-10-01 Eric Christopher <echristo@redhat.com>
544 * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
546 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
547 * config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a.
549 2004-07-23 Benjamin Kosnik <bkoz@redhat.com>
552 * include/bits/locale_facets.tcc: Fix for -Werror.
554 2004-07-23 Jonathan Wakely <redi@gcc.gnu.org>
556 * docs/html/debug.html: Say debug mode only available since 3.4.0.
558 2004-07-21 Benjamin Kosnik <bkoz@redhat.com>
560 * docs/doxygen/mainpage.html: Clarify links.
561 * docs/doxygen/stdheader.cc: Add files.
562 * docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
563 * docs/doxygen/user.cfg.in: New options, wrap.
565 2004-07-20 Danny Smith <dannysmith@users.sourceforge.net>
567 * include/c_std/std_cwchar.h (wcsstr): Correct signature.
569 2004-07-19 Benjamin Kosnik <bkoz@redhat.com>
572 * testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
574 2004-07-17 Richard Sandiford <rsandifo@redhat.com>
577 * scripts/create_testsuite_files: Pass -print to find.
579 2004-07-15 Paolo Carlini <pcarlini@suse.de>
581 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
582 * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
584 2004-07-15 Jakub Jelinek <jakub@redhat.com>
587 * acinclude.m4 (glibcxx_shared_libgcc): Correct
588 glibcxx_shared_libgcc test for multilibs.
589 * configure: Rebuilt.
591 2004-07-14 Paolo Carlini <pcarlini@suse.de>
594 * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
595 the signature to return void, as per 20.4.4.3.
596 * include/bits/stl_vector.h (vector::vector(size_type,
597 const value_type&, const allocator_type&), vector::vector(size_type),
598 vector::_M_initialize_dispatch): Adjust callers.
599 * include/bits/vector.tcc (vector<>::_M_fill_assign,
600 vector<>::_M_fill_insert): Likewise.
601 * testsuite/20_util/memory/16505.cc: New.
603 2004-07-14 Paolo Carlini <pcarlini@suse.de>
605 * testsuite/22_locale/locale/cons/12658_thread-1.cc,
606 12658_thread-2.cc: Use __gnu_test::try_named_locale.
608 2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
610 * docs/html/ext/mt_allocator.html: Add docs for _Tune.
611 * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public.
612 (__mt_alloc::_S_set_options): Same.
615 2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
617 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults
619 * configure: Regenerated.
621 2004-07-13 Paolo Carlini <pcarlini@suse.de>
623 * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename
624 to 12658_thread-1.cc and xfail.
625 * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much
626 simpler version of 12658_thread-1.cc, still failing on 3_3 and
627 not failing on 3_4/mainline - both on single processor and
628 multiprocessor machines.
630 2004-07-12 Benjamin Kosnik <bkoz@redhat.com>
632 * docs/html/abi.html: Remove non-public qualification.
634 * include/bits/concurrence.h: Tweak comments.
636 2004-07-11 Paolo Carlini <pcarlini@suse.de>
638 Add wchar_t counterparts of the basic_streambbuf<char> tests.
639 * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New.
640 * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc:
642 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise.
643 * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc,
645 * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
646 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
647 * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
648 * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
649 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc:
651 * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
653 * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor
655 * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc:
657 * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
658 * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
660 2004-07-11 Phil Edwards <phil@codesourcery.com>
662 * acinclude.m4: Cosmetic shell syntax fixes.
663 * configure.ac: Bring comment inline with reality.
664 * configure.host: Both of the above. Move 'arm' case to right
665 place in host_cpu switch.
666 * aclocal.m4, configure: Regenerate.
668 2004-07-09 Paolo Carlini <pcarlini@suse.de>
670 Add wchar_t counterparts of the basic_stringbuf<char> tests.
671 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
672 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
673 * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
674 3599.cc, 9988.cc: Likewise.
675 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
677 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
679 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
681 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
683 * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
684 * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
685 * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
686 * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
688 * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
690 * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
692 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
694 * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
695 * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
697 2004-07-08 Paolo Carlini <pcarlini@suse.de>
699 * include/bits/gslice.h: Trivial formatting fixes.
700 * include/bits/gslice_array.h: Likewise.
701 * include/bits/indirect_array.h: Likewise.
702 * include/bits/mask_array.h: Likewise.
703 * include/bits/slice_array.h: Likewise.
704 * include/bits/valarray_after.h: Likewise.
705 * include/bits/valarray_array.h: Likewise.
706 * include/bits/valarray_before.h: Likewise.
707 * include/std/std_valarray.h: Likewise.
709 2004-07-08 Benjamin Kosnik <bkoz@redhat.com>
712 * include/bits/basic_string.h (basic_string::operator=): Revert.
714 2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
716 * configure.ac (libtool_VERSION): To 6:2:0.
717 * configure: Regenerated.
719 * testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
721 2004-07-07 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
724 * config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
726 2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
728 * docs/html/abi.html: Updates for 3.4.1 release. Add summary of
731 2004-07-07 Paolo Carlini <pcarlini@suse.de>
734 * include/bits/sstream.tcc (overflow): When reallocating _M_string
735 use an exponential grow policy.
736 * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
737 * testsuite/performance/27_io/stringbuf_overflow.cc: New.
739 2004-07-06 Anssi Hannula <anssi.hannula@mbnet.fi>
742 * crossconfig.m4: Add in bits for djgpp.
743 * configure: Regenerate.
745 2004-07-05 Jonathan Wakely <redi@gcc.gnu.org>
747 * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in
748 instantiation of set and multiset (functor param given as int).
750 2004-07-04 Paolo Carlini <pcarlini@suse.de>
752 * include/bits/basic_string.h: Trivial formatting fixes and/or
753 const-ification of some variables.
754 * include/bits/deque.tcc: Likewise.
755 * include/bits/stl_algobase.h: Likewise.
756 * include/bits/stl_bvector.h: Likewise.
757 * include/bits/stl_construct.h: Likewise.
758 * include/bits/stl_deque.h: Likewise.
759 * include/bits/stl_pair.h: Likewise.
760 * include/bits/stl_vector.h: Likewise.
761 * include/bits/vector.tcc: Likewise.
763 2004-07-04 Paolo Carlini <pcarlini@suse.de>
765 * testsuite/25_algorithms/copy/1.cc: Add instantiations for
766 systems with no COMDAT or weak support.
767 * testsuite/25_algorithms/copy/2.cc: Likewise.
768 * testsuite/25_algorithms/copy/3.cc: Likewise.
769 * testsuite/25_algorithms/copy/4.cc: Likewise.
771 2004-07-03 Paul Brook <paul@codesourcery.com>
773 * configure.ac: Set ABI_TWEAKS_SRCDIR.
774 * configure.host: Set abi_tweaks_dir. Check for atomicity.h when
775 setting atomicity_dir. Override type_cpu for arm based targets.
776 * include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
777 * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
778 * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
779 * libsupc++/vec.cc: Ditto.
780 * config/cpu/arm/cxxabi_tweaks.h: New file.
781 * config/cpu/generic/cxxabi_tweaks.h: New file.
782 * */Makefile.in: Regenerate.
783 * configure: Regenerate.
785 2004-07-02 Paolo Carlini <pcarlini@suse.de>
787 * include/bits/type_traits.h (_Is_normal_iterator): Move...
788 * include/bits/cpp_type_traits.h: ... here, renamed to
789 __is_normal_iterator and consistent with the other traits.
790 * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
791 to the struct __copy_normal and three specializations.
792 (__copy_backward_output_normal_iterator,
793 __copy_backward_input_normal_iterator): Likewise, convert to
794 the struct __copy_backward_normal and three specializations.
795 (copy, copy_backward): Use the latter.
796 (__copy_aux, __copy_backward_aux): Very minor tweaks.
798 2004-07-01 Paolo Carlini <pcarlini@suse.de>
800 * include/bits/stl_algobase.h (__copy_trivial): Remove.
801 (__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
802 __is_trivially_copyable, __are_same and __copy::copy.
803 (__copy): Rewrite as a class template and two specializations.
804 (__copy_ni2): Simplify, just call __copy_aux.
806 * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
808 * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
809 for destination value type != source value type.
811 2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
812 Per Bothner <per@bothner.com>
813 Mohan Embar <gnustuff@thisiscool.com>
816 * include/bits/concurrence.h (__glibcxx_mutex_type): New.
817 (__glibcxx_mutex): Encapsulate mutex init function into type for
818 threaded configurations without __GTHREAD_MUTEX_INIT.
819 (lock::lock): Make device member a reference.
821 * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
823 * src/allocator.cc: Same.
825 2004-06-30 Brad Spencer <spencer@infointeractive.com>
827 * include/ext/mt_allocator.h: Handle allocations at static
828 initialization that happen before _S_options is (automatically)
829 constructed; set _S_init even if _M_force_new is true.
831 2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
833 * config/linker-map.gnu: Revert new exports.
835 2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
836 Stuart Anderson <anderson@netsweng.com>
838 * config/linker-map.gnu: Add destructor exports for abstract base
839 classes to conform to LSB.
841 2004-06-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
842 Paolo Carlini <pcarlini@suse.de>
844 * include/bits/cpp_type_traits.h: Add __is_pointer and
845 __is_trivially_copyable.
846 * include/bits/stl_algobase.h (fill, fill_n): Slightly
847 tweak to use the latter.
848 (__copy_backward_dispatch): Remove.
849 (__copy_backward_aux): Rewrite to use __is_pointer and
850 __is_trivially_copyable and __copy_backward::copy_b.
851 (__copy_backward): Rewrite as a class template and two
854 2004-06-30 Paolo Carlini <pcarlini@suse.de>
856 * testsuite/25_algorithms/copy.cc: Move to...
857 * testsuite/25_algorithms/copy/1.cc: ... here, extend.
858 * testsuite/25_algorithms/copy/2.cc: New.
859 * testsuite/25_algorithms/copy/3.cc: New.
860 * testsuite/25_algorithms/copy/4.cc: New.
862 2004-06-29 Paul Brook <paul@codesourcery.com>
864 * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
865 element size in the cookie.
867 2004-06-28 Paolo Carlini <pcarlini@suse.de>
869 * include/bits/cpp_type_traits.h: Move the additions to
870 namespace __gnu_internal outside of namespace std; trivial
873 2004-06-28 Benjamin Kosnik <bkoz@redhat.com>
875 * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
876 Revert -Weffc++ changes that defined copy ctory and or assignment
878 * libsupc++/tinfo.cc (__upcast_result): Same.
880 2004-06-28 Paolo Carlini <pcarlini@suse.de>
882 * src/localename.cc (locale::_Impl::_Impl): Slightly improve
883 the algorithm used to name the categories.
885 2004-06-28 Paolo Bonzini <bonzini@gnu.org>
887 * include/Makefile.am: Give a .gch extension to
888 the PCH files, not only to the directory.
889 * include/Makefile.in: Regenerate.
891 2004-06-28 Paolo Carlini <pcarlini@suse.de>
893 * config/locale/gnu/monetary_members.cc
894 (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
895 assignments of _M_decimal_point and _M_thousands_sep.
897 2004-06-27 Paolo Carlini <pcarlini@suse.de>
899 * docs/html/17_intro/contribute.html: Update some links.
900 * docs/html/17_intro/porting-howto.html: Likewise.
901 * docs/html/17_intro/porting-howto.xml: Likewise.
902 * docs/html/18_support/howto.html: Likewise.
903 * docs/html/21_strings/howto.html: Likewise.
904 * docs/html/27_io/howto.html: Likewise.
905 * docs/html/configopts.html: Likewise.
906 * docs/html/ext/howto.html: Likewise.
907 * docs/html/faq/index.html: Likewise.
908 * docs/html/install.html: Don't mention 2.x compilers.
910 2004-06-27 Paolo Carlini <pcarlini@suse.de>
912 * include/ext/rope: Trivial formatting fixes.
913 * include/ext/ropeimpl.h: Likewise.
915 2004-06-26 Paolo Carlini <pcarlini@suse.de>
918 * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
919 availability of strto(u)ll, not used anymore in the iostreams.
920 * configure: Regenerate.
922 2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
925 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
927 * configure: Regenerate.
929 2004-06-25 Paul Brook <paul@codesourcery.com>
931 * libsupc++/cxxabi.h: Define __ARM_EABI__
933 * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
935 2004-06-25 Paul Brook <paul@codesourcery.com>
937 * include/bits/concurrence.h: Still create mutex object when
940 2004-06-25 Paolo Carlini <pcarlini@suse.de>
942 * include/bits/stl_algobase.h (fill, fill_n): Revert last
943 change: actually we need to copy construct an object of type
944 _Tp, not of type iterator_traits<>::value_type, therefore the
947 2004-06-25 Paolo Carlini <pcarlini@suse.de>
949 * include/bits/stl_algobase.h (fill, fill_n): Tighten the
950 dispatch: use iterator_traits<>::value_type, not _Tp.
952 2004-06-25 Paolo Carlini <pcarlini@suse.de>
954 * testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
955 * testsuite/25_algorithms/fill/2.cc: Likewise.
957 2004-06-25 Dan Nicolaescu <dann@ics.uci.edu>
958 Paolo Carlini <pcarlini@suse.de>
960 * include/bits/stl_algobase.h (__fill, __fill_n): New helpers
961 for fill and fill_n, respectively: when copying is cheap, use a
962 temporary to avoid a memory read in each iteration.
964 2004-06-25 Paolo Carlini <pcarlini@suse.de>
966 * testsuite/25_algorithms/fill/1.cc: New.
967 * testsuite/25_algorithms/fill/2.cc: Likewise.
969 2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
971 * include/debug/formatter.h (__gnu_debug::_Error_formatter):
972 Remove copy constructor and assignment operator.
974 2004-06-24 Benjamin Kosnik <bkoz@redhat.com>
976 * include/bits/concurrence.h (__gnu_cxx::lock): New.
977 * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
978 (__pool_base::_M_get_mutex): New.
979 * include/bits/allocator.h: Tweak.
980 * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
981 * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
982 * include/bits/stl_threads.h: Remove.
983 * include/Makefile.am: Also here.
984 * include/Makefile.in: Regenerate.
986 * src/locale_init.cc: Use __gnu_cxx::lock.
988 * src/allocator.cc: Move all instantiations...
989 * src/allocator-inst.cc: ...here.
991 2004-06-23 Andrew Pinski <apinski@apple.com>
993 * linkage.m4: Remove check for libmx.
994 * configure: Regenerate.
996 2004-06-23 Paolo Carlini <pcarlini@suse.de>
999 * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
1000 Don't require the _DefaultConstructibleConcept.
1001 (struct _ForwardIteratorConcept): Require it here.
1003 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
1005 * include/bits/istream.tcc (getline): Make sure arguments passed
1006 to min/max have the same type.
1007 * include/bits/locale_facets.tcc (__verify_grouping): Likewise.
1008 * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
1010 2004-06-22 Benjamin Kosnik <bkoz@redhat.com>
1012 * docs/html/abi.html: Update links.
1014 2004-06-22 Paolo Carlini <pcarlini@suse.de>
1016 * testsuite/26_numerics/complex_inserters_extractors.cc,
1017 complex_value.cc, buggy_complex.cc: Move to...
1018 * testsuite/26_numerics/complex/: ... here.
1019 * testsuite/26_numerics/c99_classification_macros_c++.cc,
1020 c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
1021 fabs_inline.cc: Move to...
1022 * testsuite/26_numerics/cmath/: ... here.
1023 * testsuite/26_numerics/binary_closure.cc, slice.cc,
1024 slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
1025 valarray_name_lookup.cc, valarray_operators.cc,
1026 valarray_subset_assignment.cc: Move to...
1027 * testsuite/26_numerics/valarray/: ... here (new dir).
1028 * testsuite/26_numerics/sum_diff.cc: Move to...
1029 * testsuite/26_numerics/numeric/: ... here (new dir).
1031 2004-06-22 Paolo Carlini <pcarlini@suse.de>
1033 * include/std/std_istream.h (ignore(streamsize __n = 1,
1034 int_type __delim = traits_type::eof())): Split into...
1035 (ignore(), ignore(streamsize __n), ignore(streamsize __n,
1036 int_type __delim)): The first two can be much more simpler
1037 and efficient than the fully general case; also, the last
1038 two can take advantage of the same mechanism already used
1040 * include/bits/istream.tcc (ignore(streamsize __n = 1,
1041 int_type __delim = traits_type::eof()): Remove.
1042 (ignore(), ignore(streamsize __n), ignore(streamsize __n,
1043 int_type __delim)): New.
1045 2004-06-21 Loren J. Rittle <ljrittle@acm.org>
1047 * config/linker-map.gnu: Use wildcards for
1048 __basic_file::sys_open(FILE*, _Ios_Openmode).
1050 2004-06-20 Paolo Carlini <pcarlini@suse.de>
1052 * testsuite/27_io/basic_istream/ignore/char/3.cc: New.
1054 2004-06-18 Paolo Carlini <pcarlini@suse.de>
1056 * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
1057 the alignment requested.
1058 (__mt_alloc<>::_Tune::_Tune): Tweak consistently.
1059 (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
1060 (__mt_alloc<>::deallocate): Likewise.
1062 2004-06-18 Paolo Carlini <pcarlini@suse.de>
1065 * include/debug/safe_base.h
1066 (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
1067 _Safe_sequence_base::operator=): Provide definitions.
1068 * testsuite/23_containers/bitset/cons/16020.cc: New.
1070 2004-06-18 Benjamin Kosnik <bkoz@redhat.com>
1072 * include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
1073 (__pool_base): Remove unused template parameter. Add
1074 protected. Move lock data into __pool_base::_Lock. Remove static
1075 on member functions.
1076 (__pool_base::_M_get_free_list): New.
1077 (__pool_alloc): Move _S_force new here.
1078 * src/allocator.cc: Move out of line __pool_base definitions here.
1079 * config/linker-map.gnu: Export bits from __pool_base.
1081 2004-06-18 Paolo Carlini <pcarlini@suse.de>
1083 * config/locale/gnu/numeric_members.cc
1084 (numpunct<wchar_t>::_M_initialize_numpunct): Clean up
1085 assignments of _M_decimal_point and _M_thousands_sep.
1086 * config/locale/gnu/time_members.cc
1087 (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
1088 and reformat assignments of date and time fields.
1090 2004-06-16 Paolo Carlini <pcarlini@suse.de>
1092 * include/ext/rope (rope(_CharT, const allocator_type&)): Fix
1093 to use _Data_allocate.
1094 * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
1095 (rope<>::_S_substring): Likewise.
1096 (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
1097 (rope<>::c_str()): Likewise.
1098 (rope<>::replace_with_c_str()): Likewise.
1100 * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
1101 Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
1103 (_Rope_iterator_base<>::_S_setcache): Likewise.
1104 (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
1105 (rope<>::_S_substring): Likewise.
1106 (rope<>::_S_dump): Likewise.
1107 (rope<>::_S_fetch_ptr): Likewise.
1108 (rope<>::_S_compare): Likewise.
1109 (rope<>::replace_with_c_str()): Likewise.
1111 * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
1112 * testsuite/ext/rope/2.cc: New.
1114 2004-06-16 Paolo Carlini <pcarlini@suse.de>
1115 Matt Austern <austern@apple.com>
1117 * testsuite/ext/rope/3.cc: New.
1119 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
1121 * acinclude.m4: Remove useless multilib configury.
1122 * Makefile.am: Remove useless multilib rules.
1123 * aclocal.m4: Regenerate.
1124 * Makefile.in: Regenerate.
1125 * configure: Regenerate.
1127 2004-06-15 Paolo Carlini <pcarlini@suse.de>
1129 * include/ext/hashtable.h: Trivial formatting fixes.
1130 * include/ext/rb_tree: Likewise.
1132 2004-06-14 Paolo Carlini <pcarlini@suse.de>
1134 * include/ext/hash_map: Trivial formatting fixes.
1135 * include/ext/hash_set: Likewise.
1136 * include/ext/memory: Likewise.
1137 * include/ext/numeric: Likewise.
1139 2004-06-14 Benjamin Kosnik <bkoz@redhat.com>
1141 * Makefile.in: Regenerate with automake 1.8.5.
1143 * include/Makefile.in: Same.
1144 * libmath/Makefile.in: Same.
1145 * libsupc++/Makefile.in: Same.
1146 * po/Makefile.in: Same.
1147 * src/Makefile.in: Same.
1148 * testsuite/Makefile.in: Same.
1150 2004-06-14 Paolo Carlini <pcarlini@suse.de>
1152 * include/ext/slist: Trivial formatting fixes.
1154 2004-06-14 Paolo Carlini <pcarlini@suse.de>
1156 * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
1157 Don't use the 'magic number' 10 in the computation of __minlen;
1158 never access __name past __minlen; in the loop over __i3, don't
1159 decrease __nmatches and increase __i3 at once, only either of
1162 2004-06-13 Paolo Carlini <pcarlini@suse.de>
1164 * include/bits/locale_facets.tcc (time_get<>::do_get_time,
1165 time_get<>::do_get_date): Use only once _M_extract_via_format,
1166 instead of going through "%X"/"%x" and calling it two times
1169 2004-06-12 Paolo Carlini <pcarlini@suse.de>
1171 * include/ext/algorithm: Trivial formatting fixes.
1172 * include/ext/functional: Likewise.
1173 * include/ext/hash_fun.h: Likewise.
1174 * include/ext/iterator: Likewise.
1176 2004-06-12 Paolo Carlini <pcarlini@suse.de>
1178 * include/bits/basic_string.tcc (find(const _CharT*, size_type,
1179 size_type)): Reimplement using std::search.
1180 * src/string-inst.cc: Instantiate std::search for char/wchar_t.
1182 2004-06-12 Dhruv Matani <dhruvbird@gmx.net>
1184 * testsuite/performance/21_strings/string_find.cc: New.
1186 2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
1188 * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
1190 2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>
1192 * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
1193 this function return a value.
1195 2004-06-09 Paolo Carlini <pcarlini@suse.de>
1198 * include/bits/stl_deque.h: Consistently with stl_set.h, define
1199 pointer as allocator's pointer, likewise for reference,
1200 const_pointer, and const_reference.
1201 * include/bits/stl_list.h: Likewise.
1202 * include/bits/stl_map.h: Likewise.
1203 * include/bits/stl_multimap.h: Likewise.
1204 * include/bits/stl_vector.h: Likewise.
1206 2004-06-09 Benjamin Kosnik <bkoz@redhat.com>
1208 * crossconfig.m4: Remove signbit, signbitf, signbitl.
1209 * linkage.m4: Comment LIBMATHOBJS, tweak others. AC_DEFINES for
1210 builtin math functions instead of AC_DEFINE_UNQUOTED.
1211 * configure: Regenerate.
1213 2004-06-08 Benjamin Kosnik <bkoz@redhat.com>
1215 * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
1216 * docs/doxygen/mainpage.html: Remove links.
1218 2004-06-08 Jason Merrill <jason@redhat.com>
1220 * config/linker-map.gnu: Use wildcards for
1221 __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
1223 2004-06-08 Paolo Carlini <pcarlini@suse.de>
1225 * include/ext/pool_allocator.h: Convert to a global free-list,
1226 as per the original SGI/HP design: move the implementation
1227 details to struct __pool_base, from which __pool_alloc derives.
1228 * src/allocator.cc: Instantiate __pool_base.
1230 2004-06-07 Dhruv Matani <dhruvbird@gmx.net>
1231 Paolo Carlini <pcarlini@suse.de>
1233 * testsuite/testsuite_performance.h
1234 (resource_counter::allocated_memory): Make it return the right
1235 number of bytes requested by the allocators/application. This is
1236 the sbrk+mmaped memory.
1238 2004-06-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
1240 * include/std/std_complex.h (log): Tidy.
1242 2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
1244 * config/linker-map.gnu (GLIBCXX_3.4.1): Add.
1245 * testsuite/testsuite_abi.cc: Same.
1246 * configure.ac (libtool_VERSION): Bump to 6:1:0.
1247 * configure: Regenerate.
1248 * aclocal.m4: Regenerate.
1250 2004-05-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
1252 * include/std/std_complex.h (complex<_Tp>): Properly indent
1254 (complex<>::__rep): New.
1255 (__complex_abs): New. Dispatch to built-ins.
1257 (__complex_arg): New. Dispatch to built-ins.
1259 (__complex_cos): New. Dispatch to built-ins.
1261 (__complex_cosh): New. Dispatch to built-ins.
1263 (__complex_exp): New. Dispatch to built-ins.
1265 (__complex_log): New. Dispatch to built-ins.
1267 (__complex_sin): New. Dispatch to built-ins.
1269 (__complex_sinh): New. Dispatch to built-ins.
1271 (__complex_sqrt): New. Dispatch to built-ins.
1273 (__complex_tan): New. Dispatch to built-ins.
1275 (__complex_tanh): New. Dispatch to built-ins.
1277 (__complex_pow): New. Dispatch to built-ins.
1280 2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com>
1281 Benjamin Kosnik <bkoz@redhat.com>
1284 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
1285 * include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
1286 * config/io/basic_file_stdio.cc (__basic_file::file): New.
1287 * config/io/basic_file_stdio.h: Define.
1289 2004-05-27 Benjamin Kosnik <bkoz@redhat.com>
1292 * docs/html/documentation.html: Update doxygen links for 3.4.0.
1294 2004-05-27 Jan Beulich <jbeulich@novell.com>
1296 * scripts/create_testsuite_files: Tweak.
1298 2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
1301 * scripts/create_testsuite_files: Revert xtype change, add non-GNU
1302 bits to do the same thing.
1304 2004-05-24 Paolo Carlini <pcarlini@suse.de>
1306 * include/bits/istream.tcc (ignore): Correctly deal with
1307 n == numeric_limits<streamsize>::max().
1308 * testsuite/27_io/basic_istream/ignore/char/2.cc: New.
1310 * include/bits/istream.tcc (basic_istream<>::getline): Prefer
1311 '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
1312 __n == numeric_limits<>::min().
1314 * include/bits/istream.tcc: Minor tweaks.
1316 * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
1318 * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
1320 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
1322 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
1324 * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
1326 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
1329 Fixups for -Weffc++.
1330 * include/bits/basic_string.h (basic_string::operator=): Return
1331 pointer to this instead of result of assign. Although redundant,
1332 this doesn't impact resultant codegen.
1334 * include/bits/locale_facets.h (__numpunct_cache): Declare
1335 assignment opxserator and copy constructor private.
1336 (__timepunct_cache): Same.
1337 (__moneypunct_cache): Same.
1338 (collate): Use member initialization list for _M_c_locale_collate.
1339 * config/locale/gnu/messages_members.h: Same.
1340 * config/locale/gnu/time_members.h (__timepunct): Same.
1341 * src/codecvt.cc: Use member initialization list to initialize
1342 _M_c_locale_codecvt.
1343 * src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
1344 * config/os/gnu-linux/ctype_noninline.h: Same.
1345 * src/locale.cc (_Impl): Same.
1346 * src/locale_init.cc: Same.
1347 * src/localename.cc: Same.
1349 * include/bits/basic_ios.h (basic_ios): Complete member
1350 initialization list.
1351 * include/bits/istream.tcc (basic_istream::sentry): Same.
1352 * include/bits/ostream.tcc (basic_ostream::sentry): Same.
1353 * include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
1354 _M_pback to member initialization list.
1355 * include/std/std_streambuf.h: Same.
1356 * include/std/std_sstream.h: Same, for _M_mode.
1357 * src/ios.cc (ios_base): Same.
1359 * include/ext/rope: Make derived classes match exception
1361 specifications. Add copy constructors and assignment operators.
1363 * include/debug/safe_base.h (_Safe_sequence_base): Declare copy
1364 constructor and assignment operator protected.
1365 (_Safe_iterator_base): Same.
1366 * include/debug/formatter.h (_Error_formatter): Define copy
1367 constructor and assignment operator.
1369 * include/backward/strstream: Declare assignment operator and copy
1370 constructor private.
1372 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
1374 * testsuite/testsuite_hooks.h (func_callback): Declare copy
1375 constructor and assignment operator private.
1376 * testsuite/23_containers/deque/cons/clear_allocator.cc: Match
1377 exception specifications of base class.
1378 * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
1379 * testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
1380 * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
1382 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
1384 * libsupc++/cxxabi.h: Remove duplicated and useless public and
1385 private keywords in class declarations. Format. Use
1386 stddef.h. Expose declarations to "C" compilation.
1387 * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
1388 assignment operator.
1389 (__dyncast_result): Same.
1390 * libsupc++/vec.cc (uncatch_exception): Same, use member
1391 initialization list.
1393 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
1395 * testsuite/abi_check.cc: Add unistd.h.
1397 2004-05-22 Paolo Carlini <pcarlini@suse.de>
1400 * include/bits/locale_facets.tcc (__int_to_char(unsigned long),
1401 __int_to_char(unsigned long long)): Showpos is not relevant
1403 * testsuite/22_locale/num_put/put/char/15565.cc: New.
1404 * testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
1406 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
1408 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
1409 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
1410 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
1411 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
1412 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
1413 * testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
1415 2004-05-21 Matthias Klose <doko@debian.org>
1417 * docs/doxygen/run_doxygen: Bump required version.
1419 2004-05-21 Benjamin Kosnik <bkoz@redhat.com>
1421 * docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
1422 * docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
1424 2004-05-21 Paolo Carlini <pcarlini@suse.de>
1426 * include/bits/istream.tcc (ignore): Remove redundant line.
1427 (readsome): Tidy, closely following 27.6.1.3, p30.
1429 2004-05-20 Paolo Carlini <pcarlini@suse.de>
1431 * include/bits/istream.tcc (operator>>(basic_istream<>&,
1432 basic_string<>&)): Use a temporary buffer, thus avoiding
1433 reallocation for common case.
1434 * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
1436 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
1439 * include/bits/istream.tcc: Const-ification of a few variables.
1441 * include/bits/ostream.tcc: Trivial formatting fixes and
1442 const-ification of some variables.
1444 2004-05-20 Benjamin Kosnik <bkoz@redhat.com>
1448 * docs/doxygen/Intro.3: Remove Allocators.3.
1449 Add new extension headers, extension namespace list.
1450 * docs/doxygen/run_doxygen (problematic): Remove Allocators.3
1451 Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
1452 __gnu_debug::. Remove __policy_ renames.
1453 * docs/doxygen/guide.html: Add dot note.
1454 * docs/doxygen/stdheader.cc: Edit, add files.
1455 * docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
1457 2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
1459 * include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
1461 2004-05-18 Jan Beulich <jbeulich@novell.com>
1464 * scripts/create_testsuite_files: Also find source files through
1467 2004-05-18 Jan Beulich <jbeulich@novell.com>
1470 * testsuite/lib/libstdc++.exp: Make test files writable.
1472 2004-05-18 Paolo Carlini <pcarlini@suse.de>
1474 * include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
1477 2004-05-18 Dhruv Matani <dhruvbird@gmx.net>
1479 * include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
1480 allocation loop which removes blocks from the global free list
1481 from O(N) to O(1) when the required blocks are <= the number
1484 2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
1486 * include/ext/enc_filebuf.h: Move concept-check macro to class scope.
1488 2004-05-17 Benjamin Kosnik <bkoz@redhat.com>
1490 * testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
1491 * testsuite/23_containers/deque/14340.cc: New.
1492 * testsuite/23_containers/list/14340.cc: New.
1493 * testsuite/23_containers/map/14340.cc: New.
1494 * testsuite/23_containers/multimap/14340.cc: New.
1495 * testsuite/23_containers/multiset/14340.cc: New.
1496 * testsuite/23_containers/set/14340.cc: New.
1497 * testsuite/23_containers/vector/14340.cc: New.
1499 2004-05-17 Douglas Gregor <gregod@cs.rpi.edu>
1502 * include/debug/safe_iterator.h (_Safe_iterator converting
1503 constructor): Only allow declaration to instantiate when the
1504 incoming _Safe_iterator has exactly the right iterator type.
1506 2004-05-17 Jonathan Wakely <redi@gcc.gnu.org>
1508 * include/bits/boost_concept_check.h: Fix old attribute syntax.
1509 * testsuite/23_containers/map/modifiers/swap.cc: Define operator<
1510 to pass concept-checks.
1511 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
1512 * testsuite/23_containers/set/modifiers/swap.cc: Same.
1513 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
1515 2004-05-16 Paolo Carlini <pcarlini@suse.de>
1517 * include/std/std_bitset.h: Minor formatting fixes.
1519 2004-05-16 Paolo Carlini <pcarlini@suse.de>
1521 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
1522 Consistently update __bin._M_free[0].
1523 (__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
1524 __bin._M_free[0] to simplify the while loop (i.e., the number
1525 of iterations becomes known at the outset).
1527 2004-05-15 Paolo Carlini <pcarlini@suse.de>
1529 * include/std/std_bitset.h: Trivial formatting fixes.
1531 2004-05-14 Paolo Carlini <pcarlini@suse.de>
1532 Ivan Godard <igodard@pacbell.net>
1535 * include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
1536 * testsuite/23_containers/bitset/ext/15361.cc: New.
1538 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
1541 * crossconfig.m4: Add C99 math bits for linux crosses.
1542 * configure: Regenerate.
1544 2004-05-13 Simon Marshall <simon.marshall@misys.com>
1545 Benjamin Kosnik <bkoz@redhat.com>
1548 * include/bits/locale_facets.h: Fix for -fno-for-scope.
1549 * include/debug/safe_sequence.h: Same.
1550 * include/debug/safe_iterator.tcc: Same.
1551 * src/debug.cc: Same.
1552 * src/locale.cc: Same.
1553 * src/locale_init.cc: Same.
1554 * src/localename.cc: Same.
1555 * config/locale/gnu/ctype_members.cc: Same.
1556 * config/locale/gnu/numeric_members.cc: Same.
1557 * testsuite/testsuite_abi.cc: Same.
1558 * testsuite/testsuite_hooks.cc: Same.
1560 2004-05-13 Jonathan Wakely <redi@gcc.gnu.org>
1562 * docs/html/abi.html: Document effect of -fabi-version on value
1563 of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
1566 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
1569 * docs/html/faq/index.html: Update docs for libsupc++ usage.
1571 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
1574 * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
1576 (_GLIBCXX_mutex_address): Same.
1577 (_GLIBCXX_once): Same.
1578 (_GLIBCXX_mutex_init): Same.
1579 (_GLIBCXX_mutex_address_init): Same.
1581 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
1583 * docs/html/abi.html: New.
1584 * docs/html/abi.txt: Remove.
1585 * docs/html/documentation.html: Add link.
1586 * testsuite/Makefile.am: Add files.
1587 * testsuite/Makefile.in: Regenerated.
1588 * testsuite/abi_check.cc: Move and modify code into...
1589 * testsuite/testsuite_abi.cc: Add.
1590 * testsuite/testsuite_abi.h: Add.
1592 * docs/html/17_intro/TODO: Update.
1593 * include/bits/stl_pair.h: Format.
1595 2004-05-06 Matthias Klose <doko@debian.org>
1597 * include/backward/iterator.h: Add GPL copyright info,
1598 with exception clause.
1599 * include/bits/boost_concept_check.h: Likewise.
1601 * libsupc++/tinfo.h: Likewise.
1602 * po/string_literals.cc: Likewise.
1604 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
1606 * acinclude.m4: Replace -W with more speaking -Wextra.
1607 * configure: Rebuilt.
1609 2004-05-03 Paolo Carlini <pcarlini@suse.de>
1611 Optimize locale::_M_impl->_M_names for the most common cases:
1612 !_M_names[0] means unnamed; !_M_names[1] means all the categories
1613 the same name (_M_names[0] && _M_names[1] means that the full set
1614 of _M_names must be processed, the general case).
1615 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
1616 Tweak, saving work when !_M_names[1].
1617 (locale::locale(const locale&, _Facet*): Simplify: now just setting
1618 _M_names[0] = 0 means unnamed.
1619 * src/locale.cc (locale::operator==): Deal first with the common,
1620 easy cases, otherwise fall back to locale::name().
1621 (locale::name()): Tweak, if !_M_names[0] just return "*".
1622 (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
1623 copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
1624 * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
1625 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
1626 Simplify when !std::strchr, just updating _M_names[0]; clean up.
1627 (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
1628 for the general case (full set of names), then do the usual work;
1631 * src/locale.cc (locale::name()): Reserve space in __ret.
1632 * src/locale_init.cc (locale::global(const locale&)): Save
1633 the name in a temporary.
1634 * src/localename.cc (locale::locale(const char*)): Reserve space
1637 2004-04-29 Paolo Carlini <pcarlini@suse.de>
1639 * src/locale.cc (locale::operator==): Always avoid constructing
1640 locale::name(), directly compare pairs of _M_names.
1642 2004-04-26 Paolo Carlini <pcarlini@suse.de>
1644 * include/bits/istream.tcc: Fix comment.
1646 2004-04-26 Paolo Carlini <pcarlini@suse.de>
1648 * include/bits/stl_vector.h: Trivial formatting fixes.
1649 * include/bits/vector.tcc: Likewise.
1651 2004-04-25 Paolo Carlini <pcarlini@suse.de>
1653 PR libstdc++/15002 (continued again)
1654 * include/bits/istream.tcc (getline(basic_istream<>&,
1655 basic_string<>&, _CharT)): Use a temporary buffer, thus
1656 avoiding reallocation for common case.
1658 * include/bits/basic_string.tcc (_S_construct(_InIterator,
1659 _InIterator, const _Alloc&, input_iterator_tag)): Tweak size
1660 of temporary buffer to a power of two.
1662 * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.
1664 2004-04-25 Paolo Carlini <pcarlini@suse.de>
1666 * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
1668 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
1670 * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
1672 2004-04-24 Paolo Carlini <pcarlini@suse.de>
1673 Petur Runolfsson <peturr02@ru.is>
1675 PR libstdc++/15002 (continued)
1676 * include/bits/istream.tcc (basic_istream<>::getline(char_type*,
1677 streamsize, char_type)): Use traits::find/copy in a loop to speed
1678 up greatly the function in the common case (I/O buffer size >> 1).
1680 2004-04-24 Paolo Carlini <pcarlini@suse.de>
1682 * testsuite/27_io/basic_istream/getline/char/4.cc: New.
1684 * include/bits/istream.tcc (getline(basic_istream<>&,
1685 basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
1686 of sbumpc(), consistently with the other functions, thus also
1687 dealing correctly with the case of exceeded string::max_size().
1689 2004-04-24 Matthias Klose <doko@debian.org>
1691 Jonathan Wakely <cow@compsoc.man.ac.uk>
1692 * docs/html/configopts.html: Fix reference to allocator config option.
1694 2004-04-23 Andrew Pinski <pinskia@physics.uc.edu>
1696 * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
1697 * configure: Regenerate.
1699 2004-04-23 Daniel Jacobowitz <drow@mvista.com>
1701 PR libstdc++/15047, libstdc++/11610
1702 * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
1703 (libstdc++_init): Don't pass outdir to v3-copy-files.
1705 2004-04-21 Paolo Carlini <pcarlini@suse.de>
1707 * include/bits/deque.tcc: Trivial formatting fixes.
1708 * include/bits/stl_deque.h: Likewise.
1709 * include/bits/stl_list.h: Likewise.
1710 * include/bits/stl_tree.h: Likewise.
1712 2004-04-21 Paolo Carlini <pcarlini@suse.de>
1713 Andrew Pinski <pinskia@physics.uc.edu>
1715 * include/bits/basic_string.tcc (_M_mutate): Don't compute
1716 __src unnecessarily.
1718 2004-04-19 Benjamin Kosnik <bkoz@redhat.com>
1720 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
1721 Clarify assertion, set test variable to false before assert.
1722 * testsuite/27_io/basic_istringstream/str/char/1.cc: Same.
1723 * testsuite/27_io/basic_stringstream/str/char/1.cc: Same.
1724 * testsuite/27_io/ios_base/storage/2.cc: Same.
1726 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix
1728 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same.
1729 * testsuite/27_io/fpos/14320-3.cc: Same.
1731 * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std.
1732 * testsuite/27_io/fpos/1.cc: Same.
1733 * testsuite/27_io/basic_stringstream/2.cc: Same.
1734 * testsuite/27_io/basic_stringbuf/4.cc: Same.
1735 * testsuite/27_io/basic_stringbuf/1.cc: Same.
1736 * testsuite/27_io/basic_stringbuf/2.cc: Same.
1737 * testsuite/27_io/basic_streambuf/2.cc: Same.
1738 * testsuite/27_io/basic_ostringstream/2.cc: Same.
1739 * testsuite/27_io/basic_ostream/2.cc: Same.
1740 * testsuite/27_io/basic_ofstream/2.cc: Same.
1741 * testsuite/27_io/basic_istringstream/2.cc: Same.
1742 * testsuite/27_io/basic_istream/2.cc: Same.
1743 * testsuite/27_io/basic_iostream/2.cc: Same.
1744 * testsuite/27_io/basic_ios/2.cc: Same.
1745 * testsuite/27_io/basic_ifstream/2.cc: Same.
1746 * testsuite/27_io/basic_fstream/2.cc: Same.
1747 * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx.
1749 * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare
1750 unsigned against zero.
1751 * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same.
1752 * testsuite/21_strings/basic_string/capacity/char/1.cc: Same.
1754 * testsuite/18_support/new_delete_placement.cc: Initialize
1755 variables before first use.
1756 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same.
1757 * testsuite/21_strings/char_traits/requirements/char/1.cc: Same.
1758 * testsuite/21_strings/char_traits/requirements/short/1.cc: Same.
1759 * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
1761 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same.
1762 * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
1764 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same.
1765 * testsuite/27_io/types/2.cc: Same.
1767 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary
1769 * testsuite/27_io/fpos/14775.cc: Same.
1771 2004-04-19 Paolo Carlini <pcarlini@suse.de>
1773 PR libstdc++/15002 (partial)
1774 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
1775 Special case __n2 == 1, not calling traits_type::assign/copy.
1777 2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
1779 * include/bits/stl_bvector.h: Use _M_impl._M_start.
1781 2004-04-16 Benjamin Kosnik <bkoz@redhat.com>
1783 * include/bits/c++config (_GLIBCXX_STD): New.
1784 * src/list.cc: Use it.
1785 * include/std/std_bitset.h: Same.
1786 * include/bits/vector.tcc: Same.
1787 * include/bits/stl_set.h: Same.
1788 * include/bits/stl_multiset.h: Same.
1789 * include/bits/stl_multimap.h: Same.
1790 * include/bits/stl_map.h: Same.
1791 * include/bits/stl_list.h: Same.
1792 * include/bits/stl_vector.h: Same.
1793 * include/bits/stl_bvector.h: Same.
1794 * include/bits/stl_deque.h: Same.
1795 * include/bits/deque.tcc: Same.
1796 * include/bits/list.tcc: Same.
1797 * include/debug/vector: Same.
1798 * include/debug/set.h: Same.
1799 * include/debug/multiset.h: Same.
1800 * include/debug/multimap.h: Same.
1801 * include/debug/map.h: Same.
1802 * include/debug/list: Same.
1803 * include/debug/deque: Same.
1804 * include/debug/bitset: Same.
1805 * include/debug/formatter.h (__gnu_debug): Remove using directive.
1806 Add using declaration for std::type_info.
1807 * include/debug/safe_iterator.h: Add using declaration for
1808 std::iterator_traits and std::pair.
1809 * src/debug_list.cc: New.
1810 * src/Makefile.am: Add debug_list.cc.
1811 * src/Makefile.in: Regenerate.
1812 * config/linker-map.gnu: Add _List_node_base exports for std and
1815 * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
1816 idiom that other containers use.
1817 * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
1819 2004-04-16 Paolo Carlini <pcarlini@suse.de>
1822 * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt
1824 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New.
1825 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New.
1827 2004-04-16 Paolo Carlini <pcarlini@suse.de>
1829 * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not
1831 * config.h.in: Regenerate.
1833 2004-04-16 Paolo Carlini <pcarlini@suse.de>
1835 * config/locale/generic/monetary_members.cc
1836 (moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling
1837 btowc unnecessarily, just cast to wchar_t (the concerned chars
1838 all belong to the basic character set).
1839 * config/locale/generic/numeric_members.cc
1840 (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
1841 * config/locale/gnu/monetary_members.cc
1842 (moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise.
1843 * config/locale/gnu/numeric_members.cc
1844 (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
1846 2004-04-15 Paolo Carlini <pcarlini@suse.de>
1848 * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl
1849 avoid constructing unnecessarily this->name().
1851 2004-04-14 Zack Weinberg <zack@codesourcery.com>
1853 * testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
1854 Change definition of CXX to use $(shell) instead of backticks.
1855 * testsuite/Makefile.in: Regenerate.
1857 2004-04-12 Dhruv Matani <dhruvbird@gmx.net>
1859 * testsuite/performance/20_util/allocator/list_sort_search.cc:
1860 Minor formatting fixes.
1861 * testsuite/performance/20_util/allocator/map_mt_find.cc:
1864 2004-04-12 Paolo Carlini <pcarlini@suse.de>
1866 * config/locale/gnu/numeric_members.cc
1867 (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
1868 in __uselocale, since btowc is called for chars belonging to
1869 the basic character set.
1871 2004-04-09 Paolo Carlini <pcarlini@suse.de>
1873 * testsuite/22_locale/messages/members/char/1.cc: Remove junk.
1874 * testsuite/22_locale/messages/members/char/2.cc: Ditto.
1875 * testsuite/22_locale/messages/members/char/3.cc: Ditto.
1876 * testsuite/22_locale/num_get/get/char/1.cc: Ditto.
1877 * testsuite/22_locale/num_get/get/char/2.cc: Ditto.
1878 * testsuite/22_locale/num_get/get/char/3.cc: Ditto.
1879 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
1880 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
1881 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
1882 * testsuite/22_locale/num_put/put/char/1.cc: Ditto.
1883 * testsuite/22_locale/num_put/put/char/2.cc: Ditto.
1884 * testsuite/22_locale/num_put/put/char/3.cc: Ditto.
1885 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
1886 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
1887 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
1888 * testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
1889 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.
1891 2004-04-07 Paolo Carlini <pcarlini@suse.de>
1893 * config/locale/generic/time_members.cc
1894 (__timepunct<char>::_M_initialize_timepunct,
1895 __timepunct<wchar_t>::_M_initialize_timepunct): the correct
1896 _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
1897 * config/locale/gnu/time_members.cc
1898 (__timepunct<char>::_M_initialize_timepunct,
1899 __timepunct<wchar_t>::_M_initialize_timepunct): Ditto.
1900 * testsuite/22_locale/time_get/get_monthname/char/4.cc: New.
1901 * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New.
1903 * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk.
1904 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto.
1905 * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto.
1906 * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto.
1907 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto.
1908 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto.
1909 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto.
1910 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto.
1911 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
1912 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto.
1913 * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto.
1914 * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto.
1915 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
1916 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto.
1917 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto.
1918 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto.
1919 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
1920 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto.
1921 * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto.
1922 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
1923 * testsuite/22_locale/time_put/put/char/1.cc: Ditto.
1924 * testsuite/22_locale/time_put/put/char/2.cc: Ditto.
1925 * testsuite/22_locale/time_put/put/char/3.cc: Ditto.
1926 * testsuite/22_locale/time_put/put/char/4.cc: Ditto.
1927 * testsuite/22_locale/time_put/put/char/5.cc: Ditto.
1928 * testsuite/22_locale/time_put/put/char/6.cc: Ditto.
1929 * testsuite/22_locale/time_put/put/char/7.cc: Ditto.
1930 * testsuite/22_locale/time_put/put/char/8.cc: Ditto.
1931 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto.
1932 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto.
1933 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto.
1934 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto.
1935 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto.
1936 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto.
1937 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto.
1938 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto.
1940 * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos.
1942 2004-04-07 Paolo Carlini <pcarlini@suse.de>
1944 * config/locale/gnu/monetary_members.cc
1945 (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer
1946 _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC,
1947 and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC,
1948 _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING.
1949 * config/locale/gnu/numeric_members.cc
1950 (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT
1951 and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP.
1953 2004-04-06 Benjamin Kosnik <bkoz@redhat.com>
1955 Fixups for EDG front end.
1956 * include/ext/rope: Instead of non-existent function
1957 _Data_allocate, use allocator's allocate. Use this.
1958 (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag
1959 enumerations from _Rope_RopeRep here.
1960 * include/ext/ropeimpl.h: Same.
1961 * src/ext-inst.cc (_S_min_len): Fix up definition.
1963 * config/locale/gnu/ctype_members.cc: Qualify base class members
1965 * config/locale/generic/ctype_members.cc: Same.
1966 * config/locale/gnu/messages_members.h: Same.
1967 * config/locale/generic/messages_members.h: Same.
1968 * src/ctype.cc: Same.
1969 * include/bits/codecvt.h: Same.
1971 * include/bits/boost_concept_check.h: Declare.
1972 (__error_type_must_be_an_unsigned_integer_type): Remove this.
1973 (__error_type_must_be_an_integer_type): Remove this.
1974 (__error_type_must_be_a_signed_integer_type): Remove this.
1976 * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast.
1978 * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception
1979 specification to definition.
1980 (__cxa_allocate_exception): Same.
1981 * libsupc++/eh_catch.cc (__cxa_begin_catch): Same.
1982 * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same.
1983 (__cxa_get_globals): Same.
1985 * libsupc++/del_op.cc: Add comment about freestanding.
1987 2004-04-05 Paolo Carlini <pcarlini@suse.de>
1989 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
1990 The critical section is actually very small, only two assignments.
1992 2004-04-04 Paolo Carlini <pcarlini@suse.de>
1993 Petur Runolfsson <peturr02@ru.is>
1995 * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New,
1996 adapted from libstdc++/11378.
1998 2004-04-03 Paolo Carlini <pcarlini@suse.de>
2000 * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out
2001 some duplicated code.
2002 (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used
2003 in the single threaded case.
2004 * testsuite/performance/20_util/allocator/list_sort_search.cc:
2005 Reorder and renumber the tests consistently with the other testfiles.
2006 * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
2007 * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
2008 * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
2010 2004-04-02 Paolo Carlini <pcarlini@suse.de>
2012 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
2013 Rearrange arithmetic to avoid computing two divisions at
2016 2004-04-01 Paolo Carlini <pcarlini@suse.de>
2018 * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize):
2019 Streamline the second half, wrapping it in a single
2020 '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding
2021 conditionals inside loops.
2023 2004-04-01 Paolo Carlini <pcarlini@suse.de>
2026 * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
2027 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
2028 GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
2029 to _GLIBCXX_RES_LIMITS.
2030 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
2032 * testsuite/testsuite_hooks.h: Declare set_file_limit.
2033 * testsuite/testsuite_hooks.cc: Define it, using getrlimit
2034 and setrlimit(RLIMIT_FSIZE).
2035 * testsuite/27_io/fpos/14775.cc: New.
2036 * config.h.in: Regenerate.
2037 * configure: Likewise.
2039 2004-03-31 Paolo Carlini <pcarlini@suse.de>
2041 * config/locale/generic/c_locale.cc (__convert_to_v(long double&)):
2042 In v3 uses of sscanf, the special floating-point numbers INF,
2043 INFINITY, etc., cannot occur in input, therefore, if the latter
2044 is too large, ERANGE is always stored in errno, no need of finitel.
2046 2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
2049 * include/bits/stl_tree.h: Adjust initialization list order.
2051 2004-03-29 Loren J. Rittle <ljrittle@acm.org>
2053 * testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
2055 2004-03-29 Paolo Carlini <pcarlini@suse.de>
2057 * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
2058 on allocator behavior, the memory pointed by data2 may well be not
2061 2004-03-28 Chavdar Botev <cbotev@yahoo.com>
2064 * include/bits/basic_string.tcc
2065 (basic_string::basic_string(const basic_string&)): Pass to
2066 _Rep::_M_grab the actual allocator of the string being constructed
2067 not the default constructed one.
2069 2004-03-27 Benjamin Kosnik <bkoz@redhat.com>
2072 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2073 (__enc_traits::_M_destroy): New.
2074 (__enc_traits::~__enc_traits): Use it.
2075 (__enc_traits::operator=): Use _M_destroy, _M_init.
2076 (__enc_traits::__enc_traits): Same.
2078 2004-03-27 Petur Runolfsson <peturr02@ru.is>
2080 * testsuite/ext/enc_filebuf/char/13598.cc: New.
2082 2004-03-27 Paolo Carlini <pcarlini@suse.de>
2084 * include/ext/mt_allocator.h: Uglify consistently names of
2085 variables, members and classes; tidy.
2087 2004-03-27 Dhruv Matani <dhruvbird@gmx.net>
2089 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
2090 Deallocation loop rewrote.
2092 2004-03-26 Paolo Carlini <pcarlini@suse.de>
2094 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
2095 __mt_alloc<>::deallocate): Protect two instances of
2096 block->thread_id with __GTHREADS.
2098 2004-03-25 Gawain Bolton <gp.bolton@computer.org>
2100 * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
2101 default argument in constructors.
2102 (_Rb_tree::_M_empty_initialize): Remove.
2104 2004-03-25 Benjamin Kosnik <bkoz@redhat.com>
2106 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
2107 * testsuite/23_containers/set/operators/1_neg.cc: Same.
2109 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
2111 * include/bits/cpp_type_traits.h: Changed __is_pod
2112 completely. Now, it does not use any of the previous type_traits
2113 to detect the pod types, and it also detects function pointers as
2116 * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
2117 which encapsulates the internal implementation of an rb_tree. Made
2118 the allocator a base class of this class instead of the rb_tree,
2119 which was not conforming. This _Rb_tree_impl class is also
2120 specialized on whether the _Compare parameter is a POD type or
2121 not. If so, then it maintains the comparison function as a data
2122 member, otherwise it makes the _Compare parameter a base class of
2123 itself. Also, _M_key_compare is now a function instead of a data
2124 member, so that the above trick can work properly. Delegated the
2125 initialization of the other data members to this newly created
2126 class. Also, now other member functions of rb_tree must refer to
2127 _M_key_compare as _M_impl._M_key_compare(). The other data members
2128 (*) can be referenced to as _M_impl.(*), where
2129 (*) includes _M_header, and _M_node_count.
2131 2004-03-25 Paolo Carlini <pcarlini@suse.de>
2133 * include/ext/mt_allocator.h (__mt_alloc<>::tune):
2134 Add _M_min_bin, the size in bytes of the smallest bin.
2135 (__mt_alloc<>::tune()): Tweak accordingly.
2136 (__mt_alloc<>::tune(size_t, ...)): Likewise.
2137 (__mt_alloc<>::block_record): Change to a union: members next
2138 and thread_id are never used at the same time.
2139 (__mt_alloc<>::allocate): Update consistently.
2140 (__mt_alloc<>::deallocate): Likewise.
2141 (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
2142 _S_bin_size for the configurable _M_min_size.
2144 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
2146 * include/bits/stl_list.h: Created a _List_impl class and made it
2147 derive from the allocator, instead of the list deriving from the
2148 allocator class, which was not conformant. Changed all references
2149 from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
2150 as above (changed all references to the concerned variables).
2152 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
2154 * include/bits/stl_deque.h: Created a _Deque_impl class and made
2155 it derive from the allocator, instead of the deque deriving from
2156 the allocator class, which was not conformant. Changed all
2157 references to the _M_start, _M_finish, _M_map, and _M_map_size to
2159 (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
2160 qualification in 2 places where it was missing.
2161 (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
2163 * include/bits/deque.tcc: Same as above (changed all references to
2164 the concerned variables).
2166 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
2168 * include/bits/stl_vector.h: Created a _Vector_impl class and made
2169 it derive from the allocator, instead of the _Vector_base class,
2170 deriving from the allocator which was not conformant. Changed all
2171 references to the _M_start, _M_finish, and _M_end_of_storage to
2173 * include/bits/vector.tcc: Same as above (changed all references
2174 to the concerned variables).
2176 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
2178 * testsuite/23_containers/deque/cons/clear_allocator.cc: New.
2179 * testsuite/23_containers/list/cons/clear_allocator.cc: New.
2180 * testsuite/23_containers/vector/cons/clear_allocator.cc: New.
2182 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
2184 * include/ext/malloc_allocator.h: Fixed the construct function to
2185 call global placement new instead of assignment. Added a check
2186 after the return from malloc to check whether returned pointer is
2187 NULL, and if so, throw std::bad_alloc().
2188 * include/ext/debug_allocator.h: Added a check in the deallocate
2189 function to check whether the user has passed a NULL pointer or
2192 2004-03-24 Benjamin Kosnik <bkoz@redhat.com>
2194 * docs/html/20_util/allocator.html: Add bitmap_allocator links.
2196 2004-03-24 Andreas Schwab <schwab@suse.de>
2198 * testsuite/lib/prune.exp (prune_g++_output): Ignore errata
2199 warning from IA64 assembler.
2201 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
2203 * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
2204 function call __builtin_ctz instead of the while loop.
2205 (allocate) -> If condition has __builtin_expect.
2206 (deallocate) -> Ditto.
2207 Renamed a few left-over variables and typedefs according to the
2208 C++STYLE mentioned in the documentation.
2209 Protected calls to __gthread* by __gthread_active_p(), whose value
2210 is cached in the local variable __threads_active.
2212 2004-03-24 Felix Yen <fwy@alumni.brown.edu>
2214 * testsuite/performance/20_util/allocator/producer_consumer.cc:
2215 Use linear algorithm for producer.
2217 2004-03-24 Paolo Carlini <pcarlini@suse.de>
2219 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
2220 __mt_alloc<>::deallocate): Avoid redundant conditionals.
2222 2004-03-23 Benjamin Kosnik <bkoz@redhat.com>
2224 * include/bits/locale_facets.h: Tweaks for 80 column.
2225 (__numpunct_cache::_M_cache): Move to locale_facets.tcc.
2226 (__moneypunct_cache::_M_cache): Same.
2227 (num_get): Don't inherit from __num_base.
2229 (money_get): Don't inherit from money_base.
2231 (__timepunct::_M_am_pm_format): New.
2232 (time_get::_M_extract_num): Return iterator, use ios_base as argument.
2233 (time_get::_M_extract_name): Same.
2234 (time_get::_M_extract_via_format): Same.
2235 * include/bits/locale_facets.tcc: Tweaks for 80 column.
2236 Use _M_getloc instead of getloc.
2237 * testsuite/22_locale/money_put/put/char/9780-3.cc: New.
2238 * testsuite/22_locale/num_put/put/char/9780-2.cc: New.
2239 * testsuite/22_locale/time_put/put/char/9780-1.cc: New.
2241 2004-03-22 Paolo Carlini <pcarlini@suse.de>
2243 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
2244 * configure: Regenerate.
2245 * config/allocator/pool_allocator_base.h: New.
2246 * include/ext/pool_allocator.h: Convert to a standard-conforming
2248 * src/allocator.cc: Tweak instantiations.
2249 * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
2250 * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
2251 * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
2252 * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
2253 * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
2254 * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
2256 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
2258 * config/cpu/cris/atomicity.h (__atomic_add): Remove "static
2259 inline" and attribute-unused. Qualify parameter __mem with
2261 (__exchange_and_add): Ditto. Add back memory clobber to asm.
2263 2004-03-20 Paolo Carlini <pcarlini@suse.de>
2265 * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
2267 * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
2269 * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
2271 * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
2273 * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
2275 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
2277 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
2279 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
2281 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
2283 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
2286 2004-03-20 Paolo Carlini <pcarlini@suse.de>
2288 * include/std/std_valarray.h: Document DR389 [Ready].
2289 * docs/html/ext/howto.html: Add an entry for DR389.
2291 2004-03-19 Michael Eager <eager@mvista.com>
2293 * config/cpu/mips/atomicity.h: Prevent reg loads between LL and
2296 2004-03-19 Paolo Carlini <pcarlini@suse.de>
2298 * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
2300 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
2301 * testsuite/22_locale/num_get/get/char/13.cc: Likewise.
2302 * testsuite/22_locale/num_get/get/char/14.cc: Likewise.
2303 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
2304 * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
2305 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2306 * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
2307 * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
2308 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
2310 2004-03-19 Paolo Carlini <pcarlini@suse.de>
2311 Petur Runolfsson <peturr02@ru.is>
2314 * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
2315 no way to find out the conversion used by the underlying FILE*.
2316 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
2317 * testsuite/27_io/objects/char/9.cc: Tweak.
2319 2004-03-19 Paolo Carlini <pcarlini@suse.de>
2322 * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
2323 memory allocation/deallocation calls.
2324 * testsuite/ext/14648.cc: New.
2326 2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2329 * include/backward/bvector.h (bit_vector): Allocator is in std
2332 2004-03-19 Phil Edwards <phil@codesourcery.com>
2334 * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV,
2335 not libiconv. SUBST this variable as well.
2336 * testsuite/Makefile.am (site.exp): New target, based on that
2337 created by automake. Also set libiconv.
2339 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in,
2340 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2341 testsuite/Makefile.in: Regenerate.
2343 2004-03-16 Benjamin Kosnik <bkoz@redhat.com>
2345 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
2346 new_allocator for all hosts.
2347 * configure: Regenerate.
2349 2004-03-16 Paolo Carlini <pcarlini@suse.de>
2351 * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
2352 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
2354 2004-03-15 Paolo Carlini <pcarlini@suse.de>
2356 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
2357 Adjust the logic underlying the parsing of symbol to deal
2358 correctly with an optional sign component (i.e., when either
2359 negative_sign or positive_sign is empty)
2360 * testsuite/22_locale/money_get/get/char/19.cc: New.
2361 * testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
2363 2004-03-15 Paolo Carlini <pcarlini@suse.de>
2365 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
2366 Do not accept an incomplete currency symbol.
2367 * testsuite/22_locale/money_get/get/char/18.cc: New.
2368 * testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
2370 2004-03-13 Benjamin Kosnik <bkoz@redhat.com>
2372 * config/allocator: New.
2373 * config/allocator/bitmap_allocator_base.h: New.
2374 * config/allocator/malloc_allocator_base.h: New.
2375 * config/allocator/mt_allocator_base.h: New.
2376 * config/allocator/new_allocator_base.h: New.
2377 * include/bits/allocator.h: Include c++allocator.h.
2378 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
2379 * aclocal.m4: Regenerate.
2380 * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
2381 * configure: Regenerate.
2382 * include/Makefile.am (host_headers_extra): Add c++allocator.h.
2383 * include/Makefile.in: Regenerate.
2384 * docs/html/configopts.html: Add enable-libstdcxx-allocator.
2386 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
2388 * include/bits/allocator.h: Revert.
2390 2004-03-12 Paolo Carlini <pcarlini@suse.de>
2392 * docs/html/ext/howto.html: Add entry for DR 253 [Ready].
2393 * include/bits/gslice_array.h: Add comment about DR 253.
2394 * include/bits/indirect_array.h: Likewise.
2395 * include/bits/mask_array.h: Likewise.
2396 * include/bits/slice_array.h: Likewise.
2398 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
2400 * testsuite/20_util/allocator/14176.cc: New.
2401 * include/ext/mt_allocator.h: Formatting fixes.
2403 2004-03-11 Dhruv Matani <dhruvbird@HotPOP.com>
2405 * include/Makefile.am (ext_headers): Add
2406 ${ext_srcdir}/bitmap_allocator.h .
2407 * include/Makefile.in: Regenerate.
2408 * docs/html/ext/ballocator_doc.txt: New file.
2409 * include/ext/bitmap_allocator.h: New file.
2410 * testsuite/performance/20_util/allocator/list_sort_search.cc: Add
2412 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
2413 * testsuite/performance/20_util/allocator/producer_consumer.cc: Add
2414 test for the bitmap_allocator<>.
2415 * testsuite/performance/20_util/allocator/insert.cc: Likewise.
2416 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
2417 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
2419 2004-03-11 Paolo Carlini <pcarlini@suse.de>
2421 * include/std/std_complex.h (pow(const complex&, const _Tp&),
2422 pow(const _Tp&, const complex&), pow(const complex&,
2423 const complex&)): Fully qualify with std:: a few calls.
2424 * testsuite/26_numerics/complex/13450.cc: Minor tweak.
2426 2004-03-11 Steven Bosscher <stevenb@suse.de>
2429 * include/c_std/cmath.tcc (__cmath_power): Define inline.
2431 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
2433 * configure.ac: Bump AC_PREREQ to 2.59.
2435 2004-03-10 Paolo Carlini <pcarlini@suse.de>
2437 * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
2439 2004-03-10 Paul Kienzle <pkienzle@nist.gov>
2440 Paolo Carlini <pcarlini@suse.de>
2443 * include/std/std_complex.h (pow(const complex&, const _Tp&),
2444 pow(const _Tp&, const complex&)): Use cmath pow only when safe.
2445 * testsuite/26_numerics/complex/13450.cc: New.
2447 * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
2448 * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
2450 2004-03-10 Jerry Quinn <jlquinn@optonline.net>
2453 * include/bits/gslice_array.h (gslice_array()): Make public.
2454 (operator=(gslice_array)): Make public. Implement.
2455 * include/bits/indirect_array.h (indirect_array()): Make public.
2456 * include/bits/mask_array.h (mask_array()): Make public.
2457 (operator=(mask_array)): Make public. Implement.
2458 * include/bits/valarray_array.tcc (__valarray_copy):
2459 Comment. Add versions for gslice_array and mask_array.
2460 * testsuite/26_numerics/valarray_subset_assignment.cc: New test.
2462 2004-03-09 Benjamin Kosnik <bkoz@redhat.com>
2464 * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
2466 * testsuite/23_containers/vector/modifiers/swap.cc: Same.
2467 * testsuite/23_containers/set/modifiers/swap.cc: Same.
2468 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
2469 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
2470 * testsuite/23_containers/map/modifiers/swap.cc: Same.
2471 * testsuite/23_containers/list/modifiers/swap.cc: Same.
2473 * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
2475 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
2478 * testsuite/23_containers/deque/modifiers/swap.cc: New.
2479 * testsuite/23_containers/list/modifiers/swap.cc: New.
2480 * testsuite/23_containers/map/modifiers/swap.cc: New.
2481 * testsuite/23_containers/multimap/modifiers/swap.cc: New.
2482 * testsuite/23_containers/multiset/modifiers/swap.cc: New.
2483 * testsuite/23_containers/set/modifiers/swap.cc: New.
2484 * testsuite/23_containers/vector/modifiers/swap.cc: New.
2486 2004-03-08 Petur Runolfsson <peturr02@ru.is>
2489 * testsuite/22_locale/locale/cons/12658_thread.cc: New.
2491 2004-03-08 Paolo Carlini <pcarlini@suse.de>
2493 * docs/html/ext/howto.html: Add entry for DR 103 [WP].
2494 * include/bits/stl_multiset.h: Add comment about DR 103.
2495 * include/bits/stl_set.h: Likewise.
2497 2004-03-08 Paolo Carlini <pcarlini@suse.de>
2499 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
2500 The value _space_ indicates that at least one space is required
2502 * testsuite/22_locale/money_get/get/char/17.cc: New.
2503 * testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
2505 * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
2506 * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
2508 * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
2509 Remove redundant conditional on __str.size().
2511 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
2513 * include/bits/allocator.h: Switch defaults to mt_alloc.
2515 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
2517 * include/ext/mt_allocator.h (_S_initialize): If
2518 !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
2520 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
2523 * src/locale_init.cc (locale::locale): Lock critical regions with
2525 (locale::global): Same.
2526 * include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
2527 Add in once bits for cases without __GTHREAD_MUTEX_INIT.
2528 (__glibcxx_mutex_lock): Same.
2530 * config/cpu/generic/atomicity.h: Remove
2531 _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
2532 * src/misc-inst.cc: Move all locking bits out of this file.
2534 * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
2535 * src/misc-inst.cc: Same.
2536 * config/cpu/hppa/atomicity.h: Same.
2538 * config/linker-map.gnu: Remove types in the signature of atomic
2539 exports, as they may vary.
2541 2004-03-06 Paolo Carlini <pcarlini@suse.de>
2543 * include/bits/locale_facets.tcc: Tweak the comment preceding
2544 has_facet: doesn't throw.
2546 2004-03-06 Paolo Carlini <pcarlini@suse.de>
2548 * testsuite/22_locale/money_get/get/char/1.cc: Clean up.
2549 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
2550 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
2551 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
2552 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
2553 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
2554 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
2555 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
2557 2004-03-06 Paolo Carlini <pcarlini@suse.de>
2559 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
2560 num_get<>::_M_extract_int, num_get<>::do_get(bool&),
2561 __pad<>::_S_pad): Prefer plain operator== to traits::eq().
2562 * testsuite/testsuite_character.h (struct __gnu_test::character):
2564 * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char):
2567 2004-03-05 Paolo Carlini <pcarlini@suse.de>
2569 * testsuite/27_io/fpos/14320-2.cc: Remove xfail.
2571 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
2573 * testsuite/23_containers/multiset/insert/1.cc: Test result string.
2575 * testsuite/23_containers/bitset/invalidation/1.cc: Main always
2577 * testsuite/23_containers/deque/invalidation/4.cc: Same.
2578 * testsuite/23_containers/list/invalidation/1.cc: Same.
2579 * testsuite/23_containers/list/invalidation/2.cc: Same.
2580 * testsuite/23_containers/list/invalidation/3.cc: Same.
2581 * testsuite/23_containers/list/invalidation/4.cc: Same.
2582 * testsuite/23_containers/map/invalidation/2.cc: Same.
2583 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
2584 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
2585 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
2586 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
2587 * testsuite/23_containers/set/invalidation/1.cc: Same.
2588 * testsuite/23_containers/set/invalidation/2.cc: Same.
2589 * testsuite/23_containers/vector/invalidation/1.cc: Same.
2590 * testsuite/23_containers/vector/invalidation/2.cc: Same.
2591 * testsuite/23_containers/vector/invalidation/3.cc: Same.
2592 * testsuite/23_containers/vector/invalidation/4.cc: Same.
2594 2004-03-04 Paolo Carlini <pcarlini@suse.de>
2596 * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to
2598 * testsuite/lib/libstdc++.exp: Don't add it conditionally to
2600 * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT"
2601 from the dg-options.
2602 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
2603 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
2604 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
2605 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
2606 * testsuite/23_containers/vector/resize/1.cc: Likewise.
2607 * testsuite/26_numerics/complex_value.cc: Likewise.
2608 * testsuite/27_io/ios_base/storage/1.cc: Likewise.
2609 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
2610 * testsuite/27_io/ios_base/storage/3.cc: Likewise.
2611 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
2612 * testsuite/27_io/objects/char/5.cc: Likewise.
2613 * testsuite/27_io/objects/wchar_t/5.cc: Likewise.
2614 * testsuite/backward/11460.cc: Likewise.
2615 * testsuite/thread/pthread7-rope.cc: Likewise.
2617 * testsuite/21_strings/basic_string/compare/char/1.cc: Add
2618 missing test variable.
2619 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add
2620 missing test variable.
2622 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
2624 * testsuite/20_util/allocator/1.cc: Provide explicit
2625 instantiations for non-weak systems.
2626 * testsuite/20_util/binders.cc: Same.
2627 * testsuite/20_util/allocator/8230.cc: Same.
2628 * testsuite/20_util/allocator/10378.cc: Same.
2629 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
2630 * testsuite/22_locale/ctype/is/char/2.cc: Same.
2631 * testsuite/thread/pthread7-rope.cc: Same.
2632 * testsuite/thread/pthread6.cc: Same.
2633 * testsuite/thread/pthread5.cc: Same.
2634 * testsuite/thread/pthread4.cc: Same.
2635 * testsuite/thread/pthread1.cc: Same.
2636 * testsuite/ext/rope.cc: Same.
2637 * testsuite/ext/hash_set.cc: Same.
2638 * testsuite/ext/hash_map.cc: Same.
2639 * testsuite/ext/concept_checks.cc: Same.
2640 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
2641 * testsuite/25_algorithms/unique/2.cc: Same.
2642 * testsuite/25_algorithms/unique/1.cc: Same.
2643 * testsuite/25_algorithms/rotate.cc: Same.
2644 * testsuite/25_algorithms/min_max.cc: Same.
2645 * testsuite/25_algorithms/equal.cc: Same.
2646 * testsuite/24_iterators/rel_ops.cc: Same.
2647 * testsuite/24_iterators/iterator.cc: Same.
2648 * testsuite/24_iterators/insert_iterator.cc: Same.
2649 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2650 * testsuite/24_iterators/back_insert_iterator.cc: Same.
2651 * testsuite/23_containers/vector/resize/1.cc: Same.
2652 * testsuite/23_containers/vector/modifiers/2.cc: Same.
2653 * testsuite/23_containers/vector/modifiers/1.cc: Same.
2654 * testsuite/23_containers/vector/invalidation/4.cc: Same.
2655 * testsuite/23_containers/vector/invalidation/3.cc: Same.
2656 * testsuite/23_containers/vector/invalidation/2.cc: Same.
2657 * testsuite/23_containers/vector/invalidation/1.cc: Same.
2658 * testsuite/23_containers/vector/element_access/1.cc: Same.
2659 * testsuite/23_containers/vector/cons/6513.cc: Same.
2660 * testsuite/23_containers/vector/cons/3.cc: Same.
2661 * testsuite/23_containers/vector/cons/2.cc: Same.
2662 * testsuite/23_containers/vector/cons/1.cc: Same.
2663 * testsuite/23_containers/vector/capacity/8230.cc: Same.
2664 * testsuite/23_containers/vector/capacity/1.cc: Same.
2665 * testsuite/23_containers/vector/bool/6886.cc: Same.
2666 * testsuite/23_containers/stack/members/7158.cc: Same.
2667 * testsuite/23_containers/set/invalidation/2.cc: Same.
2668 * testsuite/23_containers/set/invalidation/1.cc: Same.
2669 * testsuite/23_containers/queue/members/7157.cc: Same.
2670 * testsuite/23_containers/priority_queue/members/7161.cc: Same.
2671 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
2672 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
2673 * testsuite/23_containers/multiset/insert/1.cc: Same.
2674 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
2675 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
2676 * testsuite/23_containers/map/operators/1.cc: Same.
2677 * testsuite/23_containers/map/invalidation/2.cc: Same.
2678 * testsuite/23_containers/map/invalidation/1.cc: Same.
2679 * testsuite/23_containers/map/insert/1.cc: Same.
2680 * testsuite/23_containers/list/operators/4.cc: Same.
2681 * testsuite/23_containers/list/operators/3.cc: Same.
2682 * testsuite/23_containers/list/operators/2.cc: Same.
2683 * testsuite/23_containers/list/operators/1.cc: Same.
2684 * testsuite/23_containers/list/modifiers/3.cc: Same.
2685 * testsuite/23_containers/list/modifiers/2.cc: Same.
2686 * testsuite/23_containers/list/modifiers/1.cc: Same.
2687 * testsuite/23_containers/list/invalidation/4.cc: Same.
2688 * testsuite/23_containers/list/invalidation/3.cc: Same.
2689 * testsuite/23_containers/list/invalidation/2.cc: Same.
2690 * testsuite/23_containers/list/invalidation/1.cc: Same.
2691 * testsuite/23_containers/list/cons/9.cc: Same.
2692 * testsuite/23_containers/list/cons/8.cc: Same.
2693 * testsuite/23_containers/list/cons/7.cc: Same.
2694 * testsuite/23_containers/list/cons/6.cc: Same.
2695 * testsuite/23_containers/list/cons/5.cc: Same.
2696 * testsuite/23_containers/list/cons/4.cc: Same.
2697 * testsuite/23_containers/list/cons/3.cc: Same.
2698 * testsuite/23_containers/list/cons/2.cc: Same.
2699 * testsuite/23_containers/list/cons/1.cc: Same.
2700 * testsuite/23_containers/list/capacity/1.cc: Same.
2701 * testsuite/23_containers/deque/operators/1.cc: Same.
2702 * testsuite/23_containers/deque/invalidation/4.cc: Same.
2703 * testsuite/23_containers/deque/invalidation/3.cc: Same.
2704 * testsuite/23_containers/deque/invalidation/2.cc: Same.
2705 * testsuite/23_containers/deque/invalidation/1.cc: Same.
2706 * testsuite/23_containers/deque/cons/2.cc: Same.
2707 * testsuite/23_containers/deque/cons/1.cc: Same.
2709 * src/allocator.cc: Add char, wchar_t instantiations
2710 to match extern template declarations in memory.h.
2712 2004-03-03 Paolo Carlini <pcarlini@suse.de>
2714 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
2715 Fix warning regression.
2717 2004-03-03 Paolo Carlini <pcarlini@suse.de>
2719 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
2720 Deal properly with empty __digits and negative frac_digits,
2723 2004-03-03 Jonathan Wakely <redi@gcc.gnu.org>
2725 * docs/html/documentation.html: Regenerate.
2727 2004-03-02 Paolo Carlini <pcarlini@suse.de>
2730 * include/bits/postypes.h (class streamoff): Remove, now
2731 streamoff is just typedef a 64 bit signed integer type.
2732 (class fpos): Tweak consistently.
2733 * testsuite/27_io/fpos/14320-1.cc: New.
2734 * testsuite/27_io/fpos/14320-2.cc: New.
2735 * testsuite/27_io/fpos/14320-3.cc: New.
2736 * testsuite/27_io/fpos/14320-4.cc: New.
2737 * testsuite/27_io/fpos/14320-5.cc: New.
2738 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now.
2740 2004-03-02 Paolo Carlini <pcarlini@suse.de>
2742 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
2743 Reorganize a bit the main parsing loop, thus early detecting
2744 an empty value component.
2745 * testsuite/22_locale/money_get/get/char/16.cc: New.
2746 * testsuite/22_locale/money_get/get/wchar_t/16.cc: New.
2748 2004-03-02 Benjamin Kosnik <bkoz@redhat.com>
2750 Support automake 1.8.2
2751 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
2752 * po/Makefile.am (EXTRA_DIST): New.
2753 * po/Makefile.in: Regenerate.
2754 * Makefile.in: Same.
2755 * include/Makefile.in: Same.
2756 * libmath/Makefile.in: Same.
2757 * libsupc++/Makefile.in: Same.
2758 * src/Makefile.in: Same.
2759 * testsuite/Makefile.in: Same.
2761 * include/Makefile.am (${host_builddir}/gthr-posix.h): Use
2762 __GXX_WEAK__ instead of SUPPORTS_WEAK.
2763 (${host_builddir}/gthr-default.h): Same.
2764 (${host_builddir}/gthr.h): Same.
2765 * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove
2766 _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via
2768 * aclocal.m4: Regenerate.
2769 * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK.
2770 * config.h.in: Regenerate.
2773 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
2775 Support autoconf 2.59
2776 * acinclude.m4: Quote correctly.
2777 * aclocal.m4: Regenerate.
2780 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
2782 * docs/html/test.html: Add multilib RUNTESTFLAGS example.
2784 * docs/html/18_support/howto.html: Add bit about writing to
2785 stderr, mostly by Zack.
2787 2004-03-01 Paolo Carlini <pcarlini@suse.de>
2789 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
2790 money_get<>::do_get(string_type&)): ... and two more.
2792 2004-03-01 Paolo Carlini <pcarlini@suse.de>
2794 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
2795 Fix thinkos in the switch from string_type& to string& as last
2798 2004-03-01 Paolo Carlini <pcarlini@suse.de>
2800 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
2801 Also when parsing exponent sign, first look for thousands_sep
2802 and decimal_point; tweak a bit.
2803 * testsuite/22_locale/num_get/get/char/15.cc: New.
2804 * testsuite/22_locale/num_get/get/wchar_t/15.cc: New.
2806 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
2807 num_get<>::_M_extract_int): Reorder some conditionals.
2809 2004-03-01 Paolo Carlini <pcarlini@suse.de>
2811 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
2812 Consistently with numpunct, enforce the requirements in
2813 22.2.6.3, p3 for the thousands separators; tweak a bit.
2814 * testsuite/22_locale/money_get/get/char/15.cc: New.
2815 * testsuite/22_locale/money_get/get/wchar_t/15.cc: New.
2817 2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com>
2819 * testsuite/lib/libstdc++.exp (v3-list-tests): Use
2820 testsuite_files from correct multilib blddir when running
2823 2004-02-29 Phil Edwards <phil@codesourcery.com>
2825 * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy
2826 the summary file to the logfile.
2827 * testsuite/Makefile.in: Regenerate.
2829 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2831 * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
2833 * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
2834 __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.
2836 2004-02-28 Paolo Carlini <pcarlini@suse.de>
2838 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
2839 According to 22.2.3.1, p2, 'units' may be followed by 'e' with
2840 no 'decimal-point' in the middle: in this case too we must fix
2841 up __found_grouping; slightly tweak.
2842 * testsuite/22_locale/num_get/get/char/14.cc: New.
2843 * testsuite/22_locale/num_get/get/wchar_t/14.cc: New.
2845 2004-02-27 Eric Christopher <echristo@redhat.com>
2846 Phil Edwards <phil@codesourcery.com>
2848 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
2849 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
2850 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
2851 testsuite/22_locale/collate/hash/wchar_t/2.cc,
2852 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
2853 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
2854 testsuite/22_locale/collate/transform/wchar_t/2.cc,
2855 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
2856 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2857 Use dg-require-iconv.
2858 * testsuite/lib/libstdc++.exp: Load target-supports.exp.
2860 2004-02-27 Phil Edwards <phil@codesourcery.com>
2861 Eric Christopher <echristo@redhat.com>
2863 * testsuite/config/default.exp: Update with comments.
2864 (${tool}_target_compile): New wrapper routine.
2865 * testsuite/lib/dg-options.exp: New file, with dg-require-iconv.
2866 * testsuite/lib/libstdc++.exp: Update with comments and cosmetic
2868 (load_gcc_lib, v3track): New routines.
2869 (v3-init): Rename to libstdc++_init.
2870 * testsuite/libstdc++-dg/normal.exp: No longer call v3-init.
2871 Move DEFAULT_CXXFLAGS handling into libstdc++_init.
2873 2004-02-27 Benjamin Kosnik <bkoz@redhat.com>
2875 * config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
2877 * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
2879 * config/os/irix/irix5.2/atomicity.h: Merge..
2880 * config/os/irix/irix6.5/atomicity.h: Merge..
2881 * config/os/irix/atomicity.h: ...into this.
2882 * config/os/irix/atomic_word.h: New.
2883 * configure.host: Set atomic_word_dir for irix.
2885 * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
2886 * i386/atomicity.h: Same.
2887 * m68k/atomicity.h: Same.
2888 * sparc/atomicity.h: Same.
2890 2004-02-27 David Edelsohn <edelsohn@gnu.org>
2892 * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
2893 static, and inline keywords.
2895 2004-02-27 Paolo Carlini <pcarlini@suse.de>
2897 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
2898 num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
2899 call reserve on the __tmp_gruping string.
2900 (num_get<>::_M_extract_float): Don't append unnecessarily a
2901 char() to the returned string.
2902 * include/bits/locale_facets.tcc: Trivial reformattings.
2904 2004-02-27 Paolo Carlini <pcarlini@suse.de>
2906 * include/bits/locale_facets.h (money_get<>::_M_extract):
2907 Change signature: now takes a plain string&.
2908 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
2909 Update consistently the definition; use the moneypunct cache
2910 to parse the value; use swap to change __units.
2911 (money_get<>::do_get(long double&)): Update call of _M_extract,
2912 avoid ctype::narrow, not correct wrt the standard.
2913 (money_get<>::do_get(string_type&)): Likewise, update call
2914 of _M_extract, use ctype::widen.
2915 * src/locale-inst.cc: Tweak instantiations of _M_extract.
2917 2004-02-26 Ian Lance Taylor <ian@wasabisystems.com>
2919 * testsuite/demangle/abi_examples/01.cc: Expect error -2.
2920 * testsuite/demangle/abi_examples/02.cc: Likewise.
2921 * testsuite/demangle/regression/cw-11.cc: Likewise.
2922 * testsuite/demangle/regression/cw-16.cc: Change two expected
2923 results to match libiberty demangler output.
2925 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
2928 * libsupc++/Makefile.am: Use libiberty demangler.
2929 (c_sources): Add cp-demangle.c.
2930 * libsupc++/Makefile.in: Regenerate.
2931 * src/Makefile.am (sources): Remove demangle.cc.
2932 * src/Makefile.in: Regenerate.
2933 * include/Makefile.am (bits_headers): Move demangle.h.
2934 (ext_headers): ...here.
2935 * include/Makefile.in: Regenerate.
2936 * include/bits/demangle.h: Move...
2937 * include/ext/demangle.h: ...here.
2938 * src/demangle.cc: Remove.
2940 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
2942 * include/bits/demangle.h: Add type template parameter to all
2943 templates with just an Allocator template parameter.
2945 2004-02-25 Benjamin Kosnik <bkoz@redhat.com>
2947 * include/bits/atomicity.h: New, forward declarations for __atomic_add
2948 and __exchange_and_add.
2949 * config/cpu/generic/atomic_word.h: New, typdef for atomic word.
2950 * config/cpu/cris/atomic_word.h: Same.
2951 * config/cpu/sparc/atomic_word.h: Same.
2952 * include/bits/ios_base.h (_Callback_list::_M_remove_reference):
2953 Qualifiy with __gnu_cxx.
2954 (_Callback_list::_M_add_reference): Same.
2955 * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
2956 (locale::facet::_M_remove_reference): Same.
2957 (locale::_Impl::_M_add_reference): Add.
2958 (locale::_Impl::_M_remove_reference): Same.
2959 * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
2960 (basic_string::_Rep::_M_dispose): Same.
2961 * src/ios.cc (ios_base::xalloc): Same.
2962 * src/ios_init.cc (ios_base::Init::Init): Same.
2963 (ios_base::Init::~Init): Same.
2964 * src/locale.cc (locale::id::_M_id): Same.
2965 * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
2966 static, and inline keywords.
2967 * config/cpu/alpha/atomicity.h: Same.
2968 * config/cpu/cris/atomicity.h: Same.
2969 * config/cpu/generic/atomicity.h: Same.
2970 * config/cpu/hppa/atomicity.h: Same.
2971 * config/cpu/i386/atomicity.h: Same.
2972 * config/cpu/ia64/atomicity.h: Same.
2973 * config/cpu/m68k/atomicity.h: Same.
2974 * config/cpu/mips/atomicity.h: Same.
2975 * config/cpu/powerpc/atomicity.h: Same.
2976 * config/cpu/s390/atomicity.h: Same.
2977 * config/cpu/sparc/atomicity.h: Same.
2979 * src/Makefile.am (host_sources): Add atomicity.cc.
2980 (atomicity.cc): New rule.
2981 * src/Makefile.in: Regenerate.
2982 * include/Makefile.am (host_headers): Remove host atomicity.h.
2983 (host_headers): Add atomic_word.h.
2984 (bits_headers): Add bits atomicity.h.
2985 Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
2986 * include/Makefile.in: Regenerate.
2987 * configure.host (atomic_word_dir): Add.
2988 * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
2989 ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
2990 * configure: Regenerate.
2991 * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
2993 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
2994 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2996 2004-02-25 Jonathan Wakely <redi@gcc.gnu.org>
2998 * docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
2999 docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
3000 Fix markup, more <link> tags.
3002 2004-02-25 Carlo Wood <carlo@alinoe.com>
3005 namespace __gnu_cxx::demangler
3006 (session<Allocator>::qualifier_list_Allocator): Add
3007 (session<Allocator>::M_qualifier_list_alloc): Add
3008 (session<Allocator>::decode_type_with_postfix):
3009 Use M_qualifier_list_alloc instead of calling operator new/delete.
3011 2004-02-24 Paolo Carlini <pcarlini@suse.de>
3014 * include/bits/postypes.h (class streamoff): Add operator++(),
3015 operator++(int), operator--() and operator--(int).
3016 * testsuite/27_io/fpos/14252.cc: New.
3018 2004-02-24 Richard Sandiford <rsandifo@redhat.com>
3020 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
3021 error in handling of hex constants.
3023 2004-02-24 Paolo Carlini <pcarlini@suse.de>
3025 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
3026 Prefer basic_string::append to operator+= and a temporary.
3028 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
3030 * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
3031 Only use fputs, not write.
3033 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
3035 * include/ext/malloc_allocator.h: Add operators ==, !=.
3036 * include/ext/new_allocator.h: Add operators ==, !=.
3037 * include/ext/mt_allocator.h (__mt_alloc::tune): New.
3038 (__mt_alloc::_S_get_options): New.
3039 (__mt_alloc::_S_set_options): New.
3040 (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
3041 (__mt_alloc::_S_no_of_bins): To _S_bin_size.
3042 Move functions out of line, simplify, format.
3043 * src/allocator.cc: Simplify explicit instantiations.
3044 * include/bits/allocator.h: Tweak.
3046 2004-02-22 Paolo Carlini <pcarlini@suse.de>
3048 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
3049 Restructure formatting of value component, first dealing with
3050 the non-decimal digits; use reserve.
3052 2004-02-22 Paolo Carlini <pcarlini@suse.de>
3054 * include/bits/locale_facets.h (class money_get): Inherit
3055 from money_base too; tweak declaration of _M_extract, now
3056 parameterized on _Intl too.
3057 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
3058 Update definition to use the cache; call reserve on __res to
3059 avoid multiple reallocations; fix parsing of sign component
3060 according to 22.2.6.1.2, p3.
3061 (money_get<>::do_get(long double&),
3062 money_get<>::do_get(string_type&)): Update calls of _M_extract.
3063 * src/locale-inst.cc: Add instantiations of
3064 money_get::_M_extract<false> and money_get::_M_extract<true>.
3065 * testsuite/22_locale/money_get/get/char/14.cc: New.
3066 * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
3068 2004-02-21 Mark Mitchell <mark@codesourcery.com>
3070 * libsupc++/vterminate.cc
3071 (__gnu_cxx::__verbose_terminate_handler): Guard against recursive
3073 * src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
3075 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
3076 not set RLIMIT_AS on HP-UX.
3078 2004-02-21 Mark Mitchell <mark@codesourcery.com>
3080 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
3081 not set RLIMIT_AS on HP-UX.
3083 2004-02-21 Paolo Carlini <pcarlini@suse.de>
3085 * include/bits/locale_facets.h (class money_base): Add { _S_minus,
3086 _S_zero, _S_end } enum, _S_atoms.
3087 (struct __moneypunct_cache<>): Parameterize on _Intl too; add
3088 _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
3089 _M_negative_sign_size, _M_atoms; tweak constructor consistently.
3090 (__moneypunct_cache<>::~__moneypunct_cache): Update.
3091 (__moneypunct_cache<>::_M_cache): Fill the cache.
3092 (class moneypunct): Tweak __cache_type typedef.
3093 (class money_put): Inherit from money_base too; tweak declaration
3094 of _M_insert, now parameterized on _Intl.
3095 * include/bits/locale_facets.tcc
3096 (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
3097 (money_put<>::_M_insert): Update definition to use the cache;
3098 call reserve on __res to avoid multiple reallocations.
3099 (money_put<>::do_put(long double),
3100 money_put<>::do_put(const string_type&): Update calls of _M_insert.
3101 * config/locale/generic/monetary_members.cc
3102 (moneypunct<char, true>::_M_initialize_moneypunct,
3103 moneypunct<char, false>::_M_initialize_moneypunct,
3104 moneypunct<wchar_t, true>::_M_initialize_moneypunct,
3105 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
3106 * config/locale/gnu/monetary_members.cc: Likewise.
3107 * config/locale/gnu/monetary_members.cc
3108 (moneypunct<wchar_t, true>::~moneypunct(),
3109 moneypunct<wchar_t, false>::~moneypunct()): Likewise.
3110 * src/globals_locale.cc: Tweak fake_money_cache_c.
3111 * src/locale-inst.cc: Add instantiations for
3112 money_put::_M_insert<false> and money_put::_M_insert<true> and
3113 __moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
3114 * src/locale_facets.cc: Define money_base::_S_atoms.
3115 * src/locale_init.cc: Update placement new of
3116 __moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
3117 __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
3119 * config/locale/generic/numeric_members.cc: Clean up.
3120 * config/locale/gnu/numeric_members.cc: Likewise.
3121 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
3122 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
3123 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
3124 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
3125 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
3126 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
3128 2004-02-20 Mark Mitchell <mark@codesourcery.com>
3130 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
3131 FIFO for writing with ios_base::in|ios_base::out.
3132 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3133 * testsuite/27_io/objects/char/7.cc: Likewise.
3134 * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
3137 2004-02-19 David Edelsohn <edelsohn@gnu.org>
3139 * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
3140 from iso-8859-1 to ISO8859-1.
3141 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
3142 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
3143 * 22_locale/collate/hash/wchar_t/2.cc: Same.
3144 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
3145 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
3146 * 22_locale/collate/transform/wchar_t/2.cc: Same.
3147 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
3148 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
3150 2004-02-18 Paolo Carlini <pcarlini@suse.de>
3152 * include/bits/locale_facets.h (money_get<>::_M_extract):
3153 New, helper for do_get.
3154 (money_put<>::_M_insert): Likewise, for do_put.
3155 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
3156 money_put<>::_M_insert): Define.
3157 (money_get<>::do_get(long double&), money_get<>::do_get(
3158 string_type&), money_put::do_put(long double),
3159 money_put::do_put(const string_type&)): Use the helpers.
3161 2004-02-18 Paolo Carlini <pcarlini@suse.de>
3163 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
3164 Rewrite, avoiding recursion.
3165 (__gnu_internal::xwrite): Minor tweaks.
3167 2004-02-17 Stefan Olsson <stefan@xapa.se>
3169 * include/ext/mt_allocator.h: Removed the last
3170 pointer. Deallocated blocks are now added to the front of
3171 freelists as proposed by Felix Yen. This gives roughly 10%
3172 performance boost and saves some memory.
3173 * docs/html/ext/mt_allocator.html: Change due to that deallocated
3174 blocks now are added to the front of freelists. The reason to this
3175 approach is also explained.
3177 2004-02-17 Paolo Carlini <pcarlini@suse.de>
3179 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
3180 num_get<>::_M_extract_int, money_get<>::do_get): Simplify
3181 grouping fidelity conditional.
3183 2004-02-16 Paolo Carlini <pcarlini@suse.de>
3185 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
3186 Qualify exception with std::.
3187 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
3188 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
3189 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
3190 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
3191 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
3193 2004-02-16 Paolo Carlini <pcarlini@suse.de>
3195 * testsuite/ext/enc_filebuf/char/13189.cc: Don't check
3196 for now that the catch block is not reached.
3197 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
3199 2004-02-16 Paolo Carlini <pcarlini@suse.de>
3201 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
3202 Fix parsing of the remaining sign characters.
3203 * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
3204 the input is scanned 'til eof.
3205 * 22_locale/money_get/get/char/4.cc: Likewise.
3206 * 22_locale/money_get/get/wchar_t/2.cc: Likewise.
3207 * 22_locale/money_get/get/wchar_t/4.cc: Likewise.
3208 * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
3209 not do_pos_format: the former is the only one that matters during
3211 * 22_locale/money_get/get/wchar_t/8.cc: Likewise.
3213 * 22_locale/money_get/get/char/6.cc: Minor tweak.
3214 * 22_locale/money_get/get/wchar_t/6.cc: Likewise.
3216 2004-02-15 David Asher <david.asher@cavium.com>
3219 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
3220 access __olds beyond __oldlen.
3222 2004-02-14 Paolo Carlini <pcarlini@suse.de>
3224 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
3225 sure the exception is actually thrown.
3226 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
3227 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
3228 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
3230 2004-02-14 Paolo Carlini <pcarlini@suse.de>
3233 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
3234 In case of conversion errors, throw ios_failure; simplify.
3235 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
3236 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
3237 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
3238 previously we didn't throw in case of conversion errors, instead
3239 just returned eof().
3240 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
3241 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
3242 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
3244 * include/bits/fstream.tcc (basic_filebuf<>::overflow):
3245 Trivial simplification of a conditional.
3247 2004-02-12 Paolo Carlini <pcarlini@suse.de>
3249 PR libstdc++/13731 (final part: writev)
3250 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
3251 New, a wrapper around writev() handling partial writes.
3252 (__basic_file<char>::xwrite): Move to __gnu_internal and make
3254 (__basic_file<char>::xsputn): Update call.
3255 (__basic_file<char>::xsputn_2): Likewise.
3256 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
3257 Don't declare, now static.
3259 2004-02-11 Stefan Olsson <stefan@xapa.se>
3261 * docs/html/ext/mt_allocator.html: New.
3263 2004-02-11 Benjamin Kosnik <bkoz@redhat.com>
3265 * docs/html/20_util/allocator.html: New file, consolidate
3266 allocator information here. Revamp.
3267 * docs/html/documentation.html: Change links.
3268 * docs/html/20_util/howto.html: Same.
3269 * docs/html/ext/howto.html: Same.
3271 2004-02-11 Paolo Carlini <pcarlini@suse.de>
3273 PR libstdc++/13731 (first part: write)
3274 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
3276 * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
3277 Define it: a wrapper around write() handling partial write.
3278 (__basic_file<char>::xsputn): Use it.
3279 (__basic_file<char>::xsputn_2): Likewise.
3281 2004-02-11 Paolo Carlini <pcarlini@suse.de>
3282 Petur Runolfsson <peturr02@ru.is>
3285 * include/std/std_istream.h (operator>>(__istream_type& (*)
3286 (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
3287 operator>>(ios_base& (*)(ios_base&))): Declare inline.
3288 * include/std/std_ostream.h (operator<<(__ostream_type& (*)
3289 (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
3290 operator<<(ios_base& (*) (ios_base&))): Likewise.
3291 * testsuite/performance/27_io/fmtflags_manipulators.cc: New.
3293 2004-02-10 Loren J. Rittle <ljrittle@acm.org>
3296 * config/linker-map.gnu: Add typeinfo and typeinfo name for
3297 __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
3300 * config/linker-map.gnu: Add typeinfo and typeinfo name for
3301 __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
3303 2004-02-09 Loren J. Rittle <ljrittle@acm.org>
3305 * include/ext/pool_allocator.h: Include c++config.h.
3307 2004-02-09 Stefan Olsson <stefan@xapa.se>
3309 * include/ext/mt_allocator.h: thread_id is unused in non threaded
3310 applications and now has a ifdef to remove it completely on
3311 compilers without thread support. Include stdlib.h due to a
3312 compiler warning on getenv().
3314 2004-02-09 Paul Brook <paul@codesourcery.com>
3316 * libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
3318 2004-02-09 Paolo Carlini <pcarlini@suse.de>
3321 * src/locale_init.cc (locale::global(const locale&)): Use
3322 locale::name() in order to decide whether calling setlocale.
3323 * testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
3325 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
3326 Avoid computing &= unnecessarily.
3328 2004-02-09 James E Wilson <wilson@specifixinc.com>
3331 * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
3332 __builtin_extend_pointer.
3334 2004-02-09 Paolo Carlini <pcarlini@suse.de>
3337 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
3338 Don't leave dangling pointers.
3339 * testsuite/27_io/basic_ios/imbue/14072.cc: New.
3340 * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
3341 facet is needed in the final test.
3343 2004-02-09 Bernardo Innocenti <bernie@develer.com>
3345 * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
3346 * configure: Regenerate.
3348 2004-02-08 Richard Henderson <rth@redhat.com>
3351 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
3352 uncaughtExceptions during nested catch rethrow.
3353 * testsuite/18_support/14026.cc: New.
3355 2004-02-08 Paolo Carlini <pcarlini@suse.de>
3357 * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
3358 When working in place remember to set the state to sharable
3359 (otherwise, _M_mutate does it).
3361 2004-02-08 Bernardo Innocenti <bernie@develer.com>
3363 * include/bits/allocator.h, include/bits/basic_ios.h,
3364 include/bits/basic_ios.tcc, include/bits/basic_string.h,
3365 include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
3366 include/bits/char_traits.h, include/bits/codecvt.h,
3367 include/bits/concurrence.h, include/bits/cpp_type_traits.h,
3368 include/bits/demangle.h, include/bits/deque.tcc,
3369 include/bits/fstream.tcc, include/bits/functexcept.h,
3370 include/bits/gslice.h, include/bits/gslice_array.h,
3371 include/bits/indirect_array.h, include/bits/ios_base.h,
3372 include/bits/istream.tcc, include/bits/list.tcc,
3373 include/bits/locale_classes.h, include/bits/locale_facets.h,
3374 include/bits/locale_facets.tcc, include/bits/localefwd.h,
3375 include/bits/mask_array.h, include/bits/ostream.tcc,
3376 include/bits/postypes.h, include/bits/slice_array.h,
3377 include/bits/sstream.tcc, include/bits/stl_algo.h,
3378 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
3379 include/bits/stl_construct.h, include/bits/stl_deque.h,
3380 include/bits/stl_function.h, include/bits/stl_heap.h,
3381 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
3382 include/bits/stl_list.h, include/bits/stl_map.h,
3383 include/bits/stl_multimap.h, include/bits/stl_multiset.h,
3384 include/bits/stl_numeric.h, include/bits/stl_pair.h,
3385 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
3386 include/bits/stl_relops.h, include/bits/stl_set.h,
3387 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
3388 include/bits/stl_threads.h, include/bits/stl_tree.h,
3389 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
3390 include/bits/stream_iterator.h, include/bits/streambuf.tcc,
3391 include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
3392 include/bits/type_traits.h, include/bits/valarray_after.h,
3393 include/bits/valarray_array.h, include/bits/valarray_array.tcc,
3394 include/bits/valarray_before.h, include/bits/vector.tcc: Remove
3395 trailing whitespace.
3397 2004-02-06 Paolo Carlini <pcarlini@suse.de>
3399 * include/bits/basic_string.h: Fix comment.
3401 2004-02-06 Paolo Carlini <pcarlini@suse.de>
3403 * include/bits/stl_construct.h: Wrap overlong lines, reformat
3404 according to the coding standards.
3405 * include/bits/stl_pair.h: Likewise.
3406 * include/bits/stl_raw_storage_iter.h: Likewise.
3407 * include/bits/stl_stack.h: Likewise.
3408 * include/bits/stl_uninitialized.h: Likewise.
3409 * include/bits/stream_iterator.h: Likewise.
3410 * include/bits/streambuf_iterator.h: Likewise.
3411 * include/bits/type_traits.h: Likewise.
3413 2004-02-06 Paolo Carlini <pcarlini@suse.de>
3415 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
3418 2004-02-05 Loren J. Rittle <ljrittle@acm.org>
3420 * scripts/check_performance: Support PCH.
3422 * scripts/check_performance (CXX): Add -DNOTHREAD.
3423 * testsuite/performance/20_util/allocator/insert.cc: Integrate
3424 threaded tests from insert_insert.cc. Tweak iterations,
3425 remove special cases.
3426 * testsuite/performance/20_util/allocator/insert_insert.cc:
3427 Make all tests single-threaded. Tweak iterations.
3428 * testsuite/performance/20_util/allocator/map_thread.cc:
3430 * testsuite/performance/20_util/allocator/producer_consumer.cc:
3433 2004-02-05 Geoffrey Keating <geoffk@apple.com>
3437 * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
3438 'gcc-lib'. Add comment about poorly-named variables.
3439 * aclocal.m4: Regenerate.
3440 * configure: Regenerate.
3442 2004-02-05 Paolo Carlini <pcarlini@suse.de>
3444 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
3445 Thousands-sep are always optional; thousands-sep are not allowed
3446 after the decimal_point.
3447 * testsuite/22_locale/money_get/get/char/12.cc: New.
3448 * testsuite/22_locale/money_get/get/char/13.cc: New.
3449 * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
3450 * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
3452 * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
3453 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
3454 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
3455 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
3456 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
3457 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
3458 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
3459 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
3461 * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
3463 * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
3465 2004-02-05 Richard Sandiford <rsandifo@redhat.com>
3467 * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
3469 * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
3470 it to decide whether FIONREAD should take an off_t or int argument.
3472 2004-02-05 Paolo Carlini <pcarlini@suse.de>
3474 * include/bits/stl_function.h: Minor formatting changes.
3476 2004-02-04 Zack Weinberg <zack@codesourcery.com>
3478 Revert previous change to config/abi/*/baseline_symbols.txt.
3480 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
3481 Zack Weinberg <zack@codesourcery.com>
3483 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
3485 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
3486 (__basic_file<char>::_M_open_mode): Delete.
3487 * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
3489 * testsuite/27_io/basic_filebuf/close/char/9964.cc
3490 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
3491 Correct flags to filebuf::open calls.
3493 * config/abi/alpha-freebsd5/baseline_symbols.txt
3494 * config/abi/alpha-linux-gnu/baseline_symbols.txt
3495 * config/abi/hppa-linux-gnu/baseline_symbols.txt
3496 * config/abi/i386-freebsd4/baseline_symbols.txt
3497 * config/abi/i386-freebsd5/baseline_symbols.txt
3498 * config/abi/i486-linux-gnu/baseline_symbols.txt
3499 * config/abi/ia64-linux-gnu/baseline_symbols.txt
3500 * config/abi/mips-linux-gnu/baseline_symbols.txt
3501 * config/abi/sparc-freebsd5/baseline_symbols.txt
3502 * config/abi/sparc-linux-gnu/baseline_symbols.txt
3503 * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
3504 Remove entry for __basic_file<char>::_M_open_mode.
3506 2004-02-04 Loren J. Rittle <ljrittle@acm.org>
3508 * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
3510 2004-02-04 Felix Yen <fwy@alumni.brown.edu>
3512 * testsuite/performance/20_util/producer_consumer.cc: New.
3513 * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
3515 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
3517 * testsuite/performance/20_util/allocator.cc: Move to..
3518 * testsuite/performance/20_util/allocator/insert.cc: ...here.
3519 * testsuite/performance/20_util/allocator_thread.cc: Move to...
3520 * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
3521 * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
3522 * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
3524 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3526 * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
3527 * docs/html/faq/index.txt: Regenerate.
3529 2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
3531 * include/ext/debug_allocator.h: _M_extra now stands for the
3532 number of extra objects instead of the number of extra bytes.
3533 (debug_allocator::allocate): Adjust.
3534 (debug_allocator::deallocate): Adjust.
3536 * include/ext/pool_allocator.h: Fix typo.
3538 2004-02-03 Felix Yen <fwy@alumni.brown.edu>
3539 Benjamin Kosnik <bkoz@redhat.com>
3541 * testsuite/performance/20_util/allocator.cc: Add map,
3543 * testsuite/performance/20_util/allocator_thread.cc: Same.
3545 2004-02-03 Paolo Carlini <pcarlini@suse.de>
3547 * include/bits/basic_string.h (insert(iterator)): Remove,
3548 non-standard and already scheduled for removal.
3550 2004-02-03 Paolo Carlini <pcarlini@suse.de>
3552 * include/bits/stl_iterator_base_funcs.h: Minor formatting
3553 and indentation tweaks.
3554 * include/bits/stl_iterator_base_types.h: Likewise.
3555 * include/bits/stl_list.h: Likewise.
3556 * include/bits/stl_map.h: Likewise.
3557 * include/bits/stl_tempbuf.h: Likewise.
3559 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
3561 * include/bits/gslice.h, include/bits/gslice_array.h,
3562 include/bits/indirect_array.h, include/bits/mask_array.h,
3563 include/bits/slice_array.h, include/bits/stl_numeric.h,
3564 include/std/std_valarray.h: Update copyright years.
3566 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
3568 * include/bits/gslice.h (gslice): Document.
3569 * include/bits/gslice_array.h (gslice_array): Document.
3570 * include/bits/indirect_array (indirect_array): Document.
3571 * include/bits/mask_array (mask_array): Document.
3572 * include/bits/slice_array.h (slice,slice_array): Document.
3573 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
3574 adjacent_difference): Document
3575 * include/std/std_valarray.h (valarray): Document.
3577 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
3579 * docs/html/19_diagnostics/howto.html: Move verbose terminate
3581 * docs/html/18_support/howto.html: Here.
3582 * docs/html/documentation.html: Add reference here.
3584 2004-02-02 Paolo Carlini <pcarlini@suse.de>
3586 * config/locale/gnu/c++locale_internal.h: Remove prototypes
3587 of no longer used GLIBC thread locale functions.
3589 2004-02-02 Eric Christopher <echristo@redhat.com>
3590 Zack Weinberg <zack@codesourcery.com>
3592 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
3594 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
3595 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
3596 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
3597 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
3598 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
3599 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
3600 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
3601 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3604 2004-02-02 Paolo Carlini <pcarlini@suse.de>
3606 * include/bits/stl_function.h: Additional minor tweaks.
3607 * include/bits/stl_multiset.h: Likewise.
3609 * include/bits/stl_queue.h: Minor tweaks.
3611 2004-02-02 Paolo Carlini <pcarlini@suse.de>
3613 PR libstdc++/13976 (continued)
3614 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
3615 Make the second parameter unnamed, to void unused parameter
3617 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
3619 2004-02-02 Paolo Carlini <pcarlini@suse.de>
3622 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
3623 Make the second parameter unnamed, to void unused parameter
3625 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
3626 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
3628 2004-02-01 Paolo Carlini <pcarlini@suse.de>
3630 * include/bits/stl_algo.h: Additional minor tweaks.
3631 * include/bits/stl_map.h: Likewise.
3632 * include/bits/stl_multimap.h: Likewise.
3633 * include/bits/stl_multiset.h: Likewise.
3634 * include/bits/stl_set.h: Likewise.
3635 * include/bits/stl_tree.h: Likewise.
3637 2004-02-01 Paolo Carlini <pcarlini@suse.de>
3639 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
3642 2004-02-01 Paolo Carlini <pcarlini@suse.de>
3644 * include/bits/stl_function.h: Additional minor tweaks.
3646 2004-02-01 Paolo Carlini <pcarlini@suse.de>
3648 * include/bits/deque.tcc: Wrap overlong lines, constify
3649 a few variables, reformat according to the coding standards.
3650 * include/bits/list.tcc: Likewise.
3651 * include/bits/stl_deque.h: Likewise.
3652 * include/bits/stl_function.h: Likewise.
3653 * include/bits/stl_iterator.h: Likewise.
3654 * include/bits/stl_iterator_base_funcs.h: Likewise.
3655 * include/bits/stl_iterator_base_types.h: Likewise.
3656 * include/bits/stl_list.h: Likewise.
3657 * include/bits/stl_map.h: Likewise.
3658 * include/bits/stl_multimap.h: Likewise.
3659 * include/bits/stl_multiset.h: Likewise.
3660 * include/bits/stl_relops.h: Likewise.
3661 * include/bits/stl_set.h: Likewise.
3663 2004-02-01 Paolo Carlini <pcarlini@suse.de>
3665 * include/bits/stl_bvector.h: Wrap overlong lines, constify
3666 a few variables, reformat according to the coding standards.
3667 * include/bits/stl_tree.h: Likewise.
3669 2004-01-31 Paolo Carlini <pcarlini@suse.de>
3671 * include/bits/stl_algo.h: Minor additional reformat, add
3673 * include/bits/stl_algobase.h: Add copyright year.
3675 2004-01-31 Paolo Carlini <pcarlini@suse.de>
3677 * include/bits/stl_algo.h: Wrap overlong lines, constify
3678 a few variables, reformat according to the coding standards.
3679 * include/bits/stl_algobase.h: Likewise.
3680 * include/bits/stl_heap.h: Likewise.
3682 2004-01-31 Paolo Carlini <pcarlini@suse.de>
3684 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
3686 * include/bits/basic_string.h: Fix two comments.
3688 2004-01-31 Per Bothner <per@bothner.com>
3690 * include/ext/mt_allocator.h
3691 (__mt_alloc::_S_thread_freelist_mutex): Guard with
3692 __GTHREAD_MUTEX_INIT.
3694 2004-01-31 Paolo Carlini <pcarlini@suse.de>
3696 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
3698 2004-01-30 Paolo Carlini <pcarlini@suse.de>
3700 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
3701 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
3702 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
3704 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
3706 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
3707 Don't use clear, but instead assign. Use insert.
3709 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
3711 * src/demangle.cc: Add instantiations.
3712 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
3713 * src/Makefile.in: Regenerate.
3715 2004-01-30 David Edelsohn <edelsohn@gnu.org>
3717 * src/allocator.cc: Protect _S_get_thread_id() and
3718 _S_thread_key_destr() with #ifdef __GTHREADS.
3720 2004-01-30 Paolo Carlini <pcarlini@suse.de>
3722 Reshuffle performance testsuite.
3723 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
3724 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
3725 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
3726 fstream_seek_write.cc, ifstream_extract_float.cc,
3727 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
3728 list_create_fill_sort.cc, map_create_fill.cc,
3729 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
3730 ofstream_insert_float.cc, ofstream_insert_int.cc,
3731 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
3732 wchar_t_out.cc: Split into...
3733 * testsuite/performance/20_util/allocator.cc: New.
3734 * testsuite/performance/20_util/allocator_map_thread.cc: New.
3735 * testsuite/performance/20_util/allocator_thread.cc: New.
3736 * testsuite/performance/21_strings/string_append: New.
3737 * testsuite/performance/22_locale/is_wchar_t.cc: New.
3738 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
3739 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
3740 * testsuite/performance/22_locale/wchar_t_in.cc: New.
3741 * testsuite/performance/22_locale/wchar_t_length.cc: New.
3742 * testsuite/performance/22_locale/wchar_t_out.cc: New.
3743 * testsuite/performance/23_containers/container_benchmark.cc: New.
3744 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
3745 * testsuite/performance/23_containers/map_create_fill.cc: New.
3746 * testsuite/performance/26_numerics/complex_norm.cc: New.
3747 * testsuite/performance/27_io/cout_insert_int.cc: New.
3748 * testsuite/performance/27_io/filebuf_copy.cc: New.
3749 * testsuite/performance/27_io/filebuf_sputc.cc: New.
3750 * testsuite/performance/27_io/fstream_seek_write.cc: New.
3751 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
3752 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
3753 * testsuite/performance/27_io/ifstream_getline.cc: New.
3754 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
3755 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
3757 2004-01-30 Paolo Carlini <pcarlini@suse.de>
3759 * include/bits/basic_string.tcc (_Rep::_S_create):
3760 Never allocate a string bigger than max_size(); always keep
3761 __capacity and __size in sync to avoid memory leaks at
3764 2004-01-30 Paolo Carlini <pcarlini@suse.de>
3766 * include/bits/basic_string.tcc (_S_construct(_InIterator,
3767 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
3768 the double loop, streamline.
3770 * include/bits/basic_string.tcc: Very minor tweaks.
3772 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
3774 * scripts/check_performance: Only compile with $THREAD_FLAG
3775 when test is marked to require it. Allow multiple
3776 compilations/executions of marked tests.
3777 * testsuite/testsuite_performance.h (report_performance):
3778 Report dynamic thread support status.
3779 (report_header): Likewise.
3780 * testsuite/performance/allocator.cc: Stabilize iteration
3781 count. Support more allocators. Mark each allocator test to
3782 run and report independently.
3783 * testsuite/performance/allocator_map_thread.cc: Likewise.
3784 * testsuite/performance/allocator_thread.cc: Likewise.
3786 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
3788 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
3789 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
3790 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
3791 std::get_temporary_buffer() instead of duplicating its code.
3792 Update to C++STYLE conventions.
3793 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
3794 new() instead of std::malloc().
3795 (return_temporary_buffer): Use ::operator delete() instead of
3798 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
3800 * include/bits/allocator.h: Temporary switch to new_allocator as
3801 the default to unjam bootstraps.
3803 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
3805 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
3806 * include/Makefile.in: Regenerate.
3807 * include/bits/allocator_traits.h: Remove.
3808 * include/bits/allocator.h: Remove allocator_traits.h include, and
3810 (allocator): Empty base class, inherit from the underlying allocator.
3811 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
3812 * src/allocator.cc: ...here. New. For the underlying allocators.
3813 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
3814 * config/linker-map.gnu: Remove __pool_alloc bits.
3815 * src/Makefile.am (sources): Add allocator.cc.
3816 * src/Makefile.in: Regenerate.
3817 * testsuite/20_util/allocator/1.cc: Split second test into...
3818 * testsuite/20_util/allocator/8230.cc: ...this.
3819 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
3820 typedef to use std::allocatore. Format.
3821 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
3823 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
3824 __throw_bad_alloc calls. Don't include <memory>.
3825 * include/ext/malloc_allocator.h: Remove <memory> include.
3826 * include/ext/new_allocator.h (new_allocator): Same.
3827 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
3828 declaration. Switch __alloc to _Alloc.
3829 * include/ext/hashtable.h: Remove __alloc.
3830 * include/backward/alloc.h: Only inject allocator, not
3831 implementation details.
3833 * include/ext/mt_allocator.h: Replace free with delete.
3835 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
3837 * src/globals_io.cc: Change to __gnu_internal namespace.
3838 * src/globals_locale.cc: Same.
3839 * src/locale_init.cc: Same.
3840 * src/ios_init.cc: Same.
3842 2004-01-28 Stefan Olsson <stefan@snon.net>
3844 * include/ext/mt_allocator.h: Replaced all malloc() calls with
3845 operator new(). Added support for the env variable
3846 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
3847 one in allocate() as well). Fix typos.
3849 2004-01-28 Paolo Carlini <pcarlini@suse.de>
3851 * include/bits/basic_string.h (_S_create(size_t,
3852 const _Alloc&): Change signature to take two size_type
3854 * include/bits/basic_string.tcc (_S_construct(_InIterator,
3855 _InIterator, const _Alloc&, input_iterator_tag)): Update
3857 (_S_construct(_InIterator, _InIterator, const _Alloc&,
3858 forward_iterator_tag)): Likewise.
3859 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
3860 (_M_mutate(size_type, size_type, size_type)): Don't
3861 implement the exponential growth policy, demand it to
3862 _S_create, update call and simplify.
3863 (_M_clone(const _Alloc&, size_type)): Likewise.
3864 (_S_create(size_type, size_type, const _Alloc&)): Implement
3865 the growth policy, simplify otherwise.
3867 * include/bits/basic_string.h (_Rep::operator[]): Tweak
3868 signature to take a size_type, consistently with the other
3871 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
3873 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
3874 delete declarations, add include and test variable.
3876 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
3878 * include/bits/codecvt.h, include/bits/locale_facets.h,
3879 include/bits/postypes.h, include/bits/stl_bvector.h,
3880 include/bits/stl_multiset.h, include/bits/stl_set.h,
3881 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
3882 include/std/std_complex.h: Document.
3884 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
3887 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
3888 iword/pword selector.
3889 (ios_base::iword, ios_base::pword): Use it.
3890 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
3891 iword or pword member on alloc failure.
3892 * testsuite/27_io/ios_base/storage/11584.cc: New test.
3894 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
3895 PJ Darcy <darcypj@us.ibm.com>
3897 * configure.host: Add support for *-tpf.
3898 * crossconfig.m4: Likewise.
3899 * configure: Regenerate.
3900 * config/os/tpf: New directory.
3901 * config/os/tpf/os_defines.h: New file.
3902 * config/os/tpf/ctype_base.h: Likewise.
3903 * config/os/tpf/ctype_inline.h: Likewise.
3904 * config/os/tpf/ctype_noninline.h: Likewise.
3906 2004-01-27 Paolo Carlini <pcarlini@suse.de>
3909 * include/bits/sstream.tcc: Guard use of extern template.
3911 2004-01-27 Paolo Carlini <pcarlini@suse.de>
3913 * include/bits/basic_string.tcc
3914 (basic_string(const basic_string&, size_type, size_type),
3915 basic_string(const basic_string&, size_type, size_type,
3916 const _Alloc&)): Avoid unnecessarily constructing iterators.
3918 2004-01-26 Paolo Carlini <pcarlini@suse.de>
3920 * config/locale/generic/c_locale.cc: Fix throw messages
3921 to use the __N marker.
3922 * config/locale/gnu/c_locale.cc: Likewise.
3923 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
3925 * docs/html/17_intro/C++STYLE: Likewise.
3926 * include/bits/basic_ios.tcc: Likewise.
3927 * include/bits/fstream.tcc: Likewise.
3928 * include/bits/vector.tcc: Likewise.
3929 * include/ext/ropeimpl.h: Likewise.
3930 * include/std/std_bitset.h: Likewise.
3931 * src/ios.cc: Likewise.
3932 * src/locale.cc: Likewise.
3933 * src/localename.cc: Likewise.
3935 2004-01-26 Paolo Carlini <pcarlini@suse.de>
3937 * include/bits/basic_string.h (_M_replace_aux): Use the
3938 __N marker in throw message.
3939 * include/bits/basic_string.tcc (assign(const _CharT*,
3940 size_type), insert(size_type, const _CharT*, size_type),
3941 replace(size_type, size_type, const _CharT*, size_type),
3942 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
3945 * include/bits/basic_string.h, include/bits/basic_string.tcc:
3946 Fold overlong lines, minor formatting changes.
3948 2004-01-26 Paolo Carlini <pcarlini@suse.de>
3950 * include/bits/basic_string.h (replace(iterator, iterator,
3951 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
3952 (replace(iterator, iterator, const _CharT*)): Ditto.
3953 (replace(iterator, iterator, const _CharT*, size_type)):
3954 Add missing _GLIBCXX_DEBUG_PEDASSERT.
3956 2004-01-26 Paolo Carlini <pcarlini@suse.de>
3958 * include/bits/basic_string.tcc (replace(size_type,
3959 size_type, const _CharT*, size_type)): Implement optimized
3960 in-place algorithm for non-overlapping ranges.
3961 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
3962 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
3964 * include/bits/basic_string.tcc (insert(size_type,
3965 const _CharT*, size_type)): Tweak slightly.
3967 2004-01-26 Andreas Schwab <schwab@suse.de>
3969 * config/locale/gnu/monetary_members.cc: Restore locale before
3970 rethrowing exception.
3972 2004-01-25 Paolo Carlini <pcarlini@suse.de>
3974 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
3976 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
3979 * include/bits/basic_string.tcc: Very minor tweaks.
3981 2004-01-25 Paolo Carlini <pcarlini@suse.de>
3983 * testsuite/performance/string_append.cc: Increase number
3986 2004-01-25 Paolo Carlini <pcarlini@suse.de>
3988 * include/bits/basic_string.h (erase(size_type, size_type),
3989 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
3990 instead, thus avoiding redundant check for length_error.
3992 * include/bits/basic_string.h: Tweak some comments.
3994 2004-01-24 Paolo Carlini <pcarlini@suse.de>
3996 * include/bits/basic_string.tcc (operator+(const _CharT*,
3997 const basic_string&)): No need to go through the append
3998 taking two iterators.
4000 2004-01-24 Paolo Carlini <pcarlini@suse.de>
4002 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
4003 Revert last change to use std::min: machine language is worse.
4004 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
4005 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
4006 (find_last_not_of(_CharT, size_type)): Ditto.
4008 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
4009 size_type)): Discard the value returned by _M_check.
4010 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
4011 (append(const basic_string&, size_type, size_type)): Ditto.
4012 (copy(_CharT*, size_type, size_type)): Ditto.
4013 (compare(size_type, size_type, const basic_string&)): Ditto.
4014 (compare(size_type, size_type, const basic_string&,
4015 size_type, size_type)): Ditto.
4016 (compare(size_type, size_type, const _CharT*)): Ditto.
4017 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
4019 2004-01-24 Paolo Carlini <pcarlini@suse.de>
4021 * include/bits/basic_string.h (insert(size_type,
4022 const basic_string&, size_type, size_type)): Define inline here.
4023 * include/bits/basic_string.tcc (insert(size_type,
4024 const basic_string&, size_type, size_type)): Move inline.
4026 2004-01-24 Paolo Carlini <pcarlini@suse.de>
4028 * include/bits/basic_string.h (assign(const basic_string&,
4029 size_type, size_type)): Define inline here.
4030 (replace(size_type, size_type, const basic_string&,
4031 size_type, size_type)): Ditto.
4032 (_M_replace_dispatch(iterator, iterator, _InputIterator,
4033 _InputIterator, __false_type)): Only declare.
4034 (_M_replace(iterator, iterator, _InputIterator,
4035 _InputIterator)): Remove.
4036 * include/bits/basic_string.tcc (assign(const basic_string&,
4037 size_type, size_type)): Move inline.
4038 (replace(size_type, size_type, const basic_string&,
4039 size_type, size_type)): Ditto.
4040 (_M_replace_dispatch(iterator, iterator, _InputIterator,
4041 _InputIterator, __false_type)): Define, now does also what
4042 _M_replace did before.
4043 * src/string-inst.cc (_M_replace): Don't instantiate.
4045 * include/bits/basic_string.tcc (find(const _CharT*,
4046 size_type, size_type)): Tidy.
4047 (rfind(_CharT, size_type)): Ditto.
4048 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
4049 (find_first_not_of(_CharT, size_type)): Ditto.
4050 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
4051 (find_last_not_of(_CharT, size_type)): Ditto.
4053 2004-01-23 Paolo Carlini <pcarlini@suse.de>
4056 * include/debug/bitset (operator|=): Fix typo.
4057 * testsuite/23_containers/bitset/operations/13838.cc: New.
4059 2004-01-23 Paolo Carlini <pcarlini@suse.de>
4061 * include/bits/basic_string.tcc (insert(size_type,
4062 const _CharT*, size_type __n)): Fix length_error check.
4063 (replace(size_type, size_type, const _CharT*, size_type):
4064 Ditto; call _M_replace_safe.
4065 (_M_replace_aux(size_type, size_type, size_type, _CharT):
4066 Fix length_error check.
4067 (_M_replace(iterator, iterator, _InputIterator,
4068 _InputIterator)): Ditto, tweak.
4069 (_M_replace_safe(size_type, size_type, const _CharT*,
4070 size_type)): Remove length_error check.
4072 * include/bits/basic_string.tcc (append(const basic_string&),
4073 append(const basic_string&, size_type, size_type)): Tweak
4076 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
4077 size_type)): If __n == 0 don't call traits::copy.
4079 2004-01-23 Stefan Olsson <stefan@snon.net>
4081 * include/ext/mt_allocator.h: Reduce lock contention.
4083 2004-01-23 Paolo Carlini <pcarlini@suse.de>
4086 * include/bits/fstream.tcc (underflow): Remove unused
4088 * include/bits/streambuf_iterator.h (equal): Ditto.
4089 * include/bits/locale_facets.h (_M_convert_from_char):
4092 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4095 * config/linker-map.gnu (nan): Delete.
4096 * libmath/mathconf.h (NAN, nan): Delete.
4097 * linkage.m4 (nan): Don't check for it.
4098 * libmath/nan.c: Delete file.
4100 * config.h.in, configure: Regenerate.
4102 2004-01-23 Paolo Carlini <pcarlini@suse.de>
4104 * include/bits/basic_string.h (push_back(_CharT)):
4105 Call _M_replace_aux.
4106 (insert(size_type, const basic_string&)): Trivial tweak.
4107 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
4108 (insert(iterator, _CharT)): Ditto.
4109 (erase(size_type, size_type)): Ditto.
4110 (erase(iterator)): Ditto.
4111 (erase(iterator, iterator)): Ditto.
4112 (replace(size_type, size_type, size_type, _CharT)): Ditto.
4114 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
4117 * testsuite/performance/allocator_map_thread.cc: New test.
4119 2004-01-22 Paolo Carlini <pcarlini@suse.de>
4121 * include/bits/locale_facets.tcc
4122 (money_put::do_put(..., long double)): Use the basic_string
4123 constructor for char arrays, not that for C-strings, to pass
4124 __digits to do_put(..., const string_type&): __ws isn't
4127 2004-01-22 Paolo Carlini <pcarlini@suse.de>
4129 * include/bits/basic_string.h (_M_replace_safe): Change
4130 signatures to take size_types and const _CharT*.
4131 (_M_replace_aux): Likewise, takes size_types instead of
4133 (append(size_type, _CharT)): Update call.
4134 (assign(size_type, _CharT)): Ditto.
4135 (replace(iterator, iterator, size_type, _CharT)): Ditto.
4136 (_M_replace_dispatch(iterator, iterator, _Integer,
4137 _Integer, __true_type)): Ditto.
4138 * include/bits/basic_string.tcc (assign(const _CharT*,
4140 (insert(size_type, const _CharT*, size_type)): Ditto.
4141 (replace(size_type, size_type, const _CharT*,
4143 (_M_replace(iterator, iterator, _InputIterator,
4144 _InputIterator)): Ditto.
4145 (append(const basic_string&)): Ditto.
4146 (append(const basic_string&, size_type, size_type): Ditto.
4147 (append(const _CharT*, size_type): Ditto.
4148 (_M_replace_safe, _M_replace_safe): Change definitions
4149 accordingly, simplify.
4150 * string-inst.cc (_M_replace_safe): Don't instantiate.
4152 2004-01-21 Paolo Carlini <pcarlini@suse.de>
4154 * include/bits/basic_string.tcc (append(const basic_string&)):
4155 Revert previous change.
4156 (append(const basic_string&, size_type, size_type)): Revert
4157 previous change, use _M_check and _M_limit.
4159 2004-01-21 Paolo Carlini <pcarlini@suse.de>
4161 * include/bits/basic_string.h (_M_check): Change to return
4162 a checked __pos and take an additional const char* argument.
4163 (_M_fold): Rename to _M_limit, change to return a size_type,
4164 corresponding to the __off limited to the actual length.
4165 (insert(size_type, size_type, _CharT)): Update call, call
4167 (insert(iterator, _CharT)): Call replace(iterator, iterator,
4168 size_type, _CharT) instead.
4169 (erase(size_type, size_type)): Update calls.
4170 (replace(size_type, size_type, size_type, _CharT)): Ditto.
4171 (substr(size_type, size_type)): Use _M_check.
4172 * include/bits/basic_string.tcc (basic_string(const basic_string&,
4173 size_type, size_type)): Update calls.
4174 (basic_string(const basic_string&, size_type, size_type,
4175 const _Alloc&)): Ditto.
4176 (assign(const basic_string&, size_type, size_type)): Use the
4177 new _M_check and _M_limit.
4178 (insert(size_type, const basic_string&, size_type, size_type):
4180 (insert(size_type, const _CharT*, size_type)): Ditto.
4181 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
4182 (replace(size_type, size_type, const basic_string&,
4183 size_type, size_type)): Ditto.
4184 (append(const basic_string&)): Ditto.
4185 (append(const basic_string&, size_type, size_type)): Ditto.
4186 (copy(_CharT*, size_type, size_type)): Ditto.
4187 (compare(size_type, size_type, const basic_string&)): Ditto.
4188 (compare(size_type, size_type, const basic_string&,size_type,
4190 (compare(size_type, size_type, const _CharT*)): Ditto.
4191 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
4193 2004-01-19 Stefan Olsson <stefan@snon.net>
4195 * include/ext/mt_allocator.h: If a thread, when it dies, still has
4196 memory on it's freelist this memory is not returned to global
4197 list. Simplification of deallocate so that memory is always
4198 returned to the calling thread id's freelist instead of to
4199 global. Fix typos. Add volatile where appropriate.
4201 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
4203 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
4204 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
4205 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
4207 2004-01-19 Paolo Carlini <pcarlini@suse.de>
4209 * src/debug.cc: Make sure all the names are prefixed with
4210 double (or single) underscore.
4212 2004-01-19 Paolo Carlini <pcarlini@suse.de>
4214 * src/debug.cc: Trivial formatting change.
4216 2004-01-19 Paolo Carlini <pcarlini@suse.de>
4218 * include/bits/basic_string.tcc (_S_construct(size_type,
4219 _CharT, const _Alloc&)): Remove redundant try/catch.
4220 (_M_mutate(size_type, size_type, size_type)): Ditto.
4221 (_M_clone(const _Alloc&, size_type)): Ditto.
4223 2004-01-18 Paolo Carlini <pcarlini@suse.de>
4225 * include/bits/basic_string.h (c_str()): Simplify, due to
4226 21.3.4 the internal representation is always kept null-terminated.
4227 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
4228 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
4229 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
4232 2004-01-18 Paolo Carlini <pcarlini@suse.de>
4234 * include/bits/basic_string.h (append(size_type, _CharT)):
4235 Moved inline, just call _M_replace_aux, no source iterators at
4236 risk of being clobbered.
4237 (assign(size_type, _CharT)): Call directly _M_replace_aux.
4238 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
4239 input_iterator_tag)): Remove fifth unused argument.
4240 (_M_replace_dispatch(iterator, iterator, _InputIterator,
4241 _InputIterator, __false_type)): Update call.
4242 * include/bits/basic_string.tcc (replace(size_type, size_type,
4243 const _CharT*, size_type)): Update call.
4244 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
4245 throw string literal.
4246 (_M_replace_safe(iterator, iterator, _ForwardIterator,
4247 _ForwardIterator)): Likewise.
4248 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
4249 input_iterator_tag)): Remove fifth unused argument.
4250 (append(size_type __n, _CharT __c)): Move inline.
4251 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
4252 const C*, const C*, input_iterator_tag)): Remove fifth unused
4255 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
4257 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
4258 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
4260 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4262 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
4265 2004-01-15 Stefan Olsson <stefan@snon.net>
4267 * include/ext/mt_allocator.h: Reuse thread id's as soon as
4268 possible by changing the behaviour of thread_freelist to do
4269 push_front when threads die instead of push_back.
4271 2004-01-14 Paolo Carlini <pcarlini@suse.de>
4273 * include/bits/locale_facets.h (struct __numpunct_cache):
4274 Add member _M_grouping_size, caching the length of _M_grouping.
4275 (__numpunct_cache<>::_M_cache): Assign the latter.
4276 (__verify_grouping): Move declaration...
4277 * include/bits/locale_facets.tcc (__verify_grouping):
4278 ... here, change signature to take a const char* and a size_t
4279 for the grouping; not a template anymore.
4280 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
4281 Likewise change signature and tweak consistently.
4282 (num_get::_M_extract_float, num_get::_M_extract_int,
4283 num_put::_M_insert_int, num_put::_M_insert_float,
4284 money_get::do_get(string_type&), money_get::do_put(string_type)):
4286 * config/locale/generic/numeric_members.cc
4287 (numpunct<>::_M_initialize_numpunct): Assign the new member.
4288 * config/locale/gnu/numeric_members.cc
4289 (numpunct<>::_M_initialize_numpunct): Likewise.
4290 * src/locale-inst.cc (__add_grouping): Tweak signature.
4291 (__verify_grouping): Don't instantiate, not a template anymore.
4293 * include/bits/locale_facets.h: Rename _M_truename_len ->
4294 _M_truename_size, _M_falsename_len -> _M_falsename_size.
4295 * include/bits/locale_facets.tcc: Likewise.
4296 * config/locale/generic/numeric_members.cc: Likewise.
4297 * config/locale/gnu/numeric_members.cc: Likewise.
4299 2004-01-14 Stefan Olsson <stefan@snon.net>
4301 * include/ext/mt_allocator.h: Fixups.
4302 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
4303 * testsuite/performance/allocator_thread.cc: Same.
4305 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
4307 * testsuite/performance/ifstream_extract_float.cc: Add higher
4309 * testsuite/performance/ofstream_insert_float.cc: Same.
4311 2004-01-13 Paolo Carlini <pcarlini@suse.de>
4313 * src/locale-misc-inst.cc (__convert_from_v(long),
4314 __convert_from_v(unsigned long), __convert_from_v(long long),
4315 __convert_from_v(unsigned long long)): Remove, unused.
4317 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
4319 * testsuite/performance/ifstream_extract_float.cc: New.
4320 * testsuite/performance/ofstream_insert_float.cc: Float generation
4323 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
4324 * 20_util/auto_ptr/1.cc: ...this.
4325 * 20_util/auto_ptr/2.cc: Same.
4326 * 20_util/auto_ptr/3.cc: Same.
4327 * 20_util/auto_ptr/3946.cc: Same.
4328 * 20_util/auto_ptr/4.cc: Same.
4329 * 20_util/auto_ptr/5.cc: Same.
4330 * 20_util/auto_ptr/6.cc: Same.
4331 * 20_util/auto_ptr/7.cc: Same.
4332 * 20_util/auto_ptr/assign_neg.cc
4333 * 20_util/pairs.cc: Break into...
4334 * 20_util/pair/1.cc: ...this.
4335 * 20_util/pair/2.cc: Same.
4336 * 20_util/pair/3.cc: Same.
4337 * 20_util/pair/4.cc: Same.
4339 2004-01-13 Paolo Carlini <pcarlini@suse.de>
4341 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
4342 Set correctly just basefield, the only group that matters.
4344 2004-01-13 Paolo Carlini <pcarlini@suse.de>
4346 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
4347 (_Rope_rep_base): Inherit directly from the rope allocator;
4348 use rebinding instead of _Alloc_traits; pick up data member
4349 from _Rope_rep_alloc_base.
4350 (_Rope_alloc_base): Eliminate.
4351 (_Rope_base): Inherit directly from the rope allocator; use
4352 rebinding instead of _Alloc_traits; pick up data member from
4354 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
4355 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
4357 2004-01-13 Paolo Carlini <pcarlini@suse.de>
4360 * include/bits/basic_string.tcc (compare(size_type, size_type,
4361 const _CharT*, size_type)): Implement correctly the resolution
4362 of DR 5: basically, s is a char array, -not- a C string.
4363 * include/bits/basic_string.h: Tweak some comments.
4364 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
4365 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
4367 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
4369 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
4372 2004-01-12 Paolo Carlini <pcarlini@suse.de>
4374 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
4376 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
4379 2004-01-12 Paolo Carlini <pcarlini@suse.de>
4381 * include/bits/locale_facets.h (struct __numpunct_cache):
4382 Add members _M_truename_len and _M_falsename_len, caching
4383 the lengths of _M_truename and _M_falsename.
4384 (__numpunct_cache<>::_M_cache): Assign the latter.
4385 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
4386 num_put::do_put(bool)): Use the new members, thus avoiding
4387 computing string lengths again and again.
4388 * config/locale/generic/numeric_members.cc
4389 (numpunct<>::_M_initialize_numpunct): Assign the new members.
4390 * config/locale/gnu/numeric_members.cc
4391 (numpunct<>::_M_initialize_numpunct): Likewise.
4393 2004-01-12 Mark Mitchell <mark@codesourcery.com>
4395 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
4396 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
4398 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
4399 and remove Cygwin XFAIL.
4400 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4401 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4402 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4403 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
4405 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4406 * testsuite/27_io/objects/char/7.cc: Likewise.
4407 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4408 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4409 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4411 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
4413 * include/std/std_complex.h (std::complex<>::real): Return a
4414 reference. Add non-const overload.
4415 (std::complex<>::real): Likewise.
4416 (std::real): Likewise.
4417 (std::imag): Likewise.
4418 (std::operator+): Tidy.
4419 (std::operator-): Likewise.
4420 (std::operator*): Likewise.
4421 (std::operator/): Likewise.
4422 (std::operator>>): Likewise.
4424 2004-01-11 Paolo Carlini <pcarlini@suse.de>
4427 * include/bits/fstream.tcc (imbue): Exploit the external
4428 buffer to imbue 'on the fly' a new locale and convert its
4429 remainder with the new codecvt facet.
4430 (underflow): Tweak slightly to deal with this special case.
4431 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
4432 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
4433 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
4434 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
4435 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
4437 2004-01-10 Paolo Carlini <pcarlini@suse.de>
4439 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
4442 2004-01-10 Paolo Carlini <pcarlini@suse.de>
4445 * include/bits/locale_classes.h (class locale): Fix category
4447 * testsuite/22_locale/locale/13630.cc: Add.
4449 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
4451 * include/bits/locale_facets.h: Make a name really dependent. This
4452 will be needed when Core Issue 224 is implemented.
4454 2004-01-09 Paolo Carlini <pcarlini@suse.de>
4456 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
4457 * testsuite/performance/allocator_thread.cc: Likewise.
4459 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
4461 * crossconfig.m4: Add LFS, io bits to linux cross config.
4462 * acconfig.h: Remove obsolete bits, reorder.
4463 * config.h.in: Regenerate.
4467 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
4469 * include/bits/stl_list.h:
4470 * include/bits/list.tc:
4472 Performance enhancements for destructor, push_front(),
4473 push_back(), pop_front(), pop_back(), sort()
4474 Eliminated static_casts where possible.
4475 Moved code out of header files into new src/list.cc
4476 implementation file for library where possible.
4477 Remove inheritance from iterator class and create separate
4478 classes for non-constant and constant iterators.
4479 * include/bits/stl_tree.h (_Rb_tree class):
4481 Only erase contents in destructor.
4482 Eliminate unnecessary initialization in assignment operator.
4483 Optimize for the nominal case by not checking whether
4484 container is empty in clear().
4485 Re-order test in _M_insert() to improve performance.
4486 Move initialization of new node's left & right pointers to
4487 src/tree.cc to where new node's colour is initialized
4488 and to reduce the amount of inline code.
4489 Use _M_leftmost() and _M_end() to improve readability where
4491 Create separate classes for non-constant and constant
4492 iterators to clarify code, avoid extra template parameters and
4493 casting away constness.
4495 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
4497 * src/Makefile.am (sources): Add list.cc, tree.cc.
4498 * src/stl_tree.cc: Move to...
4499 * src/tree.cc: ...here.
4501 * config/linker-map.gnu: Tweaks.
4502 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
4503 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
4505 * bits/stl_vector.h: Column wrap comments.
4507 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
4509 (re-open) PR libstdc++/12658
4510 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
4511 (locale::global): Likewise.
4513 2004-01-07 Paolo Carlini <pcarlini@suse.de>
4515 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
4516 Remove redundant #include.
4517 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
4518 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
4519 re-enable normal testing.
4520 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
4522 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
4523 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
4525 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
4527 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
4529 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
4531 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
4533 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
4535 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
4537 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
4538 More properly, #include <locale>.
4539 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
4540 Remove redundant #include.
4541 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
4542 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
4543 redundant DejaGnu directive.
4544 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
4547 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
4548 Stefan Olsson <stefan@snon.net>
4550 * scripts/check_performance: Use -pthread.
4551 * testsuite/performance/allocator.cc: Tweaks, add list.
4552 * testsuite/performance/allocator_thread.cc: New.
4554 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
4556 * include/bits/locale_facets.h: Document public classes and
4558 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
4561 2004-01-06 Paolo Carlini <pcarlini@suse.de>
4563 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
4564 Remove redundant #includes.
4565 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
4567 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
4569 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
4570 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
4571 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
4572 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
4573 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
4574 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
4575 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
4576 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
4577 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
4578 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
4579 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
4580 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
4581 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
4582 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
4583 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
4585 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
4587 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
4589 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
4591 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
4593 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
4594 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
4595 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
4597 2004-01-04 Paolo Carlini <pcarlini@suse.de>
4599 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
4600 Remove redundant #includes.
4601 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
4603 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
4605 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
4607 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
4609 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
4611 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
4613 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
4615 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
4617 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
4619 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
4621 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
4623 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
4626 2004-01-04 Mark Mitchell <mark@codesourcery.com>
4629 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
4631 * testsuite/27_io/basic_fstream/4.cc: Likewise.
4632 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
4633 * testsuite/27_io/basic_ios/4.cc: Likewise.
4634 * testsuite/27_io/basic_iostream/4.cc: Likewise.
4635 * testsuite/27_io/basic_istream/4.cc: Likewise.
4636 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
4637 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
4638 * testsuite/27_io/basic_ostream/4.cc: Likewise.
4639 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
4640 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
4641 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
4643 2004-01-04 Paolo Carlini <pcarlini@suse.de>
4645 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
4646 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
4647 always use double underscored names.
4648 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
4650 * include/bits/locale_facets.h (struct __numpunct_cache):
4651 Dimension _M_atoms_out and _M_atoms_in one position smaller.
4652 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out