gcc/gcc cp/pt.c cp/typeck2.c cp/ChangeLog test ...
lerdsuwa@gcc.gnu.org
lerdsuwa@gcc.gnu.org
Tue Jul 2 08:50:00 GMT 2002
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_1-branch
Changes by: lerdsuwa@gcc.gnu.org 2002-07-02 08:50:44
Modified files:
gcc/cp : pt.c typeck2.c ChangeLog
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: instantiate1.C
Log message:
PR c++/6716
* pt.c (can_complete_type_without_circularity): New function.
(instantiate_class_template): Use it.
* typeck2.c (incomplete_type_error): Improve error message
due to incomplete fields.
* g++.dg/template/instantiate1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.578.2.9&r2=1.578.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.117.2.1&r2=1.117.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.2685.2.102&r2=1.2685.2.103
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/instantiate1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.1672.2.160&r2=1.1672.2.161
More information about the Gcc-cvs
mailing list