c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to update the respective...
authorJan Beulich <jbeulich@novell.com>
Wed, 27 Feb 2008 14:59:50 +0000 (14:59 +0000)
committerJan Beulich <jbeulich@gcc.gnu.org>
Wed, 27 Feb 2008 14:59:50 +0000 (14:59 +0000)
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

gcc/ChangeLog
gcc/c-decl.c

index 6c71d6fc2e35b5cd5b901cbb54734444a38e43ab..2ba91ba2863d01835624669804b52471dd72183e 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2008-02-27  Revital Eres  <eres@il.ibm.com>
 
        PR rtl-optimization/34999
index 7a600409cbb9bbf54d5c4bd29018b73e88adaad3..04b36d50d885fbff805c2a3f23ae7eb9177e7190 100644 (file)
@@ -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);
        }
     }