https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77433
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This also should be detected at runtime with either -fsantizer=undefined or -fsantizer=address (if it is not, please file another bug for that).