This is the mail archive of the gcc-patches@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: varargs fix for array 'va_list'.


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

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