[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Bug in _Bool return values

From: Louis Botha
Subject: Re: [Tinycc-devel] Bug in _Bool return values
Date: Tue, 5 Feb 2019 09:37:31 +0000

Hi Giovanni,

Just to add another data-point:  It also breaks on Visual Studio (tested 2017 
and 2019-preview), not just GCC.
Thanks you for the pointers on the ABI, very interesting.
At the purely-C level, without looking under the hood, if a compiler returns 
sizeof(_Bool) == 1 (which TCC does at least in my i386 tests), wouldn't it be 
internally inconsistent to test a _Bool return value for 4 bytes being 0 as 
opposed to just 1?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]