* function.c (put_var_into_stack): Properly set orig_reg for indirect.

From-SVN: r80254
This commit is contained in:
Richard Kenner 2004-03-31 13:13:50 -05:00
parent efdc5d916b
commit 8465edcc9f
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,8 @@
2004-03-21 Andrew Pinski <pinskia@physics.uc.edu>
2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* function.c (put_var_into_stack): Properly set orig_reg for indirect.
2004-03-31 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA):
Add darwin-fpsave.asm, darwin-vecsave.asm,

View File

@ -1333,7 +1333,7 @@ put_var_into_stack (tree decl, int rescan)
&& GET_CODE (XEXP (reg, 0)) == REG
&& REGNO (XEXP (reg, 0)) > LAST_VIRTUAL_REGISTER)
{
reg = XEXP (reg, 0);
orig_reg = reg = XEXP (reg, 0);
decl_mode = promoted_mode = GET_MODE (reg);
}