jumps to self, fixed bug
1717281
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4806
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-05-08 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/SDCCpeeph.c (labelIsUncondJump): ignore identical labels for
+ jumps to self, fixed bug 1717281
+
2007-05-10 Borut Razem <borut.razem AT siol.net>
* support/scripts/gen_known_bugs.pl: cosmetic fix
if (*q==',')
return FALSE; /* conditional jump */
}
+ if (strcmp(p, q) == 0)
+ return FALSE; /* labels are equal */
/* now put the destination in %6 */
bindVar (6, &p, &vars);
return TRUE;