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: 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.



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