From 130f15ce27394d78830949511ead5846e1498228 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 2 Mar 2017 20:32:32 +0100 Subject: [PATCH] *.c: Test for "{ i?86-*-* x86_64-*-* } && lp64" targets only. * gcc.dg/rtl/x86_64/*.c: Test for "{ i?86-*-* x86_64-*-* } && lp64" targets only. From-SVN: r245850 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/different-structs.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/final.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/ira.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/test-multiple-fns.c | 2 +- .../gcc.dg/rtl/x86_64/test-return-const.c.after-expand.c | 2 +- .../gcc.dg/rtl/x86_64/test-return-const.c.before-fwprop.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/test-rtl.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.before-df.c | 2 +- gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c | 2 +- 14 files changed, 18 insertions(+), 13 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 43d415018c8..0c798f76d51 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-03-02 Uros Bizjak + + * gcc.dg/rtl/x86_64/*.c: Test for + "{ i?86-*-* x86_64-*-* } && lp64" targets only. + 2017-03-02 Uros Bizjak PR target/79514 diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c b/gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c index 4ab04cf3c90..242d8fa1f64 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/dfinit.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { x86_64-*-* && lp64 } } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-dfinit" } */ #include "test_1.h" diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/different-structs.c b/gcc/testsuite/gcc.dg/rtl/x86_64/different-structs.c index 90efaa78cd0..f9d1555b0c8 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/different-structs.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/different-structs.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target x86_64-*-* } } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ extern double sqrt(double x); diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/final.c b/gcc/testsuite/gcc.dg/rtl/x86_64/final.c index 1588723793b..3e37ce2cd9e 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/final.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/final.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { x86_64-*-* && lp64 } } } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-final" } */ /* Lightly-modified dump of test.c.304r.dwarf2 for x86_64 target, diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c b/gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c index eba76e60527..f43c3a7657a 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/into-cfglayout.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { x86_64-*-* && lp64 } } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-into_cfglayout" } */ /* Lightly-modified dump of test.c.226r.vregs for x86_64. */ diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/ira.c b/gcc/testsuite/gcc.dg/rtl/x86_64/ira.c index 11505f5d1d9..30ac1b9e70f 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/ira.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/ira.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { x86_64-*-* && lp64 } } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-ira" } */ /* Lightly-modified dump of test.c.265r.asmcons for x86_64. */ diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c b/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c index 4ba3d6e48d8..b6f723a6e60 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-pro_and_epilogue" } */ /* Lightly-modified dump of test.c.274r.split2 for x86_64. */ diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/test-multiple-fns.c b/gcc/testsuite/gcc.dg/rtl/x86_64/test-multiple-fns.c index dff4a1b0f6b..cc11f41c29c 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/test-multiple-fns.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/test-multiple-fns.c @@ -1,4 +1,4 @@ -/* { dg-do run { target x86_64-*-* } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* Verify that we can have multiple __RTL functions in one test case. Each of these __RTL functions returns a const, dumped immediately after diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.after-expand.c b/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.after-expand.c index 6c1202d7667..0db0d2a7a1f 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.after-expand.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.after-expand.c @@ -1,4 +1,4 @@ -/* { dg-do run { target x86_64-*-* } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.before-fwprop.c b/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.before-fwprop.c index d83029e12d4..075f7443f81 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.before-fwprop.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.before-fwprop.c @@ -1,4 +1,4 @@ -/* { dg-do run { target x86_64-*-* } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-fwprop1 -O2" } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/test-rtl.c b/gcc/testsuite/gcc.dg/rtl/x86_64/test-rtl.c index 4496868c512..b1bc421aef8 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/test-rtl.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/test-rtl.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* Test of embedding RTL dump in a C function, tagged with "__RTL". diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c b/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c index eee51618528..7d88c5aeafa 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.after-expand.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { x86_64-*-* && lp64 } } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.before-df.c b/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.before-df.c index 45f4961a519..84fd2c68830 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.before-df.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/times-two.c.before-df.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target x86_64-*-* } } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-dfinit" } */ int __RTL (startwith ("rtl-dfinit")) times_two (int i) diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c b/gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c index 98efc30885f..d86168861fe 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/vregs.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { x86_64-*-* && lp64 } } } */ +/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ /* { dg-options "-fdump-rtl-vregs" } */ /* Lightly-modified dump of test.c.225r.expand for x86_64. */ -- 2.30.2