ok. Also needed in google/gcc-4_9 branch.

David

On Mon, May 5, 2014 at 8:40 PM, Dehao Chen <de...@google.com> wrote:
> This patch handles TYPE_PACK_EXPANSION in lipo_cmp_type.
>
> testing on going. OK for google-4_8?
>
> Thanks,
> Dehao
>
> Index: gcc/l-ipo.c
>
> ===================================================================
>
> --- gcc/l-ipo.c (revision 209226)
>
> +++ gcc/l-ipo.c (working copy)
>
> @@ -676,6 +676,7 @@ lipo_cmp_type (tree t1, tree t2)
>
>      case POINTER_TYPE:
>
>      case REFERENCE_TYPE:
>
>      case COMPLEX_TYPE:
>
> +    case TYPE_PACK_EXPANSION:
>
>        return lipo_cmp_type (TREE_TYPE (t1), TREE_TYPE (t2));
>
>      case ARRAY_TYPE:
>
>        return (TYPE_DOMAIN (t1) == NULL || TYPE_DOMAIN (t2) == NULL

Reply via email to