aboutsummaryrefslogtreecommitdiff
path: root/gcc/web.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/web.c')
-rw-r--r--gcc/web.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/web.c b/gcc/web.c
index 7014aa5..9b84924 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -260,11 +260,7 @@ entry_register (struct web_entry *entry, df_ref ref, unsigned int *used)
and there won't be any use for the other values when we get to
this point. */
if (used[REGNO (reg)] != 1)
- {
- newreg = reg;
- if (!used[REGNO (reg)])
- used[REGNO (reg)] = 1;
- }
+ newreg = reg, used[REGNO (reg)] = 1;
else
{
newreg = gen_reg_rtx (GET_MODE (reg));