UTCompress.sac benchmark generates wrong answer
|
|
Bugzilla Link |
1077 |
Created on |
May 03, 2013 22:23 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
crud.sac |
Extended Description
Created an attachment (id=975)
source code to reproduce fault
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
product rev 18133 linux-gnu_x86_64
(Fri May 3 16:23:38 EDT 2013 by sac)
apex@rattler:~/apex3/benchmks/UTCompress$ sac2c crud.sac -nodl
apex@rattler:~/apex3/benchmks/UTCompress$ a.out
Dimension: 3
Shape : < 1, 3, 4>
< 0 1 2 3 > < 4 5 6 7 > < 8 9 10 11 >
Dimension: 3
Shape : < 2, 3, 4>
< 0 1 2 3 > < 4 5 6 7 > < 8 9 10 11 >
<12 13 14 15 > <16 17 18 19 > <20 21 22 23 >
The first output is what we get; the second output is what we
are supposed to get!
This is not related to DL, as -nodl gives us the same fault.