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: Matthew Woehlke
Subject: Re: Stack direction check fails with optimizations
Date: Wed, 13 Dec 2006 14:52:01 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

Paul Eggert wrote:
What about invoking the function indirectly, i.e. declare a pointer to
the function, set it to the function, and call ....

Sorry, none of that stuff is guaranteed to work with ISO C.
The implementation is allowed to dump core if you compare
A < B where A and B point to distinct objects.

Agreed. :-) I was mainly trying to think of a reliable way to avoid inlining (which might be useful in other contexts as well?).

--
Matthew
"unsubscribe me plz!!" -- Newbies





reply via email to

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