This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned
- From: "michael dot malone at tait dot co dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2009 00:43:41 -0000
- Subject: [Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned
- References: <bug-38341-17021@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from michael dot malone at tait dot co dot nz 2009-02-24 00:43 -------
I forgot to mention, if you assign to an intermediate variable, the warning
also disappears which is the behaviour I would expect from an explicit cast.
--
michael dot malone at tait dot co dot nz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael dot malone at tait
| |dot co dot nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38341