This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Propagate nonfreeing_call_p using ipa-pure-const (take 2)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>, Richard Biener <richard dot guenther at gmail dot com>
- Cc: Maxim Ostapenko <m dot ostapenko at partner dot samsung dot com>, Yury Gribov <y dot gribov at samsung dot com>, Marek Polacek <polacek at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>, Maxim Ostapenko <chefmax7 at gmail dot com>
- Date: Thu, 13 Nov 2014 12:52:21 +0100
- Subject: Re: [PATCH] Propagate nonfreeing_call_p using ipa-pure-const (take 2)
- Authentication-results: sourceware.org; auth=none
- References: <545A1945 dot 2040608 at samsung dot com> <545A225D dot 9050808 at samsung dot com> <20141105132301 dot GH5026 at tucnak dot redhat dot com> <545A2A91 dot 9020900 at samsung dot com> <54631E78 dot 1010105 at partner dot samsung dot com> <20141112101008 dot GQ5026 at tucnak dot redhat dot com> <54633B3A dot 2020304 at partner dot samsung dot com> <20141112224131 dot GX5026 at tucnak dot redhat dot com> <20141112231108 dot GC11013 at kam dot mff dot cuni dot cz> <20141113083942 dot GA5026 at tucnak dot redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Nov 13, 2014 at 09:39:42AM +0100, Jakub Jelinek wrote:
> What about the:
> > > I wonder if the nonfreeing_call_p function shouldn't be moved elsewhere
> > > though (suggestion where), so that gimple.c doesn't need the cgraph
> > > includes.
> question though (maybe it is more on Richard)?
Tried richi's suggested cgraph.[ch], but that meant all users of
nonfreeing_call_p had to start including all of ipa-ref.h, lto-streamer.h
and cgraph.h, so it is probably better to keep it in gimple.[ch].
Jakub