r167364 - in /trunk/gcc: cp/ChangeLog cp/parser...
nicola@gcc.gnu.org
nicola@gcc.gnu.org
Thu Dec 2 00:25:00 GMT 2010
Author: nicola
Date: Thu Dec 2 00:25:42 2010
New Revision: 167364
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167364
Log:
In gcc/objc/:
2010-12-02 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_build_throw_stmt): Return error_mark_node and
not NULL_TREE when a @throw is used outside of a @catch block.
In gcc/cp/:
2010-12-02 Nicola Pero <nicola.pero@meta-innovation.com>
* parser.c (cp_parser_objc_throw_statement): Use
cp_parser_expression, not cp_parser_assignment_expression, to
parse the argument of a @throw.
In gcc/testsuite/:
2010-12-02 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/exceptions-6.m: New.
* obj-c++.dg/exceptions-6.mm: New.
Added:
trunk/gcc/testsuite/obj-c++.dg/exceptions-6.mm
trunk/gcc/testsuite/objc.dg/exceptions-6.m
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/objc/ChangeLog
trunk/gcc/objc/objc-act.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list