This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
egcs/gcc cp/ChangeLog cp/decl2.c cp/pt.c tests ...
- To: gcc-cvs at gcc dot gnu dot org
- Subject: egcs/gcc cp/ChangeLog cp/decl2.c cp/pt.c tests ...
- From: nathan at gcc dot gnu dot org
- Date: 1 Mar 2001 14:10:46 -0000
CVSROOT: /cvs/gcc
Module name: egcs
Branch: gcc-3_0-branch
Changes by: nathan@gcc.gnu.org 2001-03-01 06:10:46
Modified files:
gcc/cp : ChangeLog decl2.c pt.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.old-deja/g++.pt: using1.C
Log message:
cp:
Implement using decls inside template functions.
* decl2.c (validate_nonmember_using_decl): Don't special case
fake_std_node in the global namespace. Don't reject early when
processing a template.
(do_local_using_decl): Add to statement tree. Don't do further
processing when building a template.
* pt.c (tsubst_expr, DECL_STMT case): Deal with USING_DECLs.
testsuite:
* g++.old-deja/g++.other/using1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.2227.2.30&r2=1.2227.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.437.2.6&r2=1.437.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.516.2.6&r2=1.516.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1074.2.18&r2=1.1074.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/g++.old-deja/g++.pt/using1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=NONE&r2=1.1.2.1