aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 822986f..b162c5e 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -5214,11 +5214,8 @@ cse_insn (insn, libcall_insn)
break;
}
- /* We must actually validate the change. Consider a target
- where unconditional jumps are more complex than
- (set (pc) (label_ref)) such as the fr30. */
- if (validate_change (insn, &SET_SRC (sets[i].rtl), trial, 0))
- cse_jumps_altered = 1;
+ PATTERN (insn) = gen_jump (trial);
+ cse_jumps_altered = 1;
break;
}