[PATCH]: Fix va_arg on HC11/HC12

Stephane Carrez stcarrez@nerim.fr
Wed Mar 5 21:36:00 GMT 2003


Hi!

I committed this patch on 3_3 and mainline to fix va_arg() to handle
variable size types (fixes testsuite/gcc.c-torture/execute/20020412-1.c).
The only reason why EXPAND_BUILTIN_VA_ARG was re-defined was that it
was necessary for HC11 to specify the padding according to the va_arg type.

	Stephane

2003-03-05  Stephane Carrez  <stcarrez@nerim.fr>

	* config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
	according to va_arg type.
	(EXPAND_BUILTIN_VA_ARG): Remove.
	* config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
	* config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m68hc11-va.diffs
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030305/7bb8f05b/attachment.ksh>


More information about the Gcc-patches mailing list