Commit bc8229a0 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 73a530bd
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> 2003-07-15 Mark Mitchell <mark@codesourcery.com>
PR debug/11473 PR debug/11473
......
...@@ -65,7 +65,7 @@ int main () ...@@ -65,7 +65,7 @@ int main ()
s2 = s1; s3 = s1+4; s2 = s1; s3 = s1+4;
if (strncmp (++s2, ++s3+2, 1) >= 0 || s2 != s1+1 || s3 != s1+5) if (strncmp (++s2, ++s3+2, 1) >= 0 || s2 != s1+1 || s3 != s1+5)
abort(); 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 /* These tests work on platforms which support cmpstrsi. We test it
at -O0 on all platforms to ensure the strncmp logic is correct. */ at -O0 on all platforms to ensure the strncmp logic is correct. */
s2 = s1; s2 = s1;
......
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