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: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2008 12:49:36 -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 #3 from rguenth at gcc dot gnu dot org 2008-12-01 12:49 -------
As I said, for the first case we optimize away the promotions before the
warning
code comes along.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38341