This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34603] [4.1/4.2/4.3 regression] ICE with broken template declaration
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2008 19:55:00 -0000
- Subject: [Bug c++/34603] [4.1/4.2/4.3 regression] ICE with broken template declaration
- References: <bug-34603-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from paolo at gcc dot gnu dot org 2008-01-24 19:54 -------
Subject: Bug 34603
Author: paolo
Date: Thu Jan 24 19:54:11 2008
New Revision: 131804
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131804
Log:
/cp
2008-01-24 Paolo Carlini <pcarlini@suse.de>
PR c++/34603
* pt.c (push_template_decl_real): Return error_mark_node in case
of template definition of non-template.
/testsuite
2008-01-24 Paolo Carlini <pcarlini@suse.de>
PR c++/34603
* g++.dg/template/crash77.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/crash77.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34603