[LLVMbugs] [Bug 4035] New: clang miscompiles global complex float

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Apr 22 11:20:27 PDT 2009


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

           Summary: clang miscompiles global complex float
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu


This:
_Complex float G = 4;

Gets compiled to:
        type { i32, i32 }               ; type %0
@G = global %0 { i32 4, i32 0 }, align 4                ; <%0*> [#uses=0]


4 != 4.0


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