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++/32560] [4.3 regression] ICE on invalid declaration in template



------- Comment #2 from paolo at gcc dot gnu dot org  2007-07-11 09:18 -------
Subject: Bug 32560

Author: paolo
Date: Wed Jul 11 09:18:39 2007
New Revision: 126542

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126542
Log:
/cp
2007-07-11  Paolo Carlini  <pcarlini@suse.de>

        PR c++/32560
        * parser.c (cp_parser_make_indirect_declarator): When the
        the code argument is ERROR_MARK return cp_error_declarator.

/testsuite
2007-07-11  Paolo Carlini  <pcarlini@suse.de>

        PR c++/32560
        * g++.dg/template/decl3.C: New. 

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


-- 


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


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