Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / pr42630.c
blob34543dab5e9971439dd66ca1b87a760435d8f216
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug" } */
4 int sum(int *buf, int len)
6 int s = 0;
7 while (--len > 0) s += *buf++;
8 return s;