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
This commit is contained in:
parent
7e3b6e312a
commit
3a75e42e81
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue