Package: gcc-4.3
Version: 4.3.1-6
Severity: normal
In C99, _Bool is required to map to one of the unsigned types (6.2.5/6). On
i586, this is 'unsigned char', by ABI. That means that you get eight bits to
the _Bool.
However, GCC rejects the following (admittedly unethical) snippet:
struct S7 {
Package: gcc-4.3
Version: 4.3.1-6
Severity: normal
This testcase produces different output depending on whether -O1 or -O2 is
specified. Correct:
# gcc PR1386.c -o pr1386 -O1
PR1386.c: In function ‘main’:
PR1386.c:15: warning: large integer implicitly truncated to unsigned typ
--
bero at arklinux dot org changed:
What|Removed |Added
CC||bero at arklinux dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36439
3 matches
Mail list logo