projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCpeeph.c (labelIsUncondJump): ignore identical labels for
[fw/sdcc]
/
src
/
SDCCpeeph.c
diff --git
a/src/SDCCpeeph.c
b/src/SDCCpeeph.c
index 36bedeb22b66123b927624e4545cafb174f46d2b..2a7e3f7ac03a88a174097e2be016611c3bc3c1af 100644
(file)
--- a/
src/SDCCpeeph.c
+++ b/
src/SDCCpeeph.c
@@
-353,6
+353,8
@@
FBYNAME (labelIsUncondJump)
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;