diff options
Diffstat (limited to 'contrib/gcc/cfgcleanup.c')
-rw-r--r-- | contrib/gcc/cfgcleanup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/cfgcleanup.c b/contrib/gcc/cfgcleanup.c index 32ae77a..12be4f5 100644 --- a/contrib/gcc/cfgcleanup.c +++ b/contrib/gcc/cfgcleanup.c @@ -1638,7 +1638,8 @@ try_optimize_cfg (mode) /* If the jump insn has side effects, we can't kill the edge. */ && (GET_CODE (b->end) != JUMP_INSN - || onlyjump_p (b->end)) + || (onlyjump_p (b->end) + && !tablejump_p (b->end))) && merge_blocks (s, b, c, mode)) changed_here = true; |