1 /* { dg-do compile } */
2 /* { dg-require-effective-target c99_runtime } */
3 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
4 
5 #include <math.h>
6 
f1(float x)7 float f1(float x)
8 {
9   float t1 = fabsf (x);
10   float t2 = x / t1;
11   return t2;
12 }
13 
14 /* { dg-final { scan-tree-dump "__builtin_copysignf" "forwprop1" } } */
15