[ARM][testsuite] Do not override -mcpu in no-volatile-in-it.c
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 16 Jul 2015 15:30:45 +0000 (15:30 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 16 Jul 2015 15:30:45 +0000 (15:30 +0000)
    * gcc.target/arm/no-volatile-in-it.c: Skip if -mcpu is overriden.

From-SVN: r225892

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/no-volatile-in-it.c

index 527fe0ffd2139b1cb2f8e8db592ecf49ac6cd2ba..cf08693b9ada311a871e1f7d166b0440db2b27a2 100644 (file)
@@ -1,3 +1,7 @@
+2015-07-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * gcc.target/arm/no-volatile-in-it.c: Skip if -mcpu is overriden.
+
 2015-07-16  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-optimization/66626
index 206afdbd0fd1bddf6ea126d993201219eab25a1d..6f3664d3b3d11544e0293c342c606989ee6d1471 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_thumb2_ok } */
+/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-march=*" "-mcpu=*" } { "-mcpu=cortex-m7" } } */
 /* { dg-options "-Os -mthumb -mcpu=cortex-m7" } */
 
 int