1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fno-trapping-math -funsafe-math-optimizations -fdump-tree-recip" } */
4 /* based on the test case in pr23109 */
6 double F[2] = { 0., 0. }, e = 0.;
8 /* Nope, we cannot prove the optimization is worthwhile in this case. */
20 P = ( W < E ) ? (W - E)/d : (E - W)/d;
25 /* We also cannot prove the optimization is worthwhile in this case. */
37 P = ( W < E ) ? (W - E)/d : (E - W)/d;
44 /* { dg-final { scan-tree-dump-not "reciptmp" "recip" } } */
45 /* { dg-final { cleanup-tree-dump "recip" } } */