Commit 05d3aa37 by Martin Jambor Committed by Martin Jambor

re PR lto/41932 (LTO ICE when compiling ocaml trunk (incompatible type))

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.

From-SVN: r154095
parent 814a4c3b
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> 2009-11-11 Daniel Jacobowitz <dan@codesourcery.com>
* config/arm/arm.c (neon_vdup_constant, neon_make_constant): New. * config/arm/arm.c (neon_vdup_constant, neon_make_constant): New.
...@@ -2158,11 +2158,14 @@ ipa_update_after_lto_read (void) ...@@ -2158,11 +2158,14 @@ ipa_update_after_lto_read (void)
struct cgraph_node *node; struct cgraph_node *node;
struct cgraph_edge *cs; struct cgraph_edge *cs;
ipa_check_create_node_params ();
ipa_check_create_edge_args ();
for (node = cgraph_nodes; node; node = node->next) for (node = cgraph_nodes; node; node = node->next)
{ {
if (!node->analyzed) if (!node->analyzed)
continue; continue;
ipa_populate_param_decls (node, IPA_NODE_REF (node)); ipa_initialize_node_params (node);
for (cs = node->callees; cs; cs = cs->next_callee) for (cs = node->callees; cs; cs = cs->next_callee)
{ {
if (ipa_get_cs_argument_count (IPA_EDGE_REF (cs)) if (ipa_get_cs_argument_count (IPA_EDGE_REF (cs))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment