This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 2.95: Dec 21 patch kit


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]