blob: 3f495b21f29a89906511eae0237f1ceca7083702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler-not "negl" { xfail *-*-* } } } */
/* { dg-final { scan-assembler-not "andl" { xfail *-*-* } } } */
int
test(int n)
{
if ((n & -n) != n)
__builtin_unreachable();
return n;
}
|