diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-24 20:31:26 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-24 20:31:26 +0000 |
commit | 32397bcdb4e7ce59f98c4982a8dc5450e87b29a6 (patch) | |
tree | ae926f3a14e3ce87f576d9b27dc5933736d0a603 /gcc/unroll.c | |
parent | 36a561f2871ac53e6a9311d81c9db5ab233428b6 (diff) | |
download | gcc-32397bcdb4e7ce59f98c4982a8dc5450e87b29a6.tar.gz |
* unroll.c (copy_loop_body): Examine SET_DEST of single_set
not of pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30149 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r-- | gcc/unroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index 3f82e652ac5..49472d4aa9e 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -1964,7 +1964,7 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration, settings which would invalidate this. */ if (dest_reg_was_split) { - int regno = REGNO (SET_DEST (pattern)); + int regno = REGNO (SET_DEST (set)); if ((size_t) regno < VARRAY_SIZE (map->const_equiv_varray) && (VARRAY_CONST_EQUIV (map->const_equiv_varray, regno).age |