From: Richard Henderson Date: Sun, 24 Oct 1999 20:31:26 +0000 (-0700) Subject: unroll.c (copy_loop_body): Examine SET_DEST of single_set not of pattern. X-Git-Tag: prereleases/libstdc++-2.92~9902 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65c8a03d5ceb266752a24fff8f897d8d488b3f21;p=thirdparty%2Fgcc.git unroll.c (copy_loop_body): Examine SET_DEST of single_set not of pattern. * unroll.c (copy_loop_body): Examine SET_DEST of single_set not of pattern. From-SVN: r30149 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7edddff84686..d5538dbe6347 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Oct 24 13:29:28 1999 Richard Henderson + + * unroll.c (copy_loop_body): Examine SET_DEST of single_set + not of pattern. + Sun Oct 24 13:14:20 1999 Graham Richard Henderson diff --git a/gcc/unroll.c b/gcc/unroll.c index 3f82e652ac53..49472d4aa9e2 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