Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / fold-div-2.c
blobbfd07d1c482d36c07b8bce8ccc69377e670600ef
1 /* { dg-do compile } */
2 /* { dg-options "-ffinite-math-only -fdump-tree-gimple" } */
4 double f(double x)
6 return x / x;
9 /* Division should be turned into 1.0. */
11 /* { dg-final { scan-tree-dump-not " / " "gimple" } } */
12 /* { dg-final { cleanup-tree-dump "gimple" } } */