diff options
author | Richard Guenther <rguenther@suse.de> | 2010-06-04 11:00:09 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-06-04 11:00:09 +0000 |
commit | d4c0c9f6352d49c09f436670b2e9821469a15c1d (patch) | |
tree | bf17c26958a31c8d281981f79bbbeb418d5ca820 /gcc/cgraph.h | |
parent | addcce0450edc8fa3b448d25728658a7b8df1052 (diff) | |
download | gcc-d4c0c9f6352d49c09f436670b2e9821469a15c1d.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index c82fc181ebe..48a6c3f2e9a 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; |