1 /* { dg-skip-if "ptxas times out" { nvptx-*-* } { "-O1" } { "" } } */ 2 3 void fun(nb)4fun (nb) 5 int nb; 6 { 7 int th, h, em, nlwm, nlwS, nlw, sy; 8 9 while (nb--) 10 while (h--) 11 { 12 nlw = nlwm; 13 while (nlw) 14 { 15 if (nlwS == 1) 16 { 17 } 18 else 19 if (nlwS == 1) 20 { 21 } 22 nlwS--; nlw--; 23 } 24 if (em) 25 nlwS--; 26 if (++sy == th) 27 sy = 0; 28 } 29 } 30