From 09f532c97be76ce24c15d76ea1d964cae24fcfd7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 11 Dec 1996 17:50:06 -0500 Subject: [PATCH] (tree_decl): Reorder field declarations to reduce size on 64 bit machines. From-SVN: r13287 --- gcc/tree.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gcc/tree.h b/gcc/tree.h index ae86ccc95dc..0de1f397ec6 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -1097,8 +1097,8 @@ struct tree_decl char common[sizeof (struct tree_common)]; char *filename; int linenum; - union tree_node *size; unsigned int uid; + union tree_node *size; #ifdef ONLY_INT_FIELDS int mode : 8; #else @@ -1133,6 +1133,15 @@ struct tree_decl unsigned lang_flag_6 : 1; unsigned lang_flag_7 : 1; + /* For a FUNCTION_DECL, if inline, this is the size of frame needed. + If built-in, this is the code for which built-in function. + For other kinds of decls, this is DECL_ALIGN. */ + union { + int i; + unsigned int u; + enum built_in_function f; + } frame_size; + union tree_node *name; union tree_node *context; union tree_node *arguments; @@ -1144,14 +1153,6 @@ struct tree_decl union tree_node *machine_attributes; struct rtx_def *rtl; /* acts as link to register transfer language (rtl) info */ - /* For a FUNCTION_DECL, if inline, this is the size of frame needed. - If built-in, this is the code for which built-in function. - For other kinds of decls, this is DECL_ALIGN. */ - union { - int i; - unsigned int u; - enum built_in_function f; - } frame_size; /* For FUNCTION_DECLs: points to insn that constitutes its definition on the permanent obstack. For any other kind of decl, this is the alignment. */ -- 2.30.2