Andres Freund <andres@anarazel.de> writes:
> On 2017-04-05 10:45:06 -0400, Tom Lane wrote:
>> Andres Freund <andres@anarazel.de> writes:
>>> I wonder if there's any compiler that has _Bool/stdbool.h where it's not
>>> 1 byte sized. It's definitely not guaranteed by the standard.
>> Hm. I'd supposed that it'd be pretty common to make _Bool be int-sized.
> I think nearly all x86 compilers use 1byte, but I assume there's some
> architectures where that'd be expensive.
[ pokes around... ] prairiedog's gcc (Apple PPC) thinks sizeof(_Bool)
is 4.
regards, tom lane