From: Kyrylo Tkachov Date: Thu, 16 Jul 2015 15:30:45 +0000 (+0000) Subject: [ARM][testsuite] Do not override -mcpu in no-volatile-in-it.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38ef5e6add621c2d5052d4cd584bc6cd4d6002ee;p=gcc.git [ARM][testsuite] Do not override -mcpu in no-volatile-in-it.c * gcc.target/arm/no-volatile-in-it.c: Skip if -mcpu is overriden. From-SVN: r225892 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 527fe0ffd21..cf08693b9ad 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-07-16 Kyrylo Tkachov + + * gcc.target/arm/no-volatile-in-it.c: Skip if -mcpu is overriden. + 2015-07-16 Vladimir Makarov PR rtl-optimization/66626 diff --git a/gcc/testsuite/gcc.target/arm/no-volatile-in-it.c b/gcc/testsuite/gcc.target/arm/no-volatile-in-it.c index 206afdbd0fd..6f3664d3b3d 100644 --- a/gcc/testsuite/gcc.target/arm/no-volatile-in-it.c +++ b/gcc/testsuite/gcc.target/arm/no-volatile-in-it.c @@ -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