On Fri, Dec 11, 2015 at 7:27 AM, Martin Jambor <mjam...@suse.cz> wrote:
> 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.
> ---

I got

FAIL: g++.dg/ipa/pr66616.C  -std=gnu++11 execution test
FAIL: g++.dg/ipa/pr66616.C  -std=gnu++14 execution test
FAIL: g++.dg/ipa/pr66616.C  -std=gnu++98 execution test

on x86-64.


-- 
H.J.

Reply via email to