From 6b632b5e68e1571545cf293af01b0e4e8e26bd4a Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Mon, 2 Jul 2018 14:23:19 +0000 Subject: [PATCH] [ARM][testsuite] Fix arm-soft-strd-even.c 2018-07-02 Christophe Lyon * gcc.target/arm/arm-soft-strd-even.c: Skip if -mfloat-abi is overriden. From-SVN: r262309 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/arm-soft-strd-even.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8b091305b95..ce39a8285c8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-07-02 Christophe Lyon + + * gcc.target/arm/arm-soft-strd-even.c: Skip if -mfloat-abi is + overriden. + 2018-07-02 Richard Biener PR tree-optimization/86363 diff --git a/gcc/testsuite/gcc.target/arm/arm-soft-strd-even.c b/gcc/testsuite/gcc.target/arm/arm-soft-strd-even.c index fb7317c8718..4ef3dd8be39 100644 --- a/gcc/testsuite/gcc.target/arm/arm-soft-strd-even.c +++ b/gcc/testsuite/gcc.target/arm/arm-soft-strd-even.c @@ -1,5 +1,6 @@ /* { dg-do assemble } */ /* { dg-require-effective-target arm_arm_ok } */ +/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=soft" } } */ /* { dg-options "-O2 -marm -mfloat-abi=soft" } */ /* Check that we don't try to emit STRD in ARM state with -- 2.30.2