Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / visium / loop_clear.c
blob740e9d2cd67eeab2e525dafe4f48edd4f972c28a
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
4 extern int a[];
6 void loop_clear (int i)
8 while (i > 0)
9 a[i--] = 0;
12 /* { dg-final { scan-assembler-times "cmp" 1 { xfail *-*-* } } } */
14 /* FIXME: the redundant cmp is not eliminated because the compare-elim pass
15 is run before the dbr pass. It's a regression wrt the cc0 port. */