This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14611] static unsigned int small= -1U;
- From: "ierdnah at go dot ro" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2004 10:51:57 -0000
- Subject: [Bug c/14611] static unsigned int small= -1U;
- References: <20040316192946.14611.ierdnah@go.ro>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ierdnah at go dot ro 2004-03-17 10:51 -------
sorry, there should be:
-----------------
#include <stdio.h>
#define big 6
int main()
{
static unsigned int small= -1U;
if( small >= big ) printf("This sholdn't print!");
}
-----------------
gcc bug.c -o bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14611