diff options
author | Jan Hubicka <jh@suse.cz> | 2010-05-15 22:48:58 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-05-15 20:48:58 +0000 |
commit | 9b3cf76aa1ee3383c1371f992fbdb2991e6e11d4 (patch) | |
tree | bac92573320331b8a3a6b4dc3b62266932f51d6f /gcc/passes.c | |
parent | 1f9109426d0b24206fd90c1b46f73bf9f5ee0685 (diff) | |
download | gcc-9b3cf76aa1ee3383c1371f992fbdb2991e6e11d4.tar.gz |
ipa-prop.c (ipa_prop_read_section): Add sanity check that node is analyzed.
* ipa-prop.c (ipa_prop_read_section): Add sanity check that node is analyzed.
* passes.c (ipa_write_summaries): Write all analyzed nodes.
From-SVN: r159444
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 85bd33bfadf..4767c59b044 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1748,7 +1748,7 @@ ipa_write_summaries (void) renumber_gimple_stmt_uids (); pop_cfun (); } - if (node->needed || node->reachable || node->address_taken) + if (node->analyzed) cgraph_node_set_add (set, node); } vset = varpool_node_set_new (); |