[LLVMbugs] [Bug 5234] New: llvm-gcc doesn't honor -fno-inline?

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Oct 18 12:54:57 PDT 2009


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

           Summary: llvm-gcc doesn't honor -fno-inline?
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


I don't think this is intentional?
--
ddunbar at giles:tmp$ cat t.cpp
static int f0() { return 1; }
int f1() { return f0(); }

ddunbar at giles:tmp$ llvm-gcc -fno-inline -O3 -m32 -S -o - t.cpp


        .section        __TEXT,__text,regular,pure_instructions
        .align  4, 0x90
        .globl  __Z2f1v
__Z2f1v:
        pushl   %ebp
        movl    %esp, %ebp
        movl    $1, %eax
        popl    %ebp
        ret

        .subsections_via_symbols
ddunbar at giles:tmp$ 
--


-- 
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