1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-forwprop1" } */
4 float f(_Complex
float x
, _Complex
float y
){
6 return __builtin_cimagf (x
);
10 _Complex
double c
= __builtin_cexpi (x
);
11 return __builtin_creal (c
);
14 /* { dg-final { scan-tree-dump "__builtin_cos" "forwprop1"} } */
15 /* { dg-final { scan-tree-dump-times "IMAGPART_EXPR" 2 "forwprop1"} } */