[LLVMbugs] [Bug 7926] New: Clang fails to compile code which uses inline keyword with -O0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 17 05:43:05 PDT 2010


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

           Summary: Clang fails to compile code which uses inline keyword
                    with -O0
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: hkultala at cs.tut.fi
                CC: llvmbugs at cs.uiuc.edu


very simple functions with just inline keyword don't seem to compile with clang
when -O0 is used.

with -O1, -O2, -O3 they seem to compile

Attachment is a very small&simple c code file which fails to compile with clang
with -O0.

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