|
|
Bugzilla Link |
453 |
Created on |
Jul 25, 2008 20:16 |
Resolution |
FIXED |
Resolved on |
Aug 05, 2008 17:26 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Extended Description
The attached dies in AS pretraversal check when compiled with -d sancheck.
This comes from one of the (several) busted APEX benchmarks.
------------------------------------------------------------
/* tjv21.sac ssaassign sancheck bug */
/* dies with: sac2c tjv21.sac -d sancheck */
int main()
{
y = _reshape_VxA_ ([4,3],[1,2,3,4,5,6,7,8,9,10,11,12]);
x = [0,1,0];
defcell = [0,0,0];
z = _reshape_VxA_([4,1],[1,2,3,4]);
for(i=0; _lt_SxS_(i,1); i = _add_SxS_(i,1)) {
for(j = 0; _lt_SxS_(j,1) ; j = _add_SxS_(j,1)){
z = y;
}
}
return(_sel_VxA_([1,1],z));