This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto][patch] Remove nodes for extern inline function before writing to disk
> No need to create another pass for this. Just call
> cgraph_remove_unreachable_nodes from pass_ipa_free_lang_specifics. OK
> with that change.
pass_ipa_free_lang_specifics runs too early. If we remove the bodies
there, programs that have extern inline functions and assume they are
inlined will fail. We actually test for that on the testsuite (forgot
the test number).
> Diego.
>
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047