On 01/08/2016 11:01 AM, Martin Jambor wrote:
Hi,

we generally do not have ther ability to propagate constants to and
clone CHKP instrumented functions.  Therefore we do not propagate
stuff into their lattices but since Honza changed cloning for all
contexts heuristics a few weeks ago, we might attempt to clone them
for unused parameter removal, which then leads to an ICE (and all
sorts of issues).

The heuristics however should not attempt to do that because the
function cgraph_node has can_change_signature flag cleared.  So this
patch changes it accordingly.  Bootstrapped and tested on
x86_64-linux, OK for trunk?

Thanks,

Martin


2016-01-08  Martin Jambor  <mjam...@suse.cz>

        PR ipa/69044
        * ipa-cp.c (estimate_local_effects): Do not clone for removal of
        useless parameters if we cannot change function signature.
OK.
jeff

Reply via email to