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: Problem with recompute_tree_invarant_for_addr_expr


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~


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