1 /* PR rtl-optimization/57281 */
2 
3 int a = 1, b, d, *e = &d;
4 long long c, *g = &c;
5 volatile long long f;
6 
7 int
foo(int h)8 foo (int h)
9 {
10   int j = *g = b;
11   return h == 0 ? j : 0;
12 }
13 
14 int
main()15 main ()
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