Subject: Re: CVS commit: syssrc/sys/arch/powerpc/include
To: Noriyuki Soda , Todd Vierling <tv@pobox.com>
From: Matt Thomas <matt@3am-software.com>
List: tech-toolchain
Date: 08/07/2002 10:28:01
At 10:09 AM 8/7/2002, Noriyuki Soda wrote:
> >>>>> On Wed, 7 Aug 2002 12:13:58 -0400 (Eastern Daylight Time),
>         Todd Vierling <tv@pobox.com> said:
>
> > Personally, I'd only be curious to make sure that the GCC 3.0 builtin
> > definition matches the previous definition -- for the purposes of ABI
> > compatibility.  If the ABI matches, there's no problem; if it doesn't 
> match,
> > you've created a flag day.  8-)
>
>Well, it isn't ABI compatbile, because va_list before GCC 3.0 is
>passed as a struct in function argument, and va_list since GCC 3.0 is
>passed as a pointer to a struct in function argument.

If it's not ABI compatible, then wouldn't you expect anything passing
a va_list as an argument to break?  Like vprintf?

Well, calling vprintf (see previous message) with ansi.h changed in the
manner I had done produces the correct output when compiled with either
gcc 2.95.3 or gcc 3.3.  So I'd that it is ABI compatible.


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message