From: Kyrylo Tkachov Date: Tue, 17 May 2016 10:22:07 +0000 (+0000) Subject: [AArch64][tests] Skip cpu-diagnostics tests when overriding -mcpu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b75cc5a48763d4d467ec702311a1cdc2c67408de;p=gcc.git [AArch64][tests] Skip cpu-diagnostics tests when overriding -mcpu * gcc.target/aarch64/cpu-diagnostics-1.c: Skip if -mcpu is overriden. * gcc.target/aarch64/cpu-diagnostics-2.c: Likewise. * gcc.target/aarch64/cpu-diagnostics-3.c: Likewise. * gcc.target/aarch64/cpu-diagnostics-4.c: Likewise. From-SVN: r236316 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d14bcf1926a..1f8a5a60a78 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-05-17 Kyrylo Tkachov + + * gcc.target/aarch64/cpu-diagnostics-1.c: Skip if -mcpu is overriden. + * gcc.target/aarch64/cpu-diagnostics-2.c: Likewise. + * gcc.target/aarch64/cpu-diagnostics-3.c: Likewise. + * gcc.target/aarch64/cpu-diagnostics-4.c: Likewise. + 2016-05-17 Dominique d'Humieres Ilya Enkovich diff --git a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c index de6b8a7da4d..ddba6554471 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c +++ b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c @@ -1,4 +1,5 @@ /* { dg-error "unknown" "" {target "aarch64*-*-*" } } */ +/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */ /* { dg-options "-O2 -mcpu=dummy" } */ void f () diff --git a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c index 2ca006598ff..ae42436031b 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c +++ b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c @@ -1,4 +1,5 @@ /* { dg-error "missing" "" {target "aarch64*-*-*" } } */ +/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */ /* { dg-options "-O2 -mcpu=cortex-a53+no" } */ void f () diff --git a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c index 807e3253e30..8bc6e2fe049 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c +++ b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c @@ -1,4 +1,5 @@ /* { dg-error "invalid feature" "" {target "aarch64*-*-*" } } */ +/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */ /* { dg-options "-O2 -mcpu=cortex-a53+dummy" } */ void f () diff --git a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c index 4c246eb0172..58355b42f84 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c +++ b/gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c @@ -1,4 +1,5 @@ /* { dg-error "missing" "" {target "aarch64*-*-*" } } */ +/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */ /* { dg-options "-O2 -mcpu=+dummy" } */ void f ()