WL fusion fizzles frequently on AKD
|
|
Bugzilla Link |
343 |
Created on |
Feb 01, 2007 22:46 |
Resolution |
FIXED |
Resolved on |
Apr 29, 2007 23:04 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
wlfsbug.sac |
Extended Description
The attached does not WL fuse the WLs for x and y when compiled
with: sac2c -dowlfs wlfsbug.sac
[Oh, you need: -noive or saa bugs will kill sac2c].
--------------------------------------
use Array: all;
use StdIO: all;
int[.] id( int[.] y)
{ return(y);
}
int main()
{
y = iota((id([20]))[0]);
x = y%2;
z = x+y;
print(z);
return(0);
}