AS no longer present, but is still required
|
|
Bugzilla Link |
722 |
Created on |
Jun 13, 2010 22:17 |
Resolution |
FIXED |
Resolved on |
Dec 21, 2010 19:46 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
bug722.sac, gauss.sac
|
Extended Description
Created an attachment (id=735)
source code to reproduce fault
Arithmetic Simplification was removed from sac2c a while back, apparently
due to some miscommunication(s) among sacdev members.
The following is extracted from sac/testsuite/optimizations/awlf/gauss.sac,
from: sac2c gauss.sac -extrema -ecc -doawlf -nowlf -b11
_uprf_1249 = _add_SxS_( n, 1);
_pinl_1073_dif = _sub_SxS_( n, _uprf_1249);
This should have been reduced by AS to:
_pinl_1073_dif = -1;
However, it was not, because AS is gone. CF is not able to handle
this case.
I'm assigning this to to CG, since he removed AS, but as he is on
holidays, I'll take a crack at reintroducing AS...