[LLVMbugs] [Bug 4792] New: 2008-07-22-bitfield-init-after-zero-len-array. c Fails on PPC

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Aug 26 22:42:54 PDT 2009


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

           Summary: 2008-07-22-bitfield-init-after-zero-len-array.c Fails on
                    PPC
           Product: clang
           Version: 2.6
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: wendling at apple.com
                CC: llvmbugs at cs.uiuc.edu


This error occurred during 2.6 test. When I run this command on Mac OS X PPC G5
running Leopard:

$ clang-cc --emit-llvm -o t.ll 2008-07-22-bitfield-init-after-zero-len-array.c 

I get the following output:

$ more t.ll
; ModuleID = '2008-07-22-bitfield-init-after-zero-len-array.c'
target datalayout =
"E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64"
target triple = "powerpc-apple-darwin9"

%0 = type { [0 x float], i8, [3 x i8] }

@yv7 = global %0 { [0 x float] zeroinitializer, i8 -48, [3 x i8]
zeroinitializer }, align 4 ; <%0*> [#uses=0]

The test is checking for "i8 52".


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