summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-18 01:31:12 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-18 01:31:12 +0000
commitf93ed41b2cb8dd6a998be9e0b8a2d9200048fb6f (patch)
tree1af946c443b754dbc8559aeb991357748bbeba1a /gcc/jump.c
parenta87e1e151e33726927193bb45d57976d9697b7a1 (diff)
downloadgcc-f93ed41b2cb8dd6a998be9e0b8a2d9200048fb6f.tar.gz
* sched.c (canon_rtx): Recursively look for equivalences;
look for expressions equivalent to MEMs. (true_dependence): Canonicalize inputs before operating on their values. (anti_dependence, output_dependence): Likewise. * jump.c (follow_jumps): Don't follow an unconditional jump that is not a simple_jump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 88a6c3aad1c..2fd8be52cb2 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -3054,7 +3054,8 @@ follow_jumps (label)
(depth < 10
&& (insn = next_active_insn (value)) != 0
&& GET_CODE (insn) == JUMP_INSN
- && (JUMP_LABEL (insn) != 0 || GET_CODE (PATTERN (insn)) == RETURN)
+ && ((JUMP_LABEL (insn) != 0 && simplejump_p (insn))
+ || GET_CODE (PATTERN (insn)) == RETURN)
&& (next = NEXT_INSN (insn))
&& GET_CODE (next) == BARRIER);
depth++)