This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GOOGLE] handle TYPE_PACK_EXPANSION in lipo_cmp_type


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

David

On Mon, May 5, 2014 at 8:40 PM, Dehao Chen <dehao@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]