diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index 19b9f50..51beeef 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5022,6 +5022,15 @@ assign_parms (fndecl) set_mem_attributes (x, result, 1); SET_DECL_RTL (result, x); } + + if (GET_CODE (DECL_RTL (parm)) == REG) + REGNO_DECL (REGNO (DECL_RTL (parm))) = parm; + else if (GET_CODE (DECL_RTL (parm)) == CONCAT) + { + REGNO_DECL (REGNO (XEXP (DECL_RTL (parm), 0))) = parm; + REGNO_DECL (REGNO (XEXP (DECL_RTL (parm), 1))) = parm; + } + } /* Output all parameter conversion instructions (possibly including calls) |