* gcc.target/powerpc/405-dlmzb-strlen-1.c: Skip on AIX.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42630.c
blob5685637a0785912d7f88fbc8378b5602931e807e
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;