Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / divide-5.c
blob48cd638e7db44b7c885f294d51f3dc543a9ff477
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
4 int f(int x){
5 int y = x;
6 int z = 0;
7 return x / y - x % y + z / y;
10 /* { dg-final { scan-tree-dump "return 1;" "optimized"} } */