aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-05-28 11:58:35 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-05-28 11:58:35 +0000
commit3a3029ac039eec2933366f215f93ea1996487354 (patch)
treec3d191d473097e189086bc6f9d252e42b7ae28ce /gcc/target.h
parent713e4aaa6ad7ada587ef2d1fb7fc3360fb09bd84 (diff)
2010-05-28 Kai Tietz <kai.tietz@onevision.com>
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@159966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 6f045da1299..e17cc21f9fc 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -844,6 +844,9 @@ struct gcc_target
/* Create the __builtin_va_list type. */
tree (* build_builtin_va_list) (void);
+ /* Enumerate the va list variants. */
+ int (* enum_va_list) (int, const char **, tree *);
+
/* Get the cfun/fndecl calling abi __builtin_va_list type. */
tree (* fn_abi_va_list) (tree);