Commit 3a75e42e by Clinton Popetz Committed by Clinton Popetz

function.c (thread_prologue_and_epilogue_insns): Don't delete the edge from a…

function.c (thread_prologue_and_epilogue_insns): Don't delete the edge from a block that both jumps and falls through to the...

	* function.c (thread_prologue_and_epilogue_insns): Don't delete
	the edge from a block that both jumps and falls through to the
	fallthru block.

From-SVN: r31878
parent 7e3b6e31
2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
* function.c (thread_prologue_and_epilogue_insns): Don't delete
the edge from a block that both jumps and falls through to the
fallthru block.
2000-02-09 Scott Bambrough <scottb@netwinder.org>
* config/arm/arm.md (movsi): In PIC mode, make sure that a
......
......@@ -6727,6 +6727,12 @@ thread_prologue_and_epilogue_insns (f)
continue;
if (JUMP_LABEL (jump))
LABEL_NUSES (JUMP_LABEL (jump))--;
/* If this block has only one successor, it both jumps
and falls through to the fallthru block, so we can't
delete the edge. */
/*if (bb->succ->succ_next == NULL)
continue;*/
}
else
continue;
......
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