1 /* { dg-do compile } */
2 /* { dg-options "-O -ffinite-math-only -fdump-tree-fre1" } */
4 extern double cos (double);
5 extern double tan (double);
8 f1 (double x
, double y
)
10 double z1
= cos(y
<10 ? x
: tan(x
<20 ? x
: y
));
11 double z2
= cos(y
<10 ? x
: tan(x
<20 ? x
: y
));
15 /* { dg-final { scan-tree-dump "return 1;" "fre1" } } */