* regrename.c (find_oldest_value_reg): Fix a warning.

From-SVN: r75871
This commit is contained in:
Kazu Hirata 2004-01-14 17:55:20 +00:00 committed by Kazu Hirata
parent 192c8d78fe
commit abbe8578d6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
* regrename.c (find_oldest_value_reg): Fix a warning.
2004-01-14 Richard Earnshaw <rearnsha@arm.com>
PR bootstrap/12527

View File

@ -1345,8 +1345,8 @@ find_oldest_value_reg (enum reg_class class, rtx reg, struct value_data *vd)
if (!TEST_HARD_REG_BIT (reg_class_contents[class], last))
return NULL_RTX;
if (new = maybe_mode_change (oldmode, vd->e[regno].mode, mode, i,
regno))
new = maybe_mode_change (oldmode, vd->e[regno].mode, mode, i, regno);
if (new)
{
ORIGINAL_REGNO (new) = ORIGINAL_REGNO (reg);
REG_ATTRS (new) = REG_ATTRS (reg);