re PR c++/29318 (ICE: type_info of pointer to VLA)
authorMark Mitchell <mark@codesourcery.com>
Fri, 13 Oct 2006 04:09:41 +0000 (04:09 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 13 Oct 2006 04:09:41 +0000 (04:09 +0000)
commitf19218e50496219b72a5c7ddb62fca4df8980343
tree257c51d7abb705650f8b91249be8c8381872aeda
parentfc6fabdfda0a578edcef2a91400e083d0d6b4c7a
re PR c++/29318 (ICE: type_info of pointer to VLA)

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.

From-SVN: r117683
gcc/cp/ChangeLog
gcc/cp/rtti.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/vla4.C [new file with mode: 0644]