PATCH: Fix 2 PPC/SYSV varargs problems

Richard Henderson
Wed Jun 30 18:26:00 GMT 1999

On Wed, Jun 30, 1999 at 11:20:24AM +0200, Franz Sirl wrote:
> Well, the corner case that lead me to that solution was:

Doh.  The correct solution is

 -      if (gpr >= GP_ARG_NUM_REG)
 +      if (gpr > GP_ARG_NUM_REG)

Attached is my current patch set, which also corrects horrible
breakage in AIX.  At the moment I'm failing execute/931004-12.c
at all optimization levels, so I've not squished them all.


More information about the Gcc-patches mailing list