Commit a617c13f by Clinton Popetz Committed by Clinton Popetz

function.c (thread_prologue_and_epilogue_insns): Don't replace jumps with…

function.c (thread_prologue_and_epilogue_insns): Don't replace jumps with returns unless they are jumps to the fallthru block.

        * function.c (thread_prologue_and_epilogue_insns): Don't replace
        jumps with returns unless they are jumps to the fallthru block.

From-SVN: r31852
parent 4d6b6776
2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
* function.c (thread_prologue_and_epilogue_insns): Don't replace
jumps with returns unless they are jumps to the fallthru block.
Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
* i386.md (addqi3_cc): Fix contraints.
......
......@@ -6699,7 +6699,7 @@ thread_prologue_and_epilogue_insns (f)
continue;
jump = bb->end;
if (GET_CODE (jump) != JUMP_INSN)
if ((GET_CODE (jump) != JUMP_INSN) || JUMP_LABEL (jump) != label)
continue;
/* If we have an unconditional jump, we can replace that
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment