Re: [PR 85421] Call expand_all_artificial_thunks in ipa-cp if necessary

2018-04-17 Thread Jakub Jelinek
On Tue, Apr 17, 2018 at 08:55:09AM +0200, Martin Jambor wrote: > Hi, > > my fix from last week caused an ICE described in PR 85421 because I did > not read my own comment and forgot that after calls to > redirect_callee_duplicating_thunks, one must finish the work by calling > expand_all_artificia

[PR 85421] Call expand_all_artificial_thunks in ipa-cp if necessary

2018-04-16 Thread Martin Jambor
Hi, my fix from last week caused an ICE described in PR 85421 because I did not read my own comment and forgot that after calls to redirect_callee_duplicating_thunks, one must finish the work by calling expand_all_artificial_thunks, otherwise we end up with unanalyzed thunks and hit some assert so