This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28710] [4.0/4.1/4.2 regression] ICE redeclaring template as non-template
- 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: 17 Aug 2006 08:12:09 -0000
- Subject: [Bug c++/28710] [4.0/4.1/4.2 regression] ICE redeclaring template as non-template
- References: <bug-28710-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-08-17 08:12 -------
Subject: Bug 28710
Author: reichelt
Date: Thu Aug 17 08:12:00 2006
New Revision: 116212
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116212
Log:
PR c++/28710
* decl.c (xref_tag): Improve error message. Return early on error.
* g++.dg/template/redecl4.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/redecl4.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28710