This is the mail archive of the gcc@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: Inlining, nested functions, and VLAs


    Before unnesting there is node->origin pointer pointing to the parent
    function.  After function unnesting (happening as part of
    cgraph_finalize*) the origin pointers are cleaned up so the nodes can be
    dealt with independently.  You probably want to simply set flag during
    doing the unnesting so the cannot_inline fails.

Unnesting happens *before* inlining, right?


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