On Mon, Jun 13, 2005 at 10:54:23PM +0200, Zdenek Dvorak wrote: > OK, I remembered. I put > > if (is_gimple_min_invariant (t)) > > or > > if (is_gimple_val (t)) > { > shortcut; > } > > type constructs on some places in gimplification.
With an aim toward speeding up gimplification, I guess. Any idea how much benefit you get from that? As for the original question, you could try modifying tree-nested.c to use a local routine for creating the ADDR_EXPRs of the frame object, and force TREE_INVARIANT on there. r~