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++/37531] [4.4 regression] ICE with invalid array initialization



------- Comment #1 from jakub at gcc dot gnu dot org  2008-09-16 22:06 -------
Subject: Bug 37531

Author: jakub
Date: Tue Sep 16 22:05:15 2008
New Revision: 140400

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140400
Log:
        PR c++/37531
        * semantics.c (finish_compound_literal): Return error_mark_node if
        type is errorneous.

        * g++.dg/parse/crash47.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash47.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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