From 6e9a3c382d146499ab6683a53233cf252679b268 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 9 May 1999 06:25:03 -0600 Subject: [PATCH] gcse.c (cprop_insn): Do not try to simplify a simple jump. 8 * gcse.c (cprop_insn): Do not try to simplify a simple jump. From-SVN: r26846 --- gcc/gcse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/gcse.c b/gcc/gcse.c index 5392607c586..d7fde36ecd8 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -3749,7 +3749,9 @@ cprop_insn (insn, alter_jumps) Note this does not currently handle machines which use cc0. */ else if (alter_jumps - && GET_CODE (insn) == JUMP_INSN && condjump_p (insn)) + && GET_CODE (insn) == JUMP_INSN + && condjump_p (insn) + && ! simplejump_p (insn)) { /* We want a copy of the JUMP_INSN so we can modify it in-place as needed without effecting the original. */ -- 2.30.2