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.