From e69ad94ac58b13528fda35e3834971226e15bd43 Mon Sep 17 00:00:00 2001 From: wilco Date: Wed, 3 Feb 2016 12:18:19 +0000 Subject: [PATCH] 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 gcc/testsuite/ * gcc.target/aarch64/ccmp_1.c: Fix test issue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233102 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/aarch64/ccmp_1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 03376d58166e..88ec6dca5941 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-02-03 Wilco Dijkstra + + * gcc.target/aarch64/ccmp_1.c: Fix test issue. + 2016-02-03 Andre Vehreschild PR fortran/67451 diff --git a/gcc/testsuite/gcc.target/aarch64/ccmp_1.c b/gcc/testsuite/gcc.target/aarch64/ccmp_1.c index 7c962cbb396f..fd38b2cfdb83 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 } } */ -- 2.47.3