This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
A question about arg pointer elimination
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 26 Oct 2002 16:09:10 -0400 (EDT)
- Subject: A question about arg pointer elimination
Hi,
I have a question about arg pointer elimination. Let's say we have
three elimination rules defined in ELIMINABLE_REGS:
ARG_POINTER -> STACK_POINTER
ARG_POINTER -> FRAME_POINTER
FRAME_POINTER -> STACK_POINTER
When -fomit-frame-pointer is on, does the following (cascading)
elimination happen?
ARG_POINTER -> FRAME_POINTER -> STACK_POINTER
Or is it always the case that the elimination is direct like the
following?
ARG_POINTER -> STACK_POINTER
Thanks,
Kazu Hirata