This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 5/5] workaround for PR70427
- From: Andi Kleen <ak at linux dot intel dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Andi Kleen <andi at firstfloor dot org>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 May 2016 20:12:19 -0700
- Subject: Re: [PATCH 5/5] workaround for PR70427
- Authentication-results: sourceware.org; auth=none
- References: <1463848586-19259-1-git-send-email-andi at firstfloor dot org> <1463848586-19259-2-git-send-email-andi at firstfloor dot org> <1463848586-19259-3-git-send-email-andi at firstfloor dot org> <1463848586-19259-4-git-send-email-andi at firstfloor dot org> <1463848586-19259-5-git-send-email-andi at firstfloor dot org> <1463848586-19259-6-git-send-email-andi at firstfloor dot org> <20160530003403 dot GB7778 at atrey dot karlin dot mff dot cuni dot cz>
On Mon, May 30, 2016 at 02:34:03AM +0200, Jan Hubicka wrote:
> > diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c
> > index da17bcd..c7d7792 100644
> > --- a/gcc/ipa-profile.c
> > +++ b/gcc/ipa-profile.c
> > @@ -201,6 +201,8 @@ ipa_profile_generate_summary (void)
> > if (h->hvalue.counters[2])
> > {
> > struct cgraph_edge * e = node->get_edge (stmt);
> > + if (!e)
> > + continue;
>
> This is odd. I do not think auto-fdo produces indirect call histograms and the
> edges should be present here. Do you know from where the histogram is created?
I don't know. How would I find out?
It should be reproducible by applying the patchkit and running make autoprofiledbootstrap
-Andi
--
ak@linux.intel.com -- Speaking for myself only