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

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 23 16:20:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38470

--- Comment #19 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Andrew Macleod from comment #18)
> So the information would be there if one knew what to look for and how to
> use it.

The issue here is to either have VRP info in the FE (like Clang does) or to
move this warning to the middle-end.


More information about the Gcc-bugs mailing list