This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Minor work-around for native HPPA compiler bug
"Joseph S. Myers" <firstname.lastname@example.org> writes:
> On Fri, 2 Jan 2004, Zack Weinberg wrote:
>> > Testing whether (bool)2 == 1 is a compile-time test, just as computing
>> > type sizes is.
>> Doesn't the cast make it an invalid array size expression?
> bool is an integer type, so no.
Oh, ok. (I'm kinda groggy this morning.) This still doesn't help
with the issue of not being able to rely on properties of _Bool