Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
builtin-bswap-2.c
blob: 818aa76b95dbf99e98b40f8ae35a9533e7c6983b [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -march=nocona" } */
/* { dg-final { scan-assembler-not "bswap\[ \t\]" } } */
int
foo
(
int
x
)
{
int
t
=
__builtin_bswap32
(
x
);
return
__builtin_bswap32
(
t
);
}