------- Additional Comments From giovannibajo at libero dot it  2004-11-03 05:18 
-------
Introduced by:
2004-08-25  Kriang Lerdsuwanakij  <[EMAIL PROTECTED]>

        PR c++/14428
        * pt.c (redeclare_class_template): Check the type of non-type and
        template template parameter.

http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?
cvsroot=gcc&r1=1.914&r2=1.915

We cannot use same_type_p to check redeclarations of template template 
parameter, as the one in the friend declaration as one more level of template 
nesting. This check was added for redeclaration of non-types template 
parameters, so I believe that catching only that case is enough.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lerdsuwa at gcc dot gnu dot
                   |                            |org


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

Reply via email to