Hello, > 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?
not really. The problem anyway is that it does not quite work even when the decls with variable size are taken care of, as there are other constructions with that ADDR_EXPR gets marked TREE_INVARIANT, but that are not gimple. Zdenek > 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.