Nested WL generates very illegal code
|
|
Bugzilla Link |
667 |
Created on |
Jan 12, 2010 20:51 |
Resolution |
FIXED |
Resolved on |
Sep 04, 2011 19:19 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
bug667.sac |
Extended Description
Created an attachment (id=658)
Source code to cause crash
Build #16725:16727:MODIFIED fails in several ways with this code:
sac2c bug667.sac -check b
WARNING: line 237 file: ArrayBasics.sac
WARNING: Naive compilation of multi-generator with-loop activated
sac@rattler:~/sac/testsuite/optimizations/cwle$ a.out
*** SAC runtime error
*** Memory access violation on reading from array SACp_emal_923_NONO
*** with size 0 at index position 0 !
sac2c bug667.sac -noopt
fails in:
** 14: Introducing memory management instructions ...
**** AUD/SCL distinction ...
so it may be Bug #666 in disguise.