This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: BUG? -fomit-frame-pointer and exceptions or setjmp/longjmp
- From: Richard Henderson <rth at redhat dot com>
- To: Denis Zaitsev <zzz at cd-club dot ru>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 2 Jun 2002 15:11:41 -0700
- Subject: Re: BUG? -fomit-frame-pointer and exceptions or setjmp/longjmp
- References: <20020603032930.A23158@natasha.zzz.zzz>
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~