if (node->clone.tree_map)
{
unsigned int i;
- fprintf (symtab->dump_file, " replace map: ");
+ fprintf (symtab->dump_file, " replace map:");
for (i = 0;
i < vec_safe_length (node->clone.tree_map);
i++)
{
ipa_replace_map *replace_info;
replace_info = (*node->clone.tree_map)[i];
- fprintf (symtab->dump_file, "%i -> ",
- (*node->clone.tree_map)[i]->parm_num);
+ fprintf (symtab->dump_file, "%s %i -> ",
+ i ? "," : "", replace_info->parm_num);
print_generic_expr (symtab->dump_file,
replace_info->new_tree);
}
unsigned i, len = vec_safe_length (adj_params);
bool first = true;
+ if (!len)
+ return;
+
fprintf (f, " IPA adjusted parameters: ");
for (i = 0; i < len; i++)
{
fprintf (f, " m_always_copy_start: %i\n", m_always_copy_start);
ipa_dump_adjusted_parameters (f, m_adj_params);
if (m_skip_return)
- fprintf (f, " Will SKIP return.\n");
+ fprintf (f, " Will SKIP return.\n");
}
/* Dump information contained in the object in textual form to stderr. */