Run-time index error in scs.sac if compiled with -dosaa
|
|
Bugzilla Link |
383 |
Created on |
Jul 03, 2007 15:01 |
Resolution |
DUPLICATE |
Resolved on |
Nov 09, 2007 23:45 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
scs.sac |
Extended Description
This problem may or may not be related to saa, but the failure does go away
when you compile with -nosaa. The code fails at run-time with an array bounds
violation when compiled with:
sac2c scs.sac -O3 -check tb
If compiled with:
sac2c scs.sac -O3 -check tb -nosaa
the code operates correctly and produces the correct result.