This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ginclude/varargs.h fix for 64-bit AIX
- To: law at cygnus dot com
- Subject: Re: ginclude/varargs.h fix for 64-bit AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 01 Jul 1999 11:23:25 -0400
- Cc: Richard Henderson <rth at cygnus dot com>, egcs-patches at egcs dot cygnus dot com
>>>>> Jeffrey A Law writes:
Jeff> In message <19990629221321.A1637@cygnus.com>you write:
>> On Tue, Jun 29, 1999 at 03:43:10AM -0600, Jeffrey A Law wrote:
>> > For example, we might consider having the va-* file conditionally define
>> > __BUILTIN_VA_ALIST_TYPE or some similar variable to the right type, then
>> > do something like:
>>
>> I don't think there's any point in that at the moment.
Jeff> We're talking about all of 3 lines of code to deal with this in a clean
Jeff> fashion.
Jeff> At the top of varargs.h we put a default definition.
Jeff> In the va-* file, override it as necessary.
AIX has *NEVER* used a separate va-* file. Adding a new file for
all of this functionality is a significant change -- more change and more
error-prone than my proposed patch.
David