From: Christophe Lyon Date: Mon, 20 May 2019 15:01:46 +0000 (+0000) Subject: [testsuite] PR90106 Fix cdce3.c testcase X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69b7b4960f6141dae6ad4ca1665dbadfb7394f1d;p=gcc.git [testsuite] PR90106 Fix cdce3.c testcase 2019-05-20 Christophe Lyon PR tree-optimization/90106 * gcc.dg/cdce3.c: Add hard_float effective target. From-SVN: r271424 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b5a8235d4c1..0b3c9be0837 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-05-20 Christophe Lyon + + PR tree-optimization/90106 + * gcc.dg/cdce3.c: Add hard_float effective target. + 2019-05-20 Marc Glisse * 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 8a7437969f2..7e85d8aa71d 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);