Sync with upstream 4.9 branch
[official-gcc.git] / embedded-4_9-branch / gcc / testsuite / gcc.target / i386 / pr63285.c
blobe4df8fb9238579764a50987d3d5f8d67d75b29f0
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fcompare-debug" } */
4 struct S { int a; };
5 struct T { int b, c; } a;
6 long b;
7 int c, d;
8 void bar (int, int);
9 void baz (void *, int);
11 void
12 foo (struct S *x, int y, int z, void *f, int *p, struct T *e)
14 while (x)
16 baz (f, &d > p);
17 if (z & 1)
18 bar (f > (void *) &f, z);
20 if (c)
22 asm ("" : "+m" (a) : "i" (0));
23 y--;
25 if (e->b == e->c)
26 c = y;
27 y--;