This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25854] [3.4/4.0/4.1/4.2 regression] Bogus diagnostic with '<type error>'
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2006 17:35:14 -0000
- Subject: [Bug c++/25854] [3.4/4.0/4.1/4.2 regression] Bogus diagnostic with '<type error>'
- References: <bug-25854-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-01-19 17:35 -------
Subject: Bug 25854
Author: reichelt
Date: Thu Jan 19 17:35:08 2006
New Revision: 109977
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109977
Log:
PR c++/25854
* pt.c (maybe_process_partial_specialization): Return early on
error_mark_node.
* g++.dg/template/spec28.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/spec28.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/pt.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25854