From: Michael Collison Date: Thu, 12 Jan 2017 08:12:02 +0000 (+0000) Subject: zero_bits_compound-2.c: Fix test for aarch64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f15dbadbf6a204a48ab2f244b5b677dafa595e04;p=gcc.git zero_bits_compound-2.c: Fix test for aarch64. 2016-11-30 Michael Collison * gcc.dg/zero_bits_compound-2.c: Fix test for aarch64. From-SVN: r244348 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c8c9c628e0a..b10c0360710 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-01-12 Michael Collison + + * gcc.dg/zero_bits_compound-2.c: Fix test for aarch64. + 2017-01-11 Julia Koval Uros Bizjak diff --git a/gcc/testsuite/gcc.dg/zero_bits_compound-2.c b/gcc/testsuite/gcc.dg/zero_bits_compound-2.c index f6c390a3941..64e6744b792 100644 --- a/gcc/testsuite/gcc.dg/zero_bits_compound-2.c +++ b/gcc/testsuite/gcc.dg/zero_bits_compound-2.c @@ -3,7 +3,7 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* s390*-*-* aarch64*-*-* } } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -dP" } */ +/* { dg-options "-O3 -dP -fdump-rtl-combine" } */ unsigned long foo (unsigned char c) { @@ -36,4 +36,6 @@ unsigned long bar (unsigned char c) } /* Check that an AND expression was used. */ -/* { dg-final { scan-assembler-times "\\(and:" 2 } } */ +/* { dg-final { scan-assembler-times "\\(and:" 2 { target { ! aarch64*-*-* } } } } */ +/* { dg-final { scan-rtl-dump "\\(and:DI" "combine" { target aarch64*-*-* } } } */ +/* { dg-final { scan-rtl-dump "\\(and:SI" "combine" { target aarch64*-*-* } } } */