Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / complex-7.c
blob20a2a3785f69ca15b221d09c3aab085c76ba6ac9
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-forwprop1" } */
4 float f(_Complex float x, _Complex float y){
5 x += y;
6 return __builtin_cimagf (x);
9 double g(double 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"} } */