This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
Re: va_list: i960
- To: Richard Henderson <rth@cygnus.com>
- Subject: Re: va_list: i960
- From: Jim Wilson <wilson@cygnus.com>
- Date: Tue, 27 Jul 1999 19:58:11 -0700
- cc: gcc-patches@gcc.gnu.org
Thrice-cursed is he who once thought an array type va_list
was a good idea.
I have a 1988 vintage Intel i960 C compiler (iC-960) manual that specifies
that this is an array type. So it was probably someone inside the Intel
compiler group.
Using an array type does have the interesting property that invalid uses
of va_list result in compiler errors instead of silently appearing to work.
The i960 compiler has found stdarg bugs in a number of programs over the years
that weren't noticed by any other gcc port.
Follows the changes needed for i960
These changes are fine.
Jim