summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 1fc88b64f1f..bdb40323b02 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2816,7 +2816,7 @@ mark_set_1 (struct propagate_block_info *pbi, enum rtx_code code, rtx reg, rtx c
else
SET_REGNO_REG_SET (pbi->local_set, i);
}
- if (code != CLOBBER)
+ if (code != CLOBBER || needed_regno)
SET_REGNO_REG_SET (pbi->new_set, i);
some_was_live |= needed_regno;