This is the mail archive of the
mailing list for the GCC project.
Re: builtin_frame_address for stack pointer
On Mon, 2007-10-22 at 22:58 -0700, Andrew Pinski wrote:
> On 10/22/07, skaller <firstname.lastname@example.org> wrote:
> > Unfortunately, this appears not to work if -fomit-frame-pointer
> > is used on an x86.
> What version of GCC? Since this was fixed for 4.1.0, see
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8335 .
> Andrew Pinski
Ah .. I do not know, it is not me that is having this problem
but another developer. I'll ask. Thanks for the info.
BTW: you say this is fixed, I read the bug info but am still
unclear of the resolution.. will __builtin_frame_pointer(0)
always return an approximation to the stack pointer now,
even if -fomit-frame-pointer is set?
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net