aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/function.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d555eb0..6e04bb7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
+ argument to 0 for redirect_jump.
+
+
2003-03-16 Mark Mitchell <mark@codesourcery.com>
PR c++/8805
diff --git a/gcc/function.c b/gcc/function.c
index 26fc9ecc..4df1800 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -7601,7 +7601,7 @@ thread_prologue_and_epilogue_insns (f)
that with a conditional return instruction. */
else if (condjump_p (jump))
{
- if (! redirect_jump (jump, 0, 1))
+ if (! redirect_jump (jump, 0, 0))
continue;
/* If this block has only one successor, it both jumps