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: stack layout code for c4x




  In message <199810041544.QAA10332@htbrug.net.HCC.nl>you write:
  > 1998-10-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
  > 	
  > 	* expr.c (push_block) fix stack layout code for c4x.
  > 
  > --- expr.c.org	Sat Oct  3 21:04:40 1998
  > +++ expr.c	Sun Oct  4 14:26:27 1998
  > @@ -2598,7 +2598,10 @@ push_block (size, extra, below)
  >        anti_adjust_stack (temp);
  >      }
  >  
  > -#ifdef STACK_GROWS_DOWNWARD
  > +#if defined (STACK_GROWS_DOWNWARD) \
  > +    || (!defined (STACK_GROWS_DOWNWARD) \
  > +	&& defined (ARGS_GROW_DOWNWARD) \
  > +	&& !defined (PUSH_ROUNDING))
  >    temp = virtual_outgoing_args_rtx;
  >    if (extra != 0 && below)
  >      temp = plus_constant (temp, extra);
I'm not sure you're fixing this in the right place.  Regardless, you need to
explain this in more depth.  Enough that I (not knowing hte c4x) can understand
the problem and your solution.
jeff



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