* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-50.c
blob9155f8c7e8c4c8ae369a8d6dfd636b173867b500
1 /* { dg-do compile } */
2 /* { dg-options "-O -ffinite-math-only -fdump-tree-fre1" } */
4 extern double cos (double);
5 extern double tan (double);
7 int
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));
12 return z1 == z2;
15 /* { dg-final { scan-tree-dump "return 1;" "fre1" } } */