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: va_list: i960


	Yes, though using a struct type has the same properties without
	having the annoying promote-to-pointer semantics in parameter lists.

Structs don't have all of the necessary properties.  Structs can be copied
via assignment.  E.g.

	va_list foo;
	va_list bar;
	foo = bar;

This works if va_list is a struct, but does not work if va_list is an array.

Jim


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