Re: [PATCH] ipa: Make call redirection detect already adjusted calls (PR 93621)

2020-04-16 Thread Martin Jambor
Hi, On Thu, Apr 16 2020, Jan Hubicka wrote: >> >> 2020-04-09 Martin Jambor >> >> PR ipa/93621 >> * ipa-inline.h (ipa_saved_clone_sources): Declare. >> * ipa-inline-transform.c (ipa_saved_clone_sources): New variable. >> (save_inline_function_body): Link the new body

Re: [PATCH] ipa: Make call redirection detect already adjusted calls (PR 93621)

2020-04-16 Thread Jan Hubicka
> > 2020-04-09 Martin Jambor > > PR ipa/93621 > * ipa-inline.h (ipa_saved_clone_sources): Declare. > * ipa-inline-transform.c (ipa_saved_clone_sources): New variable. > (save_inline_function_body): Link the new body holder with the > previous one. > *

[PATCH] ipa: Make call redirection detect already adjusted calls (PR 93621)

2020-04-09 Thread Martin Jambor
Hi, PR 93621 testcase makes redirect_call_stmt_to_callee wrongly assume that a call statement needs redirecting but then rightly fails an assert ensuring the call statement parameters have not already been adjusted because they were already created adjusted as part of thunk expansion. The test