From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24830 invoked by alias); 17 Apr 2008 15:43:30 -0000 Received: (qmail 24816 invoked by uid 22791); 17 Apr 2008 15:43:30 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 17 Apr 2008 15:43:13 +0000 Received: (qmail 13423 invoked from network); 17 Apr 2008 15:43:10 -0000 Received: from unknown (HELO mbp.local) (maxim@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Apr 2008 15:43:10 -0000 Message-ID: <48077005.9050206@codesourcery.com> Date: Thu, 17 Apr 2008 16:22:00 -0000 From: Maxim Kuvyrkov User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: =?ISO-8859-2?Q?G=E1bor_L=F3ki?= CC: GCC Patches Subject: Re: [PATCH] Fix PR33642, unrecognizable insn for -frtl-abstract-sequences References: <47D96EBD.6020002@inf.u-szeged.hu> In-Reply-To: <47D96EBD.6020002@inf.u-szeged.hu> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit 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: 2008-04/txt/msg01381.txt.bz2 Gábor Lóki wrote: > Hi, > > This patch fixes the PR33642 for rtl-factoring.c. > > It contains the following modifications: > > - Redesign the cost computation (based on 'get_attr_length'), > because the previous one fails on many targets. And this one fails on targets that don't define length attribute. You should condition use of get_attr_length with 'ifdef HAVE_attr_length'. -- Maxim