[Bug c/71852] add warning for conditions that can never be true
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 13 07:05:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71852
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
We do have a simple bitmask propagation pass - ccp.
The question is if it isn't too late for such warning, as in if the preceeding
optimizations don't change the code enough (even for ccp1) that the warning
would have too many false positives.
More information about the Gcc-bugs
mailing list