aboutsummaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index d766b74..3f82e652 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -1962,8 +1962,7 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration,
/* Make split induction variable constants `permanent' since we
know there are no backward branches across iteration variable
settings which would invalidate this. */
- if (dest_reg_was_split
- && (GET_CODE (pattern) == SET || GET_CODE (pattern) == USE))
+ if (dest_reg_was_split)
{
int regno = REGNO (SET_DEST (pattern));