summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-24 20:31:26 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-24 20:31:26 +0000
commit32397bcdb4e7ce59f98c4982a8dc5450e87b29a6 (patch)
treeae926f3a14e3ce87f576d9b27dc5933736d0a603 /gcc
parent36a561f2871ac53e6a9311d81c9db5ab233428b6 (diff)
downloadgcc-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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unroll.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7edddff8468..d5538dbe634 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
+
+ * unroll.c (copy_loop_body): Examine SET_DEST of single_set
+ not of pattern.
+
Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
Richard Henderson <rth@cygnus.com>
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