[LLVMbugs] [Bug 12348] New: -Oz inlines too aggressive

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 24 23:40:54 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12348

             Bug #: 12348
           Summary: -Oz inlines too aggressive
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8266
  --> http://llvm.org/bugs/attachment.cgi?id=8266
Test case

Compile the attached test caser with -Oz -m32 -ffreestanding. It compiles to
961 Bytes. Comment out the noinline attribute and watch it grow to 1303 Bytes.
That's a 50% increase in size.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list