[Bug driver/98783] Wrong ouput of "-O3 -Q --help=optimizers" on gcc built with --enable-frame-pointer

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 22 13:37:37 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98783

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|WAITING                     |RESOLVED

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to hasse.christoph from comment #3)
> --help=optimizers on GCC 10.2.0 build with --enable-frame-pointer prints:
> 
> -fomit-frame-pointer        		[enabled]
> 
> This flag should however be disabled by default.

Yes, but tip of gcc-10 branch is fine:
likely since:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=f7e39d1f137202a5d554849f6930ade58c312acd

$ ./xgcc -B. -O3 -Q --help=optimizers | grep omit
  -fomit-frame-pointer                  [disabled]


More information about the Gcc-bugs mailing list