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: patch on mips varargs





On Mon, 17 Jul 2000, Richard Henderson wrote:

> On Fri, Jul 14, 2000 at 05:12:49PM -0700, Chandra Chavva wrote:
> > -       size = rsize = POINTER_SIZE / BITS_PER_UNIT;
> > +       size = rsize = BITS_PER_WORD / BITS_PER_UNIT;
> 
> Ah, I see...  No, this is wrong, but it is also wrong
> that size == rsize.  This should be
> 
> 	size = POINTER_SIZE / BITS_PER_UNIT;
> 	rsize = UNITS_PER_WORD;
> 
> That should fix your 32-bit pointer / 64-bit architecture problem.
> 
  Yes this fixed my testcase. I am going to checkin with above changes.

Thanks
Chandra


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