Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr61221.c
blob2524382ba1a6b18473e7ad78b1a1cb2aaceb37bb
1 /* { dg-do compile } */
3 void __assert_fail (void);
5 int **a, b, c, e, *j;
6 short *d, **f;
8 int *
9 foo ()
11 *a = j;
12 if (!(1 & e))
13 __assert_fail ();
14 return 0;
17 void
18 bar ()
20 int *g = &b;
21 short **h = &d;
22 if ((f = &d) != h)
23 for (; b;)
25 int i = 1;
26 if (i)
27 g = foo ();
28 c = 0;
30 if (!g)
31 __assert_fail ();