From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3347 invoked by alias); 3 Jan 2009 00:38:18 -0000 Received: (qmail 2326 invoked by uid 48); 3 Jan 2009 00:36:58 -0000 Date: Sat, 03 Jan 2009 00:38:00 -0000 Message-ID: <20090103003658.2325.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/38586] quadratic behaviour in find_temp_slot_from_address. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "steven at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg00231.txt.bz2 ------- Comment #1 from steven at gcc dot gnu dot org 2009-01-03 00:36 ------- Created an attachment (id=17024) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17024&action=view) Add address -> temp slot map Instead of huge list walks, just look up the address in the hash table and use the mapped temp slot of the address maps to a temp slot. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38586