This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: function arguments offset computation with -fomit-frame-pointer



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]