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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to