This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28906] [4.2 regression] rejects valid arrays
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2006 08:27:37 -0000
- Subject: [Bug c++/28906] [4.2 regression] rejects valid arrays
- References: <bug-28906-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 <rguenther@suse.de>
Backport from mainline:
2006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
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