Comment out a code block that performs out-of-bounds memory accesses
...and does not appear to be needed even when it stays within the bounds of the array
This commit is contained in:
parent
f96afd94b0
commit
9d92f526dd
|
@ -823,24 +823,22 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON
|
||||||
b[ 3] = *(a01 + 3);
|
b[ 3] = *(a01 + 3);
|
||||||
b += 4;
|
b += 4;
|
||||||
}
|
}
|
||||||
|
#if 1
|
||||||
|
}
|
||||||
|
#else
|
||||||
} else {
|
} else {
|
||||||
#ifdef UNIT
|
#ifdef UNIT
|
||||||
b[ 0] = ONE;
|
b[ 0] = ONE;
|
||||||
b[ 1] = ZERO;
|
b[ 1] = ZERO;
|
||||||
#else
|
#else
|
||||||
// out-of-bounds memory accesses, see issue 601
|
b[ 0] = *(a01 + 0);
|
||||||
// b[ 0] = *(a01 + 0);
|
b[ 1] = *(a01 + 1);
|
||||||
// b[ 1] = *(a01 + 1);
|
|
||||||
b[0]=ZERO;
|
|
||||||
b[1]=ZERO;
|
|
||||||
#endif
|
#endif
|
||||||
// out-of-bounds memory accesses, see issue 601
|
b[ 2] = *(a02 + 0);
|
||||||
// b[ 2] = *(a02 + 0);
|
b[ 3] = *(a02 + 1);
|
||||||
// b[ 3] = *(a02 + 1);
|
|
||||||
b[2]=ZERO;
|
|
||||||
b[3]=ZERO;
|
|
||||||
b += 4;
|
b += 4;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
posY += 2;
|
posY += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue