This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug in va_list/va_arg on PowerPC


On Tuesday 18 July 2000, at 15 h 21, the keyboard of Franz Sirl 
<Franz.Sirl-kernel@lauterbach.com> wrote:

> This is no bug, this is non-portable code. Remember, va_list is an array 
> type on Linux/PPC. 

OK, I reported the bug to the kaffe people, together with a proposed patch. Thanks.

It's even documented in va_arg(3):

       Because the address of  this  parameter  is  used  in  the
       va_start  macro,  it  should not be declared as a register
       variable, or as a function or an array type.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]