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
This commit is contained in:
Martin Jambor 2009-11-11 16:07:18 +01:00 committed by Martin Jambor
parent 814a4c3b35
commit 05d3aa37b3
2 changed files with 11 additions and 1 deletions

View file

@ -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.

View file

@ -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))