From: Jeff Law Date: Sun, 9 May 1999 12:25:03 +0000 (-0600) Subject: gcse.c (cprop_insn): Do not try to simplify a simple jump. X-Git-Tag: prereleases/gcc-2.95-test~559 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e9a3c382d146499ab6683a53233cf252679b268;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/gcse.c b/gcc/gcse.c index 5392607c5862..d7fde36ecd80 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. */