Go to file
Benjamin Kosnik f13a69eccf char_traits.h: Remove generic definitions.
2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@nerim.net>

	* include/bits/char_traits.h: Remove generic definitions.
	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
	eof, not -2.
	* include/bits/istream.tcc (istream::readsome): Don't check
	against eof, instead use constants.
	(istream::sync): Same.
	(istream::sentry::sentry): Use eq_int_type.
	(istream::get): Same.
	* include/bits/ostream.tcc: Change __pad to
	__pad<_CharT, _Traits>::_S_pad.
	* include/bits/locale_facets.h: Add __pad_traits generic and
	ostreambuf_iterator specialization.
	* include/bits/locale_facets.tcc: Change __pad into struct __pad
	with a _CharT and _Traits template parameter and _S_pad static
	member function.
	* src/locale-inst.cc: Update __pad instantiations.

	* include/std/std_fstream.h: Declare _M_underflow_common
	specializations.
	* src/fstream.cc: New. Add _M_underflow_common specializations.
	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
	(filebuf::_M_underflow_common(bool)): Remove generic version, as
	sys_ungetc and custom int_types don't get along.
	* include/std/std_streambuf.h: Add _M_pos.
	* src/Makefile.am (sources): Add fstream.cc.
	* src/Makefile.in: Regenerate.

	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
	* testsuite/27_io/filebuf.cc: ...here.
	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
	specialization for both.
	* testsuite/27_io/streambuf.cc: Add instantiation test,
	testsuite_hooks include.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/fstream.cc: Same.
	* testsuite/27_io/stringstream.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/stringbuf.cc: Same.

Co-Authored-By: Gabriel Dos Reis <gdr@nerim.net>

From-SVN: r55893
2002-07-31 02:47:36 +00:00
boehm-gc Remove dead endif so x86-64 compilation works. 2002-07-19 13:21:36 +02:00
config Makefile.in: Allow for PWDCMD to override hardcoded pwd. 2002-05-16 17:43:21 +00:00
contrib gennews (files): Add proper files for the GCC 3.1 release series. 2002-07-25 14:34:56 +00:00
fastjar configure.in: Support cross-compiling. 2002-06-03 17:59:29 +00:00
gcc * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h, 2002-07-31 02:13:35 +00:00
include demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. 2002-06-25 09:44:15 +09:30
INSTALL
libf2c Daily bump. 2002-07-30 07:17:09 +00:00
libffi configure.in (sh[34]*-*-linux*): Add brackets. 2002-07-19 15:30:58 +00:00
libiberty * cplus-dem.c (PREPEND_BLANK): Remove. 2002-07-29 17:11:10 +00:00
libjava configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP. 2002-07-30 12:36:00 +00:00
libobjc encoding.h: Fix formatting. 2002-07-02 19:43:03 +00:00
libstdc++-v3 char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
maintainer-scripts gcc_release: Update comment. 2002-07-29 07:31:34 +02:00
zlib Makefile.in: Allow for PWDCMD to override hardcoded pwd. 2002-05-16 17:43:21 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ChangeLog configure.in: Move generic linux case to end. 2002-07-31 08:42:35 +09:30
config-ml.in config-ml.in doesn't need to worry about cygnus configure 2002-07-01 19:59:22 +00:00
config.guess config.guess: Update to 2002-07-09 version. 2002-07-16 17:14:49 -07:00
config.if config.if (libstdcxx_incdir): Version C++ headers. 2002-06-27 10:19:53 +00:00
config.sub config.guess: Update to 2002-07-09 version. 2002-07-16 17:14:49 -07:00
configure configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
configure.in configure.in: Move generic linux case to end. 2002-07-31 08:42:35 +09:30
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:52:03 +00:00
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS Update email address for self. 2002-07-23 16:29:37 +00:00
Makefile.in configure.in: Don't build grez. 2002-07-08 21:40:41 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.