]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/pr71078-2-double.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr71078-2-double.c
CommitLineData
33a9c609
PK
1/* { dg-do compile } */
2/* { dg-require-effective-target large_double } */
9afda630 3/* { dg-require-effective-target c99_runtime } */
33a9c609
PK
4/* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
5
6#include <math.h>
7
8double f2(double x)
9{
10 double t1 = fabs (x);
11 double t2 = t1 / x;
12 return t2;
13}
14
15/* { dg-final { scan-tree-dump "__builtin_copysign" "forwprop1" } } */