This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29002] [4.0/4.1 regression] ICE on array of ptr-to-member or struct containing ptr-to-member of unknown size
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2006 22:54:17 -0000
- Subject: [Bug c++/29002] [4.0/4.1 regression] ICE on array of ptr-to-member or struct containing ptr-to-member of unknown size
- References: <bug-29002-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-07 22:54 -------
Subject: Bug 29002
Author: pinskia
Date: Sat Oct 7 22:54:09 2006
New Revision: 117542
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117542
Log:
2006-10-07 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/29002
* init.c (build_zero_init): If we have an error mark node for
the array size, return.
2006-10-07 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/29002
* g++.dg/init/array22.C: New test.
* g++.dg/init/array23.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/array22.C
- copied unchanged from r116962,
trunk/gcc/testsuite/g++.dg/init/array22.C
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/array23.C
- copied unchanged from r116962,
trunk/gcc/testsuite/g++.dg/init/array23.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=29002