This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inlining, nested functions, and VLAs
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: hubicka at ucw dot cz
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 1 Nov 04 06:31:20 EST
- Subject: 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?