diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 327067a337a..0137d210af7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-02-13 Roger Sayle + + * gcc.target/ia64/builtin-bswap-2.c: New test case. + 2007-02-13 Richard Henderson * gcc.c-torture/execute/ieee/pr29302-1.c: Moved from... diff --git a/gcc/testsuite/gcc.target/ia64/builtin-bswap-2.c b/gcc/testsuite/gcc.target/ia64/builtin-bswap-2.c new file mode 100644 index 00000000000..96f32c702ad --- /dev/null +++ b/gcc/testsuite/gcc.target/ia64/builtin-bswap-2.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-O2" } */ +/* { dg-final { scan-assembler "mux1" } } */ + +int foo (int x) +{ + return __builtin_bswap32 (x); +} +