1/* PR rtl-optimization/57861 */ 2 3extern void abort (void); 4short a = 1, f; 5int b, c, d, *g = &b, h, i, j; 6unsigned int e; 7 8static int 9foo (char p) 10{ 11 int k; 12 for (c = 0; c < 2; c++) 13 { 14 i = (j = 0) || p; 15 k = i * p; 16 if (e < k) 17 { 18 short *l = &f; 19 a = d && h; 20 *l = 0; 21 } 22 } 23 return 0; 24} 25 26int 27main () 28{ 29 *g = foo (a); 30 if (a != 0) 31 abort (); 32 return 0; 33} 34