------- Comment #6 from manu at gcc dot gnu dot org  2007-11-12 00:28 -------
Subject: Bug 8570

Author: manu
Date: Mon Nov 12 00:28:41 2007
New Revision: 130092

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130092
Log:
2007-11-12  Manuel Lopez-Ibanez  <[EMAIL PROTECTED]>

        PR c++/8570
cp/
        * pt.c (redeclare_class_template): Update error message. Use a
        note to show the previous declaration.
        (tsubst_friend_class): Use the location of the friend template as
        the input location before calling redeclare_class_template.
testsuite/
        * g++.old-deja/g++.ns/template13.C: Update expected output.
        * g++.old-deja/g++.pt/friend23.C: Likewise.
        * g++.dg/warn/pr8570.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/warn/pr8570.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.old-deja/g++.ns/template13.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/friend23.C


-- 


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

Reply via email to