BUG? -fomit-frame-pointer and exceptions or setjmp/longjmp
Richard Henderson
rth@redhat.com
Sun Jun 2 19:46:00 GMT 2002
On Mon, Jun 03, 2002 at 04:33:41AM +0600, Denis Zaitsev wrote:
> > If true, that's a bug. The frame pointer is NOT necessary to
> > throw or catch exceptions.
> >
> But is it necessary for the things like __builtin_(frame|return)_address,
> if the level is much deep than 0?
That's not how exceptions are implemented. We examine
dwarf2 frame unwind information that describes the layout
of the frame very very well.
r~
More information about the Gcc
mailing list