* alias.c (clear_reg_alias_info): Only handle pseudo registers.
From-SVN: r45553
+2001-09-11 Jim Wilson <wilson@redhat.com>
+
+ * alias.c (clear_reg_alias_info): Only handle pseudo registers.
+
2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* builtins.c (c_strlen): Treat an offset too large for a
clear_reg_alias_info (reg)
rtx reg;
{
- if (REGNO (reg) < reg_known_value_size)
- reg_known_value[REGNO (reg)] = reg;
+ unsigned int regno = REGNO (reg);
+
+ if (regno < reg_known_value_size && regno >= FIRST_PSEUDO_REGISTER)
+ reg_known_value[regno] = reg;
}
/* Returns a canonical version of X, from the point of view alias