Handle peeling for alignment with masking
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42630.c
blob08427ab6d06bcaf5908897ed30f421976b81b47b
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug" } */
3 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
5 int sum(int *buf, int len)
7 int s = 0;
8 while (--len > 0) s += *buf++;
9 return s;