Go to file
Paolo Bonzini 29ce73cb95 re PR c/20385 (Lame parse error message for undefined type)
gcc:
2010-12-17  Paolo Bonzini  <bonzini@gnu.org>

	PR c/20385
	* function.c (used_types_insert): Handle ERROR_MARK.
	* c-decl.c (grokdeclarator): Handle ERROR_MARK.
	(declspecs_add_type): Leave error_mark_node in specs->type.
	(finish_declspecs): Change it to integer_type_node here.
	* c-parser.c (c_parser_peek_2nd_token): Move earlier.
	(enum c_lookahead_kind): New.
	(c_parser_next_token_starts_typename): New name of
	c_parser_next_tokens_start_typename.  Accept lookahead enum
	and handle it here instead of...
	(c_parser_next_tokens_start_declaration): ... here.  Call it.
	(c_parser_declspecs): Accept another argument.  Do not exit
	on C_ID_ID if it is guessed to be an unknown typename.
	(c_parser_parms_declarator): Use 2nd token to distinguish a K&R
	declaration from an ANSI declaration starting with an unknown
	typename.
	(c_parser_struct_declaration, c_parser_objc_type_name,
	c_parser_typeof_specifier, c_parser_declarator,
	c_parser_direct_declarator_inner): Adjust calls.
	(c_parser_parameter_declaration): Likewise.
	(c_parser_type_name): Pass back an error_mark_node to the caller.
	(c_parser_postfix_expression): Do error recovery when 
	c_parser_type_name returns NULL.

testsuite:
2010-12-17  Paolo Bonzini  <bonzini@gnu.org>

	PR c/20385
	* objc.dg/tls/init-2.m: Adjust.
	* gcc.dg/noncompile/920923-1.c: Adjust.
	* gcc.dg/noncompile/pr44517.c: Adjust.
	* gcc.dg/declspec-18.c: New test.

From-SVN: r167999
2010-12-17 21:23:36 +00:00
INSTALL
boehm-gc update boehm-gc for powerpc m64 darwin. 2010-12-10 10:09:10 +00:00
config re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain) 2010-12-06 00:50:04 +00:00
contrib make_sunver.pl: Use elfdump -s to extract symbols if possible, readelf -s otherwise. 2010-11-25 18:16:57 +00:00
fixincludes PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
gcc re PR c/20385 (Lame parse error message for undefined type) 2010-12-17 21:23:36 +00:00
gnattools PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
include simple-object.h (simple_object_attributes_merge): Declare, replacing simple_object_attributes_compare. 2010-11-17 01:03:06 +00:00
intl Fix unportable shell quoting. 2010-09-27 20:19:41 +00:00
libada PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
libcpp * ja.po: Update. 2010-12-17 14:00:25 +00:00
libdecnumber cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN. 2010-11-24 23:29:41 +00:00
libffi configure.ac (libffi_cv_as_ascii_pseudo_op): Use double backslashes. 2010-12-06 16:17:45 +00:00
libgcc re PR target/46040 (crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared) 2010-12-13 16:23:50 +00:00
libgfortran re PR fortran/46540 (libquadmath: Implement --disable-libquadmath) 2010-12-10 11:55:56 +01:00
libgo Rework locking code to split stack much less. 2010-12-17 06:42:06 +00:00
libgomp re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147) 2010-12-14 14:59:20 +01:00
libiberty splay-tree.c (splay_tree_foreach_helper): Remove arg `sp', all callers updated. 2010-12-08 15:48:50 +00:00
libjava PR libgcj/46774: Create dynamic ProtectionDomain instances which check the system policy. 2010-12-16 19:48:07 +00:00
libmudflap re PR testsuite/20003 (libmudflap.cth timeouts too short) 2010-10-31 22:04:20 -04:00
libobjc In libobjc/: 2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com> 2010-12-16 22:52:48 +00:00
libquadmath re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 <-> string functions) 2010-12-13 20:44:38 +01:00
libssp re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain) 2010-12-06 00:50:04 +00:00
libstdc++-v3 basic_string.h (operator+(basic_string<>&&, const basic_string<>&), [...]): Add. 2010-12-17 18:32:27 +00:00
lto-plugin Revert last change. 2010-12-15 16:56:26 +00:00
maintainer-scripts gcc_release: Add support for releasing Go as a separate tarball. 2010-12-08 23:55:43 +00:00
zlib Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog * MAINTAINERS: Added myself to MAINTAINERS (write after approval) 2010-12-14 05:28:02 +00:00
ChangeLog.tree-ssa
MAINTAINERS * MAINTAINERS: Added myself to MAINTAINERS (write after approval) 2010-12-14 05:28:02 +00:00
Makefile.def re PR fortran/46020 (Improve error string for BIND(C) diagnostic for len>1 character return type) 2010-11-26 04:25:32 +00:00
Makefile.in re PR fortran/46020 (Improve error string for BIND(C) diagnostic for len>1 character return type) 2010-11-26 04:25:32 +00:00
Makefile.tpl re PR fortran/46020 (Improve error string for BIND(C) diagnostic for len>1 character return type) 2010-11-26 04:25:32 +00:00
README README: Refer to the various COPYING* files instead of just COPYING. 2009-10-10 20:59:49 +00:00
compile
config-ml.in config-ml.in: Add Go support... 2010-11-19 20:25:49 +00:00
config.guess config.sub: Update to version 2010-05-21. 2010-05-25 13:22:07 +00:00
config.rpath
config.sub config.sub: Update to version 2010-05-21. 2010-05-25 13:22:07 +00:00
configure re PR bootstrap/46819 (libffi is always built) 2010-12-10 14:47:12 +00:00
configure.ac re PR bootstrap/46819 (libffi is always built) 2010-12-10 14:47:12 +00:00
depcomp
install-sh
libtool-ldflags
libtool.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltgcc.m4
ltmain.sh Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltoptions.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltsugar.m4
ltversion.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
lt~obsolete.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.