Open Quuxplusone opened 5 years ago
Attached small.bc
(3224 bytes, application/octet-stream): .bc file of the source code
Attached bugpoint-reduced-simplified.bc
(1744 bytes, application/octet-stream): bugpoint-reduced-simplified.bc
I have seen this issue for the below:
//clang -w -c -O2 -mllvm -enable-loopinterchange
int a[][5],i, b, e;
static *c = &b;
long d;
fn1() {
for (; d; d++) {
e = 0;
for (; e <= 1; e++)
*c &= a[e][d];
}
}
_Bug 48212 has been marked as a duplicate of this bug._
Here is a proposed fix: https://reviews.llvm.org/D102743
small.bc
(3224 bytes, application/octet-stream)bugpoint-reduced-simplified.bc
(1744 bytes, application/octet-stream)