aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-12-11 17:50:06 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-12-11 17:50:06 -0500
commit09f532c97be76ce24c15d76ea1d964cae24fcfd7 (patch)
tree8a9e09e45a9b52d35fcee2a9c4de9c518f2971ba /gcc/tree.h
parentd409668956f44a538314abbee36486e1d199392b (diff)
downloadgcc-09f532c97be76ce24c15d76ea1d964cae24fcfd7.zip
gcc-09f532c97be76ce24c15d76ea1d964cae24fcfd7.tar.gz
gcc-09f532c97be76ce24c15d76ea1d964cae24fcfd7.tar.bz2
(tree_decl): Reorder field declarations to reduce size on 64 bit
machines. From-SVN: r13287
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index ae86ccc..0de1f39 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. */