1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
4 double test1 (double x
)
6 return __real
__builtin_cexpi (x
);
9 double test2 (double x
)
11 return __imag
__builtin_cexpi (x
);
14 /* { dg-final { scan-tree-dump "cos" "gimple" } } */
15 /* { dg-final { scan-tree-dump "sin" "gimple" } } */
16 /* { dg-final { cleanup-tree-dump "gimple" } } */