[lto][patch] Remove nodes for extern inline function before writing to disk

Rafael Espindola espindola@google.com
Thu Oct 9 14:18:00 GMT 2008


> Oh, right.  In that case, just add TODO_remove_functions to
> todo_flags_start in pass_ipa_lto_gimple_out.  That should remove the
> unreachable nodes just before we emit gimple.

That would call

cgraph_remove_unreachable_nodes (true, dump_file);

What we need is

cgraph_remove_unreachable_nodes (false, dump_file);

> Diego.
>

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047



More information about the Gcc-patches mailing list