------- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-17 05:32 ------- Here is the patch which I am testing: Index: c-parser.c =================================================================== --- c-parser.c (revision 116204) +++ c-parser.c (working copy) @@ -6149,7 +6149,10 @@ c_parser_objc_method_decl (c_parser *par parms = chainon (parms, build_tree_list (NULL_TREE, grokparm (parm))); } - sel = list; + if (list) + sel = list; + else + sel = error_mark_node; } return objc_build_method_signature (type, sel, parms, ellipsis); }
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28049