autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stack direction check fails with optimizations


From: Roger While
Subject: Re: Stack direction check fails with optimizations
Date: Wed, 13 Dec 2006 12:40:59 +0100

Any reason why the following should not work ? -

int
growsdown (void *x)
{
        int y;
        return x > (void *)&y;
}

int
main()
{
        int x;
        exit (growsdown(&x));
}

Roger While






reply via email to

[Prev in Thread] Current Thread [Next in Thread]