Re: [PATCH] manual: _Bool has trap representations

2016-09-20 Thread Joseph Myers
On Tue, 20 Sep 2016, Florian Weimer wrote: > On 09/19/2016 11:26 PM, Joseph Myers wrote: > > On powerpc-darwin _Bool is 4-byte not 1-byte, so saying values are > > represented as bytes isn't accurate for all systems supported by GCC. > > Interesting. > > Is the treatment of 0/1/the rest still

Re: [PATCH] manual: _Bool has trap representations

2016-09-19 Thread Florian Weimer
On 09/19/2016 11:26 PM, Joseph Myers wrote: On powerpc-darwin _Bool is 4-byte not 1-byte, so saying values are represented as bytes isn't accurate for all systems supported by GCC. Interesting. Is the treatment of 0/1/the rest still the same there? Thanks, Florian

Re: [PATCH] manual: _Bool has trap representations

2016-09-19 Thread Joseph Myers
On powerpc-darwin _Bool is 4-byte not 1-byte, so saying values are represented as bytes isn't accurate for all systems supported by GCC. -- Joseph S. Myers jos...@codesourcery.com

[PATCH] manual: _Bool has trap representations

2016-09-19 Thread Florian Weimer
Defined behavior for extraordinary values of _Bool would be preferable, but we can at least document what we have now. Thanks, Florian 2016-09-19 Florian Weimer * doc/implement-c.texi (Integers implementation): _Bool has trap representations. Index: