Fix 2 bugs in last patch.
* alias.c (clear_reg_alias_info): Only handle pseudo registers. From-SVN: r45553
This commit is contained in:
parent
fcbc317fc9
commit
4e1a4144d4
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -969,8 +969,10 @@ void
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user