From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16591 invoked by alias); 10 Mar 2008 20:05:28 -0000 Received: (qmail 15855 invoked by uid 48); 10 Mar 2008 20:04:09 -0000 Date: Mon, 10 Mar 2008 20:05:00 -0000 Message-ID: <20080310200409.15854.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/35519] COMBINE repeating same matches and can SEG fault 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: 2008-03/txt/msg00698.txt.bz2 ------- Comment #2 from steven at gcc dot gnu dot org 2008-03-10 20:04 ------- The patch makes adding log use an algorithm quadratic in the number of log links per insn. It is probably better to: 1. build the log links. 2. filter out the duplicates as a post pass (and maybe sort them while at it?) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35519