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]
Other format: [Raw text]

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


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

Attachment: enumvalist.diff
Description: Binary data


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