1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* PR tree-optimization/19283 */ void abort (void); static inline unsigned short foo (unsigned int *p) { return *p; }; unsigned int u; int main () { if ((foo (&u) & 0x8000) != 0) abort (); return 0; }