[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 b5a8235d4c1b3236fa2ca4c97acff8baaf1886be..0b3c9be0837c01be20b5c491d085777c665a2bdf 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 8a7437969f22ba11c52bf0ae145562c01dc996a7..7e85d8aa71da031644324ccaa3146b78ce75d298 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);