[patch c i386]: Replace target macro TARGET_ENUM_VA_LIST by target hook

Kai Tietz ktietz70@googlemail.com
Thu May 27 00:32:00 GMT 2010


Hello,

patch replaces target macro TARGET_ENUM_VA_LIST by target hook
enum_va_list (TARGET_ENUM_VA_LIST_P).

2010-05-27  Kai Tietz

	* c-common.c (c_common_nodes_and_builtins): Replace use
	of TARGET_ENUM_VA_LIST by target hook enum_va_list.
	* config/i386/i386.c (TARGET_ENUM_VA_LIST_P): Hook
	to ix86_enum_va_list.
	* config/i386/i386.h (TARGET_ENUM_VA_LIST): Removed.
	* doc/tm.texi (TARGET_ENUM_VA_LIST): Removed.
	(TARGET_ENUM_VA_LIST_P): Add hook description.
	* target-def.h (TARGET_ENUM_VA_LIST_P): Added.
	* target.h (gcc_target): Add enum_va_list hook.

Tested for x86_64-pc-mingw32 and i686-pc-mingw32.

Ok for apply?

Regards,
Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enumvalist.diff
Type: application/octet-stream
Size: 6125 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100527/a7f63e4b/attachment.obj>


More information about the Gcc-patches mailing list