diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-29 11:21:58 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-29 11:21:58 -0400 |
commit | 412c00dcfa6575dc08653a65801e68369d343444 (patch) | |
tree | a8cfcf23cc78251f7514ba82358b90374ac6b269 /gcc | |
parent | 9787ad71f1314110477fe5ee2f3f268f3dbb25dd (diff) | |
download | gcc-412c00dcfa6575dc08653a65801e68369d343444.zip gcc-412c00dcfa6575dc08653a65801e68369d343444.tar.gz gcc-412c00dcfa6575dc08653a65801e68369d343444.tar.bz2 |
(fixup_gotos): When running undefined labels, if no cleanup actions
for this block, don't clear BEFORE_JUMP.
From-SVN: r12854
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/stmt.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1244,8 +1244,9 @@ fixup_gotos (thisblock, stack_level, cleanup_list, first_insn, dont_jump_in) cleanup_insns = get_insns (); poplevel (1, 0, 0); end_sequence (); - f->before_jump - = emit_insns_after (cleanup_insns, f->before_jump); + if (cleanup_insns != 0) + f->before_jump + = emit_insns_after (cleanup_insns, f->before_jump); f->cleanup_list_list = TREE_CHAIN (lists); } |