[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-sub.c
blobf47f124df6183bd6d49c4212e1523b5572d207de
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" } } */