]> git.gag.com Git - fw/sdcc/commit
Fixed a number of problems revealed by bug #827883.
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 30 Oct 2003 05:42:53 +0000 (05:42 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 30 Oct 2003 05:42:53 +0000 (05:42 +0000)
commit30244100339d65c90eb0f45a7c3be6fbc9805f30
tree9b63f34977f398721769c6bb27cdfdac4409844c
parent73967514fb9bfdea838f37c456b461a37acecc4c
Fixed a number of problems revealed by bug #827883.
* src/SDCCloop.c (loopInvariants): Spill location of the
result operand should be recomputed if extracted from
a loop. Also, don't extract assignments of an iTemp
from a literal.
* src/SDCCast.c (isConformingBody): loop reversal should
not occur if the control variable is involved with a
relational operator.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2967 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/SDCCast.c
src/SDCCloop.c