1 /* { dg-do compile } */ 2 /* { dg-additional-options "--param rpo-vn-max-loop-depth=5" } */ 3 4 int uc; 5 6 void j8(int * xv,int f3)7j8 (int *xv, int f3) 8 { 9 uc = 0; 10 while (uc < 1) 11 { 12 } 13 14 if (*xv == 0) 15 { 16 int *o8 = xv; 17 18 if (0) 19 { 20 n3: 21 *o8 = 0; 22 while (*o8 < 1) 23 { 24 h5: 25 *o8 = 0; 26 } 27 } 28 29 while (*xv < 1) 30 if (*xv == 0) 31 goto h5; 32 33 g5: 34 ; 35 } 36 37 *xv = 0; 38 for (;;) 39 { 40 while (uc < 1) 41 { 42 } 43 44 while (f3 < 1) 45 { 46 if (*xv == 0) 47 goto n3; 48 49 while (f3 < 1) 50 while (*xv < 1) 51 while (*xv < 1) 52 while (*xv < 1) 53 while (*xv < 1) 54 { 55 } 56 } 57 58 if (*xv == 0) 59 goto g5; 60 } 61 } 62