[Bug optimization/13184] New: -Os with -fomit-frame-pointer should only remove frame pointer if code size will decrease

bryner at brianryner dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 25 07:07:00 GMT 2003


Using -fomit-frame-pointer makes some functions smaller, and others larger.

It would be nice if when using -Os -fomit-frame-pointer, gcc could choose
whether to omit the frame pointer on a per-function basis, based on whether
doing so increases the code size.

-- 
           Summary: -Os with -fomit-frame-pointer should only remove frame
                    pointer if code size will decrease
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bryner at brianryner dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list