[cfe-dev] test case: Codegen/struct.c is failing with an assertion failure

Devang Patel dpatel at apple.com
Wed Jun 4 13:56:10 PDT 2008


On Jun 4, 2008, at 10:03 AM, Eli Friedman wrote:

>
> That assertion essentially means that the LLVM type isn't ending up
> with the expected size according to the layout done in Sema.
>
> I tried committing another fix; could you see if it helps?

I have
$ svnversion .
51965
$ ../../../Debug/bin/clang CodeGen/struct.c -o /tmp/a --emit-llvm
Assertion failed: (CGT.getTargetData().getABITypeSizeInBits(STy) ==  
RL.getSize()), function layoutStructFields, file CodeGenTypes.cpp,  
line 531.

Do you see this failure ?
-
Devang






More information about the cfe-dev mailing list