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: Richard Henderson <rth at redhat 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 20:54:25 -0700
- Subject: Re: Sibcall arguments passed on the stack
- References: <56777916-F388-11D7-B0DC-000393D76DAA@apple.com> <200310010310.h913Awuv007600@hiauly1.hia.nrc.ca>
On Tue, Sep 30, 2003 at 11:10:58PM -2800, John David Anglin wrote:
> Yes, that appears to be the best fix. What had bothered me about it
> was there appears to have been a concious decision not to add stack
> slots to the CALL_INSN_FUNCTION_USAGE.
For non-const functions, there is no need, since "all memory" is
considered clobberable. For const functions, what we have now is
partially a mistake -- iirc Dale found that we add the use when
we're adding libcall notes, but I think we should do it all the time.
r~