You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
segmentation fault of target program caused by loop-reroll with "opt -mem2reg -loop-unswitch -indvars -loop-rotate -loop-unswitch -jump-threading -loop-unroll -jump-threading -loop-reroll"
#41612
Closed
coffezhoumannequin opened this issue
Jun 13, 2019
· 2 comments
#include<stdio.h>int a[8][10][2];
voidmain() {
int b, c, d;
for (b = 0; b < 8; b++)
for (c = 0; c < 10; c++)
for (d = 0; d < 2; d++)
printf("%d", a[b][c][d]);
}
The text was updated successfully, but these errors were encountered:
Extended Description
without loop-reroll pass, the output is correct.
The text was updated successfully, but these errors were encountered: