1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* { dg-do compile } */ /* { dg-options "-O -floop-nest-optimize" } */ int * eo (void); void g4 (int *nt) { int dh, t2 = (__INTPTR_TYPE__)eo (); for (dh = 0; dh < 2; ++dh) { int m7; for (m7 = 0; m7 < t2; ++m7) nt[m7] = 0; } }