http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54038
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-20 16:11:51 UTC --- Author: jason Date: Fri Jul 20 16:11:42 2012 New Revision: 189719 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189719 Log: PR c++/54038 * tree.c (build_cplus_array_type): Use build_cplus_array_type to build canonical array type rather than mess with its TYPE_*_VARIANT. Added: trunk/gcc/testsuite/g++.dg/other/array7.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog --- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-20 16:12:05 UTC --- Author: jason Date: Fri Jul 20 16:11:58 2012 New Revision: 189720 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189720 Log: PR c++/54038 * tree.c (build_cplus_array_type): Use build_cplus_array_type to build canonical array type rather than mess with its TYPE_*_VARIANT. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/other/array7.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/tree.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog