diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c71d6fc2e3..2ba91ba2863 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-02-27 Jan Beulich + + * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to + update the respective field on newdecl. + 2008-02-27 Revital Eres PR rtl-optimization/34999 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); } }