[llvm-commits] [llvm] r46333 - /llvm/trunk/test/CFrontend/2008-01-24-StructAlignAndBitFields.c
Devang Patel
dpatel at apple.com
Fri Jan 25 09:29:13 PST 2008
On Jan 25, 2008, at 12:55 AM, Duncan Sands wrote:
> Hi Devang, what is this test testing? A compiler crash?
> It doesn't crash here without your fix.
Hmm.. did you try assertion enabled build ? What is the size and
alignment of this struct for you without this patch ?
-
Devang
>
>
>> +// RUN: %llvmgcc %s -S -o -
>> +
>> +// This struct is not 4 byte aligned becaues bit-field
>> +// type does not influence struct alignment.
>> +struct U { char a; short b; int c:25; char d; } u;
More information about the llvm-commits
mailing list