Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr64853.c
blob620f99d2bf958779152af7ab98d3e7faf3242fea
1 /* { dg-do run } */
3 struct S
5 int f1;
6 };
8 static struct S a = { 1 };
9 char b;
10 static unsigned char *c = &b;
11 int d, e, f;
13 int
14 fn1 (int p)
16 return 0 ? 0 : p - 1;
19 static int
20 fn2 (struct S p)
22 int g = 200;
23 for (e = 4; e; e = fn1 (e))
25 for (; d; d++)
27 *c &= p.f1 & g;
28 g = --*c;
29 if (f)
30 return 0;
32 return 0;
35 int
36 main ()
38 fn2 (a);
40 if (b != 0)
41 __builtin_abort ();
43 return 0;