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'twork
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.