Re: [PATCH] gimplify-unit-at-a-time (final)
Eric Botcazou <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran,gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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