From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21129 invoked by alias); 24 Nov 2007 23:33:04 -0000 Received: (qmail 21115 invoked by uid 22791); 24 Nov 2007 23:33:04 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 24 Nov 2007 23:32:54 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lAONS80t003189; Sat, 24 Nov 2007 18:28:08 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lAONS7HP032444; Sat, 24 Nov 2007 18:28:07 -0500 Received: from livre.oliva.athome.lsd.ic.unicamp.br (vpn-14-103.rdu.redhat.com [10.11.14.103]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lAONS6eP013143; Sat, 24 Nov 2007 18:28:07 -0500 Received: from livre.oliva.athome.lsd.ic.unicamp.br (localhost.localdomain [127.0.0.1]) by livre.oliva.athome.lsd.ic.unicamp.br (8.14.2/8.13.8) with ESMTP id lAONS5F9007675; Sat, 24 Nov 2007 21:28:05 -0200 Received: (from aoliva@localhost) by livre.oliva.athome.lsd.ic.unicamp.br (8.14.2/8.13.5/Submit) id lAONS4FV007674; Sat, 24 Nov 2007 21:28:04 -0200 To: "Richard Guenther" Cc: "Bernd Schmidt" , "Richard Kenner" , gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org, iant@google.com, mark@codesourcery.com, stevenb.gcc@gmail.com Subject: Re: Designs for better debug info in GCC References: <571f6b510711121208m2bf7c77fp884f52d458df118b@mail.gmail.com> <571f6b510711231556o439e7bbek9ab4855079bab51d@mail.gmail.com> <10711240545.AA22279@vlsi1.ultra.nyu.edu> <47484BA4.5080906@t-online.de> <84fc9c000711241248q258c987ay904205559dd766c0@mail.gmail.com> From: Alexandre Oliva Errors-To: aoliva@oliva.athome.lsd.ic.unicamp.br Date: Sun, 25 Nov 2007 01:21:00 -0000 In-Reply-To: <84fc9c000711241248q258c987ay904205559dd766c0@mail.gmail.com> (Richard Guenther's message of "Sat\, 24 Nov 2007 21\:48\:48 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg00630.txt.bz2 On Nov 24, 2007, "Richard Guenther" wrote: > Generated code shouldn't change if we allocate extra DECL_UIDs, but > only possibly if we change DECL_UID ordering. (If that is the > problem, as I remember your analysis) That is indeed the problem, but I'm not sure your requirement is feasible. If we permit DECL_UID divergence, it means we can't use DECL_UID for hashing any more. Since they already stand for hashable proxies for the decl pointers, I don't see what we'd gain by introducing yet another hashable uid that's stable across -g. What do you suggest us to use for hashing? Or do you suggest us to do away with hashing and use sorted set or map data structures? -- Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/ FSF Latin America Board Member http://www.fsfla.org/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}