re PR lto/41584 (WHOPR doesn't grok empty units)
authorRichard Guenther <rguenther@suse.de>
Fri, 4 Jun 2010 11:00:09 +0000 (11:00 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 4 Jun 2010 11:00:09 +0000 (11:00 +0000)
commitd4c0c9f6352d49c09f436670b2e9821469a15c1d
treebf17c26958a31c8d281981f79bbbeb418d5ca820
parentaddcce0450edc8fa3b448d25728658a7b8df1052
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
gcc/ChangeLog
gcc/cgraph.h
gcc/lto-cgraph.c
gcc/lto/ChangeLog
gcc/lto/lto.c