[cfe-dev] patch: boolean bitfield init
Daniel Dunbar
daniel at zuster.org
Thu Jul 17 10:50:04 PDT 2008
This is a quick fix for initialization of _Bool bit-fields which
have width > 1 (<rdar://problem/6078606>), as in:
--
struct {
_Bool a : 8;
int b : 9;
} x = { 1, 0 };
--
This allows test-suite/SingleSource/UnitTests/2006-01-23-InitializedBitField.c to build.
- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bool-bitfield-init.patch
Type: application/octet-stream
Size: 845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080717/656c1739/attachment.obj>
More information about the cfe-dev
mailing list