This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37067] gcc creating wrong code with -O2
- From: "brian at dessent dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2008 21:00:44 -0000
- Subject: [Bug c/37067] gcc creating wrong code with -O2
- References: <bug-37067-15593@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from brian at dessent dot net 2008-08-09 21:00 -------
Subject: Re: gcc creating wrong code with -O2
Just make it unsigned since unsigned overflow is always defined.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067