This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Optimize incoming function arguments passed in multiple locations
On Dec 18, 2000, Alexandre Oliva <aoliva@redhat.com> wrote:
> I simple fix was to copy entry_parm to DECL_INCOMING_RTL again (it had
> been copied a couple of lines before), when modifying entry_parm. Is
> this additional change ok to install? (Currently testing with the new
> port; success so far)
RTH approved this, so I'm checking it in.
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* function.c (assign_parms): Update parm's DECL_INCOMING_RTL
when optimizing PARALLEL to REG.
Index: gcc/function.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/function.c,v
retrieving revision 1.235
diff -u -p -r1.235 function.c
--- gcc/function.c 2000/12/15 09:09:41 1.235
+++ gcc/function.c 2000/12/22 08:08:46
@@ -4566,6 +4566,7 @@ assign_parms (fndecl)
&& XINT (XEXP (XVECEXP (entry_parm, 0, i), 1), 0) == 0)
{
entry_parm = XEXP (XVECEXP (entry_parm, 0, i), 0);
+ DECL_INCOMING_RTL (parm) = entry_parm;
break;
}
}
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me