summaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
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