[testsuite] PR90106 Fix cdce3.c testcase
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 20 May 2019 15:01:46 +0000 (15:01 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 20 May 2019 15:01:46 +0000 (17:01 +0200)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cdce3.c

index b5a8235..0b3c9be 100644 (file)
@@ -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.
index 8a74379..7e85d8a 100644 (file)
@@ -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);