1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
3 
foo(double x)4 double foo (double x)
5 {
6   double one = 1.;
7   return __builtin_copysign (x, one);
8 }
bar(double x)9 double bar (double x)
10 {
11   double minuszero = -0.;
12   return __builtin_copysign (x, minuszero);
13 }
14 
15 /* { dg-final { scan-tree-dump-times "= -" 1 "cddce1" } } */
16 /* { dg-final { scan-tree-dump-times "= ABS_EXPR" 2 "cddce1" } } */
17