FIxed an IMA bug showed up in parse and gzip.
OKed by Richard Henderson. From-SVN: r88312
This commit is contained in:
parent
1b096a0a0a
commit
2587f86519
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1549,7 +1549,7 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype)
|
||||
= 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));
|
||||
|
Loading…
Reference in New Issue
Block a user