Commit 93536c97 by Martin Jambor Committed by Martin Jambor

re PR tree-optimization/48613 (ICE: vector VEC(ipa_node_params_t,base) index…

re PR tree-optimization/48613 (ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining)

2011-06-15  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/48613
	* ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if
	ipa_node_params_vector is NULL.

From-SVN: r175077
parent ba45cfc4
2011-06-15 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/48613
* ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if
ipa_node_params_vector is NULL.
2011-06-15 Jakub Jelinek <jakub@redhat.com>
PR debug/49382
......
......@@ -2900,12 +2900,15 @@ void
ipa_prop_write_jump_functions (cgraph_node_set set)
{
struct cgraph_node *node;
struct output_block *ob = create_output_block (LTO_section_jump_functions);
struct output_block *ob;
unsigned int count = 0;
cgraph_node_set_iterator csi;
ob->cgraph_node = NULL;
if (!ipa_node_params_vector)
return;
ob = create_output_block (LTO_section_jump_functions);
ob->cgraph_node = NULL;
for (csi = csi_start (set); !csi_end_p (csi); csi_next (&csi))
{
node = csi_node (csi);
......
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