Subject: Re: CVS commit: syssrc/sys/arch/powerpc/include
To: Matt Thomas <matt@3am-software.com>
From: Noriyuki Soda <soda@sra.co.jp>
List: tech-toolchain
Date: 08/07/2002 21:00:54
I've heard another concern from Tsubai privately. (*1)

In gcc-3.x, __builtin_va_list is array of struct (i.e. "struct{...}[1]"),
This means __builtin_va_list cannot be passed as a value in function
argument (because array cannot be passed as a value in C).

This means that all programs which assume that va_list can be passed
as a value in function argument will fail with gcc-3.x, if we use 
gcc __builtin_va_list as va_list.

Is this really OK? Why don't gcc people think this as a problem?

BTW, according to gcc-3.1.1 source, not only powerpc but also i386
has this problem about __builtin_va_list, if I read the source
correctly. ;-<
(mips seems to be OK, though).

(*1) www, people in Japan should try to write English more. ;)
  But writing English is so hard because there is huge difference
  between English language and Japanese language. ;-<
  SIGH.
--
soda