[ARM,testsuite] Skip tests incompatible with -mpure-code.
[gcc.git] / gcc / testsuite / gcc.target / arm / pr7676.c
index 349d7a371240358e7799de37c1e39e6e17d95756..0e9095c63d3be7e3c0fff74f0e2484fbd6e26e10 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
 /* { dg-options "-O1 -march=armv8-a -mfloat-abi=soft -mthumb" }  */
 /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=hard" -mfloat-abi=softfp } {""} } */
 int a;