Fix a missing label use count decrement.

if statements in dead code weren't being removed due to the label.
This commit is contained in:
Bill Currie 2012-11-26 16:13:59 +09:00
parent 24847857ef
commit 8e225cd726

View file

@ -1018,6 +1018,7 @@ statement_bool (sblock_t *sblock, expr_t *e)
l = (*s)->e.expr.e1;
for (e = (*s)->next; e && e->type == ex_label; e = e->next) {
if (e == l) {
l->e.label.used--;
*s = (*s)->next;
l = 0;
break;