PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr71078-1.c
blob6ca08a58dd8d6b539b7981d8de1019c32165850e
1 /* { dg-do compile } */
2 /* { dg-require-effective-target c99_runtime } */
3 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
5 #include <math.h>
7 float f1(float x)
9 float t1 = fabsf (x);
10 float t2 = x / t1;
11 return t2;
14 /* { dg-final { scan-tree-dump "__builtin_copysignf" "forwprop1" } } */