Re: [PATCH] ipa: Prevent materialization of clones with removed bodies (PR 92109)

2019-11-22 Thread Jan Hubicka
> Hi, > > this bug is an interesting one. The immediate cause of the ICE is that > IPA-SRA modification phase baked into clone materialization was > expecting to see a body already changed by IPA-CP while it was actually > looking at the original function. > > That was because we were

[PATCH] ipa: Prevent materialization of clones with removed bodies (PR 92109)

2019-11-22 Thread Martin Jambor
Hi, this bug is an interesting one. The immediate cause of the ICE is that IPA-SRA modification phase baked into clone materialization was expecting to see a body already changed by IPA-CP while it was actually looking at the original function. That was because we were materializing the