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]
Other format: [Raw text]

Re: [PATCH] PPC SVR4 va_arg PR target/19491


David Edelsohn <dje@watson.ibm.com> writes:

> 	rs6000_va_start assigns the gpr and fpr members of the PPC SVR4
> valist structure to the total number of integer and floating point
> arguments, respectively.  The members are of type unsigned char and may
> overflow.  The members are intended to index into the argument GPRs and
> FPRs, not all arguments.  This patch limits the values to the maximum
> number of GPR arguments and FPR arguments.

This is what was intended.


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