1 /* { dg-do compile } */
2 /* { dg-options "-O2 -freciprocal-math -fdump-tree-original" } */
4 void do_div (_Complex
double *a
, _Complex
double *b
)
6 *a
= *b
/ (4.0 - 5.0fi
);
9 /* Constant folding should multiply *b by the reciprocal of 4 - 5i
12 /* { dg-final { scan-tree-dump-times " \\\* " 1 "original" } } */
13 /* { dg-final { scan-tree-dump-times " / " 0 "original" } } */