aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-06-04 11:00:09 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-06-04 11:00:09 +0000
commitd4c0c9f6352d49c09f436670b2e9821469a15c1d (patch)
treebf17c26958a31c8d281981f79bbbeb418d5ca820 /gcc/cgraph.h
parentaddcce0450edc8fa3b448d25728658a7b8df1052 (diff)
downloadgcc-d4c0c9f6352d49c09f436670b2e9821469a15c1d.zip
gcc-d4c0c9f6352d49c09f436670b2e9821469a15c1d.tar.gz
gcc-d4c0c9f6352d49c09f436670b2e9821469a15c1d.tar.bz2
re PR lto/41584 (WHOPR doesn't grok empty units)
2010-06-04 Richard Guenther <rguenther@suse.de> PR lto/41584 * cgraph.h (struct varpool_node): Add lto_file_data field. * lto-cgraph.c (input_varpool_node): Initialize it. lto/ * lto.c (lto_1_to_1_map): Use the proper file_data for varpool nodes. From-SVN: r160258
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index c82fc18..48a6c3f 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -466,6 +466,8 @@ struct GTY((chain_next ("%h.next"), chain_prev ("%h.prev"))) varpool_node {
/* Circular list of nodes in the same comdat group if non-NULL. */
struct varpool_node *same_comdat_group;
struct ipa_ref_list ref_list;
+ /* File stream where this node is being written to. */
+ struct lto_file_decl_data * lto_file_data;
PTR GTY ((skip)) aux;
/* Ordering of all cgraph nodes. */
int order;