1 /* { dg-do compile } */
2 /* { dg-options "-O -ffinite-math-only -fdump-tree-optimized" } */
3 /* { dg-require-effective-target c99_runtime } */
5 double test1 (double x
)
13 double test2 (double x
)
17 s
= __builtin_sin (x
);
18 c
= __builtin_cos (x
);
22 double test3 (double x
, int b
)
27 s
= __builtin_sin (x
);
28 c
= __builtin_cos (x
);
32 double test4 (double x
)
36 s
= __builtin_sin (x
);
40 /* { dg-final { scan-tree-dump-times "cexpi" 3 "optimized" } } */