PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr57281.c
blobdb3db10d9e75074069df3dd3710608cb58be7253
1 /* PR rtl-optimization/57281 */
3 int a = 1, b, d, *e = &d;
4 long long c, *g = &c;
5 volatile long long f;
7 int
8 foo (int h)
10 int j = *g = b;
11 return h == 0 ? j : 0;
14 int
15 main ()
17 int h = a;
18 for (; b != -20; b--)
20 (int) f;
21 *e = 0;
22 *e = foo (h);
24 return 0;