1  /* { dg-options "-O2 -ffast-math -fdump-tree-optimized" } */
       2  /* { dg-do compile } */
       3  float f(float x)
       4  {
       5    float t = __builtin_copysignf (1.0f, x);
       6    return x * t;
       7  }
       8  float f1(float x)
       9  {
      10    float t = __builtin_copysignf (1.0f, -x);
      11    return x * t;
      12  }
      13  /* { dg-final { scan-tree-dump-times "ABS" 2 "optimized"} } */