aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-07-15 23:26:36 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2003-07-15 23:26:36 +0200
commitbc8229a050f9471ec0f5f492806440b9b9b19250 (patch)
tree128345f6506e3e596d173a3675568256f10a3f40 /gcc
parent73a530bdcca836e30342a3c42fe3201737f02cb9 (diff)
downloadgcc-bc8229a050f9471ec0f5f492806440b9b9b19250.zip
gcc-bc8229a050f9471ec0f5f492806440b9b9b19250.tar.gz
gcc-bc8229a050f9471ec0f5f492806440b9b9b19250.tar.bz2
string-opt-8.c (main): Remove i370 and s390, it does not have cmpstrsi patterns (just cmpmemsi).
* gcc.c-torture/execute/string-opt-8.c (main): Remove i370 and s390, it does not have cmpstrsi patterns (just cmpmemsi). From-SVN: r69422
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/string-opt-8.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7664c0c..0f42a0b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-15 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.c-torture/execute/string-opt-8.c (main): Remove i370 and s390,
+ it does not have cmpstrsi patterns (just cmpmemsi).
+
2003-07-15 Mark Mitchell <mark@codesourcery.com>
PR debug/11473
diff --git a/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c b/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c
index 251f8bd..434de33 100644
--- a/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c
+++ b/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c
@@ -65,7 +65,7 @@ int main ()
s2 = s1; s3 = s1+4;
if (strncmp (++s2, ++s3+2, 1) >= 0 || s2 != s1+1 || s3 != s1+5)
abort();
-#if !defined(__OPTIMIZE__) || defined(__i386__) || defined (__i370__) || defined (__s390__)
+#if !defined(__OPTIMIZE__) || defined(__i386__)
/* These tests work on platforms which support cmpstrsi. We test it
at -O0 on all platforms to ensure the strncmp logic is correct. */
s2 = s1;