This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29175] [4.0/4.1/4.2 regression] ICE on invalid C++ variable length array



------- Comment #4 from mmitchel at gcc dot gnu dot org  2006-10-12 04:36 -------
Subject: Bug 29175

Author: mmitchel
Date: Thu Oct 12 04:35:56 2006
New Revision: 117658

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117658
Log:
        PR c++/29175
        * decl.c (check_initializer): Issue errors about trying to
        initialize arrays whose elements have variable size.
        PR c++/29175
        * g++.dg/init/array24.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/init/array24.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29175


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]