This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH AArch64] Fix faulty commit of testsuite/gcc.target/aarch64/csinc-2.c
- From: "Ian Bolton" <ian dot bolton at arm dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Nov 2012 17:49:28 -0000
- Subject: [PATCH AArch64] Fix faulty commit of testsuite/gcc.target/aarch64/csinc-2.c
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
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" } } */
+}