Go to file
Mark Mitchell 4b0d3cbe3e re PR c++/11946 (fun and merriment with enums as function arguments)
PR c++/11946
	* convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
	NOP_EXPR) when necessary.
	* c-common.c (c_common_signed_or_unsigned_type): Correctly handle
	types with precisions other than those given by native machine
	modes.

	PR c++/11684
	* cp-tree.h (grok_op_properties): Change prototype.
	* decl.c (grok_op_properties): Add complain parameter.
	(grokfndecl): Pass it.
	* pt.c (tsubst_decl): Adjust accordingly.

	PR c++/10926
	* decl.c (start_method): Return immediately if push_template_decl
	does not like the declaration.
	* pt.c (push_template_decl_real): Disallow member template
	destructors.

	PR c++/11036.C
	* cp-tree.h (add_binding): Add prototype.
	* class.c (add_method): Set TYPE_HAS_DESTRUCTOR if appropriate.
	(maybe_warn_about_overly_private_class): Use
	CLASSTYPE_DESTRUCTORS.
	(pushclass): Adjust call to set_identifier_type_value.
	* decl.c (add_binding): Give it external linkage.
	(push_local_binding): Adjust call to add_binding.
	(push_class_binding): Likewise.
	(set_identifier_type_value_with_scope): Change prototype.  Use
	add_binding for global bindings.
	(set_identifier_type_value): Adjust accordingly.
	(pushtag): Likewise.
	(pushdecl): Use set_identifier_type_value, not
	set_identifier_type_value_with_scope.
	(pushdecl_namespace_level): Adjust calls to
	SET_IDENTIFIER_TYPE_VALUE to pass a DECL.
	(pushdecl_class_level): Likewise.
	(lookup_tag): Use select_decl.
	(select_decl): Improve comment.
	(record_builtin_type): Do not call pushdecl.
	(cxx_init_decl_processing): Do not call xref_tag for bad_alloc.
	(cp_finish_decl): Adjust call to set_identifier_type_value.
	(check_elaborated_type_specifier): Improve checks for invalid uses
	of typedefs.
	(xref_tag): Adjust call to check_elaborated_type_specifier.
	* decl2.c (grokclassfn): Do not set TYPE_HAS_DESTRUCTOR.
	* name-lookup.c (set_namespace_binding): Use add_binding.
	* parser.c (cp_parser_simple_type_specifier): Return a TYPE_DECL,
	rather than an IDENTIFIER_NODE, to represent built-in types, if
	requested by the caller.
	(cp_parser_postfix_expression): Adjust call.
	(cp_parser_type_specifier): Likewise.
	(cp_parser_elaborated_type_specifier): Adjust call to
	check_elaborated_type_specifier.
	* typeck2.c (build_functional_cast): Do not perform name lookups.

	PR c++/10717
	* decl.c (expand_static_init): Remove unncessary code.

	PR c++/10926
	* g++.dg/template/dtor2.C: New test.

	PR c++/11684
	* g++.dg/template/operator1.C: New test.
	* g++.dg/parse/operator4.C: New test.

	PR c++/11946.C
	* g++.dg/expr/enum1.C: New test.
	* gcc.dg/c99-bool-1.c: Remove bogus warning.

	PR c++/11036.C
	* g++.dg/parse/elab2.C: New test.
	* g++.dg/parse/typedef4.C: Change error message.
	* g++.old-deja/g++.robertl/eb133.C: Remove bogus error markers.
	* g++.old-deja/g++.robertl/eb133a.C: Remove bogus error markers.
	* g++.old-deja/g++.robertl/eb133b.C: Remove bogus error markers.

From-SVN: r70593
2003-08-20 07:06:47 +00:00
boehm-gc configure.in: Set INCLUDES to absolute path. 2003-08-07 21:34:19 +00:00
config Makefile.tpl (configure-gcc): Depend on maybe-configure-intl. 2003-07-08 05:55:11 +00:00
contrib * texi2pod.pl: Remove extra line. 2003-08-01 03:10:56 +00:00
fastjar fastjar.texi: License manual under the GPL. 2003-08-13 21:04:12 +00:00
gcc re PR c++/11946 (fun and merriment with enums as function arguments) 2003-08-20 07:06:47 +00:00
include * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:08:27 +00:00
INSTALL
intl
libf2c Makefile.tpl: Replace PWD with PWD_COMMAND. 2003-07-04 12:45:55 -07:00
libffi ffi.c (OFS_INT16): Set 0 for little endian case. 2003-08-13 23:36:54 +00:00
libiberty * cp-demangle.c: Clarify what package(s) this is part of. 2003-08-12 06:58:17 +00:00
libjava libjava.exp (libjava_arguments): Add $libjava to the list of libraries. 2003-08-19 19:44:44 +00:00
libobjc Fixed rare threading problem 2003-07-10 09:24:51 +00:00
libstdc++-v3 crossconfig.m4 (*-darwin*): Add a large and boring stanza for crosses to Darwin targets. 2003-08-20 03:32:00 +00:00
maintainer-scripts gcc_release (build_sources): Use two new variables EXPORTTAG and EXPORTDATE to make the extraction of... 2003-08-16 14:02:24 +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 configure.in: Disable libgcj for darwin not on powerpc. 2003-08-20 00:50:20 +00:00
config-ml.in * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04: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 configure.in: Disable libgcj for darwin not on powerpc. 2003-08-20 00:50:20 +00:00
configure.in configure.in: Disable libgcj for darwin not on powerpc. 2003-08-20 00:50:20 +00: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
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 Add Ian Dall as ns32k port maintainer. 2003-08-18 12:19:12 +00:00
Makefile.def Makefile.def: Introduce flags_to_pass. 2003-06-23 20:34:26 +00:00
Makefile.in Makefile.tpl (check, check-c++): Express dependencies using dependencies rather than commands. 2003-08-02 00:48:19 +00:00
Makefile.tpl Makefile.tpl (check, check-c++): Express dependencies using dependencies rather than commands. 2003-08-02 00:48:19 +00:00
missing install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: New file. 2003-08-03 14:51:42 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04:00
ylwrap ylwrap: Change absolute path checks to check for DOS style path names. 1998-10-08 17:26:54 -06:00

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.