aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7edddff..d5538db 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 3f82e652..49472d4 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