blob: 3e3109a67afcd1279f2df13b59006a6b63a0b238 [file] [log] [blame]
/* { dg-do compile } */
void KWayNodeRefine__(int nparts, int *gpwgts, int *badminpwgt, int
*badmaxpwgt)
{
int i;
for (i=0; i<nparts; i+=2) {
badminpwgt[i] = badminpwgt[i+1] = gpwgts[i]+gpwgts[i+1];
badmaxpwgt[i] = badmaxpwgt[i+1] = gpwgts[i]+gpwgts[i+1];
}
}