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: -funit-at-a-time x nested fns x inlining of enclosing fn


> On Fri, Jul 09, 2004 at 09:08:17AM -0300, Alexandre Oliva wrote:
> > I'm not entirely happy with any of them, but I'd appreciate thoughts
> > on how to best deal with this problem.
> 
> After function un-nesting, I see no reason to keep the parent/child
> relationship in cgraph.  No idea what happens with dwarf2out though...

I have to take a look into it.
One place where parent-child relationship is needed are the nested
functions of extern inline functions.
Tought these are static we must not emit these unless we inlined the
origin unlike normal static functions in non-unit-at-a-time mode.
This can be definitly cared by flag instead of preserving the whole
relationship chain.

Honza
> 
> 
> r~


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