Sibcall arguments passed on the stack

Dale Johannesen dalej@apple.com
Tue Sep 30 21:55:00 GMT 2003


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.



More information about the Gcc mailing list