1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -floop-nest-optimize -fno-tree-loop-im --param scev-max-expr-size=1" } */ 3 4 void h8(int cv,int od)5h8 (int cv, int od) 6 { 7 for (;;) 8 { 9 int ih = (__UINTPTR_TYPE__)&od; 10 if (cv == 0) 11 while (od < 1) 12 { 13 int lq; 14 15 for (lq = 0; lq < 3; ++lq) 16 for (ih = 0; ih < 4; ++ih) 17 od += lq; 18 } 19 while (ih < 1) 20 { 21 } 22 } 23 } 24