diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2004-09-30 00:09:42 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@gcc.gnu.org> | 2004-09-30 00:09:42 +0000 |
commit | 2587f86519e042fd184e7815c94ed4d64902411f (patch) | |
tree | b797ae90c091ed3d3a3d7d09274437695aa02946 /gcc/c-decl.c | |
parent | 1b096a0a0aaeefd3abc42d26d9d9ca847d48b51a (diff) | |
download | gcc-2587f86519e042fd184e7815c94ed4d64902411f.zip gcc-2587f86519e042fd184e7815c94ed4d64902411f.tar.gz gcc-2587f86519e042fd184e7815c94ed4d64902411f.tar.bz2 |
FIxed an IMA bug showed up in parse and gzip.
OKed by Richard Henderson.
From-SVN: r88312
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 38a13fd..5ef46b0 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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)); |