BUG? -fomit-frame-pointer and exceptions or setjmp/longjmp

Richard Henderson rth@redhat.com
Sun Jun 2 15:11:00 GMT 2002


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.



r~



More information about the Gcc mailing list