http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54652
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue Jan 28 13:51:15 2014 New Revision: 207192 URL: http://gcc.gnu.org/viewcvs?rev=207192&root=gcc&view=rev Log: PR c++/54652 * decl.c (duplicate_decls): Always use oldtype for TYPE_DECL. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/attrib48.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/decl.c