PR c++/48069
* tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not
COMPLETE_OR_UNBOUND_ARRAY_TYPE_P.
From-SVN: r170872
+2011-03-11 Jason Merrill <jason@redhat.com>
+
+ PR c++/48069
+ * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not
+ COMPLETE_OR_UNBOUND_ARRAY_TYPE_P.
+
2011-03-11 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of
/* Be careful about comparing arrays before and after the element type
has been completed; don't compare TYPE_ALIGN unless both types are
complete. */
- if (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P (a->type)
- && COMPLETE_OR_UNBOUND_ARRAY_TYPE_P (b->type)
+ if (COMPLETE_TYPE_P (a->type) && COMPLETE_TYPE_P (b->type)
&& (TYPE_ALIGN (a->type) != TYPE_ALIGN (b->type)
|| TYPE_MODE (a->type) != TYPE_MODE (b->type)))
return 0;