This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29318] [4.0 Regression] ICE: type_info of pointer to VLA
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2006 08:34:25 -0000
- Subject: [Bug c++/29318] [4.0 Regression] ICE: type_info of pointer to VLA
- References: <bug-29318-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-10-13 08:34 -------
Subject: Bug 29318
Author: mmitchel
Date: Fri Oct 13 08:34:14 2006
New Revision: 117686
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117686
Log:
PR c++/29318
* rtti.c (get_tinfo_decl): Refuse to create type info objects for
variably modified types.
PR c++/29318
* g++.dg/ext/vla4.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/vla4.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/rtti.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29318