diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/builtin-bswap-7.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.dg/builtin-bswap-7.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/builtin-bswap-7.c b/gcc-4.9/gcc/testsuite/gcc.dg/builtin-bswap-7.c index 399b825ac..035c7368a 100644 --- a/gcc-4.9/gcc/testsuite/gcc.dg/builtin-bswap-7.c +++ b/gcc-4.9/gcc/testsuite/gcc.dg/builtin-bswap-7.c @@ -3,6 +3,10 @@ /* { dg-require-effective-target lp64 } */ /* { dg-options "-O -fdump-rtl-combine" } */ +/* The branch cost setting prevents the return value from being + calculated with arithmetic instead of doing a compare. */ +/* { dg-additional-options "-mbranch-cost=0" { target s390x-*-* } } */ + #include <stdint.h> #define BS(X) __builtin_bswap64(X) |