This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Yet another ObjC-ish "hook" in c-decl.c


Ziemowit Laski <zlaski@apple.com> writes:

> A recent modification to store_parm_decls() broke the ongoing ObjC
> integration again :-(.  In its new form, store_parm_decls() is no
> longer usable from ObjC, because it dereferences the newfangled
> 'current_function_arg_info' static variable, which only
> grokdeclarator() sets.  The new objc-act.c no longer calls any of the
> grok...() functions, since it no longer deals in raw declspec goo.
>
> So, I introduce process_parm_decls(), which future ObjC will call
> instead of store_parm_decls().  I'm inclined to commit this as obvious
> since this solves ObjC's problems and cannot possibly cause any
> problems for C, but I'll wait a short while for people's thoughts, if
> any.

Better you should export store_parm_decls_newstyle and use that from
objc-act.c.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]