From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20735 invoked by alias); 19 Dec 2014 19:01:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20726 invoked by uid 89); 19 Dec 2014 19:01:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 19 Dec 2014 19:01:16 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBJJ1Eiv002240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 19 Dec 2014 14:01:14 -0500 Received: from reynosa.quesejoda.com (vpn-54-203.rdu2.redhat.com [10.10.54.203]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBJJ1Cpa031247; Fri, 19 Dec 2014 14:01:13 -0500 Message-ID: <549475F8.2090502@redhat.com> Date: Fri, 19 Dec 2014 19:02:00 -0000 From: Aldy Hernandez User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Jan Hubicka CC: Richard Biener , Jason Merrill , gcc-patches Subject: Re: [debug-early] reuse variable DIEs and fix their context References: <5409220E.6070100@redhat.com> <540E4337.70006@redhat.com> <5412438A.6030305@redhat.com> <54130E15.9030809@redhat.com> <549329C1.9050304@redhat.com> <20141219185315.GC27681@kam.mff.cuni.cz> <20141219185800.GD27681@kam.mff.cuni.cz> In-Reply-To: <20141219185800.GD27681@kam.mff.cuni.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-12/txt/msg01676.txt.bz2 On 12/19/14 10:58, Jan Hubicka wrote: >>> >>> 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. > > Looking at the code, making Java aliases to be output at the same time we output > thunks in C++ may just work.... Can you elaborate on this? Sorry, this is an area I'm largely unfamiliar with. Thanks. Aldy