This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52181] [4.7 Regression] merge_decls doesn't handle DECL_USER_ALIGN properly
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Feb 2012 09:07:20 +0000
- Subject: [Bug c/52181] [4.7 Regression] merge_decls doesn't handle DECL_USER_ALIGN properly
- Auto-submitted: auto-generated
- References: <bug-52181-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52181
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 09:07:20 UTC ---
Created attachment 26621
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26621
gcc47-pr52181.patch
Untested fix. The testcase shows that the C++ FE has a similar bug, but in the
other direction, when olddecl has aligned attribute and newdecl doesn't.