This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Bug 20375 - ia64 varadic regression
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Zack Weinberg'" <zack at codesourcery dot com>,"'Nathan Sidwell'" <nathan at codesourcery dot com>
- Cc: "'Andrew Pinski'" <pinskia at physics dot uc dot edu>,"'Joseph S. Myers'" <joseph at codesourcery dot com>,"'Richard Henderson'" <rth at redhat dot com>,"'gcc'" <gcc at gcc dot gnu dot org>
- Date: Tue, 8 Mar 2005 18:42:22 -0000
- Subject: RE: Bug 20375 - ia64 varadic regression
----Original Message----
>From: Zack Weinberg
>Sent: 08 March 2005 18:25
> Nathan Sidwell <nathan@codesourcery.com> writes:
>
>> Dave Korn wrote:
>>
>>> There was under varargs, which didn't require to pass a named
>>> argument to va_start; it's only with stdargs that it would be
>>> impossible. I suspect that this is the underlying reason for the
>>> code having developed this way: sometimes the first variadic arg is
>>> the last named arg (stdargs), sometimes it is the first arg _after_
>>> the last named arg.
>
> This is exactly backward.
Hence my heartfelt expression of regret "...started well but had turned to
nonsense by the time I got this far"... :) Thanks for the in-depth
explanation.
cheers,
DaveK
--
Can't think of a witty .sigline today....