[cfe-dev] patch: boolean bitfield init

Devang Patel dpatel at apple.com
Thu Jul 17 11:26:42 PDT 2008


On Jul 17, 2008, at 11:14 AM, Daniel Dunbar wrote:

> The immediate problem is that the constant being used to initialize
> the bit-field is of type bool (this is a separate bug) even though  
> the bit-
> field has width > 1.

But the size of type bool should be 8 bits, otherwise the test case is  
invalid.
For example,
	struct { int a:199; } b;

-
Devang



More information about the cfe-dev mailing list