From 3ff52d54e4f040e121a4a11cf3f2b712bc3044db Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Mon, 23 Feb 2015 08:10:26 +0000 Subject: [PATCH] hoist-register-pressure-1.c: Make S/390 target check work with -m31 on 64 bit. 2015-02-23 Andreas Krebbel * gcc.dg/hoist-register-pressure-1.c: Make S/390 target check work with -m31 on 64 bit. * gcc.dg/hoist-register-pressure-2.c: Likewise. * gcc.dg/hoist-register-pressure-3.c: Likewise. From-SVN: r220906 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/hoist-register-pressure-1.c | 2 +- gcc/testsuite/gcc.dg/hoist-register-pressure-2.c | 2 +- gcc/testsuite/gcc.dg/hoist-register-pressure-3.c | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ec35a83b8fb..403bd5ee538 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-02-23 Andreas Krebbel + + * gcc.dg/hoist-register-pressure-1.c: Make S/390 target check work + with -m31 on 64 bit. + * gcc.dg/hoist-register-pressure-2.c: Likewise. + * gcc.dg/hoist-register-pressure-3.c: Likewise. + 2015-02-23 Andreas Krebbel * gcc.target/s390/20090223-1.c: Add diff --git a/gcc/testsuite/gcc.dg/hoist-register-pressure-1.c b/gcc/testsuite/gcc.dg/hoist-register-pressure-1.c index 4aabcb78daf..995711a67c0 100644 --- a/gcc/testsuite/gcc.dg/hoist-register-pressure-1.c +++ b/gcc/testsuite/gcc.dg/hoist-register-pressure-1.c @@ -3,7 +3,7 @@ be assigned without clobbering cc. For a PLUS rtx on S/390 this requires a load address instruction which is fine on 64 bit but cannot be used on 31 bit since it does a 31 bit add only. */ -/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { { ! s390-*-* } && nonpic } } } } */ +/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { { !s390*-*-* || lp64 } && nonpic } } } } */ /* { dg-final { cleanup-rtl-dump "hoist" } } */ #define BUF 100 diff --git a/gcc/testsuite/gcc.dg/hoist-register-pressure-2.c b/gcc/testsuite/gcc.dg/hoist-register-pressure-2.c index f1c927ec434..b5a4a9929c6 100644 --- a/gcc/testsuite/gcc.dg/hoist-register-pressure-2.c +++ b/gcc/testsuite/gcc.dg/hoist-register-pressure-2.c @@ -3,7 +3,7 @@ be assigned without clobbering cc. For a PLUS rtx on S/390 this requires a load address instruction which is fine on 64 bit but cannot be used on 31 bit since it does a 31 bit add only. */ -/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { ! s390-*-* } } } } */ +/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { !s390*-*-* || lp64 } } } } */ /* { dg-final { cleanup-rtl-dump "hoist" } } */ #define BUF 100 diff --git a/gcc/testsuite/gcc.dg/hoist-register-pressure-3.c b/gcc/testsuite/gcc.dg/hoist-register-pressure-3.c index 24abaa6ade4..6237dc674f8 100644 --- a/gcc/testsuite/gcc.dg/hoist-register-pressure-3.c +++ b/gcc/testsuite/gcc.dg/hoist-register-pressure-3.c @@ -3,7 +3,7 @@ be assigned without clobbering cc. For a PLUS rtx on S/390 this requires a load address instruction which is fine on 64 bit but cannot be used on 31 bit since it does a 31 bit add only. */ -/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { ! s390-*-* } } } } */ +/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { !s390*-*-* || lp64 } } } } */ /* { dg-final { cleanup-rtl-dump "hoist" } } */ #define BUF 100 -- 2.30.2