1 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
3 * include/bits/stl_algo.h: Minor cosmetic reformattings.
5 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
7 * include/bits/stl_algo.h (search_n): Tweak, to spare the
10 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
12 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
13 qualify exception name.
15 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
18 * include/bits/locale_facets.tcc (locale::combine): Don't
19 leak memory if _M_replace_facet throws.
20 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
22 * include/bits/locale_classes.h (locale::locale(const locale&,
23 _Facet*)): Tweak, use consistently _M_remove_reference.
25 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
27 PR libstdc++/12352 (cont)
28 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
29 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
31 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
32 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
33 !_M_caches, !_M_names.
35 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
37 * configure.host: Handle Solaris 2.5 micro releases explicitly.
38 Remove wildcards from Solaris 2.6, 7-9: there were no
40 Treat Solaris 10 and up like 7-9.
42 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
44 * include/bits/stl_algo.h (search_n): Improve the previous
45 fix as suggested by Martin.
47 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
50 * include/bits/istream.tcc (peek): Set eofbit if sgetc
52 * testsuite/27_io/basic_istream/peek/char/12296.cc:
55 2003-09-29 Nathan Myers <ncm@cantrip.org>
56 Paolo Carlini <pcarlini@unitus.it>
59 * include/bits/stl_algo.h (search_n):
60 Use iterator_traits<>::difference_type for __n.
61 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
63 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
65 * testsuite/22_locale/locale/cons/12352.cc:
66 Use __attribute__((unused)) for test.
68 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
70 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
71 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
72 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
74 2003-09-26 Brad Spencer <spencer@infointeractive.com>
76 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
77 Explicitly qualify exceptions.
78 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
79 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
80 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
81 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
83 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
86 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
87 size_t)): Don't leak if memory allocations for _M_facets,
88 _M_caches, and _M_names fail.
89 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
90 (locale::_Impl::_M_replace_categories(const _Impl*,
92 (locale::_Impl::_M_install_facet(const locale::id*,
93 const facet*)): Ditto.
94 * include/bits/locale_classes.h (locale::locale(const locale&,
95 _Facet*)): Don't leak memory.
96 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
98 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
99 bool)): Qualify with std:: strcpy, tweak.
100 * include/bits/locale_classes.h
101 (locale::_Impl::_M_check_same_name): Qualify strcmp.
103 2003-09-25 Brad Spencer <spencer@infointeractive.com>
106 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
108 * aclocal.m4: Regenerate.
109 * config.h.in: Regenerate.
110 * configure: Regenerate.
111 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
112 * config/io/basic_file_stdio.cc: Guard unistd.h.
113 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
114 * include/c_std/std_cwchar.h: Same.
115 * include/c_std/std_cwctype.h: Same.
117 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
120 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
121 * config/locale/generic/ctype_members.cc: Same.
122 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
123 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
125 * config/os/generic/ctype_inline.h: Update.
127 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
129 * src/Makefile.am (version_dep): New variable.
130 (libstdc___la_DEPENDENCIES): Use it to add dependency on
131 libstdc++-symbol.ver only when using symbol versioning.
132 * src/Makefile.in: Regenerate.
134 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
136 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
137 * testsuite/testsuite_hooks.h: Same.
138 * testsuite/*/*.cc: Same.
140 2003-09-22 Petur Runolfsson <peturr02@ru.is>
142 * include/bits/istream.tcc (basic_istream::read,
143 basic_istream::readsome, basic_istream::putback,
144 basic_istream::unget, operator>>(basic_istream, CharT)):
145 Avoid redundant setstate(failbit) calls when sentry::operator bool()
148 2003-09-22 Carlo Wood <carlo@alinoe.com>
151 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
152 char const*, int, int)): Remove unused identifier
153 cv_qualifier for overloaded constructor.
155 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
158 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
159 WARN_FLAGS, remove -Wno-format.
160 * aclocal.m4: Regenerate.
161 * configure: Regenerate.
163 2003-09-18 Petur Runolfsson <peturr02@ru.is>
165 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
166 * config/io/basic_file_stdio.h: Same.
167 * include/std/std_fstream.h (__ctype_type): Delete.
168 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
170 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
173 * configure.host (abi_baseline_pair): Error out on solaris2
174 configurations without a minor version number.
176 2003-09-13 Phil Edwards <phil@codesourcery.com>
178 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
180 * docs/doxygen/user.cfg.in: And here.
182 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
183 Andreas Jaeger <aj@suse.de>
186 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
187 abi_check if cross compiling.
188 * aclocal.m4: Regenerated.
189 * configure: Regenerated.
191 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
193 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
194 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
195 (__cxa_vec_new3): Likewise.
197 2003-09-10 Petur Runolfsson <peturr02@ru.is>
199 * include/bits/fstream.tcc (basic_filebuf::seekoff):
200 Use codecvt::length to handle variable-width stateless encodings
202 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
203 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
205 2003-09-10 Alan Modra <amodra@bigpond.net.au>
207 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
210 2003-09-09 Alan Modra <amodra@bigpond.net.au>
212 * configure: Regenerate.
214 2003-09-09 David Edelsohn <edelsohn@gnu.org>
216 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
217 qualifier from _S_synced_with_stdio.
219 2003-09-09 Bernardo Innocenti <bernie@develer.com>
221 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
223 2003-09-04 Petur Runolfsson <peturr02@ru.is>
226 * include/bits/fstream.tcc
227 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
228 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
229 _M_ext_buf_size, _M_ext_next and _M_ext_end.
230 (basic_filebuf::underflow): Handle variable-width stateless
231 encodings (codecvt::encoding() == 0), including UTF-8.
232 * include/std/std_fstream.h (basic_filebuf):
233 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
234 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
235 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
236 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
237 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
238 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
239 * testsuite/27_io/objects/wchar_t/12.cc: New test.
240 * testsuite/27_io/objects/wchar_t/13.cc: New test.
242 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
244 * docs/html/faq/index.html: Note that a namespace alias can't be
245 used when specialising templates in extension namespace.
246 * docs/html/faq/index.txt: Regenerate.
248 2003-09-03 Petur Runolfsson <peturr02@ru.is>
251 * include/ext/stdio_sync_filebuf.h
252 (stdio_sync_filebuf::_M_unget_buf): Declare it.
253 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
254 (stdio_sync_filebuf::uflow): Store the returned character in
256 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
257 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
258 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
259 _M_unget_buf, if any, else eof().
260 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
261 _M_unget_buf, if any, else eof().
262 * testsuite/27_io/objects/char/12048.cc: Rename to...
263 * testsuite/27_io/objects/char/12048-1.cc: ...this.
264 * testsuite/27_io/objects/char/12048-2.cc: New test.
265 * testsuite/27_io/objects/char/12048-3.cc: New test.
266 * testsuite/27_io/objects/char/12048-4.cc: New test.
267 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
268 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
269 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
270 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
271 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
272 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
273 * testsuite/ext/stdio_sync_filebuf_char.cc
274 (test02, test03, test04, test05): New tests.
275 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
276 (test02, test03, test04, test05): New tests.
278 2003-09-03 Petur Runolfsson <peturr02@ru.is>
280 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
281 stringbuf or strstreambuf. Fix typos.
283 2003-09-02 Phil Edwards <phil@codesourcery.com>
285 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
287 * config.h.in: Add _GLIBCXX_HOSTED.
288 * libsupc++/eh_term_handler.cc: Test it here; initialize
289 __terminate_handler to std::abort if freestanding.
290 * aclocal.m4, configure: Regenerated.
291 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
293 2003-08-29 Nathan Myers <ncm@cantrip.org>
296 * include/bits/locale_facets.tcc (__pad): delete dead code.
298 2003-08-28 Alan Modra <amodra@bigpond.net.au>
300 * configure.ac: Test $with_cross_host against $build_alias, not $build.
301 * configure: Regenerate.
303 2003-08-27 Petur Runolfsson <peturr02@ru.is>
305 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
306 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
308 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
310 * Makefile.am: Remove trailing whitespace. Remove needless
311 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
312 * include/Makefile.am: Likewise.
313 * libmath/Makefile.am: Likewise.
314 * libsupc++/Makefile.am: Likewise.
315 * po/Makefile.am: Likewise.
316 * src/Makefile.am: Likewise.
317 * testsuite/Makefile.am: Likewise.
319 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
320 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
321 testsuite/Makefile.in: Regenerated.
323 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
325 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
327 * aclocal.m4, configure: Regenerate.
329 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
331 * acinclude.m4: Include no-executables.m4.
332 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
333 * aclocal.m4: Regenerated.
334 * configure: Regenerated.
336 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
338 * acinclude.m4: Don't call AC_ISC_POSIX.
339 * aclocal.m4: Regenerated.
340 * configure: Regenerated.
342 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
344 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
345 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
346 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
347 used elsewhere in this file.
348 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
349 * configure.ac: ...called here to expand all conditionals.
350 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
351 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
352 (install-freestanding-headers): New target, a subset of
353 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
355 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
356 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
357 src/Makefile.in, testsuite/Makefile.in: Regenerated.
359 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
361 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
362 pathnames from generated tag file.
364 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
366 * Makefile.am: Add comment.
367 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
369 * configure.ac: Use them both here, instead of hardcoded lists.
371 * fragment.am: Add STAMP varaible.
372 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
374 (stamp-*): Move file creation rule outside of 'if' branches to
375 ensure the stamp-* files are actually updated. Use $(STAMP).
376 * src/Makefile.am: Remove now-nonexistant variable.
377 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
379 * po/Makefile.am: Include same fragment as all the others.
381 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
382 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
384 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
386 * testsuite/data/cin_unget-1.txt: New.
387 * testsuite/27_io/objects/char/12048.cc: New.
389 2003-08-25 Zack Weinberg <zack@codesourcery.com>
391 * config/os/hpux/os_defines.h: Unconditionally define
392 _GLIBCXX_GTHREAD_USE_WEAK to 0.
394 2003-08-19 Geoffrey Keating <geoffk@apple.com>
396 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
397 crosses to Darwin targets.
398 * configure: Regenerate.
400 2003-08-19 Petur Runolfsson <peturr02@ru.is>
402 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
404 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
406 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
407 in the patch from 3 minutes ago. Boy, is my face red.
408 * configure: At least I remembered to regenerate this.
410 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
412 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
413 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
414 things from the top level.
415 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
416 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
417 (currently unused). Strip the fake-VPATH shell fragment from
418 automake-generated rules, if present.
419 * linkage.m4: Add comment.
421 * fragment.am: New file, containing factored-out common settings.
422 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
423 * Makefile.am: Include fragment.am. Remove common variables.
424 * include/Makefile.am: Likewise.
425 * libmath/Makefile.am: Likewise.
426 * libsupc++/Makefile.am: Likewise.
427 * po/Makefile.am: Likewise. Print rules during check.
428 * src/Makefile.am: Likewise.
429 * testsuite/Makefile.am: Likewise.
431 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
432 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
433 src/Makefile.in, testsuite/Makefile.in: Regenerate.
435 2003-08-11 John Levon <levon@movementarian.org>
437 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
438 remaining places for the name change from GLIBCPP_FORCE_NEW
441 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
443 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
445 * include/bits/basic_ios.tcc: Same.
446 * include/bits/istream.tcc: Same.
447 * include/bits/locale_facets.h: Same.
448 * include/bits/ostream.tcc: Same.
449 * include/std/std_istream.h: Same.
450 * include/std/std_ostream.h: Same.
451 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
453 * include/ext/rope: Remove build warning.
455 2003-08-11 Andreas Jaeger <aj@suse.de>
457 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
459 * include/Makefile.in: Regenerated.
461 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
463 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
464 when calling AC_PROG_CC.
465 * aclocal.m4, configure: Regenerate.
467 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
469 * acinclude.m4: Properly quote variable which will be expanded
470 inside makefiles. Use CXX instead of CC to extract compiler info.
471 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
472 correct form in PACKAGE.
473 * aclocal.m4, configure: Regenerate.
475 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
477 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
478 (check-abi-verbose): Same.
479 * testsuite/testsuite_performance.h (report_performance): Same.
481 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
483 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
485 2003-08-07 Doug Gregor <dgregor@apple.com>
487 * include/bits/char_traits.h (char_traits::not_eof): Match operand
490 2003-08-07 Bernardo Innocenti <bernie@develer.com>
493 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
494 Replace variants with new BSET-based version.
496 2003-08-07 Carlo Wood <carlo@alinoe.com>
498 * include/bits/demangle.h: Do not use cctype functions that depend
501 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
503 * configure.in: Rename...
504 * configure.ac: ...to this.
505 * docs/html/17_intro/porting.texi: Update name.
507 * docs/html/17_intro/porting.html: Regenerate.
508 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
509 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
510 testsuite/Makefile.in: Regenerate (picks up new dependancy).
512 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
514 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
515 pipe, open the window to let out the fumes, redo the option-handling
516 logic to properly execute the detection test.
517 * aclocal.m4, configure: Regenerate.
519 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
521 Convert to new autotools.
522 * acconfig.h: Update with correct names.
523 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
524 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
525 * configure.in: Update. Split hardcoded cross-configury settings
527 * crossconfig.m4: ...here. New file. Contents untouched.
528 * acinclude.m4: Reorganize and rewrite as needed. Split large
530 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
532 * scripts/testsuite_flags.in: Update.
534 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
535 variables (already generated by automake).
536 * include/Makefile.am: Ditto.
537 * libmath/Makefile.am: Ditto.
538 * libsupc++/Makefile.am: Ditto.
539 * po/Makefile.am: Ditto.
540 * src/Makefile.am: Ditto.
542 * aclocal.m4: Regenerate using new versions.
543 * config.h.in: Ditto.
545 * Makefile.in: Ditto.
546 * include/Makefile.in: Ditto.
547 * libmath/Makefile.in: Ditto.
548 * libsupc++/Makefile.in: Ditto.
549 * po/Makefile.in: Ditto.
550 * src/Makefile.in: Ditto.
551 * testsuite/Makefile.in: Ditto.
553 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
555 * po/libstdc++.pot: Re-extract/regenerate.
557 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
559 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
560 Remove unneeded variable assignments. Leave them for automake.
561 * testsuite/lib/libstdc++-v3.exp: Rename...
562 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
564 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
565 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
568 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
570 * docs/doxygen/guide.html: run_doxygen uses bash.
571 * docs/doxygen/mainpage.html: We'll be shipping tag files.
572 * docs/doxygen/run_doxygen: Tweaks and improvements.
573 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
574 * docs/html/install.html: Update autoconf/automake requirements.
575 * docs/html/test.html: Add section describing DejaGNU support.
576 * docs/html/17_intro/confdeps.dot: New file, generates...
577 * docs/html/17_intro/confdeps.png: ...this new file.
578 * docs/html/Makefile: Generated here.
579 * docs/html/17_intro/configury.html: New file.
581 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
583 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
584 * testsuite/lib/libstdc++-v3.exp: ...to this.
585 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
587 2003-07-31 Doug Gregor <dgregor@apple.com>
589 Add user specialization tests.
590 * testsuite/23_containers/deque/1.cc: New.
591 * testsuite/23_containers/list/1.cc: New.
592 * testsuite/23_containers/map/1.cc: New.
593 * testsuite/23_containers/multimap/1.cc: New.
594 * testsuite/23_containers/multiset/1.cc: New.
595 * testsuite/23_containers/set/1.cc: New.
596 * testsuite/23_containers/vector/1.cc: New.
598 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
600 Reshuffle 23_containers testsuite.
601 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
602 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
603 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
604 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
605 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
606 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
607 vector_resize.cc: Split into...
608 * 23_containers/bitset/cons/1.cc: New.
609 * 23_containers/bitset/cons/6282.cc: New.
610 * 23_containers/bitset/count/6124.cc: New.
611 * 23_containers/bitset/operations/1.cc: New.
612 * 23_containers/bitset/operations/2.cc: New.
613 * 23_containers/bitset/test/1.cc: New.
614 * 23_containers/bitset/to_ulong/1.cc: New.
615 * 23_containers/deque/cons/1.cc: New.
616 * 23_containers/deque/cons/2.cc: New.
617 * 23_containers/deque/operators/1.cc: New.
618 * 23_containers/list/capacity/1.cc: New.
619 * 23_containers/list/cons/1.cc: New.
620 * 23_containers/list/cons/2.cc: New.
621 * 23_containers/list/cons/3.cc: New.
622 * 23_containers/list/cons/4.cc: New.
623 * 23_containers/list/cons/5.cc: New.
624 * 23_containers/list/cons/6.cc: New.
625 * 23_containers/list/cons/7.cc: New.
626 * 23_containers/list/cons/8.cc: New.
627 * 23_containers/list/cons/9.cc: New.
628 * 23_containers/list/modifiers/1.cc: New.
629 * 23_containers/list/modifiers/2.cc: New.
630 * 23_containers/list/modifiers/3.cc: New.
631 * 23_containers/list/operators/1.cc: New.
632 * 23_containers/list/operators/2.cc: New.
633 * 23_containers/list/operators/3.cc: New.
634 * 23_containers/list/operators/4.cc: New.
635 * 23_containers/map/insert/1.cc: New.
636 * 23_containers/map/operators/1.cc: New.
637 * 23_containers/map/operators/1_neg.cc: New.
638 * 23_containers/multiset/insert/1.cc: New.
639 * 23_containers/priority_queue/members/7161.cc: New.
640 * 23_containers/queue/members/7157.cc: New.
641 * 23_containers/set/operators/1_neg.cc: New.
642 * 23_containers/stack/members/7158.cc: New.
643 * 23_containers/vector/bool/1.cc: New.
644 * 23_containers/vector/bool/6886.cc: New.
645 * 23_containers/vector/capacity/1.cc: New.
646 * 23_containers/vector/capacity/2.cc: New.
647 * 23_containers/vector/capacity/8230.cc: New.
648 * 23_containers/vector/cons/1.cc: New.
649 * 23_containers/vector/cons/2.cc: New.
650 * 23_containers/vector/cons/3.cc: New.
651 * 23_containers/vector/cons/4.cc: New.
652 * 23_containers/vector/cons/6513.cc: New.
653 * 23_containers/vector/element_access/1.cc: New.
654 * 23_containers/vector/modifiers/1.cc: New.
655 * 23_containers/vector/modifiers/2.cc: New.
656 * 23_containers/vector/resize/1.cc: New.
658 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
660 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
662 * testsuite/thread/pthread2.cc: Likewise.
663 * testsuite/thread/pthread3.cc: Likewise.
664 * testsuite/thread/pthread4.cc: Likewise.
665 * testsuite/thread/pthread5.cc: Likewise.
666 * testsuite/thread/pthread6.cc: Likewise.
667 * testsuite/thread/pthread7-rope.cc: Likewise.
669 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
671 * include/bits/c++config: Partial reversion (comment placement) of
674 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
676 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
677 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
678 (_GLIBCXX_AT_AT): Remove.
679 (__USE_MALLOC): Remove.
680 * include/std/std_fstream.h: Modify.
681 * include/bits/basic_ios.h: Same.
682 * include/bits/valarray_array.h: Same.
683 * include/c_std/std_cmath.h: Same.
684 * include/c_std/cmath.tcc: Same.
685 * include/std/std_vector.h: Same.
686 * include/std/std_string.h: Same.
687 * include/std/std_stack.h: Same.
688 * include/std/std_queue.h: Same.
689 * include/std/std_list.h: Same.
690 * include/std/std_deque.h: Same.
691 * include/std/std_streambuf.h: Same.
692 * include/std/std_sstream.h: Same.
693 * include/std/std_ostream.h: Same.
694 * include/std/std_istream.h: Same.
695 * include/bits/valarray_array.tcc: Same, format.
697 * include/c/std_cctype.h: Fix include guards.
698 * include/c/std_cerrno.h: Same.
699 * include/c/std_cfloat.h: Same.
700 * include/c/std_climits.h: Same.
701 * include/c/std_clocale.h: Same.
702 * include/c/std_cmath.h: Same.
703 * include/c/std_csetjmp.h: Same.
704 * include/c/std_csignal.h: Same.
705 * include/c/std_cstdarg.h: Same.
706 * include/c/std_cstddef.h: Same.
707 * include/c/std_cstdio.h: Same.
708 * include/c/std_cstdlib.h: Same.
709 * include/c/std_cstring.h: Same.
710 * include/c/std_ctime.h: Same.
711 * include/c/std_cwchar.h: Same.
712 * include/c/std_cwctype.h: Same.
713 * include/c_std/cmath.tcc: Same.
714 * include/c_std/std_cmath.h: Same.
716 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
719 * include/bits/stl_tree.h: Replace C-style casts with C++-style
720 casts. Changes to avoid casting away constness. Eliminate
721 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
722 initialization lists. Move out implementation of __black_count()
724 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
725 Rename_Rb_tree_base_iterator::_M_increment() to
726 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
728 * config/linker-map.gnu: Add and change symbols here.
730 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
732 * docs/html/22_locale/howto.html: Use locale::classic() instead
735 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
737 * testsuite/testsuite_hooks.h: Remove list include.
738 (func_callback): Define as unique type, not std::list.
739 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
740 * testsuite/libstdc++-v3.dg/dg.exp: Same.
741 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
742 * testsuite/23_containers/bitset_ctor.cc:
743 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
744 * testsuite/18_support/numeric_limits.cc: Same.
745 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
746 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
747 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
748 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
749 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
750 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
751 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
752 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
753 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
754 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
755 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
756 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
757 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
758 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
759 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
760 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
761 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
762 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
763 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
764 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
765 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
766 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
767 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
768 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
769 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
770 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
771 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
772 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
773 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
774 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
775 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
776 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
777 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
778 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
779 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
780 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
781 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
782 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
783 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
784 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
785 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
786 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
787 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
788 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
789 * testsuite/23_containers/bitset_ctor.cc: Same.
790 * testsuite/23_containers/bitset_shift.cc: Same.
791 * testsuite/23_containers/vector_ctor.cc: Same.
792 * testsuite/23_containers/vector_element_access.cc: Same.
793 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
794 * testsuite/24_iterators/iterator.cc: Same.
795 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
796 * testsuite/25_algorithms/lower_bound.cc: Same.
797 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
798 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
799 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
800 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
801 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
802 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
803 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
804 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
805 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
806 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
807 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
810 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
812 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
813 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
814 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
815 GLIBCPP to GLIBCXX (and explain as needed).
817 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
821 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
823 * testsuite/22_locale/messages/members/char/1.cc,
824 testsuite/22_locale/messages/members/char/2.cc,
825 testsuite/22_locale/messages/members/char/3.cc,
826 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
827 the origin of LOCALEDIR.
828 * testsuite/lib/libstdc++-v3.exp: New file.
830 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
832 * include/bits/char_traits.h: Update copyright, tweak.
833 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
836 2003-07-24 Matt Austern <austern@apple.com>
838 * /include/bits/char_traits.h (class char_traits): Put all the
839 real work into the new class template __gnu_cxx::char_traits.
840 Gave generic definitions for member functions. Types are taken
841 from the new class template __gnu_cxx::_Char_types.
842 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
843 file. Test of std::char_traits<short>, which serves as a test of
844 the char_traits primary template.
846 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
848 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
850 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
852 * testsuite/23_containers/map_operators.cc: Conform to
853 container requirement as value must be Assignable.
855 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
857 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
858 tests not only generation of pch files, but also their use.
859 * aclocal.m4, configure: Rebuilt.
861 2003-07-23 Steve Ellcey <sje@cup.hp.com>
863 * config/cpu/hppa/atomicity.h: Change
864 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
865 to match misc-inst.cc
867 2003-07-23 Steve Ellcey <sje@cup.hp.com>
869 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
870 * include/c_std/std_cctype.h: Ditto.
871 * include/c_std/std_cerrno.h: Ditto.
872 * include/c_std/std_cfloat.h: Ditto.
873 * include/c_std/std_climits.h: Ditto.
874 * include/c_std/std_clocale.h: Ditto.
875 * include/c_std/std_cmath.h: Ditto.
876 * include/c_std/std_csetjmp.h: Ditto.
877 * include/c_std/std_csignal.h: Ditto.
878 * include/c_std/std_cstdarg.h: Ditto.
879 * include/c_std/std_cstddef.h: Ditto.
880 * include/c_std/std_cstdio.h: Ditto.
881 * include/c_std/std_cstdlib.h: Ditto.
882 * include/c_std/std_cstring.h: Ditto.
883 * include/c_std/std_ctime.h: Ditto.
884 * include/c_std/std_cwchar.h: Ditto.
885 * include/c_std/std_cwctype.h: Ditto.
886 * include/std/std_algorithm.h: Ditto.
887 * include/std/std_bitset.h: Ditto.
888 * include/std/std_complex.h: Ditto.
889 * include/std/std_deque.h: Ditto.
890 * include/std/std_fstream.h: Ditto.
891 * include/std/std_functional.h: Ditto.
892 * include/std/std_iomanip.h: Ditto.
893 * include/std/std_ios.h: Ditto.
894 * include/std/std_iosfwd.h: Ditto.
895 * include/std/std_iostream.h: Ditto.
896 * include/std/std_istream.h: Ditto.
897 * include/std/std_iterator.h: Ditto.
898 * include/std/std_limits.h: Ditto.
899 * include/std/std_list.h: Ditto.
900 * include/std/std_locale.h: Ditto.
901 * include/std/std_map.h: Ditto.
902 * include/std/std_memory.h: Ditto.
903 * include/std/std_numeric.h: Ditto.
904 * include/std/std_ostream.h: Ditto.
905 * include/std/std_queue.h: Ditto.
906 * include/std/std_set.h: Ditto.
907 * include/std/std_sstream.h: Ditto.
908 * include/std/std_stack.h: Ditto.
909 * include/std/std_stdexcept.h: Ditto.
910 * include/std/std_streambuf.h: Ditto.
911 * include/std/std_string.h: Ditto.
912 * include/std/std_utility.h: Ditto.
913 * include/std/std_valarray.h: Ditto.
914 * include/std/std_vector.h: Ditto.
916 2003-07-22 Doug Gregor <dgregor@apple.com>
918 * include/bits/basic_string.h (basic_string::insert): Deprecate
921 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
923 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
925 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
926 (test03): Include typeinfo for bad_cast.
927 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
928 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
929 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
931 2003-07-21 Doug Gregor <dgregor@apple.com>
933 * include/bits/boost_concept_check.h:
934 (_EqualityComparableConcept::__constraints): Remove != from the
935 list of constraints; it is not listed in Table 28 of the C++98
938 2003-07-18 Andreas Jaeger <aj@suse.de>
940 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
941 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
942 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
943 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
945 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
947 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
948 * config/locale/generic/messages_members.h: Tweaks.
949 * config/locale/generic/monetary_members.cc
950 (moneypunct::_M_initialize_moneypunct): Use cache.
951 (moneypunct::~moneypunct): Delete cache.
952 * config/locale/generic/time_members.cc:
953 (__timepunct::_M_initialize_timepunct): Use cache.
954 * config/locale/generic/time_members.h:
955 (__timepunct::~__timepunct): Delete cache.
956 (__timepunct::__timepunct): Set cache.
957 * config/locale/gnu/messages_members.h: Tweaks.
958 * config/locale/gnu/monetary_members.cc:
959 (moneypunct::_M_initialize_moneypunct): Use cache.
960 (moneypunct::~moneypunct): Delete cache.
961 * config/locale/gnu/time_members.cc:
962 (__timepunct::_M_initialize_timepunct): Use cache.
963 * config/locale/gnu/time_members.h:
964 (__timepunct::~__timepunct): Delete cache.
965 (__timepunct::__timepunct): Set cache.
966 * include/bits/locale_facets.h (__timepunct_cache): New.
967 (__moneypunct_cache): New.
968 * include/bits/locale_facets.tcc: Tweak.
969 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
970 * src/locale-inst.cc: Instantiate caches.
971 * src/globals.cc: Add "C" caches.
972 * src/localename.cc: Use external "C" caches.
974 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
976 * docs/doxygen/guide.html: Fix typo.
978 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
980 * include/ext/pod_char_traits.h: Add state template argument.
982 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
984 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
985 (num_get::_M_convert_int): To _M_insert_int.
986 (num_get::_M_convert_float): To _M_insert_float.
987 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
988 Use caches for ctype, num_get.
989 (num_get::_M_extract_int): Same.
990 (num_get::get(bool)): Same.
991 (__verify_grouping): Use size_t.
992 * src/locale-inst.cc: Update.
993 * src/locale.cc: Adjust _S_atoms_in.
995 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
997 * docs/doxygen/mainpage.html: Move building/writing instructions...
998 * docs/doxygen/guide.html: ...to here. New file.
1000 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1002 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1003 * docs/html/faq/index.html: Same.
1004 * docs/html/faq/index.txt: Regenerate.
1006 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1009 * include/bits/locale_facets.tcc (money_get::do_get):
1010 Strip only _leading_ zeros.
1011 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1012 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1014 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1016 * include/ext/hash_map (class hash_multimap): Remove extra
1017 semicolons from __glibcxx_class_requires3 entries.
1018 * include/ext/hash_set (class hash_set): Ditto.
1019 (class hash_multiset): Ditto.
1021 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1023 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1024 Change last parameter from int_type to size_t.
1026 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1028 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1029 set_difference, set_symmetric_difference, max_element, min_element,
1030 next_permutation, prev_permutation, find_first_of, find_end):
1032 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1033 restrictions in docs.
1034 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1036 * docs/doxygen/doxygroups.cc (setoperations): New group.
1038 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1040 * include/bits/basic_string.h: Document public functions.
1041 * docs/doxygen/TODO: Update c21 todo.
1043 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1045 * include/bits/stl_list.h: Document more functions.
1046 * docs/doxygen/TODO: Update c23 todo.
1048 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1050 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1053 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1055 * include/bits/stl_tempbuf.h: Qualify free with std::.
1056 * src/locale.cc: Include <cstdlib>, qualify getenv.
1058 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1060 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1061 <cstdio>. Qualify names.
1062 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1064 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1065 Nathan C. Myers <ncm-nospam@cantrip.org>
1068 * include/std/std_fstream.h (xsputn): Declare only.
1069 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1070 always_noconv() case: when __n is sufficiently large flush
1071 the buffer and issue a direct write, if possible combining the
1072 two with writev in __basic_file<>::xsputn_2.
1073 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1075 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1077 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1078 the availability of writev in <sys/uio.h>.
1079 * configure.in: Call here.
1080 * acconfig.h: Add undef for the corresponding symbol.
1081 * aclocal.m4: Regenerate.
1082 * configure: Regenerate.
1083 * config.h.in: Regenerate.
1084 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1086 * include/std/std_fstream.h (sync): Constify a variable.
1088 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1090 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1091 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1093 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1095 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1096 <cstring> and <cstdlib>. Qualify names.
1098 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1100 * config/locale/generic/c_locale.h: Include <cstdlib> and
1102 * include/bits/boost_concept_check.h: Add this-> to unqualified
1104 * include/bits/deque.tcc: Likewise.
1105 * include/bits/locale_facets.h : Likewise.
1106 * include/bits/ostream.tcc: Likewise.
1107 * include/bits/stl_algo.h: Likewise.
1108 * include/bits/stl_bvector.h: Likewise.
1109 * include/bits/stl_deque.h: Likewise.
1110 * include/bits/stl_list.h: Likewise.
1111 * include/bits/stl_tree.h: Likewise.
1112 * include/bits/stl_vector.h: Likewise.
1113 * include/bits/vector.tcc: Likewise.
1114 * include/ext/rope: Likewise.
1115 * include/ext/ropeimpl.h: Likewise.
1116 * include/ext/stdio_filebuf.h: Likewise.
1118 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1120 * include/bits/basic_ios.h (copyfmt): Document.
1121 * include/bits/ios_base.h (event, event_callback, register_callback,
1122 xalloc, iword, pword): Document.
1123 (imbue, ~ios_base): Update docs on callbacks.
1125 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1127 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1128 warning messages if the environment cannot support symbol versioning.
1129 (port_specific_symbol_file): It's plural, add an 's' on the end.
1130 * configure.host: Likewise.
1131 * src/Makefile.am: Likewise.
1132 * config/linker-map.gnu: Remove one semicolon, heh.
1133 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1134 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1135 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1137 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1139 * include/bits/locale_facets.tcc: Use function object for
1140 __use_cache instead of template function. Partially specialize for
1142 * include/bits/locale_classes.h: Update friend declaration for
1144 (_M_install_cache): No throw exception specs.
1145 * src/locale.cc: Remove __use_cache specializations.
1146 * include/ext/pod_char_traits.h (length): Tweak.
1147 * include/bits/locale_facets.h (__numpunct_cache): Remove
1149 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1151 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1152 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1153 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1154 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1155 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1156 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1158 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1160 * src/ios.cc (_M_grow_words): Fix spelling.
1162 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1164 * include/bits/stl_tree.h: Move larger member functions in
1165 _Rb_tree_base_iterator and _Rb_tree_node to...
1166 * src/stl_tree.cc: Here.
1167 * src/Makefile.in: Add stl_tree.cc.
1168 * src/Makefile.in: Regenerated.
1169 * config/linker-map.gnu: Add symbols here.
1171 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1173 * testsuite/ext/pod_char_traits.cc: New.
1174 * include/ext/pod_char_traits.h: New.
1175 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1176 * include/Makefile.in: Regenerate.
1177 * docs/html/21_strings/howto.html: Update.
1179 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1181 * testsuite/performance/list_create_fill_sort.cc: New.
1183 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1185 * config/locale/generic/numeric_members.cc: Correct type info.
1186 * config/locale/gnu/numeric_members.cc: Same.
1187 * include/bits/locale_facets.h: Same.
1189 * include/bits/char_traits.h: Correct spacing.
1191 * src/locale.cc: Wrap to 80 col.
1193 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1195 * include/std/std_complex.h: Partially revert last
1196 changes: cmath functions must not be qualified.
1198 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1200 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1201 2.11 with globbing backport fix.
1202 * aclocal.m4, configure: Regenerated.
1204 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1206 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1207 if output is at all possible (!_M_reading), cannot be active.
1209 * include/std/std_fstream.h: Tweak comments to doxygen style.
1211 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1213 * include/bits/locale_classes.h: Fully qualify standard
1214 functions with std::, thus avoiding Koenig lookup.
1215 * include/bits/locale_facets.tcc: Likewise.
1216 * src/locale.cc: Likewise.
1217 * src/localename.cc: Likewise.
1219 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1221 * include/bits/allocator_traits.h: Fix doxygen markup.
1222 * include/ext/mt_allocator.h: Likewise.
1224 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1226 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1228 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1230 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1231 requirement. Add port_specific_symbol_file variable.
1232 * configure.host: Add docs for port_specific_symbol_file.
1233 Clean up try_cpu block for x86.
1234 * config/linker-map.gnu: No more "last symbol can't have a
1235 semicolon" kaka. Add hook for port-specific symbols.
1236 * src/Makefile.am: Remove trailing whitespace.
1237 (libstdc++-symbol.ver): Detect the presence of port-specific
1238 symbols, and add them accordingly.
1240 * docs/html/17_intro/porting.texi: Bring up to date.
1242 * src/Makefile.in, aclocal.m4, configure,
1243 docs/html/17_intro/porting.html: Regenerated.
1245 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1247 * scripts/create_testsuite_files: New file.
1248 * testsuite/Makefile.am (all-local, check-performance): Use it.
1249 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1250 * testsuite/Makefile.in: Regenerated.
1252 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1254 * testsuite/performance/fstream_seek_write.cc: Likewise.
1255 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1256 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1257 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1259 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1261 * include/bits/stl_list.h: Performance and memory usage
1262 improvements. In particular, the behaviour of the constructor and
1263 destructor as the list header node is no longer dynamically
1264 allocated/de-allocated.
1265 * include/bits/list.tcc: Likewise.
1267 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1269 * include/std/std_complex.h: Fully qualify standard
1270 functions with std::, thus avoiding Koenig lookup.
1271 * include/std/std_memory.h: Likewise.
1272 * include/std/std_valarray.h: Likewise.
1274 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1276 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1277 variable for grandparent and use const
1279 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1281 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1282 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1283 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1284 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1285 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1286 * testsuite/27_io/objects/char/7.cc: Ditto
1287 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1289 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1291 * include/std/std_bitset.h: Fully qualify standard
1292 functions with std::, thus avoiding Koenig lookup.
1294 * include/std/std_fstream.h: Change comment to doxygen style.
1296 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1298 * include/std/std_limits.h: More CPP->CXX changes.
1299 * scripts/check_survey.in: Likewise.
1301 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1303 Move from CPP to CXX.
1304 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1305 * testsuite/Makefile.am: Same.
1306 * testsuite/Makefile.in: Regenerate.
1307 * po/Makefile.am: Same.
1308 * po/Makefile.in: Regenerate.
1309 * libsupc++/Makefile.am: Same.
1310 * libsupc++/Makefile.in: Regenerate.
1311 * libmath/Makefile.am: Same.
1312 * libmath/Makefile.in: Regenerate.
1313 * include/Makefile.am: Same.
1314 * include/Makefile.in: Regenerate.
1315 * src/Makefile.am: Same.
1316 * src/Makefile.in: Regenerate.
1318 * configure.host: Same.
1319 * configure.in: Same.
1320 * configure: Regenerate.
1321 * acinclude.m4: Same.
1323 * src: Change all files in this directory.
1325 * include: Same, standardize include guards.
1329 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1331 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1332 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1333 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1334 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1335 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1336 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1337 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1338 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1339 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1340 XFAIL on all targets.
1342 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1344 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1345 * aclocal.m4: Regenerate.
1346 * configure: Regenerate.
1348 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1350 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1353 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1354 Petur Runolfsson <peturr02@ru.is>
1356 * config/io/basic_file_stdio.cc: Revert.
1358 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1360 * include/bits/deque.tcc: Fully qualify standard
1361 functions with std::, thus avoiding Koenig lookup.
1362 * include/bits/gslice_array.h: Likewise.
1363 * include/bits/indirect_array.h: Likewise.
1364 * include/bits/list.tcc: Likewise.
1365 * include/bits/mask_array.h: Likewise.
1366 * include/bits/slice_array.h: Likewise.
1368 2003-07-04 Gawain Bolton <gbolton@free.fr>
1370 * include/bits/stl_tree.h: Performance and memory usage
1373 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1375 * Makefile.am: Replace PWD with PWD_COMMAND.
1376 * Makefile.in: Regenerated.
1377 * docs/html/Makefile: Likewise.
1379 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1381 * include/bits/valarray_array.h: Fully qualify standard
1382 functions with std::, thus avoiding Koenig lookup.
1383 * include/bits/vector.tcc: Likewise.
1385 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1387 * include/Makefile.am: Update target_ to host_.
1388 * include/Makefile.in: Regenerate.
1389 * src/Makefile.am: Same.
1390 * src/Makefile.in: Regenerate.
1392 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1394 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1396 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1397 --enable-libstdcxx-debug-flags.
1398 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1399 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1400 * aclocal.m4: Regenerate.
1402 * docs/html/configopts.html: Update.
1404 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1406 Revert the fix for libstdc++/11378.
1408 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1411 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1412 provided always_noconv(), issue directly _M_file.xsputn.
1413 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1415 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1417 * include/bits/stl_list.h: Fully qualify standard
1418 functions with std::, thus avoiding Koenig lookup.
1419 * include/bits/stl_queue.h: Likewise.
1420 * include/bits/stl_raw_storage_iter.h: Likewise.
1421 * include/bits/stl_tempbuf.h: Likewise.
1422 * include/bits/stl_tree.h: Likewise.
1423 * include/bits/stl_uninitialized.h: Likewise.
1424 * include/bits/stl_vector.h: Likewise.
1425 * include/ext/rope: Change includes order.
1427 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1429 * configure.host (fpos_include_dir): Fix.
1431 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1433 * include/bits/stl_heap.h: Fully qualify standard
1434 functions with std::, thus avoiding Koenig lookup.
1435 * include/bits/stl_iterator_base_funcs.h: Likewise.
1437 * include/bits/stl_algo.h: Qualify __iterator_category too.
1438 * include/bits/stl_algobase.h: Likewise.
1439 * include/bits/stl_bvector.h: Likewise.
1441 * include/bits/stl_algo.h: Don't qualify the pair type.
1443 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1445 * include/Makefile.am (target_headers): Add fpos.h
1446 (bits_headers): Remove.
1447 * include/Makefile.in: Regenerate.
1448 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1449 * configure: Regenerate.
1450 * configure.host: Add fpos_include_dir.
1451 * config/os/gnu-linux/fpos.h: New.
1452 * config/os/generic/fpos.h: Add.
1453 * include/bits/fpos.h: Remove.
1455 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1457 * include/bits/fstream.tcc: Tweaks.
1458 * include/std/std_fstream.h: Same.
1460 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1461 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1462 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1463 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1464 * testsuite/27_io/fpos/1.cc: New.
1466 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1467 Petur Runolfsson <peturr02@ru.is>
1469 * include/std/std_streambuf.h: Remove _M_pos.
1470 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1471 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1472 use fread/fwrite instead of read/write.
1473 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1474 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1475 before reading again.
1476 * testsuite/27_io/objects/char/6.cc: Tweak.
1478 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1480 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1481 _GLIBCPP_USE_WCHAR_T.
1483 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1485 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1488 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1490 * include/bits/stl_bvector.h: Fully qualify standard
1491 functions with std::, thus avoiding Koenig lookup.
1492 * include/bits/stl_construct.h: Likewise.
1493 * include/bits/stl_deque.h: Likewise.
1495 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1497 * testsuite/22_locale/num_put/put/char/7.cc: Include
1498 <testsuite_hooks.h>, tweak.
1499 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1501 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1503 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1504 check* targets, but not libs/programs).
1505 * testsuite/Makefile.in: Regenerate.
1507 2003-07-01 Roger Sayle <roger@eyesopen.com>
1509 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1510 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1511 * aclocal.m4: Regenerate.
1512 * configure: Regenerate.
1514 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1516 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1517 * aclocal.m4: Regenerated.
1518 * configure: Regenerated.
1520 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1523 * include/bits/fstream.tcc (underflow): For encoding() == 0
1524 don't read more than __buflen chars.
1525 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1526 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1527 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1528 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1530 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1532 * 22_locale/num_put/put/char/7.cc: New.
1533 * 22_locale/num_put/put/wchar_t/7.cc: New.
1535 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1537 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1538 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1540 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1542 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1543 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1544 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1545 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1546 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1547 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1548 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1549 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1550 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1551 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1552 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1553 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1554 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1555 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1556 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1557 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1558 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1559 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1560 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1561 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1562 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1563 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1564 * data/seekoff-1.tst: Remove.
1565 * data/seekoff-1io.tst: New.
1566 * data/seekoff-1out.tst: New.
1567 * data/seekoff-2.tst: Remove.
1568 * data/seekoff-2io.tst: New.
1569 * data/seekoff-2out.tst: New.
1571 * data/seekpos-1.tst: Remove.
1572 * data/seekpos-1io.tst: New.
1573 * data/seekpos-1out.tst: New.
1574 * data/seekpos-2.tst: Remove.
1575 * data/seekpos-2io.tst: New.
1576 * data/seekpos-2out.tst: New.
1577 * data/seekpos.txt: New.
1579 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1581 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1582 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1585 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1587 * include/bits/stl_algobase.h: Fully qualify standard
1588 functions with std::, thus avoiding Koenig lookup.
1590 2003-06-30 Doug Gregor <dgregor@apple.com>
1592 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1593 subscripting empty string.
1595 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1597 * testsuite/Makefile.am (check-am): Do not override.
1598 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1599 * testsuite/Makefile.in: Regenerate.
1601 2003-06-30 Doug Gregor <dgregor@apple.com>
1603 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1604 Don't initialize an insert_iterator with a singular iterator.
1606 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1608 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1609 * aclocal.m4: Regenerate.
1610 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1611 GLIBCPP_ENABLE_PCH, default to yes.
1612 * configure: Regenerate.
1613 * docs/html/configopts.html: Add --enable-pch.
1615 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1617 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1618 (libstdc++-v3-init): Also set LD_RUN_PATH.
1620 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1622 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1623 from here to filebuf and stringbuf.
1624 (~basic_streambuf()): Don't set _M_mode.
1625 (basic_streambuf()): Don't set _M_mode.
1626 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1627 (~basic_filebuf()): Clean up.
1628 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1629 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1630 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1631 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1632 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1633 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1634 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1636 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1638 * include/std/std_fstream.h (_M_underflow): Remove.
1639 (uflow): Remove, inherited from streambuf.
1640 (underflow): Only declare.
1641 * include/bits/fstream.tcc (_M_underflow): Rename to
1642 underflow, to which is equivalent for __bump == false,
1644 * include/std/std_sstream.h (_M_underflow): Remove.
1645 (uflow): Remove, inherited from streambuf.
1646 (underflow): Only declare.
1647 * include/bits/sstream.tcc (_M_underflow): Rename to
1648 underflow, to which is equivalent for __bump == false,
1651 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1653 * include/bits/stl_algo.h: Fully qualify standard functions
1654 with std::, thus avoiding Koenig lookup.
1656 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1658 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1659 Improve type correctness-wise.
1660 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1662 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1664 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1667 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1669 * include/std/std_streambuf.h (uflow): According to
1670 27.5.2.4.3,p16, don't check gptr() < egptr().
1672 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
1675 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1676 (seekpos): Likewise.
1677 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1679 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1682 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1684 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1685 output name to libstdc++-v3-performance.sum.
1686 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1687 * testsuite/Makefile.in: Regenerate.
1689 2003-06-27 Matthias Klose <doko@debian.org>
1691 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1692 output of abi-check in libstdc++-v3-abi.sum.
1693 * testsuite/Makefile.in: Regenerate.
1695 2003-06-27 Krister Walfridsson <cato@df.lth.se>
1697 * config/os/bsd/netbsd/ctype_noninline.h
1698 (_C_ctype_): Declare.
1699 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1700 (ctype<char>::ctype): Use classic_table.
1702 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1703 Nathan C. Myers <ncm-nospam@cantrip.org>
1706 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1707 the worst-case number of external bytes for a given get area.
1708 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1710 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1711 Petur Runolfsson <peturr02@ru.is>
1714 * include/bits/fstream.tcc (overflow): Properly estimate the
1715 worst-case number of external bytes for a given put area
1716 (by using codecvt::max_length()).
1717 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1718 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1719 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1720 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1722 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1724 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1726 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1728 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1729 to the imbued locale.
1730 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1732 (num_put::_M_convert_float): Use.
1734 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1735 Jerry Quinn <jlquinn@optonline.net>
1737 * config/linker-map.gnu: Add __numpunct_cache.
1738 * config/locale/gnu/numeric_members.cc
1739 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1740 all elements for "C" locale.
1741 (numpunct::~numpunct): Delete _M_data.
1742 * config/locale/generic/numeric_members.cc: Same.
1743 * include/bits/basic_ios.tcc
1744 (basic_ios::init): Remove __locale_cache bits.
1745 (basic_ios::_M_cache_locale): Same.
1746 * include/bits/ios_base.h: Same. Tweaks.
1747 * include/bits/locale_classes.h: Tweaks. Reorder classes.
1748 (__use_cache): Make friends with _Impl, locale.
1749 (_Impl::_M_caches): Add.
1750 (_Impl::_M_install_cache): Add.
1751 * include/bits/locale_facets.h (__numpunct_cache): New.
1752 (numpunct): Encapsulate data members in __numpunct_cache member,
1753 _M_data. Adjust virtuals.
1754 (numpunct::numpunct): New ctor for the same.
1755 (__locale_cache_base): Remove.
1756 (__locale_cache): Remove.
1757 * include/bits/locale_facets.tcc (__use_cache): New function,
1759 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1760 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1761 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1762 * src/locale-inst.cc: Same. Add __numpunct_cache.
1763 * src/locale.cc: Tweak inlines.
1764 (__use_cache): Define specializations.
1765 * src/localename.cc: Use global bits.
1766 (_Impl::~Impl): Deal with __numpunct_cache destruction.
1767 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1768 (_Impl::_M_init_facet): Take into account __numpunct_cache.
1769 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1770 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1772 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
1773 Paolo Carlini <pcarlini@unitus.it>
1775 * testsuite/performance/filebuf_copy.cc: New, testing char
1778 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
1779 Nathan C. Myers <ncm-nospam@cantrip.org>
1781 * include/bits/fstream.tcc (_M_underflow): When the actual
1782 end of file is reached, set 'uncommitted' mode to allow a
1783 next write without an intervening seek (see C++98 27.8.1.1,2
1785 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1787 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
1789 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1790 sputc): Move inline, from here...
1791 * include/std/std_streambuf.h: ... to here.
1793 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1794 sputbackc, sungetc, sputc): Use __builtin_expect.
1796 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
1798 * docs/doxygen/mainpage.html: Use a useful title.
1800 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1802 * docs/html/documentation.html: Remove assignment info.
1803 * docs/html/17_intro/contribute.html: Edits.
1804 * docs/html/17_intro/libstdc++-assign.tx: Remove.
1806 * docs/html/test.html: Update.
1810 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1811 Ulrich Drepper <drepper@redhat.com>
1813 * testsuite/testsuite_performance.h: Tweak mallinfo.
1815 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
1816 Nathan C. Myers <ncm-nospam@cantrip.org>
1818 * include/std/std_fstream.h (_M_filepos): Remove.
1819 (_M_reading, _M_writing): New, encode the various I/O modes:
1820 'read', 'write' and 'uncommitted'.
1821 (sync): If there is something to flush, do it, then go to
1823 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1824 with three different cases: __off > 0 (upon underflow),
1825 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1827 (_M_underflow): Don't call overflow, set _M_reading to true
1829 (pbackfail): Set _M_reading to true on pback creation, tweak.
1830 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1831 set _M_writing to true on success, tweak.
1832 (seekoff): Simplify, set _M_reading, _M_writing to false, call
1833 _M_set_buffer(-1) ('uncommitted').
1834 (open, close, setbuf): Set _M_reading, _M_writing to false and
1835 call _M_set_buffer(-1), tweak.
1836 (basic_filebuf): Don't set _M_buf_unified.
1837 (_M_destroy_internal_buffer): Don't call setg and setp.
1838 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1839 _M_writing and _M_set_buffer(-1).
1840 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1841 _M_out_lim, _M_buf_unified): Remove.
1842 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
1843 (setp): Don't set _M_out_lim.
1844 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1845 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1846 upon open the mode is 'uncommitted' and therefore the put area
1848 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1849 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1850 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1851 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1852 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1853 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1854 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1855 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1856 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1857 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1858 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1859 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1860 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1861 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1862 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1863 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1864 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1865 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1866 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1867 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1869 * include/bits/fstream.tcc (showmanyc): Use only the
1870 documented derivation interface to basic_streambuf (gptr(),
1871 setg(), etc.) to work right with user specializations.
1872 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1873 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1874 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1876 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1879 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
1881 * configure.host (freebsd*): Set abi_baseline_pair.
1882 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1883 (at or near first release) to 3.3.
1884 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1885 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1886 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1888 * include/ext/mt_allocator.h: Portability.
1889 * testsuite/testsuite_performance.h: Likewise.
1891 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
1893 * docs/html/17_intro/libstdc++-assign.txt: Update address.
1895 * testsuite/performance/ifstream_getline.cc: Fix.
1897 2003-06-23 Doug Gregor <dgregor@apple.com>
1899 * include/bits/boost_concept_check.h: Don't use _D or _R for type
1902 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
1903 Nathan C. Myers <ncm-nospam@cantrip.org>
1905 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1906 is now used only for filebuf, when _M_buf_unified is true.
1907 epgtr() plays the role of _M_out_lim but it's only updated
1908 upon overflow, underflow, uflow, seekoff/pos.
1909 * include/bits/sstream.tcc (_M_underflow): New, implements
1910 stringbuf::underflow and uflow.
1911 (seekoff, seekpos): Tweak, use _M_update_egptr.
1912 * include/std/std_sstream.h (str): Rewrote, deal correctly
1913 with the new logic, in particular, when pptr() > egptr().
1914 (_M_sync): When __testout && !__testin set all the get area
1915 pointers to the current string end.
1916 (_M_update_egptr): New, internal function updating egptr()
1917 to the actual string end.
1918 (_M_underflow): New, declare.
1919 (underflow): Dispatch to _M_underflow(false).
1920 (uflow): Dispatch to _M_underflow(true).
1922 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1923 seekpos): Use only the documented derivation interface to
1924 basic_streambuf (gptr(), setg(), etc.) to work right with
1925 user specializations.
1926 * include/std/std_sstream.h (str, _M_sync): Likewise.
1928 2003-06-20 Doug Gregor <dgregor@apple.com>
1930 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1931 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1932 dereference end iterator.
1933 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1934 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1935 index equal to the length of a string.
1936 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1937 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1938 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1939 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1940 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1941 * testsuite/23_containers/list_modifiers.cc: Don't dereference
1942 singular reverse iterator.
1943 * testsuite/23_containers/vector_bool.cc: Don't increment singular
1945 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
1947 2003-06-20 Doug Gregor <dgregor@apple.com>
1949 * include/bits/basic_string.h (basic_string::replace): Dispatch
1950 _InputIterator version based on _Is_integer.
1951 * include/bits/basic_string.tcc (basic_string::replace):
1952 Renamed replace(iterator, iterator, size_type, _CharT) to
1954 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1955 Test basic_string::assign(_InputIterator, _InputIterator),
1956 which calls basic_string::replace(iterator, iterator,
1957 _Input_iterator, _InputIterator).
1959 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
1961 * testsuite/testsuite_performance.h (resource_counter): Don't use
1962 mallinfo at the moment.
1964 2003-06-20 Matthias Klose <doko@debian.org>
1966 * configure.host: Set try_cpu to target_cpu for existing
1969 2003-06-19 Andreas Jaeger <aj@suse.de>
1971 * testsuite/Makefile.am (extract_symvers): Revert accidental
1973 * testsuite/Makefile.in: Regenerate.
1975 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1976 * configure: Regenerated.
1978 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
1980 * include/std/std_sstream.h (_M_sync): Make non virtual.
1982 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
1984 * testsuite/testsuite_performance.h (time_counter): New.
1985 (resource_counter): New.
1986 (report_performance): New.
1987 (start_counters): New.
1988 (stop_counters): New.
1989 (clear_counters): New.
1990 * testsuite/performance/allocator.cc: Instrument.
1991 * testsuite/performance/cout_insert_int.cc: Same.
1992 * testsuite/performance/complex_norm.cc: Same.
1993 * testsuite/performance/filebuf_sputc.cc: New.
1994 * testsuite/performance/fstream_seek_write.cc: Same.
1995 * testsuite/performance/ifstream_getline.cc: Same.
1996 * testsuite/performance/map_create_fill.cc: Same.
1997 * testsuite/performance/ofstream_insert_float.cc: Same.
1998 * testsuite/performance/ofstream_insert_int.cc: Same.
1999 * testsuite/performance/string_append.cc: Convert.
2000 * scripts/check_performance: New.
2001 * testsuite/Makefile.am (check-performance): New.
2004 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2005 Benjamin Kosnik <bkoz@redhat.com>
2007 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2008 * include/bits/fstream.tcc (setbuf): Tweak.
2010 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2012 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2013 _M_out_lim, therefore _M_move_out_cur boils down to simply
2014 updating _M_out_cur.
2015 (seekpos): Likewise, clean up.
2017 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2018 Paolo Carlini <pcarlini@unitus.it>
2020 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2021 simply equivalent to the unbuffered case (0, 0) as far as
2022 _M_buf_size is concerned.
2024 2003-06-18 Andreas Jaeger <aj@suse.de>
2026 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2028 (baseline_file): Use baseline_dir.
2029 (baseline_dir): New.
2030 (mkinstalldirs): New.
2032 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2033 filename from baseline_dir.
2035 * testsuite/Makefile.in: Regenerated.
2036 * Makefile.in: Regenerated.
2037 * aclocal.m4: Regenerated.
2038 * configure: Regenerated.
2040 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2042 * configure.in: Missed check_survey bit.
2043 * configure: Regenerated.
2045 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2048 * config/abi/extract_symvers: Move to...
2049 * scripts/extract_symvers: ...here.
2050 * mkcheck.in: Move to..
2051 * scripts/check_survey.in: ...here.
2052 * testsuite_flags.in: Move to..
2053 * scripts/testsuite_flags.in: ...here.
2054 * configure.in: Change check and testsuite_flags locations.
2055 * configure: Regenerate.
2056 * testsuite/Makefile.am (current_symbols.txt): Change location.
2057 * testsuite/Makefile.in: Regenerate.
2058 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2059 location of testsuite_flags.
2060 * Makefile.am (check-script): Move..
2061 (check-script-install): Move...
2062 * testsuite/Makefile.am: ... here.
2063 * testsuite/Makefile.in: Regenerate.
2064 * Makefile.in: Regenerate.
2066 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2068 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2070 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2072 * Makefile.am (check-abi): Move...
2073 (new-abi-baseline): Move...
2074 * testsuite/Makefile.am: ...here.
2075 (new-abi-baseline): Conditionalize.
2076 (check-abi): Conditionalize.
2077 (check-abi-verbose): New.
2078 * Makefile.in: Regenerate.
2079 * testsuite/Makefile.in: Regenerate.
2080 * configure.in: Consolidate testsuite configure bits.
2081 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2082 * configure: Regenerate.
2083 * aclocal.m4: Regenerate.
2084 * testsuite/abi_check.cc: Add --check-verbose.
2085 Only output detailed information if --check-verbose.
2087 2003-06-16 Andreas Jaeger <aj@suse.de>
2089 * testsuite/abi_check.cc: Create summary report.
2091 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2093 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2094 for systems with BUFSIZ != 8192.
2095 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2096 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2099 2003-06-16 Andreas Jaeger <aj@suse.de>
2101 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2102 check-abi multilib aware.
2103 * aclocal.m4: Regenerate.
2104 * configure: Regenerate.
2106 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2107 Andreas Jaeger <aj@suse.de>
2109 * configure.host: Set x86_64 abi_baseline pair correctly.
2111 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2113 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2114 fix for missing seeks between gets and puts into...
2115 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2116 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2117 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2118 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2119 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2120 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2122 2003-06-15 Richard Henderson <rth@redhat.com>
2124 * config/linker-map.gnu: Export virtual function thunks for
2127 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2129 * config/abi/i686-pc-linux-gnu: To..
2130 * config/abi/i486-linux-gnu: ...this.
2131 * config/abi/alphaev67-unknown-linux-gnu: To..
2132 * config/abi/alpha-linux-gnu: ...this.
2133 * config/abi/ia64-unknown-linux-gnu: To...
2134 * config/abi/ia64-linux-gnu: ...this.
2135 * config/abi/x86_64-unknown-linux-gnu: To...
2136 * config/abi/x86_64-linux-gnu: ...this.
2137 * config/abi/i386-unknown-freebsd4: To...
2138 * config/abi/i386-freebsd4: ...this.
2139 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2141 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2142 Simplify cpu bits so that abi_baseline_pair can use the same
2144 * acinclude.m4: Same.
2145 * aclocal.m4: Regenerate.
2146 * configure.in: Can't get enable_abi_check to yes unless native.
2147 * configure: Regenerate.
2149 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2151 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2152 fix for missing seeks between gets and puts into...
2153 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2154 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2155 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2156 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2157 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2158 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2159 for missing seeks between gets and puts.
2160 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2161 * testsuite/data/seekoff-1.tst: New.
2162 * testsuite/data/seekoff-2.tst: New.
2163 * testsuite/data/seekpos-1.tst: New.
2164 * testsuite/data/seekpos-2.tst: New.
2166 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2168 Avoid multi-processor bus contention on increment/decrement-and-
2169 test of the reference count in the empty-string object, by comparing
2170 addresses first, and never touching the reference count of the empty-
2172 * include/bits/basic_string.h:
2173 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2175 (_Rep::_S_empty_rep()): New accessor.
2176 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2177 a base class _Rep_base.
2178 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2179 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2180 since no longer must increment its refcount.
2181 * include/bits/basic_string.tcc:
2182 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2183 return immediately. The former might be unnecessary. The latter
2184 prevents begin() and end() from cloning it unnecessarily.
2185 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2186 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2187 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2188 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2189 (_M_mutate): Check for the empty string and treat it as shared.
2190 This is necessary here because _M_mutate is sometimes called with
2191 all-zero arguments; in all other uses of _M_is_shared, the test comes
2194 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2196 * src/allocator-inst.cc: Explicitly instantiate.
2197 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2199 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2201 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2203 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2204 * aclocal.m4: Regenerate.
2205 * Makefile.am (SUBDIRS): Remove libio.
2206 * Makefile.in: Regenerate.
2207 * configure.in: Same.
2208 * configure: Regenerate.
2209 * config/io/basic_file_libio.cc: Remove.
2210 * config/io/basic_file_libio.h: Remove.
2211 * config/io/c_io_libio_codecvt.c: Remove.
2212 * config/io/c_io_libio.h: Remove.
2214 * src/Makefile.am: Same.
2215 * src/Makefile.in: Regenerate.
2216 * docs/html/configopts.html: Edits.
2217 * docs/html/explanations.html: Edits.
2219 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2221 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2222 (__malloc_alloc): Same.
2223 (__pool_alloc): Same.
2224 (__new_alloc): Same.
2226 * include/bits/allocator.h: ...this.
2227 * include/bits/stl_deque.h: Modify comment.
2228 * include/bits/stl_tree.h: Modify include.
2229 * include/std/std_memory.h: Same.
2230 * include/ext/rope: Same.
2231 * include/ext/slist: Same.
2232 * include/std/std_vector.h: Same.
2233 * include/std/std_stack.h: Same.
2234 * include/std/std_queue.h: Same.
2235 * include/std/std_list.h: Same.
2236 * include/std/std_deque.h: Same.
2237 * include/backward/alloc.h: Same.
2238 * include/ext/debug_allocator.h: New.
2239 * include/ext/malloc_allocator.h: New.
2240 * include/ext/pool_allocator.h: New.
2241 * include/ext/new_allocator.h: New.
2242 * include/bits/pthread_allocimpl.h: Remove.
2243 * include/bits/stl_pthread_alloc.h: Remove.
2244 * include/Makefile.am (ext_headers): Add.
2245 * include/Makefile.in: Regenerate.
2246 * src/stl-inst.cc: Use __gnu_cxx namespace.
2247 * src/stl-inst.cc: Move to...
2248 * src/allocator-inst.cc: Here.
2249 * src/Makefile.am (sources): Update.
2250 * src/Makefile.in: Regenerate.
2251 * config/linker-map.gnu: Remove __pool_alloc bits.
2252 * testsuite/ext/headers.cc: Add.
2253 * testsuite/ext/allocators.cc: Fixup.
2255 2003-06-11 Stefan Olsson <stefan@snon.net>
2256 Ola Rönnerup <fnolis@home.se>
2258 * include/Makefile.am (ext_headers): Add.
2259 * include/Makefile.in: Regenerate.
2260 * include/ext/mt_allocator.h: New file.
2262 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2264 * include/bits/fstream.tcc (close): Clean up a bit.
2266 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2268 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2269 - the saved _M_in_cur, that is - cannot be null.
2270 (sync): Constify a variable.
2272 * include/std/std_streambuf.h: Tweak a comment.
2273 (in_avail): Constify a variable.
2275 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2277 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2278 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2279 correctness of container::iterator typedefs. Fix whitespace.
2280 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2282 * docs/html/documentation.html: Regenerate.
2284 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2285 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2286 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2287 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2288 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2289 include/bits/stl_vector.h, include/bits/vector.tcc,
2290 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2291 Change _Iter names to _Iterator, and __pos to __position.
2293 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2294 include/bits/stl_multiset.h, include/bits/stl_set.h:
2295 Remove emacs markers.
2297 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2299 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2301 * include/bits/fstream.tcc (overflow): According to
2302 27.5.2.4.5, overflow() returns not_eof(eof()).
2303 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2304 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2306 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2308 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2309 value; tweak slightly.
2311 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2313 * include/bits/fstream.tcc (_M_underflow): Do not special
2314 case the unbuffered case, which really means simply a one char
2316 (basic_filebuf): Initialize _M_buf_size.
2317 (setbuf): Unbuffered means _M_buf_size == 1, since only
2318 _M_buf_size - 1 == 0 chars are going to be used for the
2319 put area and 1 for the get area.
2320 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2321 (~basic_streambuf): Tweak.
2322 (basic_streambuf): Do not initialize _M_buf_size.
2323 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2324 (~basic_filebuf): Tweak.
2325 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2326 unbuffered situation (i.e., put area pointers NULL).
2327 * include/bits/streambuf.tcc (sbumpc): Clean up.
2328 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2329 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2330 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2331 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2332 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2333 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2334 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2336 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2338 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2339 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2341 * configure.in: Centralize AM_CONDITIONALs so that they are always
2342 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2343 * aclocal.m4, configure: Regenerated.
2345 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2347 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2349 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2351 * include/bits/stl_iterator.h
2352 (reverse_iterator::reverse_iterator()): Apply DR235: default
2353 constructor default-initializes data member. Instantiated on a
2354 pointer type, the member has to end up equal to zero.
2356 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2358 * include/bits/stl_alloc.h: Cleanups.
2359 * include/ext/functional: Same.
2360 * include/ext/hash_map: Same.
2361 * include/ext/hash_set: Same.
2362 * include/ext/iterator: Same.
2363 * include/ext/memory: Same.
2364 * include/ext/numeric: Same.
2365 * include/ext/rb_tree: Same.
2366 * include/ext/ropeimpl.h: Same.
2367 * include/ext/slist: Same.
2368 * include/ext/stdio_filebuf.h: Same.
2369 * include/ext/stdio_sync_filebuf.h: Same.
2370 * include/ext/stl_rope.h: Move to...
2371 * include/ext/rope: ...here.
2372 * include/ext/stl_hash_fun.h: Move to...
2373 * include/ext/hash_fun.h: ...here.
2374 * include/ext/stl_hashtable.h: Move to...
2375 * include/ext/hashtable.h: ...here.
2376 * include/backward/hashtable.h: Reflect new names.
2377 * include/Makefile.am: Same.
2378 * include/Makefile.in: Regenerated.
2380 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2383 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2384 * include/bits/stl_algobase.h: Tweak.
2385 * include/std/std_fstream.h: Move _M_buf_size to...
2386 * include/std/std_streambuf.h: ...here. Modify.
2387 * include/bits/streambuf.tcc: Same.
2388 * testsuite/testsuite_hooks.h: Tweak.
2389 * testsuite/testsuite_io.h (constraint_filebuf): New.
2390 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2391 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2392 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2393 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2394 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2395 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2396 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2397 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2398 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2399 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2400 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2401 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2402 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2403 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2404 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2405 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2406 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2407 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2408 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2409 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2410 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2411 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2412 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2413 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2414 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2415 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2416 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2417 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2418 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2419 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2420 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2421 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2422 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2423 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2424 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2425 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2426 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2427 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2428 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2429 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2430 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2431 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2432 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2433 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2434 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2435 * testsuite/data/sgetc.txt: New.
2436 * testsuite/data/sgetn.txt: New.
2438 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2441 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2442 Deal with width() smaller than zero.
2443 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2444 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2445 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2446 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2447 operator<<(basic_ostream, const basic_string&)): Likewise.
2449 * testsuite/27_io/basic_istream/extractors_character/char/
2450 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2451 * testsuite/27_io/basic_ostream/inserters_character/char/
2452 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2453 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2454 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2456 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2458 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2459 .gch compilation works.
2460 * aclocal.m4, configure: Regenerate.
2461 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2462 initialize PCHFLAGS.
2464 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2466 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2467 erase(iterator), erase(iterator, iterator), c_str,
2468 compare(const basic_string&)): Constify various variables.
2469 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2470 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2471 _S_create, resize, _M_replace, _M_replace_safe,
2472 append(const basic_string&), append(const basic_string&, size_type,
2473 size_type), append(const _CharT*, size_type), append(size_type,
2474 _CharT), operator+(const _CharT*, const basic_string&),
2475 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2476 size_type, _CharT), find(const _CharT*, size_type, size_type),
2477 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2478 rfind(_CharT, size_type), compare(size_type, size_type,
2479 const basic_string&), compare(size_type, size_type,
2480 const basic_string&, size_type, size_type), compare(const _CharT*),
2481 compare(size_type, size_type, const _CharT*), compare(size_type,
2482 size_type, const _CharT*, size_type)): Likewise.
2484 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2486 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2487 'if' branch less obscure.
2489 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2492 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2494 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2495 (__atomic_add): likewise.
2497 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2499 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2500 reformatting, consistent with basic_filebuf::pbackfail.
2502 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2505 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2506 __attribute__ ((__unused__)).
2507 * config/os/aix/atomicity.h: Likewise.
2509 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2512 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2513 is already active don't try to store in it a second char.
2514 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2516 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2518 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2520 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2523 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2525 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2526 instead of unnecessarily taking the address of _M_pback.
2527 (xsgetn): Simplify slightly for a single char pback buffer.
2529 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2531 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2532 variables and two 'if', clean up.
2534 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2536 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2537 not _M_out_end, since the former actually points to the string
2538 end (vs buffer end).
2539 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2541 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2543 * docs/doxygen/filter: New file.
2544 * docs/doxygen/filter.sed: New file.
2545 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2546 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2547 * docs/html/documentation.html: Fix links to doxygen pages.
2549 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2551 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2552 check for __ilen > 0.
2554 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2557 * include/bits/stl_iterator.h (class __normal_iterator):
2558 Don't inherit from iterator, add missing typedefs.
2560 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2562 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2563 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2564 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2565 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2568 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2570 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2572 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2573 _LIBUNWIND_STD_ABI is set.
2575 2003-05-26 Brendan Kehoe <brendan@zen.org>
2577 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2578 make sure the number of digits required after the decimal-point
2579 (if any) is exactly the value returned by frac_digits().
2580 * testsuite/22_locale/money_get/get/char/9.cc: New.
2581 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2583 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2585 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2588 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2591 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2592 (_M_pback): No array necessary.
2593 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2594 unbuffered case, coalesec into ...
2595 (basic_filebuf::overflow): ...this.
2596 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2597 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2599 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2601 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2602 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2603 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2604 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2605 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2606 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2607 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2608 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2609 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2610 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2611 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2612 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2613 Replace "GNU CC" with "GCC".
2615 * include/backward/new.h: Replace "GNU CC" with "GCC".
2617 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2620 * configure.in: Switch target to host, don't assume newlib.
2621 (target_alias): Remove.
2622 * configure: Regenerate.
2623 * acinclude.m4: Same.
2624 * aclocal.m4: Regenerate.
2625 * configure.target: Same. Rename to...
2626 * configure.host: This.
2628 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2630 * include/std/std_fstream.h (_S_pback_size): Remove definition.
2631 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2633 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2634 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2635 of _S_pback_size for systems with no COMDAT or weak support.
2636 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2637 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2638 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2639 * testsuite/27_io/basic_fstream/3.cc: Likewise.
2640 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2641 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2642 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2643 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2644 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2646 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2648 * include/bits/fstream.tcc (_M_underflow): Simplify:
2649 !__testout implies _M_filepos == _M_in_end, therefore
2650 the first _M_file.seekoff call is never issued.
2652 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2654 * configure.in: Sort cross table.
2655 * configure: Regenerate.
2657 2003-05-22 Brad Spencer <spencer@infointeractive.com>
2660 * configure.in: Add Solaris cross bits.
2662 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2664 * libstdc++-v3/config/os/mingw32/os_defines.h
2665 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2666 (NOMINMAX): Define. Update copyright year.
2668 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
2670 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2672 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2674 * docs/html/faq/index.html: Fix typo.
2675 * docs/html/faq/index.txt: Regenerate.
2677 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2679 * docs/html/test.html: Fix markup.
2681 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2683 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2685 Update copyright year.
2687 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2689 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2691 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2693 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2694 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
2696 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2698 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
2699 Cast via void* to avoid -Wcast-align warnings.
2700 (__default_alloc_template::_S_refill): Likewise.
2702 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
2704 * testsuite/README: Move to...
2705 * docs/html/test.html: ...here. Add documentation.
2706 * docs/html/install.html: Move testing bits out..
2707 * docs/html/documentation.html: Add separate testing link.
2708 * testsuite/performance: Add.
2709 * testsuite/performance/allocator.cc: New.
2710 * testsuite/performance/complex_norm.cc: New.
2711 * testsuite/performance/cout_insert_int.cc: New.
2712 * testsuite/performance/fstream_seek_write.cc: New.
2713 * testsuite/performance/ifstream_getline.cc: New.
2714 * testsuite/performance/map_create_fill.cc: New.
2715 * testsuite/performance/ofstream_insert_float.cc: New.
2716 * testsuite/performance/ofstream_insert_int.cc: New.
2717 * testsuite/performance/string_append.cc: New.
2718 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
2721 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
2724 * include/std/std_complex.h (pow): Tidy.
2726 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
2728 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
2729 that upon filebuf::close() 27.8.1.1,3 is enforced.
2731 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
2733 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
2735 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
2736 Nathan Myers <ncm@cantrip.org>
2738 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
2739 _M_convert_to_external only once (_M_buf_size is now the size of
2740 the put area + 1 for the overflow char of a full area); call
2741 _M_set_buffer instead of _M_set_indeterminate.
2742 (setbuf): Don't accept a buffer smaller than 2 chars.
2743 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
2744 instead of _M_set_determinate.
2745 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
2746 (seekoff): Likewise.
2747 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
2748 std::ios_base::openmode, bool, size_t),
2749 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
2751 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
2752 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
2754 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
2755 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
2756 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
2757 the put area is now BUFSIZ - 1.
2758 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
2759 that now the smallest _M_buf_size is 2 (still fails, for the same
2762 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
2764 * testsuite/thread/pthread4.cc: Tweak test.
2766 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
2768 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
2769 excess errors dg marker, use dg-errors instead.
2770 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2771 * testsuite/20_util/auto_ptr_neg.cc: Same.
2773 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2775 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
2777 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
2778 Initialize _M_codecvt.
2779 (basic_filebuf::imbue): Same.
2780 (basic_filebuf::showmanyc): Use it.
2781 (basic_filebuf::underflow): Use it.
2782 (basic_filebuf::_M_convert_to_external): Use it.
2783 (basic_filebuf::seekoff): Use it.
2784 (basic_filebuf::imbue): Use it, tweaks.
2785 * include/bits/localefwd.h (__check_facet): New.
2786 * include/bits/locale_classes.h: Tweaks.
2787 * include/bits/locale_facets.tcc: Tweaks.
2788 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
2789 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
2790 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
2791 * include/bits/basic_ios.tcc: Same.
2792 * include/bits/istream.tcc: Same.
2793 * include/bits/ostream.tcc: Same.
2794 * include/std/std_streambuf.h: Same.
2795 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
2796 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
2797 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
2798 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
2799 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
2800 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
2802 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2804 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
2805 unnecessary includes and unused string literals.
2806 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2807 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2808 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2809 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2811 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2813 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
2815 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2817 * include/std/std_fstream.h (_M_convert_to_external): Change
2818 to return bool, take two less streamsize parameters.
2819 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
2820 consistently definition.
2821 (_M_overflow): Adjust call points.
2823 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2825 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
2827 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2829 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
2830 * testsuite/Makefile.in: Regenerate.
2832 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2834 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
2835 * testsuite/Makefile.in: Regenerate.
2837 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
2840 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
2841 (acos): Handle integer argument.
2860 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
2861 (__enable_if): Likewise.
2862 * testsuite/26_numerics/cmath/overloads.C: New test.
2864 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2869 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
2870 implementation, based on old wchar_t specialization, add support
2871 for codecvt::in() return value of codecvt_base::noconv, remove
2872 _M_file.sys_ungetc() call.
2873 * include/std/std_fstream.h (basic_file::underflow,
2874 basic_file::uflow, basic_file::_M_underflow): Remove
2875 specialization declarations, call _M_underflow from generic versions
2876 of underflow and uflow.
2877 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
2878 basic_file::_M_underflow): Remove specializations.
2879 * src/Makefile.am (sources): Remove fstream.cc.
2880 * src/Makefile.in: Regenerated.
2881 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
2882 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
2883 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
2884 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
2886 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
2888 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
2890 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
2892 (__basic_file::xsputn): Same.
2893 (__basic_file::seekoff): Same.
2894 (__basic_file::seekpos): Same.
2895 (__basic_file::showmanyc): Same.
2896 * config/io/basic_file_stdio.cc: Same.
2897 * include/std/std_fstream.h: Same.
2898 * include/bits/fstream.tcc: Same.
2899 * src/fstream.cc: Same.
2900 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
2902 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2907 * include/ext/stdio_sync_filebuf.h: New file.
2908 (basic_stdiobuf): New.
2909 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
2910 * include/Makefile.in: Regenerate.
2911 * include/bits/ios_base.h (Init::_S_create_buffers,
2912 Init::_S_destroy_buffers): Remove declarations.
2913 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
2914 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
2915 * src/ios.cc (Init::_S_create_buffers,
2916 Init::_S_destroy_buffers): Remove.
2917 (Init::Init): Create and use syncronized buffers.
2918 (ios_base::sync_with_stdio): Destroy syncronized buffers,
2919 create and install unsyncronized buffers.
2920 * testsuite/27_io/objects/char/10.cc: New test.
2921 * testsuite/27_io/objects/char/9.cc: New test.
2922 * testsuite/27_io/objects/char/9661-1.cc: New test.
2923 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
2924 * testsuite/27_io/objects/char/9661-2_xin.in: New.
2925 * testsuite/27_io/objects/wchar_t/1.cc: New test.
2926 * testsuite/27_io/objects/wchar_t/10.cc: New test.
2927 * testsuite/27_io/objects/wchar_t/2.cc: New test.
2928 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
2929 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
2930 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
2931 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
2932 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
2933 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
2934 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
2935 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
2936 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
2937 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
2938 * testsuite/27_io/objects/wchar_t/5.cc: New test.
2939 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
2940 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
2941 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
2942 * testsuite/27_io/objects/wchar_t/6.cc: New test.
2943 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
2944 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
2945 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
2946 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
2947 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
2948 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
2949 * testsuite/27_io/objects/wchar_t/7.cc: New test.
2950 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
2951 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
2952 * testsuite/27_io/objects/wchar_t/8.cc: New test.
2953 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
2954 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
2955 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
2956 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
2957 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
2958 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
2959 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
2960 * testsuite/ext/stdiobuf_char.cc: New test.
2961 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
2963 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
2965 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
2966 unnecessary includes and unused string literals.
2967 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2969 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
2971 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
2973 2003-05-07 Richard Henderson <rth@redhat.com>
2976 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
2977 (__cxa_end_catch): Likewise.
2978 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
2979 _Unwind_Resume_or_Rethrow.
2980 * libsupc++/eh_personality.cc (empty_exception_spec): New.
2981 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
2982 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
2983 exceptions. Don't push terminate/unexpected to cxa functions.
2984 (__cxa_call_unexpected): Remove foreign exception fixmes.
2986 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
2988 * testsuite/27_io/ios_base/cons: New.
2989 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
2990 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
2992 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
2994 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
2996 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
2997 there is no buffer or __testget == !__testinit.
3000 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3001 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3003 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3004 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3006 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3008 * include/std/std_sstream.h (_M_sync): Minor tweak.
3010 * include/bits/fstream.tcc (close): No need to call
3011 _M_destroy_pback, setting _M_pback_init to false suffices
3014 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3016 * include/bits/stl_algo.h: Enums as _S_.
3017 * include/bits/stl_tree.h: Same.
3018 * include/bits/stl_bvector.h: Same.
3019 * include/bits/ios_base.h: Same.
3020 * include/bits/stl_alloc.h: Same.
3021 * include/ext/stl_hashtable.h: Same.
3022 * src/ios.cc: And here.
3024 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3025 * include/bits/sstream.tcc: Same.
3027 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3029 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3031 * include/bits/locale_facets.h (__num_base): Remove protected.
3032 Use _S_[io]* names for enumerations.
3033 (_S_format_int): Remove.
3034 * include/bits/locale_facets.tcc: Same.
3035 * src/locale.cc: Same.
3037 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3039 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3041 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3042 * docs/html/faq/index.txt: Regenerated.
3044 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3045 Matt Kraai <kraai@alumni.cmu.edu>
3047 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3050 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3052 * configure.target (mips*): Use the generic atomicity.h by default.
3054 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3055 (Inspired by an alternate patch from Danny Smith.)
3057 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3058 (_Swap_lock_struct<>): ...and the horse it rode in on.
3059 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3060 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3061 member to support...
3062 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3063 visibility rules related to POSIX threads.
3064 * testsuite/thread/pthread7-rope.cc: New test.
3066 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3068 * testsuite/21_strings/basic_string/find/char/3.cc: New
3069 file, testing basic_string<char>::find_first_not_of.
3070 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3071 Likewise for basic_string<wchar_t>.
3073 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3075 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3077 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3079 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3081 * include/Makefile.in: Regenerate.
3083 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3085 * include/std/std_sstream.h (str()): Tidy.
3087 2003-05-02 Nathan Myers <ncm@cantrip.org>
3088 Paolo Carlini <pcarlini@unitus.it>
3090 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3092 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3094 * include/bits/basic_string.h (swap): Remove redundant template
3095 parameters from declaration of non-template member function.
3097 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3099 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3100 * configure.in: Move libintl.h header test...
3101 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3102 the NLS-related test results into one symbol.
3103 * src/functexcept.cc: Use it here.
3104 * aclocal.m4, config.h.in, configure: Regenerated.
3106 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3108 * include/bits/sstream.tcc (overflow): Instead of calling
3109 str(), then _M_string.reserve, thus copying the contents
3110 of the current buffer two times, just copy the latter in
3111 a temporary, then use the 'swap trick'.
3113 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3115 * include/std/std_sstream.h (str()): Revert the best of the
3116 previous 'improvement', incorrect due to the COW nature of
3117 v3 basic_string; simplify.
3119 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3121 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3122 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3124 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3126 * testsuite/abi_check.cc (check_version): Update known versions.
3127 Check added symbols for version_name != base version. Add missing
3128 symbols to incompatible list.
3130 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3132 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3133 * aclocal.m4: Regenerated.
3134 * configure: Regenerated.
3136 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3138 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3139 Const-ify some variables.
3140 (basic_streambuf::xsputn): Likewise; change the type of some
3141 variables to size_t.
3142 (__copy_streambufs): Change some variables to size_t.
3144 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3146 * include/std/std_sstream.h (str()): Avoid constructing
3147 a basic_string temporary not only when it would turn out
3148 to be zero-sized but also when identical to the current
3151 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3153 * include/ext/stdio_filebuf.h
3154 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3155 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3156 Shorten a bit (-10 lines) by factoring out some code.
3158 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3160 * acinclude.m4: Add bit missing from previous patch.
3161 * aclocal.m4, configure: Regenerated.
3163 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3165 * docs/doxygen/mainpage.html: Bring up to date.
3166 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3168 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3169 breaks everything. Don't scan them.
3170 * docs/html/documentation.html: Point to "Write after approval"
3173 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3175 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3176 of libc if message translations are being used. Fix info text in
3177 xieee_1003.1-2001 case.
3178 * aclocal.m4, configure: Regenerate.
3180 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3181 Loren J. Rittle <ljrittle@acm.org>
3182 Martin v. Loewis <martin@v.loewis.de>
3184 * config/cpu/i386/atomicity.h: New file.
3186 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3188 * include/bits/fstream.tcc (open): Change to single return.
3190 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3192 * include/std/std_sstream.h (underflow): Change to single return.
3194 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3196 * include/std/std_streambuf.h (_M_buf): is currently
3197 used only for basic_filebuf, therefore move it there.
3198 (basic_streambuf(), ~basic_streambuf()): Adjust.
3199 * include/std/std_fstream.h (_M_buf): Moved here.
3200 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3201 is actually redundant for basic_stringbuf.
3202 (_M_really_sync): Likewise.
3203 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3204 * include/bits/sstream.tcc (seekoff): Adjust.
3206 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3208 * src/localename.cc: Standardize exception strings.
3209 * src/locale.cc: Same.
3211 * include/bits/basic_string.tcc: Same.
3212 * include/bits/basic_ios.tcc: Same.
3213 * include/std/std_bitset.h: Same.
3214 * include/ext/ropeimpl.h: Same.
3215 * include/bits/stl_vector.h: Same.
3216 * include/bits/stl_deque.h: Same.
3217 * include/bits/stl_bvector.h: Same.
3218 * config/locale/generic/c_locale.cc: Same.
3219 * config/locale/gnu/c_locale.cc: Same.
3220 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3222 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3224 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3226 * include/std/std_streambuf.h (_M_buf_size): is currently
3227 used only for basic_filebuf, therefore move it there.
3228 (basic_streambuf(), ~basic_streambuf()): Adjust.
3229 * include/std/std_fstream.h (_M_buf_size): Moved here.
3230 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3232 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3234 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3235 _M_buf_size (synced input is now correctly dealt with
3236 elsewhere); when the output buffer is full don't fall back
3237 to a snextc-sputc loop, call overflow instead.
3239 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3241 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3242 the innermost 'if' by factoring out some code.
3244 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3246 * configure.in: Test for libintl.h.
3247 * include/bits/c++config: Define __N for everybody.
3248 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3249 include/bits/stl_deque.h, include/bits/stl_vector.h,
3250 include/std/std_bitset.h: Wrap all __throw* text with __N.
3251 * po/Makefile.am (pot): New rule, mostly working.
3252 * src/functexcept.cc: Call gettext on all __throw* arguments when
3253 -fexceptions is in effect.
3254 * po/Makefile.in, config.h.in, configure: Regenerate.
3256 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3259 * include/bits/ios_base.h (Init::_S_ios_create,
3260 Init::_S_ios_destroy): Remove declarations.
3261 (Init::_S_create_buffers,
3262 Init::_S_destroy_buffers): Declare
3263 * src/ios.cc (Init::_S_ios_create): Remove
3264 (Init::_S_create_buffers): Create buffers and add to streams.
3265 (Init::_S_ios_destroy): Rename to...
3266 (Init::_S_destroy_buffers): this.
3267 (Init::Init): Only construct streams once.
3268 (Init::~Init): Flush streams, don't destroy them.
3269 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3270 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3271 * testsuite/27_io/objects/char/5.cc: New test.
3272 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3273 * testsuite/27_io/objects/char/6.cc: New test.
3274 * testsuite/27_io/objects/char/7.cc: New test.
3276 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3278 * testsuite/27_io/objects/char/8.cc: New test.
3280 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3282 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3283 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3285 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3287 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3288 _M_destroy_pback. _M_pback_create to
3289 _M_create_pback. _M_underflow_common to
3290 _M_underflow. _M_really_overflow to _M_overflow.
3291 * include/bits/fstream.tcc: Same.
3292 * src/fstream.cc: Same.
3293 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3294 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3295 * include/bits/streambuf.tcc: Same.
3296 * include/bits/fstream.tcc: Same.
3297 * include/bits/sstream.tcc: Same.
3299 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3301 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3302 from fixed size array.
3303 (locale): Change _S_categories as well.
3305 * include/bits/locale_facets.tcc: Tweak.
3306 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3307 * config/locale/generic/c_locale.cc: Same.
3308 * src/locale.cc: Tweak.
3309 * src/globals.cc: Change facet_name to name_vec, add names_c.
3310 * src/localename.cc: Use them.
3311 (locale::_Impl::~_Impl): Destroy _M_names.
3312 (locale::_Impl::_Impl): Create _M_names.
3314 2003-04-27 Andreas Schwab <schwab@suse.de>
3316 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3317 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3319 2003-04-27 Nathan Myers <ncm@cantrip.org>
3321 Move some basic_string members out of line because
3322 they are too big to reasonably be inline.
3323 * include/bits/basic_string.h
3324 (assign(const basic_string&, size_type, size_type),
3325 assign(const _CharT*, size_type),
3326 insert(size_type, const basic_string&, size_type, size_type),
3327 insert(size_type, const _CharT*, size_type),
3328 replace(size_type, size_type, const _CharT*, size_type)):
3329 Move from here to...
3330 * include/bits/basic_string.tcc: ...here.
3332 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3334 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3335 the innermost 'if' by factoring out some code.
3337 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3339 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3340 use in_avail(), simplify.
3342 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3344 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3345 in basic_stringbuf it's unused.
3347 * include/std/std_sstream.h (underflow): consistently use
3348 _M_in_cur, not gptr().
3350 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3351 Phil Edwards <pme@gcc.gnu.org>
3353 * testsuite_flags.in: Guard against the possibility
3354 of having "xgcc" as a part of a folder name in the
3355 path to the GCC build folder.
3356 * testsuite/Makefile.am: Likewise.
3357 * testsuite/Makefile.in: Regenerated.
3359 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3362 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3363 exception specifications.
3364 (basic_filebuf::close): Same.
3365 (basic_filebuf::_M_pback_destroy): Same.
3366 (basic_filebuf::_M_destroy_internal_buffer): Same.
3367 (basic_filebuf): Remove __res_type typedef.
3368 * src/fstream.cc: Same.
3369 * include/bits/fstream.tcc
3370 (basic_filebuf::_M_convert_to_external): Simplify.
3371 (basic_filebuf::seekoff): Use has_facet before use_facet.
3372 (basic_filebuf::close): Add exception specification of throw().
3373 * testsuite/27_io/basic_filebuf/cons: New.
3374 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3375 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3376 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3377 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3379 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3381 * include/bits/locale_classes.h
3382 (locale::_S_extra_categories_size): Remove.
3383 * src/locale.cc: Remove _S_extra_categories_size.
3384 * src/localename.cc: Same.
3385 * config/locale/gnu/c_locale.cc: Same.
3386 * config/locale/generic/c_locale.cc: Same.
3388 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3390 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3392 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3394 * docs/html/17_intro/howto.html: Update some links.
3395 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3396 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3397 * docs/html/ext/howto.html: Link to demangler notes and API.
3398 * docs/html/faq/index.html: Remove trailing whitespace.
3399 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3400 (5.6): Change to a bulleted list.
3402 * docs/html/faq/index.txt, docs/html/documentation.html,
3403 docs/html/17_intro/porting.html: Regenerate.
3405 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3407 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3408 belongs to basic_filebuf.
3409 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3410 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3411 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3412 instantiation (now belongs to basic_filebuf).
3413 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3414 * testsuite/27_io/basic_istream/3.cc: Likewise.
3415 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3416 _S_pback_size now belongs to basic_filebuf.
3417 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3418 instantiation (now belongs to basic_filebuf).
3419 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3420 belongs to basic_filebuf.
3421 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3422 instantiation (now belongs to basic_filebuf).
3423 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3424 _S_pback_size now belongs to basic_filebuf.
3425 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3426 instantiation (now belongs to basic_filebuf).
3427 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3429 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3430 instantiation (now belongs to basic_filebuf).
3431 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3433 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3435 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3436 * configure: Regenerated.
3438 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3440 * config/locale/generic/c_locale.h (__convert_from_v): Use
3443 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3445 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3446 implementation only.
3447 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3448 Comment and change to comply with DR 60 and the effect on gcount().
3449 * include/std/std_istream.h: Update comments.
3450 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3451 comments about reasons for tests. Test sync() against gcount().
3452 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3453 for effect on gcount().
3454 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3455 for effect on gcount().
3457 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3459 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3462 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3464 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3465 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3466 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3467 (basic_streambuf::basic_streambuf()): Adjust.
3468 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3469 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3470 _M_pback_create(), _M_pback_destroy()): Moved here
3471 from basic_streambuf.
3472 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3474 (basic_filebuf::_S_pback_size): Add declaration.
3475 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3478 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3480 Consistently use _M_in_beg instead of eback(), _M_in_cur
3481 instead of gptr(), and so on.
3482 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3483 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3484 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3485 __copy_streambufs): Ditto.
3486 * include/std/std_streambuf.h (sgetc): Ditto.
3488 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3490 * include/bits/sstream.tcc (pbackfail, overflow):
3493 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3495 * include/std/std_streambuf.h (uflow()): It's used only by
3496 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3497 therefore do not consider the _M_buf_unified == true case.
3499 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3501 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3503 * docs/html/ext/howto.html ('LWG Issues'):
3504 Add issues 19, 90, 171, 231, 271.
3506 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3508 * include/bits/sstream.tcc (pbackfail): Remove redundant
3509 NULL pointer check from test involving _M_in_*.
3510 (overflow, seekoff, seekpos): Const qualify bool variables.
3511 * include/std/std_sstream.h (underflow): Remove redundant
3512 NULL pointer check from test involving _M_in_*.
3513 (_M_really_sync): Const qualify bool variables.
3514 * src/fstream.cc (_M_underflow_common): Remove redundant
3515 NULL pointer check from test involving _M_in_*, const qualify
3518 * include/std/std_streambuf.h (sgetc): Remove redundant
3521 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3523 According to 5.9 para 2 (second bullet) for pointers p, q
3524 pointing to the same type, with p == 0 and q == 0, (p < q)
3526 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3527 seekoff): Remove redundant NULL pointer checks from tests
3528 involving _M_out_* and _M_in_*, const qualify bool variables.
3529 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3530 qualify bool variables.
3531 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3532 Remove redundant NULL pointer checks from tests involving
3533 _M_out_* and _M_in_*, const qualify bool variables.
3534 * include/std/std_fstream.h (sync): Likewise.
3535 (_M_is_indeterminate): Const qualify bool variables.
3536 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3537 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3538 const qualify bool variables.
3539 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3542 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3544 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3545 C99 FP macros, if actually captured.
3547 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3548 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3549 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3550 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3551 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3553 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3554 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3555 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3556 * include/c_std/std_cstdlib.h: Use new macros.
3557 * include/c_std/std_cstdio.h: Use new macros.
3558 * include/c_std/std_cwchar.h: Use new macros.
3560 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3563 * include/bits/ostream.tcc: Catch all exceptions for formatted
3564 output, instead of std::exception and derivatives.
3565 * include/bits/istream.tcc: Same.
3566 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3567 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3568 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3569 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3570 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3571 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3574 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3576 * include/bits/c++config: Minor cosmetic tweaks.
3578 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3580 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3581 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3582 (pch_output): Rename to...
3583 (pch_output_builddir): ..this. Find in ${target_builddir}.
3584 (pch_source): Tweak.
3585 (pch_build): Key off a built file.
3586 (pch_output rule): Rename to...
3587 (pch_input rule): ...this. Produce ${pch_output_builddir}
3588 instead of ${pch_output}.
3589 (install-pch rule): Install ${pch_output_builddir}.
3590 * include/Makefile.in: Regenerated.
3592 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3594 * include/std/std_streambuf.h (setp): _M_out_lim, being
3595 the end limit of used put area, is set equal to _M_out_beg.
3597 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3599 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3600 * aclocal.m4: Regenerated.
3601 * configure.in: Remove old demangler bits.
3603 * configure: Regenerate.
3604 * config.h.in: Regenerate.
3605 * include/Makefile.am (allstamps): Now allstamped.
3606 (allcreated): Define this.
3607 (all-local): Use 'em.
3608 Conditionally define pch_build, pch_install based on
3610 (${pch_output}): New rule.
3611 (install-pch): New rule.
3612 (install-headers): New rule.
3613 (install-data-local): Install headers and conditionally pch.
3614 * include/Makefile.in: Regenerate.
3615 * testsuite_flags.in (--build-cxx): Use pch file.
3617 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3619 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3621 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3622 Paolo Carlini <pcarlini at unitus dot it>
3625 * docs/html/27_io/howto.html
3626 ('The buffering is screwing up my program!'): Explain that
3627 opening counts as an I/O operation.
3629 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
3631 * testsuite/thread/pthread1.cc: Enable for darwin test.
3632 * testsuite/thread/pthread2.cc: Same.
3633 * testsuite/thread/pthread3.cc: Same.
3634 * testsuite/thread/pthread4.cc: Same.
3635 * testsuite/thread/pthread5.cc: Same.
3636 * testsuite/thread/pthread6.cc: Same.
3638 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
3641 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3642 Populate it with multiple legal ways to obtain the C99 float
3643 transcendentals. Use them instead of direct global reference.
3644 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3645 * docs/html/17_intro/porting.texi
3646 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3647 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3648 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3649 * config/os/bsd/freebsd/os_defines.h
3650 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3651 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3652 * testsuite/26_numerics/c_math_dynamic.cc: New file.
3654 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3655 Benjamin Kosnik <bkoz@redhat.com>
3657 * config/os/generic/ctype_inline.h: Fix.
3659 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
3661 * testsuite/testsuite_hooks.h
3662 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3663 Change to try_named_locale.
3664 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3666 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3668 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3669 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3670 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3671 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3672 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3673 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3674 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3675 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3676 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3677 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3678 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3679 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3680 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3681 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3682 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3683 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3684 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3685 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3686 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3687 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3688 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3689 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3690 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3691 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3692 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3693 * testsuite/22_locale/collate/compare/char/1.cc: Same.
3694 * testsuite/22_locale/collate/compare/char/2.cc: Same.
3695 * testsuite/22_locale/collate/compare/char/3.cc: Same.
3696 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
3697 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
3698 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
3699 * testsuite/22_locale/collate/hash/char/2.cc: Same.
3700 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
3701 * testsuite/22_locale/collate/transform/char/2.cc: Same.
3702 * testsuite/22_locale/collate/transform/char/3.cc: Same.
3703 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
3704 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
3705 * testsuite/22_locale/collate_byname/1.cc: Same.
3706 * testsuite/22_locale/ctype/is/char/2.cc: Same.
3707 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
3708 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
3709 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
3710 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
3711 * testsuite/22_locale/facet/2.cc: Same.
3712 * testsuite/22_locale/locale/cons/2.cc: Same.
3713 * testsuite/22_locale/locale/cons/4.cc: Same.
3714 * testsuite/22_locale/locale/cons/5.cc: Same.
3715 * testsuite/22_locale/locale/cons/7.cc: Same.
3716 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
3717 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
3718 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
3719 * testsuite/22_locale/messages/members/char/1.cc: Same.
3720 * testsuite/22_locale/messages/members/char/2.cc: Same.
3721 * testsuite/22_locale/messages/members/char/3.cc: Same.
3722 * testsuite/22_locale/messages_byname/1.cc: Same.
3723 * testsuite/22_locale/money_get/get/char/1.cc: Same.
3724 * testsuite/22_locale/money_get/get/char/2.cc: Same.
3725 * testsuite/22_locale/money_get/get/char/3.cc: Same.
3726 * testsuite/22_locale/money_get/get/char/4.cc: Same.
3727 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
3728 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
3729 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
3730 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
3731 * testsuite/22_locale/money_put/put/char/1.cc: Same.
3732 * testsuite/22_locale/money_put/put/char/2.cc: Same.
3733 * testsuite/22_locale/money_put/put/char/3.cc: Same.
3734 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
3735 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
3736 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
3737 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
3738 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
3739 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
3740 * testsuite/22_locale/num_get/get/char/1.cc: Same.
3741 * testsuite/22_locale/num_get/get/char/2.cc: Same.
3742 * testsuite/22_locale/num_get/get/char/3.cc: Same.
3743 * testsuite/22_locale/num_get/get/char/5.cc: Same.
3744 * testsuite/22_locale/num_get/get/char/6.cc: Same.
3745 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
3746 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
3747 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
3748 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
3749 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
3750 * testsuite/22_locale/num_put/put/char/1.cc: Same.
3751 * testsuite/22_locale/num_put/put/char/2.cc: Same.
3752 * testsuite/22_locale/num_put/put/char/3.cc: Same.
3753 * testsuite/22_locale/num_put/put/char/5.cc: Same.
3754 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
3755 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
3756 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
3757 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
3758 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
3759 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
3760 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
3761 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
3762 * testsuite/22_locale/numpunct_byname/1.cc: Same.
3763 * testsuite/22_locale/numpunct_byname/2.cc: Same.
3764 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
3765 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
3766 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
3767 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
3768 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
3769 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
3770 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
3771 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
3772 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
3773 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
3774 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
3775 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
3776 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
3777 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
3778 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
3779 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
3780 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
3781 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
3782 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
3783 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
3784 * testsuite/22_locale/time_put/put/char/1.cc: Same.
3785 * testsuite/22_locale/time_put/put/char/2.cc: Same.
3786 * testsuite/22_locale/time_put/put/char/3.cc: Same.
3787 * testsuite/22_locale/time_put/put/char/4.cc: Same.
3788 * testsuite/22_locale/time_put/put/char/5.cc: Same.
3789 * testsuite/22_locale/time_put/put/char/6.cc: Same.
3790 * testsuite/22_locale/time_put/put/char/7.cc: Same.
3791 * testsuite/22_locale/time_put/put/char/8.cc: Same.
3792 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
3793 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
3794 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
3795 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
3796 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
3797 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
3798 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
3799 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
3800 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
3801 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
3802 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
3803 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
3804 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
3806 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3808 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
3809 solaris includes, not generic.
3811 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
3813 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
3815 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
3816 * include/bits/concept_check.h: Fix multi-line comment.
3817 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
3818 when target is *-*-freebsd*.
3820 2003-04-14 Nathan Myers <ncm@cantrip.org>
3821 Paolo Carlini <pcarlini@unitus.it>
3823 PR libstdc++/9701 (in_avail())
3824 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
3825 doesn't care if there is anything in some putback cell.
3826 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
3828 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
3829 unused string literals.
3831 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
3833 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
3834 _M_out_end, _M_set_indeterminate() does it.
3836 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3838 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
3840 2003-04-12 David Edelsohn <edelsohn@gnu.org>
3842 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3843 Change basic_streambuf instantiation to "unsigned char".
3844 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3846 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3848 Remove _M_buf_size_opt, use directly _M_buf_size instead.
3849 * include/bits/fstream.tcc
3850 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
3851 references to _M_buf_size_opt.
3852 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
3853 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
3854 __bufsize to __in_avail and __size_opt to __buf_size.
3855 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
3856 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
3857 * include/std/std_streambuf.h (~basic_streambuf(),
3858 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
3859 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
3860 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3861 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
3862 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
3863 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
3864 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
3865 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
3866 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
3867 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3868 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3869 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3870 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3872 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
3874 * include/ext/stdio_filebuf.h
3875 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
3876 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
3877 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
3878 since a stack-based buffer is used for small values of the size_t
3880 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
3881 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
3882 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
3884 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3887 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
3888 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
3890 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3892 * testsuite/22_locale/locale/cons/3.cc: Split.
3893 * testsuite/22_locale/locale/cons/7222-c.cc: New.
3894 * testsuite/22_locale/locale/cons/7222-env.cc: New.
3895 Check before trying to create a locale from the environment.
3896 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
3897 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3900 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3902 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
3903 locale to construct this hybrid locale, not the global locale.
3905 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3907 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
3908 instantiation for AIX.
3909 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3910 * testsuite/25_algorithms/min_max.cc: Same.
3912 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3914 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
3915 twice. Always set _M_cfile to 0 when stream was open.
3917 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
3919 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
3920 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
3921 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
3922 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
3923 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
3924 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
3925 ifstream_members.cc, instantiations.cc, ios.cc,
3926 ios_base_callbacks.cc, ios_base_members_static-1.tst,
3927 ios_base_members_static.cc, ios_base_storage.cc,
3928 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
3929 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
3930 iostream.cc, iostream_members.cc, istream.cc,
3931 istream_exception.cc, istream_extractor_char.cc,
3932 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
3933 istream_extractor_other-2.tst, istream_extractor_other.cc,
3934 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
3935 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
3936 istream_sentry.cc, istream_unformatted-1.tst,
3937 istream_unformatted-1.txt, istream_unformatted.cc,
3938 istringstream.cc, istringstream_members.cc,
3939 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
3940 ofstream_members.cc, ostream.cc, ostream_exception.cc,
3941 ostream_fail.cc, ostream_inserter_arith.cc,
3942 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
3943 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
3944 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
3945 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
3946 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
3947 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
3948 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
3949 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
3950 wide_stream_objects.cc, istream_extractor_arith/01.cc,
3951 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
3952 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
3953 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
3954 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
3955 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
3957 * 27_io/basic_filebuf/1.cc: New.
3958 * 27_io/basic_filebuf/2.cc: New.
3959 * 27_io/basic_filebuf/3.cc: New.
3960 * 27_io/basic_filebuf/4.cc: New.
3961 * 27_io/basic_filebuf/close/char/1.cc: New.
3962 * 27_io/basic_filebuf/close/char/2.cc: New.
3963 * 27_io/basic_filebuf/close/char/3.cc: New.
3964 * 27_io/basic_filebuf/close/char/4879.cc: New.
3965 * 27_io/basic_filebuf/close/char/9964.cc: New.
3966 * 27_io/basic_filebuf/imbue/char/1.cc: New.
3967 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
3968 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
3969 * 27_io/basic_filebuf/is_open/char/1.cc: New.
3970 * 27_io/basic_filebuf/open/char/1.cc: New.
3971 * 27_io/basic_filebuf/open/char/2.cc: New.
3972 * 27_io/basic_filebuf/open/char/3.cc: New.
3973 * 27_io/basic_filebuf/open/char/9507.cc: New.
3974 * 27_io/basic_filebuf/overflow/char/1.cc: New.
3975 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
3976 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
3977 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
3978 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
3979 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
3980 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
3981 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
3982 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
3983 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
3984 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
3985 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
3986 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
3987 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
3988 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
3989 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
3990 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
3991 * 27_io/basic_filebuf/snextc/char/1.cc: New.
3992 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
3993 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
3994 * 27_io/basic_filebuf/sputc/char/1.cc: New.
3995 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
3996 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
3997 * 27_io/basic_filebuf/sputn/char/1.cc: New.
3998 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
3999 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4000 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4001 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4002 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4003 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4004 * 27_io/basic_fstream/1.cc: New.
4005 * 27_io/basic_fstream/2.cc: New.
4006 * 27_io/basic_fstream/3.cc: New.
4007 * 27_io/basic_fstream/4.cc: New.
4008 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4009 * 27_io/basic_ifstream/1.cc: New.
4010 * 27_io/basic_ifstream/2.cc: New.
4011 * 27_io/basic_ifstream/3.cc: New.
4012 * 27_io/basic_ifstream/4.cc: New.
4013 * 27_io/basic_ifstream/cons/char/1.cc: New.
4014 * 27_io/basic_ifstream/open/char/1.cc: New.
4015 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4016 * 27_io/basic_ios/1.cc: New.
4017 * 27_io/basic_ios/2.cc: New.
4018 * 27_io/basic_ios/3.cc: New.
4019 * 27_io/basic_ios/4.cc: New.
4020 * 27_io/basic_ios/clear/char/1.cc: New.
4021 * 27_io/basic_ios/cons/char/1.cc: New.
4022 * 27_io/basic_ios/cons/char/2.cc: New.
4023 * 27_io/basic_ios/cons/char/3.cc: New.
4024 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4025 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4026 * 27_io/basic_ios/exceptions/char/1.cc: New.
4027 * 27_io/basic_ios/locales/char/1.cc: New.
4028 * 27_io/basic_iostream/1.cc: New.
4029 * 27_io/basic_iostream/2.cc: New.
4030 * 27_io/basic_iostream/3.cc: New.
4031 * 27_io/basic_iostream/4.cc: New.
4032 * 27_io/basic_istream/1.cc: New.
4033 * 27_io/basic_istream/2.cc: New.
4034 * 27_io/basic_istream/3.cc: New.
4035 * 27_io/basic_istream/4.cc: New.
4036 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4037 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4038 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4039 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4040 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4041 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4042 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4043 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4044 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4045 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4046 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4047 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4048 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4049 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4050 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4051 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4052 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4053 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4054 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4055 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4056 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4057 * 27_io/basic_istream/get/char/1.cc: New.
4058 * 27_io/basic_istream/get/char/2.cc: New.
4059 * 27_io/basic_istream/getline/char/1.cc: New.
4060 * 27_io/basic_istream/getline/char/2.cc: New.
4061 * 27_io/basic_istream/getline/char/3.cc: New.
4062 * 27_io/basic_istream/ignore/char/1.cc: New.
4063 * 27_io/basic_istream/ignore/char/6360.cc: New.
4064 * 27_io/basic_istream/ignore/char/7220.cc: New.
4065 * 27_io/basic_istream/peek/char/1.cc: New.
4066 * 27_io/basic_istream/peek/char/6414.cc: New.
4067 * 27_io/basic_istream/putback/char/1.cc: New.
4068 * 27_io/basic_istream/read/char/1.cc: New.
4069 * 27_io/basic_istream/read/char/2.cc: New.
4070 * 27_io/basic_istream/read/char/3.cc: New.
4071 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4072 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4073 * 27_io/basic_istream/readsome/char/8258.cc: New.
4074 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4075 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4076 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4077 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4078 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4079 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4080 * 27_io/basic_istream/sentry/char/1.cc: New.
4081 * 27_io/basic_istream/sentry/char/2.cc: New.
4082 * 27_io/basic_istream/sentry/char/3.cc: New.
4083 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4084 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4085 * 27_io/basic_istream/tellg/char/1.cc: New.
4086 * 27_io/basic_istream/tellg/char/8348.cc: New.
4087 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4088 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4089 * 27_io/basic_istream/ws/char/1.cc: New.
4090 * 27_io/basic_istringstream/1.cc: New.
4091 * 27_io/basic_istringstream/2.cc: New.
4092 * 27_io/basic_istringstream/3.cc: New.
4093 * 27_io/basic_istringstream/4.cc: New.
4094 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4095 * 27_io/basic_istringstream/str/char/1.cc: New.
4096 * 27_io/basic_ofstream/1.cc: New.
4097 * 27_io/basic_ofstream/2.cc: New.
4098 * 27_io/basic_ofstream/3.cc: New.
4099 * 27_io/basic_ofstream/4.cc: New.
4100 * 27_io/basic_ofstream/cons/char/2.cc: New.
4101 * 27_io/basic_ofstream/open/char/1.cc: New.
4102 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4103 * 27_io/basic_ostream/1.cc: New.
4104 * 27_io/basic_ostream/2.cc: New.
4105 * 27_io/basic_ostream/3.cc: New.
4106 * 27_io/basic_ostream/4.cc: New.
4107 * 27_io/basic_ostream/cons/char/9827.cc: New.
4108 * 27_io/basic_ostream/endl/char/1.cc: New.
4109 * 27_io/basic_ostream/ends/char/1.cc: New.
4110 * 27_io/basic_ostream/ends/char/2.cc: New.
4111 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4112 * 27_io/basic_ostream/flush/char/1.cc: New.
4113 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4114 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4115 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4116 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4117 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4118 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4119 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4120 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4121 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4122 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4123 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4124 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4125 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4126 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4127 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4128 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4129 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4130 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4131 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4132 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4133 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4134 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4135 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4136 * 27_io/basic_ostream/sentry/char/1.cc: New.
4137 * 27_io/basic_ostream/sentry/char/2.cc: New.
4138 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4139 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4140 * 27_io/basic_ostream/tellp/char/1.cc: New.
4141 * 27_io/basic_ostream/tellp/char/2.cc: New.
4142 * 27_io/basic_ostringstream/1.cc: New.
4143 * 27_io/basic_ostringstream/2.cc: New.
4144 * 27_io/basic_ostringstream/3.cc: New.
4145 * 27_io/basic_ostringstream/4.cc: New.
4146 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4147 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4148 * 27_io/basic_ostringstream/str/char/1.cc: New.
4149 * 27_io/basic_ostringstream/str/char/2.cc: New.
4150 * 27_io/basic_streambuf/1.cc: New.
4151 * 27_io/basic_streambuf/2.cc: New.
4152 * 27_io/basic_streambuf/3.cc: New.
4153 * 27_io/basic_streambuf/cons/char/1.cc: New.
4154 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4155 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4156 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4157 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4158 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4159 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4160 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4161 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4162 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4163 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4164 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4165 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4166 * 27_io/basic_stringbuf/1.cc: New.
4167 * 27_io/basic_stringbuf/2.cc: New.
4168 * 27_io/basic_stringbuf/3.cc: New.
4169 * 27_io/basic_stringbuf/4.cc: New.
4170 * 27_io/basic_stringbuf/5.cc: New.
4171 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4172 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4173 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4174 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4175 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4176 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4177 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4178 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4179 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4180 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4181 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4182 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4183 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4184 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4185 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4186 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4187 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4188 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4189 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4190 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4191 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4192 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4193 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4194 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4195 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4196 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4197 * 27_io/basic_stringbuf/str/char/1.cc: New.
4198 * 27_io/basic_stringbuf/str/char/2.cc: New.
4199 * 27_io/basic_stringbuf/str/char/3.cc: New.
4200 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4201 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4202 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4203 * 27_io/basic_stringstream/1.cc: New.
4204 * 27_io/basic_stringstream/2.cc: New.
4205 * 27_io/basic_stringstream/3.cc: New.
4206 * 27_io/basic_stringstream/4.cc: New.
4207 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4208 * 27_io/basic_stringstream/str/char/1.cc: New.
4209 * 27_io/basic_stringstream/str/char/2.cc: New.
4210 * 27_io/basic_stringstream/str/char/3.cc: New.
4211 * 27_io/basic_stringstream/str/char/4.cc: New.
4212 * 27_io/fpos/1.cc: New.
4213 * 27_io/fpos/2.cc: New.
4214 * 27_io/fpos/3.cc: New.
4215 * 27_io/ios_base/callbacks/1.cc: New.
4216 * 27_io/ios_base/state/1.cc: New.
4217 * 27_io/ios_base/storage/1.cc: New.
4218 * 27_io/ios_base/storage/2.cc: New.
4219 * 27_io/ios_base/storage/3.cc: New.
4220 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4221 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4222 * 27_io/manipulators/adjustfield/char/1.cc: New.
4223 * 27_io/manipulators/adjustfield/char/2.cc: New.
4224 * 27_io/manipulators/basefield/char/1.cc: New.
4225 * 27_io/manipulators/standard/char/1.cc: New.
4226 * 27_io/manipulators/standard/char/2.cc: New.
4227 * 27_io/objects/char/1.cc: New.
4228 * 27_io/objects/char/2.cc: New.
4229 * 27_io/objects/char/2523-1_xin.cc: New.
4230 * 27_io/objects/char/2523-1_xin.in: New.
4231 * 27_io/objects/char/2523-2_xin.cc: New.
4232 * 27_io/objects/char/2523-2_xin.in: New.
4233 * 27_io/objects/char/3045.cc: New.
4234 * 27_io/objects/char/3647.cc: New.
4235 * 27_io/objects/char/3_xin.cc: New.
4236 * 27_io/objects/char/3_xin.in: New.
4237 * 27_io/objects/char/4_xin.cc: New.
4238 * 27_io/objects/char/4_xin.in: New.
4239 * 27_io/objects/char/5268.cc: New.
4240 * 27_io/objects/char/5280_xin.cc: New.
4241 * 27_io/objects/char/5280_xin.in: New.
4242 * 27_io/objects/char/6548_xin.cc: New.
4243 * 27_io/objects/char/6548_xin.in: New.
4244 * 27_io/objects/char/6648-1_xin.cc: New.
4245 * 27_io/objects/char/6648-1_xin.in: New.
4246 * 27_io/objects/char/6648-2_xin.cc: New.
4247 * 27_io/objects/char/6648-2_xin.in: New.
4248 * 27_io/objects/char/7744_xin.cc: New.
4249 * 27_io/objects/char/7744_xin.in: New.
4250 * 27_io/objects/wchar_t/1.cc: New.
4251 * 27_io/types/1.cc: New.
4252 * 27_io/types/2.cc: New.
4253 * data/filebuf_members-1.tst: New.
4254 * data/filebuf_members-1.txt: New.
4255 * data/filebuf_virtuals-1.tst: New.
4256 * data/filebuf_virtuals-1.txt: New.
4257 * data/filebuf_virtuals-2.tst: New.
4258 * data/filebuf_virtuals-3.tst: New.
4259 * data/ifstream_members-1.tst: New.
4260 * data/ifstream_members-1.txt: New.
4261 * data/ios_base_members_static-1.tst: New.
4262 * data/istream_extractor_other-1.tst: New.
4263 * data/istream_extractor_other-1.txt: New.
4264 * data/istream_extractor_other-2.tst: New.
4265 * data/istream_seeks-1.tst: New.
4266 * data/istream_seeks-1.txt: New.
4267 * data/istream_seeks-2.tst: New.
4268 * data/istream_seeks-3.tst: New.
4269 * data/istream_unformatted-1.tst: New.
4270 * data/istream_unformatted-1.txt: New.
4271 * data/ofstream_members-1.tst: New.
4272 * data/ostream_inserter_char-1.tst: New.
4273 * data/ostream_inserter_char-1.txt: New.
4274 * data/ostream_inserter_other-1.tst: New.
4275 * data/ostream_inserter_other-2.tst: New.
4276 * data/ostream_seeks-1.tst: New.
4278 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4280 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4281 requirement that __mode must be strict input or output.
4283 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4286 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4287 output string shouldn't core.
4288 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4290 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4292 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4295 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4297 * testsuite/data: New directory.
4298 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4299 to copy files from the testsuite data directory.
4300 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4301 testfiles containing _xin, which now means this is an interactive
4302 test and should be run with the interactive dejagnu hooks.
4303 * testsuite/Makefile.am: Remove testsuite_* files.
4304 * testsuite/Makefile.in: Regenerate.
4306 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4308 * docs/html/install.html: Document complete list of locales
4309 required by test suite. Document procedure for installing
4310 said locales under Debian. Solicit instructions for other
4313 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4315 * include/bits/sstream.tcc (overflow): Make sure operands of min
4316 and max have the same type.
4318 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4321 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4324 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4326 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4327 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4328 Don't set _M_out_end.
4329 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4330 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4331 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4332 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4333 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4334 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4335 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4336 _M_out_end - _M_out_cur.
4337 (__copy_streambufs): Likewise.
4338 * include/std/std_fstream.h (_M_set_determinate): Set
4341 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4343 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4344 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4345 test for synced buffer.
4346 * include/std/std_fstream.h (sync): Likewise.
4347 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4348 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4350 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4352 * include/std/std_sstream.h (basic_istringstream): Adjust
4354 (basic_ostringstream): Same.
4355 (basic_stringstream): Same.
4356 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4357 (basic_ofstream): Same.
4358 (basic_fstream): Same.
4359 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4360 that does not call init.
4361 * include/std/std_istream.h (basic_istream): Same.
4362 (basic_iostream): Construct istream, ostream uninitialized, use
4363 init to initialize just once. Add protected ctor that does not
4366 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4367 Nathan Myers <ncm@cantrip.org>
4370 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4372 (basic_filebuf<>::showmanyc): Use the information provided
4373 by codecvt and __basic_file<>::showmanyc_helper to implement
4374 a non-trivial showmanyc.
4375 * config/io/basic_file_stdio.h
4376 (__basic_file<>::showmanyc_helper): New, declare.
4377 * config/io/basic_file_stdio.cc
4378 (__basic_file<>::showmanyc_helper): Define.
4379 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4380 (__basic_file<char>::open): Don't call fcntl().
4381 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4382 GLIBCPP_CHECK_POLL): New macros.
4383 * configure.in: Call here.
4384 * acconfig.h: Add #undefs for the corresponding symbols.
4385 * aclocal.m4: Regenerate.
4386 * configure: Regenerate.
4387 * config.h.in: Regenerate.
4389 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4391 * config/linker-map.gnu: Remove string export restrictions.
4393 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4395 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4396 find_first_of, find_last_of and find_last_not_of tests.
4397 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4398 tests here, new file.
4399 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4400 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4401 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4402 wchar_t find_first_of tests here, new file.
4403 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4405 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4407 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4408 wchar_t find_last_of tests here.
4409 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4410 wchar_t find_last_not_of tests here.
4412 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4414 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4415 Correct return value.
4417 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4420 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4421 * include/std/std_complex.h (norm): Use faster,
4422 less accurate computation for builtin float types under --fast-math.
4424 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4426 * testsuite/testsuite_hooks.h: Fix warning nits.
4428 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4430 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4431 Only .set mips2 for the o32 ABI.
4433 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4435 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4436 Test char not wchar_t.
4438 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4440 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4441 Correct size, taking into account sizeof(wchar_t).
4443 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4445 Reshuffle 21_strings testsuite.
4446 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4447 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4448 element_access.cc, operations.cc, char_traits_requirements.cc,
4449 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4450 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4451 wchar_t tests as follows.
4452 * 21_strings/basic_string/append/char/1.cc: New.
4453 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4454 * 21_strings/basic_string/assign/char/1.cc: New.
4455 * 21_strings/basic_string/assign/char/2.cc: New.
4456 * 21_strings/basic_string/assign/char/3.cc: New.
4457 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4458 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4459 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4460 * 21_strings/basic_string/capacity/1.cc: New.
4461 * 21_strings/basic_string/capacity/char/1.cc: New.
4462 * 21_strings/basic_string/capacity/char/2.cc: New.
4463 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4464 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4465 * 21_strings/basic_string/compare/char/1.cc: New.
4466 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4467 * 21_strings/basic_string/cons/char/1.cc: New.
4468 * 21_strings/basic_string/cons/char/2.cc: New.
4469 * 21_strings/basic_string/cons/char/3.cc: New.
4470 * 21_strings/basic_string/cons/char/4.cc: New.
4471 * 21_strings/basic_string/cons/char/5.cc: New.
4472 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4473 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4474 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4475 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4476 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4477 * 21_strings/basic_string/element_access/char/1.cc: New.
4478 * 21_strings/basic_string/element_access/char/2.cc: New.
4479 * 21_strings/basic_string/element_access/char/3.cc: New.
4480 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4481 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4482 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4483 * 21_strings/basic_string/find/char/1.cc: New.
4484 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4485 * 21_strings/basic_string/insert/char/1.cc: New.
4486 * 21_strings/basic_string/insert/char/2.cc: New.
4487 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4488 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4489 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4490 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4491 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4492 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4493 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4494 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4495 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4496 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4497 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4498 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4499 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4500 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4501 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4502 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4503 * 21_strings/basic_string/operators/char/1.cc: New.
4504 * 21_strings/basic_string/operators/char/2.cc: New.
4505 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4506 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4507 * 21_strings/basic_string/replace/char/1.cc: New.
4508 * 21_strings/basic_string/replace/char/2.cc: New.
4509 * 21_strings/basic_string/replace/char/3.cc: New.
4510 * 21_strings/basic_string/replace/char/4.cc: New.
4511 * 21_strings/basic_string/replace/char/5.cc: New.
4512 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4513 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4514 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4515 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4516 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4517 * 21_strings/basic_string/rfind/char/1.cc: New.
4518 * 21_strings/basic_string/rfind/char/2.cc: New.
4519 * 21_strings/basic_string/rfind/char/3.cc: New.
4520 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4521 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4522 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4523 * 21_strings/basic_string/substr/char/1.cc: New.
4524 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4525 * 21_strings/c_strings/char/1.cc: New.
4526 * 21_strings/c_strings/char/2.cc: New.
4527 * 21_strings/c_strings/wchar_t/1.cc: New.
4528 * 21_strings/c_strings/wchar_t/2.cc: New.
4529 * 21_strings/char_traits/requirements/char/1.cc: New.
4530 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4531 * 21_strings/char_traits/typedefs/char/1.cc: New.
4533 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4534 Petur Runolfsson <peturr02@ru.is>
4537 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4538 basic_filebuf<wchar_t>::_M_underflow_common):
4539 if (gptr() < egptr()) return *gptr().
4540 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4542 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4543 changes: unlink fifo before making it, fix spelling error.
4545 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4547 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4548 * testsuite/Makefile.in: Regenerate.
4549 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4552 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4555 * include/bits/fstream.tcc (basic_filebuf::close):
4556 Always close file, even when write fails.
4557 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4559 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4561 * libsupc++/Makefile.am (C_COMPILE): Remove.
4562 (LTCOMPILE): Likewise.
4563 * libsupc++/Makefile.in: Regenerate.
4565 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4567 * testsuite/23_containers/bitset_members.cc: Add test variable.
4568 * testsuite/23_containers/map_insert.cc: Same.
4569 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4570 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4571 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4572 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4573 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4574 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4575 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4576 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4577 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4578 * testsuite/27_io/istream_exception.cc: Same.
4579 * testsuite/27_io/filebuf_virtuals.cc: Same.
4580 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4581 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4582 * testsuite/26_numerics/valarray_operators.cc: Same.
4583 * testsuite/26_numerics/slice.cc: Same.
4584 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4585 * testsuite/24_iterators/istream_iterator.cc: Same.
4586 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4588 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4592 * config/locale/generic/ctype_members.cc,
4593 * config/locale/gnu/ctype_members.cc
4594 (ctype<wchar_t>::do_widen(char)): Cast argument to
4595 unsigned char before passing to btowc.
4596 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4597 Convert characters with btowc instead of mbsrtowcs.
4598 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4600 Convert characters with wctob instead of wcsrtombs.
4601 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4602 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4603 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4605 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4607 * include/stdc++.h: New.
4608 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4609 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4610 * include/Makefile.in: Regenerate.
4611 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4612 (--cxxflags): Put -g -O2 here.
4613 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4615 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4617 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4618 missing named locale.
4620 2003-03-14 Andreas Schwab <schwab@suse.de>
4622 * configure.in: Only append to makefiles that are newly created to
4623 avoid multiple multi-do/multi-clean rules.
4624 * configure: Rebuilt.
4626 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
4628 * docs/html/configopts.html, docs/html/documentation.html,
4629 docs/html/explanations.html, docs/html/install.html,
4630 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
4631 invalid XHTML and make page header style consistent.
4633 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
4635 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
4636 * docs/html/faq/index.txt: Regenerate.
4637 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
4639 2003-03-12 Andreas Schwab <schwab@suse.de>
4641 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
4642 glibcpp_toolexeclibdir.
4643 * aclocal.m4, configure: Rebuilt.
4645 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
4647 * docs/html/faq/index.html: Update text about location of headers.
4648 * docs/html/faq/index.txt: Regenerate.
4650 2003-03-11 Carlo Wood <carlo@alinoe.com>
4652 * include/bits/demangle.h: Prepend accessors of
4653 class qualifier with 'get_' in order to fix warnings
4654 when compiling with -Wshadow.
4656 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
4658 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
4660 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
4662 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
4663 report lack of setenv().
4665 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4667 * config/io/basic_file_stdio.cc: include <unistd.h>.
4669 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4670 Nathan Myers <ncm@cantrip.org>
4673 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
4674 seekoff, seekpos): Add a boolean parameter __stdio.
4675 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
4676 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
4677 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
4679 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
4680 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
4681 * include/std/std_fstream.h (sync): Likewise.
4682 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
4683 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
4684 libstdc++/8399 commit involving isatty(0).
4685 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
4686 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
4687 * configure.in: Remove call.
4688 * aclocal.m4: Regenerate.
4689 * config.h.in: Regenerate.
4690 * configure: Regenerate.
4691 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
4693 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4696 * include/bits/fstream.tcc (overflow): don't write EOF to file.
4697 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
4699 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4702 * include/bits/basic_ios.h (_M_setstate): New.
4703 * include/bits/ostream.tcc (operator<<): Use it.
4704 * include/bits/istream.tcc (operator>>): Use it.
4705 * include/std/std_ostream.h (operator<<): Make friends.
4706 * include/std/std_istream.h (operator>>): Make friends.
4707 * testsuite/27_io/ostream_exception.cc,
4708 testsuite/27_io/istream_exception.cc: New tests.
4710 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
4712 * include/bits/locale_facets.tcc: Fix typo.
4714 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
4716 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
4718 * config/locale/generic/c_locale.cc
4719 (locale::facet::_S_create_c_locale): Throw runtime exception when
4720 unsupported language is specified.
4721 * testsuite/testsuite_hooks.h
4722 (run_test_wrapped_generic_locale_exception_catcher): New function.
4723 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
4724 Suppress runtime exception thrown by generic implementation.
4725 (run_tests_wrapped_env): Likewise.
4726 (run_test_wrapped_generic_locale_exception_catcher): New function.
4727 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
4728 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
4729 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
4730 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
4731 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
4732 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
4733 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
4734 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
4735 * testsuite/22_locale/facet/2.cc: New test wrap.
4736 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
4737 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
4738 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
4739 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
4740 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
4741 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
4742 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
4743 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
4744 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
4745 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
4746 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
4747 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
4748 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
4749 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
4750 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
4751 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
4752 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
4753 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
4754 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
4755 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
4756 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
4757 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
4758 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
4759 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
4760 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
4761 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
4762 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
4763 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
4764 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
4765 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
4766 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
4767 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
4768 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
4769 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
4770 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
4771 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
4772 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
4773 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
4774 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
4775 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
4776 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
4777 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
4778 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
4779 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
4780 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
4781 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
4782 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
4783 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
4784 * testsuite/27_io/ios_members.cc: New test wrap.
4785 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
4787 * testsuite/27_io/streambuf_members.cc: New test wrap.
4788 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
4790 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
4791 Petur Runolfsson <peturr02@ru.is>
4794 * include/bits/streambuf.tcc (__copy_streambufs): Use
4795 sgetn-sputn only when sputn cannot fail, otherwise fall back
4796 to safe snextc-sputc.
4797 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
4799 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4801 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
4802 locale cache for truename and falsename.
4804 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4806 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
4807 _M_word_size initialization.
4809 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4811 * include/bits/fstream.tcc (_M_convert_to_external):
4812 Set __elen to zero if codecvt::out eventually fails.
4814 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4817 * include/bits/fstream.tcc (_M_really_overflow): Check
4818 for _M_convert_to_external possible failures.
4819 * include/std/std_fstream.h (sync): Check _M_really_overflow
4820 return value and return -1 in case of failure.
4821 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
4823 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
4826 * include/bits/istream.tcc (operator>>(_CharT*),
4827 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
4828 * testsuite/27_io/stringstream.cc (test02): Add.
4830 * include/bits/istream.tcc (operator>>(_CharT*)):
4831 Assign a char_type to *__s.
4833 2003-03-07 Petur Runolfsson <peturr02@ru.is>
4836 * include/bits/locale_facets.tcc
4837 (collate::do_compare, collate::do_transform):
4838 Handle nul characters in input.
4839 * testsuite/22_locale/collate/compare/char/3.cc: New test.
4840 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
4841 * testsuite/22_locale/collate/transform/char/3.cc: New test.
4842 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
4844 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
4846 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
4848 * testsuite/27_io/ostream_fail.cc: New test.
4850 2003-03-07 Matthias Klose <doko@debian.org>
4852 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
4853 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
4854 * Makefile.in: Regenerate.
4855 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
4857 AM_MAKEFLAGS: Pass gxx_include_dir.
4858 * libsupc++/Makefile.in: Regenerate.
4860 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
4862 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
4863 mask. Test setting small-numbered pword and iword slots. Test
4864 behavior at limit of numeric_limits::max. Check that values are
4865 still good after failures.
4867 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
4869 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
4870 (ios_base::ios_base): Set _M_word, _M_word_size.
4871 (ios_base::~ios_base): Remove redundant test.
4872 * testsuite/27_io/ios_base_storage.cc (test03): New.
4874 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
4876 * src/strstream.cc, include/bits/basic_string.tcc: Remove
4877 incorrect whitespace added in my previous change.
4879 2003-03-05 Carlo Wood <carlo@alinoe.com>
4881 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
4882 _S_initialized() in order to allow debugging libraries to detect
4883 when the std streams are initialized from an overloaded operator
4886 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
4888 * libsupc++/demangle.h: Move to..
4889 * include/bits/demangle.h: ...here.
4890 * src/demangle.cc: Adjust include.
4891 * include/Makefile.am (bits_headers): Add.
4892 * include/Makefile.in: Regenerate.
4894 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
4896 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
4898 * config/linker-map.gnu: Filter typeinfo and vtable info.
4900 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
4902 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
4903 new failure. Throw exception if badbit and exception mask when ix
4904 >= numeric_limits<int>::max().
4906 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
4908 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
4909 min and max have the same type.
4910 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
4912 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
4914 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
4915 * include/Makefile.in: Regenerate.
4917 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
4919 * testsuite/abi_check.cc (report_symbol_info): Add version info.
4921 * config/linker-map.gnu: Hide more stuff.
4922 * include/Makefile.am: Cleanups.
4923 * include/Makefile.in: Regenerate.
4925 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
4927 * config/locale/generic/messages_members.h (messages::messages):
4928 Remove name from unused parameter.
4930 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
4932 * src/Makefile.am (sources): Add demangle.cc.
4935 * src/Makefile.in: Regenerate.
4936 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
4937 * libsupc++/Makefile.in: Regenerate.
4939 * testsuite/testsuite_hooks.h
4940 (__gnu_cxx_test::verify_demangle): New.
4941 * testsuite/testsuite_hooks.cc: Define.
4943 2003-02-27 Carlo Wood <carlo@alinoe.com>
4945 * src/demangle.cc: New.
4946 * libsupc++/demangle.h: New.
4948 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
4949 Carlo Wood <carlo@alinoe.com>
4951 * testsuite/demangle/abi_examples/01.cc: New.
4952 * testsuite/demangle/abi_examples/02.cc: New.
4953 * testsuite/demangle/abi_examples/03.cc: New.
4954 * testsuite/demangle/abi_examples/04.cc: New.
4955 * testsuite/demangle/abi_examples/05.cc: New.
4956 * testsuite/demangle/abi_examples/06.cc: New.
4957 * testsuite/demangle/abi_examples/07.cc: New.
4958 * testsuite/demangle/abi_examples/08.cc: New.
4959 * testsuite/demangle/abi_examples/09.cc: New.
4960 * testsuite/demangle/abi_examples/10.cc: New.
4961 * testsuite/demangle/abi_examples/11.cc: New.
4962 * testsuite/demangle/abi_examples/12.cc: New.
4963 * testsuite/demangle/abi_examples/13.cc: New.
4964 * testsuite/demangle/abi_examples/14.cc: New.
4965 * testsuite/demangle/abi_examples/15.cc: New.
4966 * testsuite/demangle/abi_examples/16.cc: New.
4967 * testsuite/demangle/abi_examples/17.cc: New.
4968 * testsuite/demangle/abi_examples/18.cc: New.
4969 * testsuite/demangle/abi_examples/19.cc: New.
4970 * testsuite/demangle/abi_examples/20.cc: New.
4971 * testsuite/demangle/abi_examples/21.cc: New.
4972 * testsuite/demangle/abi_examples/22.cc: New.
4973 * testsuite/demangle/abi_examples/23.cc: New.
4974 * testsuite/demangle/abi_examples/24.cc: New.
4975 * testsuite/demangle/abi_examples/25.cc: New.
4976 * testsuite/demangle/abi_examples/26.cc: New.
4977 * testsuite/demangle/abi_text/01.cc: New.
4978 * testsuite/demangle/abi_text/02.cc: New.
4979 * testsuite/demangle/abi_text/03.cc: New.
4980 * testsuite/demangle/abi_text/04.cc: New.
4981 * testsuite/demangle/abi_text/05.cc: New.
4982 * testsuite/demangle/abi_text/06.cc: New.
4983 * testsuite/demangle/abi_text/07.cc: New.
4984 * testsuite/demangle/abi_text/08.cc: New.
4985 * testsuite/demangle/abi_text/09.cc: New.
4986 * testsuite/demangle/abi_text/10.cc: New.
4987 * testsuite/demangle/abi_text/11.cc: New.
4988 * testsuite/demangle/abi_text/12.cc: New.
4989 * testsuite/demangle/abi_text/13.cc: New.
4990 * testsuite/demangle/abi_text/14.cc: New.
4991 * testsuite/demangle/regression/3111-1.cc: New.
4992 * testsuite/demangle/regression/3111-2.cc: New.
4993 * testsuite/demangle/regression/7986-01.cc: New.
4994 * testsuite/demangle/regression/7986-02.cc: New.
4995 * testsuite/demangle/regression/7986-03.cc: New.
4996 * testsuite/demangle/regression/7986-04.cc: New.
4997 * testsuite/demangle/regression/7986-05.cc: New.
4998 * testsuite/demangle/regression/7986-06.cc: New.
4999 * testsuite/demangle/regression/7986-07.cc: New.
5000 * testsuite/demangle/regression/7986-08.cc: New.
5001 * testsuite/demangle/regression/7986-09.cc: New.
5002 * testsuite/demangle/regression/7986-10.cc: New.
5003 * testsuite/demangle/regression/7986-11.cc: New.
5004 * testsuite/demangle/regression/7986-12.cc: New.
5005 * testsuite/demangle/regression/7986.cc: New.
5006 * testsuite/demangle/regression/8897.cc: New.
5007 * testsuite/demangle/regression/cw-01.cc: New.
5008 * testsuite/demangle/regression/cw-02.cc: New.
5009 * testsuite/demangle/regression/cw-03.cc: New.
5010 * testsuite/demangle/regression/cw-04.cc: New.
5011 * testsuite/demangle/regression/cw-05.cc: New.
5012 * testsuite/demangle/regression/cw-06.cc: New.
5013 * testsuite/demangle/regression/cw-07.cc: New.
5014 * testsuite/demangle/regression/cw-08.cc: New.
5015 * testsuite/demangle/regression/cw-09.cc: New.
5016 * testsuite/demangle/regression/cw-10.cc: New.
5017 * testsuite/demangle/regression/cw-11.cc: New.
5018 * testsuite/demangle/regression/cw-12.cc: New.
5019 * testsuite/demangle/regression/cw-13.cc: New.
5020 * testsuite/demangle/regression/cw-14.cc: New.
5021 * testsuite/demangle/regression/old.cc: New.
5023 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5025 * docs/doxygen/Intro.3: Update with new (proper) names.
5026 * docs/doxygen/TODO: Update.
5027 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5028 Fake entries for standard typedefs.
5029 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5030 * docs/html/documentation.html: Top-level man page is now called
5032 * include/std/std_limits.h: Doxygenate.
5034 2003-02-25 Scott Snyder <snyder@fnal.gov>
5037 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5038 Correct documentation.
5039 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5040 equal_range): Likewise.
5042 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5046 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5047 __bump is true (uflow), always increment the read pointer
5048 (_M_in_cur) before returning successfully.
5049 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5051 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5052 Nathan Myers <ncm@cantrip.org>
5054 PR libstdc++/9404, PR libstdc++/9701 (partial)
5055 (aka pptr == epptr implies overflow)
5056 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5057 Consistently, _M_out_end points to the end of the buffer just
5059 (overflow): Tweak to use _M_out_buf_size().
5060 (_M_convert_to_external): The role of the old _M_out_end is
5061 now played by _M_out_lim.
5062 (_M_really_overflow): Likewise.
5063 (seekoff): Likewise.
5064 (setbuf): _M_out_end points to the end of the external buffer.
5065 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5066 account the resolution of DR 169 (TC).
5067 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5068 (seekpos): Use _M_string.capacity(); tweak.
5069 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5070 * include/std/std_fstream.h (sync): The role of the old
5071 _M_out_end is now played by _M_out_lim.
5072 (_M_set_indeterminate): Use _M_set_determinate.
5073 (_M_set_determinate): _M_out_end is now _M_out_lim.
5074 (_M_is_indeterminate): Likewise.
5075 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5076 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5077 which have the information readily available as _M_string.capacity();
5078 for ate and app modes, pass the string size to _M_really_sync.
5079 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5080 point to the end of the buffer (i.e., epptr) and to the string end,
5082 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5083 which points to the right limit of the used put area.
5084 (_M_out_cur_move): The role of the old _M_out_end is now played
5086 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5087 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5089 (basic_streambuf()): Initialize _M_out_lim too.
5090 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5091 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5092 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5094 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5096 * testsuite/27_io/ios_base_storage.cc (main): Call
5099 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5101 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5102 numpunct facet accesses with data from __locale_cache.
5104 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5106 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5107 * docs/html/faq/index.txt: Regenerate.
5109 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5111 * config/linker-map.gnu: Also export locking symbols needed for the
5112 generic atomicity.h case.
5114 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5116 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5118 * configure: Rebuilt.
5120 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5122 * include/bits/sstream.tcc (overflow): According to
5123 27.7.1.3, p5, actual output is performed by sputc(c).
5125 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5128 * include/bits/stl_alloc.h: Remove all traces of assert().
5130 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5132 * include/std/std_sstream.h (str()): the size of the
5133 current string may be different from the initial one
5134 whenever _M_out_end > _M_out_beg.
5135 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5137 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5140 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5142 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5144 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5145 * testsuite/27_io/ios_members.cc (test03): New.
5147 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5149 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5150 (basic_ios::_M_cache_facets): Move into above.
5151 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5153 (basic_ios::imbue): Force locale cache to be built.
5154 (basic_ios::_M_init): Create and initialize locale cache.
5155 * include/bits/ios_base.h (__locale_cache_base): Declare.
5156 (ios_base::_M_locale_cache): New.
5157 (ios_base::_M_cache): Define.
5158 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5160 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5161 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5162 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5163 cache literal string, grouping flag, thousands separator.
5164 (__locale_cache<_CharT>::__locale_cache): New.
5165 (__locale_cache<_CharT>::_M_init): New.
5166 * src/ios.cc: Clear _M_locale_cache in constructor.
5167 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5170 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5172 * src/locale-inst.cc: Do not include <cassert>.
5173 * src/locale.cc: Likewise.
5175 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5178 * include/std/std_fstream.h: Declare underflow and uflow
5179 specializations, change generic definitions to do nothing.
5180 * src/fstream.cc: Add underflow and uflow specializations.
5182 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5185 * include/bits/fstream.tcc (_M_convert_to_external):
5186 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5187 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5189 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5191 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5192 * include/bits/basic_ios.tcc: Guard use of extern template.
5193 * include/std/std_iomanip.h: Same.
5194 * include/bits/streambuf.tcc: Same.
5195 * include/bits/stl_alloc.h: Same.
5196 * include/bits/locale_facets.tcc: Same.
5197 * include/bits/ostream.tcc: Same.
5198 * include/bits/istream.tcc: Same.
5199 * include/bits/fstream.tcc: Same.
5200 * include/bits/basic_string.tcc: Same.
5202 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5204 * include/bits/ostream.tcc (sentry::sentry): Improve
5205 performance-wise the fix for libstdc++/9563.
5207 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5209 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5210 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5211 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5212 when we don't have static mutex initialization.
5213 (__exchange_and_add): Use _Atomic_add_mutex_once.
5214 * src/misc-inst.cc: Definitions of all the above.
5216 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5219 * include/bits/ostream.tcc (sentry::sentry): Check
5220 the state of the stream after the preparation.
5221 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5223 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5225 * include/Makefile.am (stamp-std-precompile): Add rule.
5226 * include/Makefile.in: Regenerated.
5228 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5229 Benjamin Kosnik <benjamin@redhat.com>
5231 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5232 Add indexes into this array.
5233 (__num_base::_S_atoms): To _S_atoms_in.
5234 (num_put::_M_insert): Rename to _M_pad.
5235 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5236 (num_put::_M_widen_int): Rename to _M_group_int.
5237 (num_put::_M_widen_float): Rename to _M_group_float.
5238 * include/bits/locale_facets.tcc (__int_to_char): New inline
5239 function and adapter functions.
5240 (num_put::_M_group_int): Streamline.
5241 (num_put::_M_group_float): Streamline.
5242 (num_put::_M_convert_int): Remove unused parameter names. Choose
5243 large enough buffer for text. Use __int_to_char instead of
5244 __convert_from_v. Formatted text is now at the end of the buffer.
5245 (num_put::_M_convert_float): Preliminary fixups.
5246 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5247 (__int_to_char<unsigned long long>): Same.
5248 (__int_to_char<char, unsigned long>): New.
5249 (__int_to_char<char, unsigned long long>): New.
5250 (__int_to_char<wchar_t, unsigned long>): New.
5251 (__int_to_char<wchar_t, unsigned long long>): New.
5253 2003-02-11 Scott Snyder <snyder@fnal.gov>
5256 * include/bits/fstream.tcc (seekoff): Avoid operator+
5259 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5262 * include/ext/stdio_filebuf.h
5263 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5264 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5265 Change to take a __size parameter of type size_t, not
5266 of type (template parameter dependent) int_type.
5267 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5268 size vars to size_t.
5269 * testsuite/ext/stdio_filebuf.cc: Add.
5271 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5272 Petur Runolfsson <peturr02@ru.is>
5275 * include/bits/streambuf.tcc (__copy_streambufs):
5276 Don't conditionalize the copy to __testput.
5277 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5279 2002-02-11 DJ Delorie <dj@redhat.com>
5281 * acinclude.m4: Check for native targets that can't link at
5282 this point in the build.
5283 * aclocal.m4: Regenerate.
5284 * configure: Regenerate.
5286 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5288 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5290 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5293 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5295 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5296 unsigned char platforms.
5298 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5301 * include/std/std_istream.h
5302 (basic_istream::sentry::operator bool()): Make const.
5303 * include/std/std_ostream.h
5304 (basic_ostream::sentry::operator bool()): Likewise.
5305 * testsuite/27_io/istream_sentry.cc (test03): Add.
5306 * testsuite/27_io/ostream_sentry.cc: Add.
5308 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5311 Implement resolution of DR 231 (Ready)
5312 * include/bits/locale_facets.h (__num_base::_S_format_float):
5313 Change declaration: return void, remove __prec parameter.
5314 * src/locale.cc (__num_base::_S_format_float): Implement
5315 resolution of DR 231.
5316 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5317 Tweak uses. Check for negative precision.
5318 * testsuite/22_locale/num_put/put/char/6.cc: Add
5319 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5321 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5323 * config/io/basic_file_libio.h: Fixups.
5324 * config/io/c_io_libio.h: Same.
5325 * libio/Makefile.am: Same.
5326 * libio/Makefile.in: Regenerated.
5328 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5330 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5331 Explicitly use the "C" locale.
5332 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5334 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5338 PR libstdc++/9028 (partial)
5344 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5345 codecvt<wchar_t, char, mbstate_t>::do_length,
5346 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5348 * config/locale/generic/codecvt_members.cc: ...here.
5349 * config/locale/gnu/codecvt_members.cc: ...and here.
5351 * config/locale/generic/codecvt_members.cc,
5352 * config/locale/gnu/codecvt_members.cc
5353 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5354 codecvt<wchar_t, char, mbstate_t>::do_in,
5355 codecvt<wchar_t, char, mbstate_t>::do_length,
5356 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5357 codecvt<wchar_t, char, mbstate_t>::do_out):
5358 New implementation that handles stateless encodings,
5361 * config/locale/generic/codecvt_members.cc,
5362 * config/locale/gnu/codecvt_members.cc,
5363 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5364 * include/bits/codecvt.h,
5366 (codecvt::length, codecvt::do_length):
5367 Change type of first argument of length and do_length from
5368 'const state_type&' to 'state_type&' according to DR 75.
5370 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5371 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5372 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5373 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5374 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5375 Cleanup and check for correct return value from encoding
5377 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5378 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5379 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5380 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5381 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5382 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5383 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5384 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5385 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5386 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5387 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5388 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5389 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5390 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5391 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5392 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5393 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5394 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5395 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5396 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5397 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5398 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5399 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5400 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5401 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5402 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5403 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5404 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5405 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5406 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5407 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5408 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5409 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5410 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5411 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5412 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5413 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5415 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5417 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5418 (money_put::do_put): Same.
5420 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5422 * include/bits/ios_base.h (ios_base): Document reserved storage.
5424 * include/bits/locale_facets.h: (struct __pad): Comment on
5426 (__verify_grouping): Same.
5427 (__add_grouping): Same.
5428 * include/bits/locale_facets.tcc (__verify_grouping): Move
5429 comments to declaration.
5430 (__add_grouping): Same.
5432 * include/bits/locale_facets.tcc:
5433 (__write<_CharT, _OutIter>): New function.
5434 (__write<_CharT>): New function specialization.
5435 (num_put::_M_insert): Remove explicit loop over iterator. Use
5437 (num_put::_M_widen_float): Remove __basefield.
5438 (num_put::_M_widen_int): Move __basefield to within grouping block.
5440 * include/bits/streambuf_iterator.h: Include <streambuf>.
5441 (ostreambuf_iterator::_M_put): Add.
5443 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5445 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5447 2003-02-04 Nathan Myers <ncm@cantrip.org>
5449 * testsuite/25_algorithms/min_max.cc (test02): Add.
5451 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5453 PR libstdc++/9439, PR libstdc++/9425
5454 * config/io/basic_file_stdio.cc
5455 (__basic_file<char>::seekoff, seekpos): Return -1L if
5457 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5458 Check _M_file.seekoff return value; always return
5459 pos_type(off_type(-1)) in case of failure.
5460 (basic_filebuf::pbackfail): Check this->seekoff return
5461 value and return traits_type::eof() in case of failure.
5462 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5464 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5466 * include/std/std_ostream.h (ostream::_M_write): Declare.
5467 * ostream.tcc (ostream::_M_write): Define.
5468 (basic_ostream::write): Use it.
5469 (operator<<(basic_ostream, _CharT)): Ditto.
5470 (operator<<(basic_ostream, char)): Ditto.
5471 (operator<<(basic_ostream, _CharT*)): Ditto.
5472 (operator<<(basic_ostream, char*)): Ditto.
5473 (operator<<(basic_ostream, basic_string)): Ditto.
5475 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5477 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5479 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5481 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5482 add HTML comment about updating links if numbering changes.
5484 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5487 * include/bits/streambuf.tcc (sputbackc): Access
5488 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5489 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5491 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5494 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5495 operation fails, calls close _and_ returns a null pointer
5496 to indicate failure (27.8.1.3,4).
5497 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5499 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5501 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5503 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5505 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5506 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5507 * docs/html/documentation.html: Regenerate.
5509 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5511 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5512 * docs/html/17_intro/porting.html: Regenerate.
5514 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5515 Phil Edwards <pme@gcc.gnu.org>
5517 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5518 numeric_limits for bits-per-word values.
5519 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5520 Use __builtin_popcountl instead.
5521 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5522 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5523 Use __builtin_ctzl instead.
5524 (_S_bit_count, _S_first_one): Remove.
5525 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5526 * src/Makefile.am (sources): Remove bitset.cc.
5527 * src/bitset.cc: Delete file.
5528 * src/Makefile.in: Regenerate.
5530 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5532 PR libstdc++/9527, PR libstdc++/8713
5533 * docs/html/install.html: Mention glibc version requirement.
5534 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5535 with 3.2.1+ (formatting bugfixes).
5536 * docs/html/faq/index.txt: Regenerate.
5538 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5541 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5544 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5547 * testsuite/26_numerics/valarray_operators.cc: New test.
5549 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5551 * docs/html/faq/index.html: Correct link to libg++ information.
5552 * docs/html/faq/index.txt: Regenerated.
5554 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5555 Benjamin Kosnik <bkoz@redhat.com>
5557 Const correctness issue:
5558 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5559 * include/bits/locale_classes.h
5560 (locale::_Impl::_M_facets): Change type to const facet**.
5561 (locale::_Impl::_M_install_facet): Change declaration to
5563 (locale::facet::_M_references): Make mutable.
5564 (locale::facet::_M_add_reference): Declare const.
5565 (locale::facet::_M_remove_reference): Likewise.
5566 * include/bits/locale_facets.tcc
5567 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5568 (has_facet(const locale&)): Likewise.
5570 (locale::facet::_M_add_reference): Adjust definition.
5571 (locale::facet::_M_remove_reference): Likewise.
5573 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5574 const facet** _M_facets.
5575 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5576 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5577 (locale::_Impl::_M_install_facet): Adjust definition to take
5578 const facet* and for const facet** _M_facets.
5579 * testsuite/22_locale/locale/cons/8.cc: Add.
5581 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5583 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5584 Use __FLT_HAS_INIFINITY__ to initialize.
5585 (numeric_limits<float>::has_quiet_NaN): Likewise.
5586 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5588 (numeric_limits<double>::has_quiet_NaN): Likewise.
5589 (numeric_limits<long double>::has_infinity): Use
5590 __LDBL_HAS_INIFINITY__ to initialize.
5591 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5593 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5596 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5597 with bases which are very ambiguous.
5599 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5601 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5602 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5603 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5604 * src/Makefile.in: Regenerate.
5605 * libsupc++/Makefile.in: Regenerate.
5607 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5609 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5610 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5611 version_specific_libs is enabled.
5612 * aclocal.m4, configure: Rebuilt.
5614 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5616 * include/bits/valarray_meta.h: Remove, split into ...
5617 * include/bits/valarray_before.h: ... this, and ...
5618 * include/bits/valarray_after.h: ... this.
5619 * include/std/std_valarray.h: Adjust.
5620 * include/Makefile.am (bits_headers): Adjust.
5621 * include/Makefile.in: Regenerate.
5623 2003-01-24 Andreas Schwab <schwab@suse.de>
5625 * config/linker-map.gnu: Fix for size_t variance.
5627 2003-01-23 Petur Runolfsson <peturr02@ru.is>
5630 * include/std/std_streambuf.h
5631 (basic_streambuf::basic_streambuf,
5632 basic_streambuf::~basic_streambuf,
5633 basic_streambuf::getloc, basic_streambuf::imbue):
5634 Remove _M_buf_locale_init
5635 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
5636 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5637 * testsuite/27_io/streambuf_members.cc (test08): Add.
5638 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
5640 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5642 Revert include ordering.
5643 * config/locale/generic/c_locale.h: Add include guards.
5644 * config/locale/gnu/c_locale.h: Same.
5645 * include/bits/locale_classes.h: Remove cctype include.
5646 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
5647 * include/std/std_fstream.h: Remove streambuf include.
5648 * include/std/std_sstream.h: Remove streambuf include.
5650 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5652 * configure.in (libtool_VERSION): To 6:0:0.
5653 * configure: Regenerated.
5654 * config/linker-map.gnu: Clean.
5656 * src/misc-inst.cc: Remove instantiations.
5658 * include/bits/stl_alloc.h (__malloc_alloc_template):
5660 (__default_alloc_template): To __pool_alloc.
5661 * src/stl-inst.cc: Same.
5662 * include/backward/alloc.h: Update.
5663 * testsuite/ext/allocators.cc: Update.
5665 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
5666 really try to remove these if possible.
5667 * src/locale.cc (std): Same.
5669 * testsuite/abi_check.cc (check_version): Add.
5671 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5672 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
5673 Mark Mitchell <mark@codesourcery.com>
5676 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
5677 (basic_filebuf::underflow): Declare.
5680 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5682 * include/bits/locale_facets.h: Move non-facet classes requiring
5684 * include/bits/locale_classes.h: New.
5685 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
5686 * include/bits/Makefile.in: Regenerate.
5688 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
5689 * config/locale/gnu/c_locale.h: ...here.
5690 * config/locale/generic/c_locale.h: Same.
5692 * include/bits/locale_facets.tcc: Move declarations to...
5693 * include/bits/locale_facets.h: ...here.
5694 * include/bits/basic_ios.h: Tweak includes accordingly.
5695 * include/std/std_sstream.h: Add streambuf include.
5696 * include/std/std_fstream.h: Ditto.
5697 * include/std/std_locale.h: Add locale_classes.h include.
5698 * include/std/std_iosfwd.h: Tweak.
5699 * src/concept-inst.cc: Add iterator include.
5701 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
5702 bits as unexported in the future.
5704 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
5706 Reshuffle 22_locale testsuite.
5707 * 22_locale/(codecvt.cc money_get.cc
5708 codecvt_members_char_char.cc money_get_members_char.cc
5709 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
5710 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
5711 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
5712 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
5713 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
5714 money_put_members_char.cc ctor_copy_dtor.cc
5715 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
5716 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
5717 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
5718 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
5719 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
5720 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
5721 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
5722 operators.cc ctype_widen_char.cc static_members.cc
5723 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
5724 global_templates.cc time_get_members_wchar_t.cc, members.cc,
5725 time_put.cc, messages_byname.cc, time_put_members_char.cc,
5726 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
5727 Split up into individual test cases...
5728 * 22_locale/codecvt/1.cc: New.
5729 * 22_locale/codecvt/2.cc: New.
5730 * 22_locale/codecvt/always_noconv/char/1.cc: New.
5731 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
5732 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
5733 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
5734 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
5735 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
5736 * 22_locale/codecvt/encoding/char/1.cc: New.
5737 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
5738 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
5739 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
5740 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
5741 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
5742 * 22_locale/codecvt/in/char/1.cc: New.
5743 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
5744 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
5745 * 22_locale/codecvt/in/wchar_t/1.cc: New.
5746 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
5747 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
5748 * 22_locale/codecvt/length/char/1.cc: New.
5749 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
5750 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
5751 * 22_locale/codecvt/length/wchar_t/1.cc: New.
5752 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
5753 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
5754 * 22_locale/codecvt/max_length/char/1.cc: New.
5755 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
5756 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
5757 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
5758 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
5759 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
5760 * 22_locale/codecvt/out/char/1.cc: New.
5761 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
5762 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
5763 * 22_locale/codecvt/out/wchar_t/1.cc: New.
5764 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
5765 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
5766 * 22_locale/codecvt/unicode/char.cc: New.
5767 * 22_locale/codecvt/unicode/wchar_t.cc: New.
5768 * 22_locale/codecvt/unshift/char/1.cc: New.
5769 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
5770 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
5771 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
5772 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
5773 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
5774 * 22_locale/collate/1.cc: New.
5775 * 22_locale/collate/2.cc: New.
5776 * 22_locale/collate/compare/char/1.cc: New.
5777 * 22_locale/collate/compare/char/2.cc: New.
5778 * 22_locale/collate/compare/char/wrapped_env.cc: New.
5779 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
5780 * 22_locale/collate/compare/wchar_t/1.cc: New.
5781 * 22_locale/collate/compare/wchar_t/2.cc: New.
5782 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
5783 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
5784 * 22_locale/collate/hash/char/1.cc: New.
5785 * 22_locale/collate/hash/char/2.cc: New.
5786 * 22_locale/collate/hash/char/wrapped_env.cc: New.
5787 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
5788 * 22_locale/collate/hash/wchar_t/1.cc: New.
5789 * 22_locale/collate/hash/wchar_t/2.cc: New.
5790 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
5791 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
5792 * 22_locale/collate/transform/char/2.cc: New.
5793 * 22_locale/collate/transform/char/wrapped_env.cc: New.
5794 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
5795 * 22_locale/collate/transform/wchar_t/2.cc: New.
5796 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
5797 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
5798 * 22_locale/collate_byname/1.cc: New.
5799 * 22_locale/ctype/1.cc: New.
5800 * 22_locale/ctype/2.cc: New.
5801 * 22_locale/ctype/cons/char/1.cc: New.
5802 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
5803 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
5804 * 22_locale/ctype/is/char/1.cc: New.
5805 * 22_locale/ctype/is/char/2.cc: New.
5806 * 22_locale/ctype/is/char/3.cc: New.
5807 * 22_locale/ctype/is/char/wrapped_env.cc: New.
5808 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
5809 * 22_locale/ctype/is/wchar_t/1.cc: New.
5810 * 22_locale/ctype/is/wchar_t/2.cc: New.
5811 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
5812 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
5813 * 22_locale/ctype/narrow/char/1.cc: New.
5814 * 22_locale/ctype/narrow/char/2.cc: New.
5815 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
5816 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
5817 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
5818 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
5819 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
5820 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
5821 * 22_locale/ctype/scan/char/1.cc: New.
5822 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
5823 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
5824 * 22_locale/ctype/scan/wchar_t/1.cc: New.
5825 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
5826 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
5827 * 22_locale/ctype/to/char/1.cc: New.
5828 * 22_locale/ctype/to/char/wrapped_env.cc: New.
5829 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
5830 * 22_locale/ctype/to/wchar_t/1.cc: New.
5831 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
5832 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
5833 * 22_locale/ctype/widen/char/1.cc: New.
5834 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
5835 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
5836 * 22_locale/ctype/widen/wchar_t/1.cc: New.
5837 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
5838 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
5839 * 22_locale/facet/1.cc: New.
5840 * 22_locale/facet/2.cc: New.
5841 * 22_locale/global_templates/1.cc: New.
5842 * 22_locale/locale/cons/1.cc: New.
5843 * 22_locale/locale/cons/2.cc: New.
5844 * 22_locale/locale/cons/3.cc: New.
5845 * 22_locale/locale/cons/4.cc: New.
5846 * 22_locale/locale/cons/5.cc: New.
5847 * 22_locale/locale/cons/6.cc: New.
5848 * 22_locale/locale/cons/7.cc: New.
5849 * 22_locale/locale/global_locale_objects/1.cc: New.
5850 * 22_locale/locale/global_locale_objects/2.cc: New.
5851 * 22_locale/locale/global_locale_objects/3.cc: New.
5852 * 22_locale/locale/operations/1.cc: New.
5853 * 22_locale/locale/operations/2.cc: New.
5854 * 22_locale/messages/1.cc: New.
5855 * 22_locale/messages/2.cc: New.
5856 * 22_locale/messages/members/char/1.cc: New.
5857 * 22_locale/messages/members/char/2.cc: New.
5858 * 22_locale/messages/members/char/3.cc: New.
5859 * 22_locale/messages/members/char/wrapped_env.cc: New.
5860 * 22_locale/messages/members/char/wrapped_locale.cc: New.
5861 * 22_locale/messages_byname/1.cc: New.
5862 * 22_locale/money_get/1.cc: New.
5863 * 22_locale/money_get/2.cc: New.
5864 * 22_locale/money_get/get/char/1.cc: New.
5865 * 22_locale/money_get/get/char/2.cc: New.
5866 * 22_locale/money_get/get/char/3.cc: New.
5867 * 22_locale/money_get/get/char/4.cc: New.
5868 * 22_locale/money_get/get/char/5.cc: New.
5869 * 22_locale/money_get/get/char/6.cc: New.
5870 * 22_locale/money_get/get/char/7.cc: New.
5871 * 22_locale/money_get/get/char/8.cc: New.
5872 * 22_locale/money_get/get/char/wrapped_env.cc: New.
5873 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
5874 * 22_locale/money_get/get/wchar_t/1.cc: New.
5875 * 22_locale/money_get/get/wchar_t/2.cc: New.
5876 * 22_locale/money_get/get/wchar_t/3.cc: New.
5877 * 22_locale/money_get/get/wchar_t/4.cc: New.
5878 * 22_locale/money_get/get/wchar_t/5.cc: New.
5879 * 22_locale/money_get/get/wchar_t/6.cc: New.
5880 * 22_locale/money_get/get/wchar_t/7.cc: New.
5881 * 22_locale/money_get/get/wchar_t/8.cc: New.
5882 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
5883 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
5884 * 22_locale/money_put/1.cc: New.
5885 * 22_locale/money_put/2.cc: New.
5886 * 22_locale/money_put/put/char/1.cc: New.
5887 * 22_locale/money_put/put/char/2.cc: New.
5888 * 22_locale/money_put/put/char/3.cc: New.
5889 * 22_locale/money_put/put/char/4.cc: New.
5890 * 22_locale/money_put/put/char/5.cc: New.
5891 * 22_locale/money_put/put/char/6.cc: New.
5892 * 22_locale/money_put/put/char/wrapped_env.cc: New.
5893 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
5894 * 22_locale/money_put/put/wchar_t/1.cc: New.
5895 * 22_locale/money_put/put/wchar_t/2.cc: New.
5896 * 22_locale/money_put/put/wchar_t/3.cc: New.
5897 * 22_locale/money_put/put/wchar_t/4.cc: New.
5898 * 22_locale/money_put/put/wchar_t/5.cc: New.
5899 * 22_locale/money_put/put/wchar_t/6.cc: New.
5900 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
5901 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
5902 * 22_locale/moneypunct/1.cc: New.
5903 * 22_locale/moneypunct/2.cc: New.
5904 * 22_locale/moneypunct/3.cc: New.
5905 * 22_locale/moneypunct/members/char/1.cc: New.
5906 * 22_locale/moneypunct/members/char/2.cc: New.
5907 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
5908 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
5909 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
5910 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
5911 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
5912 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
5913 * 22_locale/moneypunct_byname/1.cc: New.
5914 * 22_locale/num_get/1.cc: New.
5915 * 22_locale/num_get/2.cc: New.
5916 * 22_locale/num_get/get/char/1.cc: New.
5917 * 22_locale/num_get/get/char/2.cc: New.
5918 * 22_locale/num_get/get/char/3.cc: New.
5919 * 22_locale/num_get/get/char/4.cc: New.
5920 * 22_locale/num_get/get/char/5.cc: New.
5921 * 22_locale/num_get/get/char/6.cc: New.
5922 * 22_locale/num_get/get/char/wrapped_env.cc: New.
5923 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
5924 * 22_locale/num_get/get/wchar_t/1.cc: New.
5925 * 22_locale/num_get/get/wchar_t/2.cc: New.
5926 * 22_locale/num_get/get/wchar_t/3.cc: New.
5927 * 22_locale/num_get/get/wchar_t/4.cc: New.
5928 * 22_locale/num_get/get/wchar_t/5.cc: New.
5929 * 22_locale/num_get/get/wchar_t/6.cc: New.
5930 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
5931 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
5932 * 22_locale/num_put/1.cc: New.
5933 * 22_locale/num_put/2.cc: New.
5934 * 22_locale/num_put/put/char/1.cc: New.
5935 * 22_locale/num_put/put/char/2.cc: New.
5936 * 22_locale/num_put/put/char/3.cc: New.
5937 * 22_locale/num_put/put/char/4.cc: New.
5938 * 22_locale/num_put/put/char/5.cc: New.
5939 * 22_locale/num_put/put/char/wrapped_env.cc: New.
5940 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
5941 * 22_locale/num_put/put/wchar_t/1.cc: New.
5942 * 22_locale/num_put/put/wchar_t/2.cc: New.
5943 * 22_locale/num_put/put/wchar_t/3.cc: New.
5944 * 22_locale/num_put/put/wchar_t/4.cc: New.
5945 * 22_locale/num_put/put/wchar_t/5.cc: New.
5946 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
5947 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
5948 * 22_locale/numpunct/1.cc: New.
5949 * 22_locale/numpunct/2.cc: New.
5950 * 22_locale/numpunct/members/char/1.cc: New.
5951 * 22_locale/numpunct/members/char/2.cc: New.
5952 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
5953 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
5954 * 22_locale/numpunct/members/wchar_t/1.cc: New.
5955 * 22_locale/numpunct/members/wchar_t/2.cc: New.
5956 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
5957 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
5958 * 22_locale/numpunct_byname/1.cc: New.
5959 * 22_locale/numpunct_byname/2.cc: New.
5960 * 22_locale/time_get/1.cc: New.
5961 * 22_locale/time_get/2.cc: New.
5962 * 22_locale/time_get/date_order/char/1.cc: New.
5963 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
5964 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
5965 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
5966 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
5967 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
5968 * 22_locale/time_get/get_date/char/1.cc: New.
5969 * 22_locale/time_get/get_date/char/2.cc: New.
5970 * 22_locale/time_get/get_date/char/3.cc: New.
5971 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
5972 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
5973 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
5974 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
5975 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
5976 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
5977 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
5978 * 22_locale/time_get/get_monthname/char/1.cc: New.
5979 * 22_locale/time_get/get_monthname/char/2.cc: New.
5980 * 22_locale/time_get/get_monthname/char/3.cc: New.
5981 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
5982 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
5983 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
5984 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
5985 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
5986 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
5987 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
5988 * 22_locale/time_get/get_time/char/1.cc: New.
5989 * 22_locale/time_get/get_time/char/2.cc: New.
5990 * 22_locale/time_get/get_time/char/3.cc: New.
5991 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
5992 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
5993 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
5994 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
5995 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
5996 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
5997 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
5998 * 22_locale/time_get/get_weekday/char/1.cc: New.
5999 * 22_locale/time_get/get_weekday/char/2.cc: New.
6000 * 22_locale/time_get/get_weekday/char/3.cc: New.
6001 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6002 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6003 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6004 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6005 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6006 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6007 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6008 * 22_locale/time_get/get_year/char/1.cc: New.
6009 * 22_locale/time_get/get_year/char/3.cc: New.
6010 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6011 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6012 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6013 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6014 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6015 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6016 * 22_locale/time_put/1.cc: New.
6017 * 22_locale/time_put/2.cc: New.
6018 * 22_locale/time_put/put/char/1.cc: New.
6019 * 22_locale/time_put/put/char/10.cc: New.
6020 * 22_locale/time_put/put/char/2.cc: New.
6021 * 22_locale/time_put/put/char/3.cc: New.
6022 * 22_locale/time_put/put/char/4.cc: New.
6023 * 22_locale/time_put/put/char/5.cc: New.
6024 * 22_locale/time_put/put/char/6.cc: New.
6025 * 22_locale/time_put/put/char/7.cc: New.
6026 * 22_locale/time_put/put/char/8.cc: New.
6027 * 22_locale/time_put/put/char/9.cc: New.
6028 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6029 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6030 * 22_locale/time_put/put/wchar_t/1.cc: New.
6031 * 22_locale/time_put/put/wchar_t/10.cc: New.
6032 * 22_locale/time_put/put/wchar_t/2.cc: New.
6033 * 22_locale/time_put/put/wchar_t/3.cc: New.
6034 * 22_locale/time_put/put/wchar_t/4.cc: New.
6035 * 22_locale/time_put/put/wchar_t/5.cc: New.
6036 * 22_locale/time_put/put/wchar_t/6.cc: New.
6037 * 22_locale/time_put/put/wchar_t/7.cc: New.
6038 * 22_locale/time_put/put/wchar_t/8.cc: New.
6039 * 22_locale/time_put/put/wchar_t/9.cc: New.
6040 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6041 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6043 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6045 * config/locale/generic/messages_members.h
6046 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6047 unqualified members of base clasess.
6049 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6050 Jeffrey Oldham <oldham@codesourcery.com>
6052 * config/locale/gnu/messages_members.h: Use this-> to refer to
6053 unqualified members of base clasess.
6054 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6055 * include/bits/codecvt.h: Likewise.
6056 * include/bits/deque.tcc: Likewise.
6057 * include/bits/fstream.tcc: Likewise.
6058 * include/bits/istream.tcc: Likewise.
6059 * include/bits/list.tcc: Likewise.
6060 * include/bits/locale_facets.h: Likewise.
6061 * include/bits/ostream.tcc: Likewise.
6062 * include/bits/sstream.tcc: Likewise.
6063 * include/bits/stl_bvector.h: Likewise.
6064 * include/bits/stl_deque.h: Likewise.
6065 * include/bits/stl_list.h: Likewise.
6066 * include/bits/stl_tree.h: Likewise.
6067 * include/bits/stl_vector.h: Likewise.
6068 * include/bits/vector.tcc: Likewise.
6069 * include/ext/ropeimpl.h: Likewise.
6070 * include/ext/stdio_filebuf.h: Likewise.
6071 * include/ext/stl_rope.h: Likewise.
6072 * include/std/std_fstream.h: Likewise.
6073 * include/std/std_sstream.h: Likewise.
6075 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6077 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6079 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6081 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6082 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6083 * aclocal.m4: Regenerate.
6084 * configure: Regenerate.
6085 * testsuite/Makefile.am (all-local): Add conditional rule to
6086 generate testsuite_wchar_t.
6087 * testsuite/Makefile.in: Regenerate.
6088 * testsuite/lib/libstdc++-v3-dg.exp
6089 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6090 testsuite_wchar_t is not present in the build directory.
6091 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6092 Remove setulimit bits.
6093 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6094 * testsuite/Makefile.am (CLEANFILES): Add.
6095 * testsuite/Makefile.in: Regenerate.
6097 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6099 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6102 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6104 Further conform g++'s __vmi_class_type_info to the C++ ABI
6106 * libsupc++/cxxabi.h
6107 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6108 required by the specification.
6110 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6112 Renames, namespaces for testsuite utilities.
6113 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6114 (gnu_allocator_tracker): Rename to allocation_tracker.
6115 (gnu_new_allocator): Rename to tracker_alloc.
6116 (__set_testsuite_memlimit): Rename to set_memory_limits.
6117 (gnu_assignment_operator): Rename to assignment_operator.
6118 (gnu_destructor): Rename to destructor.
6119 (gnu_copy_tracker): Rename to copy_tracker.
6120 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6121 (run_tests_wrapped_locale): New.
6122 (run_tests_wrapped_env): New.
6123 * testsuite/testsuite_hooks.cc: Same.
6124 (class locale_data): Add.
6125 (class enviornment_variable): Add.
6126 (class not_found): Add.
6127 * testsuite/testsuite_allocator.h: Same.
6128 * testsuite/testsuite_allocator.cc: Same.
6129 * testsuite/23_containers/deque_ctor.cc
6130 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6132 Change gnu_new_allocator to tracker_alloc.
6133 Change gnu_counting_struct to counter.
6134 Change gnu_copy_tracker to copy_tracker.
6135 Change gnu_copy_constructor to copy_constructor.
6136 Change gnu_assignment_operator to assignment_operator.
6138 * testsuite/23_containers/vector_capacity.cc: Same.
6139 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6140 * testsuite/23_containers/list_modifiers.cc: Change
6141 gnu_copy_tracker to copy_tracker.
6142 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6143 __set_testsuite_memlimit to set_memory_limits.
6144 * testsuite/21_strings/insert.cc (main): Same.
6145 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6146 * testsuite/27_io/stringstream.cc: Same.
6147 * testsuite/27_io/stringbuf.cc: Same.
6148 * testsuite/27_io/streambuf.cc: Same.
6149 * testsuite/27_io/ostream.cc: Same.
6150 * testsuite/27_io/istream.cc: Same.
6151 * testsuite/27_io/fstream.cc: Same.
6152 * testsuite/lib/libstdc++-v3-dg.exp
6153 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6154 three levels deeper in glob patterns.
6156 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6158 * docs/doxygen/tables.html: Finished now.
6159 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6160 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6163 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6164 include/bits/stl_deque.h, include/bits/stl_list.h,
6165 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6168 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6170 * configure.in: Revert.
6171 * configure: Regenerate.
6173 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6175 * include/Makefile.am (install-data-local): Prepend
6176 $(DESTDIR) to destination paths in all (un)installation
6177 commands. Use ${c_base_builddir} and ${std_builddir}
6178 as destination subdirectories to achieve consistency with
6179 preceding mkinstalldirs commands. No effect because both
6180 variables contain "." only.
6181 * include/Makefile.in: Regenerate.
6183 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6185 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6186 * include/Makefile.in: Regenerate.
6188 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6189 * aclocal.m4: Regenerate.
6191 * configure.in: Don't add new multi-do rules every time the
6192 directory is reconfigured.
6193 * configure: Regenerate.
6195 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6196 Nathan Myers <ncm@cantrip.org>
6198 * src/Makefile.am (stamp-debug): Clean.
6199 * src/Makefile.in: Regenerate.
6201 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6204 * Makefile.am (distclean-multi): Fix.
6205 * Makefile.in: Regenerate.
6207 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6209 * include/bits/locale_facets.h (messages): Move ctor, dtor
6211 (__timepunct): Same.
6212 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6213 definitions. Conditionalize for GNU systems.
6214 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6216 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6217 definitions. Conditionalize for GNU systems.
6218 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6220 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6221 * src/locale.cc: Define.
6222 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6224 * config/locale/gnu/time_members.h: Use it.
6225 * config/locale/gnu/messages_members.h: Use it.
6226 * config/linker-map.gnu: Add locale::facets details.
6227 * include/Makefile.am (target_headers_extra): Add time_members.h.
6228 * include/Makefile.in: Regenerate.
6229 * acinclude.m4: Export CTIME_H.
6230 * aclocal.m4: Regenerate.
6231 * configure: Regnerate.
6233 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6236 (codecvt<char, char, mbstate_t>::do_in, do_out):
6237 Tweak parameters to avoid unused parameter warnings.
6239 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6242 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6243 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6244 account the possibility of %{g,G} conversion specifiers
6245 inside _S_format_float.
6246 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6248 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6250 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6251 libstdc++-v3-list-sourcefiles): Additionally handle files one
6252 level deeper in glob patterns.
6254 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6255 * testsuite/27_io/istream_extractor_arith/01.cc,
6256 testsuite/27_io/istream_extractor_arith/02.cc,
6257 testsuite/27_io/istream_extractor_arith/03.cc,
6258 testsuite/27_io/istream_extractor_arith/06.cc,
6259 testsuite/27_io/istream_extractor_arith/07.cc,
6260 testsuite/27_io/istream_extractor_arith/08.cc,
6261 testsuite/27_io/istream_extractor_arith/09.cc,
6262 testsuite/27_io/istream_extractor_arith/10.cc,
6263 testsuite/27_io/istream_extractor_arith/11.cc,
6264 testsuite/27_io/istream_extractor_arith/12.cc,
6265 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6266 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6269 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6273 (codecvt<char, char, mbstate_t>::do_in, do_out):
6274 Implement the resolution of DR19 (TC).
6275 * testsuite/22_locale/codecvt_members_char_char.cc
6278 2003-01-02 Jason Merrill <jason@redhat.com>
6280 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6281 *__mem is also an output.
6282 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.