diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2019-05-20 15:01:46 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2019-05-20 17:01:46 +0200 |
commit | 69b7b4960f6141dae6ad4ca1665dbadfb7394f1d (patch) | |
tree | 2c585591845d9b4734d2e4a9c50cf9c4dda684c7 | |
parent | 664416bc5a37b2add4329af73233ee3c8a15f477 (diff) | |
download | gcc-69b7b4960f6141dae6ad4ca1665dbadfb7394f1d.zip gcc-69b7b4960f6141dae6ad4ca1665dbadfb7394f1d.tar.gz gcc-69b7b4960f6141dae6ad4ca1665dbadfb7394f1d.tar.bz2 |
[testsuite] PR90106 Fix cdce3.c testcase
2019-05-20 Christophe Lyon <christophe.lyon@linaro.org>
PR tree-optimization/90106
* gcc.dg/cdce3.c: Add hard_float effective target.
From-SVN: r271424
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cdce3.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b5a8235..0b3c9be 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-05-20 Christophe Lyon <christophe.lyon@linaro.org> + + PR tree-optimization/90106 + * gcc.dg/cdce3.c: Add hard_float effective target. + 2019-05-20 Marc Glisse <marc.glisse@inria.fr> * gcc.dg/torture/pta-ptrarith-3.c: Relax the matched pattern. diff --git a/gcc/testsuite/gcc.dg/cdce3.c b/gcc/testsuite/gcc.dg/cdce3.c index 8a74379..7e85d8a 100644 --- a/gcc/testsuite/gcc.dg/cdce3.c +++ b/gcc/testsuite/gcc.dg/cdce3.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target hard_float } */ /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */ -/* { dg-final { scan-tree-dump "cdce3.c:9: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */ +/* { dg-final { scan-tree-dump "cdce3.c:10: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */ /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */ float sqrtf (float); |