Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr44214-2.c
blobf03fa7a0db3b8705d8d99091b2473180b52947a0
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
10 = 4/41 + (5/41)i. */
12 /* { dg-final { scan-tree-dump-times " \\\* " 1 "original" } } */
13 /* { dg-final { scan-tree-dump-times " / " 0 "original" } } */