From d003d97f1d17b7ca89668fdf71d8a7f9c839cc2b Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Fri, 2 Dec 2016 12:32:16 +0000 Subject: [PATCH] S/390: Fix setmem-long test. Adding a " in the scan-assembler pattern is necessary because of a recent change in print-rtl.c. gcc/testsuite/ChangeLog: 2016-12-02 Dominik Vogt * gcc.target/s390/md/setmem_long-1.c: Fix test. From-SVN: r243176 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/s390/md/setmem_long-1.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 490d08165ab..c1416d06fc5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-12-02 Dominik Vogt + + * gcc.target/s390/md/setmem_long-1.c: Fix test. + 2016-12-02 Jakub Jelinek PR rtl-optimization/78547 diff --git a/gcc/testsuite/gcc.target/s390/md/setmem_long-1.c b/gcc/testsuite/gcc.target/s390/md/setmem_long-1.c index 933a6985aa8..bd0c5948f12 100644 --- a/gcc/testsuite/gcc.target/s390/md/setmem_long-1.c +++ b/gcc/testsuite/gcc.target/s390/md/setmem_long-1.c @@ -16,8 +16,8 @@ void test2(char *p, int c, int len) } /* Check that the right patterns are used. */ -/* { dg-final { scan-assembler-times {c:9 .*{[*]setmem_long_?3?1?z?}} 1 } } */ -/* { dg-final { scan-assembler-times {c:15 .*{[*]setmem_long_and_?3?1?z?}} 1 { xfail *-*-* } } } */ +/* { dg-final { scan-assembler-times {c"?:9 .*{[*]setmem_long_?3?1?z?}} 1 } } */ +/* { dg-final { scan-assembler-times {c"?:15 .*{[*]setmem_long_and_?3?1?z?}} 1 { xfail *-*-* } } } */ #define LEN 500 char buf[LEN + 2]; -- 2.30.2