This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38470] value range propagation (VRP) would improve -Wsign-compare
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Apr 2012 10:43:44 +0000
- Subject: [Bug c/38470] value range propagation (VRP) would improve -Wsign-compare
- Auto-submitted: auto-generated
- References: <bug-38470-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38470
--- Comment #11 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-04-16 10:43:44 UTC ---
(In reply to comment #10)
> It seems like we could at least add a simple improvement that just checks for
> simple comparisons to 0. That probably catches most code (I often do one set of
You are welcome to try: http://gcc.gnu.org/contribute.html