This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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] gimplify-unit-at-a-time (final)


> I'm testing the following (re-diffed ada/gcc-interface parts).
>
>   /* We do different things for nested and non-nested functions.
>      ??? This should be in cgraph.  */
>   if (!DECL_CONTEXT (fndecl))
>     cgraph_finalize_function (fndecl, false);
>   else
>     /* Register this function with cgraph just far enough to get it
>        added to our parent's nested function list.  */
>     (void) cgraph_node (fndecl);
>
> In theory this should be just
>
>   cgraph_finalize_function (fndecl, DECL_CONTEXT (fndecl) != NULL_TREE);
>
> but I'll leave that to [m/n] of gigi housekeeping ;)

OK, thanks. :-)

-- 
Eric Botcazou


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