PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr26729-1.c
blob2f55ef7f4f09d38605a2a1dd1a524a6076330850
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 void abort(void);
6 __attribute__((noinline))
7 int f (unsigned short word) {
8 return (word & 0x1) && (((unsigned short) (word & 0x8000)) == 0x8000);
11 int main(void) {
12 if (!f(0x8001))
13 abort();
14 return 0;