https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108793
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2023-02-14 Target Milestone|--- |12.3 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Version without function pointers: typedef int *p; extern p a[], b[]; int f () { int n = 0; for (p* i = &a[0]; i > &b[0]; i++) n++; return n; }