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++/51430] [4.7 Regression] ICE with array as static const member


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-06 19:52:43 UTC ---
Author: jakub
Date: Tue Dec  6 19:52:39 2011
New Revision: 182063

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182063
Log:
    PR c++/51430
    * pt.c (tsubst_decl): Don't call strip_array_domain on
    error_mark_node.

    * g++.dg/template/static32.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/static32.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


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