reported in bug #800609
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2875
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2003-09-05 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+ * src/SDCCast.c (isConformingBody): fixed loop reversal bug
+ reported in bug #800609
+
2003-09-04 Vangelis Rokas <vrokas@otenet.gr>
* Top header beautifications in src/pic16 directory:
device.c, device.h, gen.c, gen.h, genarith.c, glue.c, pcode.c,
2003-09-04 Vangelis Rokas <vrokas@otenet.gr>
* Top header beautifications in src/pic16 directory:
device.c, device.h, gen.c, gen.h, genarith.c, glue.c, pcode.c,
return FALSE;
// if the loopvar is used in another (maybe conditional) block
if (astHasSymbol (pbody->right, sym) &&
return FALSE;
// if the loopvar is used in another (maybe conditional) block
if (astHasSymbol (pbody->right, sym) &&
- (pbody->level > body->level)) {
+ (pbody->level >= body->level)) {