[ARM,testsuite] Skip tests incompatible with -mpure-code.
[gcc.git] / gcc / testsuite / gcc.target / arm / thumb1-pic-high-reg.c
index df269fc84765da54e755c8505f79724c166e583e..6cb14bb93560d7db3f38dd54c095521ac01aa01d 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code and -fpic incompatible" { *-*-* } { "-mpure-code" } } */
 /* { dg-require-effective-target arm_thumb1_ok } */
 /* { dg-options "-mthumb -fpic -mpic-register=9" } */