diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-09-18 21:57:27 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-09-18 21:57:27 +0000 |
commit | 013be3e42ace1b1c511e022c6fb5db2442c1d372 (patch) | |
tree | aa2ae3d54de1558aa17f3a5c999f0648e5c4dbf0 /gcc/jump.c | |
parent | 62dc35824550d481d21675edd53060fd8155e12b (diff) | |
download | gcc-013be3e42ace1b1c511e022c6fb5db2442c1d372.tar.gz |
(jump_optimize): Insert conditional move after jump insn instead of
before.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12745 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/jump.c b/gcc/jump.c index 61d712c6929..3ce95201c02 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -1140,7 +1140,9 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) end_sequence (); emit_insns_before (seq1, temp5); - emit_insns_before (seq2, insn); + /* Insert conditional move after insn, to be sure that + the jump and a possible compare won't be separated */ + emit_insns_after (seq2, insn); /* ??? We can also delete the insn that sets X to A. Flow will do it too though. */ |