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: BUG? -fomit-frame-pointer and exceptions or setjmp/longjmp


On Sun, Jun 02, 2002 at 03:11:41PM -0700, Richard Henderson wrote:
> On Mon, Jun 03, 2002 at 03:29:31AM +0600, Denis Zaitsev wrote:
> > If gcc is built with the -fomit-frame-pointer in the environment's
> > CXXFLAGS, then we have a dead exception handling mechanics - a c++
> > program, compiled with such a gcc, can't catch any of an exceptions it
> > throws.
> 
> 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?


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