Patchwork [AArch64] Fix faulty commit of testsuite/gcc.target/aarch64/csinc-2.c

login
register
mail settings
Submitter Ian Bolton
Date Nov. 16, 2012, 5:49 p.m.
Message ID <000101cdc422$b975a700$2c60f500$@bolton@arm.com>
Download mbox | patch
Permalink /patch/199709/
State New
Headers show

Comments

Ian Bolton - Nov. 16, 2012, 5:49 p.m.
A commit I did earlier in the week got truncated somehow, leading
to a broken testcase for AArch64 target.

I've just commited this fix as obvious on trunk and the
arm/aarch64-4.7-branch.

Cheers
Ian

Patch

Index: gcc/testsuite/gcc.target/aarch64/csinc-2.c
===================================================================
--- gcc/testsuite/gcc.target/aarch64/csinc-2.c  (revision 193571)
+++ gcc/testsuite/gcc.target/aarch64/csinc-2.c  (revision 193572)
@@ -12,3 +12,7 @@  typedef long long s64;
 
 s64
 foo2 (s64 a, s64 b)
+{
+  return (a == b) ? 7 : 1;
+  /* { dg-final { scan-assembler "csinc\tx\[0-9\].*xzr" } } */
+}