This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: BUG: g++ 3.x.x -fomit-frame-pointer: exception handling doesn't work
- From: Gwenole Beauchesne <gbeauchesne at mandrakesoft dot com>
- To: Denis Zaitsev <zzz at anda dot ru>
- Cc: James E Wilson <wilson at specifixinc dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 12 Aug 2004 23:40:58 +0200
- Subject: Re: BUG: g++ 3.x.x -fomit-frame-pointer: exception handling doesn't work
Hi,
What if configure without --disable-libunwind-exceptions?
It doesn't matter, latest gcc I tried with was configured with
--enable-languages="c,c++" only, so it picked up whatever defaults
there are. Then the following options trigger the bug on your test case:
-O2 -fomit-frame-pointer -mtune=i586 (or -mcpu= with 3.3.2)
BTW, my test does not segfault, but just exits thru abort.
Yes, it was a (half) problem on my side. It can abort too.