------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-15 
15:21 -------
Subject: Bug 18825

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2004-12-15 15:21:12

Modified files:
        gcc/cp         : ChangeLog pt.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/template: friend32.C 

Log message:
        PR c++/18825
        * pt.c (instantiate_class_template): Set input_location for
        friend function.
        (tsubst_friend_function): Don't set input_location here.
        Make sure the context is complete if necessary.
        
        * g++.dg/template/friend32.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4537&r2=1.4538
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.957&r2=1.958
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4762&r2=1.4763
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend32.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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

Reply via email to