1 2 3 4 5 6 7 8 9
/* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler-not "bswapdi2" } } */ long long foo (long long x) { return __builtin_bswap64 (x); }