summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/c-decl.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-03-09 09:21:46 +0000
committerobrien <obrien@FreeBSD.org>2000-03-09 09:21:46 +0000
commit922a45e8c80d9c15acdba0eee3d03681cc7cb8d6 (patch)
tree31f5b0e5dc2259f95abab85fb366f1095a9be227 /contrib/gcc/c-decl.c
parent19e1413b5dc797995ed95bbd6ca6e3035103d982 (diff)
downloadFreeBSD-src-922a45e8c80d9c15acdba0eee3d03681cc7cb8d6.zip
FreeBSD-src-922a45e8c80d9c15acdba0eee3d03681cc7cb8d6.tar.gz
Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of March 7th, 2000.
Diffstat (limited to 'contrib/gcc/c-decl.c')
-rw-r--r--contrib/gcc/c-decl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/gcc/c-decl.c b/contrib/gcc/c-decl.c
index a232217..8844988 100644
--- a/contrib/gcc/c-decl.c
+++ b/contrib/gcc/c-decl.c
@@ -1951,6 +1951,7 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
{
/* Since the type is OLDDECL's, make OLDDECL's size go with. */
DECL_SIZE (newdecl) = DECL_SIZE (olddecl);
+ DECL_MODE (newdecl) = DECL_MODE (olddecl);
if (TREE_CODE (olddecl) != FUNCTION_DECL)
if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl))
DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl);
OpenPOWER on IntegriCloud