Go to file
Eli Friedman f2442dcc8d Fix support for _Bool bitfields. The issue is that the bitfield width
used for _Bool is not the same as the primitive width (which for _Bool 
is 1 bit).  The load and store changes add some casts to make the 
types consistent.  The EmitLValue changes make sure that the pointer is 
of an appropriate type for loading the bitfield.

This isn't perfect, but it's an improvement, and getting everything 
right depends on actually laying out structs in an ABI-compliant way.

llvm-svn: 51224
2008-05-17 20:03:47 +00:00
clang Fix support for _Bool bitfields. The issue is that the bitfield width 2008-05-17 20:03:47 +00:00
llvm Revert constant-folding change that will miscompile in some cases. 2008-05-17 19:00:05 +00:00