Commit 7cd0387b by Andreas Krebbel Committed by Andreas Krebbel

S/390: Turn movstr-1.c into compile only test.

gcc/testsuite/ChangeLog:

	* gcc.target/s390/md/movstr-1.c: Turn into compile test.

From-SVN: r233622
parent 524cf46a
2016-02-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc.target/s390/md/movstr-1.c: Turn into compile test.
2016-02-20 Mark Wielaard <mjw@redhat.com> 2016-02-20 Mark Wielaard <mjw@redhat.com>
PR c/28901 PR c/28901
......
/* Machine description pattern tests. */ /* Machine description pattern tests. */
/* { dg-do run } */ /* { dg-do compile } */
/* { dg-options "-dP -save-temps" } */ /* { dg-options "-dP" } */
__attribute__ ((noinline)) __attribute__ ((noinline))
void test(char *dest, const char *src) void test(char *dest, const char *src)
...@@ -10,15 +10,3 @@ 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 } } */ /* { 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment