This is the mail archive of the
mailing list for the GCC project.
Re: Sibcall arguments passed on the stack
On Wed, Oct 01, 2003 at 12:22:16PM -0400, John David Anglin wrote:
> Ok, it looks as if we may have a problem in determining when a function
> is non-const (PR 12372). It would appear that the following function
> in gcc.c-torture/execute/20030307-1.c is treated as a const function:
> int fcntl_lock(int fd, int op, long long offset, long long count, int type)
> return type;
This _is_ a const function. Its results do not depend on anything
> This allows stack arguments to be deleted.
If the C_I_F_U use was present, it wouldn't be deleted.