https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92334
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > int i = -7; char a[3]; char *q = a + i; The value of q is undefined and is officially not pointing to any object.