diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-01-11 00:08:45 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-01-11 00:08:45 +0000 |
commit | cbd5937a3d6a1cb2ca5e85ef86f7793744d669d8 (patch) | |
tree | f150c0d0016913715fc3aa21c3fe6ff2ab27eb29 /gcc/tree.h | |
parent | d0be7718ed07a29a3cf6307101fc26c6f2a482fb (diff) | |
download | gcc-cbd5937a3d6a1cb2ca5e85ef86f7793744d669d8.zip gcc-cbd5937a3d6a1cb2ca5e85ef86f7793744d669d8.tar.gz gcc-cbd5937a3d6a1cb2ca5e85ef86f7793744d669d8.tar.bz2 |
c-common.h (CTI_VOID_LIST): Remove.
* c-common.h (CTI_VOID_LIST): Remove.
(void_list_node): Likewise.
* tree.h (TI_VOID_LIST_NODE): New enumeral.
(void_list_node): New macro.
* config/arm/arm.c (arm_init_builtins): Use void_list_node.
* config/i386/i386.c (ix86_init_builtins): Likewise.
* config/ia64a/ia64.c (ia64_init_builtins): Likewise.
* class.c (finish_struct_1): Remove last argument in call to
make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
* decl.c (builtin_function): Likewise.
(build_cp_library_fn): Likewise.
(check_initializer): Likewise.
(make_rtl_for_nonlocal_decl): Likewise.
(cp_finish_decl): Likewise.
(start_function): Likewise.
* decl2.c (finish_anon_union): Likewise.
* friend.c (do_friend): Likewise.
* init.c (build_java_class_ref): Likewise.
* method.c (make_thunk): Likewise.
* pt.c (tsubst_friend_function): Likewise.
* semantics.c (expand_body): Likewise.
From-SVN: r38887
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1739,6 +1739,8 @@ enum tree_index TI_PTRDIFF_TYPE, TI_VA_LIST_TYPE, + TI_VOID_LIST_NODE, + TI_V4SF_TYPE, TI_V4SI_TYPE, TI_V8QI_TYPE, @@ -1793,6 +1795,13 @@ extern tree global_trees[TI_MAX]; #define ptrdiff_type_node global_trees[TI_PTRDIFF_TYPE] #define va_list_type_node global_trees[TI_VA_LIST_TYPE] +/* The node that should be placed at the end of a parameter list to + indicate that the function does not take a variable number of + arguments. The TREE_VALUE will be void_type_node and there will be + no TREE_CHAIN. Language-independent code should not assume + anything else about this node. */ +#define void_list_node global_trees[TI_VOID_LIST_NODE] + #define main_identifier_node global_trees[TI_MAIN_IDENTIFIER] #define MAIN_NAME_P(NODE) (IDENTIFIER_NODE_CHECK (NODE) == main_identifier_node) |