[PATCH] Don't ICE on VEC_{MERGE,CONCAT,SELECT,DUPLICATE} in mem_loc_descriptor (PR debug/43508)

Richard Guenther rguenther@suse.de
Wed Mar 24 17:36:00 GMT 2010


On Wed, 24 Mar 2010, Jakub Jelinek wrote:

> Hi!
> 
> While I can't reproduce the ICE from that PR, I don't see why these
> 4 VEC_* rtl codes couldn't make it into mem_loc_descriptor.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux.  Ok for trunk?

Ok.

Thanks,
Richard.

> 2010-03-24  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR debug/43508
> 	* dwarf2out.c (mem_loc_descriptor): Don't ICE on
> 	VEC_{MERGE,SELECT,CONCAT,DUPLICATE}.
> 
> --- gcc/dwarf2out.c.jj	2010-03-19 16:54:06.000000000 +0100
> +++ gcc/dwarf2out.c	2010-03-24 14:48:51.000000000 +0100
> @@ -13595,6 +13595,10 @@ mem_loc_descriptor (rtx rtl, enum machin
>      case POPCOUNT:
>      case PARITY:
>      case ASM_OPERANDS:
> +    case VEC_MERGE:
> +    case VEC_SELECT:
> +    case VEC_CONCAT:
> +    case VEC_DUPLICATE:
>      case UNSPEC:
>      case HIGH:
>        /* If delegitimize_address couldn't do anything with the UNSPEC, we
> 
> 	Jakub
> 
> 

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex



More information about the Gcc-patches mailing list