[Bug c++/29318] [4.0 Regression] ICE: type_info of pointer to VLA

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 13 08:34:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list