[Bug c/35861] New: code bloat due to -finline-small-functions

a dot kaiser at gmx dot net gcc-bugzilla@gcc.gnu.org
Mon Apr 7 21:53:00 GMT 2008


In 4.3.0 -finline-small-functions cause excessive code bloat even though
according to the docs this option should not significantly increase code size.

Code size 4.1.2: 0x8A
Code size 4.3.0: 0x1EA
Code size 4.3.0: 0x88 with -fno-inline-small-functions

Command line:
  avr-gcc -Os -c rf12.c
or
  avr-gcc -Os -fno-inline-small-functions -c rf12.c


-- 
           Summary: code bloat due to -finline-small-functions
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: a dot kaiser at gmx dot net
  GCC host triplet: winavr 20080402 release
GCC target triplet: avr


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



More information about the Gcc-bugs mailing list