> Hi,
>
> PR 61160 is actually two problems, this patch deals with the one
> reported in comment one. The underlying cause is that an IPA-CP test
> whether an edge is already leading to a clone does not look through
> thunks, which caused it to double count and doubly-redirect them.
>
> Bootstrapped and tested on x86_64-linux, I will run the test on the
> 4.9 branch later. OK for both if it passed everywhere?
>
> Thanks,
>
> Martin
>
>
> 2014-05-28 Martin Jambor <mjam...@suse.cz>
>
> PR ipa/61160
> * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
> thunks.
OK, thanks!
Honza