varargs fix for array 'va_list'.

Richard Henderson rth@cygnus.com
Thu Mar 23 23:49:00 GMT 2000


> ! 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~


More information about the Gcc-patches mailing list