[PATCH] S/390: Fix insv-1.c test with -m31.

Dominik Vogt vogt@linux.vnet.ibm.com
Thu Aug 18 08:43:00 GMT 2016


The atteched patch fixes the S/390 test case insv-1.c with -m31.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany
-------------- next part --------------
gcc/testsuite/ChangeLog

	* gcc.target/s390/insv-1.c: Fix test when running with -m31.
-------------- next part --------------
>From 4021fe9c4703e29b9446a24584ebd998c591d7ed Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Fri, 12 Aug 2016 17:20:55 +0100
Subject: [PATCH] S/390: Fix insv-1.c test with -m31.

---
 gcc/testsuite/gcc.target/s390/insv-1.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.target/s390/insv-1.c b/gcc/testsuite/gcc.target/s390/insv-1.c
index 8d464f5..020b5d8 100644
--- a/gcc/testsuite/gcc.target/s390/insv-1.c
+++ b/gcc/testsuite/gcc.target/s390/insv-1.c
@@ -110,9 +110,9 @@ foo4c (unsigned long a, unsigned long b)
 
 /* The functions foo3, foo4, foo3b, foo4b no longer use risbg but rosbg instead.
 
-   On s390x, four risbg go away and four new ones appear in other functions ...
-     { dg-final { scan-assembler-times "risbg" 6 { target { s390x-*-* } } } }
+   On 64 bit, four risbg go away and four new ones appear in other functions
+     { dg-final { scan-assembler-times "risbg" 6 { target { lp64 } } } }
 
-   but not on s390.
-     { dg-final { scan-assembler-times "risbg" 2 { target { s390-*-* } } } }
+   ... but not on 31 bit.
+     { dg-final { scan-assembler-times "risbg" 2 { target { ! lp64 } } } }
 */
-- 
2.3.0



More information about the Gcc-patches mailing list