From: Richard Kenner Date: Mon, 12 Feb 1996 12:22:11 +0000 (-0500) Subject: (save_for_inline_copying): Put virtual regs into new regno_reg_rtx copy. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25e48d20ab6808402115a35e4c7b0c30081968f5;p=gcc.git (save_for_inline_copying): Put virtual regs into new regno_reg_rtx copy. From-SVN: r11208 --- diff --git a/gcc/integrate.c b/gcc/integrate.c index 199fcd95816..01644b5ce99 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -478,6 +478,12 @@ save_for_inline_copying (fndecl) regno_reg_rtx = reg_map; + /* Put copies of all the virtual register rtx into the new regno_reg_rtx. */ + regno_reg_rtx[VIRTUAL_INCOMING_ARGS_REGNUM] = virtual_incoming_args_rtx; + regno_reg_rtx[VIRTUAL_STACK_VARS_REGNUM] = virtual_stack_vars_rtx; + regno_reg_rtx[VIRTUAL_STACK_DYNAMIC_REGNUM] = virtual_stack_dynamic_rtx; + regno_reg_rtx[VIRTUAL_OUTGOING_ARGS_REGNUM] = virtual_outgoing_args_rtx; + /* Likewise each label rtx must have a unique rtx as its copy. */ label_map = (rtx *)alloca ((max_labelno - min_labelno) * sizeof (rtx));