aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2016-02-03 12:18:19 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2016-02-03 12:18:19 +0000
commit96299640d4e2c4454df07b93fc148a08e26e94a2 (patch)
tree06ad115e6e83cdca8a17614152cd0b00085945b1
parent781d83d96d15ee03d845d6f2894d1d76ee24e79a (diff)
downloadgcc-96299640d4e2c4454df07b93fc148a08e26e94a2.zip
gcc-96299640d4e2c4454df07b93fc148a08e26e94a2.tar.gz
gcc-96299640d4e2c4454df07b93fc148a08e26e94a2.tar.bz2
Fix the ccmp_1.c test back to use '0' as regular expressions don't work correctly.
Fix the ccmp_1.c test back to use '0' as regular expressions don't work correctly. '0' is right due to compare with zero now printing as 'CMP w0, 0' rather than 'CMP w0, wzr'. 2016-02-03 Wilco Dijkstra <wdijkstr@arm.com> gcc/testsuite/ * gcc.target/aarch64/ccmp_1.c: Fix test issue. From-SVN: r233102
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.target/aarch64/ccmp_1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 03376d5..88ec6dc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-03 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * gcc.target/aarch64/ccmp_1.c: Fix test issue.
+
2016-02-03 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/67451
diff --git a/gcc/testsuite/gcc.target/aarch64/ccmp_1.c b/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
index 7c962cb..fd38b2c 100644
--- a/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
@@ -85,7 +85,7 @@ f13 (int a, int b)
/* { dg-final { scan-assembler "cmp\t(.)+34" } } */
/* { dg-final { scan-assembler "cmp\t(.)+35" } } */
-/* { dg-final { scan-assembler-times "\tcmp\tw\[0-9\]+, (0|wzr)" 4 } } */
+/* { dg-final { scan-assembler-times "\tcmp\tw\[0-9\]+, 0" 4 } } */
/* { dg-final { scan-assembler-times "fcmpe\t(.)+0\\.0" 2 } } */
/* { dg-final { scan-assembler-times "fcmp\t(.)+0\\.0" 2 } } */