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