blob: d5c9be5b9ef22668ce5c8762adc3f361a050eff0 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler-not "negl" } } */
/* { dg-final { scan-assembler-not "andl" } } */
int
test(int n)
{
if ((n & -n) != n)
__builtin_unreachable();
return n;
}