This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19618] Does warn if bit-fields exceed the size of bool types
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2005 02:30:57 -0000
- Subject: [Bug c++/19618] Does warn if bit-fields exceed the size of bool types
- References: <20050125013354.19618.mikerobi@ameritech.net>
- Reply-to: gcc-bugzilla 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 1998 but since the mailing list history does not go back that far, I
don't know why.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2005-01-25 02:30:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19618