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.