Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
gcc.dg
/
builtin-bswap-1.c
blob: 6b4a805536cef4bd43c66429ebdc66685c7c95db [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-require-effective-target stdint_types } */
/* { dg-options "" } */
/* { dg-final { scan-assembler-not "__builtin_" } } */
#include
<stdint.h>
uint32_t
foo
(
uint32_t
a
)
{
int
b
;
b
=
__builtin_bswap32
(
a
);
return
b
;
}