This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: varargs fix for array 'va_list'.
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: varargs fix for array 'va_list'.
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 23 Mar 2000 23:49:18 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200003240010.QAA00900@localhost.cygnus.com>
> ! stabilize_va_list (valist, needs_lvalue)
> tree valist;
> ! int needs_lvalue ATTRIBUTE_UNUSED;
You don't enforce needs_lvalue anywhere? What are you
going to do with
__builtin_stdarg_start(args+0)
__builtin_stdarg_start(foo())
If you can give an error, perfect, but I'm thinking it
might be as bad as a crash.
You waid you tried the reference thing and it failed?
Was that just for ppc's array type, or in general? Cause
there's nothing saying the internal prototype can't
depend on the class of va_list_type.
r~