* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr42205-1.c
blob9cca6dec44a973cad7a5c36b00d7729f9f86d111
1 /* { dg-require-effective-target int32plus } */
2 /* { dg-options "-O1 -ffast-math -floop-interchange" } */
4 int adler32(int adler, char *buf, int n)
6 int sum = 0;
7 do {
8 adler += buf[0];
9 sum += adler;
10 adler += buf[1];
11 sum += adler;
12 adler += buf[2];
13 sum += adler;
14 adler += buf[3];
15 sum += adler;
16 } while (--n);
17 return adler | (sum << 16);