[Bug tree-optimization/91227] pointer relational expression not folded but equivalent inequality is
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 24 17:17:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91227
--- Comment #9 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #8)
> I also agree that diagnosing all these unspecified (or undefined in C) cases
> would be helpful as they (at least in the straightforward instances) are
> most likely coding mistakes.
Note that there is already a sanitizer for that. Of course it isn't the same as
a warning.
More information about the Gcc-bugs
mailing list