Only run on arm architecture
authorMatthew Malcomson <matthew.malcomson@arm.com>
Thu, 7 Feb 2019 16:54:54 +0000 (16:54 +0000)
committerMatthew Malcomson <matmal01@gcc.gnu.org>
Thu, 7 Feb 2019 16:54:54 +0000 (16:54 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c

index 8dd5530..e704b90 100644 (file)
@@ -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.
index ff209c5..4c3949c 100644 (file)
@@ -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" } */