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: fix PR 16819


On Wed, Dec 22, 2004 at 03:23:23AM -0200, Alexandre Oliva wrote:
> The problem is that i386.c:function_arg() falls through from the
> BLKmode case to the [QHSD]Imode case, which is intentional, but then
> ends up passing the words <= cum->nregs test, because both sides are
> zero.  So we end up returning (reg:BLK 0).

This is a bug, I think, but,

> 	* calls.c (load_register_parameters): Don't call use_regs when
> 	nregs is zero.

this is also ok.


r~


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