http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19618
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC|gcc-bugs at gcc dot gnu.org|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19618
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
--- Comment #4 from tydeman at tybor dot com 2009-02-04 16:16 ---
/*
* _Bool bit-fields: C99: 6.7.2.1, paragraph 3 along with Defect Report 335.
* _Bool bit-fields of size up to CHAR_BIT must be supported.
*/
#include limits.h /* CHAR_BIT */
int main(void){
struct bits
--- Comment #5 from joseph at codesourcery dot com 2009-02-04 16:30 ---
Subject: Re: Does warn if bit-fields exceed the size of bool
types
On Wed, 4 Feb 2009, tydeman at tybor dot com wrote:
/*
* _Bool bit-fields: C99: 6.7.2.1, paragraph 3 along with Defect Report 335.
* _Bool
--- Comment #6 from tydeman at tybor dot com 2009-02-04 17:15 ---
Opps. I missed that the bug report was against C++ (I still am learning
bugzilla). So, ignore my previous comments.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19618
--
mueller at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |mueller at gcc dot gnu dot
|dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-27
00:34 ---
We do error out with the C front-end.
--
What|Removed |Added
Last reconfirmed|2005-01-25
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-25
02:30 ---
Confirmed, werid.
(compare_tree_int (w, TYPE_PRECISION (type)) 0
TREE_CODE (type) != ENUMERAL_TYPE
TREE_CODE (type) != BOOLEAN_TYPE)
This changed way back in March of
--- Additional Comments From schlie at comcast dot net 2005-01-25 03:24
---
(In reply to comment #1)
An interesting question might be how wide is a bool type, I believe C defines
it as
having a rank less than char, and preumably at least as wide as an unsigned:1,
so
does that imply a