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++/29730] [4.0/4.1/4.2/4.3 regression] ICE on invalid declaration of template member



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-12-06 22:55 -------
Subject: Bug 29730

Author: mmitchel
Date: Wed Dec  6 22:54:51 2006
New Revision: 119601

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119601
Log:
        PR c++/29730
        * parser.c (cp_parser_init_declarator): Reject initialization of
        functions.
        PR c++/29730
        * g++.dg/template/crash64.C: New test.
        * g++.dg/parse/crash27.C: Adjust error markers.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash64.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/crash27.C


-- 


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


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