2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr65217.c
blobd5c9be5b9ef22668ce5c8762adc3f361a050eff0
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
3 /* { dg-final { scan-assembler-not "negl" } } */
4 /* { dg-final { scan-assembler-not "andl" } } */
6 int
7 test(int n)
9 if ((n & -n) != n)
10 __builtin_unreachable();
11 return n;