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

Eli Friedman eli.friedman at gmail.com
Wed Jun 4 09:13:54 PDT 2008


On Wed, Jun 4, 2008 at 9:08 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> 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.

Does clang r51944 fix this?

-Eli



More information about the cfe-dev mailing list