From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Craig Burley Cc: pcg@goof.com, egcs@cygnus.com Subject: Re: x86 double alignment (was egcs-1.1 release schedule) Date: Thu, 25 Jun 1998 18:53:00 -0000 Message-id: <29413.898805009@hurl.cygnus.com> References: <199806251615.MAA12029@melange.gnu.org> X-SW-Source: 1998-06/msg00915.html In message < 199806251615.MAA12029@melange.gnu.org >you write: > What I haven't looked into yet is whether subtracting 4 from %esp > before pushing args might upset some varargs/stdargs implementation > on the callee side (that the caller doesn't know about), i.e. if > that can even happen. I'm pretty sure it's safe. Even for varargs/stdarg. Basically think of it as having an extra int argument at the end of the arglist (remember we push back to front). An extra argument never hurt anyone :-) We do have to be careful and make sure we don't screw RETURN_POPS_ARGS support though. I'd forgotten about that. Though I do not think that adds any significant complexity to the problem. jeff