https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78891
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ((*(array+index) == 0x0) && (index < 16)) This is undefined code. You should swap around the two operands to the short cutting boolean and to have defined code.