This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Sibcall arguments passed on the stack
- From: Dale Johannesen <dalej at apple dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 30 Sep 2003 13:54:52 -0700
- Subject: Re: Sibcall arguments passed on the stack
On Tuesday, September 30, 2003, at 01:04 PM, John David Anglin wrote:
Regarding PR optimization/12372, what's supposed to keep the insns
that copy an argument from one stack to another for a sibcall from
being deleted? There's no libcall block for a sibcall, and the
stack slots used don't form part of the call usage information.
rth suggested here
http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00828.html
that the stack slots ought to be in CALL_INSN_FUNCTION_USAGE.
My patch, which started that thread, will not fix 12372, so rth
is probably right, as usual.
Steven Bosscher suggested that PR 11969 may be related.