[Bug c/38470] value range propagation (VRP) would improve -Wsign-compare

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 16 10:44:00 GMT 2012


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



More information about the Gcc-bugs mailing list