1/* PR rtl-optimization/57281 */ 2 3int a = 1, b, d, *e = &d; 4long long c, *g = &c; 5volatile long long f; 6 7int 8foo (int h) 9{ 10 int j = *g = b; 11 return h == 0 ? j : 0; 12} 13 14int 15main () 16{ 17 int h = a; 18 for (; b != -20; b--) 19 { 20 (int) f; 21 *e = 0; 22 *e = foo (h); 23 } 24 return 0; 25} 26