c++/9912

mmitchel@gcc.gnu.org mmitchel@gcc.gnu.org
Mon Mar 10 06:16:00 GMT 2003


The following reply was made to PR c++/9912; it has been noted by GNATS.

From: mmitchel@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: c++/9912
Date: 10 Mar 2003 06:11:20 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Branch: 	gcc-3_3-branch
 Changes by:	mmitchel@gcc.gnu.org	2003-03-10 06:11:20
 
 Modified files:
 	gcc/cp         : ChangeLog cp-tree.h decl2.c 
 	gcc/testsuite  : ChangeLog 
 	gcc/testsuite/g++.old-deja/g++.other: decl5.C 
 Added files:
 	gcc/testsuite/g++.dg/parse: class1.C 
 
 Log message:
 	PR c++/9912
 	* cp-tree.h (is_ancestor): New function.
 	* decl2.c (is_namespace_ancestor): Rename to ...
 	(is_ancestor): ... this.
 	(namespace_ancestor): Use it.
 	(set_decl_namespace): Likewise.
 	(handle_class_head): Check for invalid class definitions.
 	
 	PR c++/9912
 	* g++.dg/parse/class1.C: New test.
 	* g++.old-deja/g++.other/decl5.C: Adjust.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.67&r2=1.3076.2.68
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.776.2.11&r2=1.776.2.12
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.575.2.12&r2=1.575.2.13
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.84&r2=1.2261.2.85
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/class1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/decl5.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3&r2=1.3.54.1
 



More information about the Gcc-prs mailing list