1 /* { dg-options "-O1 -floop-nest-optimize" } */ 2 3 int ce[2]; 4 int o5; 5 int p7; 6 foo(void)7int foo (void) 8 { 9 int j1; 10 ce[0] = 0; 11 for (j1 = 0; j1 < 2; ++j1) 12 for (o5 = 1; o5 >= 0; --o5) 13 p7 += ce[o5]; 14 return 0; 15 } 16 17 int du; 18 bar(void)19int bar (void) 20 { 21 int u7[2]; 22 int ar; 23 24 for (ar = 0; ar < 2; ++ar) { 25 int xo; 26 27 for (xo = 0; xo < 2; ++xo) { 28 du += u7[ar]; 29 u7[0] = 0; 30 } 31 } 32 33 return 0; 34 } 35