AVR: target/116407 - Fix linker error "relocation truncated to fit".
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / ifcvt-onecmpl-abs-1.c
blob6e02dd7a7e8df0db489db670ab0fc4e8925e3ef3
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* Check code generation for one's complement version of abs */
6 int onecmplabs(int x)
8 if (x < 0)
9 x = ~x;
10 return x;
13 /* { dg-final { scan-assembler "\txor" } } */