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 8dd55309ddf53b25ab0611c5c12e15589a049bb8..e704b9093d6bb6a939eead78012f03ecf01061b7 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 ff209c5df29765441bbe9481ac8caf7bbc6af8f7..4c3949c0963b8482545df670c31db2d9ec0f26b3 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" } */