> Hi,
> 
> PR 66616 happens because in find_more_scalar_values_for_callers_subset
> we do not do the same thunk checks like we do in
> propagate_constants_accross_call.  I am in the process of
> bootstrapping and testing the following patch to fix it.  OK if it
> passes?
> 
> Thanks,
> 
> Martin
> 
> 
> 2015-12-11  Martin Jambor  <mjam...@suse.cz>
> 
>       PR ipa/66616
>       * ipa-cp.c (propagate_constants_accross_call): Move thuk check...
>       (call_passes_through_thunk_p): ...here.
>       (find_more_scalar_values_for_callers_subset): Perform thunk checks
>       like propagate_constants_accross_call does.
> 
> testsuite/
>       * g++.dg/ipa/pr66616.C: New test.

OK,
Honza

Reply via email to