Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-sub.c
blob28a8dd51fda43c20d29ca28b2e11e9f577efb98e
1 /* { dg-do compile } */
2 /* { dg-options "-ffinite-math-only -fdump-tree-gimple" } */
4 float f(float x)
6 return x - x;
9 /* Substraction should be turned into 0. */
11 /* { dg-final { scan-tree-dump-not " - " "gimple" } } */
12 /* { dg-final { cleanup-tree-dump "gimple" } } */