From 25854e9a2030dfbb7e956b387ffce49fc728c71c Mon Sep 17 00:00:00 2001 From: law Date: Sun, 9 May 1999 12:25:03 +0000 Subject: [PATCH] 8 * gcse.c (cprop_insn): Do not try to simplify a simple jump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26846 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gcse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/gcse.c b/gcc/gcse.c index 5392607..d7fde36 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.7.4