[ARM,testsuite] Skip tests incompatible with -mpure-code.
[gcc.git] / gcc / testsuite / gcc.target / arm / pr60650-2.c
index c8d46152423ec020f0c5a2654686a8c85782c9f5..c44d7b5f9d2cb9ebc18e3a9bb7ca443944a9390b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O2 -fno-omit-frame-pointer -march=armv7-a" } */
 
 int a, h, j;