public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/51019] New: unclear documentation on -fomit-frame-pointer default for -Os and different platforms
@ 2011-11-08  1:40 solar-gcc at openwall dot com
  2012-01-13  6:55 ` [Bug middle-end/51019] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: solar-gcc at openwall dot com @ 2011-11-08  1:40 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51019
           Summary: unclear documentation on -fomit-frame-pointer default
                    for -Os and different platforms
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: solar-gcc@openwall.com


The texinfo documentation for GCC 4.6.2 says:

     Starting with GCC version 4.6, the default setting (when not
     optimizing for size) for 32-bit Linux x86 and 32-bit Darwin x86
     targets has been changed to `-fomit-frame-pointer'.  The default
     can be reverted to `-fno-omit-frame-pointer' by configuring GCC
     with the `--enable-frame-pointer' configure option.

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

The "when not optimizing for size" comment feels contradictory to having "-Os"
listed on the "Enabled at levels" line.  Also, it is not clear what the default
is on other than "32-bit Linux x86 and 32-bit Darwin x86".  In practice, I
observe the following behavior with GCC 4.6.2: on Linux/x86_64,
-fomit-frame-pointer is the default at both -O2 and -Os (I did not test
others); on Linux/i386, it is the default at -O2, but not at -Os.  This needs
to be documented more clearly.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug middle-end/51019] unclear documentation on -fomit-frame-pointer default for -Os and different platforms
  2011-11-08  1:40 [Bug web/51019] New: unclear documentation on -fomit-frame-pointer default for -Os and different platforms solar-gcc at openwall dot com
@ 2012-01-13  6:55 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-13  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-01-13
          Component|web                         |middle-end
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-13 06:55:22 UTC ---
Confirmed.  Related to bug 13822.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-13  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08  1:40 [Bug web/51019] New: unclear documentation on -fomit-frame-pointer default for -Os and different platforms solar-gcc at openwall dot com
2012-01-13  6:55 ` [Bug middle-end/51019] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).