The problem is that in cp/decl.c:duplicate_decls, when merging two decls for one variable, the code uses a memcpy to copy all fields in tree_decl_common *except* those in tree_common (which are handled manually). Since the patch moves the user_align and packed_flag bits from tree_decl_common into tree_base (which is part of tree_common), these bits -which used to be copied automatically by the mempy- are now no longer handled automatically and should have been handled manually. No such code was added however.
The problem is that in cp/decl. c:duplicate_ decls, when merging two decls for one variable, the code uses a memcpy to copy all fields in tree_decl_common *except* those in tree_common (which are handled manually). Since the patch moves the user_align and packed_flag bits from tree_decl_common into tree_base (which is part of tree_common), these bits -which used to be copied automatically by the mempy- are now no longer handled automatically and should have been handled manually. No such code was added however.