TC gets confused about types in cfbug.sac
|
|
Bugzilla Link |
875 |
Created on |
Sep 23, 2011 22:27 |
Resolution |
FIXED |
Resolved on |
Oct 10, 2011 18:45 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Extended Description
The CF unit test cfbug.sac dies in TC when compiled with:
cd ~/sac/testsuite/optimizations/constantfolding
sac2c cfbug.sac -ecc -nocyc -noewlcf
EATlet is looking at:
_flat_30 = [M2];
At -bopt:saacyc:ili:1 we have:
int[3,2] M2;
int[1,3,2] _flat_30;
Both have AVIS_SHAPE/DIM OK.
In EATlet,
elemtype= int[.,.]
arrayelem = int[3,2]
Perhaps Bodo can comment on this situation? The code contains zero
helpful (to me) comments.
Build #17634
The problem may be a variant of the -ecc/check c bug.