function arguments offset computation with -fomit-frame-pointer
Richard Earnshaw
rearnsha@arm.com
Wed Jul 9 13:59:00 GMT 2003
>
> On Wednesday, Jul 9, 2003, at 08:26 US/Eastern, Hans-Peter Nilsson
> wrote:
>
> > On Wed, 9 Jul 2003, Bernardo Innocenti wrote:
> >> However, there must be still a bug somewhere because a Linux kernel
> >> compiled with -fomit-frame-pointer crashes with bus errors in a place
> >> I cannot reach with the debugger.
> >
> > Please arrange to run the GCC test-suite instead. It's usually
> > simpler than debugging crashed kernels.
>
> I think the crash is because Linux depends on __builtin_frame_pointer
> which gives
> the wrong value if you use -fomit-frame-pointer; there is already a bug
> filed
> against gcc for that.
>
> Thanks,
> Andrew Pinski
>
I think you must mean __builtin_frame_address(). There is no
__builtin_frame_pointer() function.
R.
More information about the Gcc
mailing list