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

Eli Friedman eli.friedman at gmail.com
Wed Jun 4 09:08:52 PDT 2008


On Wed, Jun 4, 2008 at 8:52 AM, Ted Kremenek <kremenek at apple.com> wrote:
> Anyone else seeing this?  Is this expected?  This is on Mac OS 10.5.3.
>
> $ ../TestRunner.sh struct.c
> ******************** TEST 'struct.c' FAILED! ********************
> Command:
>  clang struct.c -emit-llvm
> Incorrect Output:
> Assertion failed: (CGT.getTargetData().getABITypeSizeInBits(STy) ==
> RL.getSize()), function layoutStructFields, file CodeGenTypes.cpp,
> line 531.

Probably my fault; I'll look into it.

-Eli



More information about the cfe-dev mailing list