This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Initialize void_list_node
Steven Bosscher wrote:
> If this node is necessary for the builtins, why don't you let it be
> built in
> build_common_tree_nodes or build_common_tree_nodes_2?
Just to explain why I apporved adding this in the frontend, I don't know if
this matches Jakub's line of reasoning: I figured this comment from tree.h
means that different languages might have different conventions for this, and
therefore this needs to be done in language dependent code.
/* 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]
- Tobi