pr71078-3.c: Do not rely on math.h.

2017-02-02  Richard Biener  <rguenther@suse.de>

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

From-SVN: r245119
This commit is contained in:
Richard Biener 2017-02-02 08:58:48 +00:00 committed by Richard Biener
parent 27de0fab0f
commit 0966167499
2 changed files with 7 additions and 2 deletions

View 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

View 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);