OKed by Richard Henderson.
From-SVN: r88312
+2004-09-29 Fariborz Jahanian <fjahanian@apple.com>
+
+ * c-decl.c (merge_decls): Use comptype when comparing
+ types to decide on DECL_SIZE save of olddecl.
+
2004-09-29 Daniel Berlin <dberlin@dberlin.org>
* tree.h (INDIRECT_REF_P): New macro.
= composite_type (newtype, oldtype);
/* Lay the type out, unless already done. */
- if (oldtype != TREE_TYPE (newdecl))
+ if (!comptypes (oldtype, TREE_TYPE (newdecl)))
{
if (TREE_TYPE (newdecl) != error_mark_node)
layout_type (TREE_TYPE (newdecl));