This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37591] suppress "signed and unsigned" warnings when signed value known to be positive
- 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: 19 Sep 2008 20:55:28 -0000
- Subject: [Bug c/37591] suppress "signed and unsigned" warnings when signed value known to be positive
- References: <bug-37591-37@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-19 20:55 -------
I think this needs to delay the warning until VRP time really but I don't see
how that can be done really.
Also the front-end does known that adj will only be positive, the middle-end
only knows during VRP really.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37591