This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed 1/3] S/390: Turn movstr-1.c into compile only test.
- From: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Feb 2016 11:20:11 +0100
- Subject: [Committed 1/3] S/390: Turn movstr-1.c into compile only test.
- Authentication-results: sourceware.org; auth=none
- References: <1456222813-20865-1-git-send-email-krebbel at linux dot vnet dot ibm dot com>
gcc/testsuite/ChangeLog:
* gcc.target/s390/md/movstr-1.c: Turn into compile test.
---
gcc/testsuite/gcc.target/s390/md/movstr-1.c | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/gcc/testsuite/gcc.target/s390/md/movstr-1.c b/gcc/testsuite/gcc.target/s390/md/movstr-1.c
index da98415..b83ed6d 100644
--- a/gcc/testsuite/gcc.target/s390/md/movstr-1.c
+++ b/gcc/testsuite/gcc.target/s390/md/movstr-1.c
@@ -1,7 +1,7 @@
/* Machine description pattern tests. */
-/* { dg-do run } */
-/* { dg-options "-dP -save-temps" } */
+/* { dg-do compile } */
+/* { dg-options "-dP" } */
__attribute__ ((noinline))
void test(char *dest, const char *src)
@@ -10,15 +10,3 @@ void test(char *dest, const char *src)
}
/* { dg-final { scan-assembler-times {{[*]movstr}|{vec_vfenesv16qi}} 1 } } */
-
-#define LEN 200
-char buf[LEN];
-
-int main(void)
-{
- __builtin_memset(buf, 0, LEN);
- test(buf, "hello world!");
- if (__builtin_strcmp(buf, "hello world!") != 0)
- __builtin_abort();
- return 0;
-}
--
1.9.1