More empty block checks.

This commit is contained in:
Bill Currie 2012-11-24 19:06:10 +09:00
parent 6e7aaac1b9
commit 4f8b3b5692

View file

@ -1310,6 +1310,8 @@ merge_blocks (sblock_t *blocks)
break;
if (!sb) // dest is
internal_error (0, "dangling label");
if (!sb->statements)
continue;
s = (statement_t *) sb->tail;
if (!is_goto (s) && !is_return (s))
continue;