CSE missing N_array nodes
|
|
Bugzilla Link |
665 |
Created on |
Jan 12, 2010 19:40 |
Resolution |
FIXED |
Resolved on |
Jan 12, 2010 20:12 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
cblockAKD.sac |
Extended Description
Created an attachment (id=656)
Source code to reproduce fault
Build #16725:MODIFIED CSE misses N_array nodes:
sac2c -nocyc -v1 cblockAKD.sac -b11:saacyc:wlsimp:1 >crud
and is the same after wlsimp:2:
_isaa_88__flat_0 = 0;
_isaa_89__flat_0 = [:int];
_isaa_90__flat_0 = _saabind_( _isaa_88__flat_0, _isaa_89__flat_0, _flat_0);
_pinl_56__flat_5 = [ _isaa_90__flat_0 ];
_pinl_59__flat_2 = [ 0 ];
AA = with {
(_pinl_59__flat_2 <= _pinl_62__flat_6=[_pinl_63_i] < _pinl_56__flat_5 genwidth [ _isaa_90__flat_0 ])
{
/* empty */
} : _pinl_63_i ;
} :
genarray( _pinl_56__flat_5, _isaa_88__flat_0);
_flat_3 = 666;
_wlbsc_46_sc_bound = [ _isaa_90__flat_0 ];
This definitely is breaking CWLE, and is (at least part of) the
cause of Bug #663.