BUG: g++ 3.x.x -fomit-frame-pointer: exception handling doesn't work

Gwenole Beauchesne gbeauchesne@mandrakesoft.com
Thu Aug 12 22:44:00 GMT 2004


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.



More information about the Gcc mailing list