diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-11 15:07:18 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-11 15:07:18 +0000 |
commit | e8c62a6fff84e0d0950899c8dc95f2ded7f937f5 (patch) | |
tree | 62264c60df4ebbfeba0f0b101b7a682e9c5131c2 | |
parent | c747abbb95983ecb442ac915ac3a625b04242af9 (diff) | |
download | gcc-e8c62a6fff84e0d0950899c8dc95f2ded7f937f5.tar.gz |
2009-11-11 Martin Jambor <mjambor@suse.cz>
PR lto/41932
* ipa-prop.c (ipa_update_after_lto_read): Call
ipa_check_create_node_params and ipa_check_create_edge_args. Also
call ipa_initialize_node_params instead of ipa_populate_param_decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154095 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/ipa-prop.c | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 04b44988a31..0527382ef51 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2009-11-11 Martin Jambor <mjambor@suse.cz> + + PR lto/41932 + * ipa-prop.c (ipa_update_after_lto_read): Call + ipa_check_create_node_params and ipa_check_create_edge_args. Also + call ipa_initialize_node_params instead of ipa_populate_param_decls. + 2009-11-11 Daniel Jacobowitz <dan@codesourcery.com> * config/arm/arm.c (neon_vdup_constant, neon_make_constant): New. diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 9956fbc53b7..31f435110ac 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -2158,11 +2158,14 @@ ipa_update_after_lto_read (void) struct cgraph_node *node; struct cgraph_edge *cs; + ipa_check_create_node_params (); + ipa_check_create_edge_args (); + for (node = cgraph_nodes; node; node = node->next) { if (!node->analyzed) continue; - ipa_populate_param_decls (node, IPA_NODE_REF (node)); + ipa_initialize_node_params (node); for (cs = node->callees; cs; cs = cs->next_callee) { if (ipa_get_cs_argument_count (IPA_EDGE_REF (cs)) |