diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-06-18 13:51:43 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-06-18 13:51:43 -0400 |
commit | f72a8759ce2ded3e670206123920f76fa7d96c58 (patch) | |
tree | b84a5a2ada5d4108872d738156fde128d87946e3 /gcc/integrate.c | |
parent | 5556bc5b8b126842172de8c6eb68a407be12a7d3 (diff) | |
download | gcc-f72a8759ce2ded3e670206123920f76fa7d96c58.tar.gz |
(expand_inline_function): Add missing call to force_operand when
getting structure_value_addr into reg.
From-SVN: r12303
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r-- | gcc/integrate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 9c2769e4111..28707de4485 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -1599,7 +1599,8 @@ expand_inline_function (fndecl, parms, target, ignore, type, if (GET_CODE (XEXP (loc, 0)) == REG) { - temp = force_reg (Pmode, structure_value_addr); + temp = force_reg (Pmode, + force_operand (structure_value_addr, NULL_RTX)); map->reg_map[REGNO (XEXP (loc, 0))] = temp; if ((CONSTANT_P (structure_value_addr) || (GET_CODE (structure_value_addr) == PLUS |