[LLVMbugs] [Bug 1939] New: LLVM type size doesn't match GCC type size!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jan 21 12:35:46 PST 2008


           Summary: LLVM type size doesn't match GCC type size!
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dpatel at apple.com
                CC: llvmbugs at cs.uiuc.edu

--- b.c ---
struct X { long double b; unsigned char c; double __attribute__((packed)) d; };
struct X x = { 3.0L, 5, 3.0 };

Assertion failed: ((!TYPE_SIZE(Tr) || !Ty->isSized() || !isInt64(TYPE_SIZE(Tr),
true) || getInt64(TYPE_SIZE(Tr), true) ==
getTargetData().getABITypeSizeInBits(Ty)) && \
"LLVM type size doesn't match GCC type size!"), function llvm_set_type, file
../../llvmgcc42/gcc/llvm-types.cpp, line 82.

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