pr71078-3.c: Do not rely on math.h.
authorRichard Biener <rguenther@suse.de>
Thu, 2 Feb 2017 08:58:48 +0000 (08:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 2 Feb 2017 08:58:48 +0000 (08:58 +0000)
2017-02-02  Richard Biener  <rguenther@suse.de>

* gcc.dg/tree-ssa/pr71078-3.c: Do not rely on math.h.

From-SVN: r245119

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr71078-3.c

index a164883..ecf9aec 100644 (file)
@@ -1,3 +1,7 @@
+2017-02-02  Richard Biener  <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/pr71078-3.c: Do not rely on math.h.
+
 2017-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/69637
index 5f3fe26..5839ae6 100644 (file)
@@ -1,9 +1,10 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target large_double } */
 /* { dg-require-effective-target c99_runtime } */
-/* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
+/* { dg-options "-O2 -ffast-math -fdump-tree-forwprop1-details" } */
+
+extern double fabs (double);
 
-#include <math.h>
 double f(float f)
 {
   double t1 = fabs(f);