diff options
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 596ea7f56e2..ac7622d9bff 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -1599,7 +1599,7 @@ calculate_giv_inc (rtx pattern, rtx src_insn, unsigned int regno) /* Some ports store large constants in memory and add a REG_EQUAL note to the store insn. */ - else if (GET_CODE (increment) == MEM) + else if (MEM_P (increment)) { rtx note = find_reg_note (src_insn, REG_EQUAL, 0); if (note) |