]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix the ccmp_1.c test back to use '0' as regular expressions don't work correctly.
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 3 Feb 2016 12:18:19 +0000 (12:18 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Wed, 3 Feb 2016 12:18:19 +0000 (12:18 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/ccmp_1.c

index 03376d58166ebfd9ff5c944d20167db674e49f77..88ec6dca5941661da1eb01533a364026d06ce616 100644 (file)
@@ -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
index 7c962cbb396f5ef9634cf3091dd12327ad2a7b03..fd38b2cfdb834c6395ddb939b54d23345c51b8d9 100644 (file)
@@ -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 } } */