summaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-06-18 13:51:43 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-06-18 13:51:43 -0400
commitf72a8759ce2ded3e670206123920f76fa7d96c58 (patch)
treeb84a5a2ada5d4108872d738156fde128d87946e3 /gcc/integrate.c
parent5556bc5b8b126842172de8c6eb68a407be12a7d3 (diff)
downloadgcc-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.c3
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