zero_bits_compound-2.c: Fix test for aarch64.

2016-11-30  Michael Collison  <michael.collison@arm.com>

	* gcc.dg/zero_bits_compound-2.c: Fix test for aarch64.

From-SVN: r244348
This commit is contained in:
Michael Collison 2017-01-12 08:12:02 +00:00 committed by Michael Collison
parent da7069127c
commit f15dbadbf6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2017-01-12 Michael Collison <michael.collison@arm.com>
* gcc.dg/zero_bits_compound-2.c: Fix test for aarch64.
2017-01-11 Julia Koval <julia.koval@intel.com>
Uros Bizjak <ubizjak@gmail.com>

View File

@ -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*-*-* } } } */