aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorClinton Popetz <cpopetz@cygnus.com>2000-02-10 00:20:41 +0000
committerClinton Popetz <cpopetz@gcc.gnu.org>2000-02-09 19:20:41 -0500
commit3a75e42e813997b8144619d6031b729690639922 (patch)
tree682124d0b741a49426f840f20b828a7a2e83c2a8 /gcc/function.c
parent7e3b6e312a9f2060a707ab279e236fc464d9f518 (diff)
downloadgcc-3a75e42e813997b8144619d6031b729690639922.zip
gcc-3a75e42e813997b8144619d6031b729690639922.tar.gz
gcc-3a75e42e813997b8144619d6031b729690639922.tar.bz2
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 8b97be0..f9d2788 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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;