From accd3cd6884a022fe66d8a86df5e0cec16ca1082 Mon Sep 17 00:00:00 2001 From: Matthew Malcomson Date: Thu, 7 Feb 2019 16:54:54 +0000 Subject: [PATCH] Only run on arm architecture My previous patch failed to only run an arm test on arm architecture. This adds that condition to the test. gcc/testsuite/ChangeLog: 2019-02-07 Matthew Malcomson * gcc.dg/rtl/arm/ldrd-peepholes.c: Only run on arm From-SVN: r268655 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8dd55309ddf..e704b9093d6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-02-07 Matthew Malcomson + + * gcc.dg/rtl/arm/ldrd-peepholes.c: Only run on arm + 2019-02-07 Andreas Krebbel * gcc.target/s390/zvector/xl-xst-align-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c b/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c index ff209c5df29..4c3949c0963 100644 --- a/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c +++ b/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target arm*-*-* } } */ /* { dg-skip-if "Ensure only targetting arm with TARGET_LDRD" { *-*-* } { "-mthumb" } { "" } } */ /* { dg-options "-O3 -marm -fdump-rtl-peephole2" } */ -- 2.30.2