summaryrefslogtreecommitdiffstats
path: root/gcc/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 8c6ad5f0eb3..5da7740ad6c 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -966,12 +966,11 @@ record_base_value (regno, val, invariant)
changes the offset. */
void
-clear_reg_alias_info (rtx reg)
+clear_reg_alias_info (reg)
+ rtx reg;
{
- int regno = REGNO (reg);
-
- if (regno < reg_known_value_size)
- reg_known_value[regno] = reg;
+ if (REGNO (reg) < reg_known_value_size)
+ reg_known_value[REGNO (reg)] = reg;
}
/* Returns a canonical version of X, from the point of view alias
OpenPOWER on IntegriCloud