This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [debug-early] reuse variable DIEs and fix their context
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Aldy Hernandez <aldyh at redhat dot com>, Jason Merrill <jason at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Fri, 19 Dec 2014 19:53:16 +0100
- Subject: Re: [debug-early] reuse variable DIEs and fix their context
- Authentication-results: sourceware.org; auth=none
- References: <540755E5 dot 7060602 at redhat dot com> <CAFiYyc289dLpQxNSETGkMVOzqP9c0OA4=D+F-9gzw_1OqiN7xg at mail dot gmail dot com> <5409220E dot 6070100 at redhat dot com> <CAFiYyc2FYcrRQ7qF4c6jmSHHasA11JiO6kVXWBXOChsGQ9f6eQ at mail dot gmail dot com> <540E4337 dot 70006 at redhat dot com> <CAFiYyc0+KSxqaxCjOFKiM2k9FpHNtdd-fwjBDO-98_R93+xviw at mail dot gmail dot com> <5412438A dot 6030305 at redhat dot com> <54130E15 dot 9030809 at redhat dot com> <549329C1 dot 9050304 at redhat dot com> <CAFiYyc30LPdDux2ErCyNWMA+74LR96LXJF=RzS=P+CNid_f34Q at mail dot gmail dot com>
>
> Yeah, I've told you that this is a major blocker I couldn't resolve the last
> time I tried to move things.
>
> IMHO this Java method aliases needs to be made cgraph-aware somehow,
> thus we need to build the aliases as proper aliases during candidate
> collection but somehow mark them reclaimable by the cgraph code
> (builtding the aliases is only done if TREE_ASM_WRITTEN).
>
> Honza may have an idea here?
Hmm, would you mind explain me what are Java method aliases?
Making alias removed when unused would probably require extra flag (as you can
not make comdat alias of non-comdat symbol) but should be easy to do.
honza
>
> Richard.
>
> > I can, however, move all the other non-VTV stuff to the parser in a
> > subsequent patch, while you respond to this query.
> >
> > Thanks.
> > Aldy