This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r168601 - in /trunk/gcc: ChangeLog c-parser.c c...
- From: nicola at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 08 Jan 2011 19:44:32 -0000
- Subject: r168601 - in /trunk/gcc: ChangeLog c-parser.c c...
Author: nicola
Date: Sat Jan 8 19:44:30 2011
New Revision: 168601
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168601
Log:
In gcc/:
2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc/47078
* c-parser.c (c_parser_objc_type_name): If the type is unknown,
for error recovery purposes behave as if it was not specified so
that the default type is usd.
In gcc/testsuite/:
2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc/47078
* objc.dg/invalid-method-2.m: New.
* obj-c++.dg/invalid-method-2.mm: New.
In gcc/cp/:
2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc/47078
* parser.c (cp_parser_objc_typename): If the type is unknown, for
error recovery purposes behave as if it was not specified so that
the default type is used.
Added:
trunk/gcc/testsuite/obj-c++.dg/invalid-method-2.mm
trunk/gcc/testsuite/objc.dg/invalid-method-2.m
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-parser.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog