diff options
| author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-26 02:50:12 +0000 |
|---|---|---|
| committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-26 02:50:12 +0000 |
| commit | a44d41cb40ae91549ba6ae93a2b744bb19553586 (patch) | |
| tree | 3d3e0fcad47861b0973811f3329a35e6b4a0e70d /gcc/cse.c | |
| parent | 444c2c1d985c0f2889b557fdf1e0e19448d9e158 (diff) | |
| download | ppe42-gcc-a44d41cb40ae91549ba6ae93a2b744bb19553586.tar.gz ppe42-gcc-a44d41cb40ae91549ba6ae93a2b744bb19553586.zip | |
* cse.c (cse_insn): Replace the PATTERN of the insn with an new
jump when changing a computed jump into a jump to a known
target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
| -rw-r--r-- | gcc/cse.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index 822986f1282..b162c5ea191 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; } |

