summaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-02-27 14:59:50 +0000
committerJan Beulich <jbeulich@gcc.gnu.org>2008-02-27 14:59:50 +0000
commit8220334aba6972297dc4409274fa428aff724696 (patch)
tree4cb13b52bb9ff5ca8411d140d98498fe82344389 /gcc/c-decl.c
parentb5a4419cde676a67cd150feeef3babea43e5af8c (diff)
downloadgcc-8220334aba6972297dc4409274fa428aff724696.tar.gz
c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to update the respective field on newdecl.
gcc/ 2008-02-27 Jan Beulich <jbeulich@novell.com> * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to update the respective field on newdecl. From-SVN: r132719
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 7a600409cbb..04b36d50d88 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -1667,7 +1667,7 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype)
if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl))
{
DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl);
- DECL_USER_ALIGN (newdecl) |= DECL_ALIGN (olddecl);
+ DECL_USER_ALIGN (newdecl) |= DECL_USER_ALIGN (olddecl);
}
}