[Bug target/57018] Miscompilation of bison 2.7.1 under "-Os -fomit-frame-pointer"

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 21 05:04:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57018

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-04-21 05:04:48 UTC ---
(In reply to comment #2)
> I've always been in the habit of specifying --host=i386-... so that my binaries
> don't vary based on where I compile them.
> 
> I tried a few -march options to no effect.
> 
> However, I think I've found the reason.  One unusual thing about my GCC is that
> I compiled with --enable-frame-pointer even though I always manually reverse
> that from the command line.  This is because GCC bloats all omit-frame-pointer
> code with exception tables otherwise.  (I wish GCC had an "-fundebuggable"
> option to express what I've always meant by -fomit-frame-pointer all these
> years...)

-fno-asynchronous-unwind-tables is your answer to that question which you
answer basically right below:

> 
> I tried compiling my case with "-Os -fomit-frame-pointer
> -fasynchronous-unwind-tables" and that suppressed the bug.



More information about the Gcc-bugs mailing list