[Bug driver/48832] -O2 does not imply -fomit-frame-pointer, contrary to --help=optimizers -v -Q

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 2 10:26:00 GMT 2011


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.05.02 10:24:33
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-02 10:24:33 UTC ---
Works for me:

> gcc-4.6 -S t.c -m32 -O2
> cat t.s
        .file   "t.c"
        .text
        .p2align 4,,15
        .globl  f
        .type   f, @function
f:
.LFB0:
        movl    $1, %eax
        ret
...

please show us that output from -v



More information about the Gcc-bugs mailing list