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] Enhanced nested functions lowering pass


> In which case, what does it matter, since we'll not be emitting
> either the top-most parent or the nested function in that case?

The problem is that we don't know by the time tree-nested is run whether the 
top-most parent is reachable, so we have to run the machinery.  And mark the 
nested functions as reachable if they are reachable from the top-most parent, 
although they might eventually not be reachable at all.  Mess. :-)

-- 
Eric Botcazou


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