1 /* This failed -fcompare-debug because register pressure computation 2 took debug insns into account. */ 3 /* { dg-do compile } */ 4 /* { dg-options "-O1 -fsched-pressure -fschedule-insns -fcompare-debug" { target scheduling } } */ 5 /* { dg-options "-O1 -fcompare-debug" { target { ! scheduling } } } */ 6 /* { dg-require-effective-target int32plus } */ 7 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */ 8 lzo_adler32(int adler,char * buf)9int lzo_adler32(int adler, char *buf) 10 { 11 int s1 = adler; 12 int s2 = adler; 13 s1 += buf[0]; 14 s2 += s1; 15 s1 += buf[1]; 16 s2 += s1; 17 s1 += buf[2]; 18 s2 += s1; 19 s1 += buf[3]; 20 s2 += s1; 21 s1 += buf[4]; 22 s2 += s1; 23 s1 += buf[5]; 24 s2 += s1; 25 s1 += buf[6]; 26 s2 += s1; 27 s1 += buf[7]; 28 s2 += s1; 29 return (s2 << 16) + s1; 30 } 31