https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87837
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Even the above commented TYPE_OVERFLOW_SANITIZED looks weird, I'd expect the type of the same expression on which we check TYPE_OVERFLOW_UNDEFINED.