From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8121 invoked by alias); 11 Jun 2010 23:23:07 -0000 Received: (qmail 8109 invoked by uid 22791); 11 Jun 2010 23:23:07 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-wy0-f175.google.com (HELO mail-wy0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jun 2010 23:23:03 +0000 Received: by wyi11 with SMTP id 11so1423440wyi.20 for ; Fri, 11 Jun 2010 16:23:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.168.200 with SMTP id k50mr462804wel.11.1276298580762; Fri, 11 Jun 2010 16:23:00 -0700 (PDT) Received: by 10.216.82.78 with HTTP; Fri, 11 Jun 2010 16:23:00 -0700 (PDT) In-Reply-To: References: Date: Sat, 12 Jun 2010 00:46:00 -0000 Message-ID: Subject: Re: vect pat recog fails in sbitmap.c on ia64 From: Richard Guenther To: Alexandre Oliva Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2010-06/txt/msg01270.txt.bz2 On Fri, Jun 11, 2010 at 9:25 PM, Alexandre Oliva wrote: > A -O3 bootstrap on ia64-linux-gnu crashes building sbitmap.c in stage2. > The problem is that get_vectype_for_scalar_type (type_out =3D long int>) returns type_out =3D NULL, and then vect_pattern_recog_1 > crashes when it attempts to take the mode of the returned type. > > I'm not sure whether returning immediately (like we do for type_in) or > using the original scalar type_out is best. =A0The latter is what I > regstrapped on ia64-linux-gnu. =A0Ok to install? You should instead bail out immediately. Ok with that change. Thanks, Richard. > > > -- > Alexandre Oliva, freedom fighter =A0 =A0http://FSFLA.org/~lxoliva/ > You must be the change you wish to see in the world. -- Gandhi > Be Free! -- http://FSFLA.org/ =A0 FSF Latin America board member > Free Software Evangelist =A0 =A0 =A0Red Hat Brazil Compiler Engineer > >