[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2013-05-24 Thread paolo.carlini at oracle dot com
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|

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2013-05-24 Thread paolo.carlini at oracle dot com
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

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2009-02-04 Thread tydeman at tybor dot com
--- 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

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2009-02-04 Thread joseph at codesourcery dot com
--- 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

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2009-02-04 Thread tydeman at tybor dot com
--- 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

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2007-01-21 Thread mueller at gcc dot gnu dot org
-- 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

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2005-04-26 Thread pinskia at gcc dot gnu 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

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2005-01-24 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2005-01-24 Thread schlie at comcast dot net
--- 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