Re: Fix ICE when profiles are mismatched

2013-08-01 Thread Jan Hubicka
> Honza, > > After this patch, I see new testsuite failures on PowerPC related to > profiling. > > FAIL: gcc.dg/tree-prof/ic-misattribution-1.c scan-ipa-dump profile > "hist->count 1 hist->all 1" > FAIL: gcc.dg/tree-prof/indir-call-prof.c scan-ipa-dump profile > "Indirect call -> direct call.* a

Re: Fix ICE when profiles are mismatched

2013-07-31 Thread David Edelsohn
Honza, After this patch, I see new testsuite failures on PowerPC related to profiling. FAIL: gcc.dg/tree-prof/ic-misattribution-1.c scan-ipa-dump profile "hist->count 1 hist->all 1" FAIL: gcc.dg/tree-prof/indir-call-prof.c scan-ipa-dump profile "Indirect call -> direct call.* a1 transformation on

Fix ICE when profiles are mismatched

2013-07-30 Thread Jan Hubicka
Hi, as noticed by Martin we ICE when value profiles get mismatch only in some values. This seems to be happening on Firefox 8 for weird reason where we optimize out &sym == &sym2 comparsion at profile-use but not at profile-generate time. We are still looking into that problem, but this patch fi