Given that we're working with byte-addressable machines, each type must be at least one byte in size or you'd not be able to take a pointer to it. Noticed at random when I ran the sample "compile" program in the sparse source tree vs. a test C program that uses bools. It crashes without this patch. Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> --- target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target.c b/target.c index 17b228ae924c..6a535bc0b2d7 100644 --- a/target.c +++ b/target.c @@ -14,7 +14,7 @@ int max_alignment = 16; /* * Integer data types */ -int bits_in_bool = 1; +int bits_in_bool = 8; int bits_in_char = 8; int bits_in_short = 16; int bits_in_int = 32; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html