1 /* { dg-options "-O -fdump-tree-optimized" } */
4 f1 (double *res
, double x
, double y
)
6 res
[0] = __builtin_fmax (x
, y
);
7 res
[1] = __builtin_fmax (y
, x
);
11 f2 (double *res
, double x
, double y
)
13 res
[0] = __builtin_fmin (x
, y
);
14 res
[1] = __builtin_fmin (y
, x
);
17 /* { dg-final { scan-tree-dump-times {__builtin_fmax} 1 "optimized" } } */
18 /* { dg-final { scan-tree-dump-times {__builtin_fmin} 1 "optimized" } } */