From 08e9cb5a4994c16c3fa4b8a0496d128ca32f810f Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 6 Aug 2017 17:47:03 +0000 Subject: [PATCH] _Float16_1.c: Skip if supplied a -mcpu= option. 2017-08-06 Andrew Pinski * gcc.target/aarch64/_Float16_1.c: Skip if supplied a -mcpu= option. * gcc.target/aarch64/_Float16_2.c: Likewise. * gcc.target/aarch64/_Float16_3.c: Likewise. From-SVN: r250902 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/aarch64/_Float16_1.c | 1 + gcc/testsuite/gcc.target/aarch64/_Float16_2.c | 1 + gcc/testsuite/gcc.target/aarch64/_Float16_3.c | 1 + 4 files changed, 9 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e76a558f673..4a8c46e67f4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-08-06 Andrew Pinski + + * gcc.target/aarch64/_Float16_1.c: Skip if supplied a -mcpu= option. + * gcc.target/aarch64/_Float16_2.c: Likewise. + * gcc.target/aarch64/_Float16_3.c: Likewise. + 2017-08-06 Tom de Vries * gcc.dg/pr78582.c: Require effective target nonlocal_goto. diff --git a/gcc/testsuite/gcc.target/aarch64/_Float16_1.c b/gcc/testsuite/gcc.target/aarch64/_Float16_1.c index 320f154acf2..00c1a81cf7f 100644 --- a/gcc/testsuite/gcc.target/aarch64/_Float16_1.c +++ b/gcc/testsuite/gcc.target/aarch64/_Float16_1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3 -march=armv8.2-a+nofp16" } */ +/* { dg-skip-if "" { *-*-* } { "-mcpu=*" } { "" } } */ #pragma GCC target ("arch=armv8.2-a+nofp16") diff --git a/gcc/testsuite/gcc.target/aarch64/_Float16_2.c b/gcc/testsuite/gcc.target/aarch64/_Float16_2.c index 8b2aa1e784c..061606e0b55 100644 --- a/gcc/testsuite/gcc.target/aarch64/_Float16_2.c +++ b/gcc/testsuite/gcc.target/aarch64/_Float16_2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3 -march=armv8.2-a+nofp16 -fpermitted-flt-eval-methods=c11" } */ +/* { dg-skip-if "" { *-*-* } { "-mcpu=*" } { "" } } */ #pragma GCC target ("arch=armv8.2-a+nofp16") diff --git a/gcc/testsuite/gcc.target/aarch64/_Float16_3.c b/gcc/testsuite/gcc.target/aarch64/_Float16_3.c index 2d202503850..92d6dd9647d 100644 --- a/gcc/testsuite/gcc.target/aarch64/_Float16_3.c +++ b/gcc/testsuite/gcc.target/aarch64/_Float16_3.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3 -march=armv8.2-a+nofp16 -std=c11 -ffp-contract=fast" } */ +/* { dg-skip-if "" { *-*-* } { "-mcpu=*" } { "" } } */ #pragma GCC target ("arch=armv8.2-a+nofp16") -- 2.30.2