This is the mail archive of the
mailing list for the GCC project.
Re: MEM flags and stack temps
- To: jbuck at synopsys dot com
- Subject: Re: MEM flags and stack temps
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 16 Nov 00 17:03:43 EST
- Cc: gcc at gcc dot gnu dot org
You seem to be thinking of a completely different problem. Is this an
issue with the ordering of the passes?
Yes. The idea is that you want to keep stack slots as RTL objects as
long as possible to do optimizations on *them*. But when you actually find
you *do* need them, you have to address them. If the offset to address them
is large enough, that offset calculation itself would need to be cse'd
and moved out of loops.