> +/* Return true if T is a pointer to a zero-sized struct/union. */ > + > +bool > +pointer_to_zero_sized_aggr_p (tree t) > +{ > + t = strip_pointer_operator (t); > + return ((RECORD_OR_UNION_TYPE_P (t) || TREE_CODE (t) == ARRAY_TYPE) > + && TYPE_SIZE (t) > + && integer_zerop (TYPE_SIZE (t))); > +}
That's AGGREGATE_TYPE_P (and the comment seems to be out-of-sync). -- Eric Botcazou