1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
extern void abort (void); extern void exit (int); int a[6], c = 1, d; short e; int __attribute__ ((noinline)) fn1 (int p) { return a[p]; } int main () { if (sizeof (long long) != 8) exit (0); a[0] = 1; if (c) e--; d = e; long long f = e; if (fn1 ((f >> 56) & 1) != 0) abort (); exit (0); }