From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2379 invoked by alias); 4 Apr 2011 16:00:47 -0000 Received: (qmail 2228 invoked by uid 22791); 4 Apr 2011 16:00:45 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Apr 2011 16:00:39 +0000 Received: (qmail 14081 invoked from network); 4 Apr 2011 16:00:38 -0000 Received: from unknown (HELO localhost) (froydnj@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Apr 2011 16:00:38 -0000 Date: Mon, 04 Apr 2011 16:00:00 -0000 From: Nathan Froyd To: Steven Bosscher Cc: GCC Patches Subject: Re: [PATCH] make LABEL_DECL has its own rtx field for its associated CODE_LABEL Message-ID: <20110404160038.GC23480@codesourcery.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes 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 X-SW-Source: 2011-04/txt/msg00222.txt.bz2 On Mon, Apr 04, 2011 at 05:52:00PM +0200, Steven Bosscher wrote: > Have you looked into maybe putting the CODE_LABEL for a LABEL_DECL in > an on-the-side structure (hash table, whatever)? It looks like it is > only used during expansion of SWITCH statements. I haven't, though it'd be easy enough once all accesses go through label_rtx. I'd be equally happy doing that instead of pushing DECL_RTX down. -Nathan