From 23360079bcad266ed81205b456303138f0589122 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Thu, 12 Mar 2015 11:23:33 +0000 Subject: [PATCH] S/390: Fix hotpatch testcases. gcc/testsuite/ * gcc.target/s390/hotpatch-8.c: Remove -m31 and guard with ! lp64. * gcc.target/s390/hotpatch-9.c: Likewise. From-SVN: r221382 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/s390/hotpatch-8.c | 4 ++-- gcc/testsuite/gcc.target/s390/hotpatch-9.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3869e12f45fb..f017899a9717 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-03-12 Andreas Krebbel + + * gcc.target/s390/hotpatch-8.c: Remove -m31 and guard with ! lp64. + * gcc.target/s390/hotpatch-9.c: Likewise. + 2015-03-10 Oleg Endo PR target/53988 diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-8.c b/gcc/testsuite/gcc.target/s390/hotpatch-8.c index 0874bbc5ce7f..25edd9b0ed22 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-8.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-8.c @@ -1,7 +1,7 @@ /* Functional tests for the function hotpatching feature. */ -/* { dg-do compile } */ -/* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,3" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mesa -march=g5 -mhotpatch=0,3" } */ #include diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-9.c b/gcc/testsuite/gcc.target/s390/hotpatch-9.c index d6fb29ae274f..2143f9d42803 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-9.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-9.c @@ -1,7 +1,7 @@ /* Functional tests for the function hotpatching feature. */ -/* { dg-do compile } */ -/* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,4" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mesa -march=g5 -mhotpatch=0,4" } */ #include -- 2.47.2