x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20060412-1.c
bloba4cc4d450391b320ca8a891709ff7e5159f3f72c
1 extern void abort (void);
3 struct S
5 long o;
6 };
8 struct T
10 long o;
11 struct S m[82];
14 struct T t;
16 int
17 main ()
19 struct S *p, *q;
21 p = (struct S *) &t;
22 p = &((struct T *) p)->m[0];
23 q = p + 82;
24 while (--q > p)
25 q->o = -1;
26 q->o = 0;
28 if (q > p)
29 abort ();
30 if (q - p > 0)
31 abort ();
32 return 0;