This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: vect pat recog fails in sbitmap.c on ia64
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 12 Jun 2010 01:23:00 +0200
- Subject: Re: vect pat recog fails in sbitmap.c on ia64
- References: <oraar1mkxe.fsf@livre.localdomain>
On Fri, Jun 11, 2010 at 9:25 PM, Alexandre Oliva <aoliva@redhat.com> 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 = <unsigned
> long int>) returns type_out = 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. ?The latter is what I
> regstrapped on ia64-linux-gnu. ?Ok to install?
You should instead bail out immediately.
Ok with that change.
Thanks,
Richard.
>
>
> --
> Alexandre Oliva, freedom fighter ? ?http://FSFLA.org/~lxoliva/
> You must be the change you wish to see in the world. -- Gandhi
> Be Free! -- http://FSFLA.org/ ? FSF Latin America board member
> Free Software Evangelist ? ? ?Red Hat Brazil Compiler Engineer
>
>