1 2003-10-30 Paolo Carlini <pcarlini@suse.de>
3 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
4 __mod is only assigned, never used its value, remove it.
6 2003-10-29 Paolo Carlini <pcarlini@suse.de>
8 * include/bits/locale_facets.tcc (time_get::do_get_year):
9 Absolutely avoid dereferencing end iterators.
10 (time_put::put): Minor clean up.
12 * include/bits/locale_facets.tcc: Cosmetic reformattings.
14 2003-10-29 Paolo Carlini <pcarlini@suse.de>
16 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
17 Revert the last commit, is not correct, sorry.
19 2003-10-29 Paolo Carlini <pcarlini@suse.de>
21 * config/locale/generic/c_locale.cc: Add back <cmath> and
24 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
27 2003-10-29 Paolo Carlini <pcarlini@suse.de>
29 * include/bits/locale_facets.tcc (time_put::put): Absolutely
30 avoid dereferencing end iterators; clean up.
32 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
33 num_get::_M_extract_int): Minor tweak.
35 2003-10-29 Paolo Carlini <pcarlini@suse.de>
37 * include/bits/locale_facets.tcc: Remove some unnecessary
39 * config/locale/generic/c_locale.cc: Include <cerrno> here.
40 * config/locale/gnu/c_locale.cc: Likewise.
42 2003-10-28 Paolo Carlini <pcarlini@suse.de>
44 * include/bits/locale_facets.tcc
45 (money_get<>::do_get(..., string_type&)): Absolutely avoid
46 dereferencing end iterators; general clean up.
48 2003-10-28 Paolo Carlini <pcarlini@suse.de>
50 * include/bits/locale_facets.tcc (time_get::_M_extract_num):
51 Absolutely avoid dereferencing end iterators.
52 (time_get::_M_extract_name): Likewise.
54 * include/bits/locale_facets.tcc
55 (time_get::_M_extract_via_format, case 'e'): Don't try to
56 be smart wrt returning the right __beg in case of parse
57 error, time_get::_M_extract_num must be fixed instead.
59 2003-10-27 Paolo Carlini <pcarlini@suse.de>
62 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
63 * aclocal.m4: Regenerate.
64 * configure: Regenerate.
66 2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
68 * docs/html/17_intro/TODO: Add links.
69 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
72 2003-10-27 Paolo Carlini <pcarlini@suse.de>
75 * include/bits/locale_facets.tcc
76 (time_get::_M_extract_via_format): Deal with code 'e'.
77 * testsuite/22_locale/time_get/get_date/char/12750.cc: New.
78 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
80 * include/bits/locale_facets.tcc
81 (time_get::_M_extract_via_format): Tweak to absolutely avoid
82 dereferencing end iterators.
84 * include/bits/locale_facets.h (__verify_grouping):
85 Const-ify second parameter.
86 * include/bits/locale_facets.tcc (__verify_grouping): Ditto.
87 * src/locale-inst.cc (__verify_grouping): Ditto.
89 2003-10-27 Paolo Carlini <pcarlini@suse.de>
91 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
92 Various things: 1- Avoid absolutely end iterator dereferences;
93 2- Improve performance-wise the code skipping leading zeros;
94 3- Fix two bugs wrt early bail out in case of parsing errors
95 (see testcases); 4- General clean up.
96 (num_get::_M_extract_int): Likewise, except 3-. Additionally,
97 use __builtin_expect to favor base 10 inputs.
98 * testsuite/22_locale/num_get/get/char/7.cc: New.
99 * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
101 2003-10-26 Paolo Carlini <pcarlini@suse.de>
103 * testsuite/22_locale/money_put/put/char/1.cc: Clean up.
104 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
106 2003-10-25 Paolo Carlini <pcarlini@suse.de>
108 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
109 __pos in only incremented, never used its value, remove it.
111 2003-10-24 Robert Millan <robertmh@gnu.org>
113 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
115 * aclocal.m4: Regenerated.
116 * configure: Regenerated.
118 2003-10-24 Paolo Carlini <pcarlini@suse.de>
120 * include/bits/locale_facets.tcc (money_get::do_get(...,
121 long double&): Properly size the temporary buffer.
122 * testsuite/22_locale/money_get/get/char/11.cc: New.
123 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
125 * include/bits/locale_facets.tcc (num_put::_M_group_int,
126 num_put::_M_group_float, money_put::do_put(..., const
127 string_type&), collate::do_compare, collate::do_transform):
128 Prefer basic_string::data() to c_str() when the '\0'
129 terminator is not really needed.
131 2003-10-24 Paolo Carlini <pcarlini@suse.de>
133 * include/bits/locale_facets.tcc (__verify_grouping):
134 Prefer '=' to an unnecessary '&='.
136 2003-10-24 Paolo Carlini <pcarlini@suse.de>
138 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
139 Tweak my fix for libstdc++/12657.
141 2003-10-24 Paolo Carlini <pcarlini@suse.de>
143 * include/bits/locale_facets.tcc (money_get::do_get(...,
144 string_type&): Minor tweak to the previous commit.
146 2003-10-24 Paolo Carlini <pcarlini@suse.de>
148 * include/bits/locale_facets.tcc (money_get::do_get(...,
149 string_type&): Disregard the previous commit: doesn't hurt but
150 doesn't accomplish anything useful either. This is the right
151 one, speeding up greatly the function in case of early fail.
153 2003-10-24 Paolo Carlini <pcarlini@suse.de>
155 * include/bits/locale_facets.tcc (money_get::do_get(...,
156 string_type&): Move an if block, thus minimizing the amount
157 of code processed anyway when __tmp_units.size() == 0.
159 2003-10-24 Paolo Carlini <pcarlini@suse.de>
161 * include/bits/locale_facets.tcc
162 (time_get<>::_M_extract_via_format): Deal with case 'C' too,
165 2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
167 * docs/html/documentation.html: Add a pointer to the doxygen style
169 * docs/html/17_intro/TODO: Update.
170 * docs/html/test.html: Add instructions for running a subset of
173 2003-10-23 Paolo Carlini <pcarlini@suse.de>
175 * include/bits/locale_facets.tcc (money_get<>::do_get(...,
176 string_type&)): Use find_first_not_of to strip leading
177 zeros; if __tmp_units == "0" never prefix it with '-';
178 always fail if __tmp_units is empty.
179 * testsuite/22_locale/money_get/get/char/10.cc: New.
180 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
182 2003-10-23 Phil Edwards <phil@codesourcery.com>
184 * config/os/vxworks/ctype_noninline.h: Adjust ctor to match
187 2003-10-22 Paolo Carlini <pcarlini@suse.de>
189 * include/bits/locale_facets.tcc (__int_to_char): Remove
190 the const int parameter.
191 (_M_insert_int): Update caller.
192 * src/locale-inst.cc (__int_to_char): Update instantiations.
194 2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
196 * include/bits/locale_facets.h: Correct byname facets for "C"
198 * config/locale/generic/ctype_members.cc: Same.
199 * config/locale/generic/messages_members.h: Same.
200 * config/locale/gnu/ctype_members.cc: Same.
201 * config/locale/gnu/messages_members.h: Same.
202 * include/bits/codecvt.h: Same.
203 * src/ctype.cc: Same.
204 * testsuite/22_locale/codecvt_byname/1.cc: New.
205 * testsuite/22_locale/collate/1.cc: Edit.
206 * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
207 * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
208 * testsuite/22_locale/ctype/1.cc: Derivation tests.
209 * testsuite/22_locale/ctype/11844.cc: Move...
210 * testsuite/22_locale/ctype_base/11844.cc: ...here.
211 * testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
212 * testsuite/22_locale/ctype_byname/1.cc: Name.
213 * testsuite/22_locale/messages_byname/1.cc: New.
214 * testsuite/22_locale/messages_byname/named_equivalence.cc: New.
215 * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
216 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
217 * testsuite/22_locale/numpunct/1.cc: Edit.
218 * testsuite/22_locale/numpunct_byname/2.cc: Move...
219 * testsuite/22_locale/numpunct/members/char/3.cc: ...here.
220 * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
221 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
223 2003-10-22 Paolo Carlini <pcarlini@suse.de>
226 * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
227 checking for the availability of int64_t.
228 (GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
229 * configure.ac: Call here.
230 * acconfig.h: Add undef for the corresponding symbols.
231 * config/io/basic_file_stdio.cc (__basic_file<char>::open):
232 Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
233 (__basic_file<char>::seekoff): Likewise, call lseek64 when
234 available, otherwise lseek, checking the __off parameter.
235 * include/bits/postypes.h: Typedef __streamoff_base_type
236 to int64_t if available, otherwise long long.
237 * aclocal.m4: Regenerate.
238 * config.h.in: Likewise.
239 * configure: Likewise.
241 * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
242 Use AC_TRY_LINK instead of AC_TRY_COMPILE.
244 2003-10-22 Paolo Carlini <pcarlini@suse.de>
247 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
248 Implement resolution of DR 292 (WP).
249 * docs/html/ext/howto.html: Add entry for DR 292.
251 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
253 * include/ext/mt_allocator.h: Change include to gthr.h.
254 * include/ext/rope: Same. Add _Refcount_base definitions.
255 * include/ext/pool_allocator.h: Adjust namespaces.
256 * include/bits/stl_threads.h (_Refcount_base): Move.
257 Put remaining into namespace __gnu_cxx.
259 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
262 * include/bits/locale_facets.h (ctype<char>): Remove
263 __ctype_abstract_base.
264 (ctype<char>::do_is): Remove.
265 (ctype<char>::do_scan_is): Remove.
266 * src/ctype.cc: Same. Inline the rest.
267 * testsuite/22_locale/ctype/is/char/9858.cc: New.
268 * config/os/aix/ctype_noninline.h: Adjust ctor.
269 * config/os/bsd/freebsd/ctype_noninline.h: Same.
270 * config/os/bsd/netbsd/ctype_noninline.h: Same.
271 * config/os/djgpp/ctype_noninline.h: Same.
272 * config/os/generic/ctype_noninline.h: Same.
273 * config/os/gnu-linux/ctype_noninline.h: Same.
274 * config/os/hpux/ctype_noninline.h: Same.
275 * config/os/irix/irix5.2/ctype_noninline.h: Same.
276 * config/os/irix/irix6.5/ctype_noninline.h: Same.
277 * config/os/mingw32/ctype_noninline.h: Same.
278 * config/os/newlib/ctype_noninline.h: Same.
279 * config/os/qnx/qnx6.1/ctype_noninline.h: Same.
280 * config/os/solaris/solaris2.5/ctype_noninline.h: Same.
281 * config/os/solaris/solaris2.6/ctype_noninline.h: Same.
282 * config/os/solaris/solaris2.7/ctype_noninline.h: Same.
283 * config/os/windiss/ctype_noninline.h: Same.
285 2003-10-21 Paolo Carlini <pcarlini@suse.de>
287 * src/locale.cc: Tweak a comment.
288 * src/localename.cc: Move a comment.
290 2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
293 * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
294 * testsuite_hooks.cc: Same.
295 * 22_locale/numpunct/members/pod/1.cc: Edit.
296 * 22_locale/numpunct/members/pod/2.cc: Same.
297 * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
298 * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
299 * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
300 * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
301 * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
302 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
303 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
304 * 27_io/basic_istream/sentry/pod/1.cc: New.
305 * 27_io/basic_ostream/sentry/pod/1.cc: New.
306 * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
307 * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
309 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
311 * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
312 of external _MIPS_SIM_ABI32.
314 2003-10-20 Phil Edwards <phil@codesourcery.com>
316 * configure.ac: Fix comment typo.
317 * configure.host: Add vxworks to host_os switch.
318 * crossconfig.m4: Remove old commented os_include_dir variables
319 left over from autotools transition.
320 (*-vxworks): New stanza.
321 (*-windiss): Add missing symbols.
322 * configure: Regenerate.
323 * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
324 config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
326 * config/os/windiss/os_defines.h: Define __C9X__.
328 2003-10-19 David Edelsohn <edelsohn@gnu.org>
331 * configure.host (aix4,aix*): Define os_include_dir to os/generic.
333 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
335 * src/locale.cc (locale::_S_initialize): Re-apply workaround a
336 confusion of the use of the gthr API when __gthread_active_p()
339 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
341 * src/Makefile.am: Add new files.
342 * src/Makefile.in: Regenerate.
343 * src/globals.cc: Split into..
344 * src/globals_io.cc: New.
345 * src/globals_locale.cc: New.
346 * src/ios.cc: Split into...
347 * src/ios_init.cc: New.
348 * src/ios_locale.cc: New.
349 * src/locale-inst.cc: Split into..
350 * src/wlocale-inst.cc: New.
351 * src/locale-misc-inst.cc: New.
352 * src/locale.cc, src/localename: Split into...
353 * src/locale_facets.cc: New.
354 * src/locale_init.cc: New.
355 * src/wstring-inst.cc: Add copyright info.
357 2003-10-16 Petur Runolfsson <peturr02@ru.is>
362 * config/io/basic_file_stdio.cc (__basic_file::seekoff):
363 Change return value from streampos to streamoff.
364 (__basic_file::seekpos): Delete.
365 * config/io/basic_file_stdio.h: Same.
366 * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
367 * include/Makefile.am (bits_headers): Add bits/postypes.h.
368 * include/bits/char_traits.h: Include bits/postypes.h instead of
370 * include/bits/fstream.tcc (basic_filebuf::open,
371 basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
372 values, use == and != instead.
373 (basic_filebuf::_M_seek): Use explicit conversion from streamoff
375 (basic_filebuf::imbue): Don't use ! on pos_type values, use
376 == instead. Don't use __check_facet(_M_codecvt) unless is_open().
377 * include/bits/postypes.h: New file.
378 Add __streamoff_base_type typedef, streamsize.
379 (streamoff, streampos, wstreampos): Define typedefs, with
380 streamoff defined as...
381 (streamoff): New class. Document implementation defined
383 (fpos): New implementation. Document implementation defined
385 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
386 explicit conversion from pos_type to off_type.
387 * include/std/std_iosfwd.h: Include bits/postypes.h instead
389 * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
390 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
391 * testsuite/27_io/fpos/11450.cc: New test.
392 * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
393 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
394 * testsuite/27_io/types/3.cc: New test.
396 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
398 * configure.host: Remove fpos_include_dir.
399 * configure.ac: Remove FPOS_INC_SRCDIR.
400 * configure: Regenerate.
401 * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
402 * aclocal.m4: Regenerate.
403 * include/Makefile.am (host_headers): Remove fpos.h.
404 (bits_headers): Add postypes.h.
405 * include/Makefile.in: Regenerate.
406 * config/os/gnu-linux/fposh: Remove.
407 * config/os/generic/fpos.h: Remove.
409 * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
410 * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
411 * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
412 * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
413 * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
414 * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
415 * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
416 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
417 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
418 * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
419 * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
420 * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
421 * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
422 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
423 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
424 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
425 * testsuite/27_io/objects/char/10.cc: Same.
427 2003-10-16 Paolo Carlini <pcarlini@suse.de>
429 * src/locale.cc (locale::locale(const char*)): ... one
430 more comparison missed in the previous commit.
432 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
434 * acconfig.h: Add HAVE_DRAND48.
435 * crossconfig.m4: Remove ISATTY.
436 * aclocal.m4: Regenerated.
437 * config.h.in: Regenerated.
438 * configure: Regenerated.
440 2003-10-16 Bernardo Innocenti <bernie@develer.com>
442 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
443 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
444 Document SMP safeness of asm macros.
446 2003-10-16 Paolo Carlini <pcarlini@suse.de>
448 * src/locale.cc (locale::locale(const char*)): Tweak
449 a couple of comparisons to use basic_string operators.
451 2003-10-16 Paolo Carlini <pcarlini@suse.de>
454 * config/locale/gnu/monetary_members.cc
455 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
456 Don't leak memory if new throws.
457 * src/locale.cc (locale::locale(const char*)): In order not
458 to leak memory in case new throws, use a basic_string type
459 for __res too and avoid strdup.
461 2003-10-14 Jeff Bailey <jbailey@nisa.net>
464 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
465 * configure: Regenerate.
467 2003-10-14 Carlo Wood <carlo@alinoe.com>
470 * include/bits/demangle.h (session<Allocator>::
471 decode_unqualified_name(string_type& output)): Fail on a
472 <operator-name> when decoding <template-argument>.
473 * testsuite/demangle/regression/cw-15.cc: New.
475 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
478 * include/bits/stl_algo.h (unique): Fix.
479 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
480 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
481 * testsuite/25_algorithms/unique/2.cc: New.
483 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
485 * src/localename.cc (_M_replace_categories, M_replace_facet):
486 Const-ify a couple of variables.
488 2003-10-14 Petur Runolfsson <peturr02@ru.is>
489 Andreas Tobler <a.tobler@schweiz.ch>
491 * src/locale.cc (locale::_S_initialize): Workaround a confusion
492 of the use of the gthr API when __gthread_active_p() returns true.
494 2003-10-12 Petur Runolfsson <peturr02@ru.is>
495 Paolo Carlini <pcarlini@unitus.it>
498 * src/strstream.cc (pbackfail): Fix to use to_int_type.
499 * testsuite/backward/11460.cc: New, from the PR.
501 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
503 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
504 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
505 * include/bits/basic_string.tcc: Likewise.
506 * include/bits/ios_base.h: Likewise.
507 * include/bits/istream.tcc: Likewise.
508 * include/bits/locale_facets.tcc: Likewise.
509 * include/bits/ostream.tcc: Likewise.
510 * include/bits/stl_function.h: Likewise.
511 * include/bits/stl_multiset.h: Likewise.
512 * include/bits/stl_pair.h: Likewise.
513 * include/bits/stl_set.h: Likewise.
514 * include/bits/streambuf_iterator.h
515 * include/std/std_iosfwd.h: Likewise.
516 * include/std/std_istream.h: Likewise.
517 * include/std/std_sstream.h: Likewise.
518 * include/std/std_streambuf.h: Likewise.
519 * src/ios.cc: Likewise.
520 * include/bits/c++config:
521 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
522 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
523 dg-error directive due to removal of a blank line.
524 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
526 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
527 Paolo Carlini <pcarlini@unitus.it>
529 PR libstdc++/11844/11740 (cont)
530 * config/os/generic/ctype_inline.h (ctype<char>::is):
531 Generically, use a bitmasksize of 15 (instead of 10);
532 Fix the logic to actually return (M & m) != 0 as per
535 2003-10-11 Bernardo Innocenti <bernie@develer.com>
537 * crossconfig.m4 (*-uclinux*): New target.
538 * configure: Regenerate.
540 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
542 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
543 Avoid unnecessarily calling __builtin_alloca and dealing
544 explicitly with width() smaller than zero.
545 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
546 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
547 const char*), operator<<(basic_ostream<char, _Traits>&,
548 const char*), operator<<(basic_ostream, const basic_string&)):
551 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
553 * config/linker-map.gnu: Make more *_type_info bits visible.
554 Move new/delete bits back into GLIBCXX space.
556 * include/bits/locale_classes.h: Move _M_id out of line, so that
557 locale::id::_S_highwater can be removed from the export list.
558 * src/locale.cc (locale::id::_M_id): Define.
560 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
562 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
565 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
568 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
569 to conform to the requirements of 22.2.1.
570 * config/os/bsd/freebsd/ctype_base.h: Likewise.
571 * config/os/djgpp/ctype_base.h: Likewise.
572 * config/os/generic/ctype_base.h: Likewise.
573 * config/os/gnu-linux/ctype_base.h: Likewise.
574 * config/os/hpux/ctype_base.h: Likewise.
575 * config/os/irix/irix6.5/ctype_base.h: Likewise.
576 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
577 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
578 * testsuite/22_locale/ctype/11844.cc: New.
580 * config/locale/generic/ctype_members.cc (do_is):
581 Generically, use a bitmasksize of 15 (instead of 10), since
582 we don't know the numerical encoding of the various categories
583 in the underlying /usr/include/ctype.h.
585 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
587 * src/string-inst.cc: Prune.
588 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
589 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
591 2003-10-09 Petur Runolfsson <peturr02@ru.is>
593 * src/io-inst.cc: Don't include iostream.
594 * include/bits/ios_base.h (ios_base::failure): Use string.
595 * src/Makefile.am: Add ios_failure.cc.
596 * src/Makefile.in: Regenerate.
597 * src/ios.cc: Move ios_base::failure definitions to...
598 * src/ios_failure.cc: ...here. New.
600 2003-10-09 Petur Runolfsson <peturr02@ru.is>
603 * include/bits/fstream.tcc (basic_filebuf::seekoff):
604 Move code needed for both seekoff and seekpos...
605 (basic_filebuf::_M_seek): ...here. New function.
606 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
607 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
608 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
610 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
612 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
614 * include/bits/locale_facets.tcc: More minor cosmetic
615 changes and const-ifications of some variables.
617 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
619 * include/bits/locale_facets.tcc: Minor cosmetic changes
620 and const-ifications of some variables.
622 * include/bits/locale_facets.tcc
623 (money_get::do_get(..., string_type&)): Simplify an if-else.
625 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
628 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
629 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
630 * config/locale/generic/ctype_members.cc: Same.
631 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
633 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
635 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
636 Improve performance-wise: avoid one traits::copy, avoid
637 the __builtin_alloca, streamline.
639 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
641 * include/bits/locale_facets.tcc
642 (num_put::do_put(..., bool)): Prefer ?: to if-else.
643 (time_get::_M_extract_name): Qualify min with std::.
644 (__pad<>::_S_pad): Constify two variables; simplify an
645 if-else statement factoring out some code.
647 * include/bits/locale_facets.tcc: Minor cosmetic changes.
649 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
651 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
652 Constify a couple of variables.
653 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
656 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
657 Petur Runolfsson <peturr02@ru.is>
659 * include/ext/stdio_sync_filebuf.h: Don't include the whole
660 <fstream>, only <streambuf> and <cstdio>.
662 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
665 * include/bits/fstream.tcc (imbue): In case a codecvt facet
666 is not available, set _M_codecvt = 0.
667 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
669 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
672 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
674 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
676 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
677 * src/locale.cc: Define.
678 * src/localename.cc: Use it.
679 * config/locale/generic/time_members.h: Same.
680 * config/locale/gnu/messages_members.h: Same.
681 * config/locale/gnu/time_members.h: Same.
683 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
686 * include/bits/fstream.tcc (seekoff): Ignore the openmode
688 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
689 seekpos): Remove the openmode argument.
690 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
691 seekpos): Remove redundant placeholder for the openmode argument.
692 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
693 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
694 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
695 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
696 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
698 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
700 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
701 (locale::facet::_S_get_c_locale): Same.
703 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
705 * config/linker-map.gnu: Export _S_get_c_locale instead of
708 2003-10-02 Petur Runolfsson <peturr02@ru.is>
710 * config/locale/generic/c_locale.cc
711 (category_names, locale::_S_categories): Const qualify.
712 * config/locale/gnu/c_locale.cc: Same.
713 * config/locale/generic/time_members.h (__timepunct::__timepunct):
714 Copy string contents before assigning to _M_name_timepunct,
715 qualify strcpy and strlen with std::.
716 * config/locale/gnu/time_members.h: Same.
717 * config/locale/gnu/messages_members.h (messages::messages):
718 Copy string contents before assigning to _M_name_messages,
719 qualify strcpy and strlen with std::.
720 * config/os/gnu-linux/ctype_noninline.h
721 (ctype<char>::classic_table()): Don't call locale::classic().
722 * include/bits/locale_classes.h
723 (locale::_S_categories): Const qualify.
724 (locale::_S_once, locale::_S_initialize_once,
725 locale::facet::_S_once, locale::facet::_S_initialize_once,
726 locale::facet::_S_get_c_locale): Declare.
727 (locale::_S_initialize): Don't define.
728 (locale::facet::_S_c_locale): Make private.
729 (locale::facet::_S_c_name): Same, const qualify.
730 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
731 parameters, add throw() specifier.
732 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
733 messages::_M_name_messages): Const qualify.
735 (locale::_S_once, locale::facet::_S_once): Define.
736 (locale::classic): Move initialization code...
737 (locale::_S_initialize_once): ...here.
738 (locale::_S_initialize): Call _S_initialize_once through
740 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
741 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
742 __gthread_once before returning _S_c_locale.
743 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
744 Drop unused parameters, add throw() specifier, don't initialize
745 locale::facet::_S_c_locale and _S_c_name.
747 * config/locale/generic/messages_members.h:
748 Replace _S_c_locale with _S_get_c_locale().
749 * config/locale/gnu/c_locale.cc: Same.
750 * config/locale/gnu/messages_members.h: Same.
751 * config/locale/gnu/numeric_members.cc: Same.
752 * config/locale/gnu/time_members.cc: Same.
753 * config/os/gnu-linux/ctype_noninline.h: Same.
754 * include/bits/locale_facets.h: Same.
755 * include/bits/locale_facets.tcc: Same.
756 * src/codecvt.cc: Same.
757 * src/ctype.cc: Same.
759 2003-10-02 Carlo Wood <carlo@alinoe.com>
761 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
762 Decode symbols that start with _GLOBAL_[ID]_ differently: the
763 trailing part ends with a terminating zero and is not necessarily an
765 * src/demangle.cc (): Same.
766 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
768 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
770 * testsuite/22_locale/locale/cons/12438.cc: Use
771 __gnu_test::try_named_locale("").
773 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
775 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
776 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
778 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
779 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
781 * config.h.in, configure: Regenerate.
782 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
785 2003-10-01 Nathan Myers <ncm@cantrip.org>
787 * include/bits/locale_facets.tcc (time_put::put): Avoid
788 expensive *__s++, in favor of *__s, ++__s.
790 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
792 * include/bits/locale_facets.tcc (time_put::put): Minor
793 tweak to the previous commit.
795 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
798 * include/bits/locale_facets.tcc (time_put::put): Deal
799 with the three issues pointed out by the PR.
800 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
801 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
802 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
803 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
804 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
806 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
808 * include/bits/stl_algo.h: Minor cosmetic reformattings.
810 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
812 * include/bits/stl_algo.h (search_n): Tweak, to spare the
815 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
817 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
818 qualify exception name.
820 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
823 * include/bits/locale_facets.tcc (locale::combine): Don't
824 leak memory if _M_replace_facet throws.
825 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
827 * include/bits/locale_classes.h (locale::locale(const locale&,
828 _Facet*)): Tweak, use consistently _M_remove_reference.
830 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
832 PR libstdc++/12352 (cont)
833 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
834 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
836 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
837 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
838 !_M_caches, !_M_names.
840 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
842 * configure.host: Handle Solaris 2.5 micro releases explicitly.
843 Remove wildcards from Solaris 2.6, 7-9: there were no
845 Treat Solaris 10 and up like 7-9.
847 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
849 * include/bits/stl_algo.h (search_n): Improve the previous
850 fix as suggested by Martin.
852 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
855 * include/bits/istream.tcc (peek): Set eofbit if sgetc
857 * testsuite/27_io/basic_istream/peek/char/12296.cc:
860 2003-09-29 Nathan Myers <ncm@cantrip.org>
861 Paolo Carlini <pcarlini@unitus.it>
864 * include/bits/stl_algo.h (search_n):
865 Use iterator_traits<>::difference_type for __n.
866 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
868 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
870 * testsuite/22_locale/locale/cons/12352.cc:
871 Use __attribute__((unused)) for test.
873 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
875 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
876 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
877 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
879 2003-09-26 Brad Spencer <spencer@infointeractive.com>
881 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
882 Explicitly qualify exceptions.
883 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
884 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
885 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
886 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
888 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
891 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
892 size_t)): Don't leak if memory allocations for _M_facets,
893 _M_caches, and _M_names fail.
894 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
895 (locale::_Impl::_M_replace_categories(const _Impl*,
897 (locale::_Impl::_M_install_facet(const locale::id*,
898 const facet*)): Ditto.
899 * include/bits/locale_classes.h (locale::locale(const locale&,
900 _Facet*)): Don't leak memory.
901 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
903 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
904 bool)): Qualify with std:: strcpy, tweak.
905 * include/bits/locale_classes.h
906 (locale::_Impl::_M_check_same_name): Qualify strcmp.
908 2003-09-25 Brad Spencer <spencer@infointeractive.com>
911 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
913 * aclocal.m4: Regenerate.
914 * config.h.in: Regenerate.
915 * configure: Regenerate.
916 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
917 * config/io/basic_file_stdio.cc: Guard unistd.h.
918 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
919 * include/c_std/std_cwchar.h: Same.
920 * include/c_std/std_cwctype.h: Same.
922 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
925 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
926 * config/locale/generic/ctype_members.cc: Same.
927 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
928 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
930 * config/os/generic/ctype_inline.h: Update.
932 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
934 * src/Makefile.am (version_dep): New variable.
935 (libstdc___la_DEPENDENCIES): Use it to add dependency on
936 libstdc++-symbol.ver only when using symbol versioning.
937 * src/Makefile.in: Regenerate.
939 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
941 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
942 * testsuite/testsuite_hooks.h: Same.
943 * testsuite/*/*.cc: Same.
945 2003-09-22 Petur Runolfsson <peturr02@ru.is>
947 * include/bits/istream.tcc (basic_istream::read,
948 basic_istream::readsome, basic_istream::putback,
949 basic_istream::unget, operator>>(basic_istream, CharT)):
950 Avoid redundant setstate(failbit) calls when sentry::operator bool()
953 2003-09-22 Carlo Wood <carlo@alinoe.com>
956 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
957 char const*, int, int)): Remove unused identifier
958 cv_qualifier for overloaded constructor.
960 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
963 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
964 WARN_FLAGS, remove -Wno-format.
965 * aclocal.m4: Regenerate.
966 * configure: Regenerate.
968 2003-09-18 Petur Runolfsson <peturr02@ru.is>
970 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
971 * config/io/basic_file_stdio.h: Same.
972 * include/std/std_fstream.h (__ctype_type): Delete.
973 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
975 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
978 * configure.host (abi_baseline_pair): Error out on solaris2
979 configurations without a minor version number.
981 2003-09-13 Phil Edwards <phil@codesourcery.com>
983 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
985 * docs/doxygen/user.cfg.in: And here.
987 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
988 Andreas Jaeger <aj@suse.de>
991 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
992 abi_check if cross compiling.
993 * aclocal.m4: Regenerated.
994 * configure: Regenerated.
996 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
998 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
999 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
1000 (__cxa_vec_new3): Likewise.
1002 2003-09-10 Petur Runolfsson <peturr02@ru.is>
1004 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1005 Use codecvt::length to handle variable-width stateless encodings
1007 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
1008 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
1010 2003-09-10 Alan Modra <amodra@bigpond.net.au>
1012 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
1015 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1017 * configure: Regenerate.
1019 2003-09-09 David Edelsohn <edelsohn@gnu.org>
1021 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
1022 qualifier from _S_synced_with_stdio.
1024 2003-09-09 Bernardo Innocenti <bernie@develer.com>
1026 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
1028 2003-09-04 Petur Runolfsson <peturr02@ru.is>
1031 * include/bits/fstream.tcc
1032 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
1033 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
1034 _M_ext_buf_size, _M_ext_next and _M_ext_end.
1035 (basic_filebuf::underflow): Handle variable-width stateless
1036 encodings (codecvt::encoding() == 0), including UTF-8.
1037 * include/std/std_fstream.h (basic_filebuf):
1038 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
1039 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
1040 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
1041 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
1042 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
1043 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
1044 * testsuite/27_io/objects/wchar_t/12.cc: New test.
1045 * testsuite/27_io/objects/wchar_t/13.cc: New test.
1047 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
1049 * docs/html/faq/index.html: Note that a namespace alias can't be
1050 used when specialising templates in extension namespace.
1051 * docs/html/faq/index.txt: Regenerate.
1053 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1056 * include/ext/stdio_sync_filebuf.h
1057 (stdio_sync_filebuf::_M_unget_buf): Declare it.
1058 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
1059 (stdio_sync_filebuf::uflow): Store the returned character in
1061 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
1062 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
1063 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
1064 _M_unget_buf, if any, else eof().
1065 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
1066 _M_unget_buf, if any, else eof().
1067 * testsuite/27_io/objects/char/12048.cc: Rename to...
1068 * testsuite/27_io/objects/char/12048-1.cc: ...this.
1069 * testsuite/27_io/objects/char/12048-2.cc: New test.
1070 * testsuite/27_io/objects/char/12048-3.cc: New test.
1071 * testsuite/27_io/objects/char/12048-4.cc: New test.
1072 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
1073 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
1074 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
1075 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
1076 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
1077 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
1078 * testsuite/ext/stdio_sync_filebuf_char.cc
1079 (test02, test03, test04, test05): New tests.
1080 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
1081 (test02, test03, test04, test05): New tests.
1083 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1085 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
1086 stringbuf or strstreambuf. Fix typos.
1088 2003-09-02 Phil Edwards <phil@codesourcery.com>
1090 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
1092 * config.h.in: Add _GLIBCXX_HOSTED.
1093 * libsupc++/eh_term_handler.cc: Test it here; initialize
1094 __terminate_handler to std::abort if freestanding.
1095 * aclocal.m4, configure: Regenerated.
1096 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
1098 2003-08-29 Nathan Myers <ncm@cantrip.org>
1101 * include/bits/locale_facets.tcc (__pad): delete dead code.
1103 2003-08-28 Alan Modra <amodra@bigpond.net.au>
1105 * configure.ac: Test $with_cross_host against $build_alias, not $build.
1106 * configure: Regenerate.
1108 2003-08-27 Petur Runolfsson <peturr02@ru.is>
1110 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
1111 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
1113 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1115 * Makefile.am: Remove trailing whitespace. Remove needless
1116 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
1117 * include/Makefile.am: Likewise.
1118 * libmath/Makefile.am: Likewise.
1119 * libsupc++/Makefile.am: Likewise.
1120 * po/Makefile.am: Likewise.
1121 * src/Makefile.am: Likewise.
1122 * testsuite/Makefile.am: Likewise.
1124 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1125 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1126 testsuite/Makefile.in: Regenerated.
1128 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1130 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
1132 * aclocal.m4, configure: Regenerate.
1134 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1136 * acinclude.m4: Include no-executables.m4.
1137 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
1138 * aclocal.m4: Regenerated.
1139 * configure: Regenerated.
1141 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1143 * acinclude.m4: Don't call AC_ISC_POSIX.
1144 * aclocal.m4: Regenerated.
1145 * configure: Regenerated.
1147 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1149 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
1150 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
1151 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
1152 used elsewhere in this file.
1153 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
1154 * configure.ac: ...called here to expand all conditionals.
1155 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
1156 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
1157 (install-freestanding-headers): New target, a subset of
1158 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
1160 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1161 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1162 src/Makefile.in, testsuite/Makefile.in: Regenerated.
1164 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1166 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
1167 pathnames from generated tag file.
1169 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1171 * Makefile.am: Add comment.
1172 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
1174 * configure.ac: Use them both here, instead of hardcoded lists.
1176 * fragment.am: Add STAMP varaible.
1177 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
1179 (stamp-*): Move file creation rule outside of 'if' branches to
1180 ensure the stamp-* files are actually updated. Use $(STAMP).
1181 * src/Makefile.am: Remove now-nonexistant variable.
1182 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
1184 * po/Makefile.am: Include same fragment as all the others.
1186 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1187 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
1189 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
1191 * testsuite/data/cin_unget-1.txt: New.
1192 * testsuite/27_io/objects/char/12048.cc: New.
1194 2003-08-25 Zack Weinberg <zack@codesourcery.com>
1196 * config/os/hpux/os_defines.h: Unconditionally define
1197 _GLIBCXX_GTHREAD_USE_WEAK to 0.
1199 2003-08-19 Geoffrey Keating <geoffk@apple.com>
1201 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
1202 crosses to Darwin targets.
1203 * configure: Regenerate.
1205 2003-08-19 Petur Runolfsson <peturr02@ru.is>
1207 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
1209 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1211 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
1212 in the patch from 3 minutes ago. Boy, is my face red.
1213 * configure: At least I remembered to regenerate this.
1215 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1217 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
1218 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
1219 things from the top level.
1220 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
1221 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
1222 (currently unused). Strip the fake-VPATH shell fragment from
1223 automake-generated rules, if present.
1224 * linkage.m4: Add comment.
1226 * fragment.am: New file, containing factored-out common settings.
1227 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
1228 * Makefile.am: Include fragment.am. Remove common variables.
1229 * include/Makefile.am: Likewise.
1230 * libmath/Makefile.am: Likewise.
1231 * libsupc++/Makefile.am: Likewise.
1232 * po/Makefile.am: Likewise. Print rules during check.
1233 * src/Makefile.am: Likewise.
1234 * testsuite/Makefile.am: Likewise.
1236 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1237 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1238 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1240 2003-08-11 John Levon <levon@movementarian.org>
1242 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
1243 remaining places for the name change from GLIBCPP_FORCE_NEW
1244 to GLIBCXX_FORCE_NEW
1246 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
1248 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
1250 * include/bits/basic_ios.tcc: Same.
1251 * include/bits/istream.tcc: Same.
1252 * include/bits/locale_facets.h: Same.
1253 * include/bits/ostream.tcc: Same.
1254 * include/std/std_istream.h: Same.
1255 * include/std/std_ostream.h: Same.
1256 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
1258 * include/ext/rope: Remove build warning.
1260 2003-08-11 Andreas Jaeger <aj@suse.de>
1262 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
1264 * include/Makefile.in: Regenerated.
1266 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1268 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
1269 when calling AC_PROG_CC.
1270 * aclocal.m4, configure: Regenerate.
1272 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1274 * acinclude.m4: Properly quote variable which will be expanded
1275 inside makefiles. Use CXX instead of CC to extract compiler info.
1276 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
1277 correct form in PACKAGE.
1278 * aclocal.m4, configure: Regenerate.
1280 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
1282 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
1283 (check-abi-verbose): Same.
1284 * testsuite/testsuite_performance.h (report_performance): Same.
1286 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
1288 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
1290 2003-08-07 Doug Gregor <dgregor@apple.com>
1292 * include/bits/char_traits.h (char_traits::not_eof): Match operand
1295 2003-08-07 Bernardo Innocenti <bernie@develer.com>
1298 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
1299 Replace variants with new BSET-based version.
1301 2003-08-07 Carlo Wood <carlo@alinoe.com>
1303 * include/bits/demangle.h: Do not use cctype functions that depend
1306 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1308 * configure.in: Rename...
1309 * configure.ac: ...to this.
1310 * docs/html/17_intro/porting.texi: Update name.
1312 * docs/html/17_intro/porting.html: Regenerate.
1313 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
1314 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1315 testsuite/Makefile.in: Regenerate (picks up new dependancy).
1317 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1319 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
1320 pipe, open the window to let out the fumes, redo the option-handling
1321 logic to properly execute the detection test.
1322 * aclocal.m4, configure: Regenerate.
1324 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1326 Convert to new autotools.
1327 * acconfig.h: Update with correct names.
1328 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
1329 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
1330 * configure.in: Update. Split hardcoded cross-configury settings
1332 * crossconfig.m4: ...here. New file. Contents untouched.
1333 * acinclude.m4: Reorganize and rewrite as needed. Split large
1335 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
1337 * scripts/testsuite_flags.in: Update.
1339 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
1340 variables (already generated by automake).
1341 * include/Makefile.am: Ditto.
1342 * libmath/Makefile.am: Ditto.
1343 * libsupc++/Makefile.am: Ditto.
1344 * po/Makefile.am: Ditto.
1345 * src/Makefile.am: Ditto.
1347 * aclocal.m4: Regenerate using new versions.
1348 * config.h.in: Ditto.
1350 * Makefile.in: Ditto.
1351 * include/Makefile.in: Ditto.
1352 * libmath/Makefile.in: Ditto.
1353 * libsupc++/Makefile.in: Ditto.
1354 * po/Makefile.in: Ditto.
1355 * src/Makefile.in: Ditto.
1356 * testsuite/Makefile.in: Ditto.
1358 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1360 * po/libstdc++.pot: Re-extract/regenerate.
1362 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1364 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
1365 Remove unneeded variable assignments. Leave them for automake.
1366 * testsuite/lib/libstdc++-v3.exp: Rename...
1367 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
1369 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
1370 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
1373 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1375 * docs/doxygen/guide.html: run_doxygen uses bash.
1376 * docs/doxygen/mainpage.html: We'll be shipping tag files.
1377 * docs/doxygen/run_doxygen: Tweaks and improvements.
1378 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
1379 * docs/html/install.html: Update autoconf/automake requirements.
1380 * docs/html/test.html: Add section describing DejaGNU support.
1381 * docs/html/17_intro/confdeps.dot: New file, generates...
1382 * docs/html/17_intro/confdeps.png: ...this new file.
1383 * docs/html/Makefile: Generated here.
1384 * docs/html/17_intro/configury.html: New file.
1386 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
1388 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
1389 * testsuite/lib/libstdc++-v3.exp: ...to this.
1390 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
1392 2003-07-31 Doug Gregor <dgregor@apple.com>
1394 Add user specialization tests.
1395 * testsuite/23_containers/deque/1.cc: New.
1396 * testsuite/23_containers/list/1.cc: New.
1397 * testsuite/23_containers/map/1.cc: New.
1398 * testsuite/23_containers/multimap/1.cc: New.
1399 * testsuite/23_containers/multiset/1.cc: New.
1400 * testsuite/23_containers/set/1.cc: New.
1401 * testsuite/23_containers/vector/1.cc: New.
1403 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
1405 Reshuffle 23_containers testsuite.
1406 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
1407 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
1408 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
1409 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
1410 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
1411 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
1412 vector_resize.cc: Split into...
1413 * 23_containers/bitset/cons/1.cc: New.
1414 * 23_containers/bitset/cons/6282.cc: New.
1415 * 23_containers/bitset/count/6124.cc: New.
1416 * 23_containers/bitset/operations/1.cc: New.
1417 * 23_containers/bitset/operations/2.cc: New.
1418 * 23_containers/bitset/test/1.cc: New.
1419 * 23_containers/bitset/to_ulong/1.cc: New.
1420 * 23_containers/deque/cons/1.cc: New.
1421 * 23_containers/deque/cons/2.cc: New.
1422 * 23_containers/deque/operators/1.cc: New.
1423 * 23_containers/list/capacity/1.cc: New.
1424 * 23_containers/list/cons/1.cc: New.
1425 * 23_containers/list/cons/2.cc: New.
1426 * 23_containers/list/cons/3.cc: New.
1427 * 23_containers/list/cons/4.cc: New.
1428 * 23_containers/list/cons/5.cc: New.
1429 * 23_containers/list/cons/6.cc: New.
1430 * 23_containers/list/cons/7.cc: New.
1431 * 23_containers/list/cons/8.cc: New.
1432 * 23_containers/list/cons/9.cc: New.
1433 * 23_containers/list/modifiers/1.cc: New.
1434 * 23_containers/list/modifiers/2.cc: New.
1435 * 23_containers/list/modifiers/3.cc: New.
1436 * 23_containers/list/operators/1.cc: New.
1437 * 23_containers/list/operators/2.cc: New.
1438 * 23_containers/list/operators/3.cc: New.
1439 * 23_containers/list/operators/4.cc: New.
1440 * 23_containers/map/insert/1.cc: New.
1441 * 23_containers/map/operators/1.cc: New.
1442 * 23_containers/map/operators/1_neg.cc: New.
1443 * 23_containers/multiset/insert/1.cc: New.
1444 * 23_containers/priority_queue/members/7161.cc: New.
1445 * 23_containers/queue/members/7157.cc: New.
1446 * 23_containers/set/operators/1_neg.cc: New.
1447 * 23_containers/stack/members/7158.cc: New.
1448 * 23_containers/vector/bool/1.cc: New.
1449 * 23_containers/vector/bool/6886.cc: New.
1450 * 23_containers/vector/capacity/1.cc: New.
1451 * 23_containers/vector/capacity/2.cc: New.
1452 * 23_containers/vector/capacity/8230.cc: New.
1453 * 23_containers/vector/cons/1.cc: New.
1454 * 23_containers/vector/cons/2.cc: New.
1455 * 23_containers/vector/cons/3.cc: New.
1456 * 23_containers/vector/cons/4.cc: New.
1457 * 23_containers/vector/cons/6513.cc: New.
1458 * 23_containers/vector/element_access/1.cc: New.
1459 * 23_containers/vector/modifiers/1.cc: New.
1460 * 23_containers/vector/modifiers/2.cc: New.
1461 * 23_containers/vector/resize/1.cc: New.
1463 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1465 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1467 * testsuite/thread/pthread2.cc: Likewise.
1468 * testsuite/thread/pthread3.cc: Likewise.
1469 * testsuite/thread/pthread4.cc: Likewise.
1470 * testsuite/thread/pthread5.cc: Likewise.
1471 * testsuite/thread/pthread6.cc: Likewise.
1472 * testsuite/thread/pthread7-rope.cc: Likewise.
1474 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1476 * include/bits/c++config: Partial reversion (comment placement) of
1479 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1481 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1482 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1483 (_GLIBCXX_AT_AT): Remove.
1484 (__USE_MALLOC): Remove.
1485 * include/std/std_fstream.h: Modify.
1486 * include/bits/basic_ios.h: Same.
1487 * include/bits/valarray_array.h: Same.
1488 * include/c_std/std_cmath.h: Same.
1489 * include/c_std/cmath.tcc: Same.
1490 * include/std/std_vector.h: Same.
1491 * include/std/std_string.h: Same.
1492 * include/std/std_stack.h: Same.
1493 * include/std/std_queue.h: Same.
1494 * include/std/std_list.h: Same.
1495 * include/std/std_deque.h: Same.
1496 * include/std/std_streambuf.h: Same.
1497 * include/std/std_sstream.h: Same.
1498 * include/std/std_ostream.h: Same.
1499 * include/std/std_istream.h: Same.
1500 * include/bits/valarray_array.tcc: Same, format.
1502 * include/c/std_cctype.h: Fix include guards.
1503 * include/c/std_cerrno.h: Same.
1504 * include/c/std_cfloat.h: Same.
1505 * include/c/std_climits.h: Same.
1506 * include/c/std_clocale.h: Same.
1507 * include/c/std_cmath.h: Same.
1508 * include/c/std_csetjmp.h: Same.
1509 * include/c/std_csignal.h: Same.
1510 * include/c/std_cstdarg.h: Same.
1511 * include/c/std_cstddef.h: Same.
1512 * include/c/std_cstdio.h: Same.
1513 * include/c/std_cstdlib.h: Same.
1514 * include/c/std_cstring.h: Same.
1515 * include/c/std_ctime.h: Same.
1516 * include/c/std_cwchar.h: Same.
1517 * include/c/std_cwctype.h: Same.
1518 * include/c_std/cmath.tcc: Same.
1519 * include/c_std/std_cmath.h: Same.
1521 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1524 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1525 casts. Changes to avoid casting away constness. Eliminate
1526 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1527 initialization lists. Move out implementation of __black_count()
1529 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1530 Rename_Rb_tree_base_iterator::_M_increment() to
1531 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1533 * config/linker-map.gnu: Add and change symbols here.
1535 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1537 * docs/html/22_locale/howto.html: Use locale::classic() instead
1540 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1542 * testsuite/testsuite_hooks.h: Remove list include.
1543 (func_callback): Define as unique type, not std::list.
1544 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1545 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1546 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1547 * testsuite/23_containers/bitset_ctor.cc:
1548 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1549 * testsuite/18_support/numeric_limits.cc: Same.
1550 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1551 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1552 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1553 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1554 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1555 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1556 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1557 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1558 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1559 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1560 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1561 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1562 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1563 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1564 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1565 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1566 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1567 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1568 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1569 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1570 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1571 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1572 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1573 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1574 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1575 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1576 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1577 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1578 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1579 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1580 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1581 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1582 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1583 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1584 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1585 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1586 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1587 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1588 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1589 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1590 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1591 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1592 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1593 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1594 * testsuite/23_containers/bitset_ctor.cc: Same.
1595 * testsuite/23_containers/bitset_shift.cc: Same.
1596 * testsuite/23_containers/vector_ctor.cc: Same.
1597 * testsuite/23_containers/vector_element_access.cc: Same.
1598 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1599 * testsuite/24_iterators/iterator.cc: Same.
1600 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1601 * testsuite/25_algorithms/lower_bound.cc: Same.
1602 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1603 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1604 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1605 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1606 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1607 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1608 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1609 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1610 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1611 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1612 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1615 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1617 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1618 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1619 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1620 GLIBCPP to GLIBCXX (and explain as needed).
1622 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1626 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1628 * testsuite/22_locale/messages/members/char/1.cc,
1629 testsuite/22_locale/messages/members/char/2.cc,
1630 testsuite/22_locale/messages/members/char/3.cc,
1631 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1632 the origin of LOCALEDIR.
1633 * testsuite/lib/libstdc++-v3.exp: New file.
1635 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1637 * include/bits/char_traits.h: Update copyright, tweak.
1638 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1641 2003-07-24 Matt Austern <austern@apple.com>
1643 * /include/bits/char_traits.h (class char_traits): Put all the
1644 real work into the new class template __gnu_cxx::char_traits.
1645 Gave generic definitions for member functions. Types are taken
1646 from the new class template __gnu_cxx::_Char_types.
1647 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1648 file. Test of std::char_traits<short>, which serves as a test of
1649 the char_traits primary template.
1651 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1653 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1655 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1657 * testsuite/23_containers/map_operators.cc: Conform to
1658 container requirement as value must be Assignable.
1660 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1662 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1663 tests not only generation of pch files, but also their use.
1664 * aclocal.m4, configure: Rebuilt.
1666 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1668 * config/cpu/hppa/atomicity.h: Change
1669 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1670 to match misc-inst.cc
1672 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1674 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1675 * include/c_std/std_cctype.h: Ditto.
1676 * include/c_std/std_cerrno.h: Ditto.
1677 * include/c_std/std_cfloat.h: Ditto.
1678 * include/c_std/std_climits.h: Ditto.
1679 * include/c_std/std_clocale.h: Ditto.
1680 * include/c_std/std_cmath.h: Ditto.
1681 * include/c_std/std_csetjmp.h: Ditto.
1682 * include/c_std/std_csignal.h: Ditto.
1683 * include/c_std/std_cstdarg.h: Ditto.
1684 * include/c_std/std_cstddef.h: Ditto.
1685 * include/c_std/std_cstdio.h: Ditto.
1686 * include/c_std/std_cstdlib.h: Ditto.
1687 * include/c_std/std_cstring.h: Ditto.
1688 * include/c_std/std_ctime.h: Ditto.
1689 * include/c_std/std_cwchar.h: Ditto.
1690 * include/c_std/std_cwctype.h: Ditto.
1691 * include/std/std_algorithm.h: Ditto.
1692 * include/std/std_bitset.h: Ditto.
1693 * include/std/std_complex.h: Ditto.
1694 * include/std/std_deque.h: Ditto.
1695 * include/std/std_fstream.h: Ditto.
1696 * include/std/std_functional.h: Ditto.
1697 * include/std/std_iomanip.h: Ditto.
1698 * include/std/std_ios.h: Ditto.
1699 * include/std/std_iosfwd.h: Ditto.
1700 * include/std/std_iostream.h: Ditto.
1701 * include/std/std_istream.h: Ditto.
1702 * include/std/std_iterator.h: Ditto.
1703 * include/std/std_limits.h: Ditto.
1704 * include/std/std_list.h: Ditto.
1705 * include/std/std_locale.h: Ditto.
1706 * include/std/std_map.h: Ditto.
1707 * include/std/std_memory.h: Ditto.
1708 * include/std/std_numeric.h: Ditto.
1709 * include/std/std_ostream.h: Ditto.
1710 * include/std/std_queue.h: Ditto.
1711 * include/std/std_set.h: Ditto.
1712 * include/std/std_sstream.h: Ditto.
1713 * include/std/std_stack.h: Ditto.
1714 * include/std/std_stdexcept.h: Ditto.
1715 * include/std/std_streambuf.h: Ditto.
1716 * include/std/std_string.h: Ditto.
1717 * include/std/std_utility.h: Ditto.
1718 * include/std/std_valarray.h: Ditto.
1719 * include/std/std_vector.h: Ditto.
1721 2003-07-22 Doug Gregor <dgregor@apple.com>
1723 * include/bits/basic_string.h (basic_string::insert): Deprecate
1726 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1728 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1730 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1731 (test03): Include typeinfo for bad_cast.
1732 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1733 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1734 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1736 2003-07-21 Doug Gregor <dgregor@apple.com>
1738 * include/bits/boost_concept_check.h:
1739 (_EqualityComparableConcept::__constraints): Remove != from the
1740 list of constraints; it is not listed in Table 28 of the C++98
1743 2003-07-18 Andreas Jaeger <aj@suse.de>
1745 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1746 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1747 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1748 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1750 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1752 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1753 * config/locale/generic/messages_members.h: Tweaks.
1754 * config/locale/generic/monetary_members.cc
1755 (moneypunct::_M_initialize_moneypunct): Use cache.
1756 (moneypunct::~moneypunct): Delete cache.
1757 * config/locale/generic/time_members.cc:
1758 (__timepunct::_M_initialize_timepunct): Use cache.
1759 * config/locale/generic/time_members.h:
1760 (__timepunct::~__timepunct): Delete cache.
1761 (__timepunct::__timepunct): Set cache.
1762 * config/locale/gnu/messages_members.h: Tweaks.
1763 * config/locale/gnu/monetary_members.cc:
1764 (moneypunct::_M_initialize_moneypunct): Use cache.
1765 (moneypunct::~moneypunct): Delete cache.
1766 * config/locale/gnu/time_members.cc:
1767 (__timepunct::_M_initialize_timepunct): Use cache.
1768 * config/locale/gnu/time_members.h:
1769 (__timepunct::~__timepunct): Delete cache.
1770 (__timepunct::__timepunct): Set cache.
1771 * include/bits/locale_facets.h (__timepunct_cache): New.
1772 (__moneypunct_cache): New.
1773 * include/bits/locale_facets.tcc: Tweak.
1774 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1775 * src/locale-inst.cc: Instantiate caches.
1776 * src/globals.cc: Add "C" caches.
1777 * src/localename.cc: Use external "C" caches.
1779 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1781 * docs/doxygen/guide.html: Fix typo.
1783 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1785 * include/ext/pod_char_traits.h: Add state template argument.
1787 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1789 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1790 (num_get::_M_convert_int): To _M_insert_int.
1791 (num_get::_M_convert_float): To _M_insert_float.
1792 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1793 Use caches for ctype, num_get.
1794 (num_get::_M_extract_int): Same.
1795 (num_get::get(bool)): Same.
1796 (__verify_grouping): Use size_t.
1797 * src/locale-inst.cc: Update.
1798 * src/locale.cc: Adjust _S_atoms_in.
1800 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1802 * docs/doxygen/mainpage.html: Move building/writing instructions...
1803 * docs/doxygen/guide.html: ...to here. New file.
1805 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1807 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1808 * docs/html/faq/index.html: Same.
1809 * docs/html/faq/index.txt: Regenerate.
1811 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1814 * include/bits/locale_facets.tcc (money_get::do_get):
1815 Strip only _leading_ zeros.
1816 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1817 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1819 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1821 * include/ext/hash_map (class hash_multimap): Remove extra
1822 semicolons from __glibcxx_class_requires3 entries.
1823 * include/ext/hash_set (class hash_set): Ditto.
1824 (class hash_multiset): Ditto.
1826 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1828 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1829 Change last parameter from int_type to size_t.
1831 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1833 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1834 set_difference, set_symmetric_difference, max_element, min_element,
1835 next_permutation, prev_permutation, find_first_of, find_end):
1837 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1838 restrictions in docs.
1839 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1841 * docs/doxygen/doxygroups.cc (setoperations): New group.
1843 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1845 * include/bits/basic_string.h: Document public functions.
1846 * docs/doxygen/TODO: Update c21 todo.
1848 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1850 * include/bits/stl_list.h: Document more functions.
1851 * docs/doxygen/TODO: Update c23 todo.
1853 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1855 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1858 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1860 * include/bits/stl_tempbuf.h: Qualify free with std::.
1861 * src/locale.cc: Include <cstdlib>, qualify getenv.
1863 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1865 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1866 <cstdio>. Qualify names.
1867 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1869 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1870 Nathan C. Myers <ncm-nospam@cantrip.org>
1873 * include/std/std_fstream.h (xsputn): Declare only.
1874 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1875 always_noconv() case: when __n is sufficiently large flush
1876 the buffer and issue a direct write, if possible combining the
1877 two with writev in __basic_file<>::xsputn_2.
1878 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1880 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1882 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1883 the availability of writev in <sys/uio.h>.
1884 * configure.in: Call here.
1885 * acconfig.h: Add undef for the corresponding symbol.
1886 * aclocal.m4: Regenerate.
1887 * configure: Regenerate.
1888 * config.h.in: Regenerate.
1889 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1891 * include/std/std_fstream.h (sync): Constify a variable.
1893 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1895 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1896 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1898 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1900 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1901 <cstring> and <cstdlib>. Qualify names.
1903 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1905 * config/locale/generic/c_locale.h: Include <cstdlib> and
1907 * include/bits/boost_concept_check.h: Add this-> to unqualified
1909 * include/bits/deque.tcc: Likewise.
1910 * include/bits/locale_facets.h : Likewise.
1911 * include/bits/ostream.tcc: Likewise.
1912 * include/bits/stl_algo.h: Likewise.
1913 * include/bits/stl_bvector.h: Likewise.
1914 * include/bits/stl_deque.h: Likewise.
1915 * include/bits/stl_list.h: Likewise.
1916 * include/bits/stl_tree.h: Likewise.
1917 * include/bits/stl_vector.h: Likewise.
1918 * include/bits/vector.tcc: Likewise.
1919 * include/ext/rope: Likewise.
1920 * include/ext/ropeimpl.h: Likewise.
1921 * include/ext/stdio_filebuf.h: Likewise.
1923 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1925 * include/bits/basic_ios.h (copyfmt): Document.
1926 * include/bits/ios_base.h (event, event_callback, register_callback,
1927 xalloc, iword, pword): Document.
1928 (imbue, ~ios_base): Update docs on callbacks.
1930 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1932 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1933 warning messages if the environment cannot support symbol versioning.
1934 (port_specific_symbol_file): It's plural, add an 's' on the end.
1935 * configure.host: Likewise.
1936 * src/Makefile.am: Likewise.
1937 * config/linker-map.gnu: Remove one semicolon, heh.
1938 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1939 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1940 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1942 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1944 * include/bits/locale_facets.tcc: Use function object for
1945 __use_cache instead of template function. Partially specialize for
1947 * include/bits/locale_classes.h: Update friend declaration for
1949 (_M_install_cache): No throw exception specs.
1950 * src/locale.cc: Remove __use_cache specializations.
1951 * include/ext/pod_char_traits.h (length): Tweak.
1952 * include/bits/locale_facets.h (__numpunct_cache): Remove
1954 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1956 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1957 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1958 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1959 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1960 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1961 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1963 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1965 * src/ios.cc (_M_grow_words): Fix spelling.
1967 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1969 * include/bits/stl_tree.h: Move larger member functions in
1970 _Rb_tree_base_iterator and _Rb_tree_node to...
1971 * src/stl_tree.cc: Here.
1972 * src/Makefile.in: Add stl_tree.cc.
1973 * src/Makefile.in: Regenerated.
1974 * config/linker-map.gnu: Add symbols here.
1976 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1978 * testsuite/ext/pod_char_traits.cc: New.
1979 * include/ext/pod_char_traits.h: New.
1980 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1981 * include/Makefile.in: Regenerate.
1982 * docs/html/21_strings/howto.html: Update.
1984 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1986 * testsuite/performance/list_create_fill_sort.cc: New.
1988 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1990 * config/locale/generic/numeric_members.cc: Correct type info.
1991 * config/locale/gnu/numeric_members.cc: Same.
1992 * include/bits/locale_facets.h: Same.
1994 * include/bits/char_traits.h: Correct spacing.
1996 * src/locale.cc: Wrap to 80 col.
1998 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
2000 * include/std/std_complex.h: Partially revert last
2001 changes: cmath functions must not be qualified.
2003 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2005 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
2006 2.11 with globbing backport fix.
2007 * aclocal.m4, configure: Regenerated.
2009 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2011 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
2012 if output is at all possible (!_M_reading), cannot be active.
2014 * include/std/std_fstream.h: Tweak comments to doxygen style.
2016 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2018 * include/bits/locale_classes.h: Fully qualify standard
2019 functions with std::, thus avoiding Koenig lookup.
2020 * include/bits/locale_facets.tcc: Likewise.
2021 * src/locale.cc: Likewise.
2022 * src/localename.cc: Likewise.
2024 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2026 * include/bits/allocator_traits.h: Fix doxygen markup.
2027 * include/ext/mt_allocator.h: Likewise.
2029 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2031 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
2033 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2035 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
2036 requirement. Add port_specific_symbol_file variable.
2037 * configure.host: Add docs for port_specific_symbol_file.
2038 Clean up try_cpu block for x86.
2039 * config/linker-map.gnu: No more "last symbol can't have a
2040 semicolon" kaka. Add hook for port-specific symbols.
2041 * src/Makefile.am: Remove trailing whitespace.
2042 (libstdc++-symbol.ver): Detect the presence of port-specific
2043 symbols, and add them accordingly.
2045 * docs/html/17_intro/porting.texi: Bring up to date.
2047 * src/Makefile.in, aclocal.m4, configure,
2048 docs/html/17_intro/porting.html: Regenerated.
2050 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2052 * scripts/create_testsuite_files: New file.
2053 * testsuite/Makefile.am (all-local, check-performance): Use it.
2054 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
2055 * testsuite/Makefile.in: Regenerated.
2057 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
2059 * testsuite/performance/fstream_seek_write.cc: Likewise.
2060 * testsuite/performance/ofstream_insert_float.cc: Likewise.
2061 * testsuite/performance/ofstream_insert_int.cc: Likewise.
2062 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
2064 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2066 * include/bits/stl_list.h: Performance and memory usage
2067 improvements. In particular, the behaviour of the constructor and
2068 destructor as the list header node is no longer dynamically
2069 allocated/de-allocated.
2070 * include/bits/list.tcc: Likewise.
2072 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2074 * include/std/std_complex.h: Fully qualify standard
2075 functions with std::, thus avoiding Koenig lookup.
2076 * include/std/std_memory.h: Likewise.
2077 * include/std/std_valarray.h: Likewise.
2079 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2081 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
2082 variable for grandparent and use const
2084 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
2086 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
2087 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
2088 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
2089 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
2090 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
2091 * testsuite/27_io/objects/char/7.cc: Ditto
2092 * testsuite/27_io/objects/char/9661-1.cc: Ditto
2094 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2096 * include/std/std_bitset.h: Fully qualify standard
2097 functions with std::, thus avoiding Koenig lookup.
2099 * include/std/std_fstream.h: Change comment to doxygen style.
2101 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2103 * include/std/std_limits.h: More CPP->CXX changes.
2104 * scripts/check_survey.in: Likewise.
2106 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2108 Move from CPP to CXX.
2109 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
2110 * testsuite/Makefile.am: Same.
2111 * testsuite/Makefile.in: Regenerate.
2112 * po/Makefile.am: Same.
2113 * po/Makefile.in: Regenerate.
2114 * libsupc++/Makefile.am: Same.
2115 * libsupc++/Makefile.in: Regenerate.
2116 * libmath/Makefile.am: Same.
2117 * libmath/Makefile.in: Regenerate.
2118 * include/Makefile.am: Same.
2119 * include/Makefile.in: Regenerate.
2120 * src/Makefile.am: Same.
2121 * src/Makefile.in: Regenerate.
2123 * configure.host: Same.
2124 * configure.in: Same.
2125 * configure: Regenerate.
2126 * acinclude.m4: Same.
2128 * src: Change all files in this directory.
2130 * include: Same, standardize include guards.
2134 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2136 * testsuite/22_locale/collate/compare/wchar_t/2.cc
2137 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
2138 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
2139 * testsuite/22_locale/collate/hash/wchar_t/2.cc
2140 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
2141 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
2142 * testsuite/22_locale/collate/transform/wchar_t/2.cc
2143 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
2144 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2145 XFAIL on all targets.
2147 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2149 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
2150 * aclocal.m4: Regenerate.
2151 * configure: Regenerate.
2153 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
2155 * include/bits/locale_facets.tcc (__int_to_char): Move common case
2158 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2159 Petur Runolfsson <peturr02@ru.is>
2161 * config/io/basic_file_stdio.cc: Revert.
2163 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2165 * include/bits/deque.tcc: Fully qualify standard
2166 functions with std::, thus avoiding Koenig lookup.
2167 * include/bits/gslice_array.h: Likewise.
2168 * include/bits/indirect_array.h: Likewise.
2169 * include/bits/list.tcc: Likewise.
2170 * include/bits/mask_array.h: Likewise.
2171 * include/bits/slice_array.h: Likewise.
2173 2003-07-04 Gawain Bolton <gbolton@free.fr>
2175 * include/bits/stl_tree.h: Performance and memory usage
2178 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2180 * Makefile.am: Replace PWD with PWD_COMMAND.
2181 * Makefile.in: Regenerated.
2182 * docs/html/Makefile: Likewise.
2184 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2186 * include/bits/valarray_array.h: Fully qualify standard
2187 functions with std::, thus avoiding Koenig lookup.
2188 * include/bits/vector.tcc: Likewise.
2190 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2192 * include/Makefile.am: Update target_ to host_.
2193 * include/Makefile.in: Regenerate.
2194 * src/Makefile.am: Same.
2195 * src/Makefile.in: Regenerate.
2197 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
2199 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2201 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
2202 --enable-libstdcxx-debug-flags.
2203 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
2204 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
2205 * aclocal.m4: Regenerate.
2207 * docs/html/configopts.html: Update.
2209 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2211 Revert the fix for libstdc++/11378.
2213 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2216 * include/std/std_fstream.h (xsputn): In the unbuffered case,
2217 provided always_noconv(), issue directly _M_file.xsputn.
2218 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
2220 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2222 * include/bits/stl_list.h: Fully qualify standard
2223 functions with std::, thus avoiding Koenig lookup.
2224 * include/bits/stl_queue.h: Likewise.
2225 * include/bits/stl_raw_storage_iter.h: Likewise.
2226 * include/bits/stl_tempbuf.h: Likewise.
2227 * include/bits/stl_tree.h: Likewise.
2228 * include/bits/stl_uninitialized.h: Likewise.
2229 * include/bits/stl_vector.h: Likewise.
2230 * include/ext/rope: Change includes order.
2232 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2234 * configure.host (fpos_include_dir): Fix.
2236 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2238 * include/bits/stl_heap.h: Fully qualify standard
2239 functions with std::, thus avoiding Koenig lookup.
2240 * include/bits/stl_iterator_base_funcs.h: Likewise.
2242 * include/bits/stl_algo.h: Qualify __iterator_category too.
2243 * include/bits/stl_algobase.h: Likewise.
2244 * include/bits/stl_bvector.h: Likewise.
2246 * include/bits/stl_algo.h: Don't qualify the pair type.
2248 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2250 * include/Makefile.am (target_headers): Add fpos.h
2251 (bits_headers): Remove.
2252 * include/Makefile.in: Regenerate.
2253 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
2254 * configure: Regenerate.
2255 * configure.host: Add fpos_include_dir.
2256 * config/os/gnu-linux/fpos.h: New.
2257 * config/os/generic/fpos.h: Add.
2258 * include/bits/fpos.h: Remove.
2260 * config/io/c_io_stdio.h: Remove fpos_t typedef.
2262 * include/bits/fstream.tcc: Tweaks.
2263 * include/std/std_fstream.h: Same.
2265 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
2266 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
2267 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
2268 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
2269 * testsuite/27_io/fpos/1.cc: New.
2271 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2272 Petur Runolfsson <peturr02@ru.is>
2274 * include/std/std_streambuf.h: Remove _M_pos.
2275 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
2276 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
2277 use fread/fwrite instead of read/write.
2278 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
2279 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
2280 before reading again.
2281 * testsuite/27_io/objects/char/6.cc: Tweak.
2283 2003-07-03 David Edelsohn <edelsohn@gnu.org>
2285 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
2286 _GLIBCPP_USE_WCHAR_T.
2288 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2290 * include/bits/basic_string.tcc (_M_replace_aux): Constify
2293 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2295 * include/bits/stl_bvector.h: Fully qualify standard
2296 functions with std::, thus avoiding Koenig lookup.
2297 * include/bits/stl_construct.h: Likewise.
2298 * include/bits/stl_deque.h: Likewise.
2300 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2302 * testsuite/22_locale/num_put/put/char/7.cc: Include
2303 <testsuite_hooks.h>, tweak.
2304 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
2306 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
2308 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
2309 check* targets, but not libs/programs).
2310 * testsuite/Makefile.in: Regenerate.
2312 2003-07-01 Roger Sayle <roger@eyesopen.com>
2314 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
2315 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
2316 * aclocal.m4: Regenerate.
2317 * configure: Regenerate.
2319 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
2321 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
2322 * aclocal.m4: Regenerated.
2323 * configure: Regenerated.
2325 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
2328 * include/bits/fstream.tcc (underflow): For encoding() == 0
2329 don't read more than __buflen chars.
2330 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
2331 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
2332 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
2333 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
2335 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
2337 * 22_locale/num_put/put/char/7.cc: New.
2338 * 22_locale/num_put/put/wchar_t/7.cc: New.
2340 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2342 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
2343 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
2345 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2347 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
2348 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
2349 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
2350 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
2351 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
2352 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
2353 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
2354 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
2355 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
2356 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
2357 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
2358 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
2359 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
2360 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
2361 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
2362 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
2363 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
2364 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
2365 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
2366 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
2367 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
2368 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
2369 * data/seekoff-1.tst: Remove.
2370 * data/seekoff-1io.tst: New.
2371 * data/seekoff-1out.tst: New.
2372 * data/seekoff-2.tst: Remove.
2373 * data/seekoff-2io.tst: New.
2374 * data/seekoff-2out.tst: New.
2376 * data/seekpos-1.tst: Remove.
2377 * data/seekpos-1io.tst: New.
2378 * data/seekpos-1out.tst: New.
2379 * data/seekpos-2.tst: Remove.
2380 * data/seekpos-2io.tst: New.
2381 * data/seekpos-2out.tst: New.
2382 * data/seekpos.txt: New.
2384 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2386 * src/locale.cc (__use_cache<numpunct>): Move from here ...
2387 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
2390 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2392 * include/bits/stl_algobase.h: Fully qualify standard
2393 functions with std::, thus avoiding Koenig lookup.
2395 2003-06-30 Doug Gregor <dgregor@apple.com>
2397 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
2398 subscripting empty string.
2400 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2402 * testsuite/Makefile.am (check-am): Do not override.
2403 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
2404 * testsuite/Makefile.in: Regenerate.
2406 2003-06-30 Doug Gregor <dgregor@apple.com>
2408 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
2409 Don't initialize an insert_iterator with a singular iterator.
2411 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2413 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
2414 * aclocal.m4: Regenerate.
2415 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
2416 GLIBCPP_ENABLE_PCH, default to yes.
2417 * configure: Regenerate.
2418 * docs/html/configopts.html: Add --enable-pch.
2420 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2422 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
2423 (libstdc++-v3-init): Also set LD_RUN_PATH.
2425 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2427 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2428 from here to filebuf and stringbuf.
2429 (~basic_streambuf()): Don't set _M_mode.
2430 (basic_streambuf()): Don't set _M_mode.
2431 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2432 (~basic_filebuf()): Clean up.
2433 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2434 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2435 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2436 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2437 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2438 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2439 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2441 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2443 * include/std/std_fstream.h (_M_underflow): Remove.
2444 (uflow): Remove, inherited from streambuf.
2445 (underflow): Only declare.
2446 * include/bits/fstream.tcc (_M_underflow): Rename to
2447 underflow, to which is equivalent for __bump == false,
2449 * include/std/std_sstream.h (_M_underflow): Remove.
2450 (uflow): Remove, inherited from streambuf.
2451 (underflow): Only declare.
2452 * include/bits/sstream.tcc (_M_underflow): Rename to
2453 underflow, to which is equivalent for __bump == false,
2456 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2458 * include/bits/stl_algo.h: Fully qualify standard functions
2459 with std::, thus avoiding Koenig lookup.
2461 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2463 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2464 Improve type correctness-wise.
2465 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2467 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2469 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2472 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2474 * include/std/std_streambuf.h (uflow): According to
2475 27.5.2.4.3,p16, don't check gptr() < egptr().
2477 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2480 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2481 (seekpos): Likewise.
2482 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2484 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2487 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2489 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2490 output name to libstdc++-v3-performance.sum.
2491 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2492 * testsuite/Makefile.in: Regenerate.
2494 2003-06-27 Matthias Klose <doko@debian.org>
2496 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2497 output of abi-check in libstdc++-v3-abi.sum.
2498 * testsuite/Makefile.in: Regenerate.
2500 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2502 * config/os/bsd/netbsd/ctype_noninline.h
2503 (_C_ctype_): Declare.
2504 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2505 (ctype<char>::ctype): Use classic_table.
2507 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2508 Nathan C. Myers <ncm-nospam@cantrip.org>
2511 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2512 the worst-case number of external bytes for a given get area.
2513 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2515 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2516 Petur Runolfsson <peturr02@ru.is>
2519 * include/bits/fstream.tcc (overflow): Properly estimate the
2520 worst-case number of external bytes for a given put area
2521 (by using codecvt::max_length()).
2522 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2523 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2524 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2525 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2527 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2529 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2531 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2533 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2534 to the imbued locale.
2535 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2537 (num_put::_M_convert_float): Use.
2539 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2540 Jerry Quinn <jlquinn@optonline.net>
2542 * config/linker-map.gnu: Add __numpunct_cache.
2543 * config/locale/gnu/numeric_members.cc
2544 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2545 all elements for "C" locale.
2546 (numpunct::~numpunct): Delete _M_data.
2547 * config/locale/generic/numeric_members.cc: Same.
2548 * include/bits/basic_ios.tcc
2549 (basic_ios::init): Remove __locale_cache bits.
2550 (basic_ios::_M_cache_locale): Same.
2551 * include/bits/ios_base.h: Same. Tweaks.
2552 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2553 (__use_cache): Make friends with _Impl, locale.
2554 (_Impl::_M_caches): Add.
2555 (_Impl::_M_install_cache): Add.
2556 * include/bits/locale_facets.h (__numpunct_cache): New.
2557 (numpunct): Encapsulate data members in __numpunct_cache member,
2558 _M_data. Adjust virtuals.
2559 (numpunct::numpunct): New ctor for the same.
2560 (__locale_cache_base): Remove.
2561 (__locale_cache): Remove.
2562 * include/bits/locale_facets.tcc (__use_cache): New function,
2564 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2565 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2566 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2567 * src/locale-inst.cc: Same. Add __numpunct_cache.
2568 * src/locale.cc: Tweak inlines.
2569 (__use_cache): Define specializations.
2570 * src/localename.cc: Use global bits.
2571 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2572 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2573 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2574 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2575 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2577 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2578 Paolo Carlini <pcarlini@unitus.it>
2580 * testsuite/performance/filebuf_copy.cc: New, testing char
2583 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2584 Nathan C. Myers <ncm-nospam@cantrip.org>
2586 * include/bits/fstream.tcc (_M_underflow): When the actual
2587 end of file is reached, set 'uncommitted' mode to allow a
2588 next write without an intervening seek (see C++98 27.8.1.1,2
2590 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2592 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2594 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2595 sputc): Move inline, from here...
2596 * include/std/std_streambuf.h: ... to here.
2598 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2599 sputbackc, sungetc, sputc): Use __builtin_expect.
2601 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2603 * docs/doxygen/mainpage.html: Use a useful title.
2605 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2607 * docs/html/documentation.html: Remove assignment info.
2608 * docs/html/17_intro/contribute.html: Edits.
2609 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2611 * docs/html/test.html: Update.
2615 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2616 Ulrich Drepper <drepper@redhat.com>
2618 * testsuite/testsuite_performance.h: Tweak mallinfo.
2620 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2621 Nathan C. Myers <ncm-nospam@cantrip.org>
2623 * include/std/std_fstream.h (_M_filepos): Remove.
2624 (_M_reading, _M_writing): New, encode the various I/O modes:
2625 'read', 'write' and 'uncommitted'.
2626 (sync): If there is something to flush, do it, then go to
2628 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2629 with three different cases: __off > 0 (upon underflow),
2630 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2632 (_M_underflow): Don't call overflow, set _M_reading to true
2634 (pbackfail): Set _M_reading to true on pback creation, tweak.
2635 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2636 set _M_writing to true on success, tweak.
2637 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2638 _M_set_buffer(-1) ('uncommitted').
2639 (open, close, setbuf): Set _M_reading, _M_writing to false and
2640 call _M_set_buffer(-1), tweak.
2641 (basic_filebuf): Don't set _M_buf_unified.
2642 (_M_destroy_internal_buffer): Don't call setg and setp.
2643 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2644 _M_writing and _M_set_buffer(-1).
2645 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2646 _M_out_lim, _M_buf_unified): Remove.
2647 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2648 (setp): Don't set _M_out_lim.
2649 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2650 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2651 upon open the mode is 'uncommitted' and therefore the put area
2653 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2654 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2655 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2656 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2657 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2658 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2659 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2660 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2661 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2662 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2663 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2664 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2665 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2666 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2667 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2668 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2669 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2670 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2671 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2672 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2674 * include/bits/fstream.tcc (showmanyc): Use only the
2675 documented derivation interface to basic_streambuf (gptr(),
2676 setg(), etc.) to work right with user specializations.
2677 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2678 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2679 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2681 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2684 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2686 * configure.host (freebsd*): Set abi_baseline_pair.
2687 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2688 (at or near first release) to 3.3.
2689 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2690 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2691 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2693 * include/ext/mt_allocator.h: Portability.
2694 * testsuite/testsuite_performance.h: Likewise.
2696 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2698 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2700 * testsuite/performance/ifstream_getline.cc: Fix.
2702 2003-06-23 Doug Gregor <dgregor@apple.com>
2704 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2707 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2708 Nathan C. Myers <ncm-nospam@cantrip.org>
2710 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2711 is now used only for filebuf, when _M_buf_unified is true.
2712 epgtr() plays the role of _M_out_lim but it's only updated
2713 upon overflow, underflow, uflow, seekoff/pos.
2714 * include/bits/sstream.tcc (_M_underflow): New, implements
2715 stringbuf::underflow and uflow.
2716 (seekoff, seekpos): Tweak, use _M_update_egptr.
2717 * include/std/std_sstream.h (str): Rewrote, deal correctly
2718 with the new logic, in particular, when pptr() > egptr().
2719 (_M_sync): When __testout && !__testin set all the get area
2720 pointers to the current string end.
2721 (_M_update_egptr): New, internal function updating egptr()
2722 to the actual string end.
2723 (_M_underflow): New, declare.
2724 (underflow): Dispatch to _M_underflow(false).
2725 (uflow): Dispatch to _M_underflow(true).
2727 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2728 seekpos): Use only the documented derivation interface to
2729 basic_streambuf (gptr(), setg(), etc.) to work right with
2730 user specializations.
2731 * include/std/std_sstream.h (str, _M_sync): Likewise.
2733 2003-06-20 Doug Gregor <dgregor@apple.com>
2735 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2736 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2737 dereference end iterator.
2738 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2739 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2740 index equal to the length of a string.
2741 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2742 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2743 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2744 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2745 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2746 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2747 singular reverse iterator.
2748 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2750 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2752 2003-06-20 Doug Gregor <dgregor@apple.com>
2754 * include/bits/basic_string.h (basic_string::replace): Dispatch
2755 _InputIterator version based on _Is_integer.
2756 * include/bits/basic_string.tcc (basic_string::replace):
2757 Renamed replace(iterator, iterator, size_type, _CharT) to
2759 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2760 Test basic_string::assign(_InputIterator, _InputIterator),
2761 which calls basic_string::replace(iterator, iterator,
2762 _Input_iterator, _InputIterator).
2764 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2766 * testsuite/testsuite_performance.h (resource_counter): Don't use
2767 mallinfo at the moment.
2769 2003-06-20 Matthias Klose <doko@debian.org>
2771 * configure.host: Set try_cpu to target_cpu for existing
2774 2003-06-19 Andreas Jaeger <aj@suse.de>
2776 * testsuite/Makefile.am (extract_symvers): Revert accidental
2778 * testsuite/Makefile.in: Regenerate.
2780 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2781 * configure: Regenerated.
2783 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2785 * include/std/std_sstream.h (_M_sync): Make non virtual.
2787 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2789 * testsuite/testsuite_performance.h (time_counter): New.
2790 (resource_counter): New.
2791 (report_performance): New.
2792 (start_counters): New.
2793 (stop_counters): New.
2794 (clear_counters): New.
2795 * testsuite/performance/allocator.cc: Instrument.
2796 * testsuite/performance/cout_insert_int.cc: Same.
2797 * testsuite/performance/complex_norm.cc: Same.
2798 * testsuite/performance/filebuf_sputc.cc: New.
2799 * testsuite/performance/fstream_seek_write.cc: Same.
2800 * testsuite/performance/ifstream_getline.cc: Same.
2801 * testsuite/performance/map_create_fill.cc: Same.
2802 * testsuite/performance/ofstream_insert_float.cc: Same.
2803 * testsuite/performance/ofstream_insert_int.cc: Same.
2804 * testsuite/performance/string_append.cc: Convert.
2805 * scripts/check_performance: New.
2806 * testsuite/Makefile.am (check-performance): New.
2809 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2810 Benjamin Kosnik <bkoz@redhat.com>
2812 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2813 * include/bits/fstream.tcc (setbuf): Tweak.
2815 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2817 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2818 _M_out_lim, therefore _M_move_out_cur boils down to simply
2819 updating _M_out_cur.
2820 (seekpos): Likewise, clean up.
2822 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2823 Paolo Carlini <pcarlini@unitus.it>
2825 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2826 simply equivalent to the unbuffered case (0, 0) as far as
2827 _M_buf_size is concerned.
2829 2003-06-18 Andreas Jaeger <aj@suse.de>
2831 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2833 (baseline_file): Use baseline_dir.
2834 (baseline_dir): New.
2835 (mkinstalldirs): New.
2837 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2838 filename from baseline_dir.
2840 * testsuite/Makefile.in: Regenerated.
2841 * Makefile.in: Regenerated.
2842 * aclocal.m4: Regenerated.
2843 * configure: Regenerated.
2845 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2847 * configure.in: Missed check_survey bit.
2848 * configure: Regenerated.
2850 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2853 * config/abi/extract_symvers: Move to...
2854 * scripts/extract_symvers: ...here.
2855 * mkcheck.in: Move to..
2856 * scripts/check_survey.in: ...here.
2857 * testsuite_flags.in: Move to..
2858 * scripts/testsuite_flags.in: ...here.
2859 * configure.in: Change check and testsuite_flags locations.
2860 * configure: Regenerate.
2861 * testsuite/Makefile.am (current_symbols.txt): Change location.
2862 * testsuite/Makefile.in: Regenerate.
2863 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2864 location of testsuite_flags.
2865 * Makefile.am (check-script): Move..
2866 (check-script-install): Move...
2867 * testsuite/Makefile.am: ... here.
2868 * testsuite/Makefile.in: Regenerate.
2869 * Makefile.in: Regenerate.
2871 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2873 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2875 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2877 * Makefile.am (check-abi): Move...
2878 (new-abi-baseline): Move...
2879 * testsuite/Makefile.am: ...here.
2880 (new-abi-baseline): Conditionalize.
2881 (check-abi): Conditionalize.
2882 (check-abi-verbose): New.
2883 * Makefile.in: Regenerate.
2884 * testsuite/Makefile.in: Regenerate.
2885 * configure.in: Consolidate testsuite configure bits.
2886 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2887 * configure: Regenerate.
2888 * aclocal.m4: Regenerate.
2889 * testsuite/abi_check.cc: Add --check-verbose.
2890 Only output detailed information if --check-verbose.
2892 2003-06-16 Andreas Jaeger <aj@suse.de>
2894 * testsuite/abi_check.cc: Create summary report.
2896 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2898 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2899 for systems with BUFSIZ != 8192.
2900 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2901 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2904 2003-06-16 Andreas Jaeger <aj@suse.de>
2906 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2907 check-abi multilib aware.
2908 * aclocal.m4: Regenerate.
2909 * configure: Regenerate.
2911 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2912 Andreas Jaeger <aj@suse.de>
2914 * configure.host: Set x86_64 abi_baseline pair correctly.
2916 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2918 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2919 fix for missing seeks between gets and puts into...
2920 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2921 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2922 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2923 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2924 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2925 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2927 2003-06-15 Richard Henderson <rth@redhat.com>
2929 * config/linker-map.gnu: Export virtual function thunks for
2932 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2934 * config/abi/i686-pc-linux-gnu: To..
2935 * config/abi/i486-linux-gnu: ...this.
2936 * config/abi/alphaev67-unknown-linux-gnu: To..
2937 * config/abi/alpha-linux-gnu: ...this.
2938 * config/abi/ia64-unknown-linux-gnu: To...
2939 * config/abi/ia64-linux-gnu: ...this.
2940 * config/abi/x86_64-unknown-linux-gnu: To...
2941 * config/abi/x86_64-linux-gnu: ...this.
2942 * config/abi/i386-unknown-freebsd4: To...
2943 * config/abi/i386-freebsd4: ...this.
2944 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2946 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2947 Simplify cpu bits so that abi_baseline_pair can use the same
2949 * acinclude.m4: Same.
2950 * aclocal.m4: Regenerate.
2951 * configure.in: Can't get enable_abi_check to yes unless native.
2952 * configure: Regenerate.
2954 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2956 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2957 fix for missing seeks between gets and puts into...
2958 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2959 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2960 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2961 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2962 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2963 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2964 for missing seeks between gets and puts.
2965 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2966 * testsuite/data/seekoff-1.tst: New.
2967 * testsuite/data/seekoff-2.tst: New.
2968 * testsuite/data/seekpos-1.tst: New.
2969 * testsuite/data/seekpos-2.tst: New.
2971 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2973 Avoid multi-processor bus contention on increment/decrement-and-
2974 test of the reference count in the empty-string object, by comparing
2975 addresses first, and never touching the reference count of the empty-
2977 * include/bits/basic_string.h:
2978 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2980 (_Rep::_S_empty_rep()): New accessor.
2981 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2982 a base class _Rep_base.
2983 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2984 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2985 since no longer must increment its refcount.
2986 * include/bits/basic_string.tcc:
2987 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2988 return immediately. The former might be unnecessary. The latter
2989 prevents begin() and end() from cloning it unnecessarily.
2990 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2991 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2992 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2993 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2994 (_M_mutate): Check for the empty string and treat it as shared.
2995 This is necessary here because _M_mutate is sometimes called with
2996 all-zero arguments; in all other uses of _M_is_shared, the test comes
2999 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
3001 * src/allocator-inst.cc: Explicitly instantiate.
3002 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
3004 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
3006 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3008 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
3009 * aclocal.m4: Regenerate.
3010 * Makefile.am (SUBDIRS): Remove libio.
3011 * Makefile.in: Regenerate.
3012 * configure.in: Same.
3013 * configure: Regenerate.
3014 * config/io/basic_file_libio.cc: Remove.
3015 * config/io/basic_file_libio.h: Remove.
3016 * config/io/c_io_libio_codecvt.c: Remove.
3017 * config/io/c_io_libio.h: Remove.
3019 * src/Makefile.am: Same.
3020 * src/Makefile.in: Regenerate.
3021 * docs/html/configopts.html: Edits.
3022 * docs/html/explanations.html: Edits.
3024 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3026 * include/bits/stl_alloc.h (__debug_alloc): Move out.
3027 (__malloc_alloc): Same.
3028 (__pool_alloc): Same.
3029 (__new_alloc): Same.
3031 * include/bits/allocator.h: ...this.
3032 * include/bits/stl_deque.h: Modify comment.
3033 * include/bits/stl_tree.h: Modify include.
3034 * include/std/std_memory.h: Same.
3035 * include/ext/rope: Same.
3036 * include/ext/slist: Same.
3037 * include/std/std_vector.h: Same.
3038 * include/std/std_stack.h: Same.
3039 * include/std/std_queue.h: Same.
3040 * include/std/std_list.h: Same.
3041 * include/std/std_deque.h: Same.
3042 * include/backward/alloc.h: Same.
3043 * include/ext/debug_allocator.h: New.
3044 * include/ext/malloc_allocator.h: New.
3045 * include/ext/pool_allocator.h: New.
3046 * include/ext/new_allocator.h: New.
3047 * include/bits/pthread_allocimpl.h: Remove.
3048 * include/bits/stl_pthread_alloc.h: Remove.
3049 * include/Makefile.am (ext_headers): Add.
3050 * include/Makefile.in: Regenerate.
3051 * src/stl-inst.cc: Use __gnu_cxx namespace.
3052 * src/stl-inst.cc: Move to...
3053 * src/allocator-inst.cc: Here.
3054 * src/Makefile.am (sources): Update.
3055 * src/Makefile.in: Regenerate.
3056 * config/linker-map.gnu: Remove __pool_alloc bits.
3057 * testsuite/ext/headers.cc: Add.
3058 * testsuite/ext/allocators.cc: Fixup.
3060 2003-06-11 Stefan Olsson <stefan@snon.net>
3061 Ola Rönnerup <fnolis@home.se>
3063 * include/Makefile.am (ext_headers): Add.
3064 * include/Makefile.in: Regenerate.
3065 * include/ext/mt_allocator.h: New file.
3067 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3069 * include/bits/fstream.tcc (close): Clean up a bit.
3071 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
3073 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
3074 - the saved _M_in_cur, that is - cannot be null.
3075 (sync): Constify a variable.
3077 * include/std/std_streambuf.h: Tweak a comment.
3078 (in_avail): Constify a variable.
3080 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
3082 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
3083 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
3084 correctness of container::iterator typedefs. Fix whitespace.
3085 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
3087 * docs/html/documentation.html: Regenerate.
3089 * include/bits/basic_string.h, include/bits/basic_string.tcc,
3090 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
3091 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
3092 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
3093 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
3094 include/bits/stl_vector.h, include/bits/vector.tcc,
3095 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
3096 Change _Iter names to _Iterator, and __pos to __position.
3098 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
3099 include/bits/stl_multiset.h, include/bits/stl_set.h:
3100 Remove emacs markers.
3102 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
3104 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3106 * include/bits/fstream.tcc (overflow): According to
3107 27.5.2.4.5, overflow() returns not_eof(eof()).
3108 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
3109 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
3111 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3113 * include/bits/fstream.tcc (_M_underflow): Check overflow return
3114 value; tweak slightly.
3116 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3118 * include/bits/fstream.tcc (_M_underflow): Do not special
3119 case the unbuffered case, which really means simply a one char
3121 (basic_filebuf): Initialize _M_buf_size.
3122 (setbuf): Unbuffered means _M_buf_size == 1, since only
3123 _M_buf_size - 1 == 0 chars are going to be used for the
3124 put area and 1 for the get area.
3125 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
3126 (~basic_streambuf): Tweak.
3127 (basic_streambuf): Do not initialize _M_buf_size.
3128 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
3129 (~basic_filebuf): Tweak.
3130 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
3131 unbuffered situation (i.e., put area pointers NULL).
3132 * include/bits/streambuf.tcc (sbumpc): Clean up.
3133 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
3134 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
3135 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
3136 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
3137 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
3138 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
3139 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
3141 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
3143 * acinclude.m4: Move all AM_CONDITIONAL calls out.
3144 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
3146 * configure.in: Centralize AM_CONDITIONALs so that they are always
3147 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
3148 * aclocal.m4, configure: Regenerated.
3150 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3152 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
3154 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
3156 * include/bits/stl_iterator.h
3157 (reverse_iterator::reverse_iterator()): Apply DR235: default
3158 constructor default-initializes data member. Instantiated on a
3159 pointer type, the member has to end up equal to zero.
3161 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
3163 * include/bits/stl_alloc.h: Cleanups.
3164 * include/ext/functional: Same.
3165 * include/ext/hash_map: Same.
3166 * include/ext/hash_set: Same.
3167 * include/ext/iterator: Same.
3168 * include/ext/memory: Same.
3169 * include/ext/numeric: Same.
3170 * include/ext/rb_tree: Same.
3171 * include/ext/ropeimpl.h: Same.
3172 * include/ext/slist: Same.
3173 * include/ext/stdio_filebuf.h: Same.
3174 * include/ext/stdio_sync_filebuf.h: Same.
3175 * include/ext/stl_rope.h: Move to...
3176 * include/ext/rope: ...here.
3177 * include/ext/stl_hash_fun.h: Move to...
3178 * include/ext/hash_fun.h: ...here.
3179 * include/ext/stl_hashtable.h: Move to...
3180 * include/ext/hashtable.h: ...here.
3181 * include/backward/hashtable.h: Reflect new names.
3182 * include/Makefile.am: Same.
3183 * include/Makefile.in: Regenerated.
3185 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
3188 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
3189 * include/bits/stl_algobase.h: Tweak.
3190 * include/std/std_fstream.h: Move _M_buf_size to...
3191 * include/std/std_streambuf.h: ...here. Modify.
3192 * include/bits/streambuf.tcc: Same.
3193 * testsuite/testsuite_hooks.h: Tweak.
3194 * testsuite/testsuite_io.h (constraint_filebuf): New.
3195 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
3196 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
3197 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
3198 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
3199 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
3200 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
3201 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
3202 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
3203 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
3204 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
3205 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
3206 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
3207 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
3208 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
3209 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
3210 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
3211 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
3212 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
3213 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
3214 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
3215 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
3216 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
3217 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
3218 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
3219 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
3220 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
3221 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
3222 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
3223 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
3224 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
3225 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
3226 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
3227 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
3228 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
3229 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
3230 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
3231 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
3232 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
3233 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
3234 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
3235 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
3236 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
3237 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
3238 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
3239 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
3240 * testsuite/data/sgetc.txt: New.
3241 * testsuite/data/sgetn.txt: New.
3243 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
3246 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
3247 Deal with width() smaller than zero.
3248 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
3249 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
3250 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
3251 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
3252 operator<<(basic_ostream, const basic_string&)): Likewise.
3254 * testsuite/27_io/basic_istream/extractors_character/char/
3255 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3256 * testsuite/27_io/basic_ostream/inserters_character/char/
3257 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3258 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
3259 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
3261 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3263 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
3264 .gch compilation works.
3265 * aclocal.m4, configure: Regenerate.
3266 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
3267 initialize PCHFLAGS.
3269 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
3271 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
3272 erase(iterator), erase(iterator, iterator), c_str,
3273 compare(const basic_string&)): Constify various variables.
3274 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
3275 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
3276 _S_create, resize, _M_replace, _M_replace_safe,
3277 append(const basic_string&), append(const basic_string&, size_type,
3278 size_type), append(const _CharT*, size_type), append(size_type,
3279 _CharT), operator+(const _CharT*, const basic_string&),
3280 operator+(_CharT, const basic_string&), replace(iterator, iterator,
3281 size_type, _CharT), find(const _CharT*, size_type, size_type),
3282 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
3283 rfind(_CharT, size_type), compare(size_type, size_type,
3284 const basic_string&), compare(size_type, size_type,
3285 const basic_string&, size_type, size_type), compare(const _CharT*),
3286 compare(size_type, size_type, const _CharT*), compare(size_type,
3287 size_type, const _CharT*, size_type)): Likewise.
3289 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
3291 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
3292 'if' branch less obscure.
3294 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
3297 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
3299 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
3300 (__atomic_add): likewise.
3302 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3304 * include/bits/sstream.tcc (pbackfail): Minor clean up and
3305 reformatting, consistent with basic_filebuf::pbackfail.
3307 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
3310 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
3311 __attribute__ ((__unused__)).
3312 * config/os/aix/atomicity.h: Likewise.
3314 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3317 * include/bits/fstream.tcc (pbackfail): If the pback buffer
3318 is already active don't try to store in it a second char.
3319 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
3321 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
3323 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3325 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
3328 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3330 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
3331 instead of unnecessarily taking the address of _M_pback.
3332 (xsgetn): Simplify slightly for a single char pback buffer.
3334 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3336 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
3337 variables and two 'if', clean up.
3339 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3341 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
3342 not _M_out_end, since the former actually points to the string
3343 end (vs buffer end).
3344 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
3346 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
3348 * docs/doxygen/filter: New file.
3349 * docs/doxygen/filter.sed: New file.
3350 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
3351 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
3352 * docs/html/documentation.html: Fix links to doxygen pages.
3354 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
3356 * include/bits/fstream.tcc (_M_convert_to_external): Don't
3357 check for __ilen > 0.
3359 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3362 * include/bits/stl_iterator.h (class __normal_iterator):
3363 Don't inherit from iterator, add missing typedefs.
3365 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
3367 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
3368 * testsuite/24_iterators/reverse_iterator/1.cc: New.
3369 * testsuite/24_iterators/reverse_iterator/2.cc: New.
3370 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
3373 2003-05-27 Steve Ellcey <sje@cup.hp.com>
3375 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
3377 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
3378 _LIBUNWIND_STD_ABI is set.
3380 2003-05-26 Brendan Kehoe <brendan@zen.org>
3382 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
3383 make sure the number of digits required after the decimal-point
3384 (if any) is exactly the value returned by frac_digits().
3385 * testsuite/22_locale/money_get/get/char/9.cc: New.
3386 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
3388 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
3390 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
3393 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
3396 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
3397 (_M_pback): No array necessary.
3398 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
3399 unbuffered case, coalesec into ...
3400 (basic_filebuf::overflow): ...this.
3401 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
3402 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
3404 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
3406 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
3407 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
3408 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
3409 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
3410 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
3411 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
3412 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
3413 libsupc++/eh_unex_handler.cc, libsupc++/exception,
3414 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
3415 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
3416 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
3417 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
3418 Replace "GNU CC" with "GCC".
3420 * include/backward/new.h: Replace "GNU CC" with "GCC".
3422 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3425 * configure.in: Switch target to host, don't assume newlib.
3426 (target_alias): Remove.
3427 * configure: Regenerate.
3428 * acinclude.m4: Same.
3429 * aclocal.m4: Regenerate.
3430 * configure.target: Same. Rename to...
3431 * configure.host: This.
3433 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3435 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3436 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3438 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3439 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3440 of _S_pback_size for systems with no COMDAT or weak support.
3441 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3442 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3443 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3444 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3445 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3446 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3447 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3448 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3449 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3451 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3453 * include/bits/fstream.tcc (_M_underflow): Simplify:
3454 !__testout implies _M_filepos == _M_in_end, therefore
3455 the first _M_file.seekoff call is never issued.
3457 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3459 * configure.in: Sort cross table.
3460 * configure: Regenerate.
3462 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3465 * configure.in: Add Solaris cross bits.
3467 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3469 * libstdc++-v3/config/os/mingw32/os_defines.h
3470 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3471 (NOMINMAX): Define. Update copyright year.
3473 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3475 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3477 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3479 * docs/html/faq/index.html: Fix typo.
3480 * docs/html/faq/index.txt: Regenerate.
3482 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3484 * docs/html/test.html: Fix markup.
3486 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3488 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3490 Update copyright year.
3492 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3494 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3496 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3498 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3499 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3501 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3503 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3504 Cast via void* to avoid -Wcast-align warnings.
3505 (__default_alloc_template::_S_refill): Likewise.
3507 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3509 * testsuite/README: Move to...
3510 * docs/html/test.html: ...here. Add documentation.
3511 * docs/html/install.html: Move testing bits out..
3512 * docs/html/documentation.html: Add separate testing link.
3513 * testsuite/performance: Add.
3514 * testsuite/performance/allocator.cc: New.
3515 * testsuite/performance/complex_norm.cc: New.
3516 * testsuite/performance/cout_insert_int.cc: New.
3517 * testsuite/performance/fstream_seek_write.cc: New.
3518 * testsuite/performance/ifstream_getline.cc: New.
3519 * testsuite/performance/map_create_fill.cc: New.
3520 * testsuite/performance/ofstream_insert_float.cc: New.
3521 * testsuite/performance/ofstream_insert_int.cc: New.
3522 * testsuite/performance/string_append.cc: New.
3523 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3526 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3529 * include/std/std_complex.h (pow): Tidy.
3531 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3533 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3534 that upon filebuf::close() 27.8.1.1,3 is enforced.
3536 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3538 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3540 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3541 Nathan Myers <ncm@cantrip.org>
3543 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3544 _M_convert_to_external only once (_M_buf_size is now the size of
3545 the put area + 1 for the overflow char of a full area); call
3546 _M_set_buffer instead of _M_set_indeterminate.
3547 (setbuf): Don't accept a buffer smaller than 2 chars.
3548 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3549 instead of _M_set_determinate.
3550 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3551 (seekoff): Likewise.
3552 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3553 std::ios_base::openmode, bool, size_t),
3554 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3556 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3557 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3559 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3560 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3561 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3562 the put area is now BUFSIZ - 1.
3563 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3564 that now the smallest _M_buf_size is 2 (still fails, for the same
3567 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3569 * testsuite/thread/pthread4.cc: Tweak test.
3571 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3573 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3574 excess errors dg marker, use dg-errors instead.
3575 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3576 * testsuite/20_util/auto_ptr_neg.cc: Same.
3578 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3580 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3582 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3583 Initialize _M_codecvt.
3584 (basic_filebuf::imbue): Same.
3585 (basic_filebuf::showmanyc): Use it.
3586 (basic_filebuf::underflow): Use it.
3587 (basic_filebuf::_M_convert_to_external): Use it.
3588 (basic_filebuf::seekoff): Use it.
3589 (basic_filebuf::imbue): Use it, tweaks.
3590 * include/bits/localefwd.h (__check_facet): New.
3591 * include/bits/locale_classes.h: Tweaks.
3592 * include/bits/locale_facets.tcc: Tweaks.
3593 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3594 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3595 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3596 * include/bits/basic_ios.tcc: Same.
3597 * include/bits/istream.tcc: Same.
3598 * include/bits/ostream.tcc: Same.
3599 * include/std/std_streambuf.h: Same.
3600 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3601 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3602 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3603 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3604 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3605 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3607 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3609 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3610 unnecessary includes and unused string literals.
3611 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3612 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3613 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3614 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3616 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3618 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3620 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3622 * include/std/std_fstream.h (_M_convert_to_external): Change
3623 to return bool, take two less streamsize parameters.
3624 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3625 consistently definition.
3626 (_M_overflow): Adjust call points.
3628 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3630 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3632 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3634 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3635 * testsuite/Makefile.in: Regenerate.
3637 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3639 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3640 * testsuite/Makefile.in: Regenerate.
3642 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3645 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3646 (acos): Handle integer argument.
3665 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3666 (__enable_if): Likewise.
3667 * testsuite/26_numerics/cmath/overloads.C: New test.
3669 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3674 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3675 implementation, based on old wchar_t specialization, add support
3676 for codecvt::in() return value of codecvt_base::noconv, remove
3677 _M_file.sys_ungetc() call.
3678 * include/std/std_fstream.h (basic_file::underflow,
3679 basic_file::uflow, basic_file::_M_underflow): Remove
3680 specialization declarations, call _M_underflow from generic versions
3681 of underflow and uflow.
3682 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3683 basic_file::_M_underflow): Remove specializations.
3684 * src/Makefile.am (sources): Remove fstream.cc.
3685 * src/Makefile.in: Regenerated.
3686 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3687 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3688 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3689 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3691 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3693 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3695 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3697 (__basic_file::xsputn): Same.
3698 (__basic_file::seekoff): Same.
3699 (__basic_file::seekpos): Same.
3700 (__basic_file::showmanyc): Same.
3701 * config/io/basic_file_stdio.cc: Same.
3702 * include/std/std_fstream.h: Same.
3703 * include/bits/fstream.tcc: Same.
3704 * src/fstream.cc: Same.
3705 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3707 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3712 * include/ext/stdio_sync_filebuf.h: New file.
3713 (basic_stdiobuf): New.
3714 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3715 * include/Makefile.in: Regenerate.
3716 * include/bits/ios_base.h (Init::_S_create_buffers,
3717 Init::_S_destroy_buffers): Remove declarations.
3718 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3719 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3720 * src/ios.cc (Init::_S_create_buffers,
3721 Init::_S_destroy_buffers): Remove.
3722 (Init::Init): Create and use syncronized buffers.
3723 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3724 create and install unsyncronized buffers.
3725 * testsuite/27_io/objects/char/10.cc: New test.
3726 * testsuite/27_io/objects/char/9.cc: New test.
3727 * testsuite/27_io/objects/char/9661-1.cc: New test.
3728 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3729 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3730 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3731 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3732 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3733 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3734 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3735 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3736 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3737 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3738 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3739 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3740 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3741 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3742 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3743 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3744 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3745 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3746 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3747 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3748 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3749 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3750 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3751 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3752 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3753 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3754 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3755 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3756 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3757 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3758 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3759 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3760 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3761 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3762 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3763 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3764 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3765 * testsuite/ext/stdiobuf_char.cc: New test.
3766 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3768 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3770 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3771 unnecessary includes and unused string literals.
3772 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3774 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3776 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3778 2003-05-07 Richard Henderson <rth@redhat.com>
3781 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3782 (__cxa_end_catch): Likewise.
3783 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3784 _Unwind_Resume_or_Rethrow.
3785 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3786 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3787 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3788 exceptions. Don't push terminate/unexpected to cxa functions.
3789 (__cxa_call_unexpected): Remove foreign exception fixmes.
3791 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3793 * testsuite/27_io/ios_base/cons: New.
3794 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3795 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3797 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3799 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3801 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3802 there is no buffer or __testget == !__testinit.
3805 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3806 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3808 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3809 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3811 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3813 * include/std/std_sstream.h (_M_sync): Minor tweak.
3815 * include/bits/fstream.tcc (close): No need to call
3816 _M_destroy_pback, setting _M_pback_init to false suffices
3819 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3821 * include/bits/stl_algo.h: Enums as _S_.
3822 * include/bits/stl_tree.h: Same.
3823 * include/bits/stl_bvector.h: Same.
3824 * include/bits/ios_base.h: Same.
3825 * include/bits/stl_alloc.h: Same.
3826 * include/ext/stl_hashtable.h: Same.
3827 * src/ios.cc: And here.
3829 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3830 * include/bits/sstream.tcc: Same.
3832 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3834 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3836 * include/bits/locale_facets.h (__num_base): Remove protected.
3837 Use _S_[io]* names for enumerations.
3838 (_S_format_int): Remove.
3839 * include/bits/locale_facets.tcc: Same.
3840 * src/locale.cc: Same.
3842 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3844 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3846 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3847 * docs/html/faq/index.txt: Regenerated.
3849 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3850 Matt Kraai <kraai@alumni.cmu.edu>
3852 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3855 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3857 * configure.target (mips*): Use the generic atomicity.h by default.
3859 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3860 (Inspired by an alternate patch from Danny Smith.)
3862 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3863 (_Swap_lock_struct<>): ...and the horse it rode in on.
3864 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3865 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3866 member to support...
3867 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3868 visibility rules related to POSIX threads.
3869 * testsuite/thread/pthread7-rope.cc: New test.
3871 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3873 * testsuite/21_strings/basic_string/find/char/3.cc: New
3874 file, testing basic_string<char>::find_first_not_of.
3875 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3876 Likewise for basic_string<wchar_t>.
3878 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3880 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3882 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3884 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3886 * include/Makefile.in: Regenerate.
3888 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3890 * include/std/std_sstream.h (str()): Tidy.
3892 2003-05-02 Nathan Myers <ncm@cantrip.org>
3893 Paolo Carlini <pcarlini@unitus.it>
3895 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3897 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3899 * include/bits/basic_string.h (swap): Remove redundant template
3900 parameters from declaration of non-template member function.
3902 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3904 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3905 * configure.in: Move libintl.h header test...
3906 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3907 the NLS-related test results into one symbol.
3908 * src/functexcept.cc: Use it here.
3909 * aclocal.m4, config.h.in, configure: Regenerated.
3911 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3913 * include/bits/sstream.tcc (overflow): Instead of calling
3914 str(), then _M_string.reserve, thus copying the contents
3915 of the current buffer two times, just copy the latter in
3916 a temporary, then use the 'swap trick'.
3918 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3920 * include/std/std_sstream.h (str()): Revert the best of the
3921 previous 'improvement', incorrect due to the COW nature of
3922 v3 basic_string; simplify.
3924 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3926 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3927 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3929 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3931 * testsuite/abi_check.cc (check_version): Update known versions.
3932 Check added symbols for version_name != base version. Add missing
3933 symbols to incompatible list.
3935 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3937 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3938 * aclocal.m4: Regenerated.
3939 * configure: Regenerated.
3941 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3943 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3944 Const-ify some variables.
3945 (basic_streambuf::xsputn): Likewise; change the type of some
3946 variables to size_t.
3947 (__copy_streambufs): Change some variables to size_t.
3949 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3951 * include/std/std_sstream.h (str()): Avoid constructing
3952 a basic_string temporary not only when it would turn out
3953 to be zero-sized but also when identical to the current
3956 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3958 * include/ext/stdio_filebuf.h
3959 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3960 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3961 Shorten a bit (-10 lines) by factoring out some code.
3963 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3965 * acinclude.m4: Add bit missing from previous patch.
3966 * aclocal.m4, configure: Regenerated.
3968 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3970 * docs/doxygen/mainpage.html: Bring up to date.
3971 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3973 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3974 breaks everything. Don't scan them.
3975 * docs/html/documentation.html: Point to "Write after approval"
3978 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3980 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3981 of libc if message translations are being used. Fix info text in
3982 xieee_1003.1-2001 case.
3983 * aclocal.m4, configure: Regenerate.
3985 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3986 Loren J. Rittle <ljrittle@acm.org>
3987 Martin v. Loewis <martin@v.loewis.de>
3989 * config/cpu/i386/atomicity.h: New file.
3991 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3993 * include/bits/fstream.tcc (open): Change to single return.
3995 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3997 * include/std/std_sstream.h (underflow): Change to single return.
3999 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4001 * include/std/std_streambuf.h (_M_buf): is currently
4002 used only for basic_filebuf, therefore move it there.
4003 (basic_streambuf(), ~basic_streambuf()): Adjust.
4004 * include/std/std_fstream.h (_M_buf): Moved here.
4005 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
4006 is actually redundant for basic_stringbuf.
4007 (_M_really_sync): Likewise.
4008 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4009 * include/bits/sstream.tcc (seekoff): Adjust.
4011 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4013 * src/localename.cc: Standardize exception strings.
4014 * src/locale.cc: Same.
4016 * include/bits/basic_string.tcc: Same.
4017 * include/bits/basic_ios.tcc: Same.
4018 * include/std/std_bitset.h: Same.
4019 * include/ext/ropeimpl.h: Same.
4020 * include/bits/stl_vector.h: Same.
4021 * include/bits/stl_deque.h: Same.
4022 * include/bits/stl_bvector.h: Same.
4023 * config/locale/generic/c_locale.cc: Same.
4024 * config/locale/gnu/c_locale.cc: Same.
4025 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
4027 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
4029 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4031 * include/std/std_streambuf.h (_M_buf_size): is currently
4032 used only for basic_filebuf, therefore move it there.
4033 (basic_streambuf(), ~basic_streambuf()): Adjust.
4034 * include/std/std_fstream.h (_M_buf_size): Moved here.
4035 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4037 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4039 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
4040 _M_buf_size (synced input is now correctly dealt with
4041 elsewhere); when the output buffer is full don't fall back
4042 to a snextc-sputc loop, call overflow instead.
4044 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4046 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
4047 the innermost 'if' by factoring out some code.
4049 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
4051 * configure.in: Test for libintl.h.
4052 * include/bits/c++config: Define __N for everybody.
4053 * include/bits/basic_string.h, include/bits/stl_bvector.h,
4054 include/bits/stl_deque.h, include/bits/stl_vector.h,
4055 include/std/std_bitset.h: Wrap all __throw* text with __N.
4056 * po/Makefile.am (pot): New rule, mostly working.
4057 * src/functexcept.cc: Call gettext on all __throw* arguments when
4058 -fexceptions is in effect.
4059 * po/Makefile.in, config.h.in, configure: Regenerate.
4061 2003-04-28 Petur Runolfsson <peturr02@ru.is>
4064 * include/bits/ios_base.h (Init::_S_ios_create,
4065 Init::_S_ios_destroy): Remove declarations.
4066 (Init::_S_create_buffers,
4067 Init::_S_destroy_buffers): Declare
4068 * src/ios.cc (Init::_S_ios_create): Remove
4069 (Init::_S_create_buffers): Create buffers and add to streams.
4070 (Init::_S_ios_destroy): Rename to...
4071 (Init::_S_destroy_buffers): this.
4072 (Init::Init): Only construct streams once.
4073 (Init::~Init): Flush streams, don't destroy them.
4074 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
4075 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
4076 * testsuite/27_io/objects/char/5.cc: New test.
4077 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
4078 * testsuite/27_io/objects/char/6.cc: New test.
4079 * testsuite/27_io/objects/char/7.cc: New test.
4081 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4083 * testsuite/27_io/objects/char/8.cc: New test.
4085 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4087 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
4088 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
4090 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4092 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
4093 _M_destroy_pback. _M_pback_create to
4094 _M_create_pback. _M_underflow_common to
4095 _M_underflow. _M_really_overflow to _M_overflow.
4096 * include/bits/fstream.tcc: Same.
4097 * src/fstream.cc: Same.
4098 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
4099 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
4100 * include/bits/streambuf.tcc: Same.
4101 * include/bits/fstream.tcc: Same.
4102 * include/bits/sstream.tcc: Same.
4104 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4106 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
4107 from fixed size array.
4108 (locale): Change _S_categories as well.
4110 * include/bits/locale_facets.tcc: Tweak.
4111 * config/locale/gnu/c_locale.cc: Assign _S_categories.
4112 * config/locale/generic/c_locale.cc: Same.
4113 * src/locale.cc: Tweak.
4114 * src/globals.cc: Change facet_name to name_vec, add names_c.
4115 * src/localename.cc: Use them.
4116 (locale::_Impl::~_Impl): Destroy _M_names.
4117 (locale::_Impl::_Impl): Create _M_names.
4119 2003-04-27 Andreas Schwab <schwab@suse.de>
4121 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
4122 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
4124 2003-04-27 Nathan Myers <ncm@cantrip.org>
4126 Move some basic_string members out of line because
4127 they are too big to reasonably be inline.
4128 * include/bits/basic_string.h
4129 (assign(const basic_string&, size_type, size_type),
4130 assign(const _CharT*, size_type),
4131 insert(size_type, const basic_string&, size_type, size_type),
4132 insert(size_type, const _CharT*, size_type),
4133 replace(size_type, size_type, const _CharT*, size_type)):
4134 Move from here to...
4135 * include/bits/basic_string.tcc: ...here.
4137 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4139 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
4140 the innermost 'if' by factoring out some code.
4142 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4144 * include/bits/streambuf.tcc (__copy_streambufs): Don't
4145 use in_avail(), simplify.
4147 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4149 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
4150 in basic_stringbuf it's unused.
4152 * include/std/std_sstream.h (underflow): consistently use
4153 _M_in_cur, not gptr().
4155 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
4156 Phil Edwards <pme@gcc.gnu.org>
4158 * testsuite_flags.in: Guard against the possibility
4159 of having "xgcc" as a part of a folder name in the
4160 path to the GCC build folder.
4161 * testsuite/Makefile.am: Likewise.
4162 * testsuite/Makefile.in: Regenerated.
4164 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4167 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
4168 exception specifications.
4169 (basic_filebuf::close): Same.
4170 (basic_filebuf::_M_pback_destroy): Same.
4171 (basic_filebuf::_M_destroy_internal_buffer): Same.
4172 (basic_filebuf): Remove __res_type typedef.
4173 * src/fstream.cc: Same.
4174 * include/bits/fstream.tcc
4175 (basic_filebuf::_M_convert_to_external): Simplify.
4176 (basic_filebuf::seekoff): Use has_facet before use_facet.
4177 (basic_filebuf::close): Add exception specification of throw().
4178 * testsuite/27_io/basic_filebuf/cons: New.
4179 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
4180 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
4181 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
4182 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
4184 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4186 * include/bits/locale_classes.h
4187 (locale::_S_extra_categories_size): Remove.
4188 * src/locale.cc: Remove _S_extra_categories_size.
4189 * src/localename.cc: Same.
4190 * config/locale/gnu/c_locale.cc: Same.
4191 * config/locale/generic/c_locale.cc: Same.
4193 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
4195 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
4197 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
4199 * docs/html/17_intro/howto.html: Update some links.
4200 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
4201 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
4202 * docs/html/ext/howto.html: Link to demangler notes and API.
4203 * docs/html/faq/index.html: Remove trailing whitespace.
4204 (1.4, 2.4, 3.8, 4.1): Bring up to date.
4205 (5.6): Change to a bulleted list.
4207 * docs/html/faq/index.txt, docs/html/documentation.html,
4208 docs/html/17_intro/porting.html: Regenerate.
4210 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
4212 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
4213 belongs to basic_filebuf.
4214 * testsuite/27_io/basic_fstream/3.cc: Likewise.
4215 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
4216 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
4217 instantiation (now belongs to basic_filebuf).
4218 * testsuite/27_io/basic_iostream/3.cc: Likewise.
4219 * testsuite/27_io/basic_istream/3.cc: Likewise.
4220 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4221 _S_pback_size now belongs to basic_filebuf.
4222 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
4223 instantiation (now belongs to basic_filebuf).
4224 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
4225 belongs to basic_filebuf.
4226 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
4227 instantiation (now belongs to basic_filebuf).
4228 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
4229 _S_pback_size now belongs to basic_filebuf.
4230 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
4231 instantiation (now belongs to basic_filebuf).
4232 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
4234 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
4235 instantiation (now belongs to basic_filebuf).
4236 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
4238 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4240 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
4241 * configure: Regenerated.
4243 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4245 * config/locale/generic/c_locale.h (__convert_from_v): Use
4248 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
4250 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
4251 implementation only.
4252 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
4253 Comment and change to comply with DR 60 and the effect on gcount().
4254 * include/std/std_istream.h: Update comments.
4255 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
4256 comments about reasons for tests. Test sync() against gcount().
4257 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
4258 for effect on gcount().
4259 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
4260 for effect on gcount().
4262 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
4264 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
4267 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
4269 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
4270 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4271 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
4272 (basic_streambuf::basic_streambuf()): Adjust.
4273 * include/std/std_fstream.h (_S_pback_size, _M_pback,
4274 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4275 _M_pback_create(), _M_pback_destroy()): Moved here
4276 from basic_streambuf.
4277 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
4279 (basic_filebuf::_S_pback_size): Add declaration.
4280 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
4283 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4285 Consistently use _M_in_beg instead of eback(), _M_in_cur
4286 instead of gptr(), and so on.
4287 * include/bits/fstream.tcc (pbackfail, imbue): Here.
4288 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
4289 * include/bits/streambuf.tcc (sbumpc, sputbackc,
4290 __copy_streambufs): Ditto.
4291 * include/std/std_streambuf.h (sgetc): Ditto.
4293 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4295 * include/bits/sstream.tcc (pbackfail, overflow):
4298 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4300 * include/std/std_streambuf.h (uflow()): It's used only by
4301 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
4302 therefore do not consider the _M_buf_unified == true case.
4304 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
4306 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4308 * docs/html/ext/howto.html ('LWG Issues'):
4309 Add issues 19, 90, 171, 231, 271.
4311 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4313 * include/bits/sstream.tcc (pbackfail): Remove redundant
4314 NULL pointer check from test involving _M_in_*.
4315 (overflow, seekoff, seekpos): Const qualify bool variables.
4316 * include/std/std_sstream.h (underflow): Remove redundant
4317 NULL pointer check from test involving _M_in_*.
4318 (_M_really_sync): Const qualify bool variables.
4319 * src/fstream.cc (_M_underflow_common): Remove redundant
4320 NULL pointer check from test involving _M_in_*, const qualify
4323 * include/std/std_streambuf.h (sgetc): Remove redundant
4326 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
4328 According to 5.9 para 2 (second bullet) for pointers p, q
4329 pointing to the same type, with p == 0 and q == 0, (p < q)
4331 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
4332 seekoff): Remove redundant NULL pointer checks from tests
4333 involving _M_out_* and _M_in_*, const qualify bool variables.
4334 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
4335 qualify bool variables.
4336 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
4337 Remove redundant NULL pointer checks from tests involving
4338 _M_out_* and _M_in_*, const qualify bool variables.
4339 * include/std/std_fstream.h (sync): Likewise.
4340 (_M_is_indeterminate): Const qualify bool variables.
4341 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
4342 NULL pointer checks from tests involving _M_out_* and _M_in_*,
4343 const qualify bool variables.
4344 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
4347 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
4349 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
4350 C99 FP macros, if actually captured.
4352 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
4353 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4354 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4355 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4356 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
4358 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4359 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4360 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4361 * include/c_std/std_cstdlib.h: Use new macros.
4362 * include/c_std/std_cstdio.h: Use new macros.
4363 * include/c_std/std_cwchar.h: Use new macros.
4365 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
4368 * include/bits/ostream.tcc: Catch all exceptions for formatted
4369 output, instead of std::exception and derivatives.
4370 * include/bits/istream.tcc: Same.
4371 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
4372 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
4373 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
4374 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
4375 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
4376 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
4379 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
4381 * include/bits/c++config: Minor cosmetic tweaks.
4383 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
4385 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
4386 * include/Makefile.am (pch_input): Find in ${target_builddir}.
4387 (pch_output): Rename to...
4388 (pch_output_builddir): ..this. Find in ${target_builddir}.
4389 (pch_source): Tweak.
4390 (pch_build): Key off a built file.
4391 (pch_output rule): Rename to...
4392 (pch_input rule): ...this. Produce ${pch_output_builddir}
4393 instead of ${pch_output}.
4394 (install-pch rule): Install ${pch_output_builddir}.
4395 * include/Makefile.in: Regenerated.
4397 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
4399 * include/std/std_streambuf.h (setp): _M_out_lim, being
4400 the end limit of used put area, is set equal to _M_out_beg.
4402 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
4404 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
4405 * aclocal.m4: Regenerated.
4406 * configure.in: Remove old demangler bits.
4408 * configure: Regenerate.
4409 * config.h.in: Regenerate.
4410 * include/Makefile.am (allstamps): Now allstamped.
4411 (allcreated): Define this.
4412 (all-local): Use 'em.
4413 Conditionally define pch_build, pch_install based on
4415 (${pch_output}): New rule.
4416 (install-pch): New rule.
4417 (install-headers): New rule.
4418 (install-data-local): Install headers and conditionally pch.
4419 * include/Makefile.in: Regenerate.
4420 * testsuite_flags.in (--build-cxx): Use pch file.
4422 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
4424 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4426 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4427 Paolo Carlini <pcarlini at unitus dot it>
4430 * docs/html/27_io/howto.html
4431 ('The buffering is screwing up my program!'): Explain that
4432 opening counts as an I/O operation.
4434 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4436 * testsuite/thread/pthread1.cc: Enable for darwin test.
4437 * testsuite/thread/pthread2.cc: Same.
4438 * testsuite/thread/pthread3.cc: Same.
4439 * testsuite/thread/pthread4.cc: Same.
4440 * testsuite/thread/pthread5.cc: Same.
4441 * testsuite/thread/pthread6.cc: Same.
4443 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4446 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4447 Populate it with multiple legal ways to obtain the C99 float
4448 transcendentals. Use them instead of direct global reference.
4449 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4450 * docs/html/17_intro/porting.texi
4451 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4452 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4453 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4454 * config/os/bsd/freebsd/os_defines.h
4455 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4456 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4457 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4459 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4460 Benjamin Kosnik <bkoz@redhat.com>
4462 * config/os/generic/ctype_inline.h: Fix.
4464 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4466 * testsuite/testsuite_hooks.h
4467 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4468 Change to try_named_locale.
4469 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4471 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4473 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4474 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4475 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4476 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4477 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4478 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4479 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4480 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4481 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4482 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4483 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4484 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4485 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4486 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4487 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4488 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4489 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4490 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4491 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4492 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4493 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4494 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4495 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4496 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4497 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4498 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4499 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4500 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4501 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4502 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4503 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4504 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4505 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4506 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4507 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4508 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4509 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4510 * testsuite/22_locale/collate_byname/1.cc: Same.
4511 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4512 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4513 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4514 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4515 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4516 * testsuite/22_locale/facet/2.cc: Same.
4517 * testsuite/22_locale/locale/cons/2.cc: Same.
4518 * testsuite/22_locale/locale/cons/4.cc: Same.
4519 * testsuite/22_locale/locale/cons/5.cc: Same.
4520 * testsuite/22_locale/locale/cons/7.cc: Same.
4521 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4522 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4523 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4524 * testsuite/22_locale/messages/members/char/1.cc: Same.
4525 * testsuite/22_locale/messages/members/char/2.cc: Same.
4526 * testsuite/22_locale/messages/members/char/3.cc: Same.
4527 * testsuite/22_locale/messages_byname/1.cc: Same.
4528 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4529 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4530 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4531 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4532 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4533 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4534 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4535 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4536 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4537 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4538 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4539 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4540 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4541 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4542 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4543 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4544 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4545 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4546 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4547 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4548 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4549 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4550 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4551 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4552 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4553 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4554 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4555 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4556 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4557 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4558 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4559 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4560 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4561 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4562 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4563 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4564 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4565 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4566 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4567 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4568 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4569 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4570 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4571 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4572 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4573 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4574 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4575 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4576 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4577 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4578 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4579 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4580 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4581 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4582 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4583 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4584 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4585 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4586 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4587 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4588 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4589 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4590 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4591 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4592 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4593 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4594 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4595 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4596 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4597 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4598 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4599 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4600 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4601 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4602 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4603 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4604 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4605 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4606 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4607 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4608 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4609 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4611 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4613 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4614 solaris includes, not generic.
4616 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4618 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4620 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4621 * include/bits/concept_check.h: Fix multi-line comment.
4622 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4623 when target is *-*-freebsd*.
4625 2003-04-14 Nathan Myers <ncm@cantrip.org>
4626 Paolo Carlini <pcarlini@unitus.it>
4628 PR libstdc++/9701 (in_avail())
4629 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4630 doesn't care if there is anything in some putback cell.
4631 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4633 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4634 unused string literals.
4636 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4638 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4639 _M_out_end, _M_set_indeterminate() does it.
4641 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4643 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4645 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4647 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4648 Change basic_streambuf instantiation to "unsigned char".
4649 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4651 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4653 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4654 * include/bits/fstream.tcc
4655 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4656 references to _M_buf_size_opt.
4657 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4658 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4659 __bufsize to __in_avail and __size_opt to __buf_size.
4660 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4661 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4662 * include/std/std_streambuf.h (~basic_streambuf(),
4663 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4664 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4665 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4666 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4667 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4668 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4669 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4670 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4671 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4672 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4673 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4674 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4675 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4677 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4679 * include/ext/stdio_filebuf.h
4680 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4681 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4682 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4683 since a stack-based buffer is used for small values of the size_t
4685 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4686 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4687 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4689 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4692 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4693 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4695 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4697 * testsuite/22_locale/locale/cons/3.cc: Split.
4698 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4699 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4700 Check before trying to create a locale from the environment.
4701 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4702 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4705 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4707 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4708 locale to construct this hybrid locale, not the global locale.
4710 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4712 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4713 instantiation for AIX.
4714 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4715 * testsuite/25_algorithms/min_max.cc: Same.
4717 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4719 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4720 twice. Always set _M_cfile to 0 when stream was open.
4722 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4724 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4725 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4726 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4727 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4728 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4729 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4730 ifstream_members.cc, instantiations.cc, ios.cc,
4731 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4732 ios_base_members_static.cc, ios_base_storage.cc,
4733 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4734 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4735 iostream.cc, iostream_members.cc, istream.cc,
4736 istream_exception.cc, istream_extractor_char.cc,
4737 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4738 istream_extractor_other-2.tst, istream_extractor_other.cc,
4739 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4740 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4741 istream_sentry.cc, istream_unformatted-1.tst,
4742 istream_unformatted-1.txt, istream_unformatted.cc,
4743 istringstream.cc, istringstream_members.cc,
4744 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4745 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4746 ostream_fail.cc, ostream_inserter_arith.cc,
4747 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4748 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4749 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4750 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4751 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4752 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4753 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4754 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4755 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4756 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4757 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4758 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4759 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4760 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4762 * 27_io/basic_filebuf/1.cc: New.
4763 * 27_io/basic_filebuf/2.cc: New.
4764 * 27_io/basic_filebuf/3.cc: New.
4765 * 27_io/basic_filebuf/4.cc: New.
4766 * 27_io/basic_filebuf/close/char/1.cc: New.
4767 * 27_io/basic_filebuf/close/char/2.cc: New.
4768 * 27_io/basic_filebuf/close/char/3.cc: New.
4769 * 27_io/basic_filebuf/close/char/4879.cc: New.
4770 * 27_io/basic_filebuf/close/char/9964.cc: New.
4771 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4772 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4773 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4774 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4775 * 27_io/basic_filebuf/open/char/1.cc: New.
4776 * 27_io/basic_filebuf/open/char/2.cc: New.
4777 * 27_io/basic_filebuf/open/char/3.cc: New.
4778 * 27_io/basic_filebuf/open/char/9507.cc: New.
4779 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4780 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4781 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4782 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4783 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4784 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4785 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4786 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4787 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4788 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4789 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4790 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4791 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4792 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4793 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4794 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4795 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4796 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4797 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4798 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4799 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4800 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4801 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4802 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4803 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4804 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4805 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4806 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4807 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4808 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4809 * 27_io/basic_fstream/1.cc: New.
4810 * 27_io/basic_fstream/2.cc: New.
4811 * 27_io/basic_fstream/3.cc: New.
4812 * 27_io/basic_fstream/4.cc: New.
4813 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4814 * 27_io/basic_ifstream/1.cc: New.
4815 * 27_io/basic_ifstream/2.cc: New.
4816 * 27_io/basic_ifstream/3.cc: New.
4817 * 27_io/basic_ifstream/4.cc: New.
4818 * 27_io/basic_ifstream/cons/char/1.cc: New.
4819 * 27_io/basic_ifstream/open/char/1.cc: New.
4820 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4821 * 27_io/basic_ios/1.cc: New.
4822 * 27_io/basic_ios/2.cc: New.
4823 * 27_io/basic_ios/3.cc: New.
4824 * 27_io/basic_ios/4.cc: New.
4825 * 27_io/basic_ios/clear/char/1.cc: New.
4826 * 27_io/basic_ios/cons/char/1.cc: New.
4827 * 27_io/basic_ios/cons/char/2.cc: New.
4828 * 27_io/basic_ios/cons/char/3.cc: New.
4829 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4830 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4831 * 27_io/basic_ios/exceptions/char/1.cc: New.
4832 * 27_io/basic_ios/locales/char/1.cc: New.
4833 * 27_io/basic_iostream/1.cc: New.
4834 * 27_io/basic_iostream/2.cc: New.
4835 * 27_io/basic_iostream/3.cc: New.
4836 * 27_io/basic_iostream/4.cc: New.
4837 * 27_io/basic_istream/1.cc: New.
4838 * 27_io/basic_istream/2.cc: New.
4839 * 27_io/basic_istream/3.cc: New.
4840 * 27_io/basic_istream/4.cc: New.
4841 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4842 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4843 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4844 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4845 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4846 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4847 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4848 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4849 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4850 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4851 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4852 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4853 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4854 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4855 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4856 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4857 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4858 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4859 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4860 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4861 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4862 * 27_io/basic_istream/get/char/1.cc: New.
4863 * 27_io/basic_istream/get/char/2.cc: New.
4864 * 27_io/basic_istream/getline/char/1.cc: New.
4865 * 27_io/basic_istream/getline/char/2.cc: New.
4866 * 27_io/basic_istream/getline/char/3.cc: New.
4867 * 27_io/basic_istream/ignore/char/1.cc: New.
4868 * 27_io/basic_istream/ignore/char/6360.cc: New.
4869 * 27_io/basic_istream/ignore/char/7220.cc: New.
4870 * 27_io/basic_istream/peek/char/1.cc: New.
4871 * 27_io/basic_istream/peek/char/6414.cc: New.
4872 * 27_io/basic_istream/putback/char/1.cc: New.
4873 * 27_io/basic_istream/read/char/1.cc: New.
4874 * 27_io/basic_istream/read/char/2.cc: New.
4875 * 27_io/basic_istream/read/char/3.cc: New.
4876 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4877 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4878 * 27_io/basic_istream/readsome/char/8258.cc: New.
4879 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4880 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4881 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4882 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4883 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4884 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4885 * 27_io/basic_istream/sentry/char/1.cc: New.
4886 * 27_io/basic_istream/sentry/char/2.cc: New.
4887 * 27_io/basic_istream/sentry/char/3.cc: New.
4888 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4889 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4890 * 27_io/basic_istream/tellg/char/1.cc: New.
4891 * 27_io/basic_istream/tellg/char/8348.cc: New.
4892 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4893 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4894 * 27_io/basic_istream/ws/char/1.cc: New.
4895 * 27_io/basic_istringstream/1.cc: New.
4896 * 27_io/basic_istringstream/2.cc: New.
4897 * 27_io/basic_istringstream/3.cc: New.
4898 * 27_io/basic_istringstream/4.cc: New.
4899 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4900 * 27_io/basic_istringstream/str/char/1.cc: New.
4901 * 27_io/basic_ofstream/1.cc: New.
4902 * 27_io/basic_ofstream/2.cc: New.
4903 * 27_io/basic_ofstream/3.cc: New.
4904 * 27_io/basic_ofstream/4.cc: New.
4905 * 27_io/basic_ofstream/cons/char/2.cc: New.
4906 * 27_io/basic_ofstream/open/char/1.cc: New.
4907 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4908 * 27_io/basic_ostream/1.cc: New.
4909 * 27_io/basic_ostream/2.cc: New.
4910 * 27_io/basic_ostream/3.cc: New.
4911 * 27_io/basic_ostream/4.cc: New.
4912 * 27_io/basic_ostream/cons/char/9827.cc: New.
4913 * 27_io/basic_ostream/endl/char/1.cc: New.
4914 * 27_io/basic_ostream/ends/char/1.cc: New.
4915 * 27_io/basic_ostream/ends/char/2.cc: New.
4916 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4917 * 27_io/basic_ostream/flush/char/1.cc: New.
4918 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4919 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4920 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4921 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4922 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4923 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4924 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4925 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4926 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4927 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4928 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4929 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4930 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4931 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4932 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4933 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4934 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4935 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4936 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4937 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4938 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4939 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4940 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4941 * 27_io/basic_ostream/sentry/char/1.cc: New.
4942 * 27_io/basic_ostream/sentry/char/2.cc: New.
4943 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4944 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4945 * 27_io/basic_ostream/tellp/char/1.cc: New.
4946 * 27_io/basic_ostream/tellp/char/2.cc: New.
4947 * 27_io/basic_ostringstream/1.cc: New.
4948 * 27_io/basic_ostringstream/2.cc: New.
4949 * 27_io/basic_ostringstream/3.cc: New.
4950 * 27_io/basic_ostringstream/4.cc: New.
4951 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4952 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4953 * 27_io/basic_ostringstream/str/char/1.cc: New.
4954 * 27_io/basic_ostringstream/str/char/2.cc: New.
4955 * 27_io/basic_streambuf/1.cc: New.
4956 * 27_io/basic_streambuf/2.cc: New.
4957 * 27_io/basic_streambuf/3.cc: New.
4958 * 27_io/basic_streambuf/cons/char/1.cc: New.
4959 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4960 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4961 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4962 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4963 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4964 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4965 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4966 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4967 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4968 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4969 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4970 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4971 * 27_io/basic_stringbuf/1.cc: New.
4972 * 27_io/basic_stringbuf/2.cc: New.
4973 * 27_io/basic_stringbuf/3.cc: New.
4974 * 27_io/basic_stringbuf/4.cc: New.
4975 * 27_io/basic_stringbuf/5.cc: New.
4976 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4977 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4978 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4979 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4980 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4981 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4982 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4983 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4984 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4985 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4986 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4987 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4988 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4989 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4990 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4991 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4992 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4993 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4994 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4995 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4996 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4997 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4998 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4999 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
5000 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
5001 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
5002 * 27_io/basic_stringbuf/str/char/1.cc: New.
5003 * 27_io/basic_stringbuf/str/char/2.cc: New.
5004 * 27_io/basic_stringbuf/str/char/3.cc: New.
5005 * 27_io/basic_stringbuf/str/char/3955.cc: New.
5006 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
5007 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
5008 * 27_io/basic_stringstream/1.cc: New.
5009 * 27_io/basic_stringstream/2.cc: New.
5010 * 27_io/basic_stringstream/3.cc: New.
5011 * 27_io/basic_stringstream/4.cc: New.
5012 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
5013 * 27_io/basic_stringstream/str/char/1.cc: New.
5014 * 27_io/basic_stringstream/str/char/2.cc: New.
5015 * 27_io/basic_stringstream/str/char/3.cc: New.
5016 * 27_io/basic_stringstream/str/char/4.cc: New.
5017 * 27_io/fpos/1.cc: New.
5018 * 27_io/fpos/2.cc: New.
5019 * 27_io/fpos/3.cc: New.
5020 * 27_io/ios_base/callbacks/1.cc: New.
5021 * 27_io/ios_base/state/1.cc: New.
5022 * 27_io/ios_base/storage/1.cc: New.
5023 * 27_io/ios_base/storage/2.cc: New.
5024 * 27_io/ios_base/storage/3.cc: New.
5025 * 27_io/ios_base/sync_with_stdio/1.cc: New.
5026 * 27_io/ios_base/sync_with_stdio/2.cc: New.
5027 * 27_io/manipulators/adjustfield/char/1.cc: New.
5028 * 27_io/manipulators/adjustfield/char/2.cc: New.
5029 * 27_io/manipulators/basefield/char/1.cc: New.
5030 * 27_io/manipulators/standard/char/1.cc: New.
5031 * 27_io/manipulators/standard/char/2.cc: New.
5032 * 27_io/objects/char/1.cc: New.
5033 * 27_io/objects/char/2.cc: New.
5034 * 27_io/objects/char/2523-1_xin.cc: New.
5035 * 27_io/objects/char/2523-1_xin.in: New.
5036 * 27_io/objects/char/2523-2_xin.cc: New.
5037 * 27_io/objects/char/2523-2_xin.in: New.
5038 * 27_io/objects/char/3045.cc: New.
5039 * 27_io/objects/char/3647.cc: New.
5040 * 27_io/objects/char/3_xin.cc: New.
5041 * 27_io/objects/char/3_xin.in: New.
5042 * 27_io/objects/char/4_xin.cc: New.
5043 * 27_io/objects/char/4_xin.in: New.
5044 * 27_io/objects/char/5268.cc: New.
5045 * 27_io/objects/char/5280_xin.cc: New.
5046 * 27_io/objects/char/5280_xin.in: New.
5047 * 27_io/objects/char/6548_xin.cc: New.
5048 * 27_io/objects/char/6548_xin.in: New.
5049 * 27_io/objects/char/6648-1_xin.cc: New.
5050 * 27_io/objects/char/6648-1_xin.in: New.
5051 * 27_io/objects/char/6648-2_xin.cc: New.
5052 * 27_io/objects/char/6648-2_xin.in: New.
5053 * 27_io/objects/char/7744_xin.cc: New.
5054 * 27_io/objects/char/7744_xin.in: New.
5055 * 27_io/objects/wchar_t/1.cc: New.
5056 * 27_io/types/1.cc: New.
5057 * 27_io/types/2.cc: New.
5058 * data/filebuf_members-1.tst: New.
5059 * data/filebuf_members-1.txt: New.
5060 * data/filebuf_virtuals-1.tst: New.
5061 * data/filebuf_virtuals-1.txt: New.
5062 * data/filebuf_virtuals-2.tst: New.
5063 * data/filebuf_virtuals-3.tst: New.
5064 * data/ifstream_members-1.tst: New.
5065 * data/ifstream_members-1.txt: New.
5066 * data/ios_base_members_static-1.tst: New.
5067 * data/istream_extractor_other-1.tst: New.
5068 * data/istream_extractor_other-1.txt: New.
5069 * data/istream_extractor_other-2.tst: New.
5070 * data/istream_seeks-1.tst: New.
5071 * data/istream_seeks-1.txt: New.
5072 * data/istream_seeks-2.tst: New.
5073 * data/istream_seeks-3.tst: New.
5074 * data/istream_unformatted-1.tst: New.
5075 * data/istream_unformatted-1.txt: New.
5076 * data/ofstream_members-1.tst: New.
5077 * data/ostream_inserter_char-1.tst: New.
5078 * data/ostream_inserter_char-1.txt: New.
5079 * data/ostream_inserter_other-1.tst: New.
5080 * data/ostream_inserter_other-2.tst: New.
5081 * data/ostream_seeks-1.tst: New.
5083 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5085 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
5086 requirement that __mode must be strict input or output.
5088 * include/std/std_streambuf.h (basic_streambuf::setp): Set
5091 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
5092 output string shouldn't core.
5093 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
5095 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
5097 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
5100 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5102 * testsuite/data: New directory.
5103 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
5104 to copy files from the testsuite data directory.
5105 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
5106 testfiles containing _xin, which now means this is an interactive
5107 test and should be run with the interactive dejagnu hooks.
5108 * testsuite/Makefile.am: Remove testsuite_* files.
5109 * testsuite/Makefile.in: Regenerate.
5111 2003-04-09 Zack Weinberg <zack@codesourcery.com>
5113 * docs/html/install.html: Document complete list of locales
5114 required by test suite. Document procedure for installing
5115 said locales under Debian. Solicit instructions for other
5118 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
5120 * include/bits/sstream.tcc (overflow): Make sure operands of min
5121 and max have the same type.
5123 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
5126 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
5129 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
5131 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
5132 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5133 Don't set _M_out_end.
5134 (basic_filebuf::overflow): Replace _M_out_buf_size() with
5135 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
5136 * include/bits/sstream.tcc (basic_stringbuf::overflow):
5137 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
5138 * include/bits/streambuf.tcc (basic_streambuf::sputc):
5139 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
5140 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
5141 _M_out_end - _M_out_cur.
5142 (__copy_streambufs): Likewise.
5143 * include/std/std_fstream.h (_M_set_determinate): Set
5146 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
5148 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
5149 _M_convert_to_external, _M_really_overflow, seekoff): Fix
5150 test for synced buffer.
5151 * include/std/std_fstream.h (sync): Likewise.
5152 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5153 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
5155 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
5157 * include/std/std_sstream.h (basic_istringstream): Adjust
5159 (basic_ostringstream): Same.
5160 (basic_stringstream): Same.
5161 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
5162 (basic_ofstream): Same.
5163 (basic_fstream): Same.
5164 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
5165 that does not call init.
5166 * include/std/std_istream.h (basic_istream): Same.
5167 (basic_iostream): Construct istream, ostream uninitialized, use
5168 init to initialize just once. Add protected ctor that does not
5171 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
5172 Nathan Myers <ncm@cantrip.org>
5175 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
5177 (basic_filebuf<>::showmanyc): Use the information provided
5178 by codecvt and __basic_file<>::showmanyc_helper to implement
5179 a non-trivial showmanyc.
5180 * config/io/basic_file_stdio.h
5181 (__basic_file<>::showmanyc_helper): New, declare.
5182 * config/io/basic_file_stdio.cc
5183 (__basic_file<>::showmanyc_helper): Define.
5184 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
5185 (__basic_file<char>::open): Don't call fcntl().
5186 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
5187 GLIBCPP_CHECK_POLL): New macros.
5188 * configure.in: Call here.
5189 * acconfig.h: Add #undefs for the corresponding symbols.
5190 * aclocal.m4: Regenerate.
5191 * configure: Regenerate.
5192 * config.h.in: Regenerate.
5194 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
5196 * config/linker-map.gnu: Remove string export restrictions.
5198 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
5200 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
5201 find_first_of, find_last_of and find_last_not_of tests.
5202 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
5203 tests here, new file.
5204 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
5205 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
5206 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
5207 wchar_t find_first_of tests here, new file.
5208 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
5210 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
5212 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
5213 wchar_t find_last_of tests here.
5214 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
5215 wchar_t find_last_not_of tests here.
5217 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
5219 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
5220 Correct return value.
5222 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
5225 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
5226 * include/std/std_complex.h (norm): Use faster,
5227 less accurate computation for builtin float types under --fast-math.
5229 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
5231 * testsuite/testsuite_hooks.h: Fix warning nits.
5233 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
5235 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
5236 Only .set mips2 for the o32 ABI.
5238 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
5240 * testsuite/21_strings/char_traits/requirements/char/1.cc:
5241 Test char not wchar_t.
5243 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5245 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
5246 Correct size, taking into account sizeof(wchar_t).
5248 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5250 Reshuffle 21_strings testsuite.
5251 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
5252 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
5253 element_access.cc, operations.cc, char_traits_requirements.cc,
5254 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
5255 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
5256 wchar_t tests as follows.
5257 * 21_strings/basic_string/append/char/1.cc: New.
5258 * 21_strings/basic_string/append/wchar_t/1.cc: New.
5259 * 21_strings/basic_string/assign/char/1.cc: New.
5260 * 21_strings/basic_string/assign/char/2.cc: New.
5261 * 21_strings/basic_string/assign/char/3.cc: New.
5262 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
5263 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
5264 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
5265 * 21_strings/basic_string/capacity/1.cc: New.
5266 * 21_strings/basic_string/capacity/char/1.cc: New.
5267 * 21_strings/basic_string/capacity/char/2.cc: New.
5268 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
5269 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
5270 * 21_strings/basic_string/compare/char/1.cc: New.
5271 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
5272 * 21_strings/basic_string/cons/char/1.cc: New.
5273 * 21_strings/basic_string/cons/char/2.cc: New.
5274 * 21_strings/basic_string/cons/char/3.cc: New.
5275 * 21_strings/basic_string/cons/char/4.cc: New.
5276 * 21_strings/basic_string/cons/char/5.cc: New.
5277 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
5278 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
5279 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
5280 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
5281 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
5282 * 21_strings/basic_string/element_access/char/1.cc: New.
5283 * 21_strings/basic_string/element_access/char/2.cc: New.
5284 * 21_strings/basic_string/element_access/char/3.cc: New.
5285 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
5286 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
5287 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
5288 * 21_strings/basic_string/find/char/1.cc: New.
5289 * 21_strings/basic_string/find/wchar_t/1.cc: New.
5290 * 21_strings/basic_string/insert/char/1.cc: New.
5291 * 21_strings/basic_string/insert/char/2.cc: New.
5292 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
5293 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
5294 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
5295 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
5296 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
5297 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
5298 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
5299 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
5300 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
5301 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
5302 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
5303 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
5304 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
5305 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
5306 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
5307 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
5308 * 21_strings/basic_string/operators/char/1.cc: New.
5309 * 21_strings/basic_string/operators/char/2.cc: New.
5310 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
5311 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
5312 * 21_strings/basic_string/replace/char/1.cc: New.
5313 * 21_strings/basic_string/replace/char/2.cc: New.
5314 * 21_strings/basic_string/replace/char/3.cc: New.
5315 * 21_strings/basic_string/replace/char/4.cc: New.
5316 * 21_strings/basic_string/replace/char/5.cc: New.
5317 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
5318 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
5319 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
5320 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
5321 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
5322 * 21_strings/basic_string/rfind/char/1.cc: New.
5323 * 21_strings/basic_string/rfind/char/2.cc: New.
5324 * 21_strings/basic_string/rfind/char/3.cc: New.
5325 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
5326 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
5327 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
5328 * 21_strings/basic_string/substr/char/1.cc: New.
5329 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
5330 * 21_strings/c_strings/char/1.cc: New.
5331 * 21_strings/c_strings/char/2.cc: New.
5332 * 21_strings/c_strings/wchar_t/1.cc: New.
5333 * 21_strings/c_strings/wchar_t/2.cc: New.
5334 * 21_strings/char_traits/requirements/char/1.cc: New.
5335 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
5336 * 21_strings/char_traits/typedefs/char/1.cc: New.
5338 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
5339 Petur Runolfsson <peturr02@ru.is>
5342 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5343 basic_filebuf<wchar_t>::_M_underflow_common):
5344 if (gptr() < egptr()) return *gptr().
5345 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
5347 * testsuite/27_io/filebuf_members.cc (test_04): Minor
5348 changes: unlink fifo before making it, fix spelling error.
5350 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
5352 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
5353 * testsuite/Makefile.in: Regenerate.
5354 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
5357 2003-03-17 Petur Runolfsson <peturr02@ru.is>
5360 * include/bits/fstream.tcc (basic_filebuf::close):
5361 Always close file, even when write fails.
5362 * testsuite/27_io/filebuf_members.cc (test_07): New test.
5364 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
5366 * libsupc++/Makefile.am (C_COMPILE): Remove.
5367 (LTCOMPILE): Likewise.
5368 * libsupc++/Makefile.in: Regenerate.
5370 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5372 * testsuite/23_containers/bitset_members.cc: Add test variable.
5373 * testsuite/23_containers/map_insert.cc: Same.
5374 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
5375 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
5376 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
5377 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
5378 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
5379 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
5380 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
5381 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
5382 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
5383 * testsuite/27_io/istream_exception.cc: Same.
5384 * testsuite/27_io/filebuf_virtuals.cc: Same.
5385 * testsuite/27_io/stringbuf_virtuals.cc: Same.
5386 * testsuite/27_io/ostream_inserter_arith.cc: Same.
5387 * testsuite/26_numerics/valarray_operators.cc: Same.
5388 * testsuite/26_numerics/slice.cc: Same.
5389 * testsuite/26_numerics/slice_array_assignment.cc: Same.
5390 * testsuite/24_iterators/istream_iterator.cc: Same.
5391 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
5393 2003-03-14 Petur Runolfsson <peturr02@ru.is>
5397 * config/locale/generic/ctype_members.cc,
5398 * config/locale/gnu/ctype_members.cc
5399 (ctype<wchar_t>::do_widen(char)): Cast argument to
5400 unsigned char before passing to btowc.
5401 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
5402 Convert characters with btowc instead of mbsrtowcs.
5403 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
5405 Convert characters with wctob instead of wcsrtombs.
5406 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
5407 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
5408 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
5410 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5412 * include/stdc++.h: New.
5413 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
5414 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
5415 * include/Makefile.in: Regenerate.
5416 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
5417 (--cxxflags): Put -g -O2 here.
5418 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
5420 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
5422 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
5423 missing named locale.
5425 2003-03-14 Andreas Schwab <schwab@suse.de>
5427 * configure.in: Only append to makefiles that are newly created to
5428 avoid multiple multi-do/multi-clean rules.
5429 * configure: Rebuilt.
5431 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5433 * docs/html/configopts.html, docs/html/documentation.html,
5434 docs/html/explanations.html, docs/html/install.html,
5435 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5436 invalid XHTML and make page header style consistent.
5438 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5440 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5441 * docs/html/faq/index.txt: Regenerate.
5442 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5444 2003-03-12 Andreas Schwab <schwab@suse.de>
5446 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5447 glibcpp_toolexeclibdir.
5448 * aclocal.m4, configure: Rebuilt.
5450 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5452 * docs/html/faq/index.html: Update text about location of headers.
5453 * docs/html/faq/index.txt: Regenerate.
5455 2003-03-11 Carlo Wood <carlo@alinoe.com>
5457 * include/bits/demangle.h: Prepend accessors of
5458 class qualifier with 'get_' in order to fix warnings
5459 when compiling with -Wshadow.
5461 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5463 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5465 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5467 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5468 report lack of setenv().
5470 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5472 * config/io/basic_file_stdio.cc: include <unistd.h>.
5474 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5475 Nathan Myers <ncm@cantrip.org>
5478 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5479 seekoff, seekpos): Add a boolean parameter __stdio.
5480 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5481 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5482 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5484 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5485 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5486 * include/std/std_fstream.h (sync): Likewise.
5487 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5488 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5489 libstdc++/8399 commit involving isatty(0).
5490 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5491 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5492 * configure.in: Remove call.
5493 * aclocal.m4: Regenerate.
5494 * config.h.in: Regenerate.
5495 * configure: Regenerate.
5496 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5498 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5501 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5502 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5504 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5507 * include/bits/basic_ios.h (_M_setstate): New.
5508 * include/bits/ostream.tcc (operator<<): Use it.
5509 * include/bits/istream.tcc (operator>>): Use it.
5510 * include/std/std_ostream.h (operator<<): Make friends.
5511 * include/std/std_istream.h (operator>>): Make friends.
5512 * testsuite/27_io/ostream_exception.cc,
5513 testsuite/27_io/istream_exception.cc: New tests.
5515 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5517 * include/bits/locale_facets.tcc: Fix typo.
5519 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5521 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5523 * config/locale/generic/c_locale.cc
5524 (locale::facet::_S_create_c_locale): Throw runtime exception when
5525 unsupported language is specified.
5526 * testsuite/testsuite_hooks.h
5527 (run_test_wrapped_generic_locale_exception_catcher): New function.
5528 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5529 Suppress runtime exception thrown by generic implementation.
5530 (run_tests_wrapped_env): Likewise.
5531 (run_test_wrapped_generic_locale_exception_catcher): New function.
5532 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5533 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5534 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5535 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5536 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5537 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5538 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5539 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5540 * testsuite/22_locale/facet/2.cc: New test wrap.
5541 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5542 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5543 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5544 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5545 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5546 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5547 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5548 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5549 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5550 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5551 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5552 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5553 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5554 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5555 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5556 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5557 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5558 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5559 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5560 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5561 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5562 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5563 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5564 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5565 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5566 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5567 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5568 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5569 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5570 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5571 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5572 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5573 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5574 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5575 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5576 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5577 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5578 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5579 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5580 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5581 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5582 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5583 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5584 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5585 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5586 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5587 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5588 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5589 * testsuite/27_io/ios_members.cc: New test wrap.
5590 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5592 * testsuite/27_io/streambuf_members.cc: New test wrap.
5593 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5595 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5596 Petur Runolfsson <peturr02@ru.is>
5599 * include/bits/streambuf.tcc (__copy_streambufs): Use
5600 sgetn-sputn only when sputn cannot fail, otherwise fall back
5601 to safe snextc-sputc.
5602 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5604 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5606 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5607 locale cache for truename and falsename.
5609 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5611 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5612 _M_word_size initialization.
5614 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5616 * include/bits/fstream.tcc (_M_convert_to_external):
5617 Set __elen to zero if codecvt::out eventually fails.
5619 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5622 * include/bits/fstream.tcc (_M_really_overflow): Check
5623 for _M_convert_to_external possible failures.
5624 * include/std/std_fstream.h (sync): Check _M_really_overflow
5625 return value and return -1 in case of failure.
5626 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5628 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5631 * include/bits/istream.tcc (operator>>(_CharT*),
5632 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5633 * testsuite/27_io/stringstream.cc (test02): Add.
5635 * include/bits/istream.tcc (operator>>(_CharT*)):
5636 Assign a char_type to *__s.
5638 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5641 * include/bits/locale_facets.tcc
5642 (collate::do_compare, collate::do_transform):
5643 Handle nul characters in input.
5644 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5645 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5646 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5647 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5649 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5651 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5653 * testsuite/27_io/ostream_fail.cc: New test.
5655 2003-03-07 Matthias Klose <doko@debian.org>
5657 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5658 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5659 * Makefile.in: Regenerate.
5660 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5662 AM_MAKEFLAGS: Pass gxx_include_dir.
5663 * libsupc++/Makefile.in: Regenerate.
5665 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5667 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5668 mask. Test setting small-numbered pword and iword slots. Test
5669 behavior at limit of numeric_limits::max. Check that values are
5670 still good after failures.
5672 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5674 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5675 (ios_base::ios_base): Set _M_word, _M_word_size.
5676 (ios_base::~ios_base): Remove redundant test.
5677 * testsuite/27_io/ios_base_storage.cc (test03): New.
5679 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5681 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5682 incorrect whitespace added in my previous change.
5684 2003-03-05 Carlo Wood <carlo@alinoe.com>
5686 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5687 _S_initialized() in order to allow debugging libraries to detect
5688 when the std streams are initialized from an overloaded operator
5691 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5693 * libsupc++/demangle.h: Move to..
5694 * include/bits/demangle.h: ...here.
5695 * src/demangle.cc: Adjust include.
5696 * include/Makefile.am (bits_headers): Add.
5697 * include/Makefile.in: Regenerate.
5699 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5701 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5703 * config/linker-map.gnu: Filter typeinfo and vtable info.
5705 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5707 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5708 new failure. Throw exception if badbit and exception mask when ix
5709 >= numeric_limits<int>::max().
5711 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5713 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5714 min and max have the same type.
5715 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5717 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5719 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5720 * include/Makefile.in: Regenerate.
5722 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5724 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5726 * config/linker-map.gnu: Hide more stuff.
5727 * include/Makefile.am: Cleanups.
5728 * include/Makefile.in: Regenerate.
5730 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5732 * config/locale/generic/messages_members.h (messages::messages):
5733 Remove name from unused parameter.
5735 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5737 * src/Makefile.am (sources): Add demangle.cc.
5740 * src/Makefile.in: Regenerate.
5741 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5742 * libsupc++/Makefile.in: Regenerate.
5744 * testsuite/testsuite_hooks.h
5745 (__gnu_cxx_test::verify_demangle): New.
5746 * testsuite/testsuite_hooks.cc: Define.
5748 2003-02-27 Carlo Wood <carlo@alinoe.com>
5750 * src/demangle.cc: New.
5751 * libsupc++/demangle.h: New.
5753 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5754 Carlo Wood <carlo@alinoe.com>
5756 * testsuite/demangle/abi_examples/01.cc: New.
5757 * testsuite/demangle/abi_examples/02.cc: New.
5758 * testsuite/demangle/abi_examples/03.cc: New.
5759 * testsuite/demangle/abi_examples/04.cc: New.
5760 * testsuite/demangle/abi_examples/05.cc: New.
5761 * testsuite/demangle/abi_examples/06.cc: New.
5762 * testsuite/demangle/abi_examples/07.cc: New.
5763 * testsuite/demangle/abi_examples/08.cc: New.
5764 * testsuite/demangle/abi_examples/09.cc: New.
5765 * testsuite/demangle/abi_examples/10.cc: New.
5766 * testsuite/demangle/abi_examples/11.cc: New.
5767 * testsuite/demangle/abi_examples/12.cc: New.
5768 * testsuite/demangle/abi_examples/13.cc: New.
5769 * testsuite/demangle/abi_examples/14.cc: New.
5770 * testsuite/demangle/abi_examples/15.cc: New.
5771 * testsuite/demangle/abi_examples/16.cc: New.
5772 * testsuite/demangle/abi_examples/17.cc: New.
5773 * testsuite/demangle/abi_examples/18.cc: New.
5774 * testsuite/demangle/abi_examples/19.cc: New.
5775 * testsuite/demangle/abi_examples/20.cc: New.
5776 * testsuite/demangle/abi_examples/21.cc: New.
5777 * testsuite/demangle/abi_examples/22.cc: New.
5778 * testsuite/demangle/abi_examples/23.cc: New.
5779 * testsuite/demangle/abi_examples/24.cc: New.
5780 * testsuite/demangle/abi_examples/25.cc: New.
5781 * testsuite/demangle/abi_examples/26.cc: New.
5782 * testsuite/demangle/abi_text/01.cc: New.
5783 * testsuite/demangle/abi_text/02.cc: New.
5784 * testsuite/demangle/abi_text/03.cc: New.
5785 * testsuite/demangle/abi_text/04.cc: New.
5786 * testsuite/demangle/abi_text/05.cc: New.
5787 * testsuite/demangle/abi_text/06.cc: New.
5788 * testsuite/demangle/abi_text/07.cc: New.
5789 * testsuite/demangle/abi_text/08.cc: New.
5790 * testsuite/demangle/abi_text/09.cc: New.
5791 * testsuite/demangle/abi_text/10.cc: New.
5792 * testsuite/demangle/abi_text/11.cc: New.
5793 * testsuite/demangle/abi_text/12.cc: New.
5794 * testsuite/demangle/abi_text/13.cc: New.
5795 * testsuite/demangle/abi_text/14.cc: New.
5796 * testsuite/demangle/regression/3111-1.cc: New.
5797 * testsuite/demangle/regression/3111-2.cc: New.
5798 * testsuite/demangle/regression/7986-01.cc: New.
5799 * testsuite/demangle/regression/7986-02.cc: New.
5800 * testsuite/demangle/regression/7986-03.cc: New.
5801 * testsuite/demangle/regression/7986-04.cc: New.
5802 * testsuite/demangle/regression/7986-05.cc: New.
5803 * testsuite/demangle/regression/7986-06.cc: New.
5804 * testsuite/demangle/regression/7986-07.cc: New.
5805 * testsuite/demangle/regression/7986-08.cc: New.
5806 * testsuite/demangle/regression/7986-09.cc: New.
5807 * testsuite/demangle/regression/7986-10.cc: New.
5808 * testsuite/demangle/regression/7986-11.cc: New.
5809 * testsuite/demangle/regression/7986-12.cc: New.
5810 * testsuite/demangle/regression/7986.cc: New.
5811 * testsuite/demangle/regression/8897.cc: New.
5812 * testsuite/demangle/regression/cw-01.cc: New.
5813 * testsuite/demangle/regression/cw-02.cc: New.
5814 * testsuite/demangle/regression/cw-03.cc: New.
5815 * testsuite/demangle/regression/cw-04.cc: New.
5816 * testsuite/demangle/regression/cw-05.cc: New.
5817 * testsuite/demangle/regression/cw-06.cc: New.
5818 * testsuite/demangle/regression/cw-07.cc: New.
5819 * testsuite/demangle/regression/cw-08.cc: New.
5820 * testsuite/demangle/regression/cw-09.cc: New.
5821 * testsuite/demangle/regression/cw-10.cc: New.
5822 * testsuite/demangle/regression/cw-11.cc: New.
5823 * testsuite/demangle/regression/cw-12.cc: New.
5824 * testsuite/demangle/regression/cw-13.cc: New.
5825 * testsuite/demangle/regression/cw-14.cc: New.
5826 * testsuite/demangle/regression/old.cc: New.
5828 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5830 * docs/doxygen/Intro.3: Update with new (proper) names.
5831 * docs/doxygen/TODO: Update.
5832 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5833 Fake entries for standard typedefs.
5834 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5835 * docs/html/documentation.html: Top-level man page is now called
5837 * include/std/std_limits.h: Doxygenate.
5839 2003-02-25 Scott Snyder <snyder@fnal.gov>
5842 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5843 Correct documentation.
5844 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5845 equal_range): Likewise.
5847 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5851 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5852 __bump is true (uflow), always increment the read pointer
5853 (_M_in_cur) before returning successfully.
5854 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5856 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5857 Nathan Myers <ncm@cantrip.org>
5859 PR libstdc++/9404, PR libstdc++/9701 (partial)
5860 (aka pptr == epptr implies overflow)
5861 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5862 Consistently, _M_out_end points to the end of the buffer just
5864 (overflow): Tweak to use _M_out_buf_size().
5865 (_M_convert_to_external): The role of the old _M_out_end is
5866 now played by _M_out_lim.
5867 (_M_really_overflow): Likewise.
5868 (seekoff): Likewise.
5869 (setbuf): _M_out_end points to the end of the external buffer.
5870 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5871 account the resolution of DR 169 (TC).
5872 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5873 (seekpos): Use _M_string.capacity(); tweak.
5874 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5875 * include/std/std_fstream.h (sync): The role of the old
5876 _M_out_end is now played by _M_out_lim.
5877 (_M_set_indeterminate): Use _M_set_determinate.
5878 (_M_set_determinate): _M_out_end is now _M_out_lim.
5879 (_M_is_indeterminate): Likewise.
5880 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5881 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5882 which have the information readily available as _M_string.capacity();
5883 for ate and app modes, pass the string size to _M_really_sync.
5884 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5885 point to the end of the buffer (i.e., epptr) and to the string end,
5887 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5888 which points to the right limit of the used put area.
5889 (_M_out_cur_move): The role of the old _M_out_end is now played
5891 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5892 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5894 (basic_streambuf()): Initialize _M_out_lim too.
5895 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5896 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5897 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5899 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5901 * testsuite/27_io/ios_base_storage.cc (main): Call
5904 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5906 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5907 numpunct facet accesses with data from __locale_cache.
5909 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5911 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5912 * docs/html/faq/index.txt: Regenerate.
5914 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5916 * config/linker-map.gnu: Also export locking symbols needed for the
5917 generic atomicity.h case.
5919 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5921 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5923 * configure: Rebuilt.
5925 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5927 * include/bits/sstream.tcc (overflow): According to
5928 27.7.1.3, p5, actual output is performed by sputc(c).
5930 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5933 * include/bits/stl_alloc.h: Remove all traces of assert().
5935 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5937 * include/std/std_sstream.h (str()): the size of the
5938 current string may be different from the initial one
5939 whenever _M_out_end > _M_out_beg.
5940 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5942 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5945 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5947 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5949 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5950 * testsuite/27_io/ios_members.cc (test03): New.
5952 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5954 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5955 (basic_ios::_M_cache_facets): Move into above.
5956 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5958 (basic_ios::imbue): Force locale cache to be built.
5959 (basic_ios::_M_init): Create and initialize locale cache.
5960 * include/bits/ios_base.h (__locale_cache_base): Declare.
5961 (ios_base::_M_locale_cache): New.
5962 (ios_base::_M_cache): Define.
5963 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5965 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5966 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5967 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5968 cache literal string, grouping flag, thousands separator.
5969 (__locale_cache<_CharT>::__locale_cache): New.
5970 (__locale_cache<_CharT>::_M_init): New.
5971 * src/ios.cc: Clear _M_locale_cache in constructor.
5972 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5975 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5977 * src/locale-inst.cc: Do not include <cassert>.
5978 * src/locale.cc: Likewise.
5980 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5983 * include/std/std_fstream.h: Declare underflow and uflow
5984 specializations, change generic definitions to do nothing.
5985 * src/fstream.cc: Add underflow and uflow specializations.
5987 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5990 * include/bits/fstream.tcc (_M_convert_to_external):
5991 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5992 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5994 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5996 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5997 * include/bits/basic_ios.tcc: Guard use of extern template.
5998 * include/std/std_iomanip.h: Same.
5999 * include/bits/streambuf.tcc: Same.
6000 * include/bits/stl_alloc.h: Same.
6001 * include/bits/locale_facets.tcc: Same.
6002 * include/bits/ostream.tcc: Same.
6003 * include/bits/istream.tcc: Same.
6004 * include/bits/fstream.tcc: Same.
6005 * include/bits/basic_string.tcc: Same.
6007 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
6009 * include/bits/ostream.tcc (sentry::sentry): Improve
6010 performance-wise the fix for libstdc++/9563.
6012 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
6014 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
6015 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
6016 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
6017 when we don't have static mutex initialization.
6018 (__exchange_and_add): Use _Atomic_add_mutex_once.
6019 * src/misc-inst.cc: Definitions of all the above.
6021 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
6024 * include/bits/ostream.tcc (sentry::sentry): Check
6025 the state of the stream after the preparation.
6026 * testsuite/27_io/ostream_sentry.cc (test02): Add.
6028 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
6030 * include/Makefile.am (stamp-std-precompile): Add rule.
6031 * include/Makefile.in: Regenerated.
6033 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
6034 Benjamin Kosnik <benjamin@redhat.com>
6036 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
6037 Add indexes into this array.
6038 (__num_base::_S_atoms): To _S_atoms_in.
6039 (num_put::_M_insert): Rename to _M_pad.
6040 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
6041 (num_put::_M_widen_int): Rename to _M_group_int.
6042 (num_put::_M_widen_float): Rename to _M_group_float.
6043 * include/bits/locale_facets.tcc (__int_to_char): New inline
6044 function and adapter functions.
6045 (num_put::_M_group_int): Streamline.
6046 (num_put::_M_group_float): Streamline.
6047 (num_put::_M_convert_int): Remove unused parameter names. Choose
6048 large enough buffer for text. Use __int_to_char instead of
6049 __convert_from_v. Formatted text is now at the end of the buffer.
6050 (num_put::_M_convert_float): Preliminary fixups.
6051 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
6052 (__int_to_char<unsigned long long>): Same.
6053 (__int_to_char<char, unsigned long>): New.
6054 (__int_to_char<char, unsigned long long>): New.
6055 (__int_to_char<wchar_t, unsigned long>): New.
6056 (__int_to_char<wchar_t, unsigned long long>): New.
6058 2003-02-11 Scott Snyder <snyder@fnal.gov>
6061 * include/bits/fstream.tcc (seekoff): Avoid operator+
6064 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6067 * include/ext/stdio_filebuf.h
6068 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
6069 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
6070 Change to take a __size parameter of type size_t, not
6071 of type (template parameter dependent) int_type.
6072 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
6073 size vars to size_t.
6074 * testsuite/ext/stdio_filebuf.cc: Add.
6076 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6077 Petur Runolfsson <peturr02@ru.is>
6080 * include/bits/streambuf.tcc (__copy_streambufs):
6081 Don't conditionalize the copy to __testput.
6082 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
6084 2002-02-11 DJ Delorie <dj@redhat.com>
6086 * acinclude.m4: Check for native targets that can't link at
6087 this point in the build.
6088 * aclocal.m4: Regenerate.
6089 * configure: Regenerate.
6091 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6093 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
6095 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
6098 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
6100 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
6101 unsigned char platforms.
6103 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6106 * include/std/std_istream.h
6107 (basic_istream::sentry::operator bool()): Make const.
6108 * include/std/std_ostream.h
6109 (basic_ostream::sentry::operator bool()): Likewise.
6110 * testsuite/27_io/istream_sentry.cc (test03): Add.
6111 * testsuite/27_io/ostream_sentry.cc: Add.
6113 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6116 Implement resolution of DR 231 (Ready)
6117 * include/bits/locale_facets.h (__num_base::_S_format_float):
6118 Change declaration: return void, remove __prec parameter.
6119 * src/locale.cc (__num_base::_S_format_float): Implement
6120 resolution of DR 231.
6121 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
6122 Tweak uses. Check for negative precision.
6123 * testsuite/22_locale/num_put/put/char/6.cc: Add
6124 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
6126 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
6128 * config/io/basic_file_libio.h: Fixups.
6129 * config/io/c_io_libio.h: Same.
6130 * libio/Makefile.am: Same.
6131 * libio/Makefile.in: Regenerated.
6133 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
6135 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
6136 Explicitly use the "C" locale.
6137 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
6139 2003-02-06 Petur Runolfsson <peturr02@ru.is>
6143 PR libstdc++/9028 (partial)
6149 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
6150 codecvt<wchar_t, char, mbstate_t>::do_length,
6151 codecvt<wchar_t, char, mbstate_t>::do_max_length):
6153 * config/locale/generic/codecvt_members.cc: ...here.
6154 * config/locale/gnu/codecvt_members.cc: ...and here.
6156 * config/locale/generic/codecvt_members.cc,
6157 * config/locale/gnu/codecvt_members.cc
6158 (codecvt<wchar_t, char, mbstate_t>::do_encoding
6159 codecvt<wchar_t, char, mbstate_t>::do_in,
6160 codecvt<wchar_t, char, mbstate_t>::do_length,
6161 codecvt<wchar_t, char, mbstate_t>::do_max_length,
6162 codecvt<wchar_t, char, mbstate_t>::do_out):
6163 New implementation that handles stateless encodings,
6166 * config/locale/generic/codecvt_members.cc,
6167 * config/locale/gnu/codecvt_members.cc,
6168 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
6169 * include/bits/codecvt.h,
6171 (codecvt::length, codecvt::do_length):
6172 Change type of first argument of length and do_length from
6173 'const state_type&' to 'state_type&' according to DR 75.
6175 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
6176 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
6177 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
6178 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
6179 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
6180 Cleanup and check for correct return value from encoding
6182 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
6183 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
6184 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
6185 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
6186 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
6187 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
6188 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
6189 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
6190 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
6191 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
6192 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
6193 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
6194 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
6195 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
6196 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
6197 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
6198 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
6199 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
6200 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
6201 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
6202 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
6203 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
6204 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
6205 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
6206 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
6207 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
6208 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
6209 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
6210 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
6211 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
6212 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
6213 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
6214 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
6215 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
6216 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
6217 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
6218 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
6220 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
6222 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
6223 (money_put::do_put): Same.
6225 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
6227 * include/bits/ios_base.h (ios_base): Document reserved storage.
6229 * include/bits/locale_facets.h: (struct __pad): Comment on
6231 (__verify_grouping): Same.
6232 (__add_grouping): Same.
6233 * include/bits/locale_facets.tcc (__verify_grouping): Move
6234 comments to declaration.
6235 (__add_grouping): Same.
6237 * include/bits/locale_facets.tcc:
6238 (__write<_CharT, _OutIter>): New function.
6239 (__write<_CharT>): New function specialization.
6240 (num_put::_M_insert): Remove explicit loop over iterator. Use
6242 (num_put::_M_widen_float): Remove __basefield.
6243 (num_put::_M_widen_int): Move __basefield to within grouping block.
6245 * include/bits/streambuf_iterator.h: Include <streambuf>.
6246 (ostreambuf_iterator::_M_put): Add.
6248 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
6250 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
6252 2003-02-04 Nathan Myers <ncm@cantrip.org>
6254 * testsuite/25_algorithms/min_max.cc (test02): Add.
6256 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6258 PR libstdc++/9439, PR libstdc++/9425
6259 * config/io/basic_file_stdio.cc
6260 (__basic_file<char>::seekoff, seekpos): Return -1L if
6262 * include/bits/fstream.tcc (basic_filebuf::seekoff):
6263 Check _M_file.seekoff return value; always return
6264 pos_type(off_type(-1)) in case of failure.
6265 (basic_filebuf::pbackfail): Check this->seekoff return
6266 value and return traits_type::eof() in case of failure.
6267 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
6269 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
6271 * include/std/std_ostream.h (ostream::_M_write): Declare.
6272 * ostream.tcc (ostream::_M_write): Define.
6273 (basic_ostream::write): Use it.
6274 (operator<<(basic_ostream, _CharT)): Ditto.
6275 (operator<<(basic_ostream, char)): Ditto.
6276 (operator<<(basic_ostream, _CharT*)): Ditto.
6277 (operator<<(basic_ostream, char*)): Ditto.
6278 (operator<<(basic_ostream, basic_string)): Ditto.
6280 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
6282 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
6284 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6286 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
6287 add HTML comment about updating links if numbering changes.
6289 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6292 * include/bits/streambuf.tcc (sputbackc): Access
6293 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
6294 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6296 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6299 * include/bits/fstream.tcc (open): If the 'ate' repositioning
6300 operation fails, calls close _and_ returns a null pointer
6301 to indicate failure (27.8.1.3,4).
6302 * testsuite/27_io/filebuf_members.cc (test_06): Add.
6304 2003-02-04 Petur Runolfsson <peturr02@ru.is>
6306 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
6308 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6310 * docs/html/27_io/howto.html: New section on stdio_filebuf.
6311 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
6312 * docs/html/documentation.html: Regenerate.
6314 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
6316 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
6317 * docs/html/17_intro/porting.html: Regenerate.
6319 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
6320 Phil Edwards <pme@gcc.gnu.org>
6322 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
6323 numeric_limits for bits-per-word values.
6324 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
6325 Use __builtin_popcountl instead.
6326 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
6327 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
6328 Use __builtin_ctzl instead.
6329 (_S_bit_count, _S_first_one): Remove.
6330 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
6331 * src/Makefile.am (sources): Remove bitset.cc.
6332 * src/bitset.cc: Delete file.
6333 * src/Makefile.in: Regenerate.
6335 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
6337 PR libstdc++/9527, PR libstdc++/8713
6338 * docs/html/install.html: Mention glibc version requirement.
6339 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
6340 with 3.2.1+ (formatting bugfixes).
6341 * docs/html/faq/index.txt: Regenerate.
6343 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
6346 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
6349 * include/bits/valarray_before.h (__not_equal_to): Use != instead
6352 * testsuite/26_numerics/valarray_operators.cc: New test.
6354 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
6356 * docs/html/faq/index.html: Correct link to libg++ information.
6357 * docs/html/faq/index.txt: Regenerated.
6359 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
6360 Benjamin Kosnik <bkoz@redhat.com>
6362 Const correctness issue:
6363 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
6364 * include/bits/locale_classes.h
6365 (locale::_Impl::_M_facets): Change type to const facet**.
6366 (locale::_Impl::_M_install_facet): Change declaration to
6368 (locale::facet::_M_references): Make mutable.
6369 (locale::facet::_M_add_reference): Declare const.
6370 (locale::facet::_M_remove_reference): Likewise.
6371 * include/bits/locale_facets.tcc
6372 (use_facet(const locale&)): Tweak for const facet** _M_facets.
6373 (has_facet(const locale&)): Likewise.
6375 (locale::facet::_M_add_reference): Adjust definition.
6376 (locale::facet::_M_remove_reference): Likewise.
6378 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
6379 const facet** _M_facets.
6380 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
6381 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
6382 (locale::_Impl::_M_install_facet): Adjust definition to take
6383 const facet* and for const facet** _M_facets.
6384 * testsuite/22_locale/locale/cons/8.cc: Add.
6386 2003-01-29 Mark Mitchell <mark@codesourcery.com>
6388 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
6389 Use __FLT_HAS_INIFINITY__ to initialize.
6390 (numeric_limits<float>::has_quiet_NaN): Likewise.
6391 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
6393 (numeric_limits<double>::has_quiet_NaN): Likewise.
6394 (numeric_limits<long double>::has_infinity): Use
6395 __LDBL_HAS_INIFINITY__ to initialize.
6396 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
6398 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
6401 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
6402 with bases which are very ambiguous.
6404 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
6406 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
6407 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
6408 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
6409 * src/Makefile.in: Regenerate.
6410 * libsupc++/Makefile.in: Regenerate.
6412 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6414 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
6415 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
6416 version_specific_libs is enabled.
6417 * aclocal.m4, configure: Rebuilt.
6419 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
6421 * include/bits/valarray_meta.h: Remove, split into ...
6422 * include/bits/valarray_before.h: ... this, and ...
6423 * include/bits/valarray_after.h: ... this.
6424 * include/std/std_valarray.h: Adjust.
6425 * include/Makefile.am (bits_headers): Adjust.
6426 * include/Makefile.in: Regenerate.
6428 2003-01-24 Andreas Schwab <schwab@suse.de>
6430 * config/linker-map.gnu: Fix for size_t variance.
6432 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6435 * include/std/std_streambuf.h
6436 (basic_streambuf::basic_streambuf,
6437 basic_streambuf::~basic_streambuf,
6438 basic_streambuf::getloc, basic_streambuf::imbue):
6439 Remove _M_buf_locale_init
6440 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6441 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6442 * testsuite/27_io/streambuf_members.cc (test08): Add.
6443 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6445 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6447 Revert include ordering.
6448 * config/locale/generic/c_locale.h: Add include guards.
6449 * config/locale/gnu/c_locale.h: Same.
6450 * include/bits/locale_classes.h: Remove cctype include.
6451 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6452 * include/std/std_fstream.h: Remove streambuf include.
6453 * include/std/std_sstream.h: Remove streambuf include.
6455 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6457 * configure.in (libtool_VERSION): To 6:0:0.
6458 * configure: Regenerated.
6459 * config/linker-map.gnu: Clean.
6461 * src/misc-inst.cc: Remove instantiations.
6463 * include/bits/stl_alloc.h (__malloc_alloc_template):
6465 (__default_alloc_template): To __pool_alloc.
6466 * src/stl-inst.cc: Same.
6467 * include/backward/alloc.h: Update.
6468 * testsuite/ext/allocators.cc: Update.
6470 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6471 really try to remove these if possible.
6472 * src/locale.cc (std): Same.
6474 * testsuite/abi_check.cc (check_version): Add.
6476 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6477 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6478 Mark Mitchell <mark@codesourcery.com>
6481 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6482 (basic_filebuf::underflow): Declare.
6485 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6487 * include/bits/locale_facets.h: Move non-facet classes requiring
6489 * include/bits/locale_classes.h: New.
6490 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6491 * include/bits/Makefile.in: Regenerate.
6493 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6494 * config/locale/gnu/c_locale.h: ...here.
6495 * config/locale/generic/c_locale.h: Same.
6497 * include/bits/locale_facets.tcc: Move declarations to...
6498 * include/bits/locale_facets.h: ...here.
6499 * include/bits/basic_ios.h: Tweak includes accordingly.
6500 * include/std/std_sstream.h: Add streambuf include.
6501 * include/std/std_fstream.h: Ditto.
6502 * include/std/std_locale.h: Add locale_classes.h include.
6503 * include/std/std_iosfwd.h: Tweak.
6504 * src/concept-inst.cc: Add iterator include.
6506 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6507 bits as unexported in the future.
6509 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6511 Reshuffle 22_locale testsuite.
6512 * 22_locale/(codecvt.cc money_get.cc
6513 codecvt_members_char_char.cc money_get_members_char.cc
6514 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6515 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6516 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6517 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6518 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6519 money_put_members_char.cc ctor_copy_dtor.cc
6520 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6521 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6522 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6523 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6524 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6525 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6526 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6527 operators.cc ctype_widen_char.cc static_members.cc
6528 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6529 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6530 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6531 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6532 Split up into individual test cases...
6533 * 22_locale/codecvt/1.cc: New.
6534 * 22_locale/codecvt/2.cc: New.
6535 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6536 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6537 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6538 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6539 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6540 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6541 * 22_locale/codecvt/encoding/char/1.cc: New.
6542 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6543 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6544 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6545 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6546 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6547 * 22_locale/codecvt/in/char/1.cc: New.
6548 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6549 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6550 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6551 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6552 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6553 * 22_locale/codecvt/length/char/1.cc: New.
6554 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6555 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6556 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6557 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6558 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6559 * 22_locale/codecvt/max_length/char/1.cc: New.
6560 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6561 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6562 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6563 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6564 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6565 * 22_locale/codecvt/out/char/1.cc: New.
6566 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6567 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6568 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6569 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6570 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6571 * 22_locale/codecvt/unicode/char.cc: New.
6572 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6573 * 22_locale/codecvt/unshift/char/1.cc: New.
6574 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6575 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6576 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6577 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6578 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6579 * 22_locale/collate/1.cc: New.
6580 * 22_locale/collate/2.cc: New.
6581 * 22_locale/collate/compare/char/1.cc: New.
6582 * 22_locale/collate/compare/char/2.cc: New.
6583 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6584 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6585 * 22_locale/collate/compare/wchar_t/1.cc: New.
6586 * 22_locale/collate/compare/wchar_t/2.cc: New.
6587 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6588 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6589 * 22_locale/collate/hash/char/1.cc: New.
6590 * 22_locale/collate/hash/char/2.cc: New.
6591 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6592 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6593 * 22_locale/collate/hash/wchar_t/1.cc: New.
6594 * 22_locale/collate/hash/wchar_t/2.cc: New.
6595 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6596 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6597 * 22_locale/collate/transform/char/2.cc: New.
6598 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6599 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6600 * 22_locale/collate/transform/wchar_t/2.cc: New.
6601 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6602 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6603 * 22_locale/collate_byname/1.cc: New.
6604 * 22_locale/ctype/1.cc: New.
6605 * 22_locale/ctype/2.cc: New.
6606 * 22_locale/ctype/cons/char/1.cc: New.
6607 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6608 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6609 * 22_locale/ctype/is/char/1.cc: New.
6610 * 22_locale/ctype/is/char/2.cc: New.
6611 * 22_locale/ctype/is/char/3.cc: New.
6612 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6613 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6614 * 22_locale/ctype/is/wchar_t/1.cc: New.
6615 * 22_locale/ctype/is/wchar_t/2.cc: New.
6616 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6617 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6618 * 22_locale/ctype/narrow/char/1.cc: New.
6619 * 22_locale/ctype/narrow/char/2.cc: New.
6620 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6621 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6622 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6623 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6624 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6625 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6626 * 22_locale/ctype/scan/char/1.cc: New.
6627 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6628 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6629 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6630 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6631 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6632 * 22_locale/ctype/to/char/1.cc: New.
6633 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6634 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6635 * 22_locale/ctype/to/wchar_t/1.cc: New.
6636 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6637 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6638 * 22_locale/ctype/widen/char/1.cc: New.
6639 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6640 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6641 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6642 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6643 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6644 * 22_locale/facet/1.cc: New.
6645 * 22_locale/facet/2.cc: New.
6646 * 22_locale/global_templates/1.cc: New.
6647 * 22_locale/locale/cons/1.cc: New.
6648 * 22_locale/locale/cons/2.cc: New.
6649 * 22_locale/locale/cons/3.cc: New.
6650 * 22_locale/locale/cons/4.cc: New.
6651 * 22_locale/locale/cons/5.cc: New.
6652 * 22_locale/locale/cons/6.cc: New.
6653 * 22_locale/locale/cons/7.cc: New.
6654 * 22_locale/locale/global_locale_objects/1.cc: New.
6655 * 22_locale/locale/global_locale_objects/2.cc: New.
6656 * 22_locale/locale/global_locale_objects/3.cc: New.
6657 * 22_locale/locale/operations/1.cc: New.
6658 * 22_locale/locale/operations/2.cc: New.
6659 * 22_locale/messages/1.cc: New.
6660 * 22_locale/messages/2.cc: New.
6661 * 22_locale/messages/members/char/1.cc: New.
6662 * 22_locale/messages/members/char/2.cc: New.
6663 * 22_locale/messages/members/char/3.cc: New.
6664 * 22_locale/messages/members/char/wrapped_env.cc: New.
6665 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6666 * 22_locale/messages_byname/1.cc: New.
6667 * 22_locale/money_get/1.cc: New.
6668 * 22_locale/money_get/2.cc: New.
6669 * 22_locale/money_get/get/char/1.cc: New.
6670 * 22_locale/money_get/get/char/2.cc: New.
6671 * 22_locale/money_get/get/char/3.cc: New.
6672 * 22_locale/money_get/get/char/4.cc: New.
6673 * 22_locale/money_get/get/char/5.cc: New.
6674 * 22_locale/money_get/get/char/6.cc: New.
6675 * 22_locale/money_get/get/char/7.cc: New.
6676 * 22_locale/money_get/get/char/8.cc: New.
6677 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6678 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6679 * 22_locale/money_get/get/wchar_t/1.cc: New.
6680 * 22_locale/money_get/get/wchar_t/2.cc: New.
6681 * 22_locale/money_get/get/wchar_t/3.cc: New.
6682 * 22_locale/money_get/get/wchar_t/4.cc: New.
6683 * 22_locale/money_get/get/wchar_t/5.cc: New.
6684 * 22_locale/money_get/get/wchar_t/6.cc: New.
6685 * 22_locale/money_get/get/wchar_t/7.cc: New.
6686 * 22_locale/money_get/get/wchar_t/8.cc: New.
6687 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6688 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6689 * 22_locale/money_put/1.cc: New.
6690 * 22_locale/money_put/2.cc: New.
6691 * 22_locale/money_put/put/char/1.cc: New.
6692 * 22_locale/money_put/put/char/2.cc: New.
6693 * 22_locale/money_put/put/char/3.cc: New.
6694 * 22_locale/money_put/put/char/4.cc: New.
6695 * 22_locale/money_put/put/char/5.cc: New.
6696 * 22_locale/money_put/put/char/6.cc: New.
6697 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6698 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6699 * 22_locale/money_put/put/wchar_t/1.cc: New.
6700 * 22_locale/money_put/put/wchar_t/2.cc: New.
6701 * 22_locale/money_put/put/wchar_t/3.cc: New.
6702 * 22_locale/money_put/put/wchar_t/4.cc: New.
6703 * 22_locale/money_put/put/wchar_t/5.cc: New.
6704 * 22_locale/money_put/put/wchar_t/6.cc: New.
6705 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6706 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6707 * 22_locale/moneypunct/1.cc: New.
6708 * 22_locale/moneypunct/2.cc: New.
6709 * 22_locale/moneypunct/3.cc: New.
6710 * 22_locale/moneypunct/members/char/1.cc: New.
6711 * 22_locale/moneypunct/members/char/2.cc: New.
6712 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6713 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6714 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6715 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6716 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6717 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6718 * 22_locale/moneypunct_byname/1.cc: New.
6719 * 22_locale/num_get/1.cc: New.
6720 * 22_locale/num_get/2.cc: New.
6721 * 22_locale/num_get/get/char/1.cc: New.
6722 * 22_locale/num_get/get/char/2.cc: New.
6723 * 22_locale/num_get/get/char/3.cc: New.
6724 * 22_locale/num_get/get/char/4.cc: New.
6725 * 22_locale/num_get/get/char/5.cc: New.
6726 * 22_locale/num_get/get/char/6.cc: New.
6727 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6728 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6729 * 22_locale/num_get/get/wchar_t/1.cc: New.
6730 * 22_locale/num_get/get/wchar_t/2.cc: New.
6731 * 22_locale/num_get/get/wchar_t/3.cc: New.
6732 * 22_locale/num_get/get/wchar_t/4.cc: New.
6733 * 22_locale/num_get/get/wchar_t/5.cc: New.
6734 * 22_locale/num_get/get/wchar_t/6.cc: New.
6735 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6736 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6737 * 22_locale/num_put/1.cc: New.
6738 * 22_locale/num_put/2.cc: New.
6739 * 22_locale/num_put/put/char/1.cc: New.
6740 * 22_locale/num_put/put/char/2.cc: New.
6741 * 22_locale/num_put/put/char/3.cc: New.
6742 * 22_locale/num_put/put/char/4.cc: New.
6743 * 22_locale/num_put/put/char/5.cc: New.
6744 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6745 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6746 * 22_locale/num_put/put/wchar_t/1.cc: New.
6747 * 22_locale/num_put/put/wchar_t/2.cc: New.
6748 * 22_locale/num_put/put/wchar_t/3.cc: New.
6749 * 22_locale/num_put/put/wchar_t/4.cc: New.
6750 * 22_locale/num_put/put/wchar_t/5.cc: New.
6751 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6752 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6753 * 22_locale/numpunct/1.cc: New.
6754 * 22_locale/numpunct/2.cc: New.
6755 * 22_locale/numpunct/members/char/1.cc: New.
6756 * 22_locale/numpunct/members/char/2.cc: New.
6757 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6758 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6759 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6760 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6761 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6762 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6763 * 22_locale/numpunct_byname/1.cc: New.
6764 * 22_locale/numpunct_byname/2.cc: New.
6765 * 22_locale/time_get/1.cc: New.
6766 * 22_locale/time_get/2.cc: New.
6767 * 22_locale/time_get/date_order/char/1.cc: New.
6768 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6769 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6770 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6771 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6772 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6773 * 22_locale/time_get/get_date/char/1.cc: New.
6774 * 22_locale/time_get/get_date/char/2.cc: New.
6775 * 22_locale/time_get/get_date/char/3.cc: New.
6776 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6777 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6778 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6779 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6780 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6781 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6782 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6783 * 22_locale/time_get/get_monthname/char/1.cc: New.
6784 * 22_locale/time_get/get_monthname/char/2.cc: New.
6785 * 22_locale/time_get/get_monthname/char/3.cc: New.
6786 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6787 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6788 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6789 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6790 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6791 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6792 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6793 * 22_locale/time_get/get_time/char/1.cc: New.
6794 * 22_locale/time_get/get_time/char/2.cc: New.
6795 * 22_locale/time_get/get_time/char/3.cc: New.
6796 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6797 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6798 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6799 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6800 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6801 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6802 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6803 * 22_locale/time_get/get_weekday/char/1.cc: New.
6804 * 22_locale/time_get/get_weekday/char/2.cc: New.
6805 * 22_locale/time_get/get_weekday/char/3.cc: New.
6806 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6807 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6808 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6809 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6810 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6811 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6812 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6813 * 22_locale/time_get/get_year/char/1.cc: New.
6814 * 22_locale/time_get/get_year/char/3.cc: New.
6815 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6816 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6817 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6818 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6819 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6820 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6821 * 22_locale/time_put/1.cc: New.
6822 * 22_locale/time_put/2.cc: New.
6823 * 22_locale/time_put/put/char/1.cc: New.
6824 * 22_locale/time_put/put/char/10.cc: New.
6825 * 22_locale/time_put/put/char/2.cc: New.
6826 * 22_locale/time_put/put/char/3.cc: New.
6827 * 22_locale/time_put/put/char/4.cc: New.
6828 * 22_locale/time_put/put/char/5.cc: New.
6829 * 22_locale/time_put/put/char/6.cc: New.
6830 * 22_locale/time_put/put/char/7.cc: New.
6831 * 22_locale/time_put/put/char/8.cc: New.
6832 * 22_locale/time_put/put/char/9.cc: New.
6833 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6834 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6835 * 22_locale/time_put/put/wchar_t/1.cc: New.
6836 * 22_locale/time_put/put/wchar_t/10.cc: New.
6837 * 22_locale/time_put/put/wchar_t/2.cc: New.
6838 * 22_locale/time_put/put/wchar_t/3.cc: New.
6839 * 22_locale/time_put/put/wchar_t/4.cc: New.
6840 * 22_locale/time_put/put/wchar_t/5.cc: New.
6841 * 22_locale/time_put/put/wchar_t/6.cc: New.
6842 * 22_locale/time_put/put/wchar_t/7.cc: New.
6843 * 22_locale/time_put/put/wchar_t/8.cc: New.
6844 * 22_locale/time_put/put/wchar_t/9.cc: New.
6845 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6846 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6848 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6850 * config/locale/generic/messages_members.h
6851 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6852 unqualified members of base clasess.
6854 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6855 Jeffrey Oldham <oldham@codesourcery.com>
6857 * config/locale/gnu/messages_members.h: Use this-> to refer to
6858 unqualified members of base clasess.
6859 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6860 * include/bits/codecvt.h: Likewise.
6861 * include/bits/deque.tcc: Likewise.
6862 * include/bits/fstream.tcc: Likewise.
6863 * include/bits/istream.tcc: Likewise.
6864 * include/bits/list.tcc: Likewise.
6865 * include/bits/locale_facets.h: Likewise.
6866 * include/bits/ostream.tcc: Likewise.
6867 * include/bits/sstream.tcc: Likewise.
6868 * include/bits/stl_bvector.h: Likewise.
6869 * include/bits/stl_deque.h: Likewise.
6870 * include/bits/stl_list.h: Likewise.
6871 * include/bits/stl_tree.h: Likewise.
6872 * include/bits/stl_vector.h: Likewise.
6873 * include/bits/vector.tcc: Likewise.
6874 * include/ext/ropeimpl.h: Likewise.
6875 * include/ext/stdio_filebuf.h: Likewise.
6876 * include/ext/stl_rope.h: Likewise.
6877 * include/std/std_fstream.h: Likewise.
6878 * include/std/std_sstream.h: Likewise.
6880 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6882 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6884 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6886 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6887 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6888 * aclocal.m4: Regenerate.
6889 * configure: Regenerate.
6890 * testsuite/Makefile.am (all-local): Add conditional rule to
6891 generate testsuite_wchar_t.
6892 * testsuite/Makefile.in: Regenerate.
6893 * testsuite/lib/libstdc++-v3-dg.exp
6894 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6895 testsuite_wchar_t is not present in the build directory.
6896 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6897 Remove setulimit bits.
6898 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6899 * testsuite/Makefile.am (CLEANFILES): Add.
6900 * testsuite/Makefile.in: Regenerate.
6902 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6904 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6907 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6909 Further conform g++'s __vmi_class_type_info to the C++ ABI
6911 * libsupc++/cxxabi.h
6912 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6913 required by the specification.
6915 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6917 Renames, namespaces for testsuite utilities.
6918 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6919 (gnu_allocator_tracker): Rename to allocation_tracker.
6920 (gnu_new_allocator): Rename to tracker_alloc.
6921 (__set_testsuite_memlimit): Rename to set_memory_limits.
6922 (gnu_assignment_operator): Rename to assignment_operator.
6923 (gnu_destructor): Rename to destructor.
6924 (gnu_copy_tracker): Rename to copy_tracker.
6925 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6926 (run_tests_wrapped_locale): New.
6927 (run_tests_wrapped_env): New.
6928 * testsuite/testsuite_hooks.cc: Same.
6929 (class locale_data): Add.
6930 (class enviornment_variable): Add.
6931 (class not_found): Add.
6932 * testsuite/testsuite_allocator.h: Same.
6933 * testsuite/testsuite_allocator.cc: Same.
6934 * testsuite/23_containers/deque_ctor.cc
6935 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6937 Change gnu_new_allocator to tracker_alloc.
6938 Change gnu_counting_struct to counter.
6939 Change gnu_copy_tracker to copy_tracker.
6940 Change gnu_copy_constructor to copy_constructor.
6941 Change gnu_assignment_operator to assignment_operator.
6943 * testsuite/23_containers/vector_capacity.cc: Same.
6944 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6945 * testsuite/23_containers/list_modifiers.cc: Change
6946 gnu_copy_tracker to copy_tracker.
6947 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6948 __set_testsuite_memlimit to set_memory_limits.
6949 * testsuite/21_strings/insert.cc (main): Same.
6950 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6951 * testsuite/27_io/stringstream.cc: Same.
6952 * testsuite/27_io/stringbuf.cc: Same.
6953 * testsuite/27_io/streambuf.cc: Same.
6954 * testsuite/27_io/ostream.cc: Same.
6955 * testsuite/27_io/istream.cc: Same.
6956 * testsuite/27_io/fstream.cc: Same.
6957 * testsuite/lib/libstdc++-v3-dg.exp
6958 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6959 three levels deeper in glob patterns.
6961 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6963 * docs/doxygen/tables.html: Finished now.
6964 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6965 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6968 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6969 include/bits/stl_deque.h, include/bits/stl_list.h,
6970 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6973 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6975 * configure.in: Revert.
6976 * configure: Regenerate.
6978 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6980 * include/Makefile.am (install-data-local): Prepend
6981 $(DESTDIR) to destination paths in all (un)installation
6982 commands. Use ${c_base_builddir} and ${std_builddir}
6983 as destination subdirectories to achieve consistency with
6984 preceding mkinstalldirs commands. No effect because both
6985 variables contain "." only.
6986 * include/Makefile.in: Regenerate.
6988 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6990 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6991 * include/Makefile.in: Regenerate.
6993 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6994 * aclocal.m4: Regenerate.
6996 * configure.in: Don't add new multi-do rules every time the
6997 directory is reconfigured.
6998 * configure: Regenerate.
7000 2003-01-08 Brad Spencer <spencer@infointeractive.com>
7001 Nathan Myers <ncm@cantrip.org>
7003 * src/Makefile.am (stamp-debug): Clean.
7004 * src/Makefile.in: Regenerate.
7006 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
7009 * Makefile.am (distclean-multi): Fix.
7010 * Makefile.in: Regenerate.
7012 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
7014 * include/bits/locale_facets.h (messages): Move ctor, dtor
7016 (__timepunct): Same.
7017 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
7018 definitions. Conditionalize for GNU systems.
7019 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
7021 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
7022 definitions. Conditionalize for GNU systems.
7023 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
7025 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
7026 * src/locale.cc: Define.
7027 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
7029 * config/locale/gnu/time_members.h: Use it.
7030 * config/locale/gnu/messages_members.h: Use it.
7031 * config/linker-map.gnu: Add locale::facets details.
7032 * include/Makefile.am (target_headers_extra): Add time_members.h.
7033 * include/Makefile.in: Regenerate.
7034 * acinclude.m4: Export CTIME_H.
7035 * aclocal.m4: Regenerate.
7036 * configure: Regnerate.
7038 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7041 (codecvt<char, char, mbstate_t>::do_in, do_out):
7042 Tweak parameters to avoid unused parameter warnings.
7044 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7047 * include/bits/locale_facets.cc (num_put::_M_convert_float):
7048 Limit __prec to digits10 + 2, not digits10 + 1, taking into
7049 account the possibility of %{g,G} conversion specifiers
7050 inside _S_format_float.
7051 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
7053 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7055 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
7056 libstdc++-v3-list-sourcefiles): Additionally handle files one
7057 level deeper in glob patterns.
7059 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
7060 * testsuite/27_io/istream_extractor_arith/01.cc,
7061 testsuite/27_io/istream_extractor_arith/02.cc,
7062 testsuite/27_io/istream_extractor_arith/03.cc,
7063 testsuite/27_io/istream_extractor_arith/06.cc,
7064 testsuite/27_io/istream_extractor_arith/07.cc,
7065 testsuite/27_io/istream_extractor_arith/08.cc,
7066 testsuite/27_io/istream_extractor_arith/09.cc,
7067 testsuite/27_io/istream_extractor_arith/10.cc,
7068 testsuite/27_io/istream_extractor_arith/11.cc,
7069 testsuite/27_io/istream_extractor_arith/12.cc,
7070 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
7071 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
7074 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
7078 (codecvt<char, char, mbstate_t>::do_in, do_out):
7079 Implement the resolution of DR19 (TC).
7080 * testsuite/22_locale/codecvt_members_char_char.cc
7083 2003-01-02 Jason Merrill <jason@redhat.com>
7085 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
7086 *__mem is also an output.
7087 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.