Dne 2017-02-27 17:35, Martin Jambor napsal:
Hello,

when working on call summaries, I have found a weird function
ipa_update_after_lto_read which currently only makes sure that IPA-CP
function and edge summaries exist, at times when they already have to
exist.

So I did some digging in history and found out that originally the
function was meant for setting a called_with_var_arguments flags where
appropriate after LTO stream-in.  We have however removed that flag in
2011 and the function is basically useless since then (although only
with call summaries it is definitely a no-OP).  Thus, I'll propose to
remove it next stage1.

Thanks,

Martin

2017-02-27  Martin Jambor  <mjam...@suse.cz>

        * ipa-prop.c (ipa_update_after_lto_read): Removed.
        * ipa-prop.h (ipa_update_after_lto_read): Remove declaration.
        * ipa-cp.c (ipcp_propagate_stage): Do not call
        ipa_update_after_lto_read.
        * ipa-inline.c (ipa_inline): Likewise.

OK, thanks!
Whole streaming infrastructure would deserve major cleanups next stage1 :)

Honza

Reply via email to