This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95: Dec 21 patch kit
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: 2.95: Dec 21 patch kit
- From: Bernd Schmidt <bernds at redhat dot com>
- Date: Tue, 26 Dec 2000 16:10:28 +0000 (GMT)
- Cc: <gcc-patches at gcc dot gnu dot org>
On Fri, 22 Dec 2000, Franz Sirl wrote:
> The patch will only affect targets where REG_PARM_STACK_SPACE() can be 0
Also targets that don't define REG_PARM_STACK_SPACE, it seems to me.
Bernd
> > Index: gcc/function.c
> > ===================================================================
> > RCS file: /cvs/gcc/egcs/gcc/function.c,v
> > retrieving revision 1.90.4.3
> > diff -u -p -r1.90.4.3 function.c
> > --- gcc/function.c 2000/05/24 06:01:57 1.90.4.3
> > +++ gcc/function.c 2000/11/25 18:14:10
> > @@ -5274,7 +5293,13 @@ locate_and_pad_parm (passed_mode, type,
> > - offset_ptr->constant);
> > }
> > #else /* !ARGS_GROW_DOWNWARD */
> > - pad_to_arg_alignment (initial_offset_ptr, boundary);
> > + if (!in_regs
> > +#ifdef REG_PARM_STACK_SPACE
> > + || REG_PARM_STACK_SPACE (fndecl) > 0
> > +#endif
> > + )
> > + pad_to_arg_alignment (initial_offset_ptr, boundary);
> > +
> > *offset_ptr = *initial_offset_ptr;
> >
> > #ifdef PUSH_ROUNDING
>