Commit 8220334a by Jan Beulich Committed by Jan Beulich

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
parent b5a4419c
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> 2008-02-27 Revital Eres <eres@il.ibm.com>
PR rtl-optimization/34999 PR rtl-optimization/34999
......
...@@ -1667,7 +1667,7 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype) ...@@ -1667,7 +1667,7 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype)
if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl)) if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl))
{ {
DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl); DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl);
DECL_USER_ALIGN (newdecl) |= DECL_ALIGN (olddecl); DECL_USER_ALIGN (newdecl) |= DECL_USER_ALIGN (olddecl);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment