development compiler broken in WLTR
|
|
Bugzilla Link |
1103 |
Created on |
Dec 01, 2013 22:01 |
Resolution |
FIXED |
Resolved on |
Jan 10, 2014 16:42 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
1103.sac |
Extended Description
sac2c transpose.sac -v1
wltransform/wltransform.c:4575 Assertion "! WLSTRIDE_ISMODIFIED( stride1)" failed!
stride was modified
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
developer rev 18411 linux-gnu_x86_64
(Sun Dec 1 13:45:58 EST 2013 by sac)
This failure appears to have appeared with Clemens' DupTree
copy-all-flags fix. It only affects the develment compiler.
Here is transpose.sac:
use Array: {transpose,genarray,++,*,iota,sum};
int main()
{
a = with {
( [ 0, 0] <= iv=[i,j] < [ 20, 15]) : j;
} : genarray( [40,20], 42);
b = transpose(a);
z = _sub_SxS_( sum(b), 23100);
StdIO::show(b);
StdIO::show(sum(b));
return( z);
}