On Wed, Nov 18, 2015 at 09:50:26AM +0100, Richard Biener wrote:
> --- gcc/dwarf2out.c   (revision 230428)
> +++ gcc/dwarf2out.c   (working copy)
> @@ -20784,9 +20784,10 @@ gen_type_die_with_usage (tree type, dw_d
>    /* We are going to output a DIE to represent the unqualified version
>       of this type (i.e. without any const or volatile qualifiers) so
>       get the main variant (i.e. the unqualified version) of this type
> -     now.  (Vectors are special because the debugging info is in the
> +     now.  (Vectors and arrays are special because the debugging info is in 
> the
>       cloned type itself).  */
> -  if (TREE_CODE (type) != VECTOR_TYPE)
> +  if (TREE_CODE (type) != VECTOR_TYPE

There's VECTOR_TYPE_P for this if you want to use that.

        Marek

Reply via email to