[PATCH] gimplify-unit-at-a-time (final)

Eric Botcazou ebotcazou@adacore.com
Mon Jul 13 08:45:00 GMT 2009


> 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



More information about the Java mailing list