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

             Bug #: 54615
           Summary: unclear documentation on -fomit-frame-pointer for -O
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: vincent-...@vinc17.net


http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html says about -O:

  -O also turns on -fomit-frame-pointer on machines where doing so does not
interfere with debugging.

and about -fomit-frame-pointer:

  Enabled at levels -O, -O2, -O3, -Os.

So, it is not clear whether -fomit-frame-pointer is always enabled at level -O
or not.

This bug is related to bug 51019 (unclear documentation on -fomit-frame-pointer
default for -Os and different platforms).

Reply via email to