------- Comment #15 from rguenth at gcc dot gnu dot org 2006-10-17 08:27 ------- Subject: Bug 28906
Author: rguenth Date: Tue Oct 17 08:27:26 2006 New Revision: 117821 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117821 Log: 2006-10-17 Richard Guenther <[EMAIL PROTECTED]> Backport from mainline: 2006-09-07 Andrew Pinski <[EMAIL PROTECTED]> PR C++/28906 * init.c (build_new_1): Build a distinct type copy for the array type that was returned from build_cplus_array_type. * g++.dg/other/array3.C: New test. * g++.dg/other/array4.C: New test. * g++.dg/other/array5.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/array3.C - copied unchanged from r116776, trunk/gcc/testsuite/g++.dg/other/array3.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/array4.C - copied unchanged from r116776, trunk/gcc/testsuite/g++.dg/other/array4.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/array5.C - copied unchanged from r116776, trunk/gcc/testsuite/g++.dg/other/array5.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/init.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906