Commit 2df88e9f by Jeffrey Oldham Committed by Jeffrey D. Oldham

defaults.h (BUILD_VA_LIST_TYPE): New definition.

2000-12-30  Jeffrey Oldham  <oldham@codesourcery.com>

	* defaults.h (BUILD_VA_LIST_TYPE): New definition.
	* tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
	is a copy, not an alias.

From-SVN: r38561
parent b367c416
2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
* defaults.h (BUILD_VA_LIST_TYPE): New definition.
* tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
is a copy, not an alias.
2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* calls.c (calls_function_1, case CONSTRUCTOR): New case. * calls.c (calls_function_1, case CONSTRUCTOR): New case.
......
...@@ -252,5 +252,9 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) ...@@ -252,5 +252,9 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0)
#define LONG_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2) #define LONG_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
#endif #endif
#ifndef BUILD_VA_LIST_TYPE
#define BUILD_VA_LIST_TYPE(X) ((X) = ptr_type_node)
#endif
#endif /* GCC_DEFAULTS_H */ #endif /* GCC_DEFAULTS_H */
...@@ -4837,11 +4837,11 @@ build_common_tree_nodes_2 (short_double) ...@@ -4837,11 +4837,11 @@ build_common_tree_nodes_2 (short_double)
TREE_TYPE (complex_long_double_type_node) = long_double_type_node; TREE_TYPE (complex_long_double_type_node) = long_double_type_node;
layout_type (complex_long_double_type_node); layout_type (complex_long_double_type_node);
#ifdef BUILD_VA_LIST_TYPE {
BUILD_VA_LIST_TYPE (va_list_type_node); tree t;
#else BUILD_VA_LIST_TYPE (t);
va_list_type_node = build_type_copy (ptr_type_node); va_list_type_node = build_type_copy (t);
#endif }
V4SF_type_node = make_node (VECTOR_TYPE); V4SF_type_node = make_node (VECTOR_TYPE);
TREE_TYPE (V4SF_type_node) = float_type_node; TREE_TYPE (V4SF_type_node) = float_type_node;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment