Go to file
Benjamin Kosnik 86ade44cb2 Numeric facets cleanup.
2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>

	Numeric facets cleanup.
	* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
	+ and - signs.
	(__num_base::_M_zero): Add
	(__num_base::_M_e): Add.
	(__num_base::_M_E): Add.
	* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
	(num_get::_M_extract_float): New.
	(num_get::_M_extract_int): New.
	* src/locale.cc (num_get::_M_extract): Remove.

	* include/bits/locale_facets.tcc (num_put::_M_insert_float):
	Simplify, use _M_insert.
	(num_put::do_put(bool)): Simplify, remove __pad.
	(__pad): Remove.
	(__pad_output): Change to __pad.
	* include/bits/ostream.tcc: And here.
	* src/locale-inst: Remove instantiations.

	* include/bits/locale_facets.h: Move helper functions in to class
	num_put.
	(num_put::_M_insert_float): Same, for __output_integer.
	(num_put::_M_insert_int): Same, for __output_float.
	(num_put::_M_insert): New.
	(__num_base): Add.
	(__num_base::_S_format_float): Move
	__build_float_format into class __num_base.
	(__num_base::_S_format_int): Move __build_int_format into class
	__num_base.
	* include/bits/locale_facets.tcc (__group_digits): Change to
	(__add_grouping): This.
	* src/locale-inst.cc: And here. Tweak instantiations.
	* src/misc-inst.cc: Remove instantiations.

	* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
	for new calling conventions, move to...
	* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
	signature to make it useful for both ostream and num_put.
	(__pad_numeric): Remove.
	* src/misc-inst.cc: Remove instantiations.
	* src/locale-inst.cc: Same.

	* include/bits/locale_facets.h (_Numeric_get): Remove.
 	(_Numeric_put): Remove.
	(num_get::get(short)): Remove.
	(num_get::get(int)): Remove.
	(num_get::do_get(short)): Remove.
	(num_get::do_get(int)): Remove.
	* include/bits/istream.tcc (istream::operator>>(short)): Fix as
	per DR 118.
	(istream::operator>>(int)): Same.

	* include/bits/locale_facets.h (_Format_cache): Remove.
	* include/bits/locale_facets.tcc: Same.
	* src/locale.cc: Same.
	* src/locale-inst.cc: Same.
	* include/bits/ostream.tcc: Same.
	* src/ios.cc (ios_base::imbue): Remove here as well.

	* testsuite/22_locale/num_get.cc: New file.
	* testsuite/22_locale/num_get_members_char.cc: New file.
	* testsuite/22_locale/num_get_members_wchar_t.cc: New.
	* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
	* testsuite/22_locale/num_put.cc: New file.
	* testsuite/22_locale/num_put_members_char.cc: New file.
	* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
	* testsuite/27_io/ostream_inserter_arith.cc: Fix.
	* testsuite/27_io/istream_extractor_arith.cc: Fix.

From-SVN: r47397
2001-11-28 04:07:11 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc linux_threads.c (WRAP_FUNC(pthread_join)): Remove special case for GC_FREEBSD_THREADS. 2001-11-26 17:40:34 +00:00
config acinclude.m4: Fix spelling error of "separate" as "seperate". 2001-10-07 19:02:46 +01:00
contrib texi2pod.pl: Handle @ifnottex, @iftex and @display. 2001-11-14 00:47:47 +00:00
fastjar For PR java/4295: 2001-10-17 15:57:03 +00:00
gcc defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Also provide defaults when we have OBJECT_FORMAT_ROSE. 2001-11-28 02:39:21 +00:00
include * include/safe-ctype.h (_sch_isbasic, IS_ISOBASIC): New. 2001-10-24 19:29:16 +00:00
libchill Makefile.in (STROBJS): Get memmove.o from configure. 2000-05-31 16:54:07 -07:00
libf2c Daily bump. 2001-11-27 08:16:19 +00:00
libffi Implement Darwin PowerPC ABI. 2001-10-09 06:32:16 +01:00
libiberty top level: 2001-11-28 01:37:24 +00:00
libjava Fix for PR libgcj/2024, plus other class name cleanups: 2001-11-26 06:40:06 +00:00
libobjc encoding.c: Add target_flags. 2001-11-14 21:11:43 +00:00
libstdc++-v3 Numeric facets cleanup. 2001-11-28 04:07:11 +00:00
maintainer-scripts * gcc_release: Add /usr/local/bin to path when local. 2001-11-19 13:16:39 +00:00
zlib re PR bootstrap/3281 (Installation failure (mkinstalldirs)) 2001-07-03 22:29:32 +00:00
.cvsignore gcc_update: Dump timestamp in LAST_UPDATED. 2001-07-26 23:00:45 -07:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
ChangeLog top level: 2001-11-28 01:37:24 +00:00
MAINTAINERS * MAINTAINERS (write-after-approval): Add self. 2001-11-26 22:35:45 +00:00
Makefile.in top level: 2001-11-28 01:37:24 +00:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
config-ml.in config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be disabled. 2001-06-12 22:12:07 -04:00
config.guess config.sub: Import from master sources, rev 1.226. 2001-11-05 01:52:42 +00:00
config.if * config.if: Assume enable_libstdcxx_v3 is defined. 2001-02-05 11:02:20 +00:00
config.sub In ChangeLog: 2001-11-08 Geoffrey Keating <geoffk@redhat.com> 2001-11-09 01:17:07 +00:00
configure top level: 2001-11-28 01:37:24 +00:00
configure.in top level: 2001-11-28 01:37:24 +00:00
install-sh Final changes from devo<->egcs merge. 1998-10-12 04:44:57 -06:00
libtool.m4 ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254. 2001-05-20 18:55:59 +00:00
ltcf-c.sh backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltcf-cxx.sh backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltcf-gcj.sh backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltconfig backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
ltmain.sh backport: ltcf-c.sh: Use $objext, not $ac_objext. 2001-09-01 00:47:19 +00:00
missing merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs Initial revision 1997-08-21 18:57:35 -04:00
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
symlink-tree Makefile.in: handle DOS-style absolute paths. 2000-12-09 11:06:19 -05:00
ylwrap ylwrap: Change absolute path checks to check for DOS style path names. 1998-10-08 17:26:54 -06:00

README

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.