Go to file
Mark Mitchell 7b6d72fcfb re PR c++/11667 (wider-than-int enums never compare equal to 0)
PR c++/11667
	* c-common.c (shorten_compare): Take into account differences
	between C and C++ representation for enumeration types.
	* tree.h (set_min_and_max_values_for_integral_type): Declare.
	* stor-layout.c (set_min_and_max_values_for_integral_type): New
	function, broken out from ...
	(fixup_signed_type): ... here and ...
	(fixup_unsigned_type): ... here.

	PR c++/11667
	* call.c (standard_conversion): Allow all integral->enumeral
	conversions, after marking them as bad.
	* decl.c (finish_enum): Make sure that all enumerators are
	properly converted to the underlying type.
	(build_enumerator): Set DECL_CONTEXT for namespace-scope
	enumeration types.
	* pt.c (tsubst_copy): Adjust handling of CONST_DECLs accordingly.
	(tsubst_enum): Tidy.

	* Make-lang.in (typeck.o): Depend on convert.h.
	(class.o): Likewise.
	(rtti.o): Likewise.
	* call.c: Include convert.h.
	(convert_arg_to_ellipsis): Use convert_to_real.
	* class.c: Include convert.h.
	(build_base_path): Use convert_to_integer.
	* rtti.c: Include convert.h.
	(build_headof): Use convert_to_integer.
	* typeck.c: Include convert.h.
	(decay_conversion): Use convert_to_integer.
	(build_unary_op): Use build_nop.
	(get_delta_difference): Use convert_to_integer.
	(build_ptrmemfunc): Avoid unncessary conversions.

From-SVN: r69909
2003-07-29 01:14:24 +00:00
boehm-gc Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
config Makefile.tpl (configure-gcc): Depend on maybe-configure-intl. 2003-07-08 05:55:11 +00:00
contrib * texi2pod.pl: Default @itemize's parameter to @bullet. 2003-07-15 09:24:07 +00:00
fastjar * README: Note that FastJar is not part of GCC. 2003-07-11 21:48:39 +00:00
gcc re PR c++/11667 (wider-than-int enums never compare equal to 0) 2003-07-29 01:14:24 +00:00
include * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:08:27 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
intl Makefile.tpl (configure-gcc): Depend on maybe-configure-intl. 2003-07-08 05:55:11 +00:00
libf2c Makefile.tpl: Replace PWD with PWD_COMMAND. 2003-07-04 12:45:55 -07:00
libffi README: Note that libffi is not part of GCC. 2003-07-11 22:13:16 +00:00
libiberty pex-win32.c (pexecute): Mark parameters this_pname and temp_base as unused. 2003-07-05 00:52:07 +00:00
libjava natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. 2003-07-28 16:12:00 +00:00
libobjc Fixed rare threading problem 2003-07-10 09:24:51 +00:00
libstdc++-v3 Daily bump. 2003-07-29 00:16:36 +00:00
maintainer-scripts gcc_release (usage): Document that -s now takes symbolic name and branch of the snapshot as parameters. 2003-07-23 15:56:40 +00:00
zlib re PR bootstrap/7126 (zlib version is wrong in zlib/configure.in) 2003-07-12 02:04:33 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
ChangeLog Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when... 2003-07-28 03:25:51 +00:00
config-ml.in Makefile.tpl: Replace PWD with PWD_COMMAND. 2003-07-04 12:45:55 -07:00
config.guess config.guess: Update to 2003-06-12 version. 2003-06-14 07:08:09 -07:00
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
config.sub config.guess: Update to 2003-06-12 version. 2003-06-14 07:08:09 -07:00
configure Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when... 2003-07-28 03:25:51 +00:00
configure.in Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when... 2003-07-28 03:25:51 +00:00
COPYING
COPYING.LIB
install-sh install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
libtool.m4 libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*. 2003-04-11 04:20:21 +00:00
ltcf-c.sh Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
ltcf-cxx.sh libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. 2003-02-20 01:11:51 +00:00
ltcf-gcj.sh ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever it is used as argument to $CC. 2003-02-19 23:50:23 +00:00
ltconfig libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. 2003-02-20 02:09:45 +00:00
ltmain.sh ltconfig (osf[345]): Append $major to soname_spec. 2002-11-20 15:59:07 +00:00
MAINTAINERS * MAINTAINERS (fortran 95): Add myself, Steven Bosscher and Toon Moene. 2003-07-26 16:53:54 +00:00
Makefile.def Makefile.def: Introduce flags_to_pass. 2003-06-23 20:34:26 +00:00
Makefile.in Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when... 2003-07-28 03:25:51 +00:00
Makefile.tpl Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when... 2003-07-28 03:25:51 +00:00
missing install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
mkdep
mkinstalldirs install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
move-if-change
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
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.