diff options
author | Matthew Malcomson <matthew.malcomson@arm.com> | 2019-02-07 16:54:54 +0000 |
---|---|---|
committer | Matthew Malcomson <matmal01@gcc.gnu.org> | 2019-02-07 16:54:54 +0000 |
commit | accd3cd6884a022fe66d8a86df5e0cec16ca1082 (patch) | |
tree | 7ee570d80ecb86866ab90c7fa9da2d983b00aa8e /gcc | |
parent | f15542a4b76df8e692b81fbacd9836bfa230f014 (diff) | |
download | gcc-accd3cd6884a022fe66d8a86df5e0cec16ca1082.zip gcc-accd3cd6884a022fe66d8a86df5e0cec16ca1082.tar.gz gcc-accd3cd6884a022fe66d8a86df5e0cec16ca1082.tar.bz2 |
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 <matthew.malcomson@arm.com>
* gcc.dg/rtl/arm/ldrd-peepholes.c: Only run on arm
From-SVN: r268655
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8dd5530..e704b90 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-02-07 Matthew Malcomson <matthew.malcomson@arm.com> + + * gcc.dg/rtl/arm/ldrd-peepholes.c: Only run on arm + 2019-02-07 Andreas Krebbel <krebbel@linux.ibm.com> * 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 ff209c5..4c3949c 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" } */ |