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++/28710] [4.0/4.1/4.2 regression] ICE redeclaring template as non-template



------- 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


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