simple substraction from ScalarArith.sac diverges with ESD
|
|
Bugzilla Link |
361 |
Created on |
May 13, 2007 16:01 |
Resolution |
FIXED |
Resolved on |
Oct 19, 2007 01:02 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
bug_361.sac |
Extended Description
When compiling the attached program with svn rev 15291, optimisation cycles stop
after 3 loops.
but if compiled with rev 15292, the following command
"sac2c ScalarArith.sac -bopt:cyc -maxoptcyc 50"
will run through all 50 cycles.
The program is taken direktly from ScalarArith.sac.
--------------cut here----------------------------
module ScalarArith;
export all;
int -(int A, int B)
{
return( _sub_SxS_( A, B));
}