On 01/27/15 05:48, Ilya Enkovich wrote:
Hi,
Some time ago removal of not instrumented version of funtion with
'always_inline' was delayed to enable their inlining. With this change we may
have situations when we inline into a not instrumented version of a function
which also has an instrumented version (happens when both of them have
'always_inline'). It causes ICE in cgraph_node verifier because we clear all
references before inlining and verifier expects IPA_REF_CHKP reference for all
functions having instrumented version. This patch fixes it by rebuilding
IPA_REF_CHKP reference.
Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for trunk?
Thanks,
Ilya
--
2015-01-27 Ilya Enkovich <ilya.enkov...@intel.com>
PR middle-end/64805
* ipa-inline.c (early_inliner): Rebuild IPA_REF_CHKP reference
to avoid error in cgraph node verification.
2015-01-27 Ilya Enkovich <ilya.enkov...@intel.com>
PR middle-end/64805
* gcc.target/i386/pr64805.c: New.
OK.
jeff