This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FIRST_PARM_OFFSET() depending on "frame_pointer_needed" and "regs_ever_live[]". Can it?
- From: Richard Henderson <rth at redhat dot com>
- To: Mike Laman <mlaman at cox dot net>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Tue, 3 Sep 2002 02:23:31 -0700
- Subject: Re: FIRST_PARM_OFFSET() depending on "frame_pointer_needed" and "regs_ever_live[]". Can it?
- References: <002d01c25171$e09216e0$5aa80844@fed1.sdca.home.com>
On Sat, Aug 31, 2002 at 09:41:42PM -0700, Mike Laman wrote:
> Am I even allowed to use the
> "frame_pointer_needed" and "regs_ever_live[]" in FIRST_PARM_OFFSET()?
No.
> I will be very disappointed if I am required to define/use an argument
> register...
The argument register can be fake. This is how most targets work,
actually. You use INITIAL_ELIMINATION_OFFSET to remove it during
register allocation.
r~