This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 7/7] Plug ipa-prop escape analysis into gimple_call_arg_flags
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 May 2014 20:11:30 +0200
- Subject: Re: [PATCH 7/7] Plug ipa-prop escape analysis into gimple_call_arg_flags
- Authentication-results: sourceware.org; auth=none
- References: <20140521131634 dot 178838544 at virgil dot suse dot cz> <20140521131634 dot 646352575 at virgil dot suse dot cz> <CAFiYyc3m-NLuKYcA65WKrONJsimRkrqPSN8XN5bRg99RTG9_jw at mail dot gmail dot com> <20140522124952 dot GA13095 at virgil dot suse> <CAFiYyc3FXT0VNQDst=Q8rZ5Y1+vNwhgGHcoJFMdfz6dbVV1OjQ at mail dot gmail dot com> <20140522152433 dot GB19612 at kam dot mff dot cuni dot cz> <dbe5cb14-709a-488e-af93-312eae7ebd95 at email dot android dot com>
> >It won't be so easy, because struct function is really built at
> >relatively convoluted
> >places within frontend before cgraph node is assigned to them (I tried
> >that few years
> >back).
>
> Well, just call cgraph create node from struct Funktion allocation.
That will make uninstantiated templates to land symbol table (and if you have
aliases, also do the assembler name mangling) that is not that cool either :(
Honza
>
> Richard.
>
> >I think we may be on better track moving DECL_ASSEMBLER_NAME that is
> >calculated later,
> >but then we have problem with DECL_ASSEMBLER_NAME being set for
> >assembler names and
> >const decls, too that still go around symtab.
> >Given that decl_assembler_name is a function, I suppose we could go
> >with extra conditoinal
> >in there.
> >
> >Getting struct function out of frontend busyness would be nice indeed,
> >too, but probably
> >should be independent of Martin's work here.
> >
> >Honza
> >>
> >> Thanks,
> >> Richard.
> >>
> >> > Thanks,
> >> >
> >> > Martin
> >> >
> >> >>
> >> >> > + }
> >> >> > }
> >> >> > +
> >> >> > + return ret;
> >> >> > }
> >> >> >
> >> >> > /* Detects return flags for the call STMT. */
> >> >> >
>