BUG: g++ 3.x.x -fomit-frame-pointer: exception handling doesn't work
Gwenole Beauchesne
gbeauchesne@mandrakesoft.com
Thu Aug 12 15:38:00 GMT 2004
On Thu, 12 Aug 2004, Gwenole Beauchesne wrote:
> with --host=i686-pc-linux-gnu, his testcase passes.
And I again forgot to mention: -mtune=i586 is enough to trigger his bug.
Actually, i586 or k6 => !x86_sub_esp_8 for those. Hence,
-O2 -fomit-frame-pointer -mtune=i586 will fail but not
-O2 -fomit-frame-pointer -mtune=i586 -fno-peephole2.
The transformation is OK but frame info breaks it seems.
More information about the Gcc
mailing list