+2019-11-13 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-prop.c (ipa_print_node_jump_functions,
+ ipa_print_node_params): Print info about missing summaries.
+
2019-11-13 Richard Sandiford <richard.sandiford@arm.com>
* tree-vect-loop.c (vect_estimate_min_profitable_iters): Include
fprintf (f, " Jump functions of caller %s:\n", node->dump_name ());
for (cs = node->callees; cs; cs = cs->next_callee)
{
- if (!ipa_edge_args_info_available_for_edge_p (cs))
- continue;
fprintf (f, " callsite %s -> %s : \n",
node->dump_name (),
cs->callee->dump_name ());
- ipa_print_node_jump_functions_for_edge (f, cs);
+ if (!ipa_edge_args_info_available_for_edge_p (cs))
+ fprintf (f, " no arg info\n");
+ else
+ ipa_print_node_jump_functions_for_edge (f, cs);
}
for (cs = node->indirect_calls; cs; cs = cs->next_callee)
{
class cgraph_indirect_call_info *ii;
- if (!ipa_edge_args_info_available_for_edge_p (cs))
- continue;
ii = cs->indirect_info;
if (ii->agg_contents)
fprintf (f, "\n");
if (ii->polymorphic)
ii->context.dump (f);
- ipa_print_node_jump_functions_for_edge (f, cs);
+ if (!ipa_edge_args_info_available_for_edge_p (cs))
+ fprintf (f, " no arg info\n");
+ else
+ ipa_print_node_jump_functions_for_edge (f, cs);
}
}
return;
info = IPA_NODE_REF (node);
fprintf (f, " function %s parameter descriptors:\n", node->dump_name ());
+ if (!info)
+ {
+ fprintf (f, " no params return\n");
+ return;
+ }
count = ipa_get_param_count (info);
for (i = 0; i < count; i++)
{