aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-03-23 16:29:33 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-03-23 16:29:33 +0000
commit3691626c344d5f04b933ef6c70f0c0fb58d25151 (patch)
treea53e7634a67bdd62e10ed93275097fbd631441ef /gcc/cgraph.h
parent88ccb72ad199fe41a52bd85e9adad1ae17544db1 (diff)
downloadgcc-3691626c344d5f04b933ef6c70f0c0fb58d25151.zip
gcc-3691626c344d5f04b933ef6c70f0c0fb58d25151.tar.gz
gcc-3691626c344d5f04b933ef6c70f0c0fb58d25151.tar.bz2
cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts.
2009-03-23 Richard Guenther <rguenther@suse.de> * cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts. * tree.h (struct tree_type): Likewise. * reload.h (struct insn_chain): Likewise. * dwarf2out.c (struct dw_loc_descr_struct): Likewise. * function.h (struct function): Likewise. * tree-ssa-structalias.c (struct equiv_class_label): Likewise. From-SVN: r145009
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 57d4772..29fc1ba 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -163,6 +163,10 @@ struct cgraph_node GTY((chain_next ("%h.next"), chain_prev ("%h.previous")))
/* Ordering of all cgraph nodes. */
int order;
+ /* unique id for profiling. pid is not suitable because of different
+ number of cfg nodes with -fprofile-generate and -fprofile-use */
+ int pid;
+
/* Set when function must be output - it is externally visible
or its address is taken. */
unsigned needed : 1;
@@ -186,10 +190,6 @@ struct cgraph_node GTY((chain_next ("%h.next"), chain_prev ("%h.previous")))
into clone before compiling so the function in original form can be
inlined later. This pointer points to the clone. */
tree inline_decl;
-
- /* unique id for profiling. pid is not suitable because of different
- number of cfg nodes with -fprofile-generate and -fprofile-use */
- int pid;
};
struct cgraph_edge GTY((chain_next ("%h.next_caller"), chain_prev ("%h.prev_caller")))