ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention gcc_unreachable before failing.
2014-04-03 Martin Jambor <mjambor@suse.cz> * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention gcc_unreachable before failing. * ipa.c (symtab_remove_unreachable_nodes): Also print order of removed symbols. From-SVN: r209052
This commit is contained in:
parent
3e86c6a8e1
commit
5bed50e827
@ -1,3 +1,10 @@
|
||||
2014-04-03 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
* ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
|
||||
mention gcc_unreachable before failing.
|
||||
* ipa.c (symtab_remove_unreachable_nodes): Also print order of
|
||||
removed symbols.
|
||||
|
||||
2014-04-02 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
PR ipa/60659
|
||||
|
@ -884,8 +884,9 @@ ipcp_verify_propagated_values (void)
|
||||
{
|
||||
if (dump_file)
|
||||
{
|
||||
dump_symtab (dump_file);
|
||||
fprintf (dump_file, "\nIPA lattices after constant "
|
||||
"propagation:\n");
|
||||
"propagation, before gcc_unreachable:\n");
|
||||
print_all_lattices (dump_file, true, false);
|
||||
}
|
||||
|
||||
|
@ -469,7 +469,7 @@ symtab_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
|
||||
if (!node->aux)
|
||||
{
|
||||
if (file)
|
||||
fprintf (file, " %s", node->name ());
|
||||
fprintf (file, " %s/%i", node->name (), node->order);
|
||||
cgraph_remove_node (node);
|
||||
changed = true;
|
||||
}
|
||||
@ -483,7 +483,7 @@ symtab_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
|
||||
if (node->definition)
|
||||
{
|
||||
if (file)
|
||||
fprintf (file, " %s", node->name ());
|
||||
fprintf (file, " %s/%i", node->name (), node->order);
|
||||
node->body_removed = true;
|
||||
node->analyzed = false;
|
||||
node->definition = false;
|
||||
@ -531,7 +531,7 @@ symtab_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
|
||||
&& (!flag_ltrans || !DECL_EXTERNAL (vnode->decl)))
|
||||
{
|
||||
if (file)
|
||||
fprintf (file, " %s", vnode->name ());
|
||||
fprintf (file, " %s/%i", vnode->name (), vnode->order);
|
||||
varpool_remove_node (vnode);
|
||||
changed = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user