gcc/gcc cp/NEWS cp/decl.c cp/decl2.c testsuite ...

mmitchel@gcc.gnu.org mmitchel@gcc.gnu.org
Mon Dec 9 23:16:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_2-branch
Changes by:	mmitchel@gcc.gnu.org	2002-12-09 23:16:06

Modified files:
	gcc/cp         : NEWS decl.c decl2.c 
	gcc/testsuite/g++.old-deja/g++.ext: memconst.C 
Added files:
	gcc/testsuite/g++.dg/template: static1.C static2.C 

Log message:
	PR c++/8153
	PR c++/8036
	* NEWS: Document removal of in-class initialization extension for
	static data members of non-arithmetic, non-enumeration type.
	* decl.c (check_static_variable_definition): Do not allow that
	extension.
	* decl2.c (grokfield): Do not call digest_init when processing
	templates.
	
	PR c++/8153
	PR c++/8036
	* g++.dg/template/static1.C: New test.
	* g++.dg/template/static2.C: New test.
	* g++.old-deja/g++.ext/memconst.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/NEWS.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.32.2.2&r2=1.32.2.2.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.866.2.36.2.13&r2=1.866.2.36.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.520.2.7.2.9&r2=1.520.2.7.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.ext/memconst.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.3&r2=1.3.50.1



More information about the Gcc-cvs mailing list