diff mbox series

[committed,obvious,testsuite] Only run rtl/arm/ldrd-peepholes.c test on arm architecture

Message ID VI1PR0801MB201430B4870F1D504EA450D6E0680@VI1PR0801MB2014.eurprd08.prod.outlook.com
State New
Headers show
Series [committed,obvious,testsuite] Only run rtl/arm/ldrd-peepholes.c test on arm architecture | expand

Commit Message

Matthew Malcomson Feb. 7, 2019, 5:41 p.m. UTC
My previous patch failed to only run an arm test on arm architecture.
This adds that condition to the test.

Committed to trunk as obvious.

gcc/testsuite/ChangeLog:

2019-02-07  Matthew Malcomson  <matthew.malcomson@arm.com>

	* gcc.dg/rtl/arm/ldrd-peepholes.c: Only run on arm



###############     Attachment also inlined for ease of reply    ###############
diff --git a/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c b/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c
index ff209c5df29765441bbe9481ac8caf7bbc6af8f7..4c3949c0963b8482545df670c31db2d9ec0f26b3 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" } */
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c b/gcc/testsuite/gcc.dg/rtl/arm/ldrd-peepholes.c
index ff209c5df29765441bbe9481ac8caf7bbc6af8f7..4c3949c0963b8482545df670c31db2d9ec0f26b3 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" } */