diff options
author | Jeff Law <law@gcc.gnu.org> | 1999-05-09 06:25:03 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-05-09 06:25:03 -0600 |
commit | 6e9a3c382d146499ab6683a53233cf252679b268 (patch) | |
tree | 123ede30993825f508d9aeacec524999a3fdcab6 /gcc/gcse.c | |
parent | b0eb0fbd12d5099488de1eaa5abbef5dd22e6120 (diff) | |
download | gcc-6e9a3c382d146499ab6683a53233cf252679b268.zip gcc-6e9a3c382d146499ab6683a53233cf252679b268.tar.gz gcc-6e9a3c382d146499ab6683a53233cf252679b268.tar.bz2 |
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
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. */ |